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
1428 enable_winejoystick_drv
1434 enable_winepulse_drv
1435 enable_wineqtdecoder
1504 enable_aspnet_regiis
1540 enable_presentationfontcache
1553 enable_servicemodelreg
1576 enable_winemenubuilder
1578 enable_winemsibuilder
1593 ac_precious_vars
='build_alias
1648 # Initialize some variables set by options.
1650 ac_init_version
=false
1651 ac_unrecognized_opts
=
1652 ac_unrecognized_sep
=
1653 # The variables have the same names as the options, with
1654 # dashes changed to underlines.
1655 cache_file
=/dev
/null
1662 program_transform_name
=s
,x
,x
,
1670 # Installation directory options.
1671 # These are left unexpanded so users can "make install exec_prefix=/foo"
1672 # and all the variables that are supposed to be based on exec_prefix
1673 # by default will actually change.
1674 # Use braces instead of parens because sh, perl, etc. also accept them.
1675 # (The list follows the same order as the GNU Coding Standards.)
1676 bindir
='${exec_prefix}/bin'
1677 sbindir
='${exec_prefix}/sbin'
1678 libexecdir
='${exec_prefix}/libexec'
1679 datarootdir
='${prefix}/share'
1680 datadir
='${datarootdir}'
1681 sysconfdir
='${prefix}/etc'
1682 sharedstatedir
='${prefix}/com'
1683 localstatedir
='${prefix}/var'
1684 runstatedir
='${localstatedir}/run'
1685 includedir
='${prefix}/include'
1686 oldincludedir
='/usr/include'
1687 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1688 infodir
='${datarootdir}/info'
1693 libdir
='${exec_prefix}/lib'
1694 localedir
='${datarootdir}/locale'
1695 mandir
='${datarootdir}/man'
1701 # If the previous option needs an argument, assign it.
1702 if test -n "$ac_prev"; then
1703 eval $ac_prev=\
$ac_option
1709 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1714 # Accept the important Cygnus configure options, so we can diagnose typos.
1716 case $ac_dashdash$ac_option in
1720 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1722 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1723 bindir
=$ac_optarg ;;
1725 -build |
--build |
--buil |
--bui |
--bu)
1726 ac_prev
=build_alias
;;
1727 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1728 build_alias
=$ac_optarg ;;
1730 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1731 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1732 ac_prev
=cache_file
;;
1733 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1734 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1735 cache_file
=$ac_optarg ;;
1737 --config-cache |
-C)
1738 cache_file
=config.cache
;;
1740 -datadir |
--datadir |
--datadi |
--datad)
1742 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1743 datadir
=$ac_optarg ;;
1745 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1746 |
--dataroo |
--dataro |
--datar)
1747 ac_prev
=datarootdir
;;
1748 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1749 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1750 datarootdir
=$ac_optarg ;;
1752 -disable-* |
--disable-*)
1753 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1754 # Reject names that are not valid shell variable names.
1755 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1756 as_fn_error $?
"invalid feature name: $ac_useropt"
1757 ac_useropt_orig
=$ac_useropt
1758 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1759 case $ac_user_opts in
1761 "enable_
$ac_useropt"
1763 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1764 ac_unrecognized_sep
=', ';;
1766 eval enable_
$ac_useropt=no
;;
1768 -docdir |
--docdir |
--docdi |
--doc |
--do)
1770 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1771 docdir
=$ac_optarg ;;
1773 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1775 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1776 dvidir
=$ac_optarg ;;
1778 -enable-* |
--enable-*)
1779 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1780 # Reject names that are not valid shell variable names.
1781 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1782 as_fn_error $?
"invalid feature name: $ac_useropt"
1783 ac_useropt_orig
=$ac_useropt
1784 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1785 case $ac_user_opts in
1787 "enable_
$ac_useropt"
1789 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1790 ac_unrecognized_sep
=', ';;
1792 eval enable_
$ac_useropt=\
$ac_optarg ;;
1794 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1795 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1796 |
--exec |
--exe |
--ex)
1797 ac_prev
=exec_prefix
;;
1798 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1799 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1800 |
--exec=* |
--exe=* |
--ex=*)
1801 exec_prefix
=$ac_optarg ;;
1803 -gas |
--gas |
--ga |
--g)
1804 # Obsolete; use --with-gas.
1807 -help |
--help |
--hel |
--he |
-h)
1808 ac_init_help
=long
;;
1809 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1810 ac_init_help
=recursive
;;
1811 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1812 ac_init_help
=short
;;
1814 -host |
--host |
--hos |
--ho)
1815 ac_prev
=host_alias
;;
1816 -host=* |
--host=* |
--hos=* |
--ho=*)
1817 host_alias
=$ac_optarg ;;
1819 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1821 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1823 htmldir
=$ac_optarg ;;
1825 -includedir |
--includedir |
--includedi |
--included |
--include \
1826 |
--includ |
--inclu |
--incl |
--inc)
1827 ac_prev
=includedir
;;
1828 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1829 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1830 includedir
=$ac_optarg ;;
1832 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1834 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1835 infodir
=$ac_optarg ;;
1837 -libdir |
--libdir |
--libdi |
--libd)
1839 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1840 libdir
=$ac_optarg ;;
1842 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1843 |
--libexe |
--libex |
--libe)
1844 ac_prev
=libexecdir
;;
1845 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1846 |
--libexe=* |
--libex=* |
--libe=*)
1847 libexecdir
=$ac_optarg ;;
1849 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1850 ac_prev
=localedir
;;
1851 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1852 localedir
=$ac_optarg ;;
1854 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1855 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1856 ac_prev
=localstatedir
;;
1857 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1858 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1859 localstatedir
=$ac_optarg ;;
1861 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1863 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1864 mandir
=$ac_optarg ;;
1866 -nfp |
--nfp |
--nf)
1867 # Obsolete; use --without-fp.
1870 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1871 |
--no-cr |
--no-c |
-n)
1874 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1875 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1878 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1879 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1880 |
--oldin |
--oldi |
--old |
--ol |
--o)
1881 ac_prev
=oldincludedir
;;
1882 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1883 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1884 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1885 oldincludedir
=$ac_optarg ;;
1887 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1889 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1890 prefix
=$ac_optarg ;;
1892 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1893 |
--program-pre |
--program-pr |
--program-p)
1894 ac_prev
=program_prefix
;;
1895 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1896 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1897 program_prefix
=$ac_optarg ;;
1899 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1900 |
--program-suf |
--program-su |
--program-s)
1901 ac_prev
=program_suffix
;;
1902 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1903 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1904 program_suffix
=$ac_optarg ;;
1906 -program-transform-name |
--program-transform-name \
1907 |
--program-transform-nam |
--program-transform-na \
1908 |
--program-transform-n |
--program-transform- \
1909 |
--program-transform |
--program-transfor \
1910 |
--program-transfo |
--program-transf \
1911 |
--program-trans |
--program-tran \
1912 |
--progr-tra |
--program-tr |
--program-t)
1913 ac_prev
=program_transform_name
;;
1914 -program-transform-name=* |
--program-transform-name=* \
1915 |
--program-transform-nam=* |
--program-transform-na=* \
1916 |
--program-transform-n=* |
--program-transform-=* \
1917 |
--program-transform=* |
--program-transfor=* \
1918 |
--program-transfo=* |
--program-transf=* \
1919 |
--program-trans=* |
--program-tran=* \
1920 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1921 program_transform_name
=$ac_optarg ;;
1923 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1925 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1926 pdfdir
=$ac_optarg ;;
1928 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1930 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1933 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1934 |
-silent |
--silent |
--silen |
--sile |
--sil)
1937 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1938 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1939 |
--run |
--ru |
--r)
1940 ac_prev
=runstatedir
;;
1941 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1942 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1943 |
--run=* |
--ru=* |
--r=*)
1944 runstatedir
=$ac_optarg ;;
1946 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1948 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1950 sbindir
=$ac_optarg ;;
1952 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1953 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1954 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1956 ac_prev
=sharedstatedir
;;
1957 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1958 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1959 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1961 sharedstatedir
=$ac_optarg ;;
1963 -site |
--site |
--sit)
1965 -site=* |
--site=* |
--sit=*)
1968 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1970 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1971 srcdir
=$ac_optarg ;;
1973 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1974 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1975 ac_prev
=sysconfdir
;;
1976 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1977 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1978 sysconfdir
=$ac_optarg ;;
1980 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1981 ac_prev
=target_alias
;;
1982 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1983 target_alias
=$ac_optarg ;;
1985 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1988 -version |
--version |
--versio |
--versi |
--vers |
-V)
1989 ac_init_version
=: ;;
1992 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1993 # Reject names that are not valid shell variable names.
1994 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1995 as_fn_error $?
"invalid package name: $ac_useropt"
1996 ac_useropt_orig
=$ac_useropt
1997 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1998 case $ac_user_opts in
2002 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2003 ac_unrecognized_sep
=', ';;
2005 eval with_
$ac_useropt=\
$ac_optarg ;;
2007 -without-* |
--without-*)
2008 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2009 # Reject names that are not valid shell variable names.
2010 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2011 as_fn_error $?
"invalid package name: $ac_useropt"
2012 ac_useropt_orig
=$ac_useropt
2013 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2014 case $ac_user_opts in
2018 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2019 ac_unrecognized_sep
=', ';;
2021 eval with_
$ac_useropt=no
;;
2024 # Obsolete; use --with-x.
2027 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2028 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2029 ac_prev
=x_includes
;;
2030 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2031 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2032 x_includes
=$ac_optarg ;;
2034 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2035 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2036 ac_prev
=x_libraries
;;
2037 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2038 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2039 x_libraries
=$ac_optarg ;;
2041 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2042 Try \`$0 --help' for more information"
2046 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2047 # Reject names that are not valid shell variable names.
2048 case $ac_envvar in #(
2049 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2050 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2052 eval $ac_envvar=\
$ac_optarg
2053 export $ac_envvar ;;
2056 # FIXME: should be removed in autoconf 3.0.
2057 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2058 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2059 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2060 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2066 if test -n "$ac_prev"; then
2067 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2068 as_fn_error $?
"missing argument to $ac_option"
2071 if test -n "$ac_unrecognized_opts"; then
2072 case $enable_option_checking in
2074 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2075 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2079 # Check all directory arguments for consistency.
2080 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2081 datadir sysconfdir sharedstatedir localstatedir includedir \
2082 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2083 libdir localedir mandir runstatedir
2085 eval ac_val
=\$
$ac_var
2086 # Remove trailing slashes.
2089 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2090 eval $ac_var=\
$ac_val;;
2092 # Be sure to have absolute directory names.
2094 [\\/$
]* | ?
:[\\/]* ) continue;;
2095 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2097 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2100 # There might be people who depend on the old broken behavior: `$host'
2101 # used to hold the argument of --host etc.
2102 # FIXME: To remove some day.
2105 target
=$target_alias
2107 # FIXME: To remove some day.
2108 if test "x$host_alias" != x
; then
2109 if test "x$build_alias" = x
; then
2110 cross_compiling
=maybe
2111 elif test "x$build_alias" != "x$host_alias"; then
2117 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2119 test "$silent" = yes && exec 6>/dev
/null
2122 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2123 ac_ls_di
=`ls -di .` &&
2124 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2125 as_fn_error $?
"working directory cannot be determined"
2126 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2127 as_fn_error $?
"pwd does not report name of working directory"
2130 # Find the source files, if location was not specified.
2131 if test -z "$srcdir"; then
2132 ac_srcdir_defaulted
=yes
2133 # Try the directory containing this script, then the parent directory.
2134 ac_confdir
=`$as_dirname -- "$as_myself" ||
2135 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2136 X"$as_myself" : 'X\(//\)[^/]' \| \
2137 X"$as_myself" : 'X\(//\)$' \| \
2138 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2139 $as_echo X"$as_myself" |
2140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2158 if test ! -r "$srcdir/$ac_unique_file"; then
2162 ac_srcdir_defaulted
=no
2164 if test ! -r "$srcdir/$ac_unique_file"; then
2165 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2166 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2168 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2170 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2172 # When building in place, set srcdir=.
2173 if test "$ac_abs_confdir" = "$ac_pwd"; then
2176 # Remove unnecessary trailing slashes from srcdir.
2177 # Double slashes in file names in object file debugging info
2178 # mess up M-x gdb in Emacs.
2180 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2182 for ac_var
in $ac_precious_vars; do
2183 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2184 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2185 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2186 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2190 # Report the --help message.
2192 if test "$ac_init_help" = "long"; then
2193 # Omit some internal or obsolete options to make the list less imposing.
2194 # This message is too long to be a string in the A/UX 3.1 sh.
2196 \`configure' configures Wine 1.9.20 to adapt to many kinds of systems.
2198 Usage: $0 [OPTION]... [VAR=VALUE]...
2200 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2201 VAR=VALUE. See below for descriptions of some of the useful variables.
2203 Defaults for the options are specified in brackets.
2206 -h, --help display this help and exit
2207 --help=short display options specific to this package
2208 --help=recursive display the short help of all the included packages
2209 -V, --version display version information and exit
2210 -q, --quiet, --silent do not print \`checking ...' messages
2211 --cache-file=FILE cache test results in FILE [disabled]
2212 -C, --config-cache alias for \`--cache-file=config.cache'
2213 -n, --no-create do not create output files
2214 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2216 Installation directories:
2217 --prefix=PREFIX install architecture-independent files in PREFIX
2218 [$ac_default_prefix]
2219 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2222 By default, \`make install' will install all the files in
2223 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2224 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2225 for instance \`--prefix=\$HOME'.
2227 For better control, use the options below.
2229 Fine tuning of the installation directories:
2230 --bindir=DIR user executables [EPREFIX/bin]
2231 --sbindir=DIR system admin executables [EPREFIX/sbin]
2232 --libexecdir=DIR program executables [EPREFIX/libexec]
2233 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2234 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2235 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2236 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2237 --libdir=DIR object code libraries [EPREFIX/lib]
2238 --includedir=DIR C header files [PREFIX/include]
2239 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2240 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2241 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2242 --infodir=DIR info documentation [DATAROOTDIR/info]
2243 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2244 --mandir=DIR man documentation [DATAROOTDIR/man]
2245 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2246 --htmldir=DIR html documentation [DOCDIR]
2247 --dvidir=DIR dvi documentation [DOCDIR]
2248 --pdfdir=DIR pdf documentation [DOCDIR]
2249 --psdir=DIR ps documentation [DOCDIR]
2255 --x-includes=DIR X include files are
in DIR
2256 --x-libraries=DIR X library files are
in DIR
2259 --build=BUILD configure
for building on BUILD
[guessed
]
2260 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2264 if test -n "$ac_init_help"; then
2265 case $ac_init_help in
2266 short | recursive
) echo "Configuration of Wine 1.9.20:";;
2271 --disable-option-checking ignore unrecognized
--enable/--with options
2272 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2273 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2274 --disable-win16 do not include Win16 support
2275 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2277 --disable-tests do not build the regression tests
2278 --enable-maintainer-mode
2279 enable maintainer-specific build rules
2280 --disable-largefile omit support for large files
2283 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2284 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2285 --without-alsa do not use the Alsa sound support
2286 --without-capi do not use CAPI (ISDN support)
2287 --without-cms do not use CMS (color management support)
2288 --without-coreaudio do not use the CoreAudio sound support
2289 --without-cups do not use CUPS
2290 --without-curses do not use (n)curses
2291 --without-dbus do not use DBus (dynamic device support)
2292 --without-fontconfig do not use fontconfig
2293 --without-freetype do not use the FreeType library
2294 --without-gettext do not use gettext
2295 --with-gettextpo use the GetTextPO library to rebuild po files
2296 --without-gphoto do not use gphoto (Digital Camera support)
2297 --without-glu do not use the GLU library
2298 --without-gnutls do not use GnuTLS (schannel support)
2299 --without-gsm do not use libgsm (GSM 06.10 codec support)
2300 --without-gstreamer do not use GStreamer (codecs support)
2301 --without-hal do not use HAL (dynamic device support)
2302 --without-jpeg do not use JPEG
2303 --without-ldap do not use LDAP
2304 --without-mpg123 do not use the mpg123 library
2305 --without-netapi do not use the Samba NetAPI library
2306 --without-openal do not use OpenAL
2307 --without-opencl do not use OpenCL
2308 --without-opengl do not use OpenGL
2309 --without-osmesa do not use the OSMesa library
2310 --without-oss do not use the OSS sound support
2311 --without-pcap do not use the Packet Capture library
2312 --without-png do not use PNG
2313 --without-pthread do not use the pthread library
2314 --without-pulse do not use PulseAudio sound support
2315 --without-sane do not use SANE (scanner support)
2316 --without-tiff do not use TIFF
2317 --without-udev do not use udev (plug and play support)
2318 --without-v4l do not use v4l1 (v4l support)
2319 --without-xcomposite do not use the Xcomposite extension
2320 --without-xcursor do not use the Xcursor extension
2321 --without-xinerama do not use Xinerama (multi-monitor support)
2322 --without-xinput do not use the Xinput extension
2323 --without-xinput2 do not use the Xinput 2 extension
2324 --without-xml do not use XML
2325 --without-xrandr do not use Xrandr (resolution changes)
2326 --without-xrender do not use the Xrender extension
2327 --without-xshape do not use the Xshape extension
2328 --without-xshm do not use XShm (shared memory extension)
2329 --without-xslt do not use XSLT
2330 --without-xxf86vm do not use XFree video mode extension
2331 --without-zlib do not use Zlib (data compression)
2332 --with-wine-tools=DIR use Wine tools from directory DIR
2333 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2334 --with-x use the X Window System
2336 Some influential environment variables:
2337 CC C compiler command
2338 CFLAGS C compiler flags
2339 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2340 nonstandard directory <lib dir>
2341 LIBS libraries to pass to the linker, e.g. -l<library>
2342 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2343 you have headers in a nonstandard directory <include dir>
2344 CXX C++ compiler command
2345 CXXFLAGS C++ compiler flags
2347 XMKMF Path to xmkmf, Makefile generator for X Window System
2348 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2349 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2350 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2351 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2352 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2353 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2354 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2355 HAL_LIBS Linker flags for hal, overriding pkg-config
2357 C compiler flags for gnutls, overriding pkg-config
2358 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2359 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2360 SANE_LIBS Linker flags for libsane, overriding pkg-config
2362 C compiler flags for libgphoto2, overriding pkg-config
2364 Linker flags for libgphoto2, overriding pkg-config
2366 C compiler flags for libgphoto2_port, overriding pkg-config
2368 Linker flags for libgphoto2_port, overriding pkg-config
2370 C compiler flags for lcms2, overriding pkg-config
2371 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2373 C compiler flags for freetype2, overriding pkg-config
2375 Linker flags for freetype2, overriding pkg-config
2377 C compiler flags for libpulse, overriding pkg-config
2378 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2380 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2381 gstreamer-audio-1.0, overriding pkg-config
2383 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2384 gstreamer-audio-1.0, overriding pkg-config
2385 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2386 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2388 C compiler flags for capi20, overriding pkg-config
2389 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2391 C compiler flags for fontconfig, overriding pkg-config
2393 Linker flags for fontconfig, overriding pkg-config
2394 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2395 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2396 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2397 PNG_LIBS Linker flags for libpng, overriding pkg-config
2398 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2399 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2401 C compiler flags for libmpg123, overriding pkg-config
2402 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2404 C compiler flags for netapi, overriding pkg-config
2405 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2407 Use these variables to override the choices made by `configure' or to
help
2408 it to
find libraries and programs with nonstandard names
/locations.
2410 Report bugs to
<wine-devel@winehq.org
>.
2411 Wine home page
: <http
://www.winehq.org
>.
2416 if test "$ac_init_help" = "recursive"; then
2417 # If there are subdirs, report their specific --help.
2418 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2419 test -d "$ac_dir" ||
2420 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2425 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2427 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2428 # A ".." for each directory in $ac_dir_suffix.
2429 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2430 case $ac_top_builddir_sub in
2431 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2432 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2435 ac_abs_top_builddir
=$ac_pwd
2436 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2437 # for backward compatibility:
2438 ac_top_builddir
=$ac_top_build_prefix
2441 .
) # We are building in place.
2443 ac_top_srcdir
=$ac_top_builddir_sub
2444 ac_abs_top_srcdir
=$ac_pwd ;;
2445 [\\/]* | ?
:[\\/]* ) # Absolute name.
2446 ac_srcdir
=$srcdir$ac_dir_suffix;
2447 ac_top_srcdir
=$srcdir
2448 ac_abs_top_srcdir
=$srcdir ;;
2450 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2451 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2452 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2454 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2456 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2457 # Check for guested configure.
2458 if test -f "$ac_srcdir/configure.gnu"; then
2460 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2461 elif test -f "$ac_srcdir/configure"; then
2463 $SHELL "$ac_srcdir/configure" --help=recursive
2465 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2467 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2471 test -n "$ac_init_help" && exit $ac_status
2472 if $ac_init_version; then
2474 Wine configure
1.9.20
2475 generated by GNU Autoconf
2.69
2477 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2478 This configure
script is free software
; the Free Software Foundation
2479 gives unlimited permission to copy
, distribute and modify it.
2484 ## ------------------------ ##
2485 ## Autoconf initialization. ##
2486 ## ------------------------ ##
2488 # ac_fn_c_try_compile LINENO
2489 # --------------------------
2490 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2491 ac_fn_c_try_compile
()
2493 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2494 rm -f conftest.
$ac_objext
2495 if { { ac_try
="$ac_compile"
2497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2498 *) ac_try_echo=$ac_try;;
2500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2501 $as_echo "$ac_try_echo"; } >&5
2502 (eval "$ac_compile") 2>conftest.err
2504 if test -s conftest.err; then
2505 grep -v '^ *+' conftest.err >conftest.er1
2506 cat conftest.er1 >&5
2507 mv -f conftest.er1 conftest.err
2509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2510 test $ac_status = 0; } && {
2511 test -z "$ac_c_werror_flag" ||
2512 test ! -s conftest.err
2513 } && test -s conftest.$ac_objext; then :
2516 $as_echo "$as_me: failed program was:" >&5
2517 sed 's/^/| /' conftest.$ac_ext >&5
2521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2522 as_fn_set_status $ac_retval
2524 } # ac_fn_c_try_compile
2526 # ac_fn_cxx_try_compile LINENO
2527 # ----------------------------
2528 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2529 ac_fn_cxx_try_compile ()
2531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2532 rm -f conftest.$ac_objext
2533 if { { ac_try="$ac_compile"
2535 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2536 *) ac_try_echo
=$ac_try;;
2538 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2539 $as_echo "$ac_try_echo"; } >&5
2540 (eval "$ac_compile") 2>conftest.err
2542 if test -s conftest.err
; then
2543 grep -v '^ *+' conftest.err
>conftest.er1
2544 cat conftest.er1
>&5
2545 mv -f conftest.er1 conftest.err
2547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2548 test $ac_status = 0; } && {
2549 test -z "$ac_cxx_werror_flag" ||
2550 test ! -s conftest.err
2551 } && test -s conftest.
$ac_objext; then :
2554 $as_echo "$as_me: failed program was:" >&5
2555 sed 's/^/| /' conftest.
$ac_ext >&5
2559 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2560 as_fn_set_status
$ac_retval
2562 } # ac_fn_cxx_try_compile
2564 # ac_fn_c_try_link LINENO
2565 # -----------------------
2566 # Try to link conftest.$ac_ext, and return whether this succeeded.
2569 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2570 rm -f conftest.
$ac_objext conftest
$ac_exeext
2571 if { { ac_try
="$ac_link"
2573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2574 *) ac_try_echo=$ac_try;;
2576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2577 $as_echo "$ac_try_echo"; } >&5
2578 (eval "$ac_link") 2>conftest.err
2580 if test -s conftest.err; then
2581 grep -v '^ *+' conftest.err >conftest.er1
2582 cat conftest.er1 >&5
2583 mv -f conftest.er1 conftest.err
2585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2586 test $ac_status = 0; } && {
2587 test -z "$ac_c_werror_flag" ||
2588 test ! -s conftest.err
2589 } && test -s conftest$ac_exeext && {
2590 test "$cross_compiling" = yes ||
2591 test -x conftest$ac_exeext
2595 $as_echo "$as_me: failed program was:" >&5
2596 sed 's/^/| /' conftest.$ac_ext >&5
2600 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2601 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2602 # interfere with the next link command; also delete a directory that is
2603 # left behind by Apple's compiler. We do this before executing the actions.
2604 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2606 as_fn_set_status $ac_retval
2608 } # ac_fn_c_try_link
2610 # ac_fn_c_try_cpp LINENO
2611 # ----------------------
2612 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2616 if { { ac_try="$ac_cpp conftest.$ac_ext"
2618 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2619 *) ac_try_echo
=$ac_try;;
2621 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2622 $as_echo "$ac_try_echo"; } >&5
2623 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2625 if test -s conftest.err
; then
2626 grep -v '^ *+' conftest.err
>conftest.er1
2627 cat conftest.er1
>&5
2628 mv -f conftest.er1 conftest.err
2630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2631 test $ac_status = 0; } > conftest.i
&& {
2632 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2633 test ! -s conftest.err
2637 $as_echo "$as_me: failed program was:" >&5
2638 sed 's/^/| /' conftest.
$ac_ext >&5
2642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2643 as_fn_set_status
$ac_retval
2647 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2648 # -------------------------------------------------------
2649 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2650 # the include files in INCLUDES and setting the cache variable VAR
2652 ac_fn_c_check_header_mongrel
()
2654 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2655 if eval \
${$3+:} false
; then :
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2657 $as_echo_n "checking for $2... " >&6; }
2658 if eval \
${$3+:} false
; then :
2659 $as_echo_n "(cached) " >&6
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2663 $as_echo "$ac_res" >&6; }
2665 # Is the header compilable?
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2667 $as_echo_n "checking $2 usability... " >&6; }
2668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2669 /* end confdefs.h. */
2673 if ac_fn_c_try_compile
"$LINENO"; then :
2674 ac_header_compiler
=yes
2676 ac_header_compiler
=no
2678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2680 $as_echo "$ac_header_compiler" >&6; }
2682 # Is the header present?
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2684 $as_echo_n "checking $2 presence... " >&6; }
2685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2686 /* end confdefs.h. */
2689 if ac_fn_c_try_cpp
"$LINENO"; then :
2690 ac_header_preproc
=yes
2692 ac_header_preproc
=no
2694 rm -f conftest.err conftest.i conftest.
$ac_ext
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2696 $as_echo "$ac_header_preproc" >&6; }
2698 # So? What about this header?
2699 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2702 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2704 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2708 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2710 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2712 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2714 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2716 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2717 ( $as_echo "## ------------------------------------ ##
2718 ## Report this to wine-devel@winehq.org ##
2719 ## ------------------------------------ ##"
2720 ) |
sed "s/^/$as_me: WARNING: /" >&2
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2724 $as_echo_n "checking for $2... " >&6; }
2725 if eval \
${$3+:} false
; then :
2726 $as_echo_n "(cached) " >&6
2728 eval "$3=\$ac_header_compiler"
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2732 $as_echo "$ac_res" >&6; }
2734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2736 } # ac_fn_c_check_header_mongrel
2738 # ac_fn_c_try_run LINENO
2739 # ----------------------
2740 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2741 # that executables *can* be run.
2744 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2745 if { { ac_try
="$ac_link"
2747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2748 *) ac_try_echo=$ac_try;;
2750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2751 $as_echo "$ac_try_echo"; } >&5
2752 (eval "$ac_link") 2>&5
2754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2755 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2756 { { case "(($ac_try" in
2757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2758 *) ac_try_echo
=$ac_try;;
2760 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2761 $as_echo "$ac_try_echo"; } >&5
2762 (eval "$ac_try") 2>&5
2764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2765 test $ac_status = 0; }; }; then :
2768 $as_echo "$as_me: program exited with status $ac_status" >&5
2769 $as_echo "$as_me: failed program was:" >&5
2770 sed 's/^/| /' conftest.
$ac_ext >&5
2772 ac_retval
=$ac_status
2774 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2776 as_fn_set_status
$ac_retval
2780 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2781 # -------------------------------------------------------
2782 # Tests whether HEADER exists and can be compiled using the include files in
2783 # INCLUDES, setting the cache variable VAR accordingly.
2784 ac_fn_c_check_header_compile
()
2786 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2788 $as_echo_n "checking for $2... " >&6; }
2789 if eval \
${$3+:} false
; then :
2790 $as_echo_n "(cached) " >&6
2792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2793 /* end confdefs.h. */
2797 if ac_fn_c_try_compile
"$LINENO"; then :
2802 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2806 $as_echo "$ac_res" >&6; }
2807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2809 } # ac_fn_c_check_header_compile
2811 # ac_fn_c_check_func LINENO FUNC VAR
2812 # ----------------------------------
2813 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2814 ac_fn_c_check_func
()
2816 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2818 $as_echo_n "checking for $2... " >&6; }
2819 if eval \
${$3+:} false
; then :
2820 $as_echo_n "(cached) " >&6
2822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2823 /* end confdefs.h. */
2824 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2826 #define $2 innocuous_$2
2828 /* System header to define __stub macros and hopefully few prototypes,
2829 which can conflict with char $2 (); below.
2830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2831 <limits.h> exists even on freestanding compilers. */
2834 # include <limits.h>
2836 # include <assert.h>
2841 /* Override any GCC internal prototype to avoid an error.
2842 Use char because int might match the return type of a GCC
2843 builtin and then its argument prototype would still apply. */
2848 /* The GNU C library defines this for functions which it implements
2849 to always fail with ENOSYS. Some functions are actually named
2850 something starting with __ and the normal name is an alias. */
2851 #if defined __stub_$2 || defined __stub___$2
2863 if ac_fn_c_try_link
"$LINENO"; then :
2868 rm -f core conftest.err conftest.
$ac_objext \
2869 conftest
$ac_exeext conftest.
$ac_ext
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2873 $as_echo "$ac_res" >&6; }
2874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2876 } # ac_fn_c_check_func
2878 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2879 # ----------------------------------------------------
2880 # Tries to find if the field MEMBER exists in type AGGR, after including
2881 # INCLUDES, setting cache variable VAR accordingly.
2882 ac_fn_c_check_member
()
2884 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2886 $as_echo_n "checking for $2.$3... " >&6; }
2887 if eval \
${$4+:} false
; then :
2888 $as_echo_n "(cached) " >&6
2890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2891 /* end confdefs.h. */
2903 if ac_fn_c_try_compile
"$LINENO"; then :
2906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2907 /* end confdefs.h. */
2913 if (sizeof ac_aggr.$3)
2919 if ac_fn_c_try_compile
"$LINENO"; then :
2924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2930 $as_echo "$ac_res" >&6; }
2931 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2933 } # ac_fn_c_check_member
2935 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2936 # -------------------------------------------
2937 # Tests whether TYPE exists after having included INCLUDES, setting cache
2938 # variable VAR accordingly.
2939 ac_fn_c_check_type
()
2941 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2943 $as_echo_n "checking for $2... " >&6; }
2944 if eval \
${$3+:} false
; then :
2945 $as_echo_n "(cached) " >&6
2948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2949 /* end confdefs.h. */
2960 if ac_fn_c_try_compile
"$LINENO"; then :
2961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2962 /* end confdefs.h. */
2973 if ac_fn_c_try_compile
"$LINENO"; then :
2978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2984 $as_echo "$ac_res" >&6; }
2985 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2987 } # ac_fn_c_check_type
2988 cat >config.log
<<_ACEOF
2989 This file contains any messages produced by compilers while
2990 running configure, to aid debugging if configure makes a mistake.
2992 It was created by Wine $as_me 1.9.20, which was
2993 generated by GNU Autoconf 2.69. Invocation command line was
3005 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3006 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3007 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3008 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3009 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3011 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3012 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3014 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3015 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3016 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3017 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3018 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3019 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3020 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3028 test -z "$as_dir" && as_dir
=.
3029 $as_echo "PATH: $as_dir"
3045 # Keep a trace of the command line.
3046 # Strip out --no-create and --no-recursion so they do not pile up.
3047 # Strip out --silent because we don't want to record it for future runs.
3048 # Also quote any args containing shell meta-characters.
3049 # Make two passes to allow for proper duplicate-argument suppression.
3053 ac_must_keep_next
=false
3059 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3060 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3061 |
-silent |
--silent |
--silen |
--sile |
--sil)
3064 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3067 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3069 as_fn_append ac_configure_args1
" '$ac_arg'"
3070 if test $ac_must_keep_next = true
; then
3071 ac_must_keep_next
=false
# Got value, back to normal.
3074 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3075 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3076 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3077 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3078 case "$ac_configure_args0 " in
3079 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3082 -* ) ac_must_keep_next
=true
;;
3085 as_fn_append ac_configure_args
" '$ac_arg'"
3090 { ac_configure_args0
=; unset ac_configure_args0
;}
3091 { ac_configure_args1
=; unset ac_configure_args1
;}
3093 # When interrupted or exit'd, cleanup temporary files, and complete
3094 # config.log. We remove comments because anyway the quotes in there
3095 # would cause problems or look ugly.
3096 # WARNING: Use '\'' to represent an apostrophe within the trap.
3097 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3098 trap 'exit_status=$?
3099 # Save into config.log some information that might help in debugging.
3103 $as_echo "## ---------------- ##
3104 ## Cache variables. ##
3105 ## ---------------- ##"
3107 # The following way of writing the cache mishandles newlines in values,
3109 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3110 eval ac_val=\$$ac_var
3114 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3115 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3118 _ | IFS | as_nl) ;; #(
3119 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3120 *) { eval $ac_var=; unset $ac_var;} ;;
3125 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3126 *${as_nl}ac_space=\ *)
3128 "s/'\''/'\''\\\\'\'''\''/g;
3129 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3132 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3139 $as_echo "## ----------------- ##
3140 ## Output variables. ##
3141 ## ----------------- ##"
3143 for ac_var in $ac_subst_vars
3145 eval ac_val=\$$ac_var
3147 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3149 $as_echo "$ac_var='\''$ac_val'\''"
3153 if test -n "$ac_subst_files"; then
3154 $as_echo "## ------------------- ##
3155 ## File substitutions. ##
3156 ## ------------------- ##"
3158 for ac_var
in $ac_subst_files
3160 eval ac_val
=\$
$ac_var
3162 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3164 $as_echo "$ac_var='\''$ac_val'\''"
3169 if test -s confdefs.h; then
3170 $as_echo "## ----------- ##
3177 test "$ac_signal" != 0 &&
3178 $as_echo "$as_me: caught signal $ac_signal"
3179 $as_echo "$as_me: exit $exit_status"
3181 rm -f core *.core core.conftest.* &&
3182 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3185 for ac_signal
in 1 2 13 15; do
3186 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3190 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3191 rm -f -r conftest
* confdefs.h
3193 $as_echo "/* confdefs.h */" > confdefs.h
3195 # Predefined preprocessor variables.
3197 cat >>confdefs.h
<<_ACEOF
3198 #define PACKAGE_NAME "$PACKAGE_NAME"
3201 cat >>confdefs.h
<<_ACEOF
3202 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3205 cat >>confdefs.h
<<_ACEOF
3206 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3209 cat >>confdefs.h
<<_ACEOF
3210 #define PACKAGE_STRING "$PACKAGE_STRING"
3213 cat >>confdefs.h
<<_ACEOF
3214 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3217 cat >>confdefs.h
<<_ACEOF
3218 #define PACKAGE_URL "$PACKAGE_URL"
3222 # Let the site file select an alternate cache file if it wants to.
3223 # Prefer an explicitly selected file to automatically selected ones.
3226 if test -n "$CONFIG_SITE"; then
3227 # We do not want a PATH search for config.site.
3228 case $CONFIG_SITE in #((
3229 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3230 */*) ac_site_file1
=$CONFIG_SITE;;
3231 *) ac_site_file1
=.
/$CONFIG_SITE;;
3233 elif test "x$prefix" != xNONE
; then
3234 ac_site_file1
=$prefix/share
/config.site
3235 ac_site_file2
=$prefix/etc
/config.site
3237 ac_site_file1
=$ac_default_prefix/share
/config.site
3238 ac_site_file2
=$ac_default_prefix/etc
/config.site
3240 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3242 test "x$ac_site_file" = xNONE
&& continue
3243 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3245 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3246 sed 's/^/| /' "$ac_site_file" >&5
3248 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3250 as_fn_error $?
"failed to load site script $ac_site_file
3251 See \`config.log' for more details" "$LINENO" 5; }
3255 if test -r "$cache_file"; then
3256 # Some versions of bash will fail to source /dev/null (special files
3257 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3258 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3260 $as_echo "$as_me: loading cache $cache_file" >&6;}
3262 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3263 *) .
"./$cache_file";;
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3268 $as_echo "$as_me: creating cache $cache_file" >&6;}
3272 # Check that the precious variables saved in the cache have kept the same
3274 ac_cache_corrupted
=false
3275 for ac_var
in $ac_precious_vars; do
3276 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3277 eval ac_new_set
=\
$ac_env_${ac_var}_set
3278 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3279 eval ac_new_val
=\
$ac_env_${ac_var}_value
3280 case $ac_old_set,$ac_new_set in
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3283 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3284 ac_cache_corrupted
=: ;;
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3287 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3288 ac_cache_corrupted
=: ;;
3291 if test "x$ac_old_val" != "x$ac_new_val"; then
3292 # differences in whitespace do not lead to failure.
3293 ac_old_val_w
=`echo x $ac_old_val`
3294 ac_new_val_w
=`echo x $ac_new_val`
3295 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3297 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3298 ac_cache_corrupted
=:
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3301 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3302 eval $ac_var=\
$ac_old_val
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3305 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3307 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3310 # Pass precious variables to config.status.
3311 if test "$ac_new_set" = set; then
3313 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3314 *) ac_arg
=$ac_var=$ac_new_val ;;
3316 case " $ac_configure_args " in
3317 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3318 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3322 if $ac_cache_corrupted; then
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3326 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3327 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3329 ## -------------------- ##
3330 ## Main body of script. ##
3331 ## -------------------- ##
3334 ac_cpp
='$CPP $CPPFLAGS'
3335 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3336 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3337 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3341 ac_config_headers
="$ac_config_headers include/config.h"
3344 for ac_dir
in tools
"$srcdir"/tools
; do
3345 if test -f "$ac_dir/install-sh"; then
3347 ac_install_sh
="$ac_aux_dir/install-sh -c"
3349 elif test -f "$ac_dir/install.sh"; then
3351 ac_install_sh
="$ac_aux_dir/install.sh -c"
3353 elif test -f "$ac_dir/shtool"; then
3355 ac_install_sh
="$ac_aux_dir/shtool install -c"
3359 if test -z "$ac_aux_dir"; then
3360 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3363 # These three variables are undocumented and unsupported,
3364 # and are intended to be withdrawn in a future Autoconf release.
3365 # They can cause serious problems if a builder's source tree is in a directory
3366 # whose full name contains unusual characters.
3367 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3368 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3369 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3373 libwine_version
="1.0"
3377 # Check whether --enable-win16 was given.
3378 if test "${enable_win16+set}" = set; then :
3379 enableval
=$enable_win16;
3382 # Check whether --enable-win64 was given.
3383 if test "${enable_win64+set}" = set; then :
3384 enableval
=$enable_win64;
3387 # Check whether --enable-tests was given.
3388 if test "${enable_tests+set}" = set; then :
3389 enableval
=$enable_tests;
3392 # Check whether --enable-maintainer-mode was given.
3393 if test "${enable_maintainer_mode+set}" = set; then :
3394 enableval
=$enable_maintainer_mode;
3399 # Check whether --with-alsa was given.
3400 if test "${with_alsa+set}" = set; then :
3401 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3405 # Check whether --with-capi was given.
3406 if test "${with_capi+set}" = set; then :
3411 # Check whether --with-cms was given.
3412 if test "${with_cms+set}" = set; then :
3417 # Check whether --with-coreaudio was given.
3418 if test "${with_coreaudio+set}" = set; then :
3419 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3423 # Check whether --with-cups was given.
3424 if test "${with_cups+set}" = set; then :
3429 # Check whether --with-curses was given.
3430 if test "${with_curses+set}" = set; then :
3431 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3435 # Check whether --with-dbus was given.
3436 if test "${with_dbus+set}" = set; then :
3441 # Check whether --with-fontconfig was given.
3442 if test "${with_fontconfig+set}" = set; then :
3443 withval
=$with_fontconfig;
3447 # Check whether --with-freetype was given.
3448 if test "${with_freetype+set}" = set; then :
3449 withval
=$with_freetype;
3453 # Check whether --with-gettext was given.
3454 if test "${with_gettext+set}" = set; then :
3455 withval
=$with_gettext;
3459 # Check whether --with-gettextpo was given.
3460 if test "${with_gettextpo+set}" = set; then :
3461 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3465 # Check whether --with-gphoto was given.
3466 if test "${with_gphoto+set}" = set; then :
3467 withval
=$with_gphoto;
3471 # Check whether --with-glu was given.
3472 if test "${with_glu+set}" = set; then :
3477 # Check whether --with-gnutls was given.
3478 if test "${with_gnutls+set}" = set; then :
3479 withval
=$with_gnutls;
3483 # Check whether --with-gsm was given.
3484 if test "${with_gsm+set}" = set; then :
3485 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3489 # Check whether --with-gstreamer was given.
3490 if test "${with_gstreamer+set}" = set; then :
3491 withval
=$with_gstreamer;
3495 # Check whether --with-hal was given.
3496 if test "${with_hal+set}" = set; then :
3501 # Check whether --with-jpeg was given.
3502 if test "${with_jpeg+set}" = set; then :
3507 # Check whether --with-ldap was given.
3508 if test "${with_ldap+set}" = set; then :
3509 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3513 # Check whether --with-mpg123 was given.
3514 if test "${with_mpg123+set}" = set; then :
3515 withval
=$with_mpg123;
3519 # Check whether --with-netapi was given.
3520 if test "${with_netapi+set}" = set; then :
3521 withval
=$with_netapi;
3525 # Check whether --with-openal was given.
3526 if test "${with_openal+set}" = set; then :
3527 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3531 # Check whether --with-opencl was given.
3532 if test "${with_opencl+set}" = set; then :
3533 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3537 # Check whether --with-opengl was given.
3538 if test "${with_opengl+set}" = set; then :
3539 withval
=$with_opengl;
3543 # Check whether --with-osmesa was given.
3544 if test "${with_osmesa+set}" = set; then :
3545 withval
=$with_osmesa;
3549 # Check whether --with-oss was given.
3550 if test "${with_oss+set}" = set; then :
3555 # Check whether --with-pcap was given.
3556 if test "${with_pcap+set}" = set; then :
3557 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3561 # Check whether --with-png was given.
3562 if test "${with_png+set}" = set; then :
3567 # Check whether --with-pthread was given.
3568 if test "${with_pthread+set}" = set; then :
3569 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3573 # Check whether --with-pulse was given.
3574 if test "${with_pulse+set}" = set; then :
3575 withval
=$with_pulse;
3579 # Check whether --with-sane was given.
3580 if test "${with_sane+set}" = set; then :
3585 # Check whether --with-tiff was given.
3586 if test "${with_tiff+set}" = set; then :
3591 # Check whether --with-udev was given.
3592 if test "${with_udev+set}" = set; then :
3597 # Check whether --with-v4l was given.
3598 if test "${with_v4l+set}" = set; then :
3603 # Check whether --with-xcomposite was given.
3604 if test "${with_xcomposite+set}" = set; then :
3605 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3609 # Check whether --with-xcursor was given.
3610 if test "${with_xcursor+set}" = set; then :
3611 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3615 # Check whether --with-xinerama was given.
3616 if test "${with_xinerama+set}" = set; then :
3617 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3621 # Check whether --with-xinput was given.
3622 if test "${with_xinput+set}" = set; then :
3623 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3627 # Check whether --with-xinput2 was given.
3628 if test "${with_xinput2+set}" = set; then :
3629 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3633 # Check whether --with-xml was given.
3634 if test "${with_xml+set}" = set; then :
3639 # Check whether --with-xrandr was given.
3640 if test "${with_xrandr+set}" = set; then :
3641 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3645 # Check whether --with-xrender was given.
3646 if test "${with_xrender+set}" = set; then :
3647 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3651 # Check whether --with-xshape was given.
3652 if test "${with_xshape+set}" = set; then :
3653 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3657 # Check whether --with-xshm was given.
3658 if test "${with_xshm+set}" = set; then :
3659 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3663 # Check whether --with-xslt was given.
3664 if test "${with_xslt+set}" = set; then :
3669 # Check whether --with-xxf86vm was given.
3670 if test "${with_xxf86vm+set}" = set; then :
3671 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
3675 # Check whether --with-zlib was given.
3676 if test "${with_zlib+set}" = set; then :
3677 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3682 # Check whether --with-wine-tools was given.
3683 if test "${with_wine_tools+set}" = set; then :
3684 withval
=$with_wine_tools;
3688 # Check whether --with-wine64 was given.
3689 if test "${with_wine64+set}" = set; then :
3690 withval
=$with_wine64;
3694 # Make sure we can run config.sub.
3695 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3696 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3699 $as_echo_n "checking build system type... " >&6; }
3700 if ${ac_cv_build+:} false
; then :
3701 $as_echo_n "(cached) " >&6
3703 ac_build_alias
=$build_alias
3704 test "x$ac_build_alias" = x
&&
3705 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3706 test "x$ac_build_alias" = x
&&
3707 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3708 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3709 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3713 $as_echo "$ac_cv_build" >&6; }
3714 case $ac_cv_build in
3716 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3719 ac_save_IFS
=$IFS; IFS
='-'
3725 # Remember, the first character of IFS is used to create $*,
3726 # except with old shells:
3729 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3733 $as_echo_n "checking host system type... " >&6; }
3734 if ${ac_cv_host+:} false
; then :
3735 $as_echo_n "(cached) " >&6
3737 if test "x$host_alias" = x
; then
3738 ac_cv_host
=$ac_cv_build
3740 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3741 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3746 $as_echo "$ac_cv_host" >&6; }
3749 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3752 ac_save_IFS
=$IFS; IFS
='-'
3758 # Remember, the first character of IFS is used to create $*,
3759 # except with old shells:
3762 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3768 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3769 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3770 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3776 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3778 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3779 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3780 $as_echo_n "(cached) " >&6
3782 cat >conftest.
make <<\_ACEOF
3785 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3787 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3788 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3790 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3792 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3796 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3798 $as_echo "yes" >&6; }
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3802 $as_echo "no" >&6; }
3803 SET_MAKE
="MAKE=${MAKE-make}"
3807 ac_cpp
='$CPP $CPPFLAGS'
3808 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3809 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3810 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3811 if test -n "$ac_tool_prefix"; then
3812 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3813 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3815 $as_echo_n "checking for $ac_word... " >&6; }
3816 if ${ac_cv_prog_CC+:} false
; then :
3817 $as_echo_n "(cached) " >&6
3819 if test -n "$CC"; then
3820 ac_cv_prog_CC
="$CC" # Let the user override the test.
3822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3826 test -z "$as_dir" && as_dir
=.
3827 for ac_exec_ext
in '' $ac_executable_extensions; do
3828 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3829 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3840 if test -n "$CC"; then
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3842 $as_echo "$CC" >&6; }
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3845 $as_echo "no" >&6; }
3850 if test -z "$ac_cv_prog_CC"; then
3852 # Extract the first word of "gcc", so it can be a program name with args.
3853 set dummy gcc
; ac_word
=$2
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3855 $as_echo_n "checking for $ac_word... " >&6; }
3856 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3857 $as_echo_n "(cached) " >&6
3859 if test -n "$ac_ct_CC"; then
3860 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3866 test -z "$as_dir" && as_dir
=.
3867 for ac_exec_ext
in '' $ac_executable_extensions; do
3868 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3869 ac_cv_prog_ac_ct_CC
="gcc"
3870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3879 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3880 if test -n "$ac_ct_CC"; then
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3882 $as_echo "$ac_ct_CC" >&6; }
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3885 $as_echo "no" >&6; }
3888 if test "x$ac_ct_CC" = x
; then
3891 case $cross_compiling:$ac_tool_warned in
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3895 ac_tool_warned
=yes ;;
3903 if test -z "$CC"; then
3904 if test -n "$ac_tool_prefix"; then
3905 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3906 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3908 $as_echo_n "checking for $ac_word... " >&6; }
3909 if ${ac_cv_prog_CC+:} false
; then :
3910 $as_echo_n "(cached) " >&6
3912 if test -n "$CC"; then
3913 ac_cv_prog_CC
="$CC" # Let the user override the test.
3915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3919 test -z "$as_dir" && as_dir
=.
3920 for ac_exec_ext
in '' $ac_executable_extensions; do
3921 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3922 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3933 if test -n "$CC"; then
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3935 $as_echo "$CC" >&6; }
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3938 $as_echo "no" >&6; }
3944 if test -z "$CC"; then
3945 # Extract the first word of "cc", so it can be a program name with args.
3946 set dummy cc
; ac_word
=$2
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3948 $as_echo_n "checking for $ac_word... " >&6; }
3949 if ${ac_cv_prog_CC+:} false
; then :
3950 $as_echo_n "(cached) " >&6
3952 if test -n "$CC"; then
3953 ac_cv_prog_CC
="$CC" # Let the user override the test.
3956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3960 test -z "$as_dir" && as_dir
=.
3961 for ac_exec_ext
in '' $ac_executable_extensions; do
3962 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3963 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3964 ac_prog_rejected
=yes
3968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3975 if test $ac_prog_rejected = yes; then
3976 # We found a bogon in the path, so make sure we never use it.
3977 set dummy
$ac_cv_prog_CC
3979 if test $# != 0; then
3980 # We chose a different compiler from the bogus one.
3981 # However, it has the same basename, so the bogon will be chosen
3982 # first if we set CC to just the basename; use the full file name.
3984 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3990 if test -n "$CC"; then
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3992 $as_echo "$CC" >&6; }
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3995 $as_echo "no" >&6; }
4000 if test -z "$CC"; then
4001 if test -n "$ac_tool_prefix"; then
4002 for ac_prog
in cl.exe
4004 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4005 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4007 $as_echo_n "checking for $ac_word... " >&6; }
4008 if ${ac_cv_prog_CC+:} false
; then :
4009 $as_echo_n "(cached) " >&6
4011 if test -n "$CC"; then
4012 ac_cv_prog_CC
="$CC" # Let the user override the test.
4014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4018 test -z "$as_dir" && as_dir
=.
4019 for ac_exec_ext
in '' $ac_executable_extensions; do
4020 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4021 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4032 if test -n "$CC"; then
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4034 $as_echo "$CC" >&6; }
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4037 $as_echo "no" >&6; }
4041 test -n "$CC" && break
4044 if test -z "$CC"; then
4046 for ac_prog
in cl.exe
4048 # Extract the first word of "$ac_prog", so it can be a program name with args.
4049 set dummy
$ac_prog; ac_word
=$2
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4051 $as_echo_n "checking for $ac_word... " >&6; }
4052 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4053 $as_echo_n "(cached) " >&6
4055 if test -n "$ac_ct_CC"; then
4056 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4062 test -z "$as_dir" && as_dir
=.
4063 for ac_exec_ext
in '' $ac_executable_extensions; do
4064 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4065 ac_cv_prog_ac_ct_CC
="$ac_prog"
4066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4075 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4076 if test -n "$ac_ct_CC"; then
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4078 $as_echo "$ac_ct_CC" >&6; }
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4081 $as_echo "no" >&6; }
4085 test -n "$ac_ct_CC" && break
4088 if test "x$ac_ct_CC" = x
; then
4091 case $cross_compiling:$ac_tool_warned in
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4095 ac_tool_warned
=yes ;;
4104 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4106 as_fn_error $?
"no acceptable C compiler found in \$PATH
4107 See \`config.log' for more details" "$LINENO" 5; }
4109 # Provide some information about the compiler.
4110 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4113 for ac_option
in --version -v -V -qversion; do
4114 { { ac_try
="$ac_compiler $ac_option >&5"
4116 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4117 *) ac_try_echo=$ac_try;;
4119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4120 $as_echo "$ac_try_echo"; } >&5
4121 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4123 if test -s conftest.err; then
4125 ... rest of stderr output deleted ...
4126 10q' conftest.err >conftest.er1
4127 cat conftest.er1 >&5
4129 rm -f conftest.er1 conftest.err
4130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4131 test $ac_status = 0; }
4134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4135 /* end confdefs.h. */
4145 ac_clean_files_save=$ac_clean_files
4146 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4147 # Try to create an executable without -o first, disregard a.out.
4148 # It will help us diagnose broken compilers, and finding out an intuition
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4151 $as_echo_n "checking whether the C compiler works... " >&6; }
4152 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4154 # The possible output files:
4155 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4158 for ac_file in $ac_files
4161 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4162 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4167 if { { ac_try="$ac_link_default"
4169 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4170 *) ac_try_echo
=$ac_try;;
4172 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4173 $as_echo "$ac_try_echo"; } >&5
4174 (eval "$ac_link_default") 2>&5
4176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4177 test $ac_status = 0; }; then :
4178 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4179 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4180 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4181 # so that the user can short-circuit this test for compilers unknown to
4183 for ac_file
in $ac_files ''
4185 test -f "$ac_file" ||
continue
4187 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4190 # We found the default executable, but exeext='' is most
4194 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4196 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4198 # We set ac_cv_exeext here because the later test for it is not
4199 # safe: cross compilers may not add the suffix if given an `-o'
4200 # argument, so we may need to know it at that point already.
4201 # Even if this section looks crufty: it has the advantage of
4208 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4213 if test -z "$ac_file"; then :
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4215 $as_echo "no" >&6; }
4216 $as_echo "$as_me: failed program was:" >&5
4217 sed 's/^/| /' conftest.
$ac_ext >&5
4219 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4220 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4221 as_fn_error
77 "C compiler cannot create executables
4222 See \`config.log' for more details" "$LINENO" 5; }
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4225 $as_echo "yes" >&6; }
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4228 $as_echo_n "checking for C compiler default output file name... " >&6; }
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4230 $as_echo "$ac_file" >&6; }
4231 ac_exeext
=$ac_cv_exeext
4233 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4234 ac_clean_files
=$ac_clean_files_save
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4236 $as_echo_n "checking for suffix of executables... " >&6; }
4237 if { { ac_try
="$ac_link"
4239 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4240 *) ac_try_echo=$ac_try;;
4242 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4243 $as_echo "$ac_try_echo"; } >&5
4244 (eval "$ac_link") 2>&5
4246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4247 test $ac_status = 0; }; then :
4248 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4249 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4250 # work properly (i.e., refer to `conftest.exe'), while it won't with
4252 for ac_file
in conftest.exe conftest conftest.
*; do
4253 test -f "$ac_file" ||
continue
4255 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4256 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4264 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4265 See \`config.log' for more details" "$LINENO" 5; }
4267 rm -f conftest conftest
$ac_cv_exeext
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4269 $as_echo "$ac_cv_exeext" >&6; }
4271 rm -f conftest.
$ac_ext
4272 EXEEXT
=$ac_cv_exeext
4274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4275 /* end confdefs.h. */
4280 FILE *f = fopen ("conftest.out", "w");
4281 return ferror (f) || fclose (f) != 0;
4287 ac_clean_files
="$ac_clean_files conftest.out"
4288 # Check that the compiler produces executables we can run. If not, either
4289 # the compiler is broken, or we cross compile.
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4291 $as_echo_n "checking whether we are cross compiling... " >&6; }
4292 if test "$cross_compiling" != yes; then
4293 { { ac_try
="$ac_link"
4295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4296 *) ac_try_echo=$ac_try;;
4298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4299 $as_echo "$ac_try_echo"; } >&5
4300 (eval "$ac_link") 2>&5
4302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4303 test $ac_status = 0; }
4304 if { ac_try='./conftest$ac_cv_exeext'
4305 { { case "(($ac_try" in
4306 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4307 *) ac_try_echo
=$ac_try;;
4309 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4310 $as_echo "$ac_try_echo"; } >&5
4311 (eval "$ac_try") 2>&5
4313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4314 test $ac_status = 0; }; }; then
4317 if test "$cross_compiling" = maybe
; then
4320 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4322 as_fn_error $?
"cannot run C compiled programs.
4323 If you meant to cross compile, use \`--host'.
4324 See \`config.log' for more details" "$LINENO" 5; }
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4329 $as_echo "$cross_compiling" >&6; }
4331 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4332 ac_clean_files
=$ac_clean_files_save
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4334 $as_echo_n "checking for suffix of object files... " >&6; }
4335 if ${ac_cv_objext+:} false
; then :
4336 $as_echo_n "(cached) " >&6
4338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4339 /* end confdefs.h. */
4349 rm -f conftest.o conftest.obj
4350 if { { ac_try
="$ac_compile"
4352 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4353 *) ac_try_echo=$ac_try;;
4355 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4356 $as_echo "$ac_try_echo"; } >&5
4357 (eval "$ac_compile") 2>&5
4359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4360 test $ac_status = 0; }; then :
4361 for ac_file in conftest.o conftest.obj conftest.*; do
4362 test -f "$ac_file" || continue;
4364 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4365 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4370 $as_echo "$as_me: failed program was:" >&5
4371 sed 's/^/| /' conftest.$ac_ext >&5
4373 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4375 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4376 See \
`config.log' for more details" "$LINENO" 5; }
4378 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4381 $as_echo "$ac_cv_objext" >&6; }
4382 OBJEXT=$ac_cv_objext
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4385 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4386 if ${ac_cv_c_compiler_gnu+:} false; then :
4387 $as_echo_n "(cached) " >&6
4389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4390 /* end confdefs.h. */
4403 if ac_fn_c_try_compile "$LINENO"; then :
4408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4409 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4413 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4414 if test $ac_compiler_gnu = yes; then
4419 ac_test_CFLAGS=${CFLAGS+set}
4420 ac_save_CFLAGS=$CFLAGS
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4422 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4423 if ${ac_cv_prog_cc_g+:} false; then :
4424 $as_echo_n "(cached) " >&6
4426 ac_save_c_werror_flag=$ac_c_werror_flag
4427 ac_c_werror_flag=yes
4430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4431 /* end confdefs.h. */
4441 if ac_fn_c_try_compile "$LINENO"; then :
4445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4446 /* end confdefs.h. */
4456 if ac_fn_c_try_compile "$LINENO"; then :
4459 ac_c_werror_flag=$ac_save_c_werror_flag
4461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4462 /* end confdefs.h. */
4472 if ac_fn_c_try_compile "$LINENO"; then :
4475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4480 ac_c_werror_flag=$ac_save_c_werror_flag
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4483 $as_echo "$ac_cv_prog_cc_g" >&6; }
4484 if test "$ac_test_CFLAGS" = set; then
4485 CFLAGS=$ac_save_CFLAGS
4486 elif test $ac_cv_prog_cc_g = yes; then
4487 if test "$GCC" = yes; then
4493 if test "$GCC" = yes; then
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4500 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4501 if ${ac_cv_prog_cc_c89+:} false; then :
4502 $as_echo_n "(cached) " >&6
4504 ac_cv_prog_cc_c89=no
4506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4507 /* end confdefs.h. */
4511 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4512 struct buf { int x; };
4513 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4514 static char *e (p, i)
4520 static char *f (char * (*g) (char **, int), char **p, ...)
4525 s = g (p, va_arg (v,int));
4530 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4531 function prototypes and stuff, but not '\xHH' hex character constants.
4532 These don't provoke an error unfortunately, instead are silently treated
4533 as 'x'. The following induces an error, until -std is added to get
4534 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4535 array size at least. It's necessary to write '\x00'==0 to get something
4536 that's true only with -std. */
4537 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4539 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4540 inside strings and character constants. */
4542 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4544 int test (int i, double x);
4545 struct s1 {int (*f) (int a);};
4546 struct s2 {int (*f) (double a);};
4547 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4553 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4558 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4559 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4561 CC="$ac_save_CC $ac_arg"
4562 if ac_fn_c_try_compile "$LINENO"; then :
4563 ac_cv_prog_cc_c89=$ac_arg
4565 rm -f core conftest.err conftest.$ac_objext
4566 test "x$ac_cv_prog_cc_c89" != "xno" && break
4568 rm -f conftest.$ac_ext
4573 case "x$ac_cv_prog_cc_c89" in
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4576 $as_echo "none needed" >&6; } ;;
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4579 $as_echo "unsupported" >&6; } ;;
4581 CC="$CC $ac_cv_prog_cc_c89"
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4583 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4585 if test "x$ac_cv_prog_cc_c89" != xno; then :
4590 ac_cpp='$CPP $CPPFLAGS'
4591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4596 ac_cpp='$CXXCPP $CPPFLAGS'
4597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4600 if test -z "$CXX"; then
4601 if test -n "$CCC"; then
4604 if test -n "$ac_tool_prefix"; then
4605 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4607 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4608 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4610 $as_echo_n "checking for $ac_word... " >&6; }
4611 if ${ac_cv_prog_CXX+:} false; then :
4612 $as_echo_n "(cached) " >&6
4614 if test -n "$CXX"; then
4615 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4621 test -z "$as_dir" && as_dir=.
4622 for ac_exec_ext in '' $ac_executable_extensions; do
4623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4624 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4635 if test -n "$CXX"; then
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4637 $as_echo "$CXX" >&6; }
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4640 $as_echo "no" >&6; }
4644 test -n "$CXX" && break
4647 if test -z "$CXX"; then
4649 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4651 # Extract the first word of "$ac_prog", so it can be a program name with args.
4652 set dummy $ac_prog; ac_word=$2
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4654 $as_echo_n "checking for $ac_word... " >&6; }
4655 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4656 $as_echo_n "(cached) " >&6
4658 if test -n "$ac_ct_CXX"; then
4659 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4665 test -z "$as_dir" && as_dir=.
4666 for ac_exec_ext in '' $ac_executable_extensions; do
4667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4668 ac_cv_prog_ac_ct_CXX="$ac_prog"
4669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4678 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4679 if test -n "$ac_ct_CXX"; then
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4681 $as_echo "$ac_ct_CXX" >&6; }
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 $as_echo "no" >&6; }
4688 test -n "$ac_ct_CXX" && break
4691 if test "x$ac_ct_CXX" = x; then
4694 case $cross_compiling:$ac_tool_warned in
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4698 ac_tool_warned=yes ;;
4706 # Provide some information about the compiler.
4707 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4710 for ac_option in --version -v -V -qversion; do
4711 { { ac_try="$ac_compiler $ac_option >&5"
4713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4714 *) ac_try_echo
=$ac_try;;
4716 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4717 $as_echo "$ac_try_echo"; } >&5
4718 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4720 if test -s conftest.err
; then
4722 ... rest of stderr output deleted ...
4723 10q' conftest.err
>conftest.er1
4724 cat conftest.er1
>&5
4726 rm -f conftest.er1 conftest.err
4727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4728 test $ac_status = 0; }
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4732 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4733 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4734 $as_echo_n "(cached) " >&6
4736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4737 /* end confdefs.h. */
4750 if ac_fn_cxx_try_compile
"$LINENO"; then :
4755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4756 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4760 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4761 if test $ac_compiler_gnu = yes; then
4766 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4767 ac_save_CXXFLAGS
=$CXXFLAGS
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4769 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4770 if ${ac_cv_prog_cxx_g+:} false
; then :
4771 $as_echo_n "(cached) " >&6
4773 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4774 ac_cxx_werror_flag
=yes
4777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4778 /* end confdefs.h. */
4788 if ac_fn_cxx_try_compile
"$LINENO"; then :
4789 ac_cv_prog_cxx_g
=yes
4792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4793 /* end confdefs.h. */
4803 if ac_fn_cxx_try_compile
"$LINENO"; then :
4806 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4809 /* end confdefs.h. */
4819 if ac_fn_cxx_try_compile
"$LINENO"; then :
4820 ac_cv_prog_cxx_g
=yes
4822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4826 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4827 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4830 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4831 if test "$ac_test_CXXFLAGS" = set; then
4832 CXXFLAGS
=$ac_save_CXXFLAGS
4833 elif test $ac_cv_prog_cxx_g = yes; then
4834 if test "$GXX" = yes; then
4840 if test "$GXX" = yes; then
4847 ac_cpp
='$CPP $CPPFLAGS'
4848 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4849 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4850 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4852 if test -n "$ac_tool_prefix"; then
4853 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4854 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4856 $as_echo_n "checking for $ac_word... " >&6; }
4857 if ${ac_cv_prog_CPPBIN+:} false
; then :
4858 $as_echo_n "(cached) " >&6
4860 if test -n "$CPPBIN"; then
4861 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4867 test -z "$as_dir" && as_dir
=.
4868 for ac_exec_ext
in '' $ac_executable_extensions; do
4869 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4870 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4880 CPPBIN
=$ac_cv_prog_CPPBIN
4881 if test -n "$CPPBIN"; then
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4883 $as_echo "$CPPBIN" >&6; }
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4886 $as_echo "no" >&6; }
4891 if test -z "$ac_cv_prog_CPPBIN"; then
4892 ac_ct_CPPBIN
=$CPPBIN
4893 # Extract the first word of "cpp", so it can be a program name with args.
4894 set dummy cpp
; ac_word
=$2
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4896 $as_echo_n "checking for $ac_word... " >&6; }
4897 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4898 $as_echo_n "(cached) " >&6
4900 if test -n "$ac_ct_CPPBIN"; then
4901 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4907 test -z "$as_dir" && as_dir
=.
4908 for ac_exec_ext
in '' $ac_executable_extensions; do
4909 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4910 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4920 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4921 if test -n "$ac_ct_CPPBIN"; then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4923 $as_echo "$ac_ct_CPPBIN" >&6; }
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4926 $as_echo "no" >&6; }
4929 if test "x$ac_ct_CPPBIN" = x
; then
4932 case $cross_compiling:$ac_tool_warned in
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4935 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4936 ac_tool_warned
=yes ;;
4938 CPPBIN
=$ac_ct_CPPBIN
4941 CPPBIN
="$ac_cv_prog_CPPBIN"
4945 cat >>confdefs.h
<<_ACEOF
4946 #define EXEEXT "$ac_exeext"
4949 if test -n "$ac_tool_prefix"; then
4950 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4951 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4953 $as_echo_n "checking for $ac_word... " >&6; }
4954 if ${ac_cv_prog_LD+:} false
; then :
4955 $as_echo_n "(cached) " >&6
4957 if test -n "$LD"; then
4958 ac_cv_prog_LD
="$LD" # Let the user override the test.
4960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4964 test -z "$as_dir" && as_dir
=.
4965 for ac_exec_ext
in '' $ac_executable_extensions; do
4966 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4967 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4978 if test -n "$LD"; then
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4980 $as_echo "$LD" >&6; }
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 $as_echo "no" >&6; }
4988 if test -z "$ac_cv_prog_LD"; then
4990 # Extract the first word of "ld", so it can be a program name with args.
4991 set dummy ld
; ac_word
=$2
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4993 $as_echo_n "checking for $ac_word... " >&6; }
4994 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4995 $as_echo_n "(cached) " >&6
4997 if test -n "$ac_ct_LD"; then
4998 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5004 test -z "$as_dir" && as_dir
=.
5005 for ac_exec_ext
in '' $ac_executable_extensions; do
5006 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5007 ac_cv_prog_ac_ct_LD
="ld"
5008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5017 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5018 if test -n "$ac_ct_LD"; then
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5020 $as_echo "$ac_ct_LD" >&6; }
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5023 $as_echo "no" >&6; }
5026 if test "x$ac_ct_LD" = x
; then
5029 case $cross_compiling:$ac_tool_warned in
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5033 ac_tool_warned
=yes ;;
5044 with_fontconfig
=${with_fontconfig:-no}
5046 *-mingw32*|
*-cygwin*)
5047 enable_win16
=${enable_win16:-no}
5048 CFLAGS
="$CFLAGS -D_WIN32"
5054 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5059 $as_echo_n "checking whether $CC works... " >&6; }
5061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5062 /* end confdefs.h. */
5072 if ac_fn_c_try_link
"$LINENO"; then :
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5074 $as_echo "yes" >&6; }
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5077 $as_echo "no" >&6; }
5078 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5080 rm -f core conftest.err conftest.
$ac_objext \
5081 conftest
$ac_exeext conftest.
$ac_ext
5083 notice_platform
="32-bit "
5086 enable_win16
=${enable_win16:-yes}
5088 if test "x${GCC}" = "xyes"
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5091 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5093 /* end confdefs.h. */
5098 void func(__builtin_ms_va_list *args);
5103 if ac_fn_c_try_compile
"$LINENO"; then :
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5105 $as_echo "yes" >&6; }
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5109 as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5116 notice_platform
="64-bit "
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5123 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5125 /* end confdefs.h. */
5126 int ac_test(int i) { return i; }
5130 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5135 if ac_fn_c_try_link
"$LINENO"; then :
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5137 $as_echo "yes" >&6; }
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 $as_echo "no" >&6; }
5141 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5143 rm -f core conftest.err conftest.
$ac_objext \
5144 conftest
$ac_exeext conftest.
$ac_ext
5145 CFLAGS
="$CFLAGS -marm"
5150 enable_win16
=${enable_win16:-yes}
5154 enable_win16
=${enable_win16:-no}
5155 enable_win64
=${enable_win64:-no}
5157 enable_winetest
=${enable_winetest:-$enable_tests}
5159 if test -n "$with_wine64"
5161 if test "x$enable_win64" = "xyes"
5163 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5164 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5166 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5167 You should create a separate build directory and run configure from there." "$LINENO" 5
5168 enable_fonts
=${enable_fonts:-no}
5169 enable_server
=${enable_server:-no}
5170 elif test "x$enable_win64" = "xyes"
5172 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5176 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5177 if ${wine_cv_toolsdir+:} false
; then :
5178 $as_echo_n "(cached) " >&6
5180 wine_cv_toolsdir
="$with_wine_tools"
5181 if test -z "$with_wine_tools"; then
5182 if test "$cross_compiling" = "yes"; then
5183 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5184 elif test -n "$with_wine64"; then
5185 wine_cv_toolsdir
="$with_wine64"
5188 if test -z "$wine_cv_toolsdir"; then
5189 wine_makedep
=tools
/makedep
5190 wine_cv_toolsdir
="\$(top_builddir)"
5191 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5192 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5193 case "$wine_cv_toolsdir" in
5195 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5197 enable_tools
=${enable_tools:-no}
5198 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5200 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5204 $as_echo "$wine_cv_toolsdir" >&6; }
5205 TOOLSDIR
=$wine_cv_toolsdir
5207 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5209 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5215 # Extract the first word of "$ac_prog", so it can be a program name with args.
5216 set dummy
$ac_prog; ac_word
=$2
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5218 $as_echo_n "checking for $ac_word... " >&6; }
5219 if ${ac_cv_prog_FLEX+:} false
; then :
5220 $as_echo_n "(cached) " >&6
5222 if test -n "$FLEX"; then
5223 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5229 test -z "$as_dir" && as_dir
=.
5230 for ac_exec_ext
in '' $ac_executable_extensions; do
5231 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5232 ac_cv_prog_FLEX
="$ac_prog"
5233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5242 FLEX
=$ac_cv_prog_FLEX
5243 if test -n "$FLEX"; then
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5245 $as_echo "$FLEX" >&6; }
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5248 $as_echo "no" >&6; }
5252 test -n "$FLEX" && break
5254 test -n "$FLEX" || FLEX
="none"
5256 if test "$FLEX" = "none"
5258 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5261 $as_echo_n "checking whether flex is recent enough... " >&6; }
5262 cat >conftest.l
<<EOF
5264 #include "prediluvian.h"
5268 if $FLEX -t conftest.l
>/dev
/null
2>&5
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5271 $as_echo "yes" >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5275 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5278 for ac_prog
in bison
5280 # Extract the first word of "$ac_prog", so it can be a program name with args.
5281 set dummy
$ac_prog; ac_word
=$2
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5283 $as_echo_n "checking for $ac_word... " >&6; }
5284 if ${ac_cv_prog_BISON+:} false
; then :
5285 $as_echo_n "(cached) " >&6
5287 if test -n "$BISON"; then
5288 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5294 test -z "$as_dir" && as_dir
=.
5295 for ac_exec_ext
in '' $ac_executable_extensions; do
5296 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5297 ac_cv_prog_BISON
="$ac_prog"
5298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5307 BISON
=$ac_cv_prog_BISON
5308 if test -n "$BISON"; then
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5310 $as_echo "$BISON" >&6; }
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5313 $as_echo "no" >&6; }
5317 test -n "$BISON" && break
5319 test -n "$BISON" || BISON
="none"
5321 if test "$BISON" = "none"
5323 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5326 if test -n "$ac_tool_prefix"; then
5327 for ac_prog
in ar gar
5329 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5330 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5332 $as_echo_n "checking for $ac_word... " >&6; }
5333 if ${ac_cv_prog_AR+:} false
; then :
5334 $as_echo_n "(cached) " >&6
5336 if test -n "$AR"; then
5337 ac_cv_prog_AR
="$AR" # Let the user override the test.
5339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5343 test -z "$as_dir" && as_dir
=.
5344 for ac_exec_ext
in '' $ac_executable_extensions; do
5345 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5346 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5357 if test -n "$AR"; then
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5359 $as_echo "$AR" >&6; }
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5362 $as_echo "no" >&6; }
5366 test -n "$AR" && break
5369 if test -z "$AR"; then
5371 for ac_prog
in ar gar
5373 # Extract the first word of "$ac_prog", so it can be a program name with args.
5374 set dummy
$ac_prog; ac_word
=$2
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5376 $as_echo_n "checking for $ac_word... " >&6; }
5377 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5378 $as_echo_n "(cached) " >&6
5380 if test -n "$ac_ct_AR"; then
5381 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5387 test -z "$as_dir" && as_dir
=.
5388 for ac_exec_ext
in '' $ac_executable_extensions; do
5389 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5390 ac_cv_prog_ac_ct_AR
="$ac_prog"
5391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5400 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5401 if test -n "$ac_ct_AR"; then
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5403 $as_echo "$ac_ct_AR" >&6; }
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5406 $as_echo "no" >&6; }
5410 test -n "$ac_ct_AR" && break
5413 if test "x$ac_ct_AR" = x
; then
5416 case $cross_compiling:$ac_tool_warned in
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5420 ac_tool_warned
=yes ;;
5426 if test -n "$ac_tool_prefix"; then
5427 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5428 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5430 $as_echo_n "checking for $ac_word... " >&6; }
5431 if ${ac_cv_prog_STRIP+:} false
; then :
5432 $as_echo_n "(cached) " >&6
5434 if test -n "$STRIP"; then
5435 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5441 test -z "$as_dir" && as_dir
=.
5442 for ac_exec_ext
in '' $ac_executable_extensions; do
5443 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5444 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5454 STRIP
=$ac_cv_prog_STRIP
5455 if test -n "$STRIP"; then
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5457 $as_echo "$STRIP" >&6; }
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5460 $as_echo "no" >&6; }
5465 if test -z "$ac_cv_prog_STRIP"; then
5467 # Extract the first word of "strip", so it can be a program name with args.
5468 set dummy strip
; ac_word
=$2
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5470 $as_echo_n "checking for $ac_word... " >&6; }
5471 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5472 $as_echo_n "(cached) " >&6
5474 if test -n "$ac_ct_STRIP"; then
5475 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5481 test -z "$as_dir" && as_dir
=.
5482 for ac_exec_ext
in '' $ac_executable_extensions; do
5483 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5484 ac_cv_prog_ac_ct_STRIP
="strip"
5485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5494 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5495 if test -n "$ac_ct_STRIP"; then
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5497 $as_echo "$ac_ct_STRIP" >&6; }
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5500 $as_echo "no" >&6; }
5503 if test "x$ac_ct_STRIP" = x
; then
5506 case $cross_compiling:$ac_tool_warned in
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5509 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5510 ac_tool_warned
=yes ;;
5515 STRIP
="$ac_cv_prog_STRIP"
5520 if test -n "$ac_tool_prefix"; then
5521 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5522 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5524 $as_echo_n "checking for $ac_word... " >&6; }
5525 if ${ac_cv_prog_RANLIB+:} false
; then :
5526 $as_echo_n "(cached) " >&6
5528 if test -n "$RANLIB"; then
5529 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5535 test -z "$as_dir" && as_dir
=.
5536 for ac_exec_ext
in '' $ac_executable_extensions; do
5537 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5538 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 RANLIB
=$ac_cv_prog_RANLIB
5549 if test -n "$RANLIB"; then
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5551 $as_echo "$RANLIB" >&6; }
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5554 $as_echo "no" >&6; }
5559 if test -z "$ac_cv_prog_RANLIB"; then
5560 ac_ct_RANLIB
=$RANLIB
5561 # Extract the first word of "ranlib", so it can be a program name with args.
5562 set dummy ranlib
; ac_word
=$2
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5564 $as_echo_n "checking for $ac_word... " >&6; }
5565 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5566 $as_echo_n "(cached) " >&6
5568 if test -n "$ac_ct_RANLIB"; then
5569 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5575 test -z "$as_dir" && as_dir
=.
5576 for ac_exec_ext
in '' $ac_executable_extensions; do
5577 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5578 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5588 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5589 if test -n "$ac_ct_RANLIB"; then
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5591 $as_echo "$ac_ct_RANLIB" >&6; }
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5594 $as_echo "no" >&6; }
5597 if test "x$ac_ct_RANLIB" = x
; then
5600 case $cross_compiling:$ac_tool_warned in
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5604 ac_tool_warned
=yes ;;
5606 RANLIB
=$ac_ct_RANLIB
5609 RANLIB
="$ac_cv_prog_RANLIB"
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5613 $as_echo_n "checking whether ln -s works... " >&6; }
5615 if test "$LN_S" = "ln -s"; then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5617 $as_echo "yes" >&6; }
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5620 $as_echo "no, using $LN_S" >&6; }
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5624 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5625 if ${ac_cv_path_GREP+:} false
; then :
5626 $as_echo_n "(cached) " >&6
5628 if test -z "$GREP"; then
5629 ac_path_GREP_found
=false
5630 # Loop through the user's path and test for each of PROGNAME-LIST
5631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5632 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5635 test -z "$as_dir" && as_dir
=.
5636 for ac_prog
in grep ggrep
; do
5637 for ac_exec_ext
in '' $ac_executable_extensions; do
5638 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5639 as_fn_executable_p
"$ac_path_GREP" ||
continue
5640 # Check for GNU ac_path_GREP and select it if it is found.
5641 # Check for GNU $ac_path_GREP
5642 case `"$ac_path_GREP" --version 2>&1` in
5644 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5647 $as_echo_n 0123456789 >"conftest.in"
5650 cat "conftest.in" "conftest.in" >"conftest.tmp"
5651 mv "conftest.tmp" "conftest.in"
5652 cp "conftest.in" "conftest.nl"
5653 $as_echo 'GREP' >> "conftest.nl"
5654 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5655 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5656 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5657 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5658 # Best one so far, save it but keep looking for a better one
5659 ac_cv_path_GREP
="$ac_path_GREP"
5660 ac_path_GREP_max
=$ac_count
5662 # 10*(2^10) chars as input seems more than enough
5663 test $ac_count -gt 10 && break
5665 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5668 $ac_path_GREP_found && break 3
5673 if test -z "$ac_cv_path_GREP"; then
5674 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5677 ac_cv_path_GREP
=$GREP
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5682 $as_echo "$ac_cv_path_GREP" >&6; }
5683 GREP
="$ac_cv_path_GREP"
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5687 $as_echo_n "checking for egrep... " >&6; }
5688 if ${ac_cv_path_EGREP+:} false
; then :
5689 $as_echo_n "(cached) " >&6
5691 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5692 then ac_cv_path_EGREP
="$GREP -E"
5694 if test -z "$EGREP"; then
5695 ac_path_EGREP_found
=false
5696 # Loop through the user's path and test for each of PROGNAME-LIST
5697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5698 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5701 test -z "$as_dir" && as_dir
=.
5702 for ac_prog
in egrep; do
5703 for ac_exec_ext
in '' $ac_executable_extensions; do
5704 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5705 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5706 # Check for GNU ac_path_EGREP and select it if it is found.
5707 # Check for GNU $ac_path_EGREP
5708 case `"$ac_path_EGREP" --version 2>&1` in
5710 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5713 $as_echo_n 0123456789 >"conftest.in"
5716 cat "conftest.in" "conftest.in" >"conftest.tmp"
5717 mv "conftest.tmp" "conftest.in"
5718 cp "conftest.in" "conftest.nl"
5719 $as_echo 'EGREP' >> "conftest.nl"
5720 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5721 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5722 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5723 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5724 # Best one so far, save it but keep looking for a better one
5725 ac_cv_path_EGREP
="$ac_path_EGREP"
5726 ac_path_EGREP_max
=$ac_count
5728 # 10*(2^10) chars as input seems more than enough
5729 test $ac_count -gt 10 && break
5731 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5734 $ac_path_EGREP_found && break 3
5739 if test -z "$ac_cv_path_EGREP"; then
5740 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5743 ac_cv_path_EGREP
=$EGREP
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5749 $as_echo "$ac_cv_path_EGREP" >&6; }
5750 EGREP
="$ac_cv_path_EGREP"
5753 # Extract the first word of "ldconfig", so it can be a program name with args.
5754 set dummy ldconfig
; ac_word
=$2
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5756 $as_echo_n "checking for $ac_word... " >&6; }
5757 if ${ac_cv_path_LDCONFIG+:} false
; then :
5758 $as_echo_n "(cached) " >&6
5762 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5766 for as_dir
in /sbin
/usr
/sbin
$PATH
5769 test -z "$as_dir" && as_dir
=.
5770 for ac_exec_ext
in '' $ac_executable_extensions; do
5771 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5772 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5780 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5784 LDCONFIG
=$ac_cv_path_LDCONFIG
5785 if test -n "$LDCONFIG"; then
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5787 $as_echo "$LDCONFIG" >&6; }
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5790 $as_echo "no" >&6; }
5794 for ac_prog
in msgfmt
5796 # Extract the first word of "$ac_prog", so it can be a program name with args.
5797 set dummy
$ac_prog; ac_word
=$2
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5799 $as_echo_n "checking for $ac_word... " >&6; }
5800 if ${ac_cv_prog_MSGFMT+:} false
; then :
5801 $as_echo_n "(cached) " >&6
5803 if test -n "$MSGFMT"; then
5804 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5810 test -z "$as_dir" && as_dir
=.
5811 for ac_exec_ext
in '' $ac_executable_extensions; do
5812 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5813 ac_cv_prog_MSGFMT
="$ac_prog"
5814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5823 MSGFMT
=$ac_cv_prog_MSGFMT
5824 if test -n "$MSGFMT"; then
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5826 $as_echo "$MSGFMT" >&6; }
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5829 $as_echo "no" >&6; }
5833 test -n "$MSGFMT" && break
5835 test -n "$MSGFMT" || MSGFMT
="false"
5837 if ${ac_tool_prefix+:} false
; then :
5838 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5839 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5841 $as_echo_n "checking for $ac_word... " >&6; }
5842 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5843 $as_echo_n "(cached) " >&6
5845 if test -n "$PKG_CONFIG"; then
5846 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5852 test -z "$as_dir" && as_dir
=.
5853 for ac_exec_ext
in '' $ac_executable_extensions; do
5854 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5855 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5865 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5866 if test -n "$PKG_CONFIG"; then
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5868 $as_echo "$PKG_CONFIG" >&6; }
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5871 $as_echo "no" >&6; }
5876 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5877 if test "x$cross_compiling" = xyes
; then :
5880 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5881 # Extract the first word of "pkg-config", so it can be a program name with args.
5882 set dummy pkg-config
; ac_word
=$2
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5884 $as_echo_n "checking for $ac_word... " >&6; }
5885 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5886 $as_echo_n "(cached) " >&6
5888 if test -n "$PKG_CONFIG"; then
5889 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5895 test -z "$as_dir" && as_dir
=.
5896 for ac_exec_ext
in '' $ac_executable_extensions; do
5897 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5898 ac_cv_prog_PKG_CONFIG
="pkg-config"
5899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5908 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5909 if test -n "$PKG_CONFIG"; then
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5911 $as_echo "$PKG_CONFIG" >&6; }
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5914 $as_echo "no" >&6; }
5920 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5923 if test "x$enable_maintainer_mode" != "xyes"
5930 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5931 for ac_prog
in fontforge
5933 # Extract the first word of "$ac_prog", so it can be a program name with args.
5934 set dummy
$ac_prog; ac_word
=$2
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5936 $as_echo_n "checking for $ac_word... " >&6; }
5937 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5938 $as_echo_n "(cached) " >&6
5940 if test -n "$FONTFORGE"; then
5941 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5947 test -z "$as_dir" && as_dir
=.
5948 for ac_exec_ext
in '' $ac_executable_extensions; do
5949 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5950 ac_cv_prog_FONTFORGE
="$ac_prog"
5951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5960 FONTFORGE
=$ac_cv_prog_FONTFORGE
5961 if test -n "$FONTFORGE"; then
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5963 $as_echo "$FONTFORGE" >&6; }
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5966 $as_echo "no" >&6; }
5970 test -n "$FONTFORGE" && break
5972 test -n "$FONTFORGE" || FONTFORGE
="false"
5974 for ac_prog
in rsvg-convert rsvg
5976 # Extract the first word of "$ac_prog", so it can be a program name with args.
5977 set dummy
$ac_prog; ac_word
=$2
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5979 $as_echo_n "checking for $ac_word... " >&6; }
5980 if ${ac_cv_prog_RSVG+:} false
; then :
5981 $as_echo_n "(cached) " >&6
5983 if test -n "$RSVG"; then
5984 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5990 test -z "$as_dir" && as_dir
=.
5991 for ac_exec_ext
in '' $ac_executable_extensions; do
5992 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5993 ac_cv_prog_RSVG
="$ac_prog"
5994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6003 RSVG
=$ac_cv_prog_RSVG
6004 if test -n "$RSVG"; then
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6006 $as_echo "$RSVG" >&6; }
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6009 $as_echo "no" >&6; }
6013 test -n "$RSVG" && break
6015 test -n "$RSVG" || RSVG
="false"
6017 for ac_prog
in convert
6019 # Extract the first word of "$ac_prog", so it can be a program name with args.
6020 set dummy
$ac_prog; ac_word
=$2
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6022 $as_echo_n "checking for $ac_word... " >&6; }
6023 if ${ac_cv_prog_CONVERT+:} false
; then :
6024 $as_echo_n "(cached) " >&6
6026 if test -n "$CONVERT"; then
6027 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
6029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6033 test -z "$as_dir" && as_dir
=.
6034 for ac_exec_ext
in '' $ac_executable_extensions; do
6035 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6036 ac_cv_prog_CONVERT
="$ac_prog"
6037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6046 CONVERT
=$ac_cv_prog_CONVERT
6047 if test -n "$CONVERT"; then
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6049 $as_echo "$CONVERT" >&6; }
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052 $as_echo "no" >&6; }
6056 test -n "$CONVERT" && break
6058 test -n "$CONVERT" || CONVERT
="false"
6060 for ac_prog
in icotool
6062 # Extract the first word of "$ac_prog", so it can be a program name with args.
6063 set dummy
$ac_prog; ac_word
=$2
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6065 $as_echo_n "checking for $ac_word... " >&6; }
6066 if ${ac_cv_prog_ICOTOOL+:} false
; then :
6067 $as_echo_n "(cached) " >&6
6069 if test -n "$ICOTOOL"; then
6070 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6076 test -z "$as_dir" && as_dir
=.
6077 for ac_exec_ext
in '' $ac_executable_extensions; do
6078 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6079 ac_cv_prog_ICOTOOL
="$ac_prog"
6080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6089 ICOTOOL
=$ac_cv_prog_ICOTOOL
6090 if test -n "$ICOTOOL"; then
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6092 $as_echo "$ICOTOOL" >&6; }
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6095 $as_echo "no" >&6; }
6099 test -n "$ICOTOOL" && break
6101 test -n "$ICOTOOL" || ICOTOOL
="false"
6103 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6104 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6106 if test "$CONVERT" = false
6108 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6111 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6112 convert_version
=`convert --version | head -n1`
6113 if test "x$convert_version" != "x"
6115 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6116 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6117 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6122 if test "$CONVERT" = false
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6125 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6126 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6129 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6133 if test "$ICOTOOL" = false
6135 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6138 $as_echo_n "checking for recent enough icotool... " >&6; }
6139 icotool_version
=`icotool --version | head -n1`
6140 if test "x$icotool_version" != "x"
6142 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6143 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6144 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6147 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6150 if test "$ICOTOOL" = false
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6153 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6154 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6157 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6163 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6166 test "x$with_gettext" != xno || MSGFMT
=false
6167 if test "$MSGFMT" != "false"
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6170 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6171 cat >conftest.po
<<EOF
6177 if $MSGFMT -o /dev
/null conftest.po
2>&5
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6180 $as_echo "yes" >&6; }
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6183 $as_echo "no" >&6; }
6187 if test "$MSGFMT" = false
; then :
6188 case "x$with_gettext" in
6189 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6191 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6192 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6194 enable_po
=${enable_po:-no}
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6199 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6200 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6201 $as_echo_n "(cached) " >&6
6203 ac_check_lib_save_LIBS
=$LIBS
6205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6206 /* end confdefs.h. */
6208 /* Override any GCC internal prototype to avoid an error.
6209 Use char because int might match the return type of a GCC
6210 builtin and then its argument prototype would still apply. */
6214 char i386_set_ldt ();
6218 return i386_set_ldt ();
6223 if ac_fn_c_try_link
"$LINENO"; then :
6224 ac_cv_lib_i386_i386_set_ldt
=yes
6226 ac_cv_lib_i386_i386_set_ldt
=no
6228 rm -f core conftest.err conftest.
$ac_objext \
6229 conftest
$ac_exeext conftest.
$ac_ext
6230 LIBS
=$ac_check_lib_save_LIBS
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6233 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6234 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6235 cat >>confdefs.h
<<_ACEOF
6236 #define HAVE_LIBI386 1
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6244 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6245 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6246 $as_echo_n "(cached) " >&6
6248 ac_check_lib_save_LIBS
=$LIBS
6249 LIBS
="-lossaudio $LIBS"
6250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6251 /* end confdefs.h. */
6253 /* Override any GCC internal prototype to avoid an error.
6254 Use char because int might match the return type of a GCC
6255 builtin and then its argument prototype would still apply. */
6263 return _oss_ioctl ();
6268 if ac_fn_c_try_link
"$LINENO"; then :
6269 ac_cv_lib_ossaudio__oss_ioctl
=yes
6271 ac_cv_lib_ossaudio__oss_ioctl
=no
6273 rm -f core conftest.err conftest.
$ac_objext \
6274 conftest
$ac_exeext conftest.
$ac_ext
6275 LIBS
=$ac_check_lib_save_LIBS
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6278 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6279 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6280 cat >>confdefs.h
<<_ACEOF
6281 #define HAVE_LIBOSSAUDIO 1
6284 LIBS
="-lossaudio $LIBS"
6293 # Check whether --enable-largefile was given.
6294 if test "${enable_largefile+set}" = set; then :
6295 enableval
=$enable_largefile;
6298 if test "$enable_largefile" != no
; then
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6301 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6302 if ${ac_cv_sys_largefile_CC+:} false
; then :
6303 $as_echo_n "(cached) " >&6
6305 ac_cv_sys_largefile_CC
=no
6306 if test "$GCC" != yes; then
6309 # IRIX 6.2 and later do not support large files by default,
6310 # so use the C compiler's -n32 option if that helps.
6311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6312 /* end confdefs.h. */
6313 #include <sys/types.h>
6314 /* Check that off_t can represent 2**63 - 1 correctly.
6315 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6316 since some C++ compilers masquerading as C compilers
6317 incorrectly reject 9223372036854775807. */
6318 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6319 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6320 && LARGE_OFF_T % 2147483647 == 1)
6330 if ac_fn_c_try_compile
"$LINENO"; then :
6333 rm -f core conftest.err conftest.
$ac_objext
6335 if ac_fn_c_try_compile
"$LINENO"; then :
6336 ac_cv_sys_largefile_CC
=' -n32'; break
6338 rm -f core conftest.err conftest.
$ac_objext
6342 rm -f conftest.
$ac_ext
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6346 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6347 if test "$ac_cv_sys_largefile_CC" != no
; then
6348 CC
=$CC$ac_cv_sys_largefile_CC
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6352 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6353 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6354 $as_echo_n "(cached) " >&6
6357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6358 /* end confdefs.h. */
6359 #include <sys/types.h>
6360 /* Check that off_t can represent 2**63 - 1 correctly.
6361 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6362 since some C++ compilers masquerading as C compilers
6363 incorrectly reject 9223372036854775807. */
6364 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6365 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6366 && LARGE_OFF_T % 2147483647 == 1)
6376 if ac_fn_c_try_compile
"$LINENO"; then :
6377 ac_cv_sys_file_offset_bits
=no
; break
6379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6381 /* end confdefs.h. */
6382 #define _FILE_OFFSET_BITS 64
6383 #include <sys/types.h>
6384 /* Check that off_t can represent 2**63 - 1 correctly.
6385 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6386 since some C++ compilers masquerading as C compilers
6387 incorrectly reject 9223372036854775807. */
6388 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6389 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6390 && LARGE_OFF_T % 2147483647 == 1)
6400 if ac_fn_c_try_compile
"$LINENO"; then :
6401 ac_cv_sys_file_offset_bits
=64; break
6403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6404 ac_cv_sys_file_offset_bits
=unknown
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6409 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6410 case $ac_cv_sys_file_offset_bits in #(
6413 cat >>confdefs.h
<<_ACEOF
6414 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6419 if test $ac_cv_sys_file_offset_bits = unknown
; then
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6421 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6422 if ${ac_cv_sys_large_files+:} false
; then :
6423 $as_echo_n "(cached) " >&6
6426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6427 /* end confdefs.h. */
6428 #include <sys/types.h>
6429 /* Check that off_t can represent 2**63 - 1 correctly.
6430 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6431 since some C++ compilers masquerading as C compilers
6432 incorrectly reject 9223372036854775807. */
6433 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6434 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6435 && LARGE_OFF_T % 2147483647 == 1)
6445 if ac_fn_c_try_compile
"$LINENO"; then :
6446 ac_cv_sys_large_files
=no
; break
6448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6450 /* end confdefs.h. */
6451 #define _LARGE_FILES 1
6452 #include <sys/types.h>
6453 /* Check that off_t can represent 2**63 - 1 correctly.
6454 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6455 since some C++ compilers masquerading as C compilers
6456 incorrectly reject 9223372036854775807. */
6457 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6458 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6459 && LARGE_OFF_T % 2147483647 == 1)
6469 if ac_fn_c_try_compile
"$LINENO"; then :
6470 ac_cv_sys_large_files
=1; break
6472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6473 ac_cv_sys_large_files
=unknown
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6478 $as_echo "$ac_cv_sys_large_files" >&6; }
6479 case $ac_cv_sys_large_files in #(
6482 cat >>confdefs.h
<<_ACEOF
6483 #define _LARGE_FILES $ac_cv_sys_large_files
6495 ac_cpp
='$CPP $CPPFLAGS'
6496 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6497 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6498 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6500 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6501 # On Suns, sometimes $CPP names a directory.
6502 if test -n "$CPP" && test -d "$CPP"; then
6505 if test -z "$CPP"; then
6506 if ${ac_cv_prog_CPP+:} false
; then :
6507 $as_echo_n "(cached) " >&6
6509 # Double quotes because CPP needs to be expanded
6510 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6513 for ac_c_preproc_warn_flag
in '' yes
6515 # Use a header file that comes with gcc, so configuring glibc
6516 # with a fresh cross-compiler works.
6517 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6518 # <limits.h> exists even on freestanding compilers.
6519 # On the NeXT, cc -E runs the code through the compiler's parser,
6520 # not just through cpp. "Syntax error" is here to catch this case.
6521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6522 /* end confdefs.h. */
6524 # include <limits.h>
6526 # include <assert.h>
6530 if ac_fn_c_try_cpp
"$LINENO"; then :
6533 # Broken: fails on valid input.
6536 rm -f conftest.err conftest.i conftest.
$ac_ext
6538 # OK, works on sane cases. Now check whether nonexistent headers
6539 # can be detected and how.
6540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6541 /* end confdefs.h. */
6542 #include <ac_nonexistent.h>
6544 if ac_fn_c_try_cpp
"$LINENO"; then :
6545 # Broken: success on invalid input.
6548 # Passes both tests.
6552 rm -f conftest.err conftest.i conftest.
$ac_ext
6555 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6556 rm -f conftest.i conftest.err conftest.
$ac_ext
6557 if $ac_preproc_ok; then :
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6570 $as_echo "$CPP" >&6; }
6572 for ac_c_preproc_warn_flag
in '' yes
6574 # Use a header file that comes with gcc, so configuring glibc
6575 # with a fresh cross-compiler works.
6576 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6577 # <limits.h> exists even on freestanding compilers.
6578 # On the NeXT, cc -E runs the code through the compiler's parser,
6579 # not just through cpp. "Syntax error" is here to catch this case.
6580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6581 /* end confdefs.h. */
6583 # include <limits.h>
6585 # include <assert.h>
6589 if ac_fn_c_try_cpp
"$LINENO"; then :
6592 # Broken: fails on valid input.
6595 rm -f conftest.err conftest.i conftest.
$ac_ext
6597 # OK, works on sane cases. Now check whether nonexistent headers
6598 # can be detected and how.
6599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6600 /* end confdefs.h. */
6601 #include <ac_nonexistent.h>
6603 if ac_fn_c_try_cpp
"$LINENO"; then :
6604 # Broken: success on invalid input.
6607 # Passes both tests.
6611 rm -f conftest.err conftest.i conftest.
$ac_ext
6614 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6615 rm -f conftest.i conftest.err conftest.
$ac_ext
6616 if $ac_preproc_ok; then :
6619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6621 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6622 See \`config.log' for more details" "$LINENO" 5; }
6626 ac_cpp
='$CPP $CPPFLAGS'
6627 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6628 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6629 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6633 $as_echo_n "checking for ANSI C header files... " >&6; }
6634 if ${ac_cv_header_stdc+:} false
; then :
6635 $as_echo_n "(cached) " >&6
6637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6638 /* end confdefs.h. */
6652 if ac_fn_c_try_compile
"$LINENO"; then :
6653 ac_cv_header_stdc
=yes
6655 ac_cv_header_stdc
=no
6657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6659 if test $ac_cv_header_stdc = yes; then
6660 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6662 /* end confdefs.h. */
6666 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6667 $EGREP "memchr" >/dev
/null
2>&1; then :
6670 ac_cv_header_stdc
=no
6676 if test $ac_cv_header_stdc = yes; then
6677 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6679 /* end confdefs.h. */
6683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6684 $EGREP "free" >/dev
/null
2>&1; then :
6687 ac_cv_header_stdc
=no
6693 if test $ac_cv_header_stdc = yes; then
6694 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6695 if test "$cross_compiling" = yes; then :
6698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6699 /* end confdefs.h. */
6702 #if ((' ' & 0x0FF) == 0x020)
6703 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6704 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6706 # define ISLOWER(c) \
6707 (('a' <= (c) && (c) <= 'i') \
6708 || ('j' <= (c) && (c) <= 'r') \
6709 || ('s' <= (c) && (c) <= 'z'))
6710 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6713 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6718 for (i = 0; i < 256; i++)
6719 if (XOR (islower (i), ISLOWER (i))
6720 || toupper (i) != TOUPPER (i))
6725 if ac_fn_c_try_run
"$LINENO"; then :
6728 ac_cv_header_stdc
=no
6730 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6731 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6737 $as_echo "$ac_cv_header_stdc" >&6; }
6738 if test $ac_cv_header_stdc = yes; then
6740 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6744 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6745 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6746 inttypes.h stdint.h unistd.h
6748 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6749 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6751 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6752 cat >>confdefs.h
<<_ACEOF
6753 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6763 ApplicationServices
/ApplicationServices.h \
6764 AudioToolbox
/AudioConverter.h \
6765 AudioUnit
/AudioUnit.h \
6766 AudioUnit
/AudioComponent.h \
6769 CommonCrypto
/CommonDigest.h \
6770 CoreAudio
/CoreAudio.h \
6771 CoreServices
/CoreServices.h \
6772 DiskArbitration
/DiskArbitration.h \
6774 IOKit
/hid
/IOHIDLib.h \
6777 QuickTime
/ImageCompression.h \
6778 Security
/Security.h \
6830 netinet
/in_systm.h \
6894 valgrind
/memcheck.h \
6895 valgrind
/valgrind.h \
6899 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6900 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6901 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6902 cat >>confdefs.h
<<_ACEOF
6903 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6911 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6912 if ${ac_cv_header_sys_types_h_makedev+:} false
; then :
6913 $as_echo_n "(cached) " >&6
6915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6916 /* end confdefs.h. */
6917 #include <sys/types.h>
6921 return makedev(0, 0);
6926 if ac_fn_c_try_link
"$LINENO"; then :
6927 ac_cv_header_sys_types_h_makedev
=yes
6929 ac_cv_header_sys_types_h_makedev
=no
6931 rm -f core conftest.err conftest.
$ac_objext \
6932 conftest
$ac_exeext conftest.
$ac_ext
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6936 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6938 if test $ac_cv_header_sys_types_h_makedev = no
; then
6939 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6940 if test "x$ac_cv_header_sys_mkdev_h" = xyes
; then :
6942 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6948 if test $ac_cv_header_sys_mkdev_h = no
; then
6949 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6950 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
; then :
6952 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6961 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6962 if ${ac_cv_header_stat_broken+:} false
; then :
6963 $as_echo_n "(cached) " >&6
6965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6966 /* end confdefs.h. */
6967 #include <sys/types.h>
6968 #include <sys/stat.h>
6970 #if defined S_ISBLK && defined S_IFDIR
6971 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6974 #if defined S_ISBLK && defined S_IFCHR
6975 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6978 #if defined S_ISLNK && defined S_IFREG
6979 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6982 #if defined S_ISSOCK && defined S_IFREG
6983 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6987 if ac_fn_c_try_compile
"$LINENO"; then :
6988 ac_cv_header_stat_broken
=no
6990 ac_cv_header_stat_broken
=yes
6992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6995 $as_echo "$ac_cv_header_stat_broken" >&6; }
6996 if test $ac_cv_header_stat_broken = yes; then
6998 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7004 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
7006 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7007 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7008 #ifdef HAVE_SYS_PARAM_H
7009 # include <sys/param.h>
7012 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7013 cat >>confdefs.h
<<_ACEOF
7014 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7029 netinet
/if_ether.h \
7030 netinet
/if_inarp.h \
7039 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7040 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7041 #ifdef HAVE_SYS_SOCKET_H
7042 # include <sys/socket.h>
7044 #ifdef HAVE_SYS_SOCKETVAR_H
7045 # include <sys/socketvar.h>
7047 #ifdef HAVE_NET_ROUTE_H
7048 # include <net/route.h>
7050 #ifdef HAVE_NETINET_IN_H
7051 # include <netinet/in.h>
7053 #ifdef HAVE_NETINET_IN_SYSTM_H
7054 # include <netinet/in_systm.h>
7056 #ifdef HAVE_NET_IF_H
7057 # include <net/if.h>
7059 #ifdef HAVE_NETINET_IP_H
7060 # include <netinet/ip.h>
7063 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7064 cat >>confdefs.h
<<_ACEOF
7065 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7073 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
7075 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7076 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7080 #ifdef HAVE_SYS_SOCKET_H
7081 # include <sys/socket.h>
7083 #ifdef HAVE_SYS_SOCKETVAR_H
7084 # include <sys/socketvar.h>
7086 #ifdef HAVE_SYS_TIMEOUT_H
7087 # include <sys/timeout.h>
7089 #ifdef HAVE_NETINET_IN_H
7090 # include <netinet/in.h>
7092 #ifdef HAVE_NETINET_IN_SYSTM_H
7093 # include <netinet/in_systm.h>
7095 #ifdef HAVE_NETINET_IP_H
7096 # include <netinet/ip.h>
7098 #ifdef HAVE_NETINET_IP_VAR_H
7099 # include <netinet/ip_var.h>
7101 #ifdef HAVE_NETINET_IP_ICMP_H
7102 # include <netinet/ip_icmp.h>
7104 #ifdef HAVE_NETINET_UDP_H
7105 # include <netinet/udp.h>
7107 #ifdef HAVE_NETINET_TCP_H
7108 # include <netinet/tcp.h>
7110 #ifdef HAVE_NETINET_TCP_TIMER_H
7111 #include <netinet/tcp_timer.h>
7114 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7115 cat >>confdefs.h
<<_ACEOF
7116 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7124 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
7126 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7127 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7128 #ifdef HAVE_ASM_TYPES_H
7129 # include <asm/types.h>
7131 #ifdef HAVE_SYS_SOCKET_H
7132 # include <sys/socket.h>
7134 #ifdef HAVE_LINUX_TYPES_H
7135 # include <linux/types.h>
7138 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7139 cat >>confdefs.h
<<_ACEOF
7140 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7148 for ac_header
in mach-o
/dyld_images.h
7150 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7151 # include <stdbool.h>
7153 #ifdef HAVE_STDINT_H
7154 # include <stdint.h>
7157 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7158 cat >>confdefs.h
<<_ACEOF
7159 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7167 for ac_header
in resolv.h
7169 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7170 #ifdef HAVE_SYS_SOCKET_H
7171 # include <sys/socket.h>
7173 #ifdef HAVE_NETINET_IN_H
7174 # include <netinet/in.h>
7176 #ifdef HAVE_ARPA_NAMESER_H
7177 # include <arpa/nameser.h>
7180 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7181 cat >>confdefs.h
<<_ACEOF
7182 #define HAVE_RESOLV_H 1
7190 for ac_header
in ifaddrs.h
7192 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7194 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7195 cat >>confdefs.h
<<_ACEOF
7196 #define HAVE_IFADDRS_H 1
7204 for ac_header
in sys
/ucontext.h
7206 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7208 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7209 cat >>confdefs.h
<<_ACEOF
7210 #define HAVE_SYS_UCONTEXT_H 1
7218 for ac_header
in sys
/thr.h
7220 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7221 #ifdef HAVE_SYS_UCONTEXT_H
7222 #include <sys/ucontext.h>
7225 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7226 cat >>confdefs.h
<<_ACEOF
7227 #define HAVE_SYS_THR_H 1
7235 for ac_header
in pthread_np.h
7237 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7238 #include <pthread.h>
7241 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7242 cat >>confdefs.h
<<_ACEOF
7243 #define HAVE_PTHREAD_NP_H 1
7251 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7253 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7254 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7255 #include <sys/time.h>
7257 #include <sys/types.h>
7258 #ifdef HAVE_ASM_TYPES_H
7259 #include <asm/types.h>
7262 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7263 cat >>confdefs.h
<<_ACEOF
7264 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7272 for ac_header
in libprocstat.h
7274 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7275 #include <sys/param.h>
7277 #ifdef HAVE_SYS_QUEUE_H
7278 #include <sys/queue.h>
7280 #ifdef HAVE_SYS_SOCKET_H
7281 #include <sys/socket.h>
7284 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7285 cat >>confdefs.h
<<_ACEOF
7286 #define HAVE_LIBPROCSTAT_H 1
7295 dlldir
="\${libdir}/wine"
7297 DLLFLAGS
="-D_REENTRANT"
7308 # Extract the first word of "ldd", so it can be a program name with args.
7309 set dummy ldd
; ac_word
=$2
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311 $as_echo_n "checking for $ac_word... " >&6; }
7312 if ${ac_cv_path_LDD+:} false
; then :
7313 $as_echo_n "(cached) " >&6
7317 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7321 as_dummy
="/sbin:/usr/sbin:$PATH"
7322 for as_dir
in $as_dummy
7325 test -z "$as_dir" && as_dir
=.
7326 for ac_exec_ext
in '' $ac_executable_extensions; do
7327 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7328 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7336 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7341 if test -n "$LDD"; then
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7343 $as_echo "$LDD" >&6; }
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7346 $as_echo "no" >&6; }
7350 if test -n "$ac_tool_prefix"; then
7351 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7352 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7354 $as_echo_n "checking for $ac_word... " >&6; }
7355 if ${ac_cv_prog_OTOOL+:} false
; then :
7356 $as_echo_n "(cached) " >&6
7358 if test -n "$OTOOL"; then
7359 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7365 test -z "$as_dir" && as_dir
=.
7366 for ac_exec_ext
in '' $ac_executable_extensions; do
7367 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7368 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7378 OTOOL
=$ac_cv_prog_OTOOL
7379 if test -n "$OTOOL"; then
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7381 $as_echo "$OTOOL" >&6; }
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7384 $as_echo "no" >&6; }
7389 if test -z "$ac_cv_prog_OTOOL"; then
7391 # Extract the first word of "otool", so it can be a program name with args.
7392 set dummy otool
; ac_word
=$2
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7394 $as_echo_n "checking for $ac_word... " >&6; }
7395 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7396 $as_echo_n "(cached) " >&6
7398 if test -n "$ac_ct_OTOOL"; then
7399 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7405 test -z "$as_dir" && as_dir
=.
7406 for ac_exec_ext
in '' $ac_executable_extensions; do
7407 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7408 ac_cv_prog_ac_ct_OTOOL
="otool"
7409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7418 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7419 if test -n "$ac_ct_OTOOL"; then
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7421 $as_echo "$ac_ct_OTOOL" >&6; }
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7424 $as_echo "no" >&6; }
7427 if test "x$ac_ct_OTOOL" = x
; then
7430 case $cross_compiling:$ac_tool_warned in
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7434 ac_tool_warned
=yes ;;
7439 OTOOL
="$ac_cv_prog_OTOOL"
7442 if test -n "$ac_tool_prefix"; then
7443 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7444 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7446 $as_echo_n "checking for $ac_word... " >&6; }
7447 if ${ac_cv_prog_READELF+:} false
; then :
7448 $as_echo_n "(cached) " >&6
7450 if test -n "$READELF"; then
7451 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7457 test -z "$as_dir" && as_dir
=.
7458 for ac_exec_ext
in '' $ac_executable_extensions; do
7459 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7460 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7470 READELF
=$ac_cv_prog_READELF
7471 if test -n "$READELF"; then
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7473 $as_echo "$READELF" >&6; }
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7476 $as_echo "no" >&6; }
7481 if test -z "$ac_cv_prog_READELF"; then
7482 ac_ct_READELF
=$READELF
7483 # Extract the first word of "readelf", so it can be a program name with args.
7484 set dummy readelf
; ac_word
=$2
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7486 $as_echo_n "checking for $ac_word... " >&6; }
7487 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7488 $as_echo_n "(cached) " >&6
7490 if test -n "$ac_ct_READELF"; then
7491 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7497 test -z "$as_dir" && as_dir
=.
7498 for ac_exec_ext
in '' $ac_executable_extensions; do
7499 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7500 ac_cv_prog_ac_ct_READELF
="readelf"
7501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7510 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7511 if test -n "$ac_ct_READELF"; then
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7513 $as_echo "$ac_ct_READELF" >&6; }
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7516 $as_echo "no" >&6; }
7519 if test "x$ac_ct_READELF" = x
; then
7522 case $cross_compiling:$ac_tool_warned in
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7526 ac_tool_warned
=yes ;;
7528 READELF
=$ac_ct_READELF
7531 READELF
="$ac_cv_prog_READELF"
7534 wine_rules_file
=conf$
$rules.
make
7535 rm -f $wine_rules_file
7540 CONFIGURE_TARGETS
=""
7542 ALL_TEST_RESOURCES
=""
7545 wine_fn_append_file
()
7547 as_fn_append
$1 " \\$as_nl $2"
7550 wine_fn_append_rule
()
7552 $as_echo "$1" >>$wine_rules_file
7557 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7560 wine_fn_all_rules
()
7562 wine_fn_append_file SUBDIRS
$ac_dir
7563 wine_fn_append_rule \
7567 @cd $ac_dir && \$(MAKE)"
7570 wine_fn_install_rules
()
7572 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7574 wine_fn_append_rule \
7575 ".PHONY: $ac_dir/install $ac_dir/uninstall
7576 $ac_dir/install:: $ac_dir
7577 @cd $ac_dir && \$(MAKE) install
7579 @cd $ac_dir && \$(MAKE) uninstall
7580 install:: $ac_dir/install
7581 __uninstall__: $ac_dir/uninstall"
7583 if wine_fn_has_flag install-lib
7585 wine_fn_append_rule \
7586 ".PHONY: $ac_dir/install-lib
7587 $ac_dir/install-lib:: $ac_dir
7588 @cd $ac_dir && \$(MAKE) install-lib
7589 install-lib:: $ac_dir/install-lib"
7592 if wine_fn_has_flag install-dev
7594 wine_fn_append_rule \
7595 ".PHONY: $ac_dir/install-dev
7596 $ac_dir/install-dev:: $ac_dir
7597 @cd $ac_dir && \$(MAKE) install-dev
7598 install-dev:: $ac_dir/install-dev"
7602 wine_fn_clean_rules
()
7606 if wine_fn_has_flag clean
7608 wine_fn_append_rule \
7609 "$ac_dir/clean: dummy
7610 @cd $ac_dir && \$(MAKE) clean"
7612 wine_fn_append_rule \
7613 "$ac_dir/clean: dummy
7614 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7616 wine_fn_append_rule \
7617 "__clean__: $ac_dir/clean
7618 .PHONY: $ac_dir/clean"
7621 wine_fn_disabled_rules
()
7625 wine_fn_append_file SUBDIRS
$ac_dir
7626 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7627 wine_fn_append_rule \
7628 "__clean__: $ac_dir/clean
7629 .PHONY: $ac_dir/clean
7630 $ac_dir/clean: dummy
7631 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7634 wine_fn_config_makefile
()
7641 fonts|server
) test -z "$with_wine64" ||
return ;;
7643 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7644 wine_fn_disabled_rules
; return
7647 wine_fn_install_rules
7651 wine_fn_config_lib
()
7655 ac_dir
=dlls
/$ac_name
7658 if test "x$enable_tools" = xno
; then :
7661 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7666 wine_fn_append_rule \
7667 ".PHONY: $ac_dir/install $ac_dir/uninstall
7668 $ac_dir/install:: $ac_dir
7669 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7671 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7672 install install-dev:: $ac_dir/install
7673 __uninstall__: $ac_dir/uninstall
7674 __builddeps__: $ac_dir
7678 wine_fn_config_dll
()
7681 ac_dir
=dlls
/$ac_name
7684 ac_implib
=${4:-$ac_name}
7685 ac_file
=$ac_dir/lib
$ac_implib
7690 if test "x$enable_tools" = xno
; then :
7693 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7696 *16) ac_implibflags
=" -m16" ;;
7698 *) ac_dll
=$ac_dll.dll
;;
7702 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7703 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7705 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7706 if test "$ac_enable" != enable_win16
7708 wine_fn_clean_rules
$ac_clean
7709 wine_fn_append_file SUBDIRS
$ac_dir
7710 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7712 wine_fn_disabled_rules
$ac_clean
7717 wine_fn_clean_rules
$ac_clean
7718 wine_fn_append_rule \
7719 "$ac_dir: __builddeps__
7720 manpages htmlpages sgmlpages xmlpages::
7721 @cd $ac_dir && \$(MAKE) \$@
7722 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7723 install install-lib:: $ac_dir/install-lib
7724 __uninstall__: $ac_dir/uninstall"
7725 if test -n "$DLLEXT"
7727 wine_fn_append_rule \
7728 "$ac_dir/install-lib:: $ac_dir
7729 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7730 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7732 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7734 wine_fn_append_rule \
7735 "$ac_dir/install-lib:: $ac_dir
7736 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7738 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7742 if wine_fn_has_flag staticimplib
7744 wine_fn_append_rule \
7745 "__builddeps__: $ac_file.a
7746 $ac_file.a $ac_file.cross.a: $ac_deps
7748 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7749 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7750 $ac_dir/install-dev:: $ac_file.a
7751 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7753 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7754 install install-dev:: $ac_dir/install-dev
7755 __uninstall__: $ac_dir/uninstall"
7757 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7759 wine_fn_append_rule \
7760 "__builddeps__: $ac_file.cross.a
7761 $ac_file.cross.a: dummy
7762 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7765 elif wine_fn_has_flag implib
7767 wine_fn_append_rule \
7768 "__builddeps__: $ac_file.$IMPLIBEXT
7769 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7770 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7771 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7772 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7773 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7774 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7775 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7777 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7778 install install-dev:: $ac_dir/install-dev
7779 __uninstall__: $ac_dir/uninstall"
7780 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7782 wine_fn_append_rule \
7783 "__builddeps__: $ac_file.cross.a
7784 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7785 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7790 wine_fn_config_program
()
7793 ac_dir
=programs
/$ac_name
7800 *) ac_program
=$ac_program.exe
;;
7804 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7805 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7807 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7808 wine_fn_disabled_rules
$ac_clean; return
7812 wine_fn_clean_rules
$ac_clean
7813 wine_fn_append_rule
"$ac_dir: __builddeps__"
7815 wine_fn_has_flag
install ||
return
7816 wine_fn_append_rule \
7817 ".PHONY: $ac_dir/install $ac_dir/uninstall
7818 install install-lib:: $ac_dir/install
7819 __uninstall__: $ac_dir/uninstall"
7821 if test -n "$DLLEXT"
7823 wine_fn_append_rule \
7824 "$ac_dir/install:: $ac_dir
7825 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7826 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7828 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7830 if test -z "$with_wine64" && wine_fn_has_flag installbin
7832 wine_fn_append_rule \
7833 "$ac_dir/install:: __tooldeps__
7834 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7836 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7839 wine_fn_append_rule \
7840 "$ac_dir/install:: $ac_dir
7841 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7843 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7846 if test -z "$with_wine64" && wine_fn_has_flag manpage
7848 wine_fn_append_rule \
7849 "$ac_dir/install:: $ac_dir
7850 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7852 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7856 wine_fn_config_test
()
7863 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7864 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7866 if test "x$enable_tests" = xno
; then :
7867 wine_fn_disabled_rules
$ac_clean; return
7870 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7872 wine_fn_clean_rules
$ac_clean
7874 wine_fn_append_rule \
7875 "$ac_dir: __builddeps__
7876 programs/winetest: $ac_dir
7877 check test: $ac_dir/test
7878 .PHONY: $ac_dir/test
7880 @cd $ac_dir && \$(MAKE) test
7882 \$(RM) $ac_dir/*.ok"
7884 if test -n "$CROSSTARGET"
7886 wine_fn_append_rule \
7887 "crosstest: $ac_dir/crosstest
7888 .PHONY: $ac_dir/crosstest
7889 $ac_dir/crosstest: __builddeps__ dummy
7890 @cd $ac_dir && \$(MAKE) crosstest"
7894 wine_fn_config_tool
()
7898 if test "x$enable_tools" = xno
; then :
7899 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir; return
7903 wine_fn_install_rules
7906 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7907 wine_fn_append_rule
"$ac_dir: libs/port"
7909 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7913 wine_fn_config_symlink
()
7916 if test "x$1" = "x-d"
7922 wine_fn_append_rule \
7924 @./config.status \$@"
7925 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
7926 test -n "$ac_linkdir" ||
return
7927 wine_fn_append_rule
"$ac_linkdir/depend: $ac_links"
7931 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7932 WINELOADER_PROGRAMS
="$wine_binary"
7934 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7938 if test -n "$ac_tool_prefix"; then
7939 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7940 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7942 $as_echo_n "checking for $ac_word... " >&6; }
7943 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7944 $as_echo_n "(cached) " >&6
7946 if test -n "$DLLTOOL"; then
7947 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7953 test -z "$as_dir" && as_dir
=.
7954 for ac_exec_ext
in '' $ac_executable_extensions; do
7955 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7956 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7966 DLLTOOL
=$ac_cv_prog_DLLTOOL
7967 if test -n "$DLLTOOL"; then
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7969 $as_echo "$DLLTOOL" >&6; }
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7972 $as_echo "no" >&6; }
7977 if test -z "$ac_cv_prog_DLLTOOL"; then
7978 ac_ct_DLLTOOL
=$DLLTOOL
7979 # Extract the first word of "dlltool", so it can be a program name with args.
7980 set dummy dlltool
; ac_word
=$2
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7982 $as_echo_n "checking for $ac_word... " >&6; }
7983 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7984 $as_echo_n "(cached) " >&6
7986 if test -n "$ac_ct_DLLTOOL"; then
7987 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7993 test -z "$as_dir" && as_dir
=.
7994 for ac_exec_ext
in '' $ac_executable_extensions; do
7995 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7996 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8006 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8007 if test -n "$ac_ct_DLLTOOL"; then
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8009 $as_echo "$ac_ct_DLLTOOL" >&6; }
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8012 $as_echo "no" >&6; }
8015 if test "x$ac_ct_DLLTOOL" = x
; then
8018 case $cross_compiling:$ac_tool_warned in
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8022 ac_tool_warned
=yes ;;
8024 DLLTOOL
=$ac_ct_DLLTOOL
8027 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8033 enable_iphlpapi
=${enable_iphlpapi:-no}
8034 enable_kernel32
=${enable_kernel32:-no}
8035 enable_msvcrt
=${enable_msvcrt:-no}
8036 enable_ntdll
=${enable_ntdll:-no}
8037 enable_ws2_32
=${enable_ws2_32:-no}
8038 enable_loader
=${enable_loader:-no}
8039 enable_server
=${enable_server:-no}
8040 with_x
=${with_x:-no}
8041 with_pthread
=${with_pthread:-no}
8047 SOCKET_LIBS
="-lws2_32"
8051 LIBWINE_SHAREDLIB
="libwine.dll"
8053 LIBWINE_IMPORTLIB
="libwine.a"
8055 LIBWINE_INSTALL_LIB
="libwine.dll"
8057 LIBWINE_INSTALL_DEV
="libwine.a"
8059 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
8061 LIBWINE_DEPENDS
="wine.def"
8066 for ac_header
in libunwind.h
8068 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8069 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8070 cat >>confdefs.h
<<_ACEOF
8071 #define HAVE_LIBUNWIND_H 1
8079 DLLFLAGS
="$DLLFLAGS -fPIC"
8080 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8081 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8082 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8084 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8086 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8088 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8090 CORESERVICES_LIBS
="-framework CoreServices"
8092 APPKIT_LIBS
="-framework AppKit"
8094 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8096 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8097 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8098 $as_echo_n "(cached) " >&6
8100 ac_wine_try_cflags_saved
=$CFLAGS
8101 CFLAGS
="$CFLAGS -Wl,-no_pie"
8102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8103 /* end confdefs.h. */
8104 int main(int argc, char **argv) { return 0; }
8106 if ac_fn_c_try_link
"$LINENO"; then :
8107 ac_cv_cflags__Wl__no_pie
=yes
8109 ac_cv_cflags__Wl__no_pie
=no
8111 rm -f core conftest.err conftest.
$ac_objext \
8112 conftest
$ac_exeext conftest.
$ac_ext
8113 CFLAGS
=$ac_wine_try_cflags_saved
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8116 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8117 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8118 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8120 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8122 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8125 if test "$ac_cv_header_Security_Security_h" = "yes"
8127 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8129 ac_save_LIBS
="$LIBS"
8130 LIBS
="$LIBS $SECURITY_LIBS"
8131 for ac_func
in SSLCopyPeerCertificates
8133 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8134 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8135 cat >>confdefs.h
<<_ACEOF
8136 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8142 LIBS
="$ac_save_LIBS"
8143 with_gnutls
=${with_gnutls:-no}
8145 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8147 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8149 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8152 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8155 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8156 ac_save_LIBS
="$LIBS"
8157 LIBS
="$LIBS $COREAUDIO_LIBS"
8158 for ac_func
in AUGraphAddNode
8160 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8161 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8162 cat >>confdefs.h
<<_ACEOF
8163 #define HAVE_AUGRAPHADDNODE 1
8169 LIBS
="$ac_save_LIBS"
8171 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8173 OPENAL_LIBS
="-framework OpenAL"
8176 cat >>confdefs.h
<<_ACEOF
8177 #define HAVE_OPENAL 1
8180 ac_cv_lib_openal
=yes
8182 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8184 OPENCL_LIBS
="-framework OpenCL"
8186 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8188 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8190 ac_save_LIBS
="$LIBS"
8191 LIBS
="$LIBS $IOKIT_LIBS"
8192 for ac_func
in IOHIDManagerCreate
8194 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8195 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8196 cat >>confdefs.h
<<_ACEOF
8197 #define HAVE_IOHIDMANAGERCREATE 1
8203 LIBS
="$ac_save_LIBS"
8205 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8207 ac_save_LIBS
="$LIBS"
8208 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8210 $as_echo_n "checking for the QuickTime framework... " >&6; }
8211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8212 /* end confdefs.h. */
8213 #include <QuickTime/ImageCompression.h>
8217 CodecManagerVersion(NULL);
8222 if ac_fn_c_try_link
"$LINENO"; then :
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8224 $as_echo "yes" >&6; }
8225 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8227 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8230 $as_echo "no" >&6; }
8231 ac_cv_header_QuickTime_ImageCompression_h
=no
8233 rm -f core conftest.err conftest.
$ac_objext \
8234 conftest
$ac_exeext conftest.
$ac_ext
8235 LIBS
="$ac_save_LIBS"
8237 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8239 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8241 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8243 CARBON_LIBS
="-framework Carbon"
8247 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8249 ac_save_LIBS
="$LIBS"
8250 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8251 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8252 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8253 enable_winemac_drv
=${enable_winemac_drv:-yes}
8256 LIBS
="$ac_save_LIBS"
8259 if test "x$enable_win16" = "xyes"
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8262 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8263 if test "$cross_compiling" = yes; then :
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8265 $as_echo "cross-compiling, assuming yes" >&6; }
8267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8268 /* end confdefs.h. */
8271 "good:\tnop;nop\n\t"
8272 ".globl _testfunc\n"
8273 "_testfunc:\tcallw good");
8274 extern void testfunc();
8278 unsigned short *p = (unsigned short *)testfunc;
8279 return p[0] != 0xe866 || p[1] != 0xfffa
8284 if ac_fn_c_try_run
"$LINENO"; then :
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8286 $as_echo "yes" >&6; }
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8289 $as_echo "no" >&6; }
8290 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
8292 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8293 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8298 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8300 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8302 LIBWINE_INSTALL_DEV
="libwine.dylib"
8304 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8306 WINELOADER_DEPENDS
="wine_info.plist"
8311 DLLFLAGS
="$DLLFLAGS -fPIC"
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8313 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8314 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8315 $as_echo_n "(cached) " >&6
8317 ac_wine_try_cflags_saved
=$CFLAGS
8318 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8320 /* end confdefs.h. */
8321 int main(int argc, char **argv) { return 0; }
8323 if ac_fn_c_try_link
"$LINENO"; then :
8324 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8326 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8328 rm -f core conftest.err conftest.
$ac_objext \
8329 conftest
$ac_exeext conftest.
$ac_ext
8330 CFLAGS
=$ac_wine_try_cflags_saved
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8333 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8334 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8335 LDEXECFLAGS
="-Wl,--export-dynamic"
8337 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8339 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8340 if eval \
${$as_ac_var+:} false
; then :
8341 $as_echo_n "(cached) " >&6
8343 ac_wine_try_cflags_saved
=$CFLAGS
8344 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8346 /* end confdefs.h. */
8347 int main(int argc, char **argv) { return 0; }
8349 if ac_fn_c_try_link
"$LINENO"; then :
8350 eval "$as_ac_var=yes"
8352 eval "$as_ac_var=no"
8354 rm -f core conftest.err conftest.
$ac_objext \
8355 conftest
$ac_exeext conftest.
$ac_ext
8356 CFLAGS
=$ac_wine_try_cflags_saved
8358 eval ac_res
=\$
$as_ac_var
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8360 $as_echo "$ac_res" >&6; }
8361 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8362 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8363 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8365 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8367 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8368 if eval \
${$as_ac_var+:} false
; then :
8369 $as_echo_n "(cached) " >&6
8371 ac_wine_try_cflags_saved
=$CFLAGS
8372 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8374 /* end confdefs.h. */
8375 int main(int argc, char **argv) { return 0; }
8377 if ac_fn_c_try_link
"$LINENO"; then :
8378 eval "$as_ac_var=yes"
8380 eval "$as_ac_var=no"
8382 rm -f core conftest.err conftest.
$ac_objext \
8383 conftest
$ac_exeext conftest.
$ac_ext
8384 CFLAGS
=$ac_wine_try_cflags_saved
8386 eval ac_res
=\$
$as_ac_var
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8388 $as_echo "$ac_res" >&6; }
8389 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8390 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8391 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8396 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8397 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8398 $as_echo_n "(cached) " >&6
8400 ac_wine_try_cflags_saved
=$CFLAGS
8401 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8403 /* end confdefs.h. */
8404 int main(int argc, char **argv) { return 0; }
8406 if ac_fn_c_try_link
"$LINENO"; then :
8407 ac_cv_cflags__Wl___enable_new_dtags
=yes
8409 ac_cv_cflags__Wl___enable_new_dtags
=no
8411 rm -f core conftest.err conftest.
$ac_objext \
8412 conftest
$ac_exeext conftest.
$ac_ext
8413 CFLAGS
=$ac_wine_try_cflags_saved
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8416 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8417 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8418 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8421 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8422 if ${ac_cv_cflags__Wl__pie+:} false
; then :
8423 $as_echo_n "(cached) " >&6
8425 ac_wine_try_cflags_saved
=$CFLAGS
8426 CFLAGS
="$CFLAGS -Wl,-pie"
8427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8428 /* end confdefs.h. */
8429 int main(int argc, char **argv) { return 0; }
8431 if ac_fn_c_try_link
"$LINENO"; then :
8432 ac_cv_cflags__Wl__pie
=yes
8434 ac_cv_cflags__Wl__pie
=no
8436 rm -f core conftest.err conftest.
$ac_objext \
8437 conftest
$ac_exeext conftest.
$ac_ext
8438 CFLAGS
=$ac_wine_try_cflags_saved
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8441 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8442 if test "x$ac_cv_cflags__Wl__pie" = xyes
; then :
8443 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,-pie"
8446 LIBWINE_SHAREDLIB
="libwine.so"
8448 LIBWINE_INSTALL_LIB
="libwine.so"
8450 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so"
8455 DLLFLAGS
="$DLLFLAGS -fPIC"
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8458 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8459 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8460 $as_echo_n "(cached) " >&6
8462 ac_wine_try_cflags_saved
=$CFLAGS
8463 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8465 /* end confdefs.h. */
8468 if ac_fn_c_try_link
"$LINENO"; then :
8469 ac_cv_c_dll_gnuelf
="yes"
8471 ac_cv_c_dll_gnuelf
="no"
8473 rm -f core conftest.err conftest.
$ac_objext \
8474 conftest
$ac_exeext conftest.
$ac_ext
8475 CFLAGS
=$ac_wine_try_cflags_saved
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8478 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8479 if test "$ac_cv_c_dll_gnuelf" = "yes"
8481 LIBWINE_LDFLAGS
="-shared"
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8483 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8484 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8485 $as_echo_n "(cached) " >&6
8487 ac_wine_try_cflags_saved
=$CFLAGS
8488 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8490 /* end confdefs.h. */
8491 int main(int argc, char **argv) { return 0; }
8493 if ac_fn_c_try_link
"$LINENO"; then :
8494 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8496 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8498 rm -f core conftest.err conftest.
$ac_objext \
8499 conftest
$ac_exeext conftest.
$ac_ext
8500 CFLAGS
=$ac_wine_try_cflags_saved
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8503 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8504 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8505 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8508 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8509 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8510 $as_echo_n "(cached) " >&6
8512 ac_wine_try_cflags_saved
=$CFLAGS
8513 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8515 /* end confdefs.h. */
8516 int main(int argc, char **argv) { return 0; }
8518 if ac_fn_c_try_link
"$LINENO"; then :
8519 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8521 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8523 rm -f core conftest.err conftest.
$ac_objext \
8524 conftest
$ac_exeext conftest.
$ac_ext
8525 CFLAGS
=$ac_wine_try_cflags_saved
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8528 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8529 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8530 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8534 echo '{ global: *; };' >conftest.map
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8536 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8537 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8538 $as_echo_n "(cached) " >&6
8540 ac_wine_try_cflags_saved
=$CFLAGS
8541 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8543 /* end confdefs.h. */
8544 int main(int argc, char **argv) { return 0; }
8546 if ac_fn_c_try_link
"$LINENO"; then :
8547 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8549 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8551 rm -f core conftest.err conftest.
$ac_objext \
8552 conftest
$ac_exeext conftest.
$ac_ext
8553 CFLAGS
=$ac_wine_try_cflags_saved
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8556 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8557 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8558 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8563 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8564 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8565 $as_echo_n "(cached) " >&6
8567 ac_wine_try_cflags_saved
=$CFLAGS
8568 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8570 /* end confdefs.h. */
8571 int main(int argc, char **argv) { return 0; }
8573 if ac_fn_c_try_link
"$LINENO"; then :
8574 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8576 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8578 rm -f core conftest.err conftest.
$ac_objext \
8579 conftest
$ac_exeext conftest.
$ac_ext
8580 CFLAGS
=$ac_wine_try_cflags_saved
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8583 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8584 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8585 LDEXECFLAGS
="-Wl,--export-dynamic"
8588 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8590 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8591 if eval \
${$as_ac_var+:} false
; then :
8592 $as_echo_n "(cached) " >&6
8594 ac_wine_try_cflags_saved
=$CFLAGS
8595 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8597 /* end confdefs.h. */
8598 int main(int argc, char **argv) { return 0; }
8600 if ac_fn_c_try_link
"$LINENO"; then :
8601 eval "$as_ac_var=yes"
8603 eval "$as_ac_var=no"
8605 rm -f core conftest.err conftest.
$ac_objext \
8606 conftest
$ac_exeext conftest.
$ac_ext
8607 CFLAGS
=$ac_wine_try_cflags_saved
8609 eval ac_res
=\$
$as_ac_var
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8611 $as_echo "$ac_res" >&6; }
8612 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8613 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8614 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8616 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8618 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8619 if eval \
${$as_ac_var+:} false
; then :
8620 $as_echo_n "(cached) " >&6
8622 ac_wine_try_cflags_saved
=$CFLAGS
8623 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8625 /* end confdefs.h. */
8626 int main(int argc, char **argv) { return 0; }
8628 if ac_fn_c_try_link
"$LINENO"; then :
8629 eval "$as_ac_var=yes"
8631 eval "$as_ac_var=no"
8633 rm -f core conftest.err conftest.
$ac_objext \
8634 conftest
$ac_exeext conftest.
$ac_ext
8635 CFLAGS
=$ac_wine_try_cflags_saved
8637 eval ac_res
=\$
$as_ac_var
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8639 $as_echo "$ac_res" >&6; }
8640 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8641 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8642 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8647 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8648 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8649 $as_echo_n "(cached) " >&6
8651 ac_wine_try_cflags_saved
=$CFLAGS
8652 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8654 /* end confdefs.h. */
8655 int main(int argc, char **argv) { return 0; }
8657 if ac_fn_c_try_link
"$LINENO"; then :
8658 ac_cv_cflags__Wl___enable_new_dtags
=yes
8660 ac_cv_cflags__Wl___enable_new_dtags
=no
8662 rm -f core conftest.err conftest.
$ac_objext \
8663 conftest
$ac_exeext conftest.
$ac_ext
8664 CFLAGS
=$ac_wine_try_cflags_saved
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8667 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8668 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8669 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8673 *i
[3456789]86* | x86_64
)
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8675 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8676 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8677 $as_echo_n "(cached) " >&6
8679 ac_wine_try_cflags_saved
=$CFLAGS
8680 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8682 /* end confdefs.h. */
8683 int main(int argc, char **argv) { return 0; }
8685 if ac_fn_c_try_link
"$LINENO"; then :
8686 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8688 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8690 rm -f core conftest.err conftest.
$ac_objext \
8691 conftest
$ac_exeext conftest.
$ac_ext
8692 CFLAGS
=$ac_wine_try_cflags_saved
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8695 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8696 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8698 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8699 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8703 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8704 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false
; then :
8705 $as_echo_n "(cached) " >&6
8707 ac_wine_try_cflags_saved
=$CFLAGS
8708 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8710 /* end confdefs.h. */
8711 int main(int argc, char **argv) { return 0; }
8713 if ac_fn_c_try_link
"$LINENO"; then :
8714 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=yes
8716 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=no
8718 rm -f core conftest.err conftest.
$ac_objext \
8719 conftest
$ac_exeext conftest.
$ac_ext
8720 CFLAGS
=$ac_wine_try_cflags_saved
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8723 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8724 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes
; then :
8726 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8727 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8730 # Extract the first word of "prelink", so it can be a program name with args.
8731 set dummy prelink
; ac_word
=$2
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8733 $as_echo_n "checking for $ac_word... " >&6; }
8734 if ${ac_cv_path_PRELINK+:} false
; then :
8735 $as_echo_n "(cached) " >&6
8739 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8743 for as_dir
in /sbin
/usr
/sbin
$PATH
8746 test -z "$as_dir" && as_dir
=.
8747 for ac_exec_ext
in '' $ac_executable_extensions; do
8748 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8749 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8757 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8761 PRELINK
=$ac_cv_path_PRELINK
8762 if test -n "$PRELINK"; then
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8764 $as_echo "$PRELINK" >&6; }
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8767 $as_echo "no" >&6; }
8771 if test "x$PRELINK" = xfalse
8773 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8777 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8778 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false
; then :
8779 $as_echo_n "(cached) " >&6
8781 ac_wine_try_cflags_saved
=$CFLAGS
8782 CFLAGS
="$CFLAGS -Wl,-z,max-page-size=0x1000"
8783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8784 /* end confdefs.h. */
8785 int main(int argc, char **argv) { return 0; }
8787 if ac_fn_c_try_link
"$LINENO"; then :
8788 ac_cv_cflags__Wl__z_max_page_size_0x1000
=yes
8790 ac_cv_cflags__Wl__z_max_page_size_0x1000
=no
8792 rm -f core conftest.err conftest.
$ac_objext \
8793 conftest
$ac_exeext conftest.
$ac_ext
8794 CFLAGS
=$ac_wine_try_cflags_saved
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8797 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8798 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
; then :
8799 LDEXECFLAGS
="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8806 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8807 if ${ac_cv_c_dll_unixware+:} false
; then :
8808 $as_echo_n "(cached) " >&6
8810 ac_wine_try_cflags_saved
=$CFLAGS
8811 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8813 /* end confdefs.h. */
8816 if ac_fn_c_try_link
"$LINENO"; then :
8817 ac_cv_c_dll_unixware
="yes"
8819 ac_cv_c_dll_unixware
="no"
8821 rm -f core conftest.err conftest.
$ac_objext \
8822 conftest
$ac_exeext conftest.
$ac_ext
8823 CFLAGS
=$ac_wine_try_cflags_saved
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8826 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8827 if test "$ac_cv_c_dll_unixware" = "yes"
8829 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
8832 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
8834 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8836 LIBWINE_INSTALL_DEV
="libwine.so"
8838 LIBWINE_DEPENDS
="wine.map"
8843 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
8844 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8845 enable_winemac_drv
=${enable_winemac_drv:-no}
8846 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
8850 if test "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8854 ac_prefix_list
="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8856 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
8857 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8860 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
8861 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8863 ac_prefix_list
="" ;;
8865 for ac_prog
in $ac_prefix_list
8867 # Extract the first word of "$ac_prog", so it can be a program name with args.
8868 set dummy
$ac_prog; ac_word
=$2
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8870 $as_echo_n "checking for $ac_word... " >&6; }
8871 if ${ac_cv_prog_CROSSCC+:} false
; then :
8872 $as_echo_n "(cached) " >&6
8874 if test -n "$CROSSCC"; then
8875 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8881 test -z "$as_dir" && as_dir
=.
8882 for ac_exec_ext
in '' $ac_executable_extensions; do
8883 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8884 ac_cv_prog_CROSSCC
="$ac_prog"
8885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8894 CROSSCC
=$ac_cv_prog_CROSSCC
8895 if test -n "$CROSSCC"; then
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8897 $as_echo "$CROSSCC" >&6; }
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8900 $as_echo "no" >&6; }
8904 test -n "$CROSSCC" && break
8906 test -n "$CROSSCC" || CROSSCC
="false"
8908 if test "$CROSSCC" != "false"
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8913 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8915 /* end confdefs.h. */
8925 if ac_fn_c_try_compile
"$LINENO"; then :
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8927 $as_echo "yes" >&6; }
8933 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8934 *-clang) CROSSTARGET
=`expr "$1" : '\(.*\)-clang'` ;;
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8940 $as_echo "no" >&6; }
8942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8948 if test "$ac_cv_header_pthread_h" = "yes"
8950 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8951 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8955 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8956 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8957 $as_echo_n "(cached) " >&6
8959 ac_check_lib_save_LIBS
=$LIBS
8960 LIBS
="-lpthread $LIBS"
8961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8962 /* end confdefs.h. */
8964 /* Override any GCC internal prototype to avoid an error.
8965 Use char because int might match the return type of a GCC
8966 builtin and then its argument prototype would still apply. */
8970 char pthread_create ();
8974 return pthread_create ();
8979 if ac_fn_c_try_link
"$LINENO"; then :
8980 ac_cv_lib_pthread_pthread_create
=yes
8982 ac_cv_lib_pthread_pthread_create
=no
8984 rm -f core conftest.err conftest.
$ac_objext \
8985 conftest
$ac_exeext conftest.
$ac_ext
8986 LIBS
=$ac_check_lib_save_LIBS
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8989 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8990 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8991 PTHREAD_LIBS
="-lpthread"
8998 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8999 case "x$with_pthread" in
9001 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
9002 Wine cannot support threads without libpthread.
9003 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9010 $as_echo_n "checking for X... " >&6; }
9013 # Check whether --with-x was given.
9014 if test "${with_x+set}" = set; then :
9018 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9019 if test "x$with_x" = xno
; then
9020 # The user explicitly disabled X.
9023 case $x_includes,$x_libraries in #(
9024 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
9025 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
9026 $as_echo_n "(cached) " >&6
9028 # One or both of the vars are not set, and there is no cached value.
9029 ac_x_includes
=no ac_x_libraries
=no
9030 rm -f -r conftest.dir
9031 if mkdir conftest.dir
; then
9033 cat >Imakefile
<<'_ACEOF'
9035 @echo incroot='${INCROOT}'
9037 @echo usrlibdir='${USRLIBDIR}'
9039 @echo libdir='${LIBDIR}'
9041 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9042 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9043 for ac_var
in incroot usrlibdir libdir
; do
9044 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9046 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9047 for ac_extension
in a so sl dylib la dll
; do
9048 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9049 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9050 ac_im_usrlibdir
=$ac_im_libdir; break
9053 # Screen out bogus values from the imake configuration. They are
9054 # bogus both because they are the default anyway, and because
9055 # using them would break gcc on systems where it needs fixed includes.
9056 case $ac_im_incroot in
9057 /usr
/include
) ac_x_includes
= ;;
9058 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9060 case $ac_im_usrlibdir in
9061 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9062 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9066 rm -f -r conftest.dir
9069 # Standard set of common directories for X headers.
9070 # Check X11 before X11Rn because it is often a symlink to the current release.
9084 /usr/local/X11/include
9085 /usr/local/X11R7/include
9086 /usr/local/X11R6/include
9087 /usr/local/X11R5/include
9088 /usr/local/X11R4/include
9090 /usr/local/include/X11
9091 /usr/local/include/X11R7
9092 /usr/local/include/X11R6
9093 /usr/local/include/X11R5
9094 /usr/local/include/X11R4
9098 /usr/XFree86/include/X11
9102 /usr/unsupported/include
9104 /usr/local/x11r5/include
9105 /usr/lpp/Xamples/include
9107 /usr/openwin/include
9108 /usr/openwin/share/include'
9110 if test "$ac_x_includes" = no
; then
9111 # Guess where to find include files, by looking for Xlib.h.
9112 # First, try using that file with no special directory specified.
9113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9114 /* end confdefs.h. */
9115 #include <X11/Xlib.h>
9117 if ac_fn_c_try_cpp
"$LINENO"; then :
9118 # We can compile using X headers with no special include directory.
9121 for ac_dir
in $ac_x_header_dirs; do
9122 if test -r "$ac_dir/X11/Xlib.h"; then
9123 ac_x_includes
=$ac_dir
9128 rm -f conftest.err conftest.i conftest.
$ac_ext
9129 fi # $ac_x_includes = no
9131 if test "$ac_x_libraries" = no
; then
9132 # Check for the libraries.
9133 # See if we find them without any special options.
9134 # Don't add to $LIBS permanently.
9137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9138 /* end confdefs.h. */
9139 #include <X11/Xlib.h>
9148 if ac_fn_c_try_link
"$LINENO"; then :
9150 # We can link X programs with no special library path.
9154 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9156 # Don't even attempt the hair of trying to link an X program!
9157 for ac_extension
in a so sl dylib la dll
; do
9158 if test -r "$ac_dir/libX11.$ac_extension"; then
9159 ac_x_libraries
=$ac_dir
9165 rm -f core conftest.err conftest.
$ac_objext \
9166 conftest
$ac_exeext conftest.
$ac_ext
9167 fi # $ac_x_libraries = no
9169 case $ac_x_includes,$ac_x_libraries in #(
9171 # Didn't find X, or a directory has "'" in its name.
9172 ac_cv_have_x
="have_x=no";; #(
9174 # Record where we found X for the cache.
9175 ac_cv_have_x
="have_x=yes\
9176 ac_x_includes='$ac_x_includes'\
9177 ac_x_libraries='$ac_x_libraries'"
9183 eval "$ac_cv_have_x"
9186 if test "$have_x" != yes; then
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9188 $as_echo "$have_x" >&6; }
9191 # If each of the values was on the command line, it overrides each guess.
9192 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9193 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9194 # Update the cache value to reflect the command line values.
9195 ac_cv_have_x
="have_x=yes\
9196 ac_x_includes='$x_includes'\
9197 ac_x_libraries='$x_libraries'"
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9199 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9202 if test "$no_x" = yes; then
9203 # Not all programs may use this symbol, but it does not hurt to define it.
9205 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9207 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9209 if test -n "$x_includes"; then
9210 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9213 # It would also be nice to do this for all -L options, not just this one.
9214 if test -n "$x_libraries"; then
9215 X_LIBS
="$X_LIBS -L$x_libraries"
9216 # For Solaris; some versions of Sun CC require a space after -R and
9217 # others require no space. Words are not sufficient . . . .
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9219 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9220 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9221 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9222 ac_c_werror_flag
=yes
9223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9224 /* end confdefs.h. */
9234 if ac_fn_c_try_link
"$LINENO"; then :
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9236 $as_echo "no" >&6; }
9237 X_LIBS
="$X_LIBS -R$x_libraries"
9239 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9241 /* end confdefs.h. */
9251 if ac_fn_c_try_link
"$LINENO"; then :
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9253 $as_echo "yes" >&6; }
9254 X_LIBS
="$X_LIBS -R $x_libraries"
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9257 $as_echo "neither works" >&6; }
9259 rm -f core conftest.err conftest.
$ac_objext \
9260 conftest
$ac_exeext conftest.
$ac_ext
9262 rm -f core conftest.err conftest.
$ac_objext \
9263 conftest
$ac_exeext conftest.
$ac_ext
9264 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9268 # Check for system-dependent libraries X programs must link with.
9269 # Do this before checking for the system-independent R6 libraries
9270 # (-lICE), since we may need -lsocket or whatever for X linking.
9272 if test "$ISC" = yes; then
9273 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9275 # Martyn Johnson says this is needed for Ultrix, if the X
9276 # libraries were built with DECnet support. And Karl Berry says
9277 # the Alpha needs dnet_stub (dnet does not exist).
9278 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9280 /* end confdefs.h. */
9282 /* Override any GCC internal prototype to avoid an error.
9283 Use char because int might match the return type of a GCC
9284 builtin and then its argument prototype would still apply. */
9288 char XOpenDisplay ();
9292 return XOpenDisplay ();
9297 if ac_fn_c_try_link
"$LINENO"; then :
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9301 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9302 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9303 $as_echo_n "(cached) " >&6
9305 ac_check_lib_save_LIBS
=$LIBS
9307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9308 /* end confdefs.h. */
9310 /* Override any GCC internal prototype to avoid an error.
9311 Use char because int might match the return type of a GCC
9312 builtin and then its argument prototype would still apply. */
9320 return dnet_ntoa ();
9325 if ac_fn_c_try_link
"$LINENO"; then :
9326 ac_cv_lib_dnet_dnet_ntoa
=yes
9328 ac_cv_lib_dnet_dnet_ntoa
=no
9330 rm -f core conftest.err conftest.
$ac_objext \
9331 conftest
$ac_exeext conftest.
$ac_ext
9332 LIBS
=$ac_check_lib_save_LIBS
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9335 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9336 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9337 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9340 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9342 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9343 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9344 $as_echo_n "(cached) " >&6
9346 ac_check_lib_save_LIBS
=$LIBS
9347 LIBS
="-ldnet_stub $LIBS"
9348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9349 /* end confdefs.h. */
9351 /* Override any GCC internal prototype to avoid an error.
9352 Use char because int might match the return type of a GCC
9353 builtin and then its argument prototype would still apply. */
9361 return dnet_ntoa ();
9366 if ac_fn_c_try_link
"$LINENO"; then :
9367 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9369 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9371 rm -f core conftest.err conftest.
$ac_objext \
9372 conftest
$ac_exeext conftest.
$ac_ext
9373 LIBS
=$ac_check_lib_save_LIBS
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9376 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9377 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9378 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9383 rm -f core conftest.err conftest.
$ac_objext \
9384 conftest
$ac_exeext conftest.
$ac_ext
9385 LIBS
="$ac_xsave_LIBS"
9387 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9388 # to get the SysV transport functions.
9389 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9391 # The nsl library prevents programs from opening the X display
9392 # on Irix 5.2, according to T.E. Dickey.
9393 # The functions gethostbyname, getservbyname, and inet_addr are
9394 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9395 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9396 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9400 if test $ac_cv_func_gethostbyname = no
; then
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9402 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9403 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9404 $as_echo_n "(cached) " >&6
9406 ac_check_lib_save_LIBS
=$LIBS
9408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9409 /* end confdefs.h. */
9411 /* Override any GCC internal prototype to avoid an error.
9412 Use char because int might match the return type of a GCC
9413 builtin and then its argument prototype would still apply. */
9417 char gethostbyname ();
9421 return gethostbyname ();
9426 if ac_fn_c_try_link
"$LINENO"; then :
9427 ac_cv_lib_nsl_gethostbyname
=yes
9429 ac_cv_lib_nsl_gethostbyname
=no
9431 rm -f core conftest.err conftest.
$ac_objext \
9432 conftest
$ac_exeext conftest.
$ac_ext
9433 LIBS
=$ac_check_lib_save_LIBS
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9436 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9437 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9438 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9441 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9443 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9444 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9445 $as_echo_n "(cached) " >&6
9447 ac_check_lib_save_LIBS
=$LIBS
9449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9450 /* end confdefs.h. */
9452 /* Override any GCC internal prototype to avoid an error.
9453 Use char because int might match the return type of a GCC
9454 builtin and then its argument prototype would still apply. */
9458 char gethostbyname ();
9462 return gethostbyname ();
9467 if ac_fn_c_try_link
"$LINENO"; then :
9468 ac_cv_lib_bsd_gethostbyname
=yes
9470 ac_cv_lib_bsd_gethostbyname
=no
9472 rm -f core conftest.err conftest.
$ac_objext \
9473 conftest
$ac_exeext conftest.
$ac_ext
9474 LIBS
=$ac_check_lib_save_LIBS
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9477 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9478 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9479 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9485 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9486 # socket/setsockopt and other routines are undefined under SCO ODT
9487 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9488 # on later versions), says Simon Leinen: it contains gethostby*
9489 # variants that don't use the name server (or something). -lsocket
9490 # must be given before -lnsl if both are needed. We assume that
9491 # if connect needs -lnsl, so does gethostbyname.
9492 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9493 if test "x$ac_cv_func_connect" = xyes
; then :
9497 if test $ac_cv_func_connect = no
; then
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9499 $as_echo_n "checking for connect in -lsocket... " >&6; }
9500 if ${ac_cv_lib_socket_connect+:} false
; then :
9501 $as_echo_n "(cached) " >&6
9503 ac_check_lib_save_LIBS
=$LIBS
9504 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9506 /* end confdefs.h. */
9508 /* Override any GCC internal prototype to avoid an error.
9509 Use char because int might match the return type of a GCC
9510 builtin and then its argument prototype would still apply. */
9523 if ac_fn_c_try_link
"$LINENO"; then :
9524 ac_cv_lib_socket_connect
=yes
9526 ac_cv_lib_socket_connect
=no
9528 rm -f core conftest.err conftest.
$ac_objext \
9529 conftest
$ac_exeext conftest.
$ac_ext
9530 LIBS
=$ac_check_lib_save_LIBS
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9533 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9534 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9535 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9540 # Guillermo Gomez says -lposix is necessary on A/UX.
9541 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9542 if test "x$ac_cv_func_remove" = xyes
; then :
9546 if test $ac_cv_func_remove = no
; then
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9548 $as_echo_n "checking for remove in -lposix... " >&6; }
9549 if ${ac_cv_lib_posix_remove+:} false
; then :
9550 $as_echo_n "(cached) " >&6
9552 ac_check_lib_save_LIBS
=$LIBS
9553 LIBS
="-lposix $LIBS"
9554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9555 /* end confdefs.h. */
9557 /* Override any GCC internal prototype to avoid an error.
9558 Use char because int might match the return type of a GCC
9559 builtin and then its argument prototype would still apply. */
9572 if ac_fn_c_try_link
"$LINENO"; then :
9573 ac_cv_lib_posix_remove
=yes
9575 ac_cv_lib_posix_remove
=no
9577 rm -f core conftest.err conftest.
$ac_objext \
9578 conftest
$ac_exeext conftest.
$ac_ext
9579 LIBS
=$ac_check_lib_save_LIBS
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9582 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9583 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9584 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9589 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9590 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9591 if test "x$ac_cv_func_shmat" = xyes
; then :
9595 if test $ac_cv_func_shmat = no
; then
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9597 $as_echo_n "checking for shmat in -lipc... " >&6; }
9598 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9599 $as_echo_n "(cached) " >&6
9601 ac_check_lib_save_LIBS
=$LIBS
9603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9604 /* end confdefs.h. */
9606 /* Override any GCC internal prototype to avoid an error.
9607 Use char because int might match the return type of a GCC
9608 builtin and then its argument prototype would still apply. */
9621 if ac_fn_c_try_link
"$LINENO"; then :
9622 ac_cv_lib_ipc_shmat
=yes
9624 ac_cv_lib_ipc_shmat
=no
9626 rm -f core conftest.err conftest.
$ac_objext \
9627 conftest
$ac_exeext conftest.
$ac_ext
9628 LIBS
=$ac_check_lib_save_LIBS
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9631 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9632 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9633 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9639 # Check for libraries that X11R6 Xt/Xaw programs need.
9640 ac_save_LDFLAGS
=$LDFLAGS
9641 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9642 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9643 # check for ICE first), but we must link in the order -lSM -lICE or
9644 # we get undefined symbols. So assume we have SM if we have ICE.
9645 # These have to be linked with before -lX11, unlike the other
9646 # libraries we check for below, so use a different variable.
9647 # John Interrante, Karl Berry
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9649 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9650 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9651 $as_echo_n "(cached) " >&6
9653 ac_check_lib_save_LIBS
=$LIBS
9654 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9656 /* end confdefs.h. */
9658 /* Override any GCC internal prototype to avoid an error.
9659 Use char because int might match the return type of a GCC
9660 builtin and then its argument prototype would still apply. */
9664 char IceConnectionNumber ();
9668 return IceConnectionNumber ();
9673 if ac_fn_c_try_link
"$LINENO"; then :
9674 ac_cv_lib_ICE_IceConnectionNumber
=yes
9676 ac_cv_lib_ICE_IceConnectionNumber
=no
9678 rm -f core conftest.err conftest.
$ac_objext \
9679 conftest
$ac_exeext conftest.
$ac_ext
9680 LIBS
=$ac_check_lib_save_LIBS
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9683 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9684 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9685 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9688 LDFLAGS
=$ac_save_LDFLAGS
9693 if test "$have_x" = "yes"
9695 ac_save_CPPFLAGS
="$CPPFLAGS"
9696 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9699 $as_echo_n "checking for -lX11... " >&6; }
9700 if ${ac_cv_lib_soname_X11+:} false
; then :
9701 $as_echo_n "(cached) " >&6
9703 ac_check_soname_save_LIBS
=$LIBS
9704 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9706 /* end confdefs.h. */
9708 /* Override any GCC internal prototype to avoid an error.
9709 Use char because int might match the return type of a GCC
9710 builtin and then its argument prototype would still apply. */
9714 char XCreateWindow ();
9718 return XCreateWindow ();
9723 if ac_fn_c_try_link
"$LINENO"; then :
9725 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9726 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'` ;;
9727 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9728 if ${ac_cv_lib_soname_X11:+false} :; then :
9729 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9733 rm -f core conftest.err conftest.
$ac_objext \
9734 conftest
$ac_exeext conftest.
$ac_ext
9735 LIBS
=$ac_check_soname_save_LIBS
9737 if ${ac_cv_lib_soname_X11:+false} :; then :
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9739 $as_echo "not found" >&6; }
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9743 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9745 cat >>confdefs.h
<<_ACEOF
9746 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9752 $as_echo_n "checking for -lXext... " >&6; }
9753 if ${ac_cv_lib_soname_Xext+:} false
; then :
9754 $as_echo_n "(cached) " >&6
9756 ac_check_soname_save_LIBS
=$LIBS
9757 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9759 /* end confdefs.h. */
9761 /* Override any GCC internal prototype to avoid an error.
9762 Use char because int might match the return type of a GCC
9763 builtin and then its argument prototype would still apply. */
9767 char XextCreateExtension ();
9771 return XextCreateExtension ();
9776 if ac_fn_c_try_link
"$LINENO"; then :
9778 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9779 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'` ;;
9780 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9781 if ${ac_cv_lib_soname_Xext:+false} :; then :
9782 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9786 rm -f core conftest.err conftest.
$ac_objext \
9787 conftest
$ac_exeext conftest.
$ac_ext
9788 LIBS
=$ac_check_soname_save_LIBS
9790 if ${ac_cv_lib_soname_Xext:+false} :; then :
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9792 $as_echo "not found" >&6; }
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9796 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9798 cat >>confdefs.h
<<_ACEOF
9799 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9802 X_LIBS
="$X_LIBS -lXext"
9804 X_LIBS
="$X_LIBS -lX11"
9806 for ac_header
in X11
/Xlib.h \
9809 X11
/Xcursor
/Xcursor.h \
9810 X11
/extensions
/shape.h \
9811 X11
/extensions
/XInput.h \
9812 X11
/extensions
/XInput2.h \
9813 X11
/extensions
/XShm.h \
9814 X11
/extensions
/Xcomposite.h \
9815 X11
/extensions
/Xinerama.h \
9816 X11
/extensions
/Xrandr.h \
9817 X11
/extensions
/Xrender.h \
9818 X11
/extensions
/xf86vmode.h \
9819 X11
/extensions
/xf86vmproto.h
9821 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9822 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9823 # include <X11/Xlib.h>
9825 #ifdef HAVE_X11_XUTIL_H
9826 # include <X11/Xutil.h>
9829 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9830 cat >>confdefs.h
<<_ACEOF
9831 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9839 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9842 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9843 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9844 $as_echo_n "(cached) " >&6
9846 ac_check_lib_save_LIBS
=$LIBS
9847 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9849 /* end confdefs.h. */
9851 /* Override any GCC internal prototype to avoid an error.
9852 Use char because int might match the return type of a GCC
9853 builtin and then its argument prototype would still apply. */
9857 char XkbQueryExtension ();
9861 return XkbQueryExtension ();
9866 if ac_fn_c_try_link
"$LINENO"; then :
9867 ac_cv_lib_X11_XkbQueryExtension
=yes
9869 ac_cv_lib_X11_XkbQueryExtension
=no
9871 rm -f core conftest.err conftest.
$ac_objext \
9872 conftest
$ac_exeext conftest.
$ac_ext
9873 LIBS
=$ac_check_lib_save_LIBS
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9876 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9877 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9879 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9885 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9888 $as_echo_n "checking for -lXcursor... " >&6; }
9889 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9890 $as_echo_n "(cached) " >&6
9892 ac_check_soname_save_LIBS
=$LIBS
9893 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9895 /* end confdefs.h. */
9897 /* Override any GCC internal prototype to avoid an error.
9898 Use char because int might match the return type of a GCC
9899 builtin and then its argument prototype would still apply. */
9903 char XcursorImageLoadCursor ();
9907 return XcursorImageLoadCursor ();
9912 if ac_fn_c_try_link
"$LINENO"; then :
9914 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9915 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'` ;;
9916 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9917 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9918 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9922 rm -f core conftest.err conftest.
$ac_objext \
9923 conftest
$ac_exeext conftest.
$ac_ext
9924 LIBS
=$ac_check_soname_save_LIBS
9926 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9928 $as_echo "not found" >&6; }
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9932 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9934 cat >>confdefs.h
<<_ACEOF
9935 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9941 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9942 case "x$with_xcursor" in
9943 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9945 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9946 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9951 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9954 $as_echo_n "checking for -lXi... " >&6; }
9955 if ${ac_cv_lib_soname_Xi+:} false
; then :
9956 $as_echo_n "(cached) " >&6
9958 ac_check_soname_save_LIBS
=$LIBS
9959 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9961 /* end confdefs.h. */
9963 /* Override any GCC internal prototype to avoid an error.
9964 Use char because int might match the return type of a GCC
9965 builtin and then its argument prototype would still apply. */
9969 char XOpenDevice ();
9973 return XOpenDevice ();
9978 if ac_fn_c_try_link
"$LINENO"; then :
9980 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9981 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'` ;;
9982 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9983 if ${ac_cv_lib_soname_Xi:+false} :; then :
9984 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9988 rm -f core conftest.err conftest.
$ac_objext \
9989 conftest
$ac_exeext conftest.
$ac_ext
9990 LIBS
=$ac_check_soname_save_LIBS
9992 if ${ac_cv_lib_soname_Xi:+false} :; then :
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9994 $as_echo "not found" >&6; }
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9998 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10000 cat >>confdefs.h
<<_ACEOF
10001 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10007 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10008 case "x$with_xinput" in
10009 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10011 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10012 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10017 if test "x$ac_cv_lib_soname_Xi" != x
10019 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10020 case "x$with_xinput2" in
10021 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10023 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
10024 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10030 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10033 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10034 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
10035 $as_echo_n "(cached) " >&6
10037 ac_check_lib_save_LIBS
=$LIBS
10038 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10040 /* end confdefs.h. */
10042 /* Override any GCC internal prototype to avoid an error.
10043 Use char because int might match the return type of a GCC
10044 builtin and then its argument prototype would still apply. */
10048 char XShmQueryExtension ();
10052 return XShmQueryExtension ();
10057 if ac_fn_c_try_link
"$LINENO"; then :
10058 ac_cv_lib_Xext_XShmQueryExtension
=yes
10060 ac_cv_lib_Xext_XShmQueryExtension
=no
10062 rm -f core conftest.err conftest.
$ac_objext \
10063 conftest
$ac_exeext conftest.
$ac_ext
10064 LIBS
=$ac_check_lib_save_LIBS
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10067 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10068 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10070 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10075 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10076 case "x$with_xshm" in
10077 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10079 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10080 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10085 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10088 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10089 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10090 $as_echo_n "(cached) " >&6
10092 ac_check_lib_save_LIBS
=$LIBS
10093 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10095 /* end confdefs.h. */
10097 /* Override any GCC internal prototype to avoid an error.
10098 Use char because int might match the return type of a GCC
10099 builtin and then its argument prototype would still apply. */
10103 char XShapeQueryExtension ();
10107 return XShapeQueryExtension ();
10112 if ac_fn_c_try_link
"$LINENO"; then :
10113 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10115 ac_cv_lib_Xext_XShapeQueryExtension
=no
10117 rm -f core conftest.err conftest.
$ac_objext \
10118 conftest
$ac_exeext conftest.
$ac_ext
10119 LIBS
=$ac_check_lib_save_LIBS
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10122 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10123 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10125 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10130 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10131 case "x$with_xshape" in
10132 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10134 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10135 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10140 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10143 $as_echo_n "checking for -lXxf86vm... " >&6; }
10144 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10145 $as_echo_n "(cached) " >&6
10147 ac_check_soname_save_LIBS
=$LIBS
10148 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10150 /* end confdefs.h. */
10152 /* Override any GCC internal prototype to avoid an error.
10153 Use char because int might match the return type of a GCC
10154 builtin and then its argument prototype would still apply. */
10158 char XF86VidModeQueryExtension ();
10162 return XF86VidModeQueryExtension ();
10167 if ac_fn_c_try_link
"$LINENO"; then :
10169 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10170 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'` ;;
10171 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10172 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10173 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10177 rm -f core conftest.err conftest.
$ac_objext \
10178 conftest
$ac_exeext conftest.
$ac_ext
10179 LIBS
=$ac_check_soname_save_LIBS
10181 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10183 $as_echo "not found" >&6; }
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10187 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10189 cat >>confdefs.h
<<_ACEOF
10190 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10196 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10197 case "x$with_xxf86vm" in
10198 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10200 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10201 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10206 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10209 $as_echo_n "checking for -lXrender... " >&6; }
10210 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10211 $as_echo_n "(cached) " >&6
10213 ac_check_soname_save_LIBS
=$LIBS
10214 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10216 /* end confdefs.h. */
10218 /* Override any GCC internal prototype to avoid an error.
10219 Use char because int might match the return type of a GCC
10220 builtin and then its argument prototype would still apply. */
10224 char XRenderQueryExtension ();
10228 return XRenderQueryExtension ();
10233 if ac_fn_c_try_link
"$LINENO"; then :
10235 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10236 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'` ;;
10237 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10238 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10239 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10243 rm -f core conftest.err conftest.
$ac_objext \
10244 conftest
$ac_exeext conftest.
$ac_ext
10245 LIBS
=$ac_check_soname_save_LIBS
10247 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10249 $as_echo "not found" >&6; }
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10253 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10255 cat >>confdefs.h
<<_ACEOF
10256 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10260 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10261 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10262 $as_echo_n "(cached) " >&6
10264 ac_check_lib_save_LIBS
=$LIBS
10265 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10267 /* end confdefs.h. */
10269 /* Override any GCC internal prototype to avoid an error.
10270 Use char because int might match the return type of a GCC
10271 builtin and then its argument prototype would still apply. */
10275 char XRenderSetPictureTransform ();
10279 return XRenderSetPictureTransform ();
10284 if ac_fn_c_try_link
"$LINENO"; then :
10285 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10287 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10289 rm -f core conftest.err conftest.
$ac_objext \
10290 conftest
$ac_exeext conftest.
$ac_ext
10291 LIBS
=$ac_check_lib_save_LIBS
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10294 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10295 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10297 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10302 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10303 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10304 $as_echo_n "(cached) " >&6
10306 ac_check_lib_save_LIBS
=$LIBS
10307 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10311 /* Override any GCC internal prototype to avoid an error.
10312 Use char because int might match the return type of a GCC
10313 builtin and then its argument prototype would still apply. */
10317 char XRenderCreateLinearGradient ();
10321 return XRenderCreateLinearGradient ();
10326 if ac_fn_c_try_link
"$LINENO"; then :
10327 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10329 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10331 rm -f core conftest.err conftest.
$ac_objext \
10332 conftest
$ac_exeext conftest.
$ac_ext
10333 LIBS
=$ac_check_lib_save_LIBS
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10336 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10337 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10339 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10346 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10347 case "x$with_xrender" in
10348 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10350 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10351 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10356 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10359 /* end confdefs.h. */
10360 #include <X11/Xlib.h>
10361 #include <X11/extensions/Xrandr.h>
10365 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10370 if ac_fn_c_try_compile
"$LINENO"; then :
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10372 $as_echo_n "checking for -lXrandr... " >&6; }
10373 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10374 $as_echo_n "(cached) " >&6
10376 ac_check_soname_save_LIBS
=$LIBS
10377 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10379 /* end confdefs.h. */
10381 /* Override any GCC internal prototype to avoid an error.
10382 Use char because int might match the return type of a GCC
10383 builtin and then its argument prototype would still apply. */
10387 char XRRQueryExtension ();
10391 return XRRQueryExtension ();
10396 if ac_fn_c_try_link
"$LINENO"; then :
10398 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10399 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'` ;;
10400 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10401 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10402 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10406 rm -f core conftest.err conftest.
$ac_objext \
10407 conftest
$ac_exeext conftest.
$ac_ext
10408 LIBS
=$ac_check_soname_save_LIBS
10410 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10412 $as_echo "not found" >&6; }
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10416 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10418 cat >>confdefs.h
<<_ACEOF
10419 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10423 /* end confdefs.h. */
10424 #include <X11/Xlib.h>
10425 #include <X11/extensions/Xrandr.h>
10429 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10434 if ac_fn_c_try_compile
"$LINENO"; then :
10436 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10444 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10445 case "x$with_xrandr" in
10446 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10448 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10449 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10454 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10457 /* end confdefs.h. */
10458 #include <X11/Xlib.h>
10459 #include <X11/extensions/Xinerama.h>
10463 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10468 if ac_fn_c_try_compile
"$LINENO"; then :
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10470 $as_echo_n "checking for -lXinerama... " >&6; }
10471 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10472 $as_echo_n "(cached) " >&6
10474 ac_check_soname_save_LIBS
=$LIBS
10475 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10477 /* end confdefs.h. */
10479 /* Override any GCC internal prototype to avoid an error.
10480 Use char because int might match the return type of a GCC
10481 builtin and then its argument prototype would still apply. */
10485 char XineramaQueryScreens ();
10489 return XineramaQueryScreens ();
10494 if ac_fn_c_try_link
"$LINENO"; then :
10496 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10497 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'` ;;
10498 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10499 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10500 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10504 rm -f core conftest.err conftest.
$ac_objext \
10505 conftest
$ac_exeext conftest.
$ac_ext
10506 LIBS
=$ac_check_soname_save_LIBS
10508 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10510 $as_echo "not found" >&6; }
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10514 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10516 cat >>confdefs.h
<<_ACEOF
10517 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10525 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10526 case "x$with_xinerama" in
10527 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10529 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10530 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10535 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10538 $as_echo_n "checking for -lXcomposite... " >&6; }
10539 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10540 $as_echo_n "(cached) " >&6
10542 ac_check_soname_save_LIBS
=$LIBS
10543 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10545 /* end confdefs.h. */
10547 /* Override any GCC internal prototype to avoid an error.
10548 Use char because int might match the return type of a GCC
10549 builtin and then its argument prototype would still apply. */
10553 char XCompositeRedirectWindow ();
10557 return XCompositeRedirectWindow ();
10562 if ac_fn_c_try_link
"$LINENO"; then :
10564 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10565 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'` ;;
10566 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10567 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10568 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10572 rm -f core conftest.err conftest.
$ac_objext \
10573 conftest
$ac_exeext conftest.
$ac_ext
10574 LIBS
=$ac_check_soname_save_LIBS
10576 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10578 $as_echo "not found" >&6; }
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10582 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10584 cat >>confdefs.h
<<_ACEOF
10585 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10591 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10592 case "x$with_xcomposite" in
10593 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10595 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10596 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10601 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10602 #include <X11/Xlib.h>
10605 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10607 cat >>confdefs.h
<<_ACEOF
10608 #define HAVE_XICCALLBACK_CALLBACK 1
10613 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10614 #include <X11/Xlib.h>
10617 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10619 cat >>confdefs.h
<<_ACEOF
10620 #define HAVE_XEVENT_XCOOKIE 1
10629 if test "x$with_opengl" != "xno"
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10632 $as_echo_n "checking for -lGL... " >&6; }
10633 if ${ac_cv_lib_soname_GL+:} false
; then :
10634 $as_echo_n "(cached) " >&6
10636 ac_check_soname_save_LIBS
=$LIBS
10637 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10639 /* end confdefs.h. */
10641 /* Override any GCC internal prototype to avoid an error.
10642 Use char because int might match the return type of a GCC
10643 builtin and then its argument prototype would still apply. */
10647 char glXCreateContext ();
10651 return glXCreateContext ();
10656 if ac_fn_c_try_link
"$LINENO"; then :
10658 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10659 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'` ;;
10660 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10661 if ${ac_cv_lib_soname_GL:+false} :; then :
10662 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10666 rm -f core conftest.err conftest.
$ac_objext \
10667 conftest
$ac_exeext conftest.
$ac_ext
10668 LIBS
=$ac_check_soname_save_LIBS
10670 if ${ac_cv_lib_soname_GL:+false} :; then :
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10672 $as_echo "not found" >&6; }
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10674 $as_echo_n "checking for -lGL... " >&6; }
10675 if ${ac_cv_lib_soname_GL+:} false
; then :
10676 $as_echo_n "(cached) " >&6
10678 ac_check_soname_save_LIBS
=$LIBS
10679 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"
10680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10681 /* end confdefs.h. */
10683 /* Override any GCC internal prototype to avoid an error.
10684 Use char because int might match the return type of a GCC
10685 builtin and then its argument prototype would still apply. */
10689 char glXCreateContext ();
10693 return glXCreateContext ();
10698 if ac_fn_c_try_link
"$LINENO"; then :
10700 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10701 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'` ;;
10702 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10703 if ${ac_cv_lib_soname_GL:+false} :; then :
10704 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10708 rm -f core conftest.err conftest.
$ac_objext \
10709 conftest
$ac_exeext conftest.
$ac_ext
10710 LIBS
=$ac_check_soname_save_LIBS
10712 if ${ac_cv_lib_soname_GL:+false} :; then :
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10714 $as_echo "not found" >&6; }
10715 if test -f /usr
/X11R
6/lib
/libGL.a
10717 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10718 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10720 opengl_msg
="No OpenGL library found on this system."
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10724 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10726 cat >>confdefs.h
<<_ACEOF
10727 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10730 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"
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10734 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10736 cat >>confdefs.h
<<_ACEOF
10737 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10742 if test "x$with_glu" != "xno"
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10745 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10746 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10747 $as_echo_n "(cached) " >&6
10749 ac_check_lib_save_LIBS
=$LIBS
10750 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10752 /* end confdefs.h. */
10754 /* Override any GCC internal prototype to avoid an error.
10755 Use char because int might match the return type of a GCC
10756 builtin and then its argument prototype would still apply. */
10764 return gluLookAt ();
10769 if ac_fn_c_try_link
"$LINENO"; then :
10770 ac_cv_lib_GLU_gluLookAt
=yes
10772 ac_cv_lib_GLU_gluLookAt
=no
10774 rm -f core conftest.err conftest.
$ac_objext \
10775 conftest
$ac_exeext conftest.
$ac_ext
10776 LIBS
=$ac_check_lib_save_LIBS
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10779 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10780 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10784 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10785 case "x$with_glu" in
10786 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10788 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10789 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10795 if test "x$with_osmesa" != "xno"
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10798 $as_echo_n "checking for -lOSMesa... " >&6; }
10799 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10800 $as_echo_n "(cached) " >&6
10802 ac_check_soname_save_LIBS
=$LIBS
10803 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10805 /* end confdefs.h. */
10807 /* Override any GCC internal prototype to avoid an error.
10808 Use char because int might match the return type of a GCC
10809 builtin and then its argument prototype would still apply. */
10822 if ac_fn_c_try_link
"$LINENO"; then :
10824 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10825 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'` ;;
10826 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10827 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10828 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10832 rm -f core conftest.err conftest.
$ac_objext \
10833 conftest
$ac_exeext conftest.
$ac_ext
10834 LIBS
=$ac_check_soname_save_LIBS
10836 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10838 $as_echo "not found" >&6; }
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10842 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10844 cat >>confdefs.h
<<_ACEOF
10845 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10850 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10851 case "x$with_osmesa" in
10852 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10854 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10855 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10861 if test -n "$opengl_msg"; then :
10862 case "x$with_opengl" in
10863 x
) as_fn_append wine_warnings
"|$opengl_msg
10864 OpenGL and Direct3D won't be supported." ;;
10866 *) as_fn_error $?
"$opengl_msg
10867 OpenGL and Direct3D won't be supported.
10868 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10873 CPPFLAGS
="$ac_save_CPPFLAGS"
10878 if test "x$X_LIBS" = "x"; then :
10881 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10882 without X support, which probably isn't what you want. You will need
10883 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10884 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10886 enable_winex11_drv
=${enable_winex11_drv:-no}
10889 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10891 if test "$ac_cv_header_CL_cl_h" = "yes"
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10894 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10895 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10896 $as_echo_n "(cached) " >&6
10898 ac_check_lib_save_LIBS
=$LIBS
10899 LIBS
="-lOpenCL $LIBS"
10900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10901 /* end confdefs.h. */
10903 /* Override any GCC internal prototype to avoid an error.
10904 Use char because int might match the return type of a GCC
10905 builtin and then its argument prototype would still apply. */
10909 char clGetPlatformInfo ();
10913 return clGetPlatformInfo ();
10918 if ac_fn_c_try_link
"$LINENO"; then :
10919 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10921 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10923 rm -f core conftest.err conftest.
$ac_objext \
10924 conftest
$ac_exeext conftest.
$ac_ext
10925 LIBS
=$ac_check_lib_save_LIBS
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10928 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10929 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10930 OPENCL_LIBS
="-lOpenCL"
10935 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10936 case "x$with_opencl" in
10937 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10939 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10940 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10942 enable_opencl
=${enable_opencl:-no}
10945 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10948 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10949 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10950 $as_echo_n "(cached) " >&6
10952 ac_check_lib_save_LIBS
=$LIBS
10953 LIBS
="-lpcap $LIBS"
10954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10955 /* end confdefs.h. */
10957 /* Override any GCC internal prototype to avoid an error.
10958 Use char because int might match the return type of a GCC
10959 builtin and then its argument prototype would still apply. */
10963 char pcap_create ();
10967 return pcap_create ();
10972 if ac_fn_c_try_link
"$LINENO"; then :
10973 ac_cv_lib_pcap_pcap_create
=yes
10975 ac_cv_lib_pcap_pcap_create
=no
10977 rm -f core conftest.err conftest.
$ac_objext \
10978 conftest
$ac_exeext conftest.
$ac_ext
10979 LIBS
=$ac_check_lib_save_LIBS
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10982 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10983 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10989 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10990 case "x$with_pcap" in
10991 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10993 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10994 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10996 enable_wpcap
=${enable_wpcap:-no}
11000 if test "x$with_xml" != "xno"
11002 if ${XML2_CFLAGS:+false} :; then :
11003 if ${PKG_CONFIG+:} false
; then :
11004 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11007 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11008 if ${XML2_LIBS:+false} :; then :
11009 if ${PKG_CONFIG+:} false
; then :
11010 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11013 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11014 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
11015 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11016 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11017 ac_save_CPPFLAGS
=$CPPFLAGS
11018 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
11019 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
11021 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11022 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11023 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11024 cat >>confdefs.h
<<_ACEOF
11025 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11032 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"
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11035 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11036 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
11037 $as_echo_n "(cached) " >&6
11039 ac_check_lib_save_LIBS
=$LIBS
11040 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11042 /* end confdefs.h. */
11044 /* Override any GCC internal prototype to avoid an error.
11045 Use char because int might match the return type of a GCC
11046 builtin and then its argument prototype would still apply. */
11050 char xmlParseMemory ();
11054 return xmlParseMemory ();
11059 if ac_fn_c_try_link
"$LINENO"; then :
11060 ac_cv_lib_xml2_xmlParseMemory
=yes
11062 ac_cv_lib_xml2_xmlParseMemory
=no
11064 rm -f core conftest.err conftest.
$ac_objext \
11065 conftest
$ac_exeext conftest.
$ac_ext
11066 LIBS
=$ac_check_lib_save_LIBS
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11069 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11070 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11072 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11079 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11080 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11081 $as_echo_n "(cached) " >&6
11083 ac_check_lib_save_LIBS
=$LIBS
11084 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11086 /* end confdefs.h. */
11088 /* Override any GCC internal prototype to avoid an error.
11089 Use char because int might match the return type of a GCC
11090 builtin and then its argument prototype would still apply. */
11094 char xmlReadMemory ();
11098 return xmlReadMemory ();
11103 if ac_fn_c_try_link
"$LINENO"; then :
11104 ac_cv_lib_xml2_xmlReadMemory
=yes
11106 ac_cv_lib_xml2_xmlReadMemory
=no
11108 rm -f core conftest.err conftest.
$ac_objext \
11109 conftest
$ac_exeext conftest.
$ac_ext
11110 LIBS
=$ac_check_lib_save_LIBS
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11113 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11114 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11116 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11121 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11122 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11123 $as_echo_n "(cached) " >&6
11125 ac_check_lib_save_LIBS
=$LIBS
11126 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11128 /* end confdefs.h. */
11130 /* Override any GCC internal prototype to avoid an error.
11131 Use char because int might match the return type of a GCC
11132 builtin and then its argument prototype would still apply. */
11136 char xmlNewDocPI ();
11140 return xmlNewDocPI ();
11145 if ac_fn_c_try_link
"$LINENO"; then :
11146 ac_cv_lib_xml2_xmlNewDocPI
=yes
11148 ac_cv_lib_xml2_xmlNewDocPI
=no
11150 rm -f core conftest.err conftest.
$ac_objext \
11151 conftest
$ac_exeext conftest.
$ac_ext
11152 LIBS
=$ac_check_lib_save_LIBS
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11155 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11156 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11158 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11163 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11164 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11165 $as_echo_n "(cached) " >&6
11167 ac_check_lib_save_LIBS
=$LIBS
11168 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11170 /* end confdefs.h. */
11172 /* Override any GCC internal prototype to avoid an error.
11173 Use char because int might match the return type of a GCC
11174 builtin and then its argument prototype would still apply. */
11178 char xmlSchemaSetParserStructuredErrors ();
11182 return xmlSchemaSetParserStructuredErrors ();
11187 if ac_fn_c_try_link
"$LINENO"; then :
11188 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11190 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11192 rm -f core conftest.err conftest.
$ac_objext \
11193 conftest
$ac_exeext conftest.
$ac_ext
11194 LIBS
=$ac_check_lib_save_LIBS
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11197 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11198 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11200 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11205 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11206 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11207 $as_echo_n "(cached) " >&6
11209 ac_check_lib_save_LIBS
=$LIBS
11210 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11212 /* end confdefs.h. */
11214 /* Override any GCC internal prototype to avoid an error.
11215 Use char because int might match the return type of a GCC
11216 builtin and then its argument prototype would still apply. */
11220 char xmlSchemaSetValidStructuredErrors ();
11224 return xmlSchemaSetValidStructuredErrors ();
11229 if ac_fn_c_try_link
"$LINENO"; then :
11230 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11232 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11234 rm -f core conftest.err conftest.
$ac_objext \
11235 conftest
$ac_exeext conftest.
$ac_ext
11236 LIBS
=$ac_check_lib_save_LIBS
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11239 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11240 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11242 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11247 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11248 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11249 $as_echo_n "(cached) " >&6
11251 ac_check_lib_save_LIBS
=$LIBS
11252 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11254 /* end confdefs.h. */
11256 /* Override any GCC internal prototype to avoid an error.
11257 Use char because int might match the return type of a GCC
11258 builtin and then its argument prototype would still apply. */
11262 char xmlFirstElementChild ();
11266 return xmlFirstElementChild ();
11271 if ac_fn_c_try_link
"$LINENO"; then :
11272 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11274 ac_cv_lib_xml2_xmlFirstElementChild
=no
11276 rm -f core conftest.err conftest.
$ac_objext \
11277 conftest
$ac_exeext conftest.
$ac_ext
11278 LIBS
=$ac_check_lib_save_LIBS
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11281 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11282 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11284 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11288 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11290 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11292 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11300 CPPFLAGS
=$ac_save_CPPFLAGS
11301 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11302 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11305 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11306 case "x$with_xml" in
11307 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11309 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11310 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11315 if test "x$with_xslt" != "xno"
11317 if ${XSLT_CFLAGS:+false} :; then :
11318 if ${PKG_CONFIG+:} false
; then :
11319 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11322 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11323 if ${XSLT_LIBS:+false} :; then :
11324 if ${PKG_CONFIG+:} false
; then :
11325 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11328 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11329 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11330 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11331 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11332 ac_save_CPPFLAGS
=$CPPFLAGS
11333 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11334 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11336 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11337 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11338 # include <libxslt/pattern.h>
11341 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11342 cat >>confdefs.h
<<_ACEOF
11343 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11350 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11353 $as_echo_n "checking for -lxslt... " >&6; }
11354 if ${ac_cv_lib_soname_xslt+:} false
; then :
11355 $as_echo_n "(cached) " >&6
11357 ac_check_soname_save_LIBS
=$LIBS
11358 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11360 /* end confdefs.h. */
11362 /* Override any GCC internal prototype to avoid an error.
11363 Use char because int might match the return type of a GCC
11364 builtin and then its argument prototype would still apply. */
11368 char xsltCompilePattern ();
11372 return xsltCompilePattern ();
11377 if ac_fn_c_try_link
"$LINENO"; then :
11379 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11380 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'` ;;
11381 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11382 if ${ac_cv_lib_soname_xslt:+false} :; then :
11383 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11387 rm -f core conftest.err conftest.
$ac_objext \
11388 conftest
$ac_exeext conftest.
$ac_ext
11389 LIBS
=$ac_check_soname_save_LIBS
11391 if ${ac_cv_lib_soname_xslt:+false} :; then :
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11393 $as_echo "not found" >&6; }
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11397 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11399 cat >>confdefs.h
<<_ACEOF
11400 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11408 CPPFLAGS
=$ac_save_CPPFLAGS
11409 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11410 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11413 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11414 case "x$with_xslt" in
11415 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11417 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11418 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11423 if test "x$with_dbus" != "xno"
11425 if ${DBUS_CFLAGS:+false} :; then :
11426 if ${PKG_CONFIG+:} false
; then :
11427 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11431 if ${DBUS_LIBS:+false} :; then :
11432 if ${PKG_CONFIG+:} false
; then :
11433 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11438 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11439 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11440 ac_save_CPPFLAGS
=$CPPFLAGS
11441 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11442 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11443 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11445 $as_echo_n "checking for -ldbus-1... " >&6; }
11446 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11447 $as_echo_n "(cached) " >&6
11449 ac_check_soname_save_LIBS
=$LIBS
11450 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11452 /* end confdefs.h. */
11454 /* Override any GCC internal prototype to avoid an error.
11455 Use char because int might match the return type of a GCC
11456 builtin and then its argument prototype would still apply. */
11460 char dbus_connection_close ();
11464 return dbus_connection_close ();
11469 if ac_fn_c_try_link
"$LINENO"; then :
11471 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11472 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'` ;;
11473 *) 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'`
11474 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11475 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11479 rm -f core conftest.err conftest.
$ac_objext \
11480 conftest
$ac_exeext conftest.
$ac_ext
11481 LIBS
=$ac_check_soname_save_LIBS
11483 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11485 $as_echo "not found" >&6; }
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11489 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11491 cat >>confdefs.h
<<_ACEOF
11492 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11502 CPPFLAGS
=$ac_save_CPPFLAGS
11503 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11504 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11507 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11508 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11509 case "x$with_dbus" in
11510 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11512 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11513 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11518 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11520 if ${HAL_CFLAGS:+false} :; then :
11521 if ${PKG_CONFIG+:} false
; then :
11522 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11526 if ${HAL_LIBS:+false} :; then :
11527 if ${PKG_CONFIG+:} false
; then :
11528 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11532 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11533 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11534 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11535 ac_save_CPPFLAGS
=$CPPFLAGS
11536 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11537 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11538 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11540 $as_echo_n "checking for -lhal... " >&6; }
11541 if ${ac_cv_lib_soname_hal+:} false
; then :
11542 $as_echo_n "(cached) " >&6
11544 ac_check_soname_save_LIBS
=$LIBS
11545 LIBS
="-lhal $HAL_LIBS $LIBS"
11546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11547 /* end confdefs.h. */
11549 /* Override any GCC internal prototype to avoid an error.
11550 Use char because int might match the return type of a GCC
11551 builtin and then its argument prototype would still apply. */
11555 char libhal_ctx_new ();
11559 return libhal_ctx_new ();
11564 if ac_fn_c_try_link
"$LINENO"; then :
11566 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11567 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'` ;;
11568 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11569 if ${ac_cv_lib_soname_hal:+false} :; then :
11570 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11574 rm -f core conftest.err conftest.
$ac_objext \
11575 conftest
$ac_exeext conftest.
$ac_ext
11576 LIBS
=$ac_check_soname_save_LIBS
11578 if ${ac_cv_lib_soname_hal:+false} :; then :
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11580 $as_echo "not found" >&6; }
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11584 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11586 cat >>confdefs.h
<<_ACEOF
11587 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11597 CPPFLAGS
=$ac_save_CPPFLAGS
11598 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11599 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11601 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11602 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11603 case "x$with_hal" in
11604 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11606 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11607 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11613 if test "x$with_gnutls" != "xno"
11615 if ${GNUTLS_CFLAGS:+false} :; then :
11616 if ${PKG_CONFIG+:} false
; then :
11617 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11621 if ${GNUTLS_LIBS:+false} :; then :
11622 if ${PKG_CONFIG+:} false
; then :
11623 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11628 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11629 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11630 ac_save_CPPFLAGS
=$CPPFLAGS
11631 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11632 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11633 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11635 /* end confdefs.h. */
11636 #include <gnutls/gnutls.h>
11637 #include <gnutls/crypto.h>
11641 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11646 if ac_fn_c_try_compile
"$LINENO"; then :
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11648 $as_echo_n "checking for -lgnutls... " >&6; }
11649 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11650 $as_echo_n "(cached) " >&6
11652 ac_check_soname_save_LIBS
=$LIBS
11653 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11655 /* end confdefs.h. */
11657 /* Override any GCC internal prototype to avoid an error.
11658 Use char because int might match the return type of a GCC
11659 builtin and then its argument prototype would still apply. */
11663 char gnutls_global_init ();
11667 return gnutls_global_init ();
11672 if ac_fn_c_try_link
"$LINENO"; then :
11674 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11675 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'` ;;
11676 *) 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'`
11677 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11678 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'`
11682 rm -f core conftest.err conftest.
$ac_objext \
11683 conftest
$ac_exeext conftest.
$ac_ext
11684 LIBS
=$ac_check_soname_save_LIBS
11686 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11688 $as_echo "not found" >&6; }
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11692 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11694 cat >>confdefs.h
<<_ACEOF
11695 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11700 ac_wine_check_funcs_save_LIBS
="$LIBS"
11701 LIBS
="$LIBS $GNUTLS_LIBS"
11702 for ac_func
in gnutls_hash
11704 ac_fn_c_check_func
"$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11705 if test "x$ac_cv_func_gnutls_hash" = xyes
; then :
11706 cat >>confdefs.h
<<_ACEOF
11707 #define HAVE_GNUTLS_HASH 1
11711 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11715 LIBS
="$ac_wine_check_funcs_save_LIBS"
11717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11723 CPPFLAGS
=$ac_save_CPPFLAGS
11724 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11725 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11728 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11729 case "x$with_gnutls" in
11730 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11732 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11733 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11739 if test "$ac_cv_header_ncurses_h" = "yes"
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11742 $as_echo_n "checking for -lncurses... " >&6; }
11743 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11744 $as_echo_n "(cached) " >&6
11746 ac_check_soname_save_LIBS
=$LIBS
11747 LIBS
="-lncurses $LIBS"
11748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11749 /* end confdefs.h. */
11751 /* Override any GCC internal prototype to avoid an error.
11752 Use char because int might match the return type of a GCC
11753 builtin and then its argument prototype would still apply. */
11766 if ac_fn_c_try_link
"$LINENO"; then :
11768 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11769 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'` ;;
11770 *) 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'`
11771 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11772 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11776 rm -f core conftest.err conftest.
$ac_objext \
11777 conftest
$ac_exeext conftest.
$ac_ext
11778 LIBS
=$ac_check_soname_save_LIBS
11780 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11782 $as_echo "not found" >&6; }
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11786 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11788 cat >>confdefs.h
<<_ACEOF
11789 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11792 CURSES_LIBS
="-lncurses"
11794 elif test "$ac_cv_header_curses_h" = "yes"
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11797 $as_echo_n "checking for -lcurses... " >&6; }
11798 if ${ac_cv_lib_soname_curses+:} false
; then :
11799 $as_echo_n "(cached) " >&6
11801 ac_check_soname_save_LIBS
=$LIBS
11802 LIBS
="-lcurses $LIBS"
11803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11804 /* end confdefs.h. */
11806 /* Override any GCC internal prototype to avoid an error.
11807 Use char because int might match the return type of a GCC
11808 builtin and then its argument prototype would still apply. */
11821 if ac_fn_c_try_link
"$LINENO"; then :
11823 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11824 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'` ;;
11825 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11826 if ${ac_cv_lib_soname_curses:+false} :; then :
11827 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11831 rm -f core conftest.err conftest.
$ac_objext \
11832 conftest
$ac_exeext conftest.
$ac_ext
11833 LIBS
=$ac_check_soname_save_LIBS
11835 if ${ac_cv_lib_soname_curses:+false} :; then :
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11837 $as_echo "not found" >&6; }
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11841 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11843 cat >>confdefs.h
<<_ACEOF
11844 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11847 CURSES_LIBS
="-lcurses"
11850 ac_save_LIBS
="$LIBS"
11851 LIBS
="$LIBS $CURSES_LIBS"
11852 for ac_func
in mousemask
11854 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11855 if test "x$ac_cv_func_mousemask" = xyes
; then :
11856 cat >>confdefs.h
<<_ACEOF
11857 #define HAVE_MOUSEMASK 1
11863 LIBS
="$ac_save_LIBS"
11864 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11865 case "x$with_curses" in
11866 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11868 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11869 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11874 if test "x$with_sane" != "xno"
11876 if ${SANE_CFLAGS:+false} :; then :
11877 if ${PKG_CONFIG+:} false
; then :
11878 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11881 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11882 if ${SANE_LIBS:+false} :; then :
11883 if ${PKG_CONFIG+:} false
; then :
11884 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11887 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11889 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11890 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11891 ac_save_CPPFLAGS
=$CPPFLAGS
11892 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11893 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11894 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11896 $as_echo_n "checking for -lsane... " >&6; }
11897 if ${ac_cv_lib_soname_sane+:} false
; then :
11898 $as_echo_n "(cached) " >&6
11900 ac_check_soname_save_LIBS
=$LIBS
11901 LIBS
="-lsane $SANE_LIBS $LIBS"
11902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11903 /* end confdefs.h. */
11905 /* Override any GCC internal prototype to avoid an error.
11906 Use char because int might match the return type of a GCC
11907 builtin and then its argument prototype would still apply. */
11915 return sane_init ();
11920 if ac_fn_c_try_link
"$LINENO"; then :
11922 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11923 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'` ;;
11924 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11925 if ${ac_cv_lib_soname_sane:+false} :; then :
11926 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11930 rm -f core conftest.err conftest.
$ac_objext \
11931 conftest
$ac_exeext conftest.
$ac_ext
11932 LIBS
=$ac_check_soname_save_LIBS
11934 if ${ac_cv_lib_soname_sane:+false} :; then :
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11936 $as_echo "not found" >&6; }
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11940 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11942 cat >>confdefs.h
<<_ACEOF
11943 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11953 CPPFLAGS
=$ac_save_CPPFLAGS
11954 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11955 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11958 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11959 case "x$with_sane" in
11960 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11962 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11963 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11968 if test "x$with_v4l" != "xno"
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11971 $as_echo_n "checking for -lv4l1... " >&6; }
11972 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11973 $as_echo_n "(cached) " >&6
11975 ac_check_soname_save_LIBS
=$LIBS
11976 LIBS
="-lv4l1 $LIBS"
11977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11978 /* end confdefs.h. */
11980 /* Override any GCC internal prototype to avoid an error.
11981 Use char because int might match the return type of a GCC
11982 builtin and then its argument prototype would still apply. */
11990 return v4l1_open ();
11995 if ac_fn_c_try_link
"$LINENO"; then :
11997 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11998 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'` ;;
11999 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12000 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12001 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12005 rm -f core conftest.err conftest.
$ac_objext \
12006 conftest
$ac_exeext conftest.
$ac_ext
12007 LIBS
=$ac_check_soname_save_LIBS
12009 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12011 $as_echo "not found" >&6; }
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12015 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12017 cat >>confdefs.h
<<_ACEOF
12018 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12024 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12025 case "x$with_v4l" in
12026 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
12028 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
12029 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12034 if test "x$with_gphoto" != "xno"
12036 if ${GPHOTO2_CFLAGS:+false} :; then :
12037 if ${PKG_CONFIG+:} false
; then :
12038 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12041 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12042 if ${GPHOTO2_LIBS:+false} :; then :
12043 if ${PKG_CONFIG+:} false
; then :
12044 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12047 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12048 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
12049 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12050 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12051 ac_save_CPPFLAGS
=$CPPFLAGS
12052 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
12053 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12054 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12056 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12057 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
12058 $as_echo_n "(cached) " >&6
12060 ac_check_lib_save_LIBS
=$LIBS
12061 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12063 /* end confdefs.h. */
12065 /* Override any GCC internal prototype to avoid an error.
12066 Use char because int might match the return type of a GCC
12067 builtin and then its argument prototype would still apply. */
12071 char gp_camera_new ();
12075 return gp_camera_new ();
12080 if ac_fn_c_try_link
"$LINENO"; then :
12081 ac_cv_lib_gphoto2_gp_camera_new
=yes
12083 ac_cv_lib_gphoto2_gp_camera_new
=no
12085 rm -f core conftest.err conftest.
$ac_objext \
12086 conftest
$ac_exeext conftest.
$ac_ext
12087 LIBS
=$ac_check_lib_save_LIBS
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12090 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12091 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12093 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12096 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12100 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12104 CPPFLAGS
=$ac_save_CPPFLAGS
12105 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12106 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12108 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12109 if ${PKG_CONFIG+:} false
; then :
12110 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12113 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12114 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12115 if ${PKG_CONFIG+:} false
; then :
12116 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12119 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12120 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12121 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12122 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12123 ac_save_CPPFLAGS
=$CPPFLAGS
12124 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12125 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12126 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12128 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12129 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12130 $as_echo_n "(cached) " >&6
12132 ac_check_lib_save_LIBS
=$LIBS
12133 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12135 /* end confdefs.h. */
12137 /* Override any GCC internal prototype to avoid an error.
12138 Use char because int might match the return type of a GCC
12139 builtin and then its argument prototype would still apply. */
12143 char gp_port_info_list_new ();
12147 return gp_port_info_list_new ();
12152 if ac_fn_c_try_link
"$LINENO"; then :
12153 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12155 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12157 rm -f core conftest.err conftest.
$ac_objext \
12158 conftest
$ac_exeext conftest.
$ac_ext
12159 LIBS
=$ac_check_lib_save_LIBS
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12162 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12163 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12165 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12168 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12172 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12176 CPPFLAGS
=$ac_save_CPPFLAGS
12177 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12178 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12181 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12182 case "x$with_gphoto" in
12183 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12185 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12186 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12190 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12191 case "x$with_gphoto" in
12192 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12194 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12195 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12201 if test "$ac_cv_header_resolv_h" = "yes"
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12204 $as_echo_n "checking for resolver library... " >&6; }
12205 if ${ac_cv_have_resolv+:} false
; then :
12206 $as_echo_n "(cached) " >&6
12208 ac_save_LIBS
="$LIBS"
12209 for lib
in '' -lresolv
12211 LIBS
="$lib $ac_save_LIBS"
12212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12213 /* end confdefs.h. */
12214 #ifdef HAVE_NETINET_IN_H
12215 #include <netinet/in.h>
12217 #include <resolv.h>
12221 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12226 if ac_fn_c_try_link
"$LINENO"; then :
12227 ac_cv_have_resolv
=${lib:-"none required"}
12229 ac_cv_have_resolv
="not found"
12231 rm -f core conftest.err conftest.
$ac_objext \
12232 conftest
$ac_exeext conftest.
$ac_ext
12233 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12235 LIBS
="$ac_save_LIBS"
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12238 $as_echo "$ac_cv_have_resolv" >&6; }
12240 case "$ac_cv_have_resolv" in
12244 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12247 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12249 RESOLV_LIBS
=$ac_cv_have_resolv
12254 if test "x$with_cms" != "xno"
12256 if ${LCMS2_CFLAGS:+false} :; then :
12257 if ${PKG_CONFIG+:} false
; then :
12258 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12262 if ${LCMS2_LIBS:+false} :; then :
12263 if ${PKG_CONFIG+:} false
; then :
12264 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12268 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12269 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12270 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12271 ac_save_CPPFLAGS
=$CPPFLAGS
12272 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12273 for ac_header
in lcms2.h
12275 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12276 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12277 cat >>confdefs.h
<<_ACEOF
12278 #define HAVE_LCMS2_H 1
12285 if test "$ac_cv_header_lcms2_h" = "yes"
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12288 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12289 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12290 $as_echo_n "(cached) " >&6
12292 ac_check_lib_save_LIBS
=$LIBS
12293 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12295 /* end confdefs.h. */
12297 /* Override any GCC internal prototype to avoid an error.
12298 Use char because int might match the return type of a GCC
12299 builtin and then its argument prototype would still apply. */
12303 char cmsOpenProfileFromFile ();
12307 return cmsOpenProfileFromFile ();
12312 if ac_fn_c_try_link
"$LINENO"; then :
12313 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12315 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12317 rm -f core conftest.err conftest.
$ac_objext \
12318 conftest
$ac_exeext conftest.
$ac_ext
12319 LIBS
=$ac_check_lib_save_LIBS
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12322 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12323 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12325 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12335 CPPFLAGS
=$ac_save_CPPFLAGS
12336 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12337 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12340 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12341 case "x$with_cms" in
12342 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12344 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12345 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12350 if test "x$with_freetype" != "xno"
12352 if ${FREETYPE_CFLAGS:+false} :; then :
12353 if ${PKG_CONFIG+:} false
; then :
12354 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12357 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12358 if ${FREETYPE_LIBS:+false} :; then :
12359 if ${PKG_CONFIG+:} false
; then :
12360 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12363 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12364 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12365 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12366 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12367 ac_save_CPPFLAGS
=$CPPFLAGS
12368 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12369 for ac_header
in ft2build.h
12371 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12372 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12373 cat >>confdefs.h
<<_ACEOF
12374 #define HAVE_FT2BUILD_H 1
12381 if test "$ac_cv_header_ft2build_h" = "yes"
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12384 $as_echo_n "checking for -lfreetype... " >&6; }
12385 if ${ac_cv_lib_soname_freetype+:} false
; then :
12386 $as_echo_n "(cached) " >&6
12388 ac_check_soname_save_LIBS
=$LIBS
12389 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12391 /* end confdefs.h. */
12393 /* Override any GCC internal prototype to avoid an error.
12394 Use char because int might match the return type of a GCC
12395 builtin and then its argument prototype would still apply. */
12399 char FT_Init_FreeType ();
12403 return FT_Init_FreeType ();
12408 if ac_fn_c_try_link
"$LINENO"; then :
12410 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12411 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'` ;;
12412 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12413 if ${ac_cv_lib_soname_freetype:+false} :; then :
12414 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12418 rm -f core conftest.err conftest.
$ac_objext \
12419 conftest
$ac_exeext conftest.
$ac_ext
12420 LIBS
=$ac_check_soname_save_LIBS
12422 if ${ac_cv_lib_soname_freetype:+false} :; then :
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12424 $as_echo "not found" >&6; }
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12428 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12430 cat >>confdefs.h
<<_ACEOF
12431 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12435 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12437 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12438 #include FT_MODULE_H
12440 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12442 cat >>confdefs.h
<<_ACEOF
12443 #define HAVE_FT_TRUETYPEENGINETYPE 1
12454 CPPFLAGS
=$ac_save_CPPFLAGS
12455 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12456 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12459 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12460 case "x$with_freetype" in
12462 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12463 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12465 enable_fonts
=${enable_fonts:-no}
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12469 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12470 if ${ac_cv_c_ppdev+:} false
; then :
12471 $as_echo_n "(cached) " >&6
12473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12474 /* end confdefs.h. */
12475 #ifdef HAVE_SYS_IOCTL_H
12476 # include <sys/ioctl.h>
12478 #include <linux/ppdev.h>
12482 ioctl (1,PPCLAIM,0)
12487 if ac_fn_c_try_compile
"$LINENO"; then :
12488 ac_cv_c_ppdev
="yes"
12492 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12495 $as_echo "$ac_cv_c_ppdev" >&6; }
12496 if test "$ac_cv_c_ppdev" = "yes"
12499 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12503 ac_wine_check_funcs_save_LIBS
="$LIBS"
12504 LIBS
="$LIBS $PTHREAD_LIBS"
12506 pthread_attr_get_np \
12507 pthread_getattr_np \
12508 pthread_getthreadid_np \
12509 pthread_get_stackaddr_np \
12510 pthread_get_stacksize_np
12512 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12513 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12514 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12515 cat >>confdefs.h
<<_ACEOF
12516 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12522 LIBS
="$ac_wine_check_funcs_save_LIBS"
12524 if test "$ac_cv_header_zlib_h" = "yes"
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12527 $as_echo_n "checking for inflate in -lz... " >&6; }
12528 if ${ac_cv_lib_z_inflate+:} false
; then :
12529 $as_echo_n "(cached) " >&6
12531 ac_check_lib_save_LIBS
=$LIBS
12533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12534 /* end confdefs.h. */
12536 /* Override any GCC internal prototype to avoid an error.
12537 Use char because int might match the return type of a GCC
12538 builtin and then its argument prototype would still apply. */
12551 if ac_fn_c_try_link
"$LINENO"; then :
12552 ac_cv_lib_z_inflate
=yes
12554 ac_cv_lib_z_inflate
=no
12556 rm -f core conftest.err conftest.
$ac_objext \
12557 conftest
$ac_exeext conftest.
$ac_ext
12558 LIBS
=$ac_check_lib_save_LIBS
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12561 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12562 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12564 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12571 if test "x$Z_LIBS" = "x"; then :
12572 case "x$with_zlib" in
12573 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12575 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12576 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12581 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
12583 if test "$ac_cv_header_gettext_po_h" = "yes"
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12586 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12587 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12588 $as_echo_n "(cached) " >&6
12590 ac_check_lib_save_LIBS
=$LIBS
12591 LIBS
="-lgettextpo $LIBS"
12592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12593 /* end confdefs.h. */
12595 /* Override any GCC internal prototype to avoid an error.
12596 Use char because int might match the return type of a GCC
12597 builtin and then its argument prototype would still apply. */
12601 char po_message_msgctxt ();
12605 return po_message_msgctxt ();
12610 if ac_fn_c_try_link
"$LINENO"; then :
12611 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12613 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12615 rm -f core conftest.err conftest.
$ac_objext \
12616 conftest
$ac_exeext conftest.
$ac_ext
12617 LIBS
=$ac_check_lib_save_LIBS
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12620 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12621 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12623 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12625 GETTEXTPO_LIBS
="-lgettextpo"
12630 if test "x$GETTEXTPO_LIBS" = "x"; then :
12631 case "x$with_gettextpo" in
12632 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12634 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12635 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12639 if test "$srcdir" != .
; then :
12640 case "x$with_gettextpo" in
12641 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
12643 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
12644 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12650 if test "x$with_pulse" != "xno";
12652 if ${PULSE_CFLAGS:+false} :; then :
12653 if ${PKG_CONFIG+:} false
; then :
12654 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12658 if ${PULSE_LIBS:+false} :; then :
12659 if ${PKG_CONFIG+:} false
; then :
12660 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12665 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12666 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12667 ac_save_CPPFLAGS
=$CPPFLAGS
12668 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12669 for ac_header
in pulse
/pulseaudio.h
12671 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12672 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12673 cat >>confdefs.h
<<_ACEOF
12674 #define HAVE_PULSE_PULSEAUDIO_H 1
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12677 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12678 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12679 $as_echo_n "(cached) " >&6
12681 ac_check_lib_save_LIBS
=$LIBS
12682 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12684 /* end confdefs.h. */
12686 /* Override any GCC internal prototype to avoid an error.
12687 Use char because int might match the return type of a GCC
12688 builtin and then its argument prototype would still apply. */
12692 char pa_stream_is_corked ();
12696 return pa_stream_is_corked ();
12701 if ac_fn_c_try_link
"$LINENO"; then :
12702 ac_cv_lib_pulse_pa_stream_is_corked
=yes
12704 ac_cv_lib_pulse_pa_stream_is_corked
=no
12706 rm -f core conftest.err conftest.
$ac_objext \
12707 conftest
$ac_exeext conftest.
$ac_ext
12708 LIBS
=$ac_check_lib_save_LIBS
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12711 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12712 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
12724 CPPFLAGS
=$ac_save_CPPFLAGS
12725 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12726 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12729 if test -z "$PULSE_LIBS"; then :
12730 case "x$with_pulse" in
12731 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12733 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12734 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12736 enable_winepulse_drv
=${enable_winepulse_drv:-no}
12739 if test "x$with_gstreamer" != "xno"
12741 if ${GSTREAMER_CFLAGS:+false} :; then :
12742 if ${PKG_CONFIG+:} false
; then :
12743 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12747 if ${GSTREAMER_LIBS:+false} :; then :
12748 if ${PKG_CONFIG+:} false
; then :
12749 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12754 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12755 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12756 ac_save_CPPFLAGS
=$CPPFLAGS
12757 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12759 for i
in $GSTREAMER_CFLAGS
12762 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12765 GSTREAMER_CFLAGS
=$ac_gst_incl
12766 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12767 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12768 if test "x$ac_cv_header_gst_gst_h" = xyes
; then :
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12770 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12773 #include <gst/gst.h>
12777 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12782 if ac_fn_c_try_compile
"$LINENO"; then :
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12784 $as_echo "yes" >&6; }
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12786 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12787 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false
; then :
12788 $as_echo_n "(cached) " >&6
12790 ac_check_lib_save_LIBS
=$LIBS
12791 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12793 /* end confdefs.h. */
12795 /* Override any GCC internal prototype to avoid an error.
12796 Use char because int might match the return type of a GCC
12797 builtin and then its argument prototype would still apply. */
12801 char gst_pad_new ();
12805 return gst_pad_new ();
12810 if ac_fn_c_try_link
"$LINENO"; then :
12811 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
12813 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
12815 rm -f core conftest.err conftest.
$ac_objext \
12816 conftest
$ac_exeext conftest.
$ac_ext
12817 LIBS
=$ac_check_lib_save_LIBS
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12820 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12821 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
; then :
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12827 $as_echo "no" >&6; }
12828 ac_glib2_broken
=yes
12829 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12835 CPPFLAGS
=$ac_save_CPPFLAGS
12836 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12837 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12840 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 :
12841 case "x$with_gstreamer" in
12842 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12844 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12845 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12849 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12853 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12856 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12857 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12858 $as_echo_n "(cached) " >&6
12860 ac_check_lib_save_LIBS
=$LIBS
12861 LIBS
="-lasound $LIBS"
12862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12863 /* end confdefs.h. */
12865 /* Override any GCC internal prototype to avoid an error.
12866 Use char because int might match the return type of a GCC
12867 builtin and then its argument prototype would still apply. */
12871 char snd_pcm_hw_params_get_access_mask ();
12875 return snd_pcm_hw_params_get_access_mask ();
12880 if ac_fn_c_try_link
"$LINENO"; then :
12881 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12883 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12885 rm -f core conftest.err conftest.
$ac_objext \
12886 conftest
$ac_exeext conftest.
$ac_ext
12887 LIBS
=$ac_check_lib_save_LIBS
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12890 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12891 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12893 /* end confdefs.h. */
12894 #ifdef HAVE_ALSA_ASOUNDLIB_H
12895 #include <alsa/asoundlib.h>
12896 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12897 #include <sys/asoundlib.h>
12902 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12907 if ac_fn_c_try_compile
"$LINENO"; then :
12908 ALSA_LIBS
="-lasound"
12910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12914 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12916 if test "x$with_oss" != xno
12918 ac_save_CPPFLAGS
="$CPPFLAGS"
12919 if test -f /etc
/oss.conf
12923 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12924 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12925 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12926 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12927 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12929 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12931 cat >>confdefs.h
<<_ACEOF
12932 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12935 OSS4_CFLAGS
="$ac_oss_incl"
12942 CPPFLAGS
="$ac_save_CPPFLAGS"
12944 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
; then :
12945 case "x$with_oss" in
12946 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12948 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12949 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12951 enable_wineoss_drv
=${enable_wineoss_drv:-no}
12954 if test "x$with_udev" != "xno"
12956 if ${UDEV_CFLAGS:+false} :; then :
12957 if ${PKG_CONFIG+:} false
; then :
12958 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12962 if ${UDEV_LIBS:+false} :; then :
12963 if ${PKG_CONFIG+:} false
; then :
12964 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
12969 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12970 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12971 ac_save_CPPFLAGS
=$CPPFLAGS
12972 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
12973 for ac_header
in libudev.h
12975 ac_fn_c_check_header_mongrel
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12976 if test "x$ac_cv_header_libudev_h" = xyes
; then :
12977 cat >>confdefs.h
<<_ACEOF
12978 #define HAVE_LIBUDEV_H 1
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12981 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12982 if ${ac_cv_lib_udev_udev_new+:} false
; then :
12983 $as_echo_n "(cached) " >&6
12985 ac_check_lib_save_LIBS
=$LIBS
12986 LIBS
="-ludev $UDEV_LIBS $LIBS"
12987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12988 /* end confdefs.h. */
12990 /* Override any GCC internal prototype to avoid an error.
12991 Use char because int might match the return type of a GCC
12992 builtin and then its argument prototype would still apply. */
13000 return udev_new ();
13005 if ac_fn_c_try_link
"$LINENO"; then :
13006 ac_cv_lib_udev_udev_new
=yes
13008 ac_cv_lib_udev_udev_new
=no
13010 rm -f core conftest.err conftest.
$ac_objext \
13011 conftest
$ac_exeext conftest.
$ac_ext
13012 LIBS
=$ac_check_lib_save_LIBS
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13015 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13016 if test "x$ac_cv_lib_udev_udev_new" = xyes
; then :
13018 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13030 CPPFLAGS
=$ac_save_CPPFLAGS
13031 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS
=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13032 test -z "$UDEV_LIBS" || UDEV_LIBS
=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13035 if test "x$UDEV_LIBS" = "x"; then :
13036 case "x$with_udev" in
13037 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13039 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
13040 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13045 if test "x$with_capi" != "xno"
13047 if ${CAPI20_CFLAGS:+false} :; then :
13048 if ${PKG_CONFIG+:} false
; then :
13049 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13053 if ${CAPI20_LIBS:+false} :; then :
13054 if ${PKG_CONFIG+:} false
; then :
13055 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
13060 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13061 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13062 ac_save_CPPFLAGS
=$CPPFLAGS
13063 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
13064 for ac_header
in capi20.h linux
/capi.h
13066 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13067 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13069 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13070 cat >>confdefs.h
<<_ACEOF
13071 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13078 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13081 $as_echo_n "checking for -lcapi20... " >&6; }
13082 if ${ac_cv_lib_soname_capi20+:} false
; then :
13083 $as_echo_n "(cached) " >&6
13085 ac_check_soname_save_LIBS
=$LIBS
13086 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
13087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13088 /* end confdefs.h. */
13090 /* Override any GCC internal prototype to avoid an error.
13091 Use char because int might match the return type of a GCC
13092 builtin and then its argument prototype would still apply. */
13096 char capi20_register ();
13100 return capi20_register ();
13105 if ac_fn_c_try_link
"$LINENO"; then :
13107 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13108 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'` ;;
13109 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13110 if ${ac_cv_lib_soname_capi20:+false} :; then :
13111 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13115 rm -f core conftest.err conftest.
$ac_objext \
13116 conftest
$ac_exeext conftest.
$ac_ext
13117 LIBS
=$ac_check_soname_save_LIBS
13119 if ${ac_cv_lib_soname_capi20:+false} :; then :
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13121 $as_echo "not found" >&6; }
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13125 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13127 cat >>confdefs.h
<<_ACEOF
13128 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13134 CPPFLAGS
=$ac_save_CPPFLAGS
13135 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13136 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13139 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13140 case "x$with_capi" in
13141 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13143 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13144 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13151 if test "x$with_cups" != "xno"
13153 ac_save_CPPFLAGS
="$CPPFLAGS"
13154 ac_cups_cflags
=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13155 ac_cups_libs
=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13156 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
13157 for ac_header
in cups
/cups.h
13159 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13160 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
13161 cat >>confdefs.h
<<_ACEOF
13162 #define HAVE_CUPS_CUPS_H 1
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13165 $as_echo_n "checking for -lcups... " >&6; }
13166 if ${ac_cv_lib_soname_cups+:} false
; then :
13167 $as_echo_n "(cached) " >&6
13169 ac_check_soname_save_LIBS
=$LIBS
13170 LIBS
="-lcups $ac_cups_libs $LIBS"
13171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13172 /* end confdefs.h. */
13174 /* Override any GCC internal prototype to avoid an error.
13175 Use char because int might match the return type of a GCC
13176 builtin and then its argument prototype would still apply. */
13180 char cupsGetDefault ();
13184 return cupsGetDefault ();
13189 if ac_fn_c_try_link
"$LINENO"; then :
13191 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13192 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'` ;;
13193 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13194 if ${ac_cv_lib_soname_cups:+false} :; then :
13195 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13199 rm -f core conftest.err conftest.
$ac_objext \
13200 conftest
$ac_exeext conftest.
$ac_ext
13201 LIBS
=$ac_check_soname_save_LIBS
13203 if ${ac_cv_lib_soname_cups:+false} :; then :
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13205 $as_echo "not found" >&6; }
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13209 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13211 cat >>confdefs.h
<<_ACEOF
13212 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13215 CUPS_CFLAGS
="$ac_cups_cflags"
13217 for ac_header
in cups
/ppd.h
13219 ac_fn_c_check_header_mongrel
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13220 if test "x$ac_cv_header_cups_ppd_h" = xyes
; then :
13221 cat >>confdefs.h
<<_ACEOF
13222 #define HAVE_CUPS_PPD_H 1
13233 CPPFLAGS
="$ac_save_CPPFLAGS"
13235 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13236 case "x$with_cups" in
13237 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13239 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13240 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13245 if test "x$with_fontconfig" != "xno"
13247 if ${FONTCONFIG_CFLAGS:+false} :; then :
13248 if ${PKG_CONFIG+:} false
; then :
13249 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13252 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13253 if ${FONTCONFIG_LIBS:+false} :; then :
13254 if ${PKG_CONFIG+:} false
; then :
13255 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13258 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13260 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13261 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13262 ac_save_CPPFLAGS
=$CPPFLAGS
13263 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13264 for ac_header
in fontconfig
/fontconfig.h
13266 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13267 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13268 cat >>confdefs.h
<<_ACEOF
13269 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13276 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13279 $as_echo_n "checking for -lfontconfig... " >&6; }
13280 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13281 $as_echo_n "(cached) " >&6
13283 ac_check_soname_save_LIBS
=$LIBS
13284 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13286 /* end confdefs.h. */
13288 /* Override any GCC internal prototype to avoid an error.
13289 Use char because int might match the return type of a GCC
13290 builtin and then its argument prototype would still apply. */
13303 if ac_fn_c_try_link
"$LINENO"; then :
13305 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13306 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'` ;;
13307 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13308 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13309 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13313 rm -f core conftest.err conftest.
$ac_objext \
13314 conftest
$ac_exeext conftest.
$ac_ext
13315 LIBS
=$ac_check_soname_save_LIBS
13317 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13319 $as_echo "not found" >&6; }
13320 FONTCONFIG_CFLAGS
=""
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13323 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13325 cat >>confdefs.h
<<_ACEOF
13326 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13332 FONTCONFIG_CFLAGS
=""
13334 CPPFLAGS
=$ac_save_CPPFLAGS
13335 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13336 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13339 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13340 case "x$with_fontconfig" in
13341 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13343 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13344 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13349 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13352 $as_echo_n "checking for -lgsm... " >&6; }
13353 if ${ac_cv_lib_soname_gsm+:} false
; then :
13354 $as_echo_n "(cached) " >&6
13356 ac_check_soname_save_LIBS
=$LIBS
13358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13359 /* end confdefs.h. */
13361 /* Override any GCC internal prototype to avoid an error.
13362 Use char because int might match the return type of a GCC
13363 builtin and then its argument prototype would still apply. */
13367 char gsm_create ();
13371 return gsm_create ();
13376 if ac_fn_c_try_link
"$LINENO"; then :
13378 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13379 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'` ;;
13380 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13381 if ${ac_cv_lib_soname_gsm:+false} :; then :
13382 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13386 rm -f core conftest.err conftest.
$ac_objext \
13387 conftest
$ac_exeext conftest.
$ac_ext
13388 LIBS
=$ac_check_soname_save_LIBS
13390 if ${ac_cv_lib_soname_gsm:+false} :; then :
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13392 $as_echo "not found" >&6; }
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13396 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13398 cat >>confdefs.h
<<_ACEOF
13399 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13405 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13406 case "x$with_gsm" in
13407 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13409 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13410 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13415 if test "x$with_jpeg" != "xno"
13417 if ${JPEG_CFLAGS:+false} :; then :
13418 if ${PKG_CONFIG+:} false
; then :
13419 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13423 if ${JPEG_LIBS:+false} :; then :
13424 if ${PKG_CONFIG+:} false
; then :
13425 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13430 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13431 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13432 ac_save_CPPFLAGS
=$CPPFLAGS
13433 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13434 for ac_header
in jpeglib.h
13436 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13437 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13438 cat >>confdefs.h
<<_ACEOF
13439 #define HAVE_JPEGLIB_H 1
13446 if test "$ac_cv_header_jpeglib_h" = "yes"
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13449 $as_echo_n "checking for -ljpeg... " >&6; }
13450 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13451 $as_echo_n "(cached) " >&6
13453 ac_check_soname_save_LIBS
=$LIBS
13454 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13456 /* end confdefs.h. */
13458 /* Override any GCC internal prototype to avoid an error.
13459 Use char because int might match the return type of a GCC
13460 builtin and then its argument prototype would still apply. */
13464 char jpeg_start_decompress ();
13468 return jpeg_start_decompress ();
13473 if ac_fn_c_try_link
"$LINENO"; then :
13475 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13476 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'` ;;
13477 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13478 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13479 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13483 rm -f core conftest.err conftest.
$ac_objext \
13484 conftest
$ac_exeext conftest.
$ac_ext
13485 LIBS
=$ac_check_soname_save_LIBS
13487 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13489 $as_echo "not found" >&6; }
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13493 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13495 cat >>confdefs.h
<<_ACEOF
13496 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13504 CPPFLAGS
=$ac_save_CPPFLAGS
13505 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13506 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13509 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13510 case "x$with_jpeg" in
13511 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13513 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13514 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13519 if test "x$with_png" != "xno"
13521 if ${PNG_CFLAGS:+false} :; then :
13522 if ${PKG_CONFIG+:} false
; then :
13523 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13526 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13527 if ${PNG_LIBS:+false} :; then :
13528 if ${PKG_CONFIG+:} false
; then :
13529 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13532 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13534 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13535 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13536 ac_save_CPPFLAGS
=$CPPFLAGS
13537 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13538 for ac_header
in png.h
13540 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13541 if test "x$ac_cv_header_png_h" = xyes
; then :
13542 cat >>confdefs.h
<<_ACEOF
13543 #define HAVE_PNG_H 1
13550 if test "$ac_cv_header_png_h" = "yes"
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13553 $as_echo_n "checking for -lpng... " >&6; }
13554 if ${ac_cv_lib_soname_png+:} false
; then :
13555 $as_echo_n "(cached) " >&6
13557 ac_check_soname_save_LIBS
=$LIBS
13558 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13560 /* end confdefs.h. */
13562 /* Override any GCC internal prototype to avoid an error.
13563 Use char because int might match the return type of a GCC
13564 builtin and then its argument prototype would still apply. */
13568 char png_create_read_struct ();
13572 return png_create_read_struct ();
13577 if ac_fn_c_try_link
"$LINENO"; then :
13579 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13580 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'` ;;
13581 *) 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'`
13582 if ${ac_cv_lib_soname_png:+false} :; then :
13583 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13587 rm -f core conftest.err conftest.
$ac_objext \
13588 conftest
$ac_exeext conftest.
$ac_ext
13589 LIBS
=$ac_check_soname_save_LIBS
13591 if ${ac_cv_lib_soname_png:+false} :; then :
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13593 $as_echo "not found" >&6; }
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13597 $as_echo "$ac_cv_lib_soname_png" >&6; }
13599 cat >>confdefs.h
<<_ACEOF
13600 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13604 /* end confdefs.h. */
13609 typeof(png_set_expand_gray_1_2_4_to_8) *p
13614 if ac_fn_c_try_compile
"$LINENO"; then :
13616 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13624 CPPFLAGS
=$ac_save_CPPFLAGS
13625 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13626 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13629 if test "x$ac_cv_lib_soname_png" = "x"; then :
13630 case "x$with_png" in
13631 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13633 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13634 This is an error since --with-png was requested." "$LINENO" 5 ;;
13639 if test "x$with_tiff" != "xno"
13641 if ${TIFF_CFLAGS:+false} :; then :
13642 if ${PKG_CONFIG+:} false
; then :
13643 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13647 if ${TIFF_LIBS:+false} :; then :
13648 if ${PKG_CONFIG+:} false
; then :
13649 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13654 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13655 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13656 ac_save_CPPFLAGS
=$CPPFLAGS
13657 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13658 for ac_header
in tiffio.h
13660 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13661 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13662 cat >>confdefs.h
<<_ACEOF
13663 #define HAVE_TIFFIO_H 1
13670 if test "$ac_cv_header_tiffio_h" = "yes"
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13673 $as_echo_n "checking for -ltiff... " >&6; }
13674 if ${ac_cv_lib_soname_tiff+:} false
; then :
13675 $as_echo_n "(cached) " >&6
13677 ac_check_soname_save_LIBS
=$LIBS
13678 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13680 /* end confdefs.h. */
13682 /* Override any GCC internal prototype to avoid an error.
13683 Use char because int might match the return type of a GCC
13684 builtin and then its argument prototype would still apply. */
13688 char TIFFClientOpen ();
13692 return TIFFClientOpen ();
13697 if ac_fn_c_try_link
"$LINENO"; then :
13699 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13700 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'` ;;
13701 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13702 if ${ac_cv_lib_soname_tiff:+false} :; then :
13703 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13707 rm -f core conftest.err conftest.
$ac_objext \
13708 conftest
$ac_exeext conftest.
$ac_ext
13709 LIBS
=$ac_check_soname_save_LIBS
13711 if ${ac_cv_lib_soname_tiff:+false} :; then :
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13713 $as_echo "not found" >&6; }
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13717 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13719 cat >>confdefs.h
<<_ACEOF
13720 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13726 CPPFLAGS
=$ac_save_CPPFLAGS
13727 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13728 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13731 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13732 case "x$with_tiff" in
13733 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13735 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13736 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13741 if test "x$with_mpg123" != "xno"
13743 if ${MPG123_CFLAGS:+false} :; then :
13744 if ${PKG_CONFIG+:} false
; then :
13745 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13749 if ${MPG123_LIBS:+false} :; then :
13750 if ${PKG_CONFIG+:} false
; then :
13751 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13755 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13756 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13757 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13758 ac_save_CPPFLAGS
=$CPPFLAGS
13759 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13760 for ac_header
in mpg123.h
13762 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13763 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13764 cat >>confdefs.h
<<_ACEOF
13765 #define HAVE_MPG123_H 1
13772 if test "$ac_cv_header_mpg123_h" = "yes"
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13775 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13776 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13777 $as_echo_n "(cached) " >&6
13779 ac_check_lib_save_LIBS
=$LIBS
13780 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13782 /* end confdefs.h. */
13784 /* Override any GCC internal prototype to avoid an error.
13785 Use char because int might match the return type of a GCC
13786 builtin and then its argument prototype would still apply. */
13790 char mpg123_feed ();
13794 return mpg123_feed ();
13799 if ac_fn_c_try_link
"$LINENO"; then :
13800 ac_cv_lib_mpg123_mpg123_feed
=yes
13802 ac_cv_lib_mpg123_mpg123_feed
=no
13804 rm -f core conftest.err conftest.
$ac_objext \
13805 conftest
$ac_exeext conftest.
$ac_ext
13806 LIBS
=$ac_check_lib_save_LIBS
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13809 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13810 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13820 CPPFLAGS
=$ac_save_CPPFLAGS
13821 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13822 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13825 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13826 case "x$with_mpg123" in
13827 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13829 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13830 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13832 enable_winemp3_acm
=${enable_winemp3_acm:-no}
13835 if test "$ac_cv_header_AL_al_h" = "yes"
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13838 $as_echo_n "checking for -lopenal... " >&6; }
13839 if ${ac_cv_lib_soname_openal+:} false
; then :
13840 $as_echo_n "(cached) " >&6
13842 ac_check_soname_save_LIBS
=$LIBS
13843 LIBS
="-lopenal $LIBS"
13844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13845 /* end confdefs.h. */
13847 /* Override any GCC internal prototype to avoid an error.
13848 Use char because int might match the return type of a GCC
13849 builtin and then its argument prototype would still apply. */
13853 char alGetSource3i ();
13857 return alGetSource3i ();
13862 if ac_fn_c_try_link
"$LINENO"; then :
13864 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13865 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'` ;;
13866 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13867 if ${ac_cv_lib_soname_openal:+false} :; then :
13868 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13872 rm -f core conftest.err conftest.
$ac_objext \
13873 conftest
$ac_exeext conftest.
$ac_ext
13874 LIBS
=$ac_check_soname_save_LIBS
13876 if ${ac_cv_lib_soname_openal:+false} :; then :
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13878 $as_echo "not found" >&6; }
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13882 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13884 cat >>confdefs.h
<<_ACEOF
13885 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13888 OPENAL_LIBS
="-lopenal"
13890 ac_cv_lib_openal
=yes
13892 cat >>confdefs.h
<<_ACEOF
13893 #define HAVE_OPENAL 1
13898 if test "x$ac_cv_lib_openal" != xyes
; then :
13899 case "x$with_openal" in
13900 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13902 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13903 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13905 enable_openal32
=${enable_openal32:-no}
13908 if test "x$ac_cv_lib_openal" = xyes
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13911 $as_echo_n "checking for openal-soft... " >&6; }
13912 if ${ac_cv_have_openalsoft+:} false
; then :
13913 $as_echo_n "(cached) " >&6
13915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13916 /* end confdefs.h. */
13918 #include <AL/alc.h>
13919 #include <AL/alext.h>
13920 LPALCRENDERSAMPLESSOFT x;
13929 if ac_fn_c_try_compile
"$LINENO"; then :
13930 ac_cv_have_openalsoft
=yes
13932 ac_cv_have_openalsoft
=no
13934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13937 $as_echo "$ac_cv_have_openalsoft" >&6; }
13939 if test "x$ac_cv_have_openalsoft" != xyes
13941 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13942 enable_x3daudio1_0
=${enable_x3daudio1_0:-no}
13943 enable_x3daudio1_1
=${enable_x3daudio1_1:-no}
13944 enable_x3daudio1_2
=${enable_x3daudio1_2:-no}
13945 enable_x3daudio1_3
=${enable_x3daudio1_3:-no}
13946 enable_x3daudio1_4
=${enable_x3daudio1_4:-no}
13947 enable_x3daudio1_5
=${enable_x3daudio1_5:-no}
13948 enable_x3daudio1_6
=${enable_x3daudio1_6:-no}
13949 enable_x3daudio1_7
=${enable_x3daudio1_7:-no}
13950 enable_xapofx1_1
=${enable_xapofx1_1:-no}
13951 enable_xapofx1_2
=${enable_xapofx1_2:-no}
13952 enable_xapofx1_3
=${enable_xapofx1_3:-no}
13953 enable_xapofx1_4
=${enable_xapofx1_4:-no}
13954 enable_xapofx1_5
=${enable_xapofx1_5:-no}
13955 enable_xaudio2_0
=${enable_xaudio2_0:-no}
13956 enable_xaudio2_1
=${enable_xaudio2_1:-no}
13957 enable_xaudio2_2
=${enable_xaudio2_2:-no}
13958 enable_xaudio2_3
=${enable_xaudio2_3:-no}
13959 enable_xaudio2_4
=${enable_xaudio2_4:-no}
13960 enable_xaudio2_5
=${enable_xaudio2_5:-no}
13961 enable_xaudio2_6
=${enable_xaudio2_6:-no}
13962 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13963 enable_xaudio2_8
=${enable_xaudio2_8:-no}
13964 enable_xaudio2_9
=${enable_xaudio2_9:-no}
13967 if test "$ac_cv_header_kstat_h" = "yes"
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13970 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13971 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13972 $as_echo_n "(cached) " >&6
13974 ac_check_lib_save_LIBS
=$LIBS
13975 LIBS
="-lkstat $LIBS"
13976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13977 /* end confdefs.h. */
13979 /* Override any GCC internal prototype to avoid an error.
13980 Use char because int might match the return type of a GCC
13981 builtin and then its argument prototype would still apply. */
13985 char kstat_open ();
13989 return kstat_open ();
13994 if ac_fn_c_try_link
"$LINENO"; then :
13995 ac_cv_lib_kstat_kstat_open
=yes
13997 ac_cv_lib_kstat_kstat_open
=no
13999 rm -f core conftest.err conftest.
$ac_objext \
14000 conftest
$ac_exeext conftest.
$ac_ext
14001 LIBS
=$ac_check_lib_save_LIBS
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14004 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14005 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
14007 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14009 KSTAT_LIBS
="-lkstat"
14015 if test "$ac_cv_header_libprocstat_h" = "yes"
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14018 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14019 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
14020 $as_echo_n "(cached) " >&6
14022 ac_check_lib_save_LIBS
=$LIBS
14023 LIBS
="-lprocstat $LIBS"
14024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14025 /* end confdefs.h. */
14027 /* Override any GCC internal prototype to avoid an error.
14028 Use char because int might match the return type of a GCC
14029 builtin and then its argument prototype would still apply. */
14033 char procstat_open_sysctl ();
14037 return procstat_open_sysctl ();
14042 if ac_fn_c_try_link
"$LINENO"; then :
14043 ac_cv_lib_procstat_procstat_open_sysctl
=yes
14045 ac_cv_lib_procstat_procstat_open_sysctl
=no
14047 rm -f core conftest.err conftest.
$ac_objext \
14048 conftest
$ac_exeext conftest.
$ac_ext
14049 LIBS
=$ac_check_lib_save_LIBS
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14052 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14053 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
14055 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14057 PROCSTAT_LIBS
="-lprocstat"
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14064 $as_echo_n "checking for -lodbc... " >&6; }
14065 if ${ac_cv_lib_soname_odbc+:} false
; then :
14066 $as_echo_n "(cached) " >&6
14068 ac_check_soname_save_LIBS
=$LIBS
14069 LIBS
="-lodbc $LIBS"
14070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14071 /* end confdefs.h. */
14073 /* Override any GCC internal prototype to avoid an error.
14074 Use char because int might match the return type of a GCC
14075 builtin and then its argument prototype would still apply. */
14079 char SQLConnect ();
14083 return SQLConnect ();
14088 if ac_fn_c_try_link
"$LINENO"; then :
14090 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14091 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'` ;;
14092 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14093 if ${ac_cv_lib_soname_odbc:+false} :; then :
14094 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14098 rm -f core conftest.err conftest.
$ac_objext \
14099 conftest
$ac_exeext conftest.
$ac_ext
14100 LIBS
=$ac_check_soname_save_LIBS
14102 if ${ac_cv_lib_soname_odbc:+false} :; then :
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14104 $as_echo "not found" >&6; }
14105 cat >>confdefs.h
<<_ACEOF
14106 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14111 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14113 cat >>confdefs.h
<<_ACEOF
14114 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14120 if test "x$with_netapi" != "xno"
14122 if ${NETAPI_CFLAGS:+false} :; then :
14123 if ${PKG_CONFIG+:} false
; then :
14124 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14128 if ${NETAPI_LIBS:+false} :; then :
14129 if ${PKG_CONFIG+:} false
; then :
14130 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
14135 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14136 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14137 ac_save_CPPFLAGS
=$CPPFLAGS
14138 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14140 $as_echo_n "checking for -lnetapi... " >&6; }
14141 if ${ac_cv_lib_soname_netapi+:} false
; then :
14142 $as_echo_n "(cached) " >&6
14144 ac_check_soname_save_LIBS
=$LIBS
14145 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
14146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14147 /* end confdefs.h. */
14149 /* Override any GCC internal prototype to avoid an error.
14150 Use char because int might match the return type of a GCC
14151 builtin and then its argument prototype would still apply. */
14155 char libnetapi_init ();
14159 return libnetapi_init ();
14164 if ac_fn_c_try_link
"$LINENO"; then :
14166 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14167 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'` ;;
14168 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14169 if ${ac_cv_lib_soname_netapi:+false} :; then :
14170 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14174 rm -f core conftest.err conftest.
$ac_objext \
14175 conftest
$ac_exeext conftest.
$ac_ext
14176 LIBS
=$ac_check_soname_save_LIBS
14178 if ${ac_cv_lib_soname_netapi:+false} :; then :
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14180 $as_echo "not found" >&6; }
14181 cat >>confdefs.h
<<_ACEOF
14182 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14187 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14189 cat >>confdefs.h
<<_ACEOF
14190 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14195 CPPFLAGS
=$ac_save_CPPFLAGS
14196 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS
=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14197 test -z "$NETAPI_LIBS" || NETAPI_LIBS
=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14201 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono
-a \
14202 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14204 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
14210 if test "x${GCC}" = "xyes"
14212 EXTRACFLAGS
="-Wall -pipe"
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14215 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14216 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
14217 $as_echo_n "(cached) " >&6
14219 if test "$cross_compiling" = yes; then :
14220 ac_cv_c_gcc_strength_bug
="no"
14222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14223 /* end confdefs.h. */
14224 int L[4] = {0,1,2,3};
14228 static int Array[3];
14229 unsigned int B = 3;
14231 for(i=0; i<B; i++) Array[i] = i - 3;
14232 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14234 return (Array[1] != -2 || L[2] != 3)
14239 if ac_fn_c_try_run
"$LINENO"; then :
14240 ac_cv_c_gcc_strength_bug
="no"
14242 ac_cv_c_gcc_strength_bug
="yes"
14244 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14245 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14250 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14251 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14253 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14257 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14258 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14259 $as_echo_n "(cached) " >&6
14261 ac_wine_try_cflags_saved
=$CFLAGS
14262 CFLAGS
="$CFLAGS -fno-builtin"
14263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14264 /* end confdefs.h. */
14265 int main(int argc, char **argv) { return 0; }
14267 if ac_fn_c_try_link
"$LINENO"; then :
14268 ac_cv_cflags__fno_builtin
=yes
14270 ac_cv_cflags__fno_builtin
=no
14272 rm -f core conftest.err conftest.
$ac_objext \
14273 conftest
$ac_exeext conftest.
$ac_ext
14274 CFLAGS
=$ac_wine_try_cflags_saved
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14277 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14278 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14279 BUILTINFLAG
="-fno-builtin"
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14283 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14284 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14285 $as_echo_n "(cached) " >&6
14287 ac_wine_try_cflags_saved
=$CFLAGS
14288 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14290 /* end confdefs.h. */
14291 int main(int argc, char **argv) { return 0; }
14293 if ac_fn_c_try_link
"$LINENO"; then :
14294 ac_cv_cflags__fno_strict_aliasing
=yes
14296 ac_cv_cflags__fno_strict_aliasing
=no
14298 rm -f core conftest.err conftest.
$ac_objext \
14299 conftest
$ac_exeext conftest.
$ac_ext
14300 CFLAGS
=$ac_wine_try_cflags_saved
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14303 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14304 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14305 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14308 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14309 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14310 $as_echo_n "(cached) " >&6
14312 ac_wine_try_cflags_saved
=$CFLAGS
14313 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14315 /* end confdefs.h. */
14316 int main(int argc, char **argv) { return 0; }
14318 if ac_fn_c_try_link
"$LINENO"; then :
14319 ac_cv_cflags__fexcess_precision_standard
=yes
14321 ac_cv_cflags__fexcess_precision_standard
=no
14323 rm -f core conftest.err conftest.
$ac_objext \
14324 conftest
$ac_exeext conftest.
$ac_ext
14325 CFLAGS
=$ac_wine_try_cflags_saved
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14328 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14329 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14330 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14333 saved_CFLAGS
=$CFLAGS
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14335 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14336 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14337 $as_echo_n "(cached) " >&6
14339 ac_wine_try_cflags_saved
=$CFLAGS
14340 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14342 /* end confdefs.h. */
14343 int main(int argc, char **argv) { return 0; }
14345 if ac_fn_c_try_link
"$LINENO"; then :
14346 ac_cv_cflags__Werror_unknown_warning_option
=yes
14348 ac_cv_cflags__Werror_unknown_warning_option
=no
14350 rm -f core conftest.err conftest.
$ac_objext \
14351 conftest
$ac_exeext conftest.
$ac_ext
14352 CFLAGS
=$ac_wine_try_cflags_saved
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14355 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14356 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14357 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14360 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14361 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14362 $as_echo_n "(cached) " >&6
14364 ac_wine_try_cflags_saved
=$CFLAGS
14365 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14367 /* end confdefs.h. */
14368 int main(int argc, char **argv) { return 0; }
14370 if ac_fn_c_try_link
"$LINENO"; then :
14371 ac_cv_cflags__Wdeclaration_after_statement
=yes
14373 ac_cv_cflags__Wdeclaration_after_statement
=no
14375 rm -f core conftest.err conftest.
$ac_objext \
14376 conftest
$ac_exeext conftest.
$ac_ext
14377 CFLAGS
=$ac_wine_try_cflags_saved
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14380 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14381 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14382 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14385 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14386 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14387 $as_echo_n "(cached) " >&6
14389 ac_wine_try_cflags_saved
=$CFLAGS
14390 CFLAGS
="$CFLAGS -Wempty-body"
14391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14392 /* end confdefs.h. */
14393 int main(int argc, char **argv) { return 0; }
14395 if ac_fn_c_try_link
"$LINENO"; then :
14396 ac_cv_cflags__Wempty_body
=yes
14398 ac_cv_cflags__Wempty_body
=no
14400 rm -f core conftest.err conftest.
$ac_objext \
14401 conftest
$ac_exeext conftest.
$ac_ext
14402 CFLAGS
=$ac_wine_try_cflags_saved
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14405 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14406 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14407 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14410 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14411 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14412 $as_echo_n "(cached) " >&6
14414 ac_wine_try_cflags_saved
=$CFLAGS
14415 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14417 /* end confdefs.h. */
14418 int main(int argc, char **argv) { return 0; }
14420 if ac_fn_c_try_link
"$LINENO"; then :
14421 ac_cv_cflags__Wignored_qualifiers
=yes
14423 ac_cv_cflags__Wignored_qualifiers
=no
14425 rm -f core conftest.err conftest.
$ac_objext \
14426 conftest
$ac_exeext conftest.
$ac_ext
14427 CFLAGS
=$ac_wine_try_cflags_saved
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14430 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14431 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14432 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14435 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14436 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
14437 $as_echo_n "(cached) " >&6
14439 ac_wine_try_cflags_saved
=$CFLAGS
14440 CFLAGS
="$CFLAGS -Wshift-overflow=2"
14441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14442 /* end confdefs.h. */
14443 int main(int argc, char **argv) { return 0; }
14445 if ac_fn_c_try_link
"$LINENO"; then :
14446 ac_cv_cflags__Wshift_overflow_2
=yes
14448 ac_cv_cflags__Wshift_overflow_2
=no
14450 rm -f core conftest.err conftest.
$ac_objext \
14451 conftest
$ac_exeext conftest.
$ac_ext
14452 CFLAGS
=$ac_wine_try_cflags_saved
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14455 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14456 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
14457 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14460 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14461 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14462 $as_echo_n "(cached) " >&6
14464 ac_wine_try_cflags_saved
=$CFLAGS
14465 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14467 /* end confdefs.h. */
14468 int main(int argc, char **argv) { return 0; }
14470 if ac_fn_c_try_link
"$LINENO"; then :
14471 ac_cv_cflags__Wstrict_prototypes
=yes
14473 ac_cv_cflags__Wstrict_prototypes
=no
14475 rm -f core conftest.err conftest.
$ac_objext \
14476 conftest
$ac_exeext conftest.
$ac_ext
14477 CFLAGS
=$ac_wine_try_cflags_saved
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14480 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14481 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14482 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14485 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14486 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14487 $as_echo_n "(cached) " >&6
14489 ac_wine_try_cflags_saved
=$CFLAGS
14490 CFLAGS
="$CFLAGS -Wtype-limits"
14491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14492 /* end confdefs.h. */
14493 int main(int argc, char **argv) { return 0; }
14495 if ac_fn_c_try_link
"$LINENO"; then :
14496 ac_cv_cflags__Wtype_limits
=yes
14498 ac_cv_cflags__Wtype_limits
=no
14500 rm -f core conftest.err conftest.
$ac_objext \
14501 conftest
$ac_exeext conftest.
$ac_ext
14502 CFLAGS
=$ac_wine_try_cflags_saved
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14505 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14506 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14507 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14510 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14511 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14512 $as_echo_n "(cached) " >&6
14514 ac_wine_try_cflags_saved
=$CFLAGS
14515 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14517 /* end confdefs.h. */
14518 int main(int argc, char **argv) { return 0; }
14520 if ac_fn_c_try_link
"$LINENO"; then :
14521 ac_cv_cflags__Wunused_but_set_parameter
=yes
14523 ac_cv_cflags__Wunused_but_set_parameter
=no
14525 rm -f core conftest.err conftest.
$ac_objext \
14526 conftest
$ac_exeext conftest.
$ac_ext
14527 CFLAGS
=$ac_wine_try_cflags_saved
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14530 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14531 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14532 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14535 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14536 if ${ac_cv_cflags__Wvla+:} false
; then :
14537 $as_echo_n "(cached) " >&6
14539 ac_wine_try_cflags_saved
=$CFLAGS
14540 CFLAGS
="$CFLAGS -Wvla"
14541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14542 /* end confdefs.h. */
14543 int main(int argc, char **argv) { return 0; }
14545 if ac_fn_c_try_link
"$LINENO"; then :
14546 ac_cv_cflags__Wvla
=yes
14548 ac_cv_cflags__Wvla
=no
14550 rm -f core conftest.err conftest.
$ac_objext \
14551 conftest
$ac_exeext conftest.
$ac_ext
14552 CFLAGS
=$ac_wine_try_cflags_saved
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14555 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14556 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14557 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14560 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14561 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14562 $as_echo_n "(cached) " >&6
14564 ac_wine_try_cflags_saved
=$CFLAGS
14565 CFLAGS
="$CFLAGS -Wwrite-strings"
14566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14567 /* end confdefs.h. */
14568 int main(int argc, char **argv) { return 0; }
14570 if ac_fn_c_try_link
"$LINENO"; then :
14571 ac_cv_cflags__Wwrite_strings
=yes
14573 ac_cv_cflags__Wwrite_strings
=no
14575 rm -f core conftest.err conftest.
$ac_objext \
14576 conftest
$ac_exeext conftest.
$ac_ext
14577 CFLAGS
=$ac_wine_try_cflags_saved
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14580 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14581 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14582 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14586 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14587 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14588 $as_echo_n "(cached) " >&6
14590 ac_wine_try_cflags_saved
=$CFLAGS
14591 CFLAGS
="$CFLAGS -Wpointer-arith"
14592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14593 /* end confdefs.h. */
14594 int main(int argc, char **argv) { return 0; }
14596 if ac_fn_c_try_link
"$LINENO"; then :
14597 ac_cv_cflags__Wpointer_arith
=yes
14599 ac_cv_cflags__Wpointer_arith
=no
14601 rm -f core conftest.err conftest.
$ac_objext \
14602 conftest
$ac_exeext conftest.
$ac_ext
14603 CFLAGS
=$ac_wine_try_cflags_saved
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14606 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14607 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14608 saved_string_h_CFLAGS
=$CFLAGS
14609 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14611 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14612 if ${ac_cv_c_string_h_warnings+:} false
; then :
14613 $as_echo_n "(cached) " >&6
14615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14616 /* end confdefs.h. */
14617 #include <string.h>
14626 if ac_fn_c_try_compile
"$LINENO"; then :
14627 ac_cv_c_string_h_warnings
=no
14629 ac_cv_c_string_h_warnings
=yes
14631 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14634 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14635 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14636 CFLAGS
=$saved_string_h_CFLAGS
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14640 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14641 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14642 $as_echo_n "(cached) " >&6
14644 ac_wine_try_cflags_saved
=$CFLAGS
14645 CFLAGS
="$CFLAGS -Wlogical-op"
14646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14648 int main(int argc, char **argv) { return 0; }
14650 if ac_fn_c_try_link
"$LINENO"; then :
14651 ac_cv_cflags__Wlogical_op
=yes
14653 ac_cv_cflags__Wlogical_op
=no
14655 rm -f core conftest.err conftest.
$ac_objext \
14656 conftest
$ac_exeext conftest.
$ac_ext
14657 CFLAGS
=$ac_wine_try_cflags_saved
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14660 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14661 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14662 saved_string_h_CFLAGS
=$CFLAGS
14663 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14665 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14666 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14667 $as_echo_n "(cached) " >&6
14669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14670 /* end confdefs.h. */
14671 #include <string.h>
14672 char*f(const char *h,char n) {return strchr(h,n);}
14681 if ac_fn_c_try_compile
"$LINENO"; then :
14682 ac_cv_c_logicalop_noisy
=no
14684 ac_cv_c_logicalop_noisy
=yes
14686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14689 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14690 CFLAGS
=$saved_string_h_CFLAGS
14691 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14694 CFLAGS
=$saved_CFLAGS
14696 for ac_flag
in $CFLAGS; do
14698 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14699 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14700 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14701 $as_echo_n "(cached) " >&6
14703 ac_wine_try_cflags_saved
=$CFLAGS
14704 CFLAGS
="$CFLAGS -gdwarf-2"
14705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14706 /* end confdefs.h. */
14707 int main(int argc, char **argv) { return 0; }
14709 if ac_fn_c_try_link
"$LINENO"; then :
14710 ac_cv_cflags__gdwarf_2
=yes
14712 ac_cv_cflags__gdwarf_2
=no
14714 rm -f core conftest.err conftest.
$ac_objext \
14715 conftest
$ac_exeext conftest.
$ac_ext
14716 CFLAGS
=$ac_wine_try_cflags_saved
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14719 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14720 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14721 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14724 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14725 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14726 $as_echo_n "(cached) " >&6
14728 ac_wine_try_cflags_saved
=$CFLAGS
14729 CFLAGS
="$CFLAGS -gstrict-dwarf"
14730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14731 /* end confdefs.h. */
14732 int main(int argc, char **argv) { return 0; }
14734 if ac_fn_c_try_link
"$LINENO"; then :
14735 ac_cv_cflags__gstrict_dwarf
=yes
14737 ac_cv_cflags__gstrict_dwarf
=no
14739 rm -f core conftest.err conftest.
$ac_objext \
14740 conftest
$ac_exeext conftest.
$ac_ext
14741 CFLAGS
=$ac_wine_try_cflags_saved
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14744 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14745 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14746 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14752 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14753 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14754 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14755 $as_echo_n "(cached) " >&6
14757 ac_wine_try_cflags_saved
=$CFLAGS
14758 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14760 /* end confdefs.h. */
14761 int main(int argc, char **argv) { return 0; }
14763 if ac_fn_c_try_link
"$LINENO"; then :
14764 ac_cv_cflags__fno_omit_frame_pointer
=yes
14766 ac_cv_cflags__fno_omit_frame_pointer
=no
14768 rm -f core conftest.err conftest.
$ac_objext \
14769 conftest
$ac_exeext conftest.
$ac_ext
14770 CFLAGS
=$ac_wine_try_cflags_saved
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14773 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14774 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14775 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14780 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14781 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14782 if ${ac_cv_cflags__Wno_format+:} false
; then :
14783 $as_echo_n "(cached) " >&6
14785 ac_wine_try_cflags_saved
=$CFLAGS
14786 CFLAGS
="$CFLAGS -Wno-format"
14787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14788 /* end confdefs.h. */
14789 int main(int argc, char **argv) { return 0; }
14791 if ac_fn_c_try_link
"$LINENO"; then :
14792 ac_cv_cflags__Wno_format
=yes
14794 ac_cv_cflags__Wno_format
=no
14796 rm -f core conftest.err conftest.
$ac_objext \
14797 conftest
$ac_exeext conftest.
$ac_ext
14798 CFLAGS
=$ac_wine_try_cflags_saved
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14801 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14802 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14803 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14807 if test "x$enable_maintainer_mode" = "xyes"
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14810 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14811 if ${ac_cv_cflags__Werror+:} false
; then :
14812 $as_echo_n "(cached) " >&6
14814 ac_wine_try_cflags_saved
=$CFLAGS
14815 CFLAGS
="$CFLAGS -Werror"
14816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14817 /* end confdefs.h. */
14818 int main(int argc, char **argv) { return 0; }
14820 if ac_fn_c_try_link
"$LINENO"; then :
14821 ac_cv_cflags__Werror
=yes
14823 ac_cv_cflags__Werror
=no
14825 rm -f core conftest.err conftest.
$ac_objext \
14826 conftest
$ac_exeext conftest.
$ac_ext
14827 CFLAGS
=$ac_wine_try_cflags_saved
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14830 $as_echo "$ac_cv_cflags__Werror" >&6; }
14831 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14832 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14836 saved_CFLAGS
="$CFLAGS"
14837 CFLAGS
="$CFLAGS -Werror"
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14839 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14840 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14841 $as_echo_n "(cached) " >&6
14843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14844 /* end confdefs.h. */
14845 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14854 if ac_fn_c_try_compile
"$LINENO"; then :
14855 ac_cv_have_ms_hook_prologue
="yes"
14857 ac_cv_have_ms_hook_prologue
="no"
14859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14862 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14863 CFLAGS
="$saved_CFLAGS"
14864 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14867 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14870 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14877 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14878 if ${ac_cv_c_fortify_enabled+:} false
; then :
14879 $as_echo_n "(cached) " >&6
14881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14882 /* end confdefs.h. */
14883 #include <string.h>
14887 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14888 #error Fortify enabled
14894 if ac_fn_c_try_compile
"$LINENO"; then :
14895 ac_cv_c_fortify_enabled
=no
14897 ac_cv_c_fortify_enabled
=yes
14899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14902 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14903 if test "$ac_cv_c_fortify_enabled" = yes
14905 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14910 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14911 if ${ac_cv_c_extern_prefix+:} false
; then :
14912 $as_echo_n "(cached) " >&6
14914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14915 /* end confdefs.h. */
14916 extern int ac_test;
14920 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14925 if ac_fn_c_try_link
"$LINENO"; then :
14926 ac_cv_c_extern_prefix
="yes"
14928 ac_cv_c_extern_prefix
="no"
14930 rm -f core conftest.err conftest.
$ac_objext \
14931 conftest
$ac_exeext conftest.
$ac_ext
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14934 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14939 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14940 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14941 $as_echo_n "(cached) " >&6
14943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14944 /* end confdefs.h. */
14946 #define __stdcall __attribute__((__stdcall__))
14948 int __stdcall ac_test(int i) { return i; }
14952 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14957 if ac_fn_c_try_link
"$LINENO"; then :
14958 ac_cv_c_stdcall_suffix
="yes"
14960 ac_cv_c_stdcall_suffix
="no"
14962 rm -f core conftest.err conftest.
$ac_objext \
14963 conftest
$ac_exeext conftest.
$ac_ext
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14966 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14967 *) ac_cv_c_stdcall_suffix
="no" ;;
14971 if test "$ac_cv_c_extern_prefix" = "yes"
14973 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14975 asm_name_prefix
="_"
14977 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14983 if test "$ac_cv_c_stdcall_suffix" = "yes"
14985 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14988 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14994 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14995 if ${ac_cv_asm_func_def+:} false
; then :
14996 $as_echo_n "(cached) " >&6
14998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14999 /* end confdefs.h. */
15004 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15009 if ac_fn_c_try_link
"$LINENO"; then :
15010 ac_cv_asm_func_def
=".def"
15012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15013 /* end confdefs.h. */
15018 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15023 if ac_fn_c_try_link
"$LINENO"; then :
15024 ac_cv_asm_func_def
=".type @function"
15026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15027 /* end confdefs.h. */
15032 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15037 if ac_fn_c_try_link
"$LINENO"; then :
15038 ac_cv_asm_func_def
=".type 2"
15040 ac_cv_asm_func_def
="unknown"
15042 rm -f core conftest.err conftest.
$ac_objext \
15043 conftest
$ac_exeext conftest.
$ac_ext
15045 rm -f core conftest.err conftest.
$ac_objext \
15046 conftest
$ac_exeext conftest.
$ac_ext
15048 rm -f core conftest.err conftest.
$ac_objext \
15049 conftest
$ac_exeext conftest.
$ac_ext
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15052 $as_echo "$ac_cv_asm_func_def" >&6; }
15055 case "$ac_cv_asm_func_def" in
15057 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15059 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15061 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15063 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
15065 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15067 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
15069 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15071 asm_func_header
="" ;;
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15075 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15076 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
15077 $as_echo_n "(cached) " >&6
15079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15080 /* end confdefs.h. */
15081 asm(".text\n\t.long 0");
15090 if ac_fn_c_try_compile
"$LINENO"; then :
15091 ac_cv_c_asm_outside_funcs
="yes"
15093 ac_cv_c_asm_outside_funcs
="no"
15095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15098 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15101 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15102 if ${ac_cv_c_dot_previous+:} false
; then :
15103 $as_echo_n "(cached) " >&6
15105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15106 /* end confdefs.h. */
15111 asm(".text\nac_test:\t.long 0\n\t.previous");
15116 if ac_fn_c_try_link
"$LINENO"; then :
15117 ac_cv_c_dot_previous
="yes"
15119 ac_cv_c_dot_previous
="no"
15121 rm -f core conftest.err conftest.
$ac_objext \
15122 conftest
$ac_exeext conftest.
$ac_ext
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15125 $as_echo "$ac_cv_c_dot_previous" >&6; }
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15128 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15129 if ${ac_cv_c_cfi_support+:} false
; then :
15130 $as_echo_n "(cached) " >&6
15132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15133 /* end confdefs.h. */
15134 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15143 if ac_fn_c_try_compile
"$LINENO"; then :
15144 ac_cv_c_cfi_support
="yes"
15146 ac_cv_c_cfi_support
="no"
15148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15151 $as_echo "$ac_cv_c_cfi_support" >&6; }
15153 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15154 asm_func_trailer
=""
15155 if test "$ac_cv_c_dot_previous" = "yes"
15157 asm_func_trailer
="\\n\\t.previous"
15159 if test "$ac_cv_c_cfi_support" = "yes"
15161 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
15162 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
15164 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15166 UNWINDFLAGS
=-fasynchronous-unwind-tables
15169 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15171 if test "x$enable_win64" = "xyes"
15173 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15177 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
15180 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15182 cat >>confdefs.h
<<_ACEOF
15183 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15187 cat >>confdefs.h
<<_ACEOF
15188 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15193 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15196 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15201 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
15209 *i
[3456789]86*|x86_64
*)
15210 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
15211 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
15218 ac_save_CFLAGS
="$CFLAGS"
15219 CFLAGS
="$CFLAGS $BUILTINFLAG"
15299 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15300 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15301 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15302 cat >>confdefs.h
<<_ACEOF
15303 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15309 CFLAGS
="$ac_save_CFLAGS"
15311 if test "$ac_cv_func_dlopen" = no
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15314 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15315 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15316 $as_echo_n "(cached) " >&6
15318 ac_check_lib_save_LIBS
=$LIBS
15320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15321 /* end confdefs.h. */
15323 /* Override any GCC internal prototype to avoid an error.
15324 Use char because int might match the return type of a GCC
15325 builtin and then its argument prototype would still apply. */
15338 if ac_fn_c_try_link
"$LINENO"; then :
15339 ac_cv_lib_dl_dlopen
=yes
15341 ac_cv_lib_dl_dlopen
=no
15343 rm -f core conftest.err conftest.
$ac_objext \
15344 conftest
$ac_exeext conftest.
$ac_ext
15345 LIBS
=$ac_check_lib_save_LIBS
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15348 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15349 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15350 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15356 ac_wine_check_funcs_save_LIBS
="$LIBS"
15357 LIBS
="$LIBS $DL_LIBS"
15358 for ac_func
in dladdr
15360 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15361 if test "x$ac_cv_func_dladdr" = xyes
; then :
15362 cat >>confdefs.h
<<_ACEOF
15363 #define HAVE_DLADDR 1
15369 LIBS
="$ac_wine_check_funcs_save_LIBS"
15371 if test "$ac_cv_func_poll" = no
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15374 $as_echo_n "checking for poll in -lpoll... " >&6; }
15375 if ${ac_cv_lib_poll_poll+:} false
; then :
15376 $as_echo_n "(cached) " >&6
15378 ac_check_lib_save_LIBS
=$LIBS
15379 LIBS
="-lpoll $LIBS"
15380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15381 /* end confdefs.h. */
15383 /* Override any GCC internal prototype to avoid an error.
15384 Use char because int might match the return type of a GCC
15385 builtin and then its argument prototype would still apply. */
15398 if ac_fn_c_try_link
"$LINENO"; then :
15399 ac_cv_lib_poll_poll
=yes
15401 ac_cv_lib_poll_poll
=no
15403 rm -f core conftest.err conftest.
$ac_objext \
15404 conftest
$ac_exeext conftest.
$ac_ext
15405 LIBS
=$ac_check_lib_save_LIBS
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15408 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15409 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15410 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15418 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15419 if ${ac_cv_search_gethostbyname+:} false
; then :
15420 $as_echo_n "(cached) " >&6
15422 ac_func_search_save_LIBS
=$LIBS
15423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15424 /* end confdefs.h. */
15426 /* Override any GCC internal prototype to avoid an error.
15427 Use char because int might match the return type of a GCC
15428 builtin and then its argument prototype would still apply. */
15432 char gethostbyname ();
15436 return gethostbyname ();
15441 for ac_lib
in '' nsl
; do
15442 if test -z "$ac_lib"; then
15443 ac_res
="none required"
15446 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15448 if ac_fn_c_try_link
"$LINENO"; then :
15449 ac_cv_search_gethostbyname
=$ac_res
15451 rm -f core conftest.err conftest.
$ac_objext \
15453 if ${ac_cv_search_gethostbyname+:} false
; then :
15457 if ${ac_cv_search_gethostbyname+:} false
; then :
15460 ac_cv_search_gethostbyname
=no
15462 rm conftest.
$ac_ext
15463 LIBS
=$ac_func_search_save_LIBS
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15466 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15467 ac_res
=$ac_cv_search_gethostbyname
15468 if test "$ac_res" != no
; then :
15469 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15475 $as_echo_n "checking for library containing connect... " >&6; }
15476 if ${ac_cv_search_connect+:} false
; then :
15477 $as_echo_n "(cached) " >&6
15479 ac_func_search_save_LIBS
=$LIBS
15480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15481 /* end confdefs.h. */
15483 /* Override any GCC internal prototype to avoid an error.
15484 Use char because int might match the return type of a GCC
15485 builtin and then its argument prototype would still apply. */
15498 for ac_lib
in '' socket
; do
15499 if test -z "$ac_lib"; then
15500 ac_res
="none required"
15503 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15505 if ac_fn_c_try_link
"$LINENO"; then :
15506 ac_cv_search_connect
=$ac_res
15508 rm -f core conftest.err conftest.
$ac_objext \
15510 if ${ac_cv_search_connect+:} false
; then :
15514 if ${ac_cv_search_connect+:} false
; then :
15517 ac_cv_search_connect
=no
15519 rm conftest.
$ac_ext
15520 LIBS
=$ac_func_search_save_LIBS
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15523 $as_echo "$ac_cv_search_connect" >&6; }
15524 ac_res
=$ac_cv_search_connect
15525 if test "$ac_res" != no
; then :
15526 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15532 $as_echo_n "checking for library containing inet_aton... " >&6; }
15533 if ${ac_cv_search_inet_aton+:} false
; then :
15534 $as_echo_n "(cached) " >&6
15536 ac_func_search_save_LIBS
=$LIBS
15537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15538 /* end confdefs.h. */
15540 /* Override any GCC internal prototype to avoid an error.
15541 Use char because int might match the return type of a GCC
15542 builtin and then its argument prototype would still apply. */
15550 return inet_aton ();
15555 for ac_lib
in '' resolv
; do
15556 if test -z "$ac_lib"; then
15557 ac_res
="none required"
15560 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15562 if ac_fn_c_try_link
"$LINENO"; then :
15563 ac_cv_search_inet_aton
=$ac_res
15565 rm -f core conftest.err conftest.
$ac_objext \
15567 if ${ac_cv_search_inet_aton+:} false
; then :
15571 if ${ac_cv_search_inet_aton+:} false
; then :
15574 ac_cv_search_inet_aton
=no
15576 rm conftest.
$ac_ext
15577 LIBS
=$ac_func_search_save_LIBS
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15580 $as_echo "$ac_cv_search_inet_aton" >&6; }
15581 ac_res
=$ac_cv_search_inet_aton
15582 if test "$ac_res" != no
; then :
15583 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15603 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15604 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15605 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15606 cat >>confdefs.h
<<_ACEOF
15607 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15616 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15617 if ${ac_cv_search_clock_gettime+:} false
; then :
15618 $as_echo_n "(cached) " >&6
15620 ac_func_search_save_LIBS
=$LIBS
15621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15622 /* end confdefs.h. */
15624 /* Override any GCC internal prototype to avoid an error.
15625 Use char because int might match the return type of a GCC
15626 builtin and then its argument prototype would still apply. */
15630 char clock_gettime ();
15634 return clock_gettime ();
15639 for ac_lib
in '' rt
; do
15640 if test -z "$ac_lib"; then
15641 ac_res
="none required"
15644 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15646 if ac_fn_c_try_link
"$LINENO"; then :
15647 ac_cv_search_clock_gettime
=$ac_res
15649 rm -f core conftest.err conftest.
$ac_objext \
15651 if ${ac_cv_search_clock_gettime+:} false
; then :
15655 if ${ac_cv_search_clock_gettime+:} false
; then :
15658 ac_cv_search_clock_gettime
=no
15660 rm conftest.
$ac_ext
15661 LIBS
=$ac_func_search_save_LIBS
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15664 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15665 ac_res
=$ac_cv_search_clock_gettime
15666 if test "$ac_res" != no
; then :
15667 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15669 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15671 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15679 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15681 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15683 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15685 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15686 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15687 $as_echo_n "(cached) " >&6
15689 ac_check_lib_save_LIBS
=$LIBS
15690 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15692 /* end confdefs.h. */
15694 /* Override any GCC internal prototype to avoid an error.
15695 Use char because int might match the return type of a GCC
15696 builtin and then its argument prototype would still apply. */
15700 char ldap_initialize ();
15704 return ldap_initialize ();
15709 if ac_fn_c_try_link
"$LINENO"; then :
15710 ac_cv_lib_ldap_r_ldap_initialize
=yes
15712 ac_cv_lib_ldap_r_ldap_initialize
=no
15714 rm -f core conftest.err conftest.
$ac_objext \
15715 conftest
$ac_exeext conftest.
$ac_ext
15716 LIBS
=$ac_check_lib_save_LIBS
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15719 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15720 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15722 $as_echo_n "checking for ber_init in -llber... " >&6; }
15723 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15724 $as_echo_n "(cached) " >&6
15726 ac_check_lib_save_LIBS
=$LIBS
15727 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15729 /* end confdefs.h. */
15731 /* Override any GCC internal prototype to avoid an error.
15732 Use char because int might match the return type of a GCC
15733 builtin and then its argument prototype would still apply. */
15741 return ber_init ();
15746 if ac_fn_c_try_link
"$LINENO"; then :
15747 ac_cv_lib_lber_ber_init
=yes
15749 ac_cv_lib_lber_ber_init
=no
15751 rm -f core conftest.err conftest.
$ac_objext \
15752 conftest
$ac_exeext conftest.
$ac_ext
15753 LIBS
=$ac_check_lib_save_LIBS
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15756 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15757 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15759 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15761 LDAP_LIBS
="-lldap_r -llber"
15768 ac_wine_check_funcs_save_LIBS
="$LIBS"
15769 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15771 ldap_count_references \
15772 ldap_first_reference \
15773 ldap_next_reference \
15774 ldap_parse_reference \
15775 ldap_parse_sort_control \
15776 ldap_parse_sortresponse_control \
15777 ldap_parse_vlv_control \
15778 ldap_parse_vlvresponse_control
15780 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15781 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15782 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15783 cat >>confdefs.h
<<_ACEOF
15784 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15790 LIBS
="$ac_wine_check_funcs_save_LIBS"
15792 if test "x$LDAP_LIBS" = "x"; then :
15793 case "x$with_ldap" in
15794 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15796 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15797 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15803 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15804 if ${wine_cv_one_arg_mkdir+:} false
; then :
15805 $as_echo_n "(cached) " >&6
15807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15808 /* end confdefs.h. */
15809 #include <sys/stat.h>
15818 if ac_fn_c_try_compile
"$LINENO"; then :
15819 wine_cv_one_arg_mkdir
=yes
15821 wine_cv_one_arg_mkdir
=no
15823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15826 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15827 if test "$wine_cv_one_arg_mkdir" = "yes"
15830 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15835 $as_echo_n "checking for sched_setaffinity... " >&6; }
15836 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15837 $as_echo_n "(cached) " >&6
15839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15840 /* end confdefs.h. */
15841 #define _GNU_SOURCE
15846 sched_setaffinity(0, 0, 0);
15851 if ac_fn_c_try_link
"$LINENO"; then :
15852 wine_cv_have_sched_setaffinity
=yes
15854 wine_cv_have_sched_setaffinity
=no
15856 rm -f core conftest.err conftest.
$ac_objext \
15857 conftest
$ac_exeext conftest.
$ac_ext
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15860 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15861 if test "$wine_cv_have_sched_setaffinity" = "yes"
15864 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15869 $as_echo_n "checking for fallocate... " >&6; }
15870 if ${wine_cv_have_fallocate+:} false
; then :
15871 $as_echo_n "(cached) " >&6
15873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15874 /* end confdefs.h. */
15875 #define _GNU_SOURCE
15880 fallocate(-1, 0, 0, 0);
15885 if ac_fn_c_try_link
"$LINENO"; then :
15886 wine_cv_have_fallocate
=yes
15888 wine_cv_have_fallocate
=no
15890 rm -f core conftest.err conftest.
$ac_objext \
15891 conftest
$ac_exeext conftest.
$ac_ext
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15894 $as_echo "$wine_cv_have_fallocate" >&6; }
15895 if test "$wine_cv_have_fallocate" = "yes"
15898 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15904 $as_echo_n "checking for inline... " >&6; }
15905 if ${ac_cv_c_inline+:} false
; then :
15906 $as_echo_n "(cached) " >&6
15909 for ac_kw
in inline __inline__ __inline
; do
15910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15911 /* end confdefs.h. */
15912 #ifndef __cplusplus
15914 static $ac_kw foo_t static_foo () {return 0; }
15915 $ac_kw foo_t foo () {return 0; }
15919 if ac_fn_c_try_compile
"$LINENO"; then :
15920 ac_cv_c_inline
=$ac_kw
15922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15923 test "$ac_cv_c_inline" != no
&& break
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15928 $as_echo "$ac_cv_c_inline" >&6; }
15930 case $ac_cv_c_inline in
15933 case $ac_cv_c_inline in
15935 *) ac_val
=$ac_cv_c_inline;;
15937 cat >>confdefs.h
<<_ACEOF
15938 #ifndef __cplusplus
15939 #define inline $ac_val
15945 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15946 if test "x$ac_cv_type_mode_t" = xyes
; then :
15948 cat >>confdefs.h
<<_ACEOF
15949 #define HAVE_MODE_T 1
15954 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15955 if test "x$ac_cv_type_off_t" = xyes
; then :
15957 cat >>confdefs.h
<<_ACEOF
15958 #define HAVE_OFF_T 1
15963 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15964 if test "x$ac_cv_type_pid_t" = xyes
; then :
15966 cat >>confdefs.h
<<_ACEOF
15967 #define HAVE_PID_T 1
15972 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15973 if test "x$ac_cv_type_size_t" = xyes
; then :
15975 cat >>confdefs.h
<<_ACEOF
15976 #define HAVE_SIZE_T 1
15981 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15982 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15984 cat >>confdefs.h
<<_ACEOF
15985 #define HAVE_SSIZE_T 1
15990 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15991 if test "x$ac_cv_type_long_long" = xyes
; then :
15993 cat >>confdefs.h
<<_ACEOF
15994 #define HAVE_LONG_LONG 1
15999 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16000 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
16002 cat >>confdefs.h
<<_ACEOF
16003 #define HAVE_FSBLKCNT_T 1
16008 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16009 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
16011 cat >>confdefs.h
<<_ACEOF
16012 #define HAVE_FSFILCNT_T 1
16018 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16019 #include <signal.h>
16021 if test "x$ac_cv_type_sigset_t" = xyes
; then :
16023 cat >>confdefs.h
<<_ACEOF
16024 #define HAVE_SIGSET_T 1
16030 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16032 if test "x$ac_cv_type_request_sense" = xyes
; then :
16034 cat >>confdefs.h
<<_ACEOF
16035 #define HAVE_REQUEST_SENSE 1
16042 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16043 #ifdef HAVE_SYS_SOCKET_H
16044 #include <sys/socket.h>
16046 #ifdef HAVE_SYS_SOCKETVAR_H
16047 #include <sys/socketvar.h>
16049 #ifdef HAVE_NET_ROUTE_H
16050 #include <net/route.h>
16052 #ifdef HAVE_NETINET_IN_H
16053 #include <netinet/in.h>
16055 #ifdef HAVE_NETINET_IN_SYSTM_H
16056 #include <netinet/in_systm.h>
16058 #ifdef HAVE_NETINET_IP_H
16059 #include <netinet/ip.h>
16061 #ifdef HAVE_NETINET_IN_PCB_H
16062 #include <netinet/in_pcb.h>
16065 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
16067 cat >>confdefs.h
<<_ACEOF
16068 #define HAVE_STRUCT_XINPGEN 1
16075 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16078 #ifdef HAVE_SYS_LINK_H
16079 #include <sys/link.h>
16082 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
16084 cat >>confdefs.h
<<_ACEOF
16085 #define HAVE_STRUCT_R_DEBUG 1
16090 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16093 #ifdef HAVE_SYS_LINK_H
16094 #include <sys/link.h>
16097 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
16099 cat >>confdefs.h
<<_ACEOF
16100 #define HAVE_STRUCT_LINK_MAP 1
16107 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16108 #include <linux/input.h>
16111 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
16113 cat >>confdefs.h
<<_ACEOF
16114 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16122 $as_echo_n "checking for sigaddset... " >&6; }
16123 if ${wine_cv_have_sigaddset+:} false
; then :
16124 $as_echo_n "(cached) " >&6
16126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16127 /* end confdefs.h. */
16128 #include <signal.h>
16132 sigset_t set; sigaddset(&set,SIGTERM);
16137 if ac_fn_c_try_link
"$LINENO"; then :
16138 wine_cv_have_sigaddset
=yes
16140 wine_cv_have_sigaddset
=no
16142 rm -f core conftest.err conftest.
$ac_objext \
16143 conftest
$ac_exeext conftest.
$ac_ext
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16146 $as_echo "$wine_cv_have_sigaddset" >&6; }
16147 if test "$wine_cv_have_sigaddset" = "yes"
16150 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16156 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16157 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
16158 $as_echo_n "(cached) " >&6
16160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16161 /* end confdefs.h. */
16169 struct hostent *result;
16176 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16177 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16183 if ac_fn_c_try_link
"$LINENO"; then :
16184 wine_cv_linux_gethostbyname_r_6
=yes
16186 wine_cv_linux_gethostbyname_r_6
=no
16189 rm -f core conftest.err conftest.
$ac_objext \
16190 conftest
$ac_exeext conftest.
$ac_ext
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16194 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16195 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16198 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16202 if test "$ac_cv_header_linux_joystick_h" = "yes"
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16205 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16206 if ${wine_cv_linux_joystick_22_api+:} false
; then :
16207 $as_echo_n "(cached) " >&6
16209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16210 /* end confdefs.h. */
16212 #include <sys/ioctl.h>
16213 #include <sys/types.h>
16214 #include <linux/joystick.h>
16216 struct js_event blub;
16217 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16218 #error "no 2.2 header"
16229 if ac_fn_c_try_compile
"$LINENO"; then :
16230 wine_cv_linux_joystick_22_api
=yes
16232 wine_cv_linux_joystick_22_api
=no
16234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16238 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16239 if test "$wine_cv_linux_joystick_22_api" = "yes"
16242 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16248 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16249 #ifdef HAVE_SYS_PARAM_H
16250 # include <sys/param.h>
16252 #ifdef HAVE_SYS_MOUNT_H
16253 # include <sys/mount.h>
16255 #ifdef HAVE_SYS_VFS_H
16256 # include <sys/vfs.h>
16258 #ifdef HAVE_SYS_STATFS_H
16259 # include <sys/statfs.h>
16262 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16264 cat >>confdefs.h
<<_ACEOF
16265 #define HAVE_STRUCT_STATFS_F_BFREE 1
16270 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16271 #ifdef HAVE_SYS_PARAM_H
16272 # include <sys/param.h>
16274 #ifdef HAVE_SYS_MOUNT_H
16275 # include <sys/mount.h>
16277 #ifdef HAVE_SYS_VFS_H
16278 # include <sys/vfs.h>
16280 #ifdef HAVE_SYS_STATFS_H
16281 # include <sys/statfs.h>
16284 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16286 cat >>confdefs.h
<<_ACEOF
16287 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16292 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16293 #ifdef HAVE_SYS_PARAM_H
16294 # include <sys/param.h>
16296 #ifdef HAVE_SYS_MOUNT_H
16297 # include <sys/mount.h>
16299 #ifdef HAVE_SYS_VFS_H
16300 # include <sys/vfs.h>
16302 #ifdef HAVE_SYS_STATFS_H
16303 # include <sys/statfs.h>
16306 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16308 cat >>confdefs.h
<<_ACEOF
16309 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16314 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16315 #ifdef HAVE_SYS_PARAM_H
16316 # include <sys/param.h>
16318 #ifdef HAVE_SYS_MOUNT_H
16319 # include <sys/mount.h>
16321 #ifdef HAVE_SYS_VFS_H
16322 # include <sys/vfs.h>
16324 #ifdef HAVE_SYS_STATFS_H
16325 # include <sys/statfs.h>
16328 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16330 cat >>confdefs.h
<<_ACEOF
16331 #define HAVE_STRUCT_STATFS_F_FFREE 1
16336 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16337 #ifdef HAVE_SYS_PARAM_H
16338 # include <sys/param.h>
16340 #ifdef HAVE_SYS_MOUNT_H
16341 # include <sys/mount.h>
16343 #ifdef HAVE_SYS_VFS_H
16344 # include <sys/vfs.h>
16346 #ifdef HAVE_SYS_STATFS_H
16347 # include <sys/statfs.h>
16350 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16352 cat >>confdefs.h
<<_ACEOF
16353 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16358 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16359 #ifdef HAVE_SYS_PARAM_H
16360 # include <sys/param.h>
16362 #ifdef HAVE_SYS_MOUNT_H
16363 # include <sys/mount.h>
16365 #ifdef HAVE_SYS_VFS_H
16366 # include <sys/vfs.h>
16368 #ifdef HAVE_SYS_STATFS_H
16369 # include <sys/statfs.h>
16372 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16374 cat >>confdefs.h
<<_ACEOF
16375 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16382 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16383 #include <sys/statvfs.h>
16386 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16388 cat >>confdefs.h
<<_ACEOF
16389 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16396 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16397 #include <dirent.h>
16400 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16402 cat >>confdefs.h
<<_ACEOF
16403 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16410 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16411 #ifdef HAVE_SYS_SOCKET_H
16412 # include <sys/socket.h>
16414 #ifdef HAVE_SYS_UN_H
16415 # include <sys/un.h>
16418 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16420 cat >>confdefs.h
<<_ACEOF
16421 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16426 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16427 #ifdef HAVE_SYS_SOCKET_H
16428 # include <sys/socket.h>
16430 #ifdef HAVE_SYS_UN_H
16431 # include <sys/un.h>
16434 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16436 cat >>confdefs.h
<<_ACEOF
16437 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16442 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16443 #ifdef HAVE_SYS_SOCKET_H
16444 # include <sys/socket.h>
16446 #ifdef HAVE_SYS_UN_H
16447 # include <sys/un.h>
16450 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16452 cat >>confdefs.h
<<_ACEOF
16453 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16460 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16461 #ifdef HAVE_SCSI_SG_H
16462 #include <scsi/sg.h>
16465 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16467 cat >>confdefs.h
<<_ACEOF
16468 #define HAVE_SCSIREQ_T_CMD 1
16473 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>
16474 #ifdef HAVE_SCSI_SG_H
16475 #include <scsi/sg.h>
16478 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16480 cat >>confdefs.h
<<_ACEOF
16481 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16488 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16490 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16492 cat >>confdefs.h
<<_ACEOF
16493 #define HAVE_SIGINFO_T_SI_FD 1
16500 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16501 #ifdef HAVE_SYS_MTIO_H
16502 #include <sys/mtio.h>
16505 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16507 cat >>confdefs.h
<<_ACEOF
16508 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16513 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16514 #ifdef HAVE_SYS_MTIO_H
16515 #include <sys/mtio.h>
16518 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16520 cat >>confdefs.h
<<_ACEOF
16521 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16526 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16527 #ifdef HAVE_SYS_MTIO_H
16528 #include <sys/mtio.h>
16531 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16533 cat >>confdefs.h
<<_ACEOF
16534 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16541 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16542 #include <getopt.h>
16545 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16547 cat >>confdefs.h
<<_ACEOF
16548 #define HAVE_STRUCT_OPTION_NAME 1
16555 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16556 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16558 cat >>confdefs.h
<<_ACEOF
16559 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16564 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16565 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16567 cat >>confdefs.h
<<_ACEOF
16568 #define HAVE_STRUCT_STAT_ST_MTIM 1
16573 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16574 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16576 cat >>confdefs.h
<<_ACEOF
16577 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16582 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16583 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16585 cat >>confdefs.h
<<_ACEOF
16586 #define HAVE_STRUCT_STAT_ST_CTIM 1
16591 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16592 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16594 cat >>confdefs.h
<<_ACEOF
16595 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16600 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16601 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16603 cat >>confdefs.h
<<_ACEOF
16604 #define HAVE_STRUCT_STAT_ST_ATIM 1
16609 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16610 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16612 cat >>confdefs.h
<<_ACEOF
16613 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16618 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16619 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16621 cat >>confdefs.h
<<_ACEOF
16622 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16627 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16628 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16630 cat >>confdefs.h
<<_ACEOF
16631 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16636 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16637 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16639 cat >>confdefs.h
<<_ACEOF
16640 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16645 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16646 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16648 cat >>confdefs.h
<<_ACEOF
16649 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16654 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16655 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16657 cat >>confdefs.h
<<_ACEOF
16658 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16665 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
16666 #include <sys/types.h>
16668 #ifdef HAVE_NETINET_IN_H
16669 #include <netinet/in.h>
16672 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16674 cat >>confdefs.h
<<_ACEOF
16675 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16682 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16683 #include <resolv.h>
16686 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16688 cat >>confdefs.h
<<_ACEOF
16689 #define HAVE_STRUCT___RES_STATE 1
16696 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
16697 #include <resolv.h>
16700 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16702 cat >>confdefs.h
<<_ACEOF
16703 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16710 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16711 #include <sys/types.h>
16713 #ifdef HAVE_NETINET_IN_H
16714 # include <netinet/in.h>
16716 #ifdef HAVE_ARPA_NAMESER_H
16717 # include <arpa/nameser.h>
16720 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16722 cat >>confdefs.h
<<_ACEOF
16723 #define HAVE_NS_MSG__MSG_PTR 1
16730 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16731 #include <sys/types.h>
16733 #ifdef HAVE_NETINET_IP_H
16734 #include <netinet/ip.h>
16736 #ifdef HAVE_NETINET_IP_ICMP_H
16737 #include <netinet/ip_icmp.h>
16739 #ifdef HAVE_NETINET_ICMP_VAR_H
16740 #include <netinet/icmp_var.h>
16743 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16745 cat >>confdefs.h
<<_ACEOF
16746 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16753 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16754 #include <sys/types.h>
16756 #ifdef HAVE_ALIAS_H
16759 #ifdef HAVE_SYS_SOCKET_H
16760 #include <sys/socket.h>
16762 #ifdef HAVE_SYS_SOCKETVAR_H
16763 #include <sys/socketvar.h>
16765 #ifdef HAVE_SYS_TIMEOUT_H
16766 #include <sys/timeout.h>
16768 #ifdef HAVE_NETINET_IN_H
16769 #include <netinet/in.h>
16771 #ifdef HAVE_NETINET_IN_SYSTM_H
16772 #include <netinet/in_systm.h>
16774 #ifdef HAVE_NETINET_IP_H
16775 #include <netinet/ip.h>
16777 #ifdef HAVE_NETINET_IP_VAR_H
16778 #include <netinet/ip_var.h>
16780 #ifdef HAVE_NETINET_IP_ICMP_H
16781 #include <netinet/ip_icmp.h>
16783 #ifdef HAVE_NETINET_ICMP_VAR_H
16784 #include <netinet/icmp_var.h>
16787 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16789 cat >>confdefs.h
<<_ACEOF
16790 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16797 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16798 #include <sys/types.h>
16800 #ifdef HAVE_SYS_SOCKETVAR_H
16801 #include <sys/socketvar.h>
16803 #ifdef HAVE_NETINET_IN_H
16804 #include <netinet/in.h>
16806 #ifdef HAVE_NETINET_IP_VAR_H
16807 #include <netinet/ip_var.h>
16810 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16812 cat >>confdefs.h
<<_ACEOF
16813 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16820 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
16821 #include <netinet/ip_var.h>
16824 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16826 cat >>confdefs.h
<<_ACEOF
16827 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16834 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16835 #include <sys/types.h>
16837 #ifdef HAVE_SYS_SOCKETVAR_H
16838 #include <sys/socketvar.h>
16840 #ifdef HAVE_NETINET_IN_H
16841 #include <netinet/in.h>
16843 #ifdef HAVE_NETINET_TCP_H
16844 #include <netinet/tcp.h>
16846 #ifdef HAVE_NETINET_TCP_VAR_H
16847 #include <netinet/tcp_var.h>
16850 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16852 cat >>confdefs.h
<<_ACEOF
16853 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16860 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
16861 #include <netinet/tcp_var.h>
16864 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16866 cat >>confdefs.h
<<_ACEOF
16867 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16874 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16875 #include <sys/types.h>
16877 #ifdef HAVE_NETINET_IN_H
16878 #include <netinet/in.h>
16880 #ifdef HAVE_NETINET_IP_VAR_H
16881 #include <netinet/ip_var.h>
16883 #ifdef HAVE_NETINET_UDP_H
16884 #include <netinet/udp.h>
16886 #ifdef HAVE_NETINET_UDP_VAR_H
16887 #include <netinet/udp_var.h>
16890 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16892 cat >>confdefs.h
<<_ACEOF
16893 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16900 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16901 #include <sys/types.h>
16903 #ifdef HAVE_NET_IF_H
16904 # include <net/if.h>
16907 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16909 cat >>confdefs.h
<<_ACEOF
16910 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16918 $as_echo_n "checking for timezone variable... " >&6; }
16919 if ${ac_cv_have_timezone+:} false
; then :
16920 $as_echo_n "(cached) " >&6
16922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16923 /* end confdefs.h. */
16933 if ac_fn_c_try_link
"$LINENO"; then :
16934 ac_cv_have_timezone
="yes"
16936 ac_cv_have_timezone
="no"
16938 rm -f core conftest.err conftest.
$ac_objext \
16939 conftest
$ac_exeext conftest.
$ac_ext
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16942 $as_echo "$ac_cv_have_timezone" >&6; }
16943 if test "$ac_cv_have_timezone" = "yes"
16946 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16950 $as_echo_n "checking for daylight variable... " >&6; }
16951 if ${ac_cv_have_daylight+:} false
; then :
16952 $as_echo_n "(cached) " >&6
16954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16955 /* end confdefs.h. */
16965 if ac_fn_c_try_link
"$LINENO"; then :
16966 ac_cv_have_daylight
="yes"
16968 ac_cv_have_daylight
="no"
16970 rm -f core conftest.err conftest.
$ac_objext \
16971 conftest
$ac_exeext conftest.
$ac_ext
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16974 $as_echo "$ac_cv_have_daylight" >&6; }
16975 if test "$ac_cv_have_daylight" = "yes"
16978 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16982 ac_save_LIBS
="$LIBS"
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16985 $as_echo_n "checking for isfinite... " >&6; }
16986 if ${ac_cv_have_isfinite+:} false
; then :
16987 $as_echo_n "(cached) " >&6
16989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16990 /* end confdefs.h. */
16991 #define _GNU_SOURCE
16996 float f = 0.0; return isfinite(f)
17001 if ac_fn_c_try_link
"$LINENO"; then :
17002 ac_cv_have_isfinite
="yes"
17004 ac_cv_have_isfinite
="no"
17006 rm -f core conftest.err conftest.
$ac_objext \
17007 conftest
$ac_exeext conftest.
$ac_ext
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17010 $as_echo "$ac_cv_have_isfinite" >&6; }
17011 if test "$ac_cv_have_isfinite" = "yes"
17014 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17019 $as_echo_n "checking for isinf... " >&6; }
17020 if ${ac_cv_have_isinf+:} false
; then :
17021 $as_echo_n "(cached) " >&6
17023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17024 /* end confdefs.h. */
17029 float f = 0.0; return isinf(f)
17034 if ac_fn_c_try_link
"$LINENO"; then :
17035 ac_cv_have_isinf
="yes"
17037 ac_cv_have_isinf
="no"
17039 rm -f core conftest.err conftest.
$ac_objext \
17040 conftest
$ac_exeext conftest.
$ac_ext
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17043 $as_echo "$ac_cv_have_isinf" >&6; }
17044 if test "$ac_cv_have_isinf" = "yes"
17047 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17052 $as_echo_n "checking for isnan... " >&6; }
17053 if ${ac_cv_have_isnan+:} false
; then :
17054 $as_echo_n "(cached) " >&6
17056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17057 /* end confdefs.h. */
17062 float f = 0.0; return isnan(f)
17067 if ac_fn_c_try_link
"$LINENO"; then :
17068 ac_cv_have_isnan
="yes"
17070 ac_cv_have_isnan
="no"
17072 rm -f core conftest.err conftest.
$ac_objext \
17073 conftest
$ac_exeext conftest.
$ac_ext
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17076 $as_echo "$ac_cv_have_isnan" >&6; }
17077 if test "$ac_cv_have_isnan" = "yes"
17080 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17116 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17117 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17118 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17119 cat >>confdefs.h
<<_ACEOF
17120 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17126 LIBS
="$ac_save_LIBS"
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17129 $as_echo_n "checking for __builtin_clz... " >&6; }
17130 if ${ac_cv_have___builtin_clz+:} false
; then :
17131 $as_echo_n "(cached) " >&6
17133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17134 /* end confdefs.h. */
17139 return __builtin_clz(1)
17144 if ac_fn_c_try_link
"$LINENO"; then :
17145 ac_cv_have___builtin_clz
="yes"
17147 ac_cv_have___builtin_clz
="no"
17149 rm -f core conftest.err conftest.
$ac_objext \
17150 conftest
$ac_exeext conftest.
$ac_ext
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17153 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17154 if test "$ac_cv_have___builtin_clz" = "yes"
17157 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17162 $as_echo_n "checking for __builtin_popcount... " >&6; }
17163 if ${ac_cv_have___builtin_popcount+:} false
; then :
17164 $as_echo_n "(cached) " >&6
17166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17167 /* end confdefs.h. */
17172 return __builtin_popcount(1)
17177 if ac_fn_c_try_link
"$LINENO"; then :
17178 ac_cv_have___builtin_popcount
="yes"
17180 ac_cv_have___builtin_popcount
="no"
17182 rm -f core conftest.err conftest.
$ac_objext \
17183 conftest
$ac_exeext conftest.
$ac_ext
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17186 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17187 if test "$ac_cv_have___builtin_popcount" = "yes"
17190 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17196 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17197 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17198 if ${ac_cv_cpp_def___i386__+:} false
; then :
17199 $as_echo_n "(cached) " >&6
17201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17202 /* end confdefs.h. */
17207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17208 $EGREP "yes" >/dev
/null
2>&1; then :
17209 ac_cv_cpp_def___i386__
=yes
17211 ac_cv_cpp_def___i386__
=no
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17217 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17218 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
17219 CFLAGS
="$CFLAGS -D__i386__"
17220 LINTFLAGS
="$LINTFLAGS -D__i386__"
17222 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17223 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17224 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
17225 $as_echo_n "(cached) " >&6
17227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17228 /* end confdefs.h. */
17233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17234 $EGREP "yes" >/dev
/null
2>&1; then :
17235 ac_cv_cpp_def___x86_64__
=yes
17237 ac_cv_cpp_def___x86_64__
=no
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17243 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17244 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
17245 CFLAGS
="$CFLAGS -D__x86_64__"
17246 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
17248 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17249 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17250 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
17251 $as_echo_n "(cached) " >&6
17253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17254 /* end confdefs.h. */
17255 #ifndef __sparc64__
17259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17260 $EGREP "yes" >/dev
/null
2>&1; then :
17261 ac_cv_cpp_def___sparc64__
=yes
17263 ac_cv_cpp_def___sparc64__
=no
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17269 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17270 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
17271 CFLAGS
="$CFLAGS -D__sparc64__"
17272 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
17274 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17275 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17276 if ${ac_cv_cpp_def___sparc__+:} false
; then :
17277 $as_echo_n "(cached) " >&6
17279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17280 /* end confdefs.h. */
17285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17286 $EGREP "yes" >/dev
/null
2>&1; then :
17287 ac_cv_cpp_def___sparc__
=yes
17289 ac_cv_cpp_def___sparc__
=no
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17295 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17296 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
17297 CFLAGS
="$CFLAGS -D__sparc__"
17298 LINTFLAGS
="$LINTFLAGS -D__sparc__"
17300 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17301 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17302 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
17303 $as_echo_n "(cached) " >&6
17305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17306 /* end confdefs.h. */
17307 #ifndef __powerpc64__
17311 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17312 $EGREP "yes" >/dev
/null
2>&1; then :
17313 ac_cv_cpp_def___powerpc64__
=yes
17315 ac_cv_cpp_def___powerpc64__
=no
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17321 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17322 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
17323 CFLAGS
="$CFLAGS -D__powerpc64__"
17324 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
17326 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17327 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17328 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
17329 $as_echo_n "(cached) " >&6
17331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17332 /* end confdefs.h. */
17333 #ifndef __powerpc__
17337 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17338 $EGREP "yes" >/dev
/null
2>&1; then :
17339 ac_cv_cpp_def___powerpc__
=yes
17341 ac_cv_cpp_def___powerpc__
=no
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17347 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17348 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
17349 CFLAGS
="$CFLAGS -D__powerpc__"
17350 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
17352 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17353 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17354 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
17355 $as_echo_n "(cached) " >&6
17357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17358 /* end confdefs.h. */
17359 #ifndef __aarch64__
17363 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17364 $EGREP "yes" >/dev
/null
2>&1; then :
17365 ac_cv_cpp_def___aarch64__
=yes
17367 ac_cv_cpp_def___aarch64__
=no
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17373 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17374 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17375 CFLAGS
="$CFLAGS -D__aarch64__"
17376 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17378 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17379 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17380 if ${ac_cv_cpp_def___arm__+:} false
; then :
17381 $as_echo_n "(cached) " >&6
17383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17384 /* end confdefs.h. */
17389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17390 $EGREP "yes" >/dev
/null
2>&1; then :
17391 ac_cv_cpp_def___arm__
=yes
17393 ac_cv_cpp_def___arm__
=no
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17399 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17400 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17401 CFLAGS
="$CFLAGS -D__arm__"
17402 LINTFLAGS
="$LINTFLAGS -D__arm__"
17406 case $host_vendor in
17407 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17408 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17409 if ${ac_cv_cpp_def___sun__+:} false
; then :
17410 $as_echo_n "(cached) " >&6
17412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17413 /* end confdefs.h. */
17418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17419 $EGREP "yes" >/dev
/null
2>&1; then :
17420 ac_cv_cpp_def___sun__
=yes
17422 ac_cv_cpp_def___sun__
=no
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17428 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17429 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17430 CFLAGS
="$CFLAGS -D__sun__"
17431 LINTFLAGS
="$LINTFLAGS -D__sun__"
17439 ac_config_commands
="$ac_config_commands include/stamp-h"
17441 $as_echo_n "creating Makefile rules..." >&6
17443 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17444 SOCKET_LIBS = $SOCKET_LIBS
17445 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17446 IOKIT_LIBS = $IOKIT_LIBS
17447 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17448 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17449 CORESERVICES_LIBS = $CORESERVICES_LIBS
17450 APPKIT_LIBS = $APPKIT_LIBS
17451 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17452 SECURITY_LIBS = $SECURITY_LIBS
17453 COREAUDIO_LIBS = $COREAUDIO_LIBS
17454 OPENAL_LIBS = $OPENAL_LIBS
17455 OPENCL_LIBS = $OPENCL_LIBS
17456 QUICKTIME_LIBS = $QUICKTIME_LIBS
17457 CARBON_LIBS = $CARBON_LIBS
17458 PTHREAD_LIBS = $PTHREAD_LIBS
17459 X_CFLAGS = $X_CFLAGS
17460 X_PRE_LIBS = $X_PRE_LIBS
17462 X_EXTRA_LIBS = $X_EXTRA_LIBS
17463 PCAP_LIBS = $PCAP_LIBS
17464 XML2_CFLAGS = $XML2_CFLAGS
17465 XML2_LIBS = $XML2_LIBS
17466 XSLT_CFLAGS = $XSLT_CFLAGS
17467 XSLT_LIBS = $XSLT_LIBS
17468 DBUS_CFLAGS = $DBUS_CFLAGS
17469 DBUS_LIBS = $DBUS_LIBS
17470 HAL_CFLAGS = $HAL_CFLAGS
17471 HAL_LIBS = $HAL_LIBS
17472 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17473 GNUTLS_LIBS = $GNUTLS_LIBS
17474 SANE_CFLAGS = $SANE_CFLAGS
17475 SANE_LIBS = $SANE_LIBS
17476 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17477 GPHOTO2_LIBS = $GPHOTO2_LIBS
17478 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17479 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17480 RESOLV_LIBS = $RESOLV_LIBS
17481 LCMS2_CFLAGS = $LCMS2_CFLAGS
17482 LCMS2_LIBS = $LCMS2_LIBS
17483 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17484 FREETYPE_LIBS = $FREETYPE_LIBS
17486 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17487 PULSE_CFLAGS = $PULSE_CFLAGS
17488 PULSE_LIBS = $PULSE_LIBS
17489 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17490 GSTREAMER_LIBS = $GSTREAMER_LIBS
17491 ALSA_LIBS = $ALSA_LIBS
17492 OSS4_CFLAGS = $OSS4_CFLAGS
17493 UDEV_CFLAGS = $UDEV_CFLAGS
17494 UDEV_LIBS = $UDEV_LIBS
17495 CAPI20_CFLAGS = $CAPI20_CFLAGS
17496 CAPI20_LIBS = $CAPI20_LIBS
17497 CUPS_CFLAGS = $CUPS_CFLAGS
17498 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17499 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17500 JPEG_CFLAGS = $JPEG_CFLAGS
17501 JPEG_LIBS = $JPEG_LIBS
17502 PNG_CFLAGS = $PNG_CFLAGS
17503 PNG_LIBS = $PNG_LIBS
17504 TIFF_CFLAGS = $TIFF_CFLAGS
17505 TIFF_LIBS = $TIFF_LIBS
17506 MPG123_CFLAGS = $MPG123_CFLAGS
17507 MPG123_LIBS = $MPG123_LIBS
17508 KSTAT_LIBS = $KSTAT_LIBS
17509 PROCSTAT_LIBS = $PROCSTAT_LIBS
17510 NETAPI_CFLAGS = $NETAPI_CFLAGS
17511 NETAPI_LIBS = $NETAPI_LIBS
17512 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17514 POLL_LIBS = $POLL_LIBS
17516 LDAP_LIBS = $LDAP_LIBS
17521 wine_fn_append_rule
"
17522 # Rules automatically generated by configure
17524 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17529 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17530 @./config.status Make.tmp Makefile
17531 depend: \$(MAKEDEP) dummy
17534 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17535 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17537 if test "x$enable_fonts" != xno
; then
17538 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17539 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17540 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17541 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17542 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17543 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17545 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17546 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17547 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17548 wine_fn_config_symlink wine
17549 if test "x$enable_win64" != xno
; then
17550 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17551 wine_fn_config_symlink wine64
17554 wine_fn_config_dll acledit enable_acledit
17555 wine_fn_config_dll aclui enable_aclui implib
17556 wine_fn_config_dll activeds enable_activeds implib
17557 wine_fn_config_dll actxprxy enable_actxprxy clean
17558 wine_fn_config_lib adsiid
17559 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17560 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17561 wine_fn_config_dll advpack enable_advpack implib
17562 wine_fn_config_test dlls
/advpack
/tests advpack_test
17563 wine_fn_config_dll amstream enable_amstream clean
17564 wine_fn_config_test dlls
/amstream
/tests amstream_test
17565 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17566 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17567 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17568 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17569 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17570 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17571 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17572 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17573 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17574 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17575 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17576 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17577 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17578 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17579 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17580 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17581 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17582 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17583 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17584 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17585 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17586 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17587 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17588 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17589 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17590 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17591 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17592 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17593 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17594 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17595 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17596 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17597 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17598 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17599 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17600 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17601 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17602 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17603 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17604 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17605 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17606 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17607 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17608 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17609 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17610 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17611 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17613 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17616 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17617 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17618 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17620 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17621 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17622 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17624 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17625 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17626 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17627 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17629 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17630 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17634 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17635 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17637 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17642 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17643 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17645 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17646 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17647 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17648 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17649 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17651 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17661 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17662 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17663 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17667 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17669 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17670 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17671 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17672 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17673 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17674 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17675 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17676 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17677 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17678 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17679 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17680 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17681 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17682 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17683 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17684 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17685 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17686 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17687 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17688 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17689 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17690 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17691 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17692 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17693 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17694 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17695 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17696 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17697 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17698 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17699 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17700 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17701 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17702 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17703 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17704 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17705 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17706 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17707 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17708 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17709 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17710 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17711 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17712 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17713 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17714 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17715 wine_fn_config_dll apphelp enable_apphelp
17716 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17717 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17718 wine_fn_config_dll atl enable_atl clean
,implib
17719 wine_fn_config_test dlls
/atl
/tests atl_test
17720 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17721 wine_fn_config_test dlls
/atl100
/tests atl100_test
17722 wine_fn_config_dll atl110 enable_atl110 clean
17723 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17724 wine_fn_config_test dlls
/atl80
/tests atl80_test
17725 wine_fn_config_dll atl90 enable_atl90 clean
17726 wine_fn_config_dll authz enable_authz
17727 wine_fn_config_dll avicap32 enable_avicap32 implib
17728 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
17729 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17730 wine_fn_config_dll avifile.dll16 enable_win16
17731 wine_fn_config_dll avrt enable_avrt implib
17732 wine_fn_config_dll bcrypt enable_bcrypt implib
17733 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17734 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17735 wine_fn_config_dll browseui enable_browseui clean
17736 wine_fn_config_test dlls
/browseui
/tests browseui_test
17737 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17738 wine_fn_config_dll cabinet enable_cabinet implib
17739 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17740 wine_fn_config_dll capi2032 enable_capi2032 implib
17741 wine_fn_config_dll cards enable_cards implib
17742 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17743 wine_fn_config_dll clusapi enable_clusapi implib
17744 wine_fn_config_dll combase enable_combase
17745 wine_fn_config_test dlls
/combase
/tests combase_test
17746 wine_fn_config_dll comcat enable_comcat
17747 wine_fn_config_test dlls
/comcat
/tests comcat_test
17748 wine_fn_config_dll comctl32 enable_comctl32 clean
,implib
17749 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17750 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
17751 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17752 wine_fn_config_dll
comm.drv16 enable_win16
17753 wine_fn_config_dll commdlg.dll16 enable_win16
17754 wine_fn_config_dll compobj.dll16 enable_win16
17755 wine_fn_config_dll compstui enable_compstui implib
17756 wine_fn_config_dll comsvcs enable_comsvcs implib
17757 wine_fn_config_dll concrt140 enable_concrt140
17758 wine_fn_config_dll connect enable_connect
17759 wine_fn_config_dll credui enable_credui clean
,implib
17760 wine_fn_config_test dlls
/credui
/tests credui_test
17761 wine_fn_config_dll crtdll enable_crtdll
17762 wine_fn_config_dll crypt32 enable_crypt32 clean
,implib
17763 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17764 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17765 wine_fn_config_dll cryptdll enable_cryptdll implib
17766 wine_fn_config_dll cryptext enable_cryptext
17767 wine_fn_config_dll cryptnet enable_cryptnet implib
17768 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17769 wine_fn_config_dll cryptui enable_cryptui clean
,implib
17770 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17771 wine_fn_config_dll ctapi32 enable_ctapi32
17772 wine_fn_config_dll ctl3d.dll16 enable_win16
17773 wine_fn_config_dll ctl3d32 enable_ctl3d32
17774 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17775 wine_fn_config_dll d2d1 enable_d2d1 implib
17776 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17777 wine_fn_config_dll d3d10 enable_d3d10 implib
17778 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17779 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17780 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
17781 wine_fn_config_dll d3d10core enable_d3d10core implib
17782 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17783 wine_fn_config_dll d3d11 enable_d3d11 implib
17784 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17785 wine_fn_config_dll d3d8 enable_d3d8 implib
17786 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17787 wine_fn_config_dll d3d9 enable_d3d9 implib
17788 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17789 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17790 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17791 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17792 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17793 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17794 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17795 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17796 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17797 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17798 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17799 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17800 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17801 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17802 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17803 wine_fn_config_dll d3dim enable_d3dim
17804 wine_fn_config_dll d3drm enable_d3drm implib
17805 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17806 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17807 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17808 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17809 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17810 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17811 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17812 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17813 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17814 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17815 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17816 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17817 wine_fn_config_test dlls
/d3dx10_43
/tests d3dx10_43_test
17818 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17819 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17820 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17821 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17822 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17823 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17824 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17825 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17826 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17827 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17828 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17829 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17830 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17831 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17832 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17833 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17834 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17835 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17836 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17837 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17838 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17839 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17840 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17841 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17842 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17843 wine_fn_config_dll davclnt enable_davclnt
17844 wine_fn_config_dll dbgeng enable_dbgeng implib
17845 wine_fn_config_dll dbghelp enable_dbghelp implib
17846 wine_fn_config_dll dciman32 enable_dciman32 implib
17847 wine_fn_config_dll ddeml.dll16 enable_win16
17848 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17849 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17850 wine_fn_config_dll ddrawex enable_ddrawex clean
17851 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17852 wine_fn_config_dll devenum enable_devenum clean
17853 wine_fn_config_test dlls
/devenum
/tests devenum_test
17854 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17855 wine_fn_config_dll difxapi enable_difxapi
17856 wine_fn_config_dll dinput enable_dinput clean
,implib
,staticimplib
17857 wine_fn_config_test dlls
/dinput
/tests dinput_test
17858 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17859 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17860 wine_fn_config_dll dispdib.dll16 enable_win16
17861 wine_fn_config_dll dispex enable_dispex clean
17862 wine_fn_config_test dlls
/dispex
/tests dispex_test
17863 wine_fn_config_dll display.drv16 enable_win16
17864 wine_fn_config_dll dmband enable_dmband clean
17865 wine_fn_config_test dlls
/dmband
/tests dmband_test
17866 wine_fn_config_dll dmcompos enable_dmcompos clean
17867 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17868 wine_fn_config_dll dmime enable_dmime clean
17869 wine_fn_config_test dlls
/dmime
/tests dmime_test
17870 wine_fn_config_dll dmloader enable_dmloader clean
17871 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17872 wine_fn_config_dll dmscript enable_dmscript clean
17873 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17874 wine_fn_config_dll dmstyle enable_dmstyle clean
17875 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17876 wine_fn_config_dll dmsynth enable_dmsynth clean
17877 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17878 wine_fn_config_dll dmusic enable_dmusic clean
17879 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17880 wine_fn_config_dll dmusic32 enable_dmusic32
17881 wine_fn_config_dll dnsapi enable_dnsapi implib
17882 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17883 wine_fn_config_dll dplay enable_dplay
17884 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17885 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17886 wine_fn_config_dll dpnaddr enable_dpnaddr
17887 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17888 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17889 wine_fn_config_dll dpnhpast enable_dpnhpast
17890 wine_fn_config_dll dpnlobby enable_dpnlobby
17891 wine_fn_config_dll dpvoice enable_dpvoice clean
17892 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17893 wine_fn_config_dll dpwsockx enable_dpwsockx
17894 wine_fn_config_dll drmclien enable_drmclien
17895 wine_fn_config_dll dsound enable_dsound clean
,implib
17896 wine_fn_config_test dlls
/dsound
/tests dsound_test
17897 wine_fn_config_dll dssenh enable_dssenh
17898 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17899 wine_fn_config_dll dswave enable_dswave clean
17900 wine_fn_config_test dlls
/dswave
/tests dswave_test
17901 wine_fn_config_dll dwmapi enable_dwmapi implib
17902 wine_fn_config_dll dwrite enable_dwrite implib
17903 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17904 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17905 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17906 wine_fn_config_lib dxerr8
17907 wine_fn_config_lib dxerr9
17908 wine_fn_config_dll dxgi enable_dxgi implib
17909 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17910 wine_fn_config_lib dxguid
17911 wine_fn_config_dll dxva2 enable_dxva2
17912 wine_fn_config_dll esent enable_esent
17913 wine_fn_config_dll evr enable_evr
17914 wine_fn_config_dll explorerframe enable_explorerframe clean
17915 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17916 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17917 wine_fn_config_dll faultrep enable_faultrep implib
17918 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17919 wine_fn_config_dll fltlib enable_fltlib
17920 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17921 wine_fn_config_dll fntcache enable_fntcache
17922 wine_fn_config_dll fontsub enable_fontsub
17923 wine_fn_config_dll fusion enable_fusion
17924 wine_fn_config_test dlls
/fusion
/tests fusion_test
17925 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17926 wine_fn_config_dll gameux enable_gameux clean
17927 wine_fn_config_test dlls
/gameux
/tests gameux_test
17928 wine_fn_config_dll gdi.exe16 enable_win16
17929 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
17930 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17931 wine_fn_config_dll gdiplus enable_gdiplus implib
17932 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17933 wine_fn_config_dll glu32 enable_glu32 implib
17934 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17935 wine_fn_config_dll gpkcsp enable_gpkcsp
17936 wine_fn_config_dll hal enable_hal
17937 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib htmlhelp
17938 wine_fn_config_dll hid enable_hid implib
17939 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17940 wine_fn_config_dll hlink enable_hlink clean
,implib
17941 wine_fn_config_test dlls
/hlink
/tests hlink_test
17942 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17943 wine_fn_config_test dlls
/hnetcfg
/tests hnetcfg_test
17944 wine_fn_config_dll httpapi enable_httpapi
17945 wine_fn_config_dll iccvid enable_iccvid clean
17946 wine_fn_config_dll icmp enable_icmp
17947 wine_fn_config_dll ieframe enable_ieframe clean
,implib
17948 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17949 wine_fn_config_dll ifsmgr.vxd enable_win16
17950 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17951 wine_fn_config_dll imagehlp enable_imagehlp implib
17952 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17953 wine_fn_config_dll imm.dll16 enable_win16
17954 wine_fn_config_dll imm32 enable_imm32 implib
17955 wine_fn_config_test dlls
/imm32
/tests imm32_test
17956 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17957 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17958 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17959 wine_fn_config_dll inetmib1 enable_inetmib1
17960 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17961 wine_fn_config_dll infosoft enable_infosoft clean
17962 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17963 wine_fn_config_dll initpki enable_initpki
17964 wine_fn_config_dll inkobj enable_inkobj
17965 wine_fn_config_dll inseng enable_inseng clean
17966 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17967 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17968 wine_fn_config_dll iprop enable_iprop
17969 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17970 wine_fn_config_dll itircl enable_itircl
17971 wine_fn_config_dll itss enable_itss clean
17972 wine_fn_config_test dlls
/itss
/tests itss_test
17973 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17974 wine_fn_config_dll jscript enable_jscript clean
17975 wine_fn_config_test dlls
/jscript
/tests jscript_test
17976 wine_fn_config_dll jsproxy enable_jsproxy implib
17977 wine_fn_config_test dlls
/jsproxy
/tests jsproxy_test
17978 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
17979 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17980 wine_fn_config_dll kernelbase enable_kernelbase
17981 wine_fn_config_dll keyboard.drv16 enable_win16
17982 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17983 wine_fn_config_dll ksuser enable_ksuser
17984 wine_fn_config_dll ktmw32 enable_ktmw32
17985 wine_fn_config_dll loadperf enable_loadperf implib
17986 wine_fn_config_dll localspl enable_localspl clean
17987 wine_fn_config_test dlls
/localspl
/tests localspl_test
17988 wine_fn_config_dll localui enable_localui clean
17989 wine_fn_config_test dlls
/localui
/tests localui_test
17990 wine_fn_config_dll lz32 enable_lz32 implib
17991 wine_fn_config_test dlls
/lz32
/tests lz32_test
17992 wine_fn_config_dll lzexpand.dll16 enable_win16
17993 wine_fn_config_dll mapi32 enable_mapi32 clean
,implib
17994 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17995 wine_fn_config_dll mapistub enable_mapistub
17996 wine_fn_config_dll mciavi32 enable_mciavi32
17997 wine_fn_config_dll mcicda enable_mcicda
17998 wine_fn_config_dll mciqtz32 enable_mciqtz32
17999 wine_fn_config_dll mciseq enable_mciseq
18000 wine_fn_config_dll mciwave enable_mciwave
18001 wine_fn_config_dll mf enable_mf
18002 wine_fn_config_dll mfplat enable_mfplat
18003 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18004 wine_fn_config_dll mgmtapi enable_mgmtapi
18005 wine_fn_config_dll midimap enable_midimap
18006 wine_fn_config_dll mlang enable_mlang clean
,implib
18007 wine_fn_config_test dlls
/mlang
/tests mlang_test
18008 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18009 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
18010 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18011 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
18012 wine_fn_config_dll mmdevldr.vxd enable_win16
18013 wine_fn_config_dll mmsystem.dll16 enable_win16
18014 wine_fn_config_dll monodebg.vxd enable_win16
18015 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18016 wine_fn_config_dll mouse.drv16 enable_win16
18017 wine_fn_config_dll mpr enable_mpr clean
,implib
18018 wine_fn_config_test dlls
/mpr
/tests mpr_test
18019 wine_fn_config_dll mprapi enable_mprapi implib
18020 wine_fn_config_dll msacm.dll16 enable_win16
18021 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18022 wine_fn_config_dll msacm32 enable_msacm32 clean
,implib
18023 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
18024 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18025 wine_fn_config_dll msasn1 enable_msasn1 implib
18026 wine_fn_config_dll mscat32 enable_mscat32
18027 wine_fn_config_dll mscms enable_mscms implib
18028 wine_fn_config_test dlls
/mscms
/tests mscms_test
18029 wine_fn_config_dll mscoree enable_mscoree clean
18030 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
18031 wine_fn_config_dll msctf enable_msctf clean
18032 wine_fn_config_test dlls
/msctf
/tests msctf_test
18033 wine_fn_config_dll msctfp enable_msctfp clean
18034 wine_fn_config_dll msdaps enable_msdaps clean
18035 wine_fn_config_dll msdelta enable_msdelta
18036 wine_fn_config_dll msdmo enable_msdmo implib
18037 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
18038 wine_fn_config_dll msdrm enable_msdrm
18039 wine_fn_config_dll msftedit enable_msftedit
18040 wine_fn_config_dll msg711.acm enable_msg711_acm
18041 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18042 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18043 wine_fn_config_dll mshtml enable_mshtml clean
,implib
18044 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
18045 wine_fn_config_dll msi enable_msi clean
,implib
18046 wine_fn_config_test dlls
/msi
/tests msi_test
18047 wine_fn_config_dll msident enable_msident clean
18048 wine_fn_config_dll msimg32 enable_msimg32 implib
18049 wine_fn_config_dll msimsg enable_msimsg
18050 wine_fn_config_dll msimtf enable_msimtf clean
18051 wine_fn_config_dll msisip enable_msisip
18052 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18053 wine_fn_config_dll msls31 enable_msls31
18054 wine_fn_config_dll msnet32 enable_msnet32
18055 wine_fn_config_dll mspatcha enable_mspatcha implib
18056 wine_fn_config_dll msports enable_msports
18057 wine_fn_config_dll msrle32 enable_msrle32 clean
18058 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
18059 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18060 wine_fn_config_test dlls
/msscript.ocx
/tests msscript.ocx_test clean
18061 wine_fn_config_dll mssign32 enable_mssign32
18062 wine_fn_config_dll mssip32 enable_mssip32
18063 wine_fn_config_dll mstask enable_mstask clean
18064 wine_fn_config_test dlls
/mstask
/tests mstask_test
18065 wine_fn_config_dll msvcirt enable_msvcirt
18066 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
18067 wine_fn_config_dll msvcm80 enable_msvcm80
18068 wine_fn_config_dll msvcm90 enable_msvcm90
18069 wine_fn_config_dll msvcp100 enable_msvcp100
18070 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
18071 wine_fn_config_dll msvcp110 enable_msvcp110
18072 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
18073 wine_fn_config_dll msvcp120 enable_msvcp120
18074 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
18075 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18076 wine_fn_config_dll msvcp140 enable_msvcp140
18077 wine_fn_config_test dlls
/msvcp140
/tests msvcp140_test
18078 wine_fn_config_dll msvcp60 enable_msvcp60
18079 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
18080 wine_fn_config_dll msvcp70 enable_msvcp70
18081 wine_fn_config_dll msvcp71 enable_msvcp71
18082 wine_fn_config_dll msvcp80 enable_msvcp80
18083 wine_fn_config_dll msvcp90 enable_msvcp90
18084 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
18085 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18086 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
18087 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18088 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18089 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
18090 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18091 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18092 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18093 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18094 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18095 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
18096 wine_fn_config_dll msvcrt enable_msvcrt implib
18097 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
18098 wine_fn_config_dll msvcrt20 enable_msvcrt20
18099 wine_fn_config_dll msvcrt40 enable_msvcrt40
18100 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18101 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
18102 wine_fn_config_dll msvfw32 enable_msvfw32 clean
,implib
18103 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
18104 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18105 wine_fn_config_dll msvideo.dll16 enable_win16
18106 wine_fn_config_dll mswsock enable_mswsock implib
18107 wine_fn_config_dll msxml enable_msxml clean
18108 wine_fn_config_dll msxml2 enable_msxml2 clean
18109 wine_fn_config_dll msxml3 enable_msxml3 clean
18110 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
18111 wine_fn_config_dll msxml4 enable_msxml4 clean
18112 wine_fn_config_dll msxml6 enable_msxml6 clean
18113 wine_fn_config_dll ncrypt enable_ncrypt
18114 wine_fn_config_dll nddeapi enable_nddeapi implib
18115 wine_fn_config_dll ndis.sys enable_ndis_sys
18116 wine_fn_config_dll netapi32 enable_netapi32 implib
18117 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
18118 wine_fn_config_dll netcfgx enable_netcfgx clean
18119 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
18120 wine_fn_config_dll netprofm enable_netprofm clean
18121 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
18122 wine_fn_config_dll newdev enable_newdev implib
18123 wine_fn_config_dll normaliz enable_normaliz implib
18124 wine_fn_config_dll npmshtml enable_npmshtml
18125 wine_fn_config_dll npptools enable_npptools
18126 wine_fn_config_dll ntdll enable_ntdll implib
18127 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
18128 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18129 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
18130 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18131 wine_fn_config_dll ntprint enable_ntprint
18132 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
18133 wine_fn_config_dll objsel enable_objsel clean
18134 wine_fn_config_dll odbc32 enable_odbc32 implib
18135 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18136 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
18137 wine_fn_config_dll odbccu32 enable_odbccu32
18138 wine_fn_config_dll ole2.dll16 enable_win16
18139 wine_fn_config_dll ole2conv.dll16 enable_win16
18140 wine_fn_config_dll ole2disp.dll16 enable_win16
18141 wine_fn_config_dll ole2nls.dll16 enable_win16
18142 wine_fn_config_dll ole2prox.dll16 enable_win16
18143 wine_fn_config_dll ole2thk.dll16 enable_win16
18144 wine_fn_config_dll ole32 enable_ole32 clean
,implib
18145 wine_fn_config_test dlls
/ole32
/tests ole32_test
18146 wine_fn_config_dll oleacc enable_oleacc clean
,implib
18147 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
18148 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
18149 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
18150 wine_fn_config_dll olecli.dll16 enable_win16
18151 wine_fn_config_dll olecli32 enable_olecli32 implib
18152 wine_fn_config_dll oledb32 enable_oledb32 clean
18153 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
18154 wine_fn_config_dll oledlg enable_oledlg clean
,implib
18155 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
18156 wine_fn_config_dll olepro32 enable_olepro32 clean
,implib
18157 wine_fn_config_dll olesvr.dll16 enable_win16
18158 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18159 wine_fn_config_dll olethk32 enable_olethk32
18160 wine_fn_config_dll openal32 enable_openal32
18161 wine_fn_config_dll opencl enable_opencl
18162 wine_fn_config_dll opengl32 enable_opengl32 implib
18163 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
18164 wine_fn_config_dll packager enable_packager clean
18165 wine_fn_config_test dlls
/packager
/tests packager_test
18166 wine_fn_config_dll pdh enable_pdh implib
18167 wine_fn_config_test dlls
/pdh
/tests pdh_test
18168 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18169 wine_fn_config_dll pidgen enable_pidgen
18170 wine_fn_config_dll powrprof enable_powrprof implib
18171 wine_fn_config_dll printui enable_printui
18172 wine_fn_config_dll prntvpt enable_prntvpt
18173 wine_fn_config_dll propsys enable_propsys clean
,implib
18174 wine_fn_config_test dlls
/propsys
/tests propsys_test
18175 wine_fn_config_dll psapi enable_psapi implib
18176 wine_fn_config_test dlls
/psapi
/tests psapi_test
18177 wine_fn_config_dll pstorec enable_pstorec clean
18178 wine_fn_config_dll qcap enable_qcap
18179 wine_fn_config_test dlls
/qcap
/tests qcap_test
18180 wine_fn_config_dll qedit enable_qedit clean
18181 wine_fn_config_test dlls
/qedit
/tests qedit_test
18182 wine_fn_config_dll qmgr enable_qmgr clean
18183 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
18184 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18185 wine_fn_config_dll quartz enable_quartz clean
,implib
18186 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
18187 wine_fn_config_dll query enable_query
18188 wine_fn_config_dll rasapi16.dll16 enable_win16
18189 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18190 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
18191 wine_fn_config_dll rasdlg enable_rasdlg implib
18192 wine_fn_config_dll regapi enable_regapi
18193 wine_fn_config_dll resutils enable_resutils implib
18194 wine_fn_config_dll riched20 enable_riched20 clean
,implib
18195 wine_fn_config_test dlls
/riched20
/tests riched20_test
18196 wine_fn_config_dll riched32 enable_riched32
18197 wine_fn_config_test dlls
/riched32
/tests riched32_test
18198 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
18199 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
18200 wine_fn_config_dll rsabase enable_rsabase
18201 wine_fn_config_dll rsaenh enable_rsaenh implib
18202 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
18203 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18204 wine_fn_config_dll rtutils enable_rtutils implib
18205 wine_fn_config_dll samlib enable_samlib
18206 wine_fn_config_dll sane.ds enable_sane_ds clean
18207 wine_fn_config_dll scarddlg enable_scarddlg
18208 wine_fn_config_dll sccbase enable_sccbase
18209 wine_fn_config_dll schannel enable_schannel
18210 wine_fn_config_test dlls
/schannel
/tests schannel_test
18211 wine_fn_config_dll schedsvc enable_schedsvc clean
18212 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
18213 wine_fn_config_dll scrrun enable_scrrun clean
18214 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
18215 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18216 wine_fn_config_dll secur32 enable_secur32 implib
18217 wine_fn_config_test dlls
/secur32
/tests secur32_test
18218 wine_fn_config_dll security enable_security
18219 wine_fn_config_dll sensapi enable_sensapi implib
18220 wine_fn_config_dll serialui enable_serialui clean
18221 wine_fn_config_test dlls
/serialui
/tests serialui_test
18222 wine_fn_config_dll setupapi enable_setupapi clean
,implib
18223 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
18224 wine_fn_config_dll setupx.dll16 enable_win16
18225 wine_fn_config_dll sfc enable_sfc implib
18226 wine_fn_config_dll sfc_os enable_sfc_os implib
18227 wine_fn_config_dll shdoclc enable_shdoclc clean
18228 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
18229 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
18230 wine_fn_config_dll shell.dll16 enable_win16
18231 wine_fn_config_dll shell32 enable_shell32 clean
,implib
18232 wine_fn_config_test dlls
/shell32
/tests shell32_test
18233 wine_fn_config_dll shfolder enable_shfolder implib
18234 wine_fn_config_dll shlwapi enable_shlwapi clean
,implib
18235 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
18236 wine_fn_config_dll slbcsp enable_slbcsp
18237 wine_fn_config_dll slc enable_slc implib
18238 wine_fn_config_test dlls
/slc
/tests slc_test
18239 wine_fn_config_dll snmpapi enable_snmpapi implib
18240 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
18241 wine_fn_config_dll softpub enable_softpub
18242 wine_fn_config_dll sound.drv16 enable_win16
18243 wine_fn_config_dll spoolss enable_spoolss implib
18244 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
18245 wine_fn_config_dll sspicli enable_sspicli
18246 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18247 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18248 wine_fn_config_dll sti enable_sti clean
,implib
18249 wine_fn_config_test dlls
/sti
/tests sti_test
18250 wine_fn_config_dll storage.dll16 enable_win16
18251 wine_fn_config_dll stress.dll16 enable_win16
18252 wine_fn_config_lib strmbase
18253 wine_fn_config_lib strmiids
18254 wine_fn_config_dll svrapi enable_svrapi
18255 wine_fn_config_dll sxs enable_sxs implib
18256 wine_fn_config_test dlls
/sxs
/tests sxs_test
18257 wine_fn_config_dll system.drv16 enable_win16
18258 wine_fn_config_dll t2embed enable_t2embed implib
18259 wine_fn_config_test dlls
/t2embed
/tests t2embed_test
18260 wine_fn_config_dll tapi32 enable_tapi32 implib
18261 wine_fn_config_dll taskschd enable_taskschd clean
18262 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
18263 wine_fn_config_dll tdi.sys enable_tdi_sys
18264 wine_fn_config_dll toolhelp.dll16 enable_win16
18265 wine_fn_config_dll traffic enable_traffic
18266 wine_fn_config_dll twain.dll16 enable_win16
18267 wine_fn_config_dll twain_32 enable_twain_32
18268 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
18269 wine_fn_config_dll typelib.dll16 enable_win16
18270 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18271 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
18272 wine_fn_config_dll unicows enable_unicows implib
18273 wine_fn_config_dll updspapi enable_updspapi
18274 wine_fn_config_dll url enable_url implib
18275 wine_fn_config_dll urlmon enable_urlmon clean
,implib
18276 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
18277 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18278 wine_fn_config_dll user.exe16 enable_win16
18279 wine_fn_config_dll user32 enable_user32 clean
,implib
18280 wine_fn_config_test dlls
/user32
/tests user32_test
18281 wine_fn_config_dll userenv enable_userenv implib
18282 wine_fn_config_test dlls
/userenv
/tests userenv_test
18283 wine_fn_config_dll usp10 enable_usp10 implib
18284 wine_fn_config_test dlls
/usp10
/tests usp10_test
18285 wine_fn_config_lib uuid
18286 wine_fn_config_dll uxtheme enable_uxtheme implib
18287 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
18288 wine_fn_config_dll vbscript enable_vbscript clean
18289 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
18290 wine_fn_config_dll vcomp enable_vcomp
18291 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
18292 wine_fn_config_dll vcomp100 enable_vcomp100
18293 wine_fn_config_dll vcomp110 enable_vcomp110
18294 wine_fn_config_dll vcomp120 enable_vcomp120
18295 wine_fn_config_dll vcomp140 enable_vcomp140
18296 wine_fn_config_dll vcomp90 enable_vcomp90
18297 wine_fn_config_dll vcruntime140 enable_vcruntime140
18298 wine_fn_config_dll vdhcp.vxd enable_win16
18299 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18300 wine_fn_config_dll ver.dll16 enable_win16
18301 wine_fn_config_dll version enable_version implib
18302 wine_fn_config_test dlls
/version
/tests version_test
18303 wine_fn_config_dll vmm.vxd enable_win16
18304 wine_fn_config_dll vnbt.vxd enable_win16
18305 wine_fn_config_dll vnetbios.vxd enable_win16
18306 wine_fn_config_dll vssapi enable_vssapi
18307 wine_fn_config_dll vtdapi.vxd enable_win16
18308 wine_fn_config_dll vwin32.vxd enable_win16
18309 wine_fn_config_dll w32skrnl enable_win16
18310 wine_fn_config_dll w32sys.dll16 enable_win16
18311 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18312 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
18313 wine_fn_config_dll wbemprox enable_wbemprox clean
18314 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
18315 wine_fn_config_dll webservices enable_webservices implib
18316 wine_fn_config_test dlls
/webservices
/tests webservices_test
18317 wine_fn_config_dll wer enable_wer implib
18318 wine_fn_config_test dlls
/wer
/tests wer_test
18319 wine_fn_config_dll wevtapi enable_wevtapi
18320 wine_fn_config_dll wiaservc enable_wiaservc clean
18321 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
18322 wine_fn_config_dll wimgapi enable_wimgapi
18323 wine_fn_config_dll win32s16.dll16 enable_win16
18324 wine_fn_config_dll win87em.dll16 enable_win16
18325 wine_fn_config_dll winaspi.dll16 enable_win16
18326 wine_fn_config_dll windebug.dll16 enable_win16
18327 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
18328 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
18329 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18330 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
18331 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18332 wine_fn_config_dll winebus.sys enable_winebus_sys
18333 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18334 wine_fn_config_lib winecrt0
18335 wine_fn_config_dll wined3d enable_wined3d implib
18336 wine_fn_config_dll winegstreamer enable_winegstreamer
18337 wine_fn_config_dll winehid.sys enable_winehid_sys
18338 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18339 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18340 wine_fn_config_dll winemapi enable_winemapi
18341 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18342 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18343 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18344 wine_fn_config_dll wineps16.drv16 enable_win16
18345 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18346 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18347 wine_fn_config_dll winex11.drv enable_winex11_drv
18348 wine_fn_config_dll wing.dll16 enable_win16
18349 wine_fn_config_dll wing32 enable_wing32
18350 wine_fn_config_dll winhttp enable_winhttp clean
,implib
18351 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
18352 wine_fn_config_dll wininet enable_wininet clean
,implib
18353 wine_fn_config_test dlls
/wininet
/tests wininet_test
18354 wine_fn_config_dll winmm enable_winmm clean
,implib
18355 wine_fn_config_test dlls
/winmm
/tests winmm_test
18356 wine_fn_config_dll winnls.dll16 enable_win16
18357 wine_fn_config_dll winnls32 enable_winnls32 implib
18358 wine_fn_config_dll winscard enable_winscard implib
18359 wine_fn_config_dll winsock.dll16 enable_win16
18360 wine_fn_config_dll winspool.drv enable_winspool_drv clean
,implib winspool
18361 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
18362 wine_fn_config_dll winsta enable_winsta
18363 wine_fn_config_dll wintab.dll16 enable_win16
18364 wine_fn_config_dll wintab32 enable_wintab32 implib
18365 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
18366 wine_fn_config_dll wintrust enable_wintrust implib
18367 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
18368 wine_fn_config_dll wlanapi enable_wlanapi
18369 wine_fn_config_dll wldap32 enable_wldap32 clean
,implib
18370 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
18371 wine_fn_config_dll wmasf enable_wmasf
18372 wine_fn_config_dll wmi enable_wmi
18373 wine_fn_config_dll wmiutils enable_wmiutils clean
18374 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
18375 wine_fn_config_dll wmp enable_wmp clean
18376 wine_fn_config_test dlls
/wmp
/tests wmp_test
18377 wine_fn_config_dll wmvcore enable_wmvcore
18378 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18379 wine_fn_config_dll wow32 enable_win16 implib
18380 wine_fn_config_dll wpc enable_wpc clean
18381 wine_fn_config_test dlls
/wpc
/tests wpc_test
18382 wine_fn_config_dll wpcap enable_wpcap
18383 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18384 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
18385 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18386 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
18387 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18388 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
18389 wine_fn_config_dll wsock32 enable_wsock32 implib
18390 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18391 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
18392 wine_fn_config_dll wuapi enable_wuapi clean
18393 wine_fn_config_dll wuaueng enable_wuaueng
18394 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18395 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18396 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18397 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18398 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18399 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18400 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18401 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18402 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18403 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18404 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18405 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18406 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18407 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18408 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18409 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18410 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18411 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18412 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18413 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18414 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18415 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
18416 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18417 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18418 wine_fn_config_dll xinput1_1 enable_xinput1_1
18419 wine_fn_config_dll xinput1_2 enable_xinput1_2
18420 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18421 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
18422 wine_fn_config_dll xinput1_4 enable_xinput1_4
18423 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18424 wine_fn_config_dll xmllite enable_xmllite implib
18425 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
18426 wine_fn_config_dll xolehlp enable_xolehlp
18427 wine_fn_config_dll xpsprint enable_xpsprint
18428 wine_fn_config_dll xpssvcs enable_xpssvcs
18429 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
18430 wine_fn_config_makefile include enable_include clean
,install-dev
18431 wine_fn_config_makefile libs
/port enable_libs_port
18432 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,implib
,install-dev
,install-lib
18433 wine_fn_config_makefile libs
/wpp enable_libs_wpp
18434 wine_fn_config_makefile loader enable_loader clean
,install-lib
18435 wine_fn_config_makefile po enable_po clean
18436 wine_fn_config_program arp enable_arp
install
18437 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
18438 wine_fn_config_program attrib enable_attrib clean
,install
18439 wine_fn_config_program cabarc enable_cabarc
install
18440 wine_fn_config_program cacls enable_cacls
install
18441 wine_fn_config_program
clock enable_clock clean
,install
18442 wine_fn_config_program cmd enable_cmd clean
,install
18443 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
18444 wine_fn_config_program conhost enable_conhost
install
18445 wine_fn_config_program control enable_control
install
18446 wine_fn_config_program cscript enable_cscript clean
,install
18447 wine_fn_config_program dpnsvr enable_dpnsvr
install
18448 wine_fn_config_program dxdiag enable_dxdiag clean
,install
18449 wine_fn_config_program eject enable_eject
install
18450 wine_fn_config_program
expand enable_expand
install
18451 wine_fn_config_program explorer enable_explorer clean
,install
18452 wine_fn_config_program extrac32 enable_extrac32
install
18453 wine_fn_config_program findstr enable_findstr
install
18454 wine_fn_config_program fsutil enable_fsutil
install
18455 wine_fn_config_program hh enable_hh
install
18456 wine_fn_config_program hostname enable_hostname clean
,install
18457 wine_fn_config_program icacls enable_icacls
install
18458 wine_fn_config_program icinfo enable_icinfo
install
18459 wine_fn_config_program iexplore enable_iexplore
install
18460 wine_fn_config_program ipconfig enable_ipconfig clean
,install
18461 wine_fn_config_program lodctr enable_lodctr
install
18462 wine_fn_config_program mofcomp enable_mofcomp
install
18463 wine_fn_config_program mshta enable_mshta
install
18464 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18465 wine_fn_config_program msinfo32 enable_msinfo32
install
18466 wine_fn_config_program net enable_net clean
,install
18467 wine_fn_config_program netsh enable_netsh
install
18468 wine_fn_config_program netstat enable_netstat clean
,install
18469 wine_fn_config_program ngen enable_ngen
install
18470 wine_fn_config_program notepad enable_notepad clean
,install,installbin
,manpage
18471 wine_fn_config_program oleview enable_oleview clean
,install
18472 wine_fn_config_program
ping enable_ping
install
18473 wine_fn_config_program plugplay enable_plugplay
install
18474 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18475 wine_fn_config_program progman enable_progman clean
,install
18476 wine_fn_config_program reg enable_reg clean
,install
18477 wine_fn_config_test programs
/reg
/tests reg.exe_test
18478 wine_fn_config_program regasm enable_regasm
install
18479 wine_fn_config_program regedit enable_regedit clean
,install,installbin
,manpage
18480 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18481 wine_fn_config_program regsvcs enable_regsvcs
install
18482 wine_fn_config_program regsvr32 enable_regsvr32 clean
,install,installbin
,manpage
18483 wine_fn_config_program rpcss enable_rpcss clean
,install
18484 wine_fn_config_program rundll.exe16 enable_win16
install
18485 wine_fn_config_program rundll32 enable_rundll32
install
18486 wine_fn_config_program sc enable_sc
install
18487 wine_fn_config_program schtasks enable_schtasks
install
18488 wine_fn_config_program sdbinst enable_sdbinst
install
18489 wine_fn_config_program secedit enable_secedit
install
18490 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18491 wine_fn_config_program services enable_services clean
,install
18492 wine_fn_config_test programs
/services
/tests services.exe_test
18493 wine_fn_config_program shutdown enable_shutdown
install
18494 wine_fn_config_program spoolsv enable_spoolsv
install
18495 wine_fn_config_program start enable_start clean
,install
18496 wine_fn_config_program subst enable_subst
install
18497 wine_fn_config_program svchost enable_svchost
install
18498 wine_fn_config_program systeminfo enable_systeminfo
install
18499 wine_fn_config_program taskkill enable_taskkill clean
,install
18500 wine_fn_config_program tasklist enable_tasklist
install
18501 wine_fn_config_program taskmgr enable_taskmgr clean
,install
18502 wine_fn_config_program termsv enable_termsv
install
18503 wine_fn_config_program uninstaller enable_uninstaller clean
,install
18504 wine_fn_config_program unlodctr enable_unlodctr
install
18505 wine_fn_config_program view enable_view clean
,install
18506 wine_fn_config_program wevtutil enable_wevtutil
install
18507 wine_fn_config_program wineboot enable_wineboot clean
,install,installbin
,manpage
18508 wine_fn_config_program winebrowser enable_winebrowser
install
18509 wine_fn_config_program winecfg enable_winecfg clean
,install,installbin
,manpage
18510 wine_fn_config_program wineconsole enable_wineconsole clean
,install,installbin
,manpage
18511 wine_fn_config_program winedbg enable_winedbg clean
,install,installbin
,manpage
18512 wine_fn_config_program winedevice enable_winedevice
install
18513 wine_fn_config_program winefile enable_winefile clean
,install,installbin
,manpage
18514 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18515 wine_fn_config_program winemine enable_winemine clean
,install,installbin
,manpage
18516 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18517 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18518 wine_fn_config_program winetest enable_winetest clean
18519 wine_fn_config_program winevdm enable_win16
install
18520 wine_fn_config_program winhelp.exe16 enable_win16
install
18521 wine_fn_config_program winhlp32 enable_winhlp32 clean
,install
18522 wine_fn_config_program winoldap.mod16 enable_win16
install
18523 wine_fn_config_program winver enable_winver
install
18524 wine_fn_config_program wmic enable_wmic clean
,install
18525 wine_fn_config_program wmplayer enable_wmplayer
install
18526 wine_fn_config_program wordpad enable_wordpad clean
,install
18527 wine_fn_config_program
write enable_write clean
,install
18528 wine_fn_config_program wscript enable_wscript clean
,install
18529 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18530 wine_fn_config_program wusa enable_wusa
install
18531 wine_fn_config_program xcopy enable_xcopy clean
,install
18532 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18533 wine_fn_config_makefile server enable_server clean
,install-lib
18534 wine_fn_config_tool tools clean
18535 wine_fn_config_tool tools
/sfnt2fon clean
18536 wine_fn_config_tool tools
/widl clean
,install-dev
18537 wine_fn_config_tool tools
/winebuild clean
,install-dev
18538 wine_fn_config_tool tools
/winedump clean
,install-dev
18539 wine_fn_config_tool tools
/winegcc clean
,install-dev
18540 wine_fn_config_tool tools
/winemaker clean
,install-dev
18541 wine_fn_config_tool tools
/wmc clean
,install-dev
18542 wine_fn_config_tool tools
/wrc clean
,install-dev
18545 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
18546 wine_fn_append_file CONFIGURE_TARGETS
"tags"
18547 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
18548 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
18549 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
18550 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
18551 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
18552 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
18554 if test "x$enable_tools" != xno
18556 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
18557 ac_config_commands
="$ac_config_commands tools/makedep"
18561 ac_config_commands
="$ac_config_commands Makefile"
18564 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
18568 if test "x$enable_maintainer_mode" = xyes
18570 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18571 autoconf --warnings=all
18572 include/config.h.in: include/stamp-h.in
18573 include/stamp-h.in: configure.ac aclocal.m4
18574 autoheader --warnings=all
18575 @echo timestamp > \$@"
18578 if test "x$enable_tools" != xno
18580 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18581 @./config.status tools/makedep
18582 Makefile: tools/makedep$ac_exeext"
18584 wine_fn_append_rule
"\$(MAKEDEP):
18585 @echo \"You need to run make in $TOOLSDIR first\" && false"
18588 if test -n "$with_wine64"
18590 wine_fn_append_rule
"all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18592 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18593 $with_wine64/loader/wine:
18594 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18595 $with_wine64/loader/wine-preloader:
18596 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18598 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18600 WINELOADER_INSTALL
="wine.inf"
18602 wine_fn_append_rule
"install install-lib::
18603 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18605 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18607 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
18608 *) wine_fn_append_rule
"install install-lib::
18609 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18611 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18615 $as_echo " done" >&6
18616 cat >confcache
<<\_ACEOF
18617 # This file is a shell script that caches the results of configure
18618 # tests run on this system so they can be shared between configure
18619 # scripts and configure runs, see configure's option --config-cache.
18620 # It is not useful on other systems. If it contains results you don't
18621 # want to keep, you may remove or edit it.
18623 # config.status only pays attention to the cache file if you give it
18624 # the --recheck option to rerun configure.
18626 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18627 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18628 # following values.
18632 # The following way of writing the cache mishandles newlines in values,
18633 # but we know of no workaround that is simple, portable, and efficient.
18634 # So, we kill variables containing newlines.
18635 # Ultrix sh set writes to stderr and can't be redirected directly,
18636 # and sets the high bit in the cache file unless we assign to the vars.
18638 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18639 eval ac_val
=\$
$ac_var
18643 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18644 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18647 _ | IFS | as_nl
) ;; #(
18648 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18649 *) { eval $ac_var=; unset $ac_var;} ;;
18655 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18656 *${as_nl}ac_space
=\
*)
18657 # `set' does not quote correctly, so add quotes: double-quote
18658 # substitution turns \\\\ into \\, and sed turns \\ into \.
18661 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18664 # `set' quotes correctly as required by POSIX, so do not add quotes.
18665 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18674 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18676 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18678 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18679 if test -w "$cache_file"; then
18680 if test "x$cache_file" != "x/dev/null"; then
18681 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18682 $as_echo "$as_me: updating cache $cache_file" >&6;}
18683 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18684 cat confcache
>"$cache_file"
18686 case $cache_file in #(
18688 mv -f confcache
"$cache_file"$$
&&
18689 mv -f "$cache_file"$$
"$cache_file" ;; #(
18691 mv -f confcache
"$cache_file" ;;
18696 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18697 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18702 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18703 # Let make expand exec_prefix.
18704 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18706 DEFS
=-DHAVE_CONFIG_H
18711 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18712 # 1. Remove the extension, and $U if already installed.
18713 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18714 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18715 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18716 # will be set to the directory where LIBOBJS objects are built.
18717 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18718 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18720 LIBOBJS
=$ac_libobjs
18722 LTLIBOBJS
=$ac_ltlibobjs
18726 : "${CONFIG_STATUS=./config.status}"
18728 ac_clean_files_save
=$ac_clean_files
18729 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18731 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18733 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18735 # Generated by $as_me.
18736 # Run this file to recreate the current configuration.
18737 # Compiler output produced by configure, useful for debugging
18738 # configure, is in config.log if it exists.
18741 ac_cs_recheck=false
18744 SHELL=\${CONFIG_SHELL-$SHELL}
18747 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18748 ## -------------------- ##
18749 ## M4sh Initialization. ##
18750 ## -------------------- ##
18752 # Be more Bourne compatible
18753 DUALCASE
=1; export DUALCASE
# for MKS sh
18754 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18757 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18758 # is contrary to our usage. Disable this feature.
18759 alias -g '${1+"$@"}'='"$@"'
18760 setopt NO_GLOB_SUBST
18762 case `(set -o) 2>/dev/null` in #(
18774 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18775 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18776 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18777 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18778 # Prefer a ksh shell builtin over an external printf program on Solaris,
18779 # but without wasting forks for bash or zsh.
18780 if test -z "$BASH_VERSION$ZSH_VERSION" \
18781 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18782 as_echo='print
-r --'
18783 as_echo_n='print
-rn --'
18784 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18785 as_echo='printf %s
\n'
18786 as_echo_n='printf %s
'
18788 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18789 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18790 as_echo_n='/usr
/ucb
/echo -n'
18792 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18793 as_echo_n_body='eval
18797 expr "X$arg" : "X\\(.*\\)$as_nl";
18798 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18800 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18802 export as_echo_n_body
18803 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18805 export as_echo_body
18806 as_echo='sh
-c $as_echo_body as_echo
'
18809 # The user is always right.
18810 if test "${PATH_SEPARATOR+set}" != set; then
18812 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18813 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18820 # We need space, tab and new line, in precisely that order. Quoting is
18821 # there to prevent editors from complaining about space-tab.
18822 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18823 # splitting by setting IFS to empty value.)
18826 # Find who we are. Look in the path if we contain no directory separator.
18829 *[\\/]* ) as_myself=$0 ;;
18830 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18831 for as_dir in $PATH
18834 test -z "$as_dir" && as_dir=.
18835 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18841 # We did not find ourselves, most probably we were run as `sh COMMAND'
18842 # in which case we are not to be found in the path.
18843 if test "x$as_myself" = x
; then
18846 if test ! -f "$as_myself"; then
18847 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18851 # Unset variables that we do not need and which cause bugs (e.g. in
18852 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18853 # suppresses any "Segmentation fault" message there. '((' could
18854 # trigger a bug in pdksh 5.2.14.
18855 for as_var
in BASH_ENV ENV MAIL MAILPATH
18856 do eval test x\
${$as_var+set} = xset \
18857 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18870 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18873 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18874 # ----------------------------------------
18875 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18876 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18877 # script with STATUS, using 1 if that was 0.
18880 as_status
=$1; test $as_status -eq 0 && as_status
=1
18882 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18883 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18885 $as_echo "$as_me: error: $2" >&2
18886 as_fn_exit
$as_status
18890 # as_fn_set_status STATUS
18891 # -----------------------
18892 # Set $? to STATUS, without forking.
18893 as_fn_set_status
()
18896 } # as_fn_set_status
18898 # as_fn_exit STATUS
18899 # -----------------
18900 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18904 as_fn_set_status
$1
18910 # Portably unset VAR.
18913 { eval $1=; unset $1;}
18915 as_unset
=as_fn_unset
18916 # as_fn_append VAR VALUE
18917 # ----------------------
18918 # Append the text in VALUE to the end of the definition contained in VAR. Take
18919 # advantage of any shell optimizations that allow amortized linear growth over
18920 # repeated appends, instead of the typical quadratic growth present in naive
18922 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18923 eval 'as_fn_append ()
18934 # as_fn_arith ARG...
18935 # ------------------
18936 # Perform arithmetic evaluation on the ARGs, and store the result in the
18937 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18938 # must be portable across $(()) and expr.
18939 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18940 eval 'as_fn_arith ()
18947 as_val
=`expr "$@" || test $? -eq 1`
18952 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18953 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18959 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18960 as_basename
=basename
18965 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18971 as_me
=`$as_basename -- "$0" ||
18972 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18973 X"$0" : 'X\(//\)$' \| \
18974 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18976 sed '/^.*\/\([^/][^/]*\)\/*$/{
18990 # Avoid depending upon Character Ranges.
18991 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18992 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18993 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18994 as_cr_digits
='0123456789'
18995 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18997 ECHO_C
= ECHO_N
= ECHO_T
=
18998 case `echo -n x` in #(((((
19000 case `echo 'xy\c'` in
19001 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19003 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19010 rm -f conf$$ conf$$.exe conf$$.
file
19011 if test -d conf$$.dir
; then
19012 rm -f conf$$.dir
/conf$$.
file
19015 mkdir conf$$.dir
2>/dev
/null
19017 if (echo >conf$$.
file) 2>/dev
/null
; then
19018 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19020 # ... but there are two gotchas:
19021 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19022 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19023 # In both cases, we have to default to `cp -pR'.
19024 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19026 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19034 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19035 rmdir conf$$.dir
2>/dev
/null
19040 # Create "$as_dir" as a directory, including parents if necessary.
19045 -*) as_dir
=.
/$as_dir;;
19047 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19051 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19052 *) as_qdir
=$as_dir;;
19054 as_dirs
="'$as_qdir' $as_dirs"
19055 as_dir
=`$as_dirname -- "$as_dir" ||
19056 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19057 X"$as_dir" : 'X\(//\)[^/]' \| \
19058 X"$as_dir" : 'X\(//\)$' \| \
19059 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19060 $as_echo X"$as_dir" |
19061 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19065 /^X\(\/\/\)[^/].*/{
19078 test -d "$as_dir" && break
19080 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19081 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19085 if mkdir
-p .
2>/dev
/null
; then
19086 as_mkdir_p
='mkdir -p "$as_dir"'
19088 test -d .
/-p && rmdir .
/-p
19093 # as_fn_executable_p FILE
19094 # -----------------------
19095 # Test if FILE is an executable regular file.
19096 as_fn_executable_p
()
19098 test -f "$1" && test -x "$1"
19099 } # as_fn_executable_p
19100 as_test_x
='test -x'
19101 as_executable_p
=as_fn_executable_p
19103 # Sed expression to map a string onto a valid CPP name.
19104 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19106 # Sed expression to map a string onto a valid variable name.
19107 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19111 ## ----------------------------------- ##
19112 ## Main body of $CONFIG_STATUS script. ##
19113 ## ----------------------------------- ##
19115 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19117 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19118 # Save the log message, to keep $0 and so on meaningful, and to
19119 # report actual input values of CONFIG_FILES etc. instead of their
19120 # values after options handling.
19122 This file was extended by Wine $as_me 1.9.20, which was
19123 generated by GNU Autoconf 2.69. Invocation command line was
19125 CONFIG_FILES = $CONFIG_FILES
19126 CONFIG_HEADERS = $CONFIG_HEADERS
19127 CONFIG_LINKS = $CONFIG_LINKS
19128 CONFIG_COMMANDS = $CONFIG_COMMANDS
19131 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19136 case $ac_config_files in *"
19137 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19140 case $ac_config_headers in *"
19141 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19146 # Files that config.status was made for.
19147 config_files="$ac_config_files"
19148 config_headers="$ac_config_headers"
19149 config_links="$ac_config_links"
19150 config_commands="$ac_config_commands"
19154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19156 \`$as_me' instantiates files and other configuration actions
19157 from templates according to the current configuration. Unless the files
19158 and actions are specified as TAGs, all are instantiated by default.
19160 Usage: $0 [OPTION]... [TAG]...
19162 -h, --help print this help, then exit
19163 -V, --version print version number and configuration settings, then exit
19164 --config print configuration, then exit
19165 -q, --quiet, --silent
19166 do not print progress messages
19167 -d, --debug don't remove temporary files
19168 --recheck update $as_me by reconfiguring in the same conditions
19169 --file=FILE[:TEMPLATE]
19170 instantiate the configuration file FILE
19171 --header=FILE[:TEMPLATE]
19172 instantiate the configuration header FILE
19174 Configuration files:
19177 Configuration headers:
19180 Configuration links:
19183 Configuration commands:
19186 Report bugs to <wine-devel@winehq.org>.
19187 Wine home page: <http://www.winehq.org>."
19190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19191 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19193 Wine config.status 1.9.20
19194 configured by $0, generated by GNU Autoconf 2.69,
19195 with options \\"\$ac_cs_config\\"
19197 Copyright (C) 2012 Free Software Foundation, Inc.
19198 This config.status script is free software; the Free Software Foundation
19199 gives unlimited permission to copy, distribute and modify it."
19203 test -n "\$AWK" || AWK=awk
19206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19207 # The default lists apply if the user does not specify any file.
19213 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19214 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19218 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19230 # Handling of the options.
19231 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19233 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19234 $as_echo "$ac_cs_version"; exit ;;
19235 --config |
--confi |
--conf |
--con |
--co |
--c )
19236 $as_echo "$ac_cs_config"; exit ;;
19237 --debug |
--debu |
--deb |
--de |
--d |
-d )
19239 --file |
--fil |
--fi |
--f )
19242 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19243 '') as_fn_error $?
"missing file argument" ;;
19245 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19246 ac_need_defaults
=false
;;
19247 --header |
--heade |
--head |
--hea )
19250 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19252 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19253 ac_need_defaults
=false
;;
19255 # Conflict between --help and --header
19256 as_fn_error $?
"ambiguous option: \`$1'
19257 Try \`$0 --help' for more information.";;
19258 --help |
--hel |
-h )
19259 $as_echo "$ac_cs_usage"; exit ;;
19260 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19261 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19264 # This is an error.
19265 -*) as_fn_error $?
"unrecognized option: \`$1'
19266 Try \`$0 --help' for more information." ;;
19268 *) as_fn_append ac_config_targets
" $1"
19269 ac_need_defaults
=false
;;
19275 ac_configure_extra_args
=
19277 if $ac_cs_silent; then
19279 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19284 if \$ac_cs_recheck; then
19285 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19287 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19288 CONFIG_SHELL='$SHELL'
19289 export CONFIG_SHELL
19294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19298 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19299 ## Running $as_me. ##
19305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19309 wine_fn_output_makedep ()
19311 as_dir=tools; as_fn_mkdir_p
19312 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19314 wine_fn_output_makefile ()
19316 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19317 `cat $wine_rules_file`
19319 as_fn_error $? "could not create Makefile" "$LINENO" 5
19324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19326 # Handling of arguments.
19327 for ac_config_target
in $ac_config_targets
19329 case $ac_config_target in
19330 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19331 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
19332 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19333 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19334 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19335 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19336 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19337 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19338 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
19339 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19340 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
19341 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
19342 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19344 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19349 # If the user did not use the arguments to specify the items to instantiate,
19350 # then the envvar interface is used. Set only those that are not.
19351 # We use the long form for the default assignment because of an extremely
19352 # bizarre bug on SunOS 4.1.3.
19353 if $ac_need_defaults; then
19354 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19355 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19356 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19357 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19360 # Have a temporary directory for convenience. Make it in the build tree
19361 # simply because there is no reason against having it here, and in addition,
19362 # creating and moving files from /tmp can sometimes cause problems.
19363 # Hook for its removal unless debugging.
19364 # Note that there is a small window in which the directory will not be cleaned:
19365 # after its creation but before its name has been assigned to `$tmp'.
19369 trap 'exit_status=$?
19370 : "${ac_tmp:=$tmp}"
19371 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19373 trap 'as_fn_exit 1' 1 2 13 15
19375 # Create a (secure) tmp directory for tmp files.
19378 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19382 tmp
=.
/conf$$
-$RANDOM
19383 (umask 077 && mkdir
"$tmp")
19384 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19387 # Set up the scripts for CONFIG_FILES section.
19388 # No need to generate them if there are no CONFIG_FILES.
19389 # This happens for instance with `./config.status config.h'.
19390 if test -n "$CONFIG_FILES"; then
19393 ac_cr
=`echo X | tr X '\015'`
19394 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19395 # But we know of no other shell where ac_cr would be empty at this
19396 # point, so we can use a bashism as a fallback.
19397 if test "x$ac_cr" = x
; then
19398 eval ac_cr
=\$
\'\\r
\'
19400 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19401 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19404 ac_cs_awk_cr
=$ac_cr
19407 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19412 echo "cat >conf$$subs.awk <<_ACEOF" &&
19413 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19415 } >conf$$subs.sh ||
19416 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19417 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19419 for ac_last_try in false false false false false :; do
19420 . ./conf$$subs.sh ||
19421 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19423 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19424 if test $ac_delim_n = $ac_delim_num; then
19426 elif $ac_last_try; then
19427 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19429 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19432 rm -f conf$$subs.sh
19434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19435 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19439 s/^/S["/; s
/!.
*/"]=/
19449 s/\(.\{148\}\)..*/\1/
19451 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19456 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19463 s/\(.\{148\}\)..*/\1/
19465 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19469 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19474 ' <conf$$subs.awk | sed '
19479 ' >>$CONFIG_STATUS || ac_write_fail=1
19480 rm -f conf$$subs.awk
19481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19483 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19484 for (key in S) S_is_set[key] = 1
19490 nfields = split(line, field, "@
")
19492 len = length(field[1])
19493 for (i = 2; i < nfields; i++) {
19495 keylen = length(key)
19496 if (S_is_set[key]) {
19498 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19499 len += length(value) + length(field[++i])
19510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19511 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19512 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19515 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19516 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19519 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19520 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19521 # trailing colons and then remove the whole line if VPATH becomes empty
19522 # (actually we leave an empty line to preserve line numbers).
19523 if test "x
$srcdir" = x.; then
19524 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19543 fi # test -n "$CONFIG_FILES"
19545 # Set up the scripts for CONFIG_HEADERS section.
19546 # No need to generate them if there are no CONFIG_HEADERS.
19547 # This happens for instance with `./config.status Makefile'.
19548 if test -n "$CONFIG_HEADERS"; then
19549 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19553 # Transform confdefs.h into an awk script `defines.awk', embedded as
19554 # here-document in config.status, that substitutes the proper values into
19555 # config.h.in to produce config.h.
19557 # Create a delimiter string that does not exist in confdefs.h, to ease
19558 # handling of long lines.
19560 for ac_last_try in false false :; do
19561 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19562 if test -z "$ac_tt"; then
19564 elif $ac_last_try; then
19565 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19567 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19571 # For the awk script, D is an array of macro values keyed by name,
19572 # likewise P contains macro parameters if any. Preserve backslash
19573 # newline sequences.
19575 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19577 s/.\{148\}/&'"$ac_delim"'/g
19580 s/^[ ]*#[ ]*define[ ][ ]*/ /
19587 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19589 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19593 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19594 D["\
1"]=" \
3\\\\\\n
"\\/p
19596 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19601 s/.\{148\}/&'"$ac_delim"'/g
19606 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19609 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19611 ' <confdefs.h | sed '
19612 s/'"$ac_delim"'/"\\\
19613 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19616 for (key in D) D_is_set[key] = 1
19619 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19621 split(line, arg, " ")
19622 if (arg[1] == "#") {
19626 defundef
= substr
(arg
[1], 2)
19629 split(mac1
, mac2
, "(") #)
19631 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19632 if (D_is_set
[macro
]) {
19633 # Preserve the white space surrounding the "#".
19634 print prefix
"define", macro P
[macro
] D
[macro
]
19637 # Replace #undef with comments. This is necessary, for example,
19638 # in the case of _POSIX_SOURCE, which is predefined and required
19639 # on some systems where configure will not decide to define it.
19640 if (defundef
== "undef") {
19641 print
"/*", prefix defundef
, macro
, "*/"
19649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19650 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19651 fi # test -n "$CONFIG_HEADERS"
19654 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19659 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19661 case $ac_mode$ac_tag in
19663 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19664 :[FH
]-) ac_tag
=-:-;;
19665 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19682 -) ac_f
="$ac_tmp/stdin";;
19683 *) # Look for the file first in the build tree, then in the source tree
19684 # (if the path is not absolute). The absolute path cannot be DOS-style,
19685 # because $ac_f cannot contain `:'.
19689 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19691 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19693 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19694 as_fn_append ac_file_inputs
" '$ac_f'"
19697 # Let's still pretend it is `configure' which instantiates (i.e., don't
19698 # use $as_me), people would be surprised to read:
19699 # /* config.h. Generated by config.status. */
19700 configure_input
='Generated from '`
19701 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19703 if test x
"$ac_file" != x-
; then
19704 configure_input
="$ac_file. $configure_input"
19705 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19706 $as_echo "$as_me: creating $ac_file" >&6;}
19708 # Neutralize special characters interpreted by sed in replacement strings.
19709 case $configure_input in #(
19710 *\
&* |
*\|
* |
*\\* )
19711 ac_sed_conf_input
=`$as_echo "$configure_input" |
19712 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19713 *) ac_sed_conf_input
=$configure_input;;
19717 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19718 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19723 ac_dir
=`$as_dirname -- "$ac_file" ||
19724 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19725 X"$ac_file" : 'X\(//\)[^/]' \| \
19726 X"$ac_file" : 'X\(//\)$' \| \
19727 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19728 $as_echo X"$ac_file" |
19729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19733 /^X\(\/\/\)[^/].*/{
19746 as_dir
="$ac_dir"; as_fn_mkdir_p
19750 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19752 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19753 # A ".." for each directory in $ac_dir_suffix.
19754 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19755 case $ac_top_builddir_sub in
19756 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19757 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19760 ac_abs_top_builddir
=$ac_pwd
19761 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19762 # for backward compatibility:
19763 ac_top_builddir
=$ac_top_build_prefix
19766 .
) # We are building in place.
19768 ac_top_srcdir
=$ac_top_builddir_sub
19769 ac_abs_top_srcdir
=$ac_pwd ;;
19770 [\\/]* | ?
:[\\/]* ) # Absolute name.
19771 ac_srcdir
=$srcdir$ac_dir_suffix;
19772 ac_top_srcdir
=$srcdir
19773 ac_abs_top_srcdir
=$srcdir ;;
19774 *) # Relative name.
19775 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19776 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19777 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19779 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19791 # If the template does not know about datarootdir, expand it.
19792 # FIXME: This hack should be removed a few years after 2.60.
19793 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19804 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19805 *datarootdir
*) ac_datarootdir_seen
=yes;;
19806 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19808 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19811 ac_datarootdir_hack='
19812 s&@datadir@&$datadir&g
19813 s&@docdir@&$docdir&g
19814 s&@infodir@&$infodir&g
19815 s&@localedir@&$localedir&g
19816 s&@mandir@&$mandir&g
19817 s&\\\${datarootdir}&$datarootdir&g' ;;
19821 # Neutralize VPATH when `$srcdir' = `.'.
19822 # Shell code in configure.ac might set extrasub.
19823 # FIXME: do we really want to maintain this feature?
19824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19825 ac_sed_extra="$ac_vpsub
19828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19830 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19831 s|@configure_input@|
$ac_sed_conf_input|
;t t
19832 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19833 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19834 s
&@srcdir@
&$ac_srcdir&;t t
19835 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19836 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19837 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19838 s
&@builddir@
&$ac_builddir&;t t
19839 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19840 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19841 $ac_datarootdir_hack
19843 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19844 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19846 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19847 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19848 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19849 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19851 which seems to be undefined. Please make sure it is defined" >&5
19852 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19853 which seems to be undefined. Please make sure it is defined" >&2;}
19855 rm -f "$ac_tmp/stdin"
19857 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19858 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19860 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19866 if test x"$ac_file" != x-; then
19868 $as_echo "/* $configure_input */" \
19869 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19870 } >"$ac_tmp/config.h" \
19871 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19872 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19873 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19874 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19877 mv "$ac_tmp/config.h" "$ac_file" \
19878 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19881 $as_echo "/* $configure_input */" \
19882 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19883 || as_fn_error $? "could not create -" "$LINENO" 5
19891 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19894 # Prefer the file from the source tree if names are identical.
19895 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19896 ac_source=$srcdir/$ac_source
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19900 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19902 if test ! -r "$ac_source"; then
19903 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19907 # Try a relative symlink, then a hard link, then a copy.
19909 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19910 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19912 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19913 ln "$ac_source" "$ac_file" 2>/dev/null ||
19914 cp -p "$ac_source" "$ac_file" ||
19915 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19918 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19919 $as_echo "$as_me: executing $ac_file commands" >&6;}
19924 case $ac_file$ac_mode in
19925 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19926 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19927 "Makefile":C) wine_fn_output_makefile Makefile ;;
19935 ac_clean_files=$ac_clean_files_save
19937 test $ac_write_fail = 0 ||
19938 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19941 # configure is writing to config.log, and then calls config.status.
19942 # config.status does its own redirection, appending to config.log.
19943 # Unfortunately, on DOS this fails, as config.log is still kept open
19944 # by configure, so config.status won't be able to
write to it
; its
19945 # output is simply discarded. So we exec the FD to /dev/null,
19946 # effectively closing config.log, so it can be properly (re)opened and
19947 # appended to by config.status. When coming back to configure, we
19948 # need to make the FD available again.
19949 if test "$no_create" != yes; then
19951 ac_config_status_args
=
19952 test "$silent" = yes &&
19953 ac_config_status_args
="$ac_config_status_args --quiet"
19955 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19957 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19958 # would make configure fail if this is the last instruction.
19959 $ac_cs_success || as_fn_exit
1
19961 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19963 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19967 if test "$no_create" = "yes"
19973 if test "x$wine_notices" != x
; then
19976 for msg
in $wine_notices; do
19978 if ${msg:+false} :; then :
19981 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19982 $as_echo "$as_me: $msg" >&6;}
19987 for msg
in $wine_warnings; do
19989 if ${msg:+false} :; then :
19993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19994 $as_echo "$as_me: WARNING: $msg" >&2;}
20000 $as_me: Finished. Do '${ac_make}' to compile Wine.