2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.19.
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.19'
584 PACKAGE_STRING
='Wine 1.9.19'
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_appinit_l1_1_0
879 enable_api_ms_win_core_atoms_l1_1_0
880 enable_api_ms_win_core_com_l1_1_0
881 enable_api_ms_win_core_com_l1_1_1
882 enable_api_ms_win_core_console_l1_1_0
883 enable_api_ms_win_core_console_l2_1_0
884 enable_api_ms_win_core_datetime_l1_1_0
885 enable_api_ms_win_core_datetime_l1_1_1
886 enable_api_ms_win_core_debug_l1_1_0
887 enable_api_ms_win_core_debug_l1_1_1
888 enable_api_ms_win_core_delayload_l1_1_0
889 enable_api_ms_win_core_delayload_l1_1_1
890 enable_api_ms_win_core_errorhandling_l1_1_0
891 enable_api_ms_win_core_errorhandling_l1_1_1
892 enable_api_ms_win_core_errorhandling_l1_1_2
893 enable_api_ms_win_core_fibers_l1_1_0
894 enable_api_ms_win_core_fibers_l1_1_1
895 enable_api_ms_win_core_file_l1_1_0
896 enable_api_ms_win_core_file_l1_2_0
897 enable_api_ms_win_core_file_l1_2_1
898 enable_api_ms_win_core_file_l2_1_0
899 enable_api_ms_win_core_file_l2_1_1
900 enable_api_ms_win_core_handle_l1_1_0
901 enable_api_ms_win_core_heap_l1_1_0
902 enable_api_ms_win_core_heap_l1_2_0
903 enable_api_ms_win_core_heap_obsolete_l1_1_0
904 enable_api_ms_win_core_interlocked_l1_1_0
905 enable_api_ms_win_core_interlocked_l1_2_0
906 enable_api_ms_win_core_io_l1_1_0
907 enable_api_ms_win_core_io_l1_1_1
908 enable_api_ms_win_core_job_l1_1_0
909 enable_api_ms_win_core_job_l2_1_0
910 enable_api_ms_win_core_kernel32_legacy_l1_1_0
911 enable_api_ms_win_core_kernel32_legacy_l1_1_1
912 enable_api_ms_win_core_kernel32_private_l1_1_1
913 enable_api_ms_win_core_libraryloader_l1_1_0
914 enable_api_ms_win_core_libraryloader_l1_1_1
915 enable_api_ms_win_core_libraryloader_l1_2_0
916 enable_api_ms_win_core_libraryloader_l1_2_2
917 enable_api_ms_win_core_localization_l1_1_0
918 enable_api_ms_win_core_localization_l1_2_0
919 enable_api_ms_win_core_localization_l1_2_1
920 enable_api_ms_win_core_localization_l2_1_0
921 enable_api_ms_win_core_localization_obsolete_l1_1_0
922 enable_api_ms_win_core_localization_obsolete_l1_2_0
923 enable_api_ms_win_core_localization_private_l1_1_0
924 enable_api_ms_win_core_localregistry_l1_1_0
925 enable_api_ms_win_core_memory_l1_1_0
926 enable_api_ms_win_core_memory_l1_1_1
927 enable_api_ms_win_core_memory_l1_1_2
928 enable_api_ms_win_core_misc_l1_1_0
929 enable_api_ms_win_core_namedpipe_l1_1_0
930 enable_api_ms_win_core_namedpipe_l1_2_0
931 enable_api_ms_win_core_namespace_l1_1_0
932 enable_api_ms_win_core_normalization_l1_1_0
933 enable_api_ms_win_core_path_l1_1_0
934 enable_api_ms_win_core_privateprofile_l1_1_1
935 enable_api_ms_win_core_processenvironment_l1_1_0
936 enable_api_ms_win_core_processenvironment_l1_2_0
937 enable_api_ms_win_core_processthreads_l1_1_0
938 enable_api_ms_win_core_processthreads_l1_1_1
939 enable_api_ms_win_core_processthreads_l1_1_2
940 enable_api_ms_win_core_profile_l1_1_0
941 enable_api_ms_win_core_psapi_l1_1_0
942 enable_api_ms_win_core_realtime_l1_1_0
943 enable_api_ms_win_core_registry_l1_1_0
944 enable_api_ms_win_core_registryuserspecific_l1_1_0
945 enable_api_ms_win_core_rtlsupport_l1_1_0
946 enable_api_ms_win_core_rtlsupport_l1_2_0
947 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
948 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
949 enable_api_ms_win_core_sidebyside_l1_1_0
950 enable_api_ms_win_core_string_l1_1_0
951 enable_api_ms_win_core_string_l2_1_0
952 enable_api_ms_win_core_string_obsolete_l1_1_0
953 enable_api_ms_win_core_stringansi_l1_1_0
954 enable_api_ms_win_core_synch_l1_1_0
955 enable_api_ms_win_core_synch_l1_2_0
956 enable_api_ms_win_core_sysinfo_l1_1_0
957 enable_api_ms_win_core_sysinfo_l1_2_0
958 enable_api_ms_win_core_sysinfo_l1_2_1
959 enable_api_ms_win_core_threadpool_l1_1_0
960 enable_api_ms_win_core_threadpool_l1_2_0
961 enable_api_ms_win_core_threadpool_legacy_l1_1_0
962 enable_api_ms_win_core_timezone_l1_1_0
963 enable_api_ms_win_core_toolhelp_l1_1_0
964 enable_api_ms_win_core_url_l1_1_0
965 enable_api_ms_win_core_util_l1_1_0
966 enable_api_ms_win_core_version_l1_1_0
967 enable_api_ms_win_core_version_private_l1_1_0
968 enable_api_ms_win_core_versionansi_l1_1_0
969 enable_api_ms_win_core_windowserrorreporting_l1_1_0
970 enable_api_ms_win_core_winrt_error_l1_1_0
971 enable_api_ms_win_core_winrt_error_l1_1_1
972 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
973 enable_api_ms_win_core_winrt_l1_1_0
974 enable_api_ms_win_core_winrt_registration_l1_1_0
975 enable_api_ms_win_core_winrt_string_l1_1_0
976 enable_api_ms_win_core_wow64_l1_1_0
977 enable_api_ms_win_core_xstate_l1_1_0
978 enable_api_ms_win_core_xstate_l2_1_0
979 enable_api_ms_win_crt_conio_l1_1_0
980 enable_api_ms_win_crt_convert_l1_1_0
981 enable_api_ms_win_crt_environment_l1_1_0
982 enable_api_ms_win_crt_filesystem_l1_1_0
983 enable_api_ms_win_crt_heap_l1_1_0
984 enable_api_ms_win_crt_locale_l1_1_0
985 enable_api_ms_win_crt_math_l1_1_0
986 enable_api_ms_win_crt_multibyte_l1_1_0
987 enable_api_ms_win_crt_private_l1_1_0
988 enable_api_ms_win_crt_process_l1_1_0
989 enable_api_ms_win_crt_runtime_l1_1_0
990 enable_api_ms_win_crt_stdio_l1_1_0
991 enable_api_ms_win_crt_string_l1_1_0
992 enable_api_ms_win_crt_time_l1_1_0
993 enable_api_ms_win_crt_utility_l1_1_0
994 enable_api_ms_win_downlevel_advapi32_l1_1_0
995 enable_api_ms_win_downlevel_advapi32_l2_1_0
996 enable_api_ms_win_downlevel_normaliz_l1_1_0
997 enable_api_ms_win_downlevel_ole32_l1_1_0
998 enable_api_ms_win_downlevel_shell32_l1_1_0
999 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1000 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1001 enable_api_ms_win_downlevel_user32_l1_1_0
1002 enable_api_ms_win_downlevel_version_l1_1_0
1003 enable_api_ms_win_eventing_classicprovider_l1_1_0
1004 enable_api_ms_win_eventing_consumer_l1_1_0
1005 enable_api_ms_win_eventing_controller_l1_1_0
1006 enable_api_ms_win_eventing_provider_l1_1_0
1007 enable_api_ms_win_eventlog_legacy_l1_1_0
1008 enable_api_ms_win_ntuser_dc_access_l1_1_0
1009 enable_api_ms_win_security_audit_l1_1_1
1010 enable_api_ms_win_security_base_l1_1_0
1011 enable_api_ms_win_security_base_l1_2_0
1012 enable_api_ms_win_security_base_private_l1_1_1
1013 enable_api_ms_win_security_lsalookup_l1_1_0
1014 enable_api_ms_win_security_lsalookup_l1_1_1
1015 enable_api_ms_win_security_sddl_l1_1_0
1016 enable_api_ms_win_service_core_l1_1_0
1017 enable_api_ms_win_service_core_l1_1_1
1018 enable_api_ms_win_service_management_l1_1_0
1019 enable_api_ms_win_service_management_l2_1_0
1020 enable_api_ms_win_service_winsvc_l1_1_0
1021 enable_api_ms_win_service_winsvc_l1_2_0
1022 enable_api_ms_win_shell_shellcom_l1_1_0
1023 enable_api_ms_win_shell_shellfolders_l1_1_0
1036 enable_bluetoothapis
1069 enable_d3dcompiler_33
1070 enable_d3dcompiler_34
1071 enable_d3dcompiler_35
1072 enable_d3dcompiler_36
1073 enable_d3dcompiler_37
1074 enable_d3dcompiler_38
1075 enable_d3dcompiler_39
1076 enable_d3dcompiler_40
1077 enable_d3dcompiler_41
1078 enable_d3dcompiler_42
1079 enable_d3dcompiler_43
1080 enable_d3dcompiler_46
1081 enable_d3dcompiler_47
1159 enable_explorerframe
1160 enable_ext_ms_win_gdi_devcaps_l1_1_0
1327 enable_photometadatahandler
1417 enable_windowscodecs
1418 enable_windowscodecsext
1421 enable_winecoreaudio_drv
1423 enable_winegstreamer
1424 enable_winejoystick_drv
1430 enable_winepulse_drv
1431 enable_wineqtdecoder
1500 enable_aspnet_regiis
1536 enable_presentationfontcache
1549 enable_servicemodelreg
1571 enable_winemenubuilder
1573 enable_winemsibuilder
1588 ac_precious_vars
='build_alias
1643 # Initialize some variables set by options.
1645 ac_init_version
=false
1646 ac_unrecognized_opts
=
1647 ac_unrecognized_sep
=
1648 # The variables have the same names as the options, with
1649 # dashes changed to underlines.
1650 cache_file
=/dev
/null
1657 program_transform_name
=s
,x
,x
,
1665 # Installation directory options.
1666 # These are left unexpanded so users can "make install exec_prefix=/foo"
1667 # and all the variables that are supposed to be based on exec_prefix
1668 # by default will actually change.
1669 # Use braces instead of parens because sh, perl, etc. also accept them.
1670 # (The list follows the same order as the GNU Coding Standards.)
1671 bindir
='${exec_prefix}/bin'
1672 sbindir
='${exec_prefix}/sbin'
1673 libexecdir
='${exec_prefix}/libexec'
1674 datarootdir
='${prefix}/share'
1675 datadir
='${datarootdir}'
1676 sysconfdir
='${prefix}/etc'
1677 sharedstatedir
='${prefix}/com'
1678 localstatedir
='${prefix}/var'
1679 runstatedir
='${localstatedir}/run'
1680 includedir
='${prefix}/include'
1681 oldincludedir
='/usr/include'
1682 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1683 infodir
='${datarootdir}/info'
1688 libdir
='${exec_prefix}/lib'
1689 localedir
='${datarootdir}/locale'
1690 mandir
='${datarootdir}/man'
1696 # If the previous option needs an argument, assign it.
1697 if test -n "$ac_prev"; then
1698 eval $ac_prev=\
$ac_option
1704 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1709 # Accept the important Cygnus configure options, so we can diagnose typos.
1711 case $ac_dashdash$ac_option in
1715 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1717 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1718 bindir
=$ac_optarg ;;
1720 -build |
--build |
--buil |
--bui |
--bu)
1721 ac_prev
=build_alias
;;
1722 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1723 build_alias
=$ac_optarg ;;
1725 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1726 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1727 ac_prev
=cache_file
;;
1728 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1729 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1730 cache_file
=$ac_optarg ;;
1732 --config-cache |
-C)
1733 cache_file
=config.cache
;;
1735 -datadir |
--datadir |
--datadi |
--datad)
1737 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1738 datadir
=$ac_optarg ;;
1740 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1741 |
--dataroo |
--dataro |
--datar)
1742 ac_prev
=datarootdir
;;
1743 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1744 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1745 datarootdir
=$ac_optarg ;;
1747 -disable-* |
--disable-*)
1748 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1749 # Reject names that are not valid shell variable names.
1750 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1751 as_fn_error $?
"invalid feature name: $ac_useropt"
1752 ac_useropt_orig
=$ac_useropt
1753 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1754 case $ac_user_opts in
1756 "enable_
$ac_useropt"
1758 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1759 ac_unrecognized_sep
=', ';;
1761 eval enable_
$ac_useropt=no
;;
1763 -docdir |
--docdir |
--docdi |
--doc |
--do)
1765 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1766 docdir
=$ac_optarg ;;
1768 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1770 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1771 dvidir
=$ac_optarg ;;
1773 -enable-* |
--enable-*)
1774 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1775 # Reject names that are not valid shell variable names.
1776 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1777 as_fn_error $?
"invalid feature name: $ac_useropt"
1778 ac_useropt_orig
=$ac_useropt
1779 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1780 case $ac_user_opts in
1782 "enable_
$ac_useropt"
1784 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1785 ac_unrecognized_sep
=', ';;
1787 eval enable_
$ac_useropt=\
$ac_optarg ;;
1789 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1790 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1791 |
--exec |
--exe |
--ex)
1792 ac_prev
=exec_prefix
;;
1793 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1794 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1795 |
--exec=* |
--exe=* |
--ex=*)
1796 exec_prefix
=$ac_optarg ;;
1798 -gas |
--gas |
--ga |
--g)
1799 # Obsolete; use --with-gas.
1802 -help |
--help |
--hel |
--he |
-h)
1803 ac_init_help
=long
;;
1804 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1805 ac_init_help
=recursive
;;
1806 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1807 ac_init_help
=short
;;
1809 -host |
--host |
--hos |
--ho)
1810 ac_prev
=host_alias
;;
1811 -host=* |
--host=* |
--hos=* |
--ho=*)
1812 host_alias
=$ac_optarg ;;
1814 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1816 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1818 htmldir
=$ac_optarg ;;
1820 -includedir |
--includedir |
--includedi |
--included |
--include \
1821 |
--includ |
--inclu |
--incl |
--inc)
1822 ac_prev
=includedir
;;
1823 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1824 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1825 includedir
=$ac_optarg ;;
1827 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1829 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1830 infodir
=$ac_optarg ;;
1832 -libdir |
--libdir |
--libdi |
--libd)
1834 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1835 libdir
=$ac_optarg ;;
1837 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1838 |
--libexe |
--libex |
--libe)
1839 ac_prev
=libexecdir
;;
1840 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1841 |
--libexe=* |
--libex=* |
--libe=*)
1842 libexecdir
=$ac_optarg ;;
1844 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1845 ac_prev
=localedir
;;
1846 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1847 localedir
=$ac_optarg ;;
1849 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1850 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1851 ac_prev
=localstatedir
;;
1852 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1853 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1854 localstatedir
=$ac_optarg ;;
1856 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1858 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1859 mandir
=$ac_optarg ;;
1861 -nfp |
--nfp |
--nf)
1862 # Obsolete; use --without-fp.
1865 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1866 |
--no-cr |
--no-c |
-n)
1869 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1870 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1873 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1874 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1875 |
--oldin |
--oldi |
--old |
--ol |
--o)
1876 ac_prev
=oldincludedir
;;
1877 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1878 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1879 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1880 oldincludedir
=$ac_optarg ;;
1882 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1884 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1885 prefix
=$ac_optarg ;;
1887 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1888 |
--program-pre |
--program-pr |
--program-p)
1889 ac_prev
=program_prefix
;;
1890 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1891 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1892 program_prefix
=$ac_optarg ;;
1894 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1895 |
--program-suf |
--program-su |
--program-s)
1896 ac_prev
=program_suffix
;;
1897 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1898 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1899 program_suffix
=$ac_optarg ;;
1901 -program-transform-name |
--program-transform-name \
1902 |
--program-transform-nam |
--program-transform-na \
1903 |
--program-transform-n |
--program-transform- \
1904 |
--program-transform |
--program-transfor \
1905 |
--program-transfo |
--program-transf \
1906 |
--program-trans |
--program-tran \
1907 |
--progr-tra |
--program-tr |
--program-t)
1908 ac_prev
=program_transform_name
;;
1909 -program-transform-name=* |
--program-transform-name=* \
1910 |
--program-transform-nam=* |
--program-transform-na=* \
1911 |
--program-transform-n=* |
--program-transform-=* \
1912 |
--program-transform=* |
--program-transfor=* \
1913 |
--program-transfo=* |
--program-transf=* \
1914 |
--program-trans=* |
--program-tran=* \
1915 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1916 program_transform_name
=$ac_optarg ;;
1918 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1920 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1921 pdfdir
=$ac_optarg ;;
1923 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1925 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1928 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1929 |
-silent |
--silent |
--silen |
--sile |
--sil)
1932 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1933 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1934 |
--run |
--ru |
--r)
1935 ac_prev
=runstatedir
;;
1936 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1937 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1938 |
--run=* |
--ru=* |
--r=*)
1939 runstatedir
=$ac_optarg ;;
1941 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1943 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1945 sbindir
=$ac_optarg ;;
1947 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1948 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1949 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1951 ac_prev
=sharedstatedir
;;
1952 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1953 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1954 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1956 sharedstatedir
=$ac_optarg ;;
1958 -site |
--site |
--sit)
1960 -site=* |
--site=* |
--sit=*)
1963 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1965 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1966 srcdir
=$ac_optarg ;;
1968 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1969 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1970 ac_prev
=sysconfdir
;;
1971 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1972 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1973 sysconfdir
=$ac_optarg ;;
1975 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1976 ac_prev
=target_alias
;;
1977 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1978 target_alias
=$ac_optarg ;;
1980 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1983 -version |
--version |
--versio |
--versi |
--vers |
-V)
1984 ac_init_version
=: ;;
1987 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1988 # Reject names that are not valid shell variable names.
1989 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1990 as_fn_error $?
"invalid package name: $ac_useropt"
1991 ac_useropt_orig
=$ac_useropt
1992 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1993 case $ac_user_opts in
1997 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1998 ac_unrecognized_sep
=', ';;
2000 eval with_
$ac_useropt=\
$ac_optarg ;;
2002 -without-* |
--without-*)
2003 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2004 # Reject names that are not valid shell variable names.
2005 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2006 as_fn_error $?
"invalid package name: $ac_useropt"
2007 ac_useropt_orig
=$ac_useropt
2008 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2009 case $ac_user_opts in
2013 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2014 ac_unrecognized_sep
=', ';;
2016 eval with_
$ac_useropt=no
;;
2019 # Obsolete; use --with-x.
2022 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2023 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2024 ac_prev
=x_includes
;;
2025 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2026 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2027 x_includes
=$ac_optarg ;;
2029 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2030 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2031 ac_prev
=x_libraries
;;
2032 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2033 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2034 x_libraries
=$ac_optarg ;;
2036 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2037 Try \`$0 --help' for more information"
2041 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2042 # Reject names that are not valid shell variable names.
2043 case $ac_envvar in #(
2044 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2045 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2047 eval $ac_envvar=\
$ac_optarg
2048 export $ac_envvar ;;
2051 # FIXME: should be removed in autoconf 3.0.
2052 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2053 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2054 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2055 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2061 if test -n "$ac_prev"; then
2062 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2063 as_fn_error $?
"missing argument to $ac_option"
2066 if test -n "$ac_unrecognized_opts"; then
2067 case $enable_option_checking in
2069 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2070 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2074 # Check all directory arguments for consistency.
2075 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2076 datadir sysconfdir sharedstatedir localstatedir includedir \
2077 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2078 libdir localedir mandir runstatedir
2080 eval ac_val
=\$
$ac_var
2081 # Remove trailing slashes.
2084 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2085 eval $ac_var=\
$ac_val;;
2087 # Be sure to have absolute directory names.
2089 [\\/$
]* | ?
:[\\/]* ) continue;;
2090 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2092 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2095 # There might be people who depend on the old broken behavior: `$host'
2096 # used to hold the argument of --host etc.
2097 # FIXME: To remove some day.
2100 target
=$target_alias
2102 # FIXME: To remove some day.
2103 if test "x$host_alias" != x
; then
2104 if test "x$build_alias" = x
; then
2105 cross_compiling
=maybe
2106 elif test "x$build_alias" != "x$host_alias"; then
2112 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2114 test "$silent" = yes && exec 6>/dev
/null
2117 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2118 ac_ls_di
=`ls -di .` &&
2119 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2120 as_fn_error $?
"working directory cannot be determined"
2121 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2122 as_fn_error $?
"pwd does not report name of working directory"
2125 # Find the source files, if location was not specified.
2126 if test -z "$srcdir"; then
2127 ac_srcdir_defaulted
=yes
2128 # Try the directory containing this script, then the parent directory.
2129 ac_confdir
=`$as_dirname -- "$as_myself" ||
2130 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2131 X"$as_myself" : 'X\(//\)[^/]' \| \
2132 X"$as_myself" : 'X\(//\)$' \| \
2133 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2134 $as_echo X"$as_myself" |
2135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2153 if test ! -r "$srcdir/$ac_unique_file"; then
2157 ac_srcdir_defaulted
=no
2159 if test ! -r "$srcdir/$ac_unique_file"; then
2160 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2161 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2163 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2165 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2167 # When building in place, set srcdir=.
2168 if test "$ac_abs_confdir" = "$ac_pwd"; then
2171 # Remove unnecessary trailing slashes from srcdir.
2172 # Double slashes in file names in object file debugging info
2173 # mess up M-x gdb in Emacs.
2175 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2177 for ac_var
in $ac_precious_vars; do
2178 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2179 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2180 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2181 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2185 # Report the --help message.
2187 if test "$ac_init_help" = "long"; then
2188 # Omit some internal or obsolete options to make the list less imposing.
2189 # This message is too long to be a string in the A/UX 3.1 sh.
2191 \`configure' configures Wine 1.9.19 to adapt to many kinds of systems.
2193 Usage: $0 [OPTION]... [VAR=VALUE]...
2195 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2196 VAR=VALUE. See below for descriptions of some of the useful variables.
2198 Defaults for the options are specified in brackets.
2201 -h, --help display this help and exit
2202 --help=short display options specific to this package
2203 --help=recursive display the short help of all the included packages
2204 -V, --version display version information and exit
2205 -q, --quiet, --silent do not print \`checking ...' messages
2206 --cache-file=FILE cache test results in FILE [disabled]
2207 -C, --config-cache alias for \`--cache-file=config.cache'
2208 -n, --no-create do not create output files
2209 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2211 Installation directories:
2212 --prefix=PREFIX install architecture-independent files in PREFIX
2213 [$ac_default_prefix]
2214 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2217 By default, \`make install' will install all the files in
2218 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2219 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2220 for instance \`--prefix=\$HOME'.
2222 For better control, use the options below.
2224 Fine tuning of the installation directories:
2225 --bindir=DIR user executables [EPREFIX/bin]
2226 --sbindir=DIR system admin executables [EPREFIX/sbin]
2227 --libexecdir=DIR program executables [EPREFIX/libexec]
2228 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2229 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2230 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2231 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2232 --libdir=DIR object code libraries [EPREFIX/lib]
2233 --includedir=DIR C header files [PREFIX/include]
2234 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2235 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2236 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2237 --infodir=DIR info documentation [DATAROOTDIR/info]
2238 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2239 --mandir=DIR man documentation [DATAROOTDIR/man]
2240 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2241 --htmldir=DIR html documentation [DOCDIR]
2242 --dvidir=DIR dvi documentation [DOCDIR]
2243 --pdfdir=DIR pdf documentation [DOCDIR]
2244 --psdir=DIR ps documentation [DOCDIR]
2250 --x-includes=DIR X include files are
in DIR
2251 --x-libraries=DIR X library files are
in DIR
2254 --build=BUILD configure
for building on BUILD
[guessed
]
2255 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2259 if test -n "$ac_init_help"; then
2260 case $ac_init_help in
2261 short | recursive
) echo "Configuration of Wine 1.9.19:";;
2266 --disable-option-checking ignore unrecognized
--enable/--with options
2267 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2268 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2269 --disable-win16 do not include Win16 support
2270 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2272 --disable-tests do not build the regression tests
2273 --enable-maintainer-mode
2274 enable maintainer-specific build rules
2275 --disable-largefile omit support for large files
2278 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2279 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2280 --without-alsa do not use the Alsa sound support
2281 --without-capi do not use CAPI (ISDN support)
2282 --without-cms do not use CMS (color management support)
2283 --without-coreaudio do not use the CoreAudio sound support
2284 --without-cups do not use CUPS
2285 --without-curses do not use (n)curses
2286 --without-dbus do not use DBus (dynamic device support)
2287 --without-fontconfig do not use fontconfig
2288 --without-freetype do not use the FreeType library
2289 --without-gettext do not use gettext
2290 --with-gettextpo use the GetTextPO library to rebuild po files
2291 --without-gphoto do not use gphoto (Digital Camera support)
2292 --without-glu do not use the GLU library
2293 --without-gnutls do not use GnuTLS (schannel support)
2294 --without-gsm do not use libgsm (GSM 06.10 codec support)
2295 --without-gstreamer do not use GStreamer (codecs support)
2296 --without-hal do not use HAL (dynamic device support)
2297 --without-jpeg do not use JPEG
2298 --without-ldap do not use LDAP
2299 --without-mpg123 do not use the mpg123 library
2300 --without-netapi do not use the Samba NetAPI library
2301 --without-openal do not use OpenAL
2302 --without-opencl do not use OpenCL
2303 --without-opengl do not use OpenGL
2304 --without-osmesa do not use the OSMesa library
2305 --without-oss do not use the OSS sound support
2306 --without-pcap do not use the Packet Capture library
2307 --without-png do not use PNG
2308 --without-pthread do not use the pthread library
2309 --without-pulse do not use PulseAudio sound support
2310 --without-sane do not use SANE (scanner support)
2311 --without-tiff do not use TIFF
2312 --without-udev do not use udev (plug and play support)
2313 --without-v4l do not use v4l1 (v4l support)
2314 --without-xcomposite do not use the Xcomposite extension
2315 --without-xcursor do not use the Xcursor extension
2316 --without-xinerama do not use Xinerama (multi-monitor support)
2317 --without-xinput do not use the Xinput extension
2318 --without-xinput2 do not use the Xinput 2 extension
2319 --without-xml do not use XML
2320 --without-xrandr do not use Xrandr (resolution changes)
2321 --without-xrender do not use the Xrender extension
2322 --without-xshape do not use the Xshape extension
2323 --without-xshm do not use XShm (shared memory extension)
2324 --without-xslt do not use XSLT
2325 --without-xxf86vm do not use XFree video mode extension
2326 --without-zlib do not use Zlib (data compression)
2327 --with-wine-tools=DIR use Wine tools from directory DIR
2328 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2329 --with-x use the X Window System
2331 Some influential environment variables:
2332 CC C compiler command
2333 CFLAGS C compiler flags
2334 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2335 nonstandard directory <lib dir>
2336 LIBS libraries to pass to the linker, e.g. -l<library>
2337 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2338 you have headers in a nonstandard directory <include dir>
2339 CXX C++ compiler command
2340 CXXFLAGS C++ compiler flags
2342 XMKMF Path to xmkmf, Makefile generator for X Window System
2343 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2344 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2345 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2346 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2347 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2348 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2349 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2350 HAL_LIBS Linker flags for hal, overriding pkg-config
2352 C compiler flags for gnutls, overriding pkg-config
2353 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2354 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2355 SANE_LIBS Linker flags for libsane, overriding pkg-config
2357 C compiler flags for libgphoto2, overriding pkg-config
2359 Linker flags for libgphoto2, overriding pkg-config
2361 C compiler flags for libgphoto2_port, overriding pkg-config
2363 Linker flags for libgphoto2_port, overriding pkg-config
2365 C compiler flags for lcms2, overriding pkg-config
2366 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2368 C compiler flags for freetype2, overriding pkg-config
2370 Linker flags for freetype2, overriding pkg-config
2372 C compiler flags for libpulse, overriding pkg-config
2373 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2375 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2376 gstreamer-audio-1.0, overriding pkg-config
2378 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2379 gstreamer-audio-1.0, overriding pkg-config
2380 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2381 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2383 C compiler flags for capi20, overriding pkg-config
2384 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2386 C compiler flags for fontconfig, overriding pkg-config
2388 Linker flags for fontconfig, overriding pkg-config
2389 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2390 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2391 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2392 PNG_LIBS Linker flags for libpng, overriding pkg-config
2393 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2394 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2396 C compiler flags for libmpg123, overriding pkg-config
2397 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2399 C compiler flags for netapi, overriding pkg-config
2400 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2402 Use these variables to override the choices made by `configure' or to
help
2403 it to
find libraries and programs with nonstandard names
/locations.
2405 Report bugs to
<wine-devel@winehq.org
>.
2406 Wine home page
: <http
://www.winehq.org
>.
2411 if test "$ac_init_help" = "recursive"; then
2412 # If there are subdirs, report their specific --help.
2413 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2414 test -d "$ac_dir" ||
2415 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2420 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2422 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2423 # A ".." for each directory in $ac_dir_suffix.
2424 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2425 case $ac_top_builddir_sub in
2426 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2427 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2430 ac_abs_top_builddir
=$ac_pwd
2431 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2432 # for backward compatibility:
2433 ac_top_builddir
=$ac_top_build_prefix
2436 .
) # We are building in place.
2438 ac_top_srcdir
=$ac_top_builddir_sub
2439 ac_abs_top_srcdir
=$ac_pwd ;;
2440 [\\/]* | ?
:[\\/]* ) # Absolute name.
2441 ac_srcdir
=$srcdir$ac_dir_suffix;
2442 ac_top_srcdir
=$srcdir
2443 ac_abs_top_srcdir
=$srcdir ;;
2445 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2446 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2447 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2449 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2451 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2452 # Check for guested configure.
2453 if test -f "$ac_srcdir/configure.gnu"; then
2455 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2456 elif test -f "$ac_srcdir/configure"; then
2458 $SHELL "$ac_srcdir/configure" --help=recursive
2460 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2462 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2466 test -n "$ac_init_help" && exit $ac_status
2467 if $ac_init_version; then
2469 Wine configure
1.9.19
2470 generated by GNU Autoconf
2.69
2472 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2473 This configure
script is free software
; the Free Software Foundation
2474 gives unlimited permission to copy
, distribute and modify it.
2479 ## ------------------------ ##
2480 ## Autoconf initialization. ##
2481 ## ------------------------ ##
2483 # ac_fn_c_try_compile LINENO
2484 # --------------------------
2485 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2486 ac_fn_c_try_compile
()
2488 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2489 rm -f conftest.
$ac_objext
2490 if { { ac_try
="$ac_compile"
2492 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2493 *) ac_try_echo=$ac_try;;
2495 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2496 $as_echo "$ac_try_echo"; } >&5
2497 (eval "$ac_compile") 2>conftest.err
2499 if test -s conftest.err; then
2500 grep -v '^ *+' conftest.err >conftest.er1
2501 cat conftest.er1 >&5
2502 mv -f conftest.er1 conftest.err
2504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2505 test $ac_status = 0; } && {
2506 test -z "$ac_c_werror_flag" ||
2507 test ! -s conftest.err
2508 } && test -s conftest.$ac_objext; then :
2511 $as_echo "$as_me: failed program was:" >&5
2512 sed 's/^/| /' conftest.$ac_ext >&5
2516 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2517 as_fn_set_status $ac_retval
2519 } # ac_fn_c_try_compile
2521 # ac_fn_cxx_try_compile LINENO
2522 # ----------------------------
2523 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2524 ac_fn_cxx_try_compile ()
2526 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2527 rm -f conftest.$ac_objext
2528 if { { ac_try="$ac_compile"
2530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2531 *) ac_try_echo
=$ac_try;;
2533 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2534 $as_echo "$ac_try_echo"; } >&5
2535 (eval "$ac_compile") 2>conftest.err
2537 if test -s conftest.err
; then
2538 grep -v '^ *+' conftest.err
>conftest.er1
2539 cat conftest.er1
>&5
2540 mv -f conftest.er1 conftest.err
2542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2543 test $ac_status = 0; } && {
2544 test -z "$ac_cxx_werror_flag" ||
2545 test ! -s conftest.err
2546 } && test -s conftest.
$ac_objext; then :
2549 $as_echo "$as_me: failed program was:" >&5
2550 sed 's/^/| /' conftest.
$ac_ext >&5
2554 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2555 as_fn_set_status
$ac_retval
2557 } # ac_fn_cxx_try_compile
2559 # ac_fn_c_try_link LINENO
2560 # -----------------------
2561 # Try to link conftest.$ac_ext, and return whether this succeeded.
2564 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2565 rm -f conftest.
$ac_objext conftest
$ac_exeext
2566 if { { ac_try
="$ac_link"
2568 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2569 *) ac_try_echo=$ac_try;;
2571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2572 $as_echo "$ac_try_echo"; } >&5
2573 (eval "$ac_link") 2>conftest.err
2575 if test -s conftest.err; then
2576 grep -v '^ *+' conftest.err >conftest.er1
2577 cat conftest.er1 >&5
2578 mv -f conftest.er1 conftest.err
2580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2581 test $ac_status = 0; } && {
2582 test -z "$ac_c_werror_flag" ||
2583 test ! -s conftest.err
2584 } && test -s conftest$ac_exeext && {
2585 test "$cross_compiling" = yes ||
2586 test -x conftest$ac_exeext
2590 $as_echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.$ac_ext >&5
2595 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2596 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2597 # interfere with the next link command; also delete a directory that is
2598 # left behind by Apple's compiler. We do this before executing the actions.
2599 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2600 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2601 as_fn_set_status $ac_retval
2603 } # ac_fn_c_try_link
2605 # ac_fn_c_try_cpp LINENO
2606 # ----------------------
2607 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2610 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2611 if { { ac_try="$ac_cpp conftest.$ac_ext"
2613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2614 *) ac_try_echo
=$ac_try;;
2616 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2617 $as_echo "$ac_try_echo"; } >&5
2618 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2620 if test -s conftest.err
; then
2621 grep -v '^ *+' conftest.err
>conftest.er1
2622 cat conftest.er1
>&5
2623 mv -f conftest.er1 conftest.err
2625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2626 test $ac_status = 0; } > conftest.i
&& {
2627 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2628 test ! -s conftest.err
2632 $as_echo "$as_me: failed program was:" >&5
2633 sed 's/^/| /' conftest.
$ac_ext >&5
2637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2638 as_fn_set_status
$ac_retval
2642 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2643 # -------------------------------------------------------
2644 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2645 # the include files in INCLUDES and setting the cache variable VAR
2647 ac_fn_c_check_header_mongrel
()
2649 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2650 if eval \
${$3+:} false
; then :
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2652 $as_echo_n "checking for $2... " >&6; }
2653 if eval \
${$3+:} false
; then :
2654 $as_echo_n "(cached) " >&6
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2658 $as_echo "$ac_res" >&6; }
2660 # Is the header compilable?
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2662 $as_echo_n "checking $2 usability... " >&6; }
2663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2664 /* end confdefs.h. */
2668 if ac_fn_c_try_compile
"$LINENO"; then :
2669 ac_header_compiler
=yes
2671 ac_header_compiler
=no
2673 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2675 $as_echo "$ac_header_compiler" >&6; }
2677 # Is the header present?
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2679 $as_echo_n "checking $2 presence... " >&6; }
2680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2681 /* end confdefs.h. */
2684 if ac_fn_c_try_cpp
"$LINENO"; then :
2685 ac_header_preproc
=yes
2687 ac_header_preproc
=no
2689 rm -f conftest.err conftest.i conftest.
$ac_ext
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2691 $as_echo "$ac_header_preproc" >&6; }
2693 # So? What about this header?
2694 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2697 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2699 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2703 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2705 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2707 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2709 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2711 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2712 ( $as_echo "## ------------------------------------ ##
2713 ## Report this to wine-devel@winehq.org ##
2714 ## ------------------------------------ ##"
2715 ) |
sed "s/^/$as_me: WARNING: /" >&2
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2719 $as_echo_n "checking for $2... " >&6; }
2720 if eval \
${$3+:} false
; then :
2721 $as_echo_n "(cached) " >&6
2723 eval "$3=\$ac_header_compiler"
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2727 $as_echo "$ac_res" >&6; }
2729 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2731 } # ac_fn_c_check_header_mongrel
2733 # ac_fn_c_try_run LINENO
2734 # ----------------------
2735 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2736 # that executables *can* be run.
2739 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2740 if { { ac_try
="$ac_link"
2742 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2743 *) ac_try_echo=$ac_try;;
2745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2746 $as_echo "$ac_try_echo"; } >&5
2747 (eval "$ac_link") 2>&5
2749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2750 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2751 { { case "(($ac_try" in
2752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2753 *) ac_try_echo
=$ac_try;;
2755 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2756 $as_echo "$ac_try_echo"; } >&5
2757 (eval "$ac_try") 2>&5
2759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2760 test $ac_status = 0; }; }; then :
2763 $as_echo "$as_me: program exited with status $ac_status" >&5
2764 $as_echo "$as_me: failed program was:" >&5
2765 sed 's/^/| /' conftest.
$ac_ext >&5
2767 ac_retval
=$ac_status
2769 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2771 as_fn_set_status
$ac_retval
2775 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2776 # -------------------------------------------------------
2777 # Tests whether HEADER exists and can be compiled using the include files in
2778 # INCLUDES, setting the cache variable VAR accordingly.
2779 ac_fn_c_check_header_compile
()
2781 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2783 $as_echo_n "checking for $2... " >&6; }
2784 if eval \
${$3+:} false
; then :
2785 $as_echo_n "(cached) " >&6
2787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2788 /* end confdefs.h. */
2792 if ac_fn_c_try_compile
"$LINENO"; then :
2797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2801 $as_echo "$ac_res" >&6; }
2802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2804 } # ac_fn_c_check_header_compile
2806 # ac_fn_c_check_func LINENO FUNC VAR
2807 # ----------------------------------
2808 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2809 ac_fn_c_check_func
()
2811 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2813 $as_echo_n "checking for $2... " >&6; }
2814 if eval \
${$3+:} false
; then :
2815 $as_echo_n "(cached) " >&6
2817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2818 /* end confdefs.h. */
2819 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2821 #define $2 innocuous_$2
2823 /* System header to define __stub macros and hopefully few prototypes,
2824 which can conflict with char $2 (); below.
2825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2826 <limits.h> exists even on freestanding compilers. */
2829 # include <limits.h>
2831 # include <assert.h>
2836 /* Override any GCC internal prototype to avoid an error.
2837 Use char because int might match the return type of a GCC
2838 builtin and then its argument prototype would still apply. */
2843 /* The GNU C library defines this for functions which it implements
2844 to always fail with ENOSYS. Some functions are actually named
2845 something starting with __ and the normal name is an alias. */
2846 #if defined __stub_$2 || defined __stub___$2
2858 if ac_fn_c_try_link
"$LINENO"; then :
2863 rm -f core conftest.err conftest.
$ac_objext \
2864 conftest
$ac_exeext conftest.
$ac_ext
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2868 $as_echo "$ac_res" >&6; }
2869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2871 } # ac_fn_c_check_func
2873 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2874 # ----------------------------------------------------
2875 # Tries to find if the field MEMBER exists in type AGGR, after including
2876 # INCLUDES, setting cache variable VAR accordingly.
2877 ac_fn_c_check_member
()
2879 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2881 $as_echo_n "checking for $2.$3... " >&6; }
2882 if eval \
${$4+:} false
; then :
2883 $as_echo_n "(cached) " >&6
2885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2898 if ac_fn_c_try_compile
"$LINENO"; then :
2901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2902 /* end confdefs.h. */
2908 if (sizeof ac_aggr.$3)
2914 if ac_fn_c_try_compile
"$LINENO"; then :
2919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2925 $as_echo "$ac_res" >&6; }
2926 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2928 } # ac_fn_c_check_member
2930 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2931 # -------------------------------------------
2932 # Tests whether TYPE exists after having included INCLUDES, setting cache
2933 # variable VAR accordingly.
2934 ac_fn_c_check_type
()
2936 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2938 $as_echo_n "checking for $2... " >&6; }
2939 if eval \
${$3+:} false
; then :
2940 $as_echo_n "(cached) " >&6
2943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2944 /* end confdefs.h. */
2955 if ac_fn_c_try_compile
"$LINENO"; then :
2956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2957 /* end confdefs.h. */
2968 if ac_fn_c_try_compile
"$LINENO"; then :
2973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2979 $as_echo "$ac_res" >&6; }
2980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2982 } # ac_fn_c_check_type
2983 cat >config.log
<<_ACEOF
2984 This file contains any messages produced by compilers while
2985 running configure, to aid debugging if configure makes a mistake.
2987 It was created by Wine $as_me 1.9.19, which was
2988 generated by GNU Autoconf 2.69. Invocation command line was
3000 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3001 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3002 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3003 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3004 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3006 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3007 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3009 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3010 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3011 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3012 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3013 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3014 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3015 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3023 test -z "$as_dir" && as_dir
=.
3024 $as_echo "PATH: $as_dir"
3040 # Keep a trace of the command line.
3041 # Strip out --no-create and --no-recursion so they do not pile up.
3042 # Strip out --silent because we don't want to record it for future runs.
3043 # Also quote any args containing shell meta-characters.
3044 # Make two passes to allow for proper duplicate-argument suppression.
3048 ac_must_keep_next
=false
3054 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3055 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3056 |
-silent |
--silent |
--silen |
--sile |
--sil)
3059 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3062 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3064 as_fn_append ac_configure_args1
" '$ac_arg'"
3065 if test $ac_must_keep_next = true
; then
3066 ac_must_keep_next
=false
# Got value, back to normal.
3069 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3070 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3071 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3072 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3073 case "$ac_configure_args0 " in
3074 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3077 -* ) ac_must_keep_next
=true
;;
3080 as_fn_append ac_configure_args
" '$ac_arg'"
3085 { ac_configure_args0
=; unset ac_configure_args0
;}
3086 { ac_configure_args1
=; unset ac_configure_args1
;}
3088 # When interrupted or exit'd, cleanup temporary files, and complete
3089 # config.log. We remove comments because anyway the quotes in there
3090 # would cause problems or look ugly.
3091 # WARNING: Use '\'' to represent an apostrophe within the trap.
3092 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3093 trap 'exit_status=$?
3094 # Save into config.log some information that might help in debugging.
3098 $as_echo "## ---------------- ##
3099 ## Cache variables. ##
3100 ## ---------------- ##"
3102 # The following way of writing the cache mishandles newlines in values,
3104 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3105 eval ac_val=\$$ac_var
3109 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3110 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3113 _ | IFS | as_nl) ;; #(
3114 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3115 *) { eval $ac_var=; unset $ac_var;} ;;
3120 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3121 *${as_nl}ac_space=\ *)
3123 "s/'\''/'\''\\\\'\'''\''/g;
3124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3127 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3134 $as_echo "## ----------------- ##
3135 ## Output variables. ##
3136 ## ----------------- ##"
3138 for ac_var in $ac_subst_vars
3140 eval ac_val=\$$ac_var
3142 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3144 $as_echo "$ac_var='\''$ac_val'\''"
3148 if test -n "$ac_subst_files"; then
3149 $as_echo "## ------------------- ##
3150 ## File substitutions. ##
3151 ## ------------------- ##"
3153 for ac_var
in $ac_subst_files
3155 eval ac_val
=\$
$ac_var
3157 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3159 $as_echo "$ac_var='\''$ac_val'\''"
3164 if test -s confdefs.h; then
3165 $as_echo "## ----------- ##
3172 test "$ac_signal" != 0 &&
3173 $as_echo "$as_me: caught signal $ac_signal"
3174 $as_echo "$as_me: exit $exit_status"
3176 rm -f core *.core core.conftest.* &&
3177 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3180 for ac_signal
in 1 2 13 15; do
3181 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3185 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3186 rm -f -r conftest
* confdefs.h
3188 $as_echo "/* confdefs.h */" > confdefs.h
3190 # Predefined preprocessor variables.
3192 cat >>confdefs.h
<<_ACEOF
3193 #define PACKAGE_NAME "$PACKAGE_NAME"
3196 cat >>confdefs.h
<<_ACEOF
3197 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3200 cat >>confdefs.h
<<_ACEOF
3201 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3204 cat >>confdefs.h
<<_ACEOF
3205 #define PACKAGE_STRING "$PACKAGE_STRING"
3208 cat >>confdefs.h
<<_ACEOF
3209 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3212 cat >>confdefs.h
<<_ACEOF
3213 #define PACKAGE_URL "$PACKAGE_URL"
3217 # Let the site file select an alternate cache file if it wants to.
3218 # Prefer an explicitly selected file to automatically selected ones.
3221 if test -n "$CONFIG_SITE"; then
3222 # We do not want a PATH search for config.site.
3223 case $CONFIG_SITE in #((
3224 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3225 */*) ac_site_file1
=$CONFIG_SITE;;
3226 *) ac_site_file1
=.
/$CONFIG_SITE;;
3228 elif test "x$prefix" != xNONE
; then
3229 ac_site_file1
=$prefix/share
/config.site
3230 ac_site_file2
=$prefix/etc
/config.site
3232 ac_site_file1
=$ac_default_prefix/share
/config.site
3233 ac_site_file2
=$ac_default_prefix/etc
/config.site
3235 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3237 test "x$ac_site_file" = xNONE
&& continue
3238 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3240 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3241 sed 's/^/| /' "$ac_site_file" >&5
3243 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3245 as_fn_error $?
"failed to load site script $ac_site_file
3246 See \`config.log' for more details" "$LINENO" 5; }
3250 if test -r "$cache_file"; then
3251 # Some versions of bash will fail to source /dev/null (special files
3252 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3253 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3255 $as_echo "$as_me: loading cache $cache_file" >&6;}
3257 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3258 *) .
"./$cache_file";;
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3263 $as_echo "$as_me: creating cache $cache_file" >&6;}
3267 # Check that the precious variables saved in the cache have kept the same
3269 ac_cache_corrupted
=false
3270 for ac_var
in $ac_precious_vars; do
3271 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3272 eval ac_new_set
=\
$ac_env_${ac_var}_set
3273 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3274 eval ac_new_val
=\
$ac_env_${ac_var}_value
3275 case $ac_old_set,$ac_new_set in
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3278 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3279 ac_cache_corrupted
=: ;;
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3282 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3283 ac_cache_corrupted
=: ;;
3286 if test "x$ac_old_val" != "x$ac_new_val"; then
3287 # differences in whitespace do not lead to failure.
3288 ac_old_val_w
=`echo x $ac_old_val`
3289 ac_new_val_w
=`echo x $ac_new_val`
3290 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3292 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3293 ac_cache_corrupted
=:
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3296 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3297 eval $ac_var=\
$ac_old_val
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3300 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3302 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3305 # Pass precious variables to config.status.
3306 if test "$ac_new_set" = set; then
3308 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3309 *) ac_arg
=$ac_var=$ac_new_val ;;
3311 case " $ac_configure_args " in
3312 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3313 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3317 if $ac_cache_corrupted; then
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3321 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3322 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3324 ## -------------------- ##
3325 ## Main body of script. ##
3326 ## -------------------- ##
3329 ac_cpp
='$CPP $CPPFLAGS'
3330 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3331 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3332 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3336 ac_config_headers
="$ac_config_headers include/config.h"
3339 for ac_dir
in tools
"$srcdir"/tools
; do
3340 if test -f "$ac_dir/install-sh"; then
3342 ac_install_sh
="$ac_aux_dir/install-sh -c"
3344 elif test -f "$ac_dir/install.sh"; then
3346 ac_install_sh
="$ac_aux_dir/install.sh -c"
3348 elif test -f "$ac_dir/shtool"; then
3350 ac_install_sh
="$ac_aux_dir/shtool install -c"
3354 if test -z "$ac_aux_dir"; then
3355 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3358 # These three variables are undocumented and unsupported,
3359 # and are intended to be withdrawn in a future Autoconf release.
3360 # They can cause serious problems if a builder's source tree is in a directory
3361 # whose full name contains unusual characters.
3362 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3363 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3364 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3368 libwine_version
="1.0"
3372 # Check whether --enable-win16 was given.
3373 if test "${enable_win16+set}" = set; then :
3374 enableval
=$enable_win16;
3377 # Check whether --enable-win64 was given.
3378 if test "${enable_win64+set}" = set; then :
3379 enableval
=$enable_win64;
3382 # Check whether --enable-tests was given.
3383 if test "${enable_tests+set}" = set; then :
3384 enableval
=$enable_tests;
3387 # Check whether --enable-maintainer-mode was given.
3388 if test "${enable_maintainer_mode+set}" = set; then :
3389 enableval
=$enable_maintainer_mode;
3394 # Check whether --with-alsa was given.
3395 if test "${with_alsa+set}" = set; then :
3396 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3400 # Check whether --with-capi was given.
3401 if test "${with_capi+set}" = set; then :
3406 # Check whether --with-cms was given.
3407 if test "${with_cms+set}" = set; then :
3412 # Check whether --with-coreaudio was given.
3413 if test "${with_coreaudio+set}" = set; then :
3414 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3418 # Check whether --with-cups was given.
3419 if test "${with_cups+set}" = set; then :
3424 # Check whether --with-curses was given.
3425 if test "${with_curses+set}" = set; then :
3426 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3430 # Check whether --with-dbus was given.
3431 if test "${with_dbus+set}" = set; then :
3436 # Check whether --with-fontconfig was given.
3437 if test "${with_fontconfig+set}" = set; then :
3438 withval
=$with_fontconfig;
3442 # Check whether --with-freetype was given.
3443 if test "${with_freetype+set}" = set; then :
3444 withval
=$with_freetype;
3448 # Check whether --with-gettext was given.
3449 if test "${with_gettext+set}" = set; then :
3450 withval
=$with_gettext;
3454 # Check whether --with-gettextpo was given.
3455 if test "${with_gettextpo+set}" = set; then :
3456 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3460 # Check whether --with-gphoto was given.
3461 if test "${with_gphoto+set}" = set; then :
3462 withval
=$with_gphoto;
3466 # Check whether --with-glu was given.
3467 if test "${with_glu+set}" = set; then :
3472 # Check whether --with-gnutls was given.
3473 if test "${with_gnutls+set}" = set; then :
3474 withval
=$with_gnutls;
3478 # Check whether --with-gsm was given.
3479 if test "${with_gsm+set}" = set; then :
3480 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3484 # Check whether --with-gstreamer was given.
3485 if test "${with_gstreamer+set}" = set; then :
3486 withval
=$with_gstreamer;
3490 # Check whether --with-hal was given.
3491 if test "${with_hal+set}" = set; then :
3496 # Check whether --with-jpeg was given.
3497 if test "${with_jpeg+set}" = set; then :
3502 # Check whether --with-ldap was given.
3503 if test "${with_ldap+set}" = set; then :
3504 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3508 # Check whether --with-mpg123 was given.
3509 if test "${with_mpg123+set}" = set; then :
3510 withval
=$with_mpg123;
3514 # Check whether --with-netapi was given.
3515 if test "${with_netapi+set}" = set; then :
3516 withval
=$with_netapi;
3520 # Check whether --with-openal was given.
3521 if test "${with_openal+set}" = set; then :
3522 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3526 # Check whether --with-opencl was given.
3527 if test "${with_opencl+set}" = set; then :
3528 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3532 # Check whether --with-opengl was given.
3533 if test "${with_opengl+set}" = set; then :
3534 withval
=$with_opengl;
3538 # Check whether --with-osmesa was given.
3539 if test "${with_osmesa+set}" = set; then :
3540 withval
=$with_osmesa;
3544 # Check whether --with-oss was given.
3545 if test "${with_oss+set}" = set; then :
3550 # Check whether --with-pcap was given.
3551 if test "${with_pcap+set}" = set; then :
3552 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3556 # Check whether --with-png was given.
3557 if test "${with_png+set}" = set; then :
3562 # Check whether --with-pthread was given.
3563 if test "${with_pthread+set}" = set; then :
3564 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3568 # Check whether --with-pulse was given.
3569 if test "${with_pulse+set}" = set; then :
3570 withval
=$with_pulse;
3574 # Check whether --with-sane was given.
3575 if test "${with_sane+set}" = set; then :
3580 # Check whether --with-tiff was given.
3581 if test "${with_tiff+set}" = set; then :
3586 # Check whether --with-udev was given.
3587 if test "${with_udev+set}" = set; then :
3592 # Check whether --with-v4l was given.
3593 if test "${with_v4l+set}" = set; then :
3598 # Check whether --with-xcomposite was given.
3599 if test "${with_xcomposite+set}" = set; then :
3600 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3604 # Check whether --with-xcursor was given.
3605 if test "${with_xcursor+set}" = set; then :
3606 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3610 # Check whether --with-xinerama was given.
3611 if test "${with_xinerama+set}" = set; then :
3612 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3616 # Check whether --with-xinput was given.
3617 if test "${with_xinput+set}" = set; then :
3618 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3622 # Check whether --with-xinput2 was given.
3623 if test "${with_xinput2+set}" = set; then :
3624 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3628 # Check whether --with-xml was given.
3629 if test "${with_xml+set}" = set; then :
3634 # Check whether --with-xrandr was given.
3635 if test "${with_xrandr+set}" = set; then :
3636 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3640 # Check whether --with-xrender was given.
3641 if test "${with_xrender+set}" = set; then :
3642 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3646 # Check whether --with-xshape was given.
3647 if test "${with_xshape+set}" = set; then :
3648 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3652 # Check whether --with-xshm was given.
3653 if test "${with_xshm+set}" = set; then :
3654 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3658 # Check whether --with-xslt was given.
3659 if test "${with_xslt+set}" = set; then :
3664 # Check whether --with-xxf86vm was given.
3665 if test "${with_xxf86vm+set}" = set; then :
3666 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
3670 # Check whether --with-zlib was given.
3671 if test "${with_zlib+set}" = set; then :
3672 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3677 # Check whether --with-wine-tools was given.
3678 if test "${with_wine_tools+set}" = set; then :
3679 withval
=$with_wine_tools;
3683 # Check whether --with-wine64 was given.
3684 if test "${with_wine64+set}" = set; then :
3685 withval
=$with_wine64;
3689 # Make sure we can run config.sub.
3690 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3691 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3694 $as_echo_n "checking build system type... " >&6; }
3695 if ${ac_cv_build+:} false
; then :
3696 $as_echo_n "(cached) " >&6
3698 ac_build_alias
=$build_alias
3699 test "x$ac_build_alias" = x
&&
3700 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3701 test "x$ac_build_alias" = x
&&
3702 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3703 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3704 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3708 $as_echo "$ac_cv_build" >&6; }
3709 case $ac_cv_build in
3711 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3714 ac_save_IFS
=$IFS; IFS
='-'
3720 # Remember, the first character of IFS is used to create $*,
3721 # except with old shells:
3724 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3728 $as_echo_n "checking host system type... " >&6; }
3729 if ${ac_cv_host+:} false
; then :
3730 $as_echo_n "(cached) " >&6
3732 if test "x$host_alias" = x
; then
3733 ac_cv_host
=$ac_cv_build
3735 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3736 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3741 $as_echo "$ac_cv_host" >&6; }
3744 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3747 ac_save_IFS
=$IFS; IFS
='-'
3753 # Remember, the first character of IFS is used to create $*,
3754 # except with old shells:
3757 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3763 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3764 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3765 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3771 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3773 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3774 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3775 $as_echo_n "(cached) " >&6
3777 cat >conftest.
make <<\_ACEOF
3780 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3782 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3783 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3785 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3787 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3791 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3793 $as_echo "yes" >&6; }
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3797 $as_echo "no" >&6; }
3798 SET_MAKE
="MAKE=${MAKE-make}"
3802 ac_cpp
='$CPP $CPPFLAGS'
3803 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3804 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3805 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3806 if test -n "$ac_tool_prefix"; then
3807 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3808 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3810 $as_echo_n "checking for $ac_word... " >&6; }
3811 if ${ac_cv_prog_CC+:} false
; then :
3812 $as_echo_n "(cached) " >&6
3814 if test -n "$CC"; then
3815 ac_cv_prog_CC
="$CC" # Let the user override the test.
3817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3821 test -z "$as_dir" && as_dir
=.
3822 for ac_exec_ext
in '' $ac_executable_extensions; do
3823 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3824 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3835 if test -n "$CC"; then
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3837 $as_echo "$CC" >&6; }
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3840 $as_echo "no" >&6; }
3845 if test -z "$ac_cv_prog_CC"; then
3847 # Extract the first word of "gcc", so it can be a program name with args.
3848 set dummy gcc
; ac_word
=$2
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3850 $as_echo_n "checking for $ac_word... " >&6; }
3851 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3852 $as_echo_n "(cached) " >&6
3854 if test -n "$ac_ct_CC"; then
3855 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3861 test -z "$as_dir" && as_dir
=.
3862 for ac_exec_ext
in '' $ac_executable_extensions; do
3863 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3864 ac_cv_prog_ac_ct_CC
="gcc"
3865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3874 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3875 if test -n "$ac_ct_CC"; then
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3877 $as_echo "$ac_ct_CC" >&6; }
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3880 $as_echo "no" >&6; }
3883 if test "x$ac_ct_CC" = x
; then
3886 case $cross_compiling:$ac_tool_warned in
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3890 ac_tool_warned
=yes ;;
3898 if test -z "$CC"; then
3899 if test -n "$ac_tool_prefix"; then
3900 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3901 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3903 $as_echo_n "checking for $ac_word... " >&6; }
3904 if ${ac_cv_prog_CC+:} false
; then :
3905 $as_echo_n "(cached) " >&6
3907 if test -n "$CC"; then
3908 ac_cv_prog_CC
="$CC" # Let the user override the test.
3910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3914 test -z "$as_dir" && as_dir
=.
3915 for ac_exec_ext
in '' $ac_executable_extensions; do
3916 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3917 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3928 if test -n "$CC"; then
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3930 $as_echo "$CC" >&6; }
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3933 $as_echo "no" >&6; }
3939 if test -z "$CC"; then
3940 # Extract the first word of "cc", so it can be a program name with args.
3941 set dummy cc
; ac_word
=$2
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3943 $as_echo_n "checking for $ac_word... " >&6; }
3944 if ${ac_cv_prog_CC+:} false
; then :
3945 $as_echo_n "(cached) " >&6
3947 if test -n "$CC"; then
3948 ac_cv_prog_CC
="$CC" # Let the user override the test.
3951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3955 test -z "$as_dir" && as_dir
=.
3956 for ac_exec_ext
in '' $ac_executable_extensions; do
3957 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3958 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3959 ac_prog_rejected
=yes
3963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3970 if test $ac_prog_rejected = yes; then
3971 # We found a bogon in the path, so make sure we never use it.
3972 set dummy
$ac_cv_prog_CC
3974 if test $# != 0; then
3975 # We chose a different compiler from the bogus one.
3976 # However, it has the same basename, so the bogon will be chosen
3977 # first if we set CC to just the basename; use the full file name.
3979 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3985 if test -n "$CC"; then
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3987 $as_echo "$CC" >&6; }
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3990 $as_echo "no" >&6; }
3995 if test -z "$CC"; then
3996 if test -n "$ac_tool_prefix"; then
3997 for ac_prog
in cl.exe
3999 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4000 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4002 $as_echo_n "checking for $ac_word... " >&6; }
4003 if ${ac_cv_prog_CC+:} false
; then :
4004 $as_echo_n "(cached) " >&6
4006 if test -n "$CC"; then
4007 ac_cv_prog_CC
="$CC" # Let the user override the test.
4009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4013 test -z "$as_dir" && as_dir
=.
4014 for ac_exec_ext
in '' $ac_executable_extensions; do
4015 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4016 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4027 if test -n "$CC"; then
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4029 $as_echo "$CC" >&6; }
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4032 $as_echo "no" >&6; }
4036 test -n "$CC" && break
4039 if test -z "$CC"; then
4041 for ac_prog
in cl.exe
4043 # Extract the first word of "$ac_prog", so it can be a program name with args.
4044 set dummy
$ac_prog; ac_word
=$2
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4046 $as_echo_n "checking for $ac_word... " >&6; }
4047 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4048 $as_echo_n "(cached) " >&6
4050 if test -n "$ac_ct_CC"; then
4051 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4057 test -z "$as_dir" && as_dir
=.
4058 for ac_exec_ext
in '' $ac_executable_extensions; do
4059 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4060 ac_cv_prog_ac_ct_CC
="$ac_prog"
4061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4070 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4071 if test -n "$ac_ct_CC"; then
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4073 $as_echo "$ac_ct_CC" >&6; }
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4076 $as_echo "no" >&6; }
4080 test -n "$ac_ct_CC" && break
4083 if test "x$ac_ct_CC" = x
; then
4086 case $cross_compiling:$ac_tool_warned in
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4090 ac_tool_warned
=yes ;;
4099 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4101 as_fn_error $?
"no acceptable C compiler found in \$PATH
4102 See \`config.log' for more details" "$LINENO" 5; }
4104 # Provide some information about the compiler.
4105 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4108 for ac_option
in --version -v -V -qversion; do
4109 { { ac_try
="$ac_compiler $ac_option >&5"
4111 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4112 *) ac_try_echo=$ac_try;;
4114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4115 $as_echo "$ac_try_echo"; } >&5
4116 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4118 if test -s conftest.err; then
4120 ... rest of stderr output deleted ...
4121 10q' conftest.err >conftest.er1
4122 cat conftest.er1 >&5
4124 rm -f conftest.er1 conftest.err
4125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4126 test $ac_status = 0; }
4129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4140 ac_clean_files_save=$ac_clean_files
4141 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4142 # Try to create an executable without -o first, disregard a.out.
4143 # It will help us diagnose broken compilers, and finding out an intuition
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4146 $as_echo_n "checking whether the C compiler works... " >&6; }
4147 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4149 # The possible output files:
4150 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4153 for ac_file in $ac_files
4156 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4157 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4162 if { { ac_try="$ac_link_default"
4164 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4165 *) ac_try_echo
=$ac_try;;
4167 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4168 $as_echo "$ac_try_echo"; } >&5
4169 (eval "$ac_link_default") 2>&5
4171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4172 test $ac_status = 0; }; then :
4173 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4174 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4175 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4176 # so that the user can short-circuit this test for compilers unknown to
4178 for ac_file
in $ac_files ''
4180 test -f "$ac_file" ||
continue
4182 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4185 # We found the default executable, but exeext='' is most
4189 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4191 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4193 # We set ac_cv_exeext here because the later test for it is not
4194 # safe: cross compilers may not add the suffix if given an `-o'
4195 # argument, so we may need to know it at that point already.
4196 # Even if this section looks crufty: it has the advantage of
4203 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4208 if test -z "$ac_file"; then :
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4210 $as_echo "no" >&6; }
4211 $as_echo "$as_me: failed program was:" >&5
4212 sed 's/^/| /' conftest.
$ac_ext >&5
4214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4216 as_fn_error
77 "C compiler cannot create executables
4217 See \`config.log' for more details" "$LINENO" 5; }
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4220 $as_echo "yes" >&6; }
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4223 $as_echo_n "checking for C compiler default output file name... " >&6; }
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4225 $as_echo "$ac_file" >&6; }
4226 ac_exeext
=$ac_cv_exeext
4228 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4229 ac_clean_files
=$ac_clean_files_save
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4231 $as_echo_n "checking for suffix of executables... " >&6; }
4232 if { { ac_try
="$ac_link"
4234 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4235 *) ac_try_echo=$ac_try;;
4237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4238 $as_echo "$ac_try_echo"; } >&5
4239 (eval "$ac_link") 2>&5
4241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4242 test $ac_status = 0; }; then :
4243 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4244 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4245 # work properly (i.e., refer to `conftest.exe'), while it won't with
4247 for ac_file
in conftest.exe conftest conftest.
*; do
4248 test -f "$ac_file" ||
continue
4250 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4251 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4259 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4260 See \`config.log' for more details" "$LINENO" 5; }
4262 rm -f conftest conftest
$ac_cv_exeext
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4264 $as_echo "$ac_cv_exeext" >&6; }
4266 rm -f conftest.
$ac_ext
4267 EXEEXT
=$ac_cv_exeext
4269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4275 FILE *f = fopen ("conftest.out", "w");
4276 return ferror (f) || fclose (f) != 0;
4282 ac_clean_files
="$ac_clean_files conftest.out"
4283 # Check that the compiler produces executables we can run. If not, either
4284 # the compiler is broken, or we cross compile.
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4286 $as_echo_n "checking whether we are cross compiling... " >&6; }
4287 if test "$cross_compiling" != yes; then
4288 { { ac_try
="$ac_link"
4290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4291 *) ac_try_echo=$ac_try;;
4293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4294 $as_echo "$ac_try_echo"; } >&5
4295 (eval "$ac_link") 2>&5
4297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4298 test $ac_status = 0; }
4299 if { ac_try='./conftest$ac_cv_exeext'
4300 { { case "(($ac_try" in
4301 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4302 *) ac_try_echo
=$ac_try;;
4304 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4305 $as_echo "$ac_try_echo"; } >&5
4306 (eval "$ac_try") 2>&5
4308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4309 test $ac_status = 0; }; }; then
4312 if test "$cross_compiling" = maybe
; then
4315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4317 as_fn_error $?
"cannot run C compiled programs.
4318 If you meant to cross compile, use \`--host'.
4319 See \`config.log' for more details" "$LINENO" 5; }
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4324 $as_echo "$cross_compiling" >&6; }
4326 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4327 ac_clean_files
=$ac_clean_files_save
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4329 $as_echo_n "checking for suffix of object files... " >&6; }
4330 if ${ac_cv_objext+:} false
; then :
4331 $as_echo_n "(cached) " >&6
4333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4344 rm -f conftest.o conftest.obj
4345 if { { ac_try
="$ac_compile"
4347 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4348 *) ac_try_echo=$ac_try;;
4350 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4351 $as_echo "$ac_try_echo"; } >&5
4352 (eval "$ac_compile") 2>&5
4354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4355 test $ac_status = 0; }; then :
4356 for ac_file in conftest.o conftest.obj conftest.*; do
4357 test -f "$ac_file" || continue;
4359 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4360 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4365 $as_echo "$as_me: failed program was:" >&5
4366 sed 's/^/| /' conftest.$ac_ext >&5
4368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4370 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4371 See \
`config.log' for more details" "$LINENO" 5; }
4373 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4376 $as_echo "$ac_cv_objext" >&6; }
4377 OBJEXT=$ac_cv_objext
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4380 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4381 if ${ac_cv_c_compiler_gnu+:} false; then :
4382 $as_echo_n "(cached) " >&6
4384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4385 /* end confdefs.h. */
4398 if ac_fn_c_try_compile "$LINENO"; then :
4403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4404 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4408 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4409 if test $ac_compiler_gnu = yes; then
4414 ac_test_CFLAGS=${CFLAGS+set}
4415 ac_save_CFLAGS=$CFLAGS
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4417 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4418 if ${ac_cv_prog_cc_g+:} false; then :
4419 $as_echo_n "(cached) " >&6
4421 ac_save_c_werror_flag=$ac_c_werror_flag
4422 ac_c_werror_flag=yes
4425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4426 /* end confdefs.h. */
4436 if ac_fn_c_try_compile "$LINENO"; then :
4440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4441 /* end confdefs.h. */
4451 if ac_fn_c_try_compile "$LINENO"; then :
4454 ac_c_werror_flag=$ac_save_c_werror_flag
4456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4457 /* end confdefs.h. */
4467 if ac_fn_c_try_compile "$LINENO"; then :
4470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4475 ac_c_werror_flag=$ac_save_c_werror_flag
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4478 $as_echo "$ac_cv_prog_cc_g" >&6; }
4479 if test "$ac_test_CFLAGS" = set; then
4480 CFLAGS=$ac_save_CFLAGS
4481 elif test $ac_cv_prog_cc_g = yes; then
4482 if test "$GCC" = yes; then
4488 if test "$GCC" = yes; then
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4495 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4496 if ${ac_cv_prog_cc_c89+:} false; then :
4497 $as_echo_n "(cached) " >&6
4499 ac_cv_prog_cc_c89=no
4501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4506 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4507 struct buf { int x; };
4508 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4509 static char *e (p, i)
4515 static char *f (char * (*g) (char **, int), char **p, ...)
4520 s = g (p, va_arg (v,int));
4525 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4526 function prototypes and stuff, but not '\xHH' hex character constants.
4527 These don't provoke an error unfortunately, instead are silently treated
4528 as 'x'. The following induces an error, until -std is added to get
4529 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4530 array size at least. It's necessary to write '\x00'==0 to get something
4531 that's true only with -std. */
4532 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4534 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4535 inside strings and character constants. */
4537 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4539 int test (int i, double x);
4540 struct s1 {int (*f) (int a);};
4541 struct s2 {int (*f) (double a);};
4542 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4548 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4553 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4554 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4556 CC="$ac_save_CC $ac_arg"
4557 if ac_fn_c_try_compile "$LINENO"; then :
4558 ac_cv_prog_cc_c89=$ac_arg
4560 rm -f core conftest.err conftest.$ac_objext
4561 test "x$ac_cv_prog_cc_c89" != "xno" && break
4563 rm -f conftest.$ac_ext
4568 case "x$ac_cv_prog_cc_c89" in
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4571 $as_echo "none needed" >&6; } ;;
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4574 $as_echo "unsupported" >&6; } ;;
4576 CC="$CC $ac_cv_prog_cc_c89"
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4578 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4580 if test "x$ac_cv_prog_cc_c89" != xno; then :
4585 ac_cpp='$CPP $CPPFLAGS'
4586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4591 ac_cpp='$CXXCPP $CPPFLAGS'
4592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4595 if test -z "$CXX"; then
4596 if test -n "$CCC"; then
4599 if test -n "$ac_tool_prefix"; then
4600 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4602 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4603 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4605 $as_echo_n "checking for $ac_word... " >&6; }
4606 if ${ac_cv_prog_CXX+:} false; then :
4607 $as_echo_n "(cached) " >&6
4609 if test -n "$CXX"; then
4610 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4616 test -z "$as_dir" && as_dir=.
4617 for ac_exec_ext in '' $ac_executable_extensions; do
4618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4619 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4630 if test -n "$CXX"; then
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4632 $as_echo "$CXX" >&6; }
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4635 $as_echo "no" >&6; }
4639 test -n "$CXX" && break
4642 if test -z "$CXX"; then
4644 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4646 # Extract the first word of "$ac_prog", so it can be a program name with args.
4647 set dummy $ac_prog; ac_word=$2
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649 $as_echo_n "checking for $ac_word... " >&6; }
4650 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4651 $as_echo_n "(cached) " >&6
4653 if test -n "$ac_ct_CXX"; then
4654 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4660 test -z "$as_dir" && as_dir=.
4661 for ac_exec_ext in '' $ac_executable_extensions; do
4662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4663 ac_cv_prog_ac_ct_CXX="$ac_prog"
4664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4673 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4674 if test -n "$ac_ct_CXX"; then
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4676 $as_echo "$ac_ct_CXX" >&6; }
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4679 $as_echo "no" >&6; }
4683 test -n "$ac_ct_CXX" && break
4686 if test "x$ac_ct_CXX" = x; then
4689 case $cross_compiling:$ac_tool_warned in
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4693 ac_tool_warned=yes ;;
4701 # Provide some information about the compiler.
4702 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4705 for ac_option in --version -v -V -qversion; do
4706 { { ac_try="$ac_compiler $ac_option >&5"
4708 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4709 *) ac_try_echo
=$ac_try;;
4711 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4712 $as_echo "$ac_try_echo"; } >&5
4713 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4715 if test -s conftest.err
; then
4717 ... rest of stderr output deleted ...
4718 10q' conftest.err
>conftest.er1
4719 cat conftest.er1
>&5
4721 rm -f conftest.er1 conftest.err
4722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4723 test $ac_status = 0; }
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4727 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4728 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4729 $as_echo_n "(cached) " >&6
4731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4745 if ac_fn_cxx_try_compile
"$LINENO"; then :
4750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4751 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4755 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4756 if test $ac_compiler_gnu = yes; then
4761 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4762 ac_save_CXXFLAGS
=$CXXFLAGS
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4764 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4765 if ${ac_cv_prog_cxx_g+:} false
; then :
4766 $as_echo_n "(cached) " >&6
4768 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4769 ac_cxx_werror_flag
=yes
4772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4773 /* end confdefs.h. */
4783 if ac_fn_cxx_try_compile
"$LINENO"; then :
4784 ac_cv_prog_cxx_g
=yes
4787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4788 /* end confdefs.h. */
4798 if ac_fn_cxx_try_compile
"$LINENO"; then :
4801 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4804 /* end confdefs.h. */
4814 if ac_fn_cxx_try_compile
"$LINENO"; then :
4815 ac_cv_prog_cxx_g
=yes
4817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4822 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4825 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4826 if test "$ac_test_CXXFLAGS" = set; then
4827 CXXFLAGS
=$ac_save_CXXFLAGS
4828 elif test $ac_cv_prog_cxx_g = yes; then
4829 if test "$GXX" = yes; then
4835 if test "$GXX" = yes; then
4842 ac_cpp
='$CPP $CPPFLAGS'
4843 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4844 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4845 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4847 if test -n "$ac_tool_prefix"; then
4848 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4849 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4851 $as_echo_n "checking for $ac_word... " >&6; }
4852 if ${ac_cv_prog_CPPBIN+:} false
; then :
4853 $as_echo_n "(cached) " >&6
4855 if test -n "$CPPBIN"; then
4856 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4862 test -z "$as_dir" && as_dir
=.
4863 for ac_exec_ext
in '' $ac_executable_extensions; do
4864 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4865 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4875 CPPBIN
=$ac_cv_prog_CPPBIN
4876 if test -n "$CPPBIN"; then
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4878 $as_echo "$CPPBIN" >&6; }
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4881 $as_echo "no" >&6; }
4886 if test -z "$ac_cv_prog_CPPBIN"; then
4887 ac_ct_CPPBIN
=$CPPBIN
4888 # Extract the first word of "cpp", so it can be a program name with args.
4889 set dummy cpp
; ac_word
=$2
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4891 $as_echo_n "checking for $ac_word... " >&6; }
4892 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4893 $as_echo_n "(cached) " >&6
4895 if test -n "$ac_ct_CPPBIN"; then
4896 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4902 test -z "$as_dir" && as_dir
=.
4903 for ac_exec_ext
in '' $ac_executable_extensions; do
4904 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4905 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4915 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4916 if test -n "$ac_ct_CPPBIN"; then
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4918 $as_echo "$ac_ct_CPPBIN" >&6; }
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4921 $as_echo "no" >&6; }
4924 if test "x$ac_ct_CPPBIN" = x
; then
4927 case $cross_compiling:$ac_tool_warned in
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4931 ac_tool_warned
=yes ;;
4933 CPPBIN
=$ac_ct_CPPBIN
4936 CPPBIN
="$ac_cv_prog_CPPBIN"
4940 cat >>confdefs.h
<<_ACEOF
4941 #define EXEEXT "$ac_exeext"
4944 if test -n "$ac_tool_prefix"; then
4945 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4946 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4948 $as_echo_n "checking for $ac_word... " >&6; }
4949 if ${ac_cv_prog_LD+:} false
; then :
4950 $as_echo_n "(cached) " >&6
4952 if test -n "$LD"; then
4953 ac_cv_prog_LD
="$LD" # Let the user override the test.
4955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4959 test -z "$as_dir" && as_dir
=.
4960 for ac_exec_ext
in '' $ac_executable_extensions; do
4961 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4962 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4973 if test -n "$LD"; then
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4975 $as_echo "$LD" >&6; }
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4978 $as_echo "no" >&6; }
4983 if test -z "$ac_cv_prog_LD"; then
4985 # Extract the first word of "ld", so it can be a program name with args.
4986 set dummy ld
; ac_word
=$2
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988 $as_echo_n "checking for $ac_word... " >&6; }
4989 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4990 $as_echo_n "(cached) " >&6
4992 if test -n "$ac_ct_LD"; then
4993 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4999 test -z "$as_dir" && as_dir
=.
5000 for ac_exec_ext
in '' $ac_executable_extensions; do
5001 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5002 ac_cv_prog_ac_ct_LD
="ld"
5003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5012 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5013 if test -n "$ac_ct_LD"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5015 $as_echo "$ac_ct_LD" >&6; }
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5021 if test "x$ac_ct_LD" = x
; then
5024 case $cross_compiling:$ac_tool_warned in
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5028 ac_tool_warned
=yes ;;
5039 with_fontconfig
=${with_fontconfig:-no}
5041 *-mingw32*|
*-cygwin*)
5042 enable_win16
=${enable_win16:-no}
5043 CFLAGS
="$CFLAGS -D_WIN32"
5049 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5054 $as_echo_n "checking whether $CC works... " >&6; }
5056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5057 /* end confdefs.h. */
5067 if ac_fn_c_try_link
"$LINENO"; then :
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5069 $as_echo "yes" >&6; }
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5072 $as_echo "no" >&6; }
5073 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5075 rm -f core conftest.err conftest.
$ac_objext \
5076 conftest
$ac_exeext conftest.
$ac_ext
5078 notice_platform
="32-bit "
5081 enable_win16
=${enable_win16:-yes}
5083 if test "x${GCC}" = "xyes"
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5086 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5088 /* end confdefs.h. */
5093 void func(__builtin_ms_va_list *args);
5098 if ac_fn_c_try_compile
"$LINENO"; then :
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5100 $as_echo "yes" >&6; }
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5103 $as_echo "no" >&6; }
5104 as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5111 notice_platform
="64-bit "
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5118 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5120 /* end confdefs.h. */
5121 int ac_test(int i) { return i; }
5125 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5130 if ac_fn_c_try_link
"$LINENO"; then :
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5132 $as_echo "yes" >&6; }
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5135 $as_echo "no" >&6; }
5136 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5138 rm -f core conftest.err conftest.
$ac_objext \
5139 conftest
$ac_exeext conftest.
$ac_ext
5140 CFLAGS
="$CFLAGS -marm"
5145 enable_win16
=${enable_win16:-yes}
5149 enable_win16
=${enable_win16:-no}
5150 enable_win64
=${enable_win64:-no}
5152 enable_winetest
=${enable_winetest:-$enable_tests}
5154 if test -n "$with_wine64"
5156 if test "x$enable_win64" = "xyes"
5158 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5159 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5161 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5162 You should create a separate build directory and run configure from there." "$LINENO" 5
5163 enable_fonts
=${enable_fonts:-no}
5164 enable_server
=${enable_server:-no}
5165 elif test "x$enable_win64" = "xyes"
5167 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5171 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5172 if ${wine_cv_toolsdir+:} false
; then :
5173 $as_echo_n "(cached) " >&6
5175 wine_cv_toolsdir
="$with_wine_tools"
5176 if test -z "$with_wine_tools"; then
5177 if test "$cross_compiling" = "yes"; then
5178 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5179 elif test -n "$with_wine64"; then
5180 wine_cv_toolsdir
="$with_wine64"
5183 if test -z "$wine_cv_toolsdir"; then
5184 wine_makedep
=tools
/makedep
5185 wine_cv_toolsdir
="\$(top_builddir)"
5186 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5187 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5188 case "$wine_cv_toolsdir" in
5190 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5192 enable_tools
=${enable_tools:-no}
5193 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5195 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5199 $as_echo "$wine_cv_toolsdir" >&6; }
5200 TOOLSDIR
=$wine_cv_toolsdir
5202 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5204 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5210 # Extract the first word of "$ac_prog", so it can be a program name with args.
5211 set dummy
$ac_prog; ac_word
=$2
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5213 $as_echo_n "checking for $ac_word... " >&6; }
5214 if ${ac_cv_prog_FLEX+:} false
; then :
5215 $as_echo_n "(cached) " >&6
5217 if test -n "$FLEX"; then
5218 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5224 test -z "$as_dir" && as_dir
=.
5225 for ac_exec_ext
in '' $ac_executable_extensions; do
5226 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5227 ac_cv_prog_FLEX
="$ac_prog"
5228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5237 FLEX
=$ac_cv_prog_FLEX
5238 if test -n "$FLEX"; then
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5240 $as_echo "$FLEX" >&6; }
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5243 $as_echo "no" >&6; }
5247 test -n "$FLEX" && break
5249 test -n "$FLEX" || FLEX
="none"
5251 if test "$FLEX" = "none"
5253 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5256 $as_echo_n "checking whether flex is recent enough... " >&6; }
5257 cat >conftest.l
<<EOF
5259 #include "prediluvian.h"
5263 if $FLEX -t conftest.l
>/dev
/null
2>&5
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5266 $as_echo "yes" >&6; }
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5269 $as_echo "no" >&6; }
5270 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5273 for ac_prog
in bison
5275 # Extract the first word of "$ac_prog", so it can be a program name with args.
5276 set dummy
$ac_prog; ac_word
=$2
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5278 $as_echo_n "checking for $ac_word... " >&6; }
5279 if ${ac_cv_prog_BISON+:} false
; then :
5280 $as_echo_n "(cached) " >&6
5282 if test -n "$BISON"; then
5283 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5289 test -z "$as_dir" && as_dir
=.
5290 for ac_exec_ext
in '' $ac_executable_extensions; do
5291 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5292 ac_cv_prog_BISON
="$ac_prog"
5293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5302 BISON
=$ac_cv_prog_BISON
5303 if test -n "$BISON"; then
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5305 $as_echo "$BISON" >&6; }
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5308 $as_echo "no" >&6; }
5312 test -n "$BISON" && break
5314 test -n "$BISON" || BISON
="none"
5316 if test "$BISON" = "none"
5318 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5321 if test -n "$ac_tool_prefix"; then
5322 for ac_prog
in ar gar
5324 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5325 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5327 $as_echo_n "checking for $ac_word... " >&6; }
5328 if ${ac_cv_prog_AR+:} false
; then :
5329 $as_echo_n "(cached) " >&6
5331 if test -n "$AR"; then
5332 ac_cv_prog_AR
="$AR" # Let the user override the test.
5334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5338 test -z "$as_dir" && as_dir
=.
5339 for ac_exec_ext
in '' $ac_executable_extensions; do
5340 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5341 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5352 if test -n "$AR"; then
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5354 $as_echo "$AR" >&6; }
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5357 $as_echo "no" >&6; }
5361 test -n "$AR" && break
5364 if test -z "$AR"; then
5366 for ac_prog
in ar gar
5368 # Extract the first word of "$ac_prog", so it can be a program name with args.
5369 set dummy
$ac_prog; ac_word
=$2
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5371 $as_echo_n "checking for $ac_word... " >&6; }
5372 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5373 $as_echo_n "(cached) " >&6
5375 if test -n "$ac_ct_AR"; then
5376 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5382 test -z "$as_dir" && as_dir
=.
5383 for ac_exec_ext
in '' $ac_executable_extensions; do
5384 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5385 ac_cv_prog_ac_ct_AR
="$ac_prog"
5386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5395 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5396 if test -n "$ac_ct_AR"; then
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5398 $as_echo "$ac_ct_AR" >&6; }
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5401 $as_echo "no" >&6; }
5405 test -n "$ac_ct_AR" && break
5408 if test "x$ac_ct_AR" = x
; then
5411 case $cross_compiling:$ac_tool_warned in
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5415 ac_tool_warned
=yes ;;
5421 if test -n "$ac_tool_prefix"; then
5422 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5423 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5425 $as_echo_n "checking for $ac_word... " >&6; }
5426 if ${ac_cv_prog_STRIP+:} false
; then :
5427 $as_echo_n "(cached) " >&6
5429 if test -n "$STRIP"; then
5430 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5436 test -z "$as_dir" && as_dir
=.
5437 for ac_exec_ext
in '' $ac_executable_extensions; do
5438 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5439 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5449 STRIP
=$ac_cv_prog_STRIP
5450 if test -n "$STRIP"; then
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5452 $as_echo "$STRIP" >&6; }
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5455 $as_echo "no" >&6; }
5460 if test -z "$ac_cv_prog_STRIP"; then
5462 # Extract the first word of "strip", so it can be a program name with args.
5463 set dummy strip
; ac_word
=$2
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5465 $as_echo_n "checking for $ac_word... " >&6; }
5466 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5467 $as_echo_n "(cached) " >&6
5469 if test -n "$ac_ct_STRIP"; then
5470 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5476 test -z "$as_dir" && as_dir
=.
5477 for ac_exec_ext
in '' $ac_executable_extensions; do
5478 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5479 ac_cv_prog_ac_ct_STRIP
="strip"
5480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5489 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5490 if test -n "$ac_ct_STRIP"; then
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5492 $as_echo "$ac_ct_STRIP" >&6; }
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5495 $as_echo "no" >&6; }
5498 if test "x$ac_ct_STRIP" = x
; then
5501 case $cross_compiling:$ac_tool_warned in
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5505 ac_tool_warned
=yes ;;
5510 STRIP
="$ac_cv_prog_STRIP"
5515 if test -n "$ac_tool_prefix"; then
5516 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5517 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5519 $as_echo_n "checking for $ac_word... " >&6; }
5520 if ${ac_cv_prog_RANLIB+:} false
; then :
5521 $as_echo_n "(cached) " >&6
5523 if test -n "$RANLIB"; then
5524 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5530 test -z "$as_dir" && as_dir
=.
5531 for ac_exec_ext
in '' $ac_executable_extensions; do
5532 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5533 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5543 RANLIB
=$ac_cv_prog_RANLIB
5544 if test -n "$RANLIB"; then
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5546 $as_echo "$RANLIB" >&6; }
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5549 $as_echo "no" >&6; }
5554 if test -z "$ac_cv_prog_RANLIB"; then
5555 ac_ct_RANLIB
=$RANLIB
5556 # Extract the first word of "ranlib", so it can be a program name with args.
5557 set dummy ranlib
; ac_word
=$2
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5559 $as_echo_n "checking for $ac_word... " >&6; }
5560 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5561 $as_echo_n "(cached) " >&6
5563 if test -n "$ac_ct_RANLIB"; then
5564 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5570 test -z "$as_dir" && as_dir
=.
5571 for ac_exec_ext
in '' $ac_executable_extensions; do
5572 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5573 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5583 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5584 if test -n "$ac_ct_RANLIB"; then
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5586 $as_echo "$ac_ct_RANLIB" >&6; }
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5589 $as_echo "no" >&6; }
5592 if test "x$ac_ct_RANLIB" = x
; then
5595 case $cross_compiling:$ac_tool_warned in
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5599 ac_tool_warned
=yes ;;
5601 RANLIB
=$ac_ct_RANLIB
5604 RANLIB
="$ac_cv_prog_RANLIB"
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5608 $as_echo_n "checking whether ln -s works... " >&6; }
5610 if test "$LN_S" = "ln -s"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5612 $as_echo "yes" >&6; }
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5615 $as_echo "no, using $LN_S" >&6; }
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5619 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5620 if ${ac_cv_path_GREP+:} false
; then :
5621 $as_echo_n "(cached) " >&6
5623 if test -z "$GREP"; then
5624 ac_path_GREP_found
=false
5625 # Loop through the user's path and test for each of PROGNAME-LIST
5626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5627 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5630 test -z "$as_dir" && as_dir
=.
5631 for ac_prog
in grep ggrep
; do
5632 for ac_exec_ext
in '' $ac_executable_extensions; do
5633 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5634 as_fn_executable_p
"$ac_path_GREP" ||
continue
5635 # Check for GNU ac_path_GREP and select it if it is found.
5636 # Check for GNU $ac_path_GREP
5637 case `"$ac_path_GREP" --version 2>&1` in
5639 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5642 $as_echo_n 0123456789 >"conftest.in"
5645 cat "conftest.in" "conftest.in" >"conftest.tmp"
5646 mv "conftest.tmp" "conftest.in"
5647 cp "conftest.in" "conftest.nl"
5648 $as_echo 'GREP' >> "conftest.nl"
5649 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5650 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5651 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5652 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5653 # Best one so far, save it but keep looking for a better one
5654 ac_cv_path_GREP
="$ac_path_GREP"
5655 ac_path_GREP_max
=$ac_count
5657 # 10*(2^10) chars as input seems more than enough
5658 test $ac_count -gt 10 && break
5660 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5663 $ac_path_GREP_found && break 3
5668 if test -z "$ac_cv_path_GREP"; then
5669 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5672 ac_cv_path_GREP
=$GREP
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5677 $as_echo "$ac_cv_path_GREP" >&6; }
5678 GREP
="$ac_cv_path_GREP"
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5682 $as_echo_n "checking for egrep... " >&6; }
5683 if ${ac_cv_path_EGREP+:} false
; then :
5684 $as_echo_n "(cached) " >&6
5686 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5687 then ac_cv_path_EGREP
="$GREP -E"
5689 if test -z "$EGREP"; then
5690 ac_path_EGREP_found
=false
5691 # Loop through the user's path and test for each of PROGNAME-LIST
5692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5693 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5696 test -z "$as_dir" && as_dir
=.
5697 for ac_prog
in egrep; do
5698 for ac_exec_ext
in '' $ac_executable_extensions; do
5699 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5700 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5701 # Check for GNU ac_path_EGREP and select it if it is found.
5702 # Check for GNU $ac_path_EGREP
5703 case `"$ac_path_EGREP" --version 2>&1` in
5705 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5708 $as_echo_n 0123456789 >"conftest.in"
5711 cat "conftest.in" "conftest.in" >"conftest.tmp"
5712 mv "conftest.tmp" "conftest.in"
5713 cp "conftest.in" "conftest.nl"
5714 $as_echo 'EGREP' >> "conftest.nl"
5715 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5716 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5717 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5718 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5719 # Best one so far, save it but keep looking for a better one
5720 ac_cv_path_EGREP
="$ac_path_EGREP"
5721 ac_path_EGREP_max
=$ac_count
5723 # 10*(2^10) chars as input seems more than enough
5724 test $ac_count -gt 10 && break
5726 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5729 $ac_path_EGREP_found && break 3
5734 if test -z "$ac_cv_path_EGREP"; then
5735 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5738 ac_cv_path_EGREP
=$EGREP
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5744 $as_echo "$ac_cv_path_EGREP" >&6; }
5745 EGREP
="$ac_cv_path_EGREP"
5748 # Extract the first word of "ldconfig", so it can be a program name with args.
5749 set dummy ldconfig
; ac_word
=$2
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5751 $as_echo_n "checking for $ac_word... " >&6; }
5752 if ${ac_cv_path_LDCONFIG+:} false
; then :
5753 $as_echo_n "(cached) " >&6
5757 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5761 for as_dir
in /sbin
/usr
/sbin
$PATH
5764 test -z "$as_dir" && as_dir
=.
5765 for ac_exec_ext
in '' $ac_executable_extensions; do
5766 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5767 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5775 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5779 LDCONFIG
=$ac_cv_path_LDCONFIG
5780 if test -n "$LDCONFIG"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5782 $as_echo "$LDCONFIG" >&6; }
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5789 for ac_prog
in msgfmt
5791 # Extract the first word of "$ac_prog", so it can be a program name with args.
5792 set dummy
$ac_prog; ac_word
=$2
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5794 $as_echo_n "checking for $ac_word... " >&6; }
5795 if ${ac_cv_prog_MSGFMT+:} false
; then :
5796 $as_echo_n "(cached) " >&6
5798 if test -n "$MSGFMT"; then
5799 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5805 test -z "$as_dir" && as_dir
=.
5806 for ac_exec_ext
in '' $ac_executable_extensions; do
5807 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5808 ac_cv_prog_MSGFMT
="$ac_prog"
5809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5818 MSGFMT
=$ac_cv_prog_MSGFMT
5819 if test -n "$MSGFMT"; then
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5821 $as_echo "$MSGFMT" >&6; }
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5824 $as_echo "no" >&6; }
5828 test -n "$MSGFMT" && break
5830 test -n "$MSGFMT" || MSGFMT
="false"
5832 if ${ac_tool_prefix+:} false
; then :
5833 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5834 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5836 $as_echo_n "checking for $ac_word... " >&6; }
5837 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5838 $as_echo_n "(cached) " >&6
5840 if test -n "$PKG_CONFIG"; then
5841 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5847 test -z "$as_dir" && as_dir
=.
5848 for ac_exec_ext
in '' $ac_executable_extensions; do
5849 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5850 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5861 if test -n "$PKG_CONFIG"; then
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5863 $as_echo "$PKG_CONFIG" >&6; }
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5866 $as_echo "no" >&6; }
5871 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5872 if test "x$cross_compiling" = xyes
; then :
5875 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5876 # Extract the first word of "pkg-config", so it can be a program name with args.
5877 set dummy pkg-config
; ac_word
=$2
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5879 $as_echo_n "checking for $ac_word... " >&6; }
5880 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5881 $as_echo_n "(cached) " >&6
5883 if test -n "$PKG_CONFIG"; then
5884 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5890 test -z "$as_dir" && as_dir
=.
5891 for ac_exec_ext
in '' $ac_executable_extensions; do
5892 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5893 ac_cv_prog_PKG_CONFIG
="pkg-config"
5894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5903 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5904 if test -n "$PKG_CONFIG"; then
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5906 $as_echo "$PKG_CONFIG" >&6; }
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5909 $as_echo "no" >&6; }
5915 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5918 if test "x$enable_maintainer_mode" != "xyes"
5925 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5926 for ac_prog
in fontforge
5928 # Extract the first word of "$ac_prog", so it can be a program name with args.
5929 set dummy
$ac_prog; ac_word
=$2
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5931 $as_echo_n "checking for $ac_word... " >&6; }
5932 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5933 $as_echo_n "(cached) " >&6
5935 if test -n "$FONTFORGE"; then
5936 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5942 test -z "$as_dir" && as_dir
=.
5943 for ac_exec_ext
in '' $ac_executable_extensions; do
5944 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5945 ac_cv_prog_FONTFORGE
="$ac_prog"
5946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5955 FONTFORGE
=$ac_cv_prog_FONTFORGE
5956 if test -n "$FONTFORGE"; then
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5958 $as_echo "$FONTFORGE" >&6; }
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5961 $as_echo "no" >&6; }
5965 test -n "$FONTFORGE" && break
5967 test -n "$FONTFORGE" || FONTFORGE
="false"
5969 for ac_prog
in rsvg-convert rsvg
5971 # Extract the first word of "$ac_prog", so it can be a program name with args.
5972 set dummy
$ac_prog; ac_word
=$2
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5974 $as_echo_n "checking for $ac_word... " >&6; }
5975 if ${ac_cv_prog_RSVG+:} false
; then :
5976 $as_echo_n "(cached) " >&6
5978 if test -n "$RSVG"; then
5979 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5985 test -z "$as_dir" && as_dir
=.
5986 for ac_exec_ext
in '' $ac_executable_extensions; do
5987 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5988 ac_cv_prog_RSVG
="$ac_prog"
5989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5998 RSVG
=$ac_cv_prog_RSVG
5999 if test -n "$RSVG"; then
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6001 $as_echo "$RSVG" >&6; }
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6004 $as_echo "no" >&6; }
6008 test -n "$RSVG" && break
6010 test -n "$RSVG" || RSVG
="false"
6012 for ac_prog
in convert
6014 # Extract the first word of "$ac_prog", so it can be a program name with args.
6015 set dummy
$ac_prog; ac_word
=$2
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6017 $as_echo_n "checking for $ac_word... " >&6; }
6018 if ${ac_cv_prog_CONVERT+:} false
; then :
6019 $as_echo_n "(cached) " >&6
6021 if test -n "$CONVERT"; then
6022 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
6024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6028 test -z "$as_dir" && as_dir
=.
6029 for ac_exec_ext
in '' $ac_executable_extensions; do
6030 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6031 ac_cv_prog_CONVERT
="$ac_prog"
6032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6041 CONVERT
=$ac_cv_prog_CONVERT
6042 if test -n "$CONVERT"; then
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6044 $as_echo "$CONVERT" >&6; }
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6047 $as_echo "no" >&6; }
6051 test -n "$CONVERT" && break
6053 test -n "$CONVERT" || CONVERT
="false"
6055 for ac_prog
in icotool
6057 # Extract the first word of "$ac_prog", so it can be a program name with args.
6058 set dummy
$ac_prog; ac_word
=$2
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6060 $as_echo_n "checking for $ac_word... " >&6; }
6061 if ${ac_cv_prog_ICOTOOL+:} false
; then :
6062 $as_echo_n "(cached) " >&6
6064 if test -n "$ICOTOOL"; then
6065 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6071 test -z "$as_dir" && as_dir
=.
6072 for ac_exec_ext
in '' $ac_executable_extensions; do
6073 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6074 ac_cv_prog_ICOTOOL
="$ac_prog"
6075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6084 ICOTOOL
=$ac_cv_prog_ICOTOOL
6085 if test -n "$ICOTOOL"; then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6087 $as_echo "$ICOTOOL" >&6; }
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090 $as_echo "no" >&6; }
6094 test -n "$ICOTOOL" && break
6096 test -n "$ICOTOOL" || ICOTOOL
="false"
6098 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6099 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6101 if test "$CONVERT" = false
6103 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6106 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6107 convert_version
=`convert --version | head -n1`
6108 if test "x$convert_version" != "x"
6110 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6111 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6112 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6117 if test "$CONVERT" = false
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6120 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6121 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6124 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6128 if test "$ICOTOOL" = false
6130 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6133 $as_echo_n "checking for recent enough icotool... " >&6; }
6134 icotool_version
=`icotool --version | head -n1`
6135 if test "x$icotool_version" != "x"
6137 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6138 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6139 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6142 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6145 if test "$ICOTOOL" = false
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6148 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6149 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6152 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6158 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6161 test "x$with_gettext" != xno || MSGFMT
=false
6162 if test "$MSGFMT" != "false"
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6165 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6166 cat >conftest.po
<<EOF
6172 if $MSGFMT -o /dev
/null conftest.po
2>&5
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6175 $as_echo "yes" >&6; }
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6182 if test "$MSGFMT" = false
; then :
6183 case "x$with_gettext" in
6184 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6186 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6187 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6189 enable_po
=${enable_po:-no}
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6194 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6195 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6196 $as_echo_n "(cached) " >&6
6198 ac_check_lib_save_LIBS
=$LIBS
6200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6201 /* end confdefs.h. */
6203 /* Override any GCC internal prototype to avoid an error.
6204 Use char because int might match the return type of a GCC
6205 builtin and then its argument prototype would still apply. */
6209 char i386_set_ldt ();
6213 return i386_set_ldt ();
6218 if ac_fn_c_try_link
"$LINENO"; then :
6219 ac_cv_lib_i386_i386_set_ldt
=yes
6221 ac_cv_lib_i386_i386_set_ldt
=no
6223 rm -f core conftest.err conftest.
$ac_objext \
6224 conftest
$ac_exeext conftest.
$ac_ext
6225 LIBS
=$ac_check_lib_save_LIBS
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6228 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6229 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6230 cat >>confdefs.h
<<_ACEOF
6231 #define HAVE_LIBI386 1
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6239 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6240 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6241 $as_echo_n "(cached) " >&6
6243 ac_check_lib_save_LIBS
=$LIBS
6244 LIBS
="-lossaudio $LIBS"
6245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6246 /* end confdefs.h. */
6248 /* Override any GCC internal prototype to avoid an error.
6249 Use char because int might match the return type of a GCC
6250 builtin and then its argument prototype would still apply. */
6258 return _oss_ioctl ();
6263 if ac_fn_c_try_link
"$LINENO"; then :
6264 ac_cv_lib_ossaudio__oss_ioctl
=yes
6266 ac_cv_lib_ossaudio__oss_ioctl
=no
6268 rm -f core conftest.err conftest.
$ac_objext \
6269 conftest
$ac_exeext conftest.
$ac_ext
6270 LIBS
=$ac_check_lib_save_LIBS
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6273 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6274 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6275 cat >>confdefs.h
<<_ACEOF
6276 #define HAVE_LIBOSSAUDIO 1
6279 LIBS
="-lossaudio $LIBS"
6288 # Check whether --enable-largefile was given.
6289 if test "${enable_largefile+set}" = set; then :
6290 enableval
=$enable_largefile;
6293 if test "$enable_largefile" != no
; then
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6296 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6297 if ${ac_cv_sys_largefile_CC+:} false
; then :
6298 $as_echo_n "(cached) " >&6
6300 ac_cv_sys_largefile_CC
=no
6301 if test "$GCC" != yes; then
6304 # IRIX 6.2 and later do not support large files by default,
6305 # so use the C compiler's -n32 option if that helps.
6306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6307 /* end confdefs.h. */
6308 #include <sys/types.h>
6309 /* Check that off_t can represent 2**63 - 1 correctly.
6310 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6311 since some C++ compilers masquerading as C compilers
6312 incorrectly reject 9223372036854775807. */
6313 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6314 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6315 && LARGE_OFF_T % 2147483647 == 1)
6325 if ac_fn_c_try_compile
"$LINENO"; then :
6328 rm -f core conftest.err conftest.
$ac_objext
6330 if ac_fn_c_try_compile
"$LINENO"; then :
6331 ac_cv_sys_largefile_CC
=' -n32'; break
6333 rm -f core conftest.err conftest.
$ac_objext
6337 rm -f conftest.
$ac_ext
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6341 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6342 if test "$ac_cv_sys_largefile_CC" != no
; then
6343 CC
=$CC$ac_cv_sys_largefile_CC
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6347 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6348 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6349 $as_echo_n "(cached) " >&6
6352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6353 /* end confdefs.h. */
6354 #include <sys/types.h>
6355 /* Check that off_t can represent 2**63 - 1 correctly.
6356 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6357 since some C++ compilers masquerading as C compilers
6358 incorrectly reject 9223372036854775807. */
6359 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6360 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6361 && LARGE_OFF_T % 2147483647 == 1)
6371 if ac_fn_c_try_compile
"$LINENO"; then :
6372 ac_cv_sys_file_offset_bits
=no
; break
6374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6376 /* end confdefs.h. */
6377 #define _FILE_OFFSET_BITS 64
6378 #include <sys/types.h>
6379 /* Check that off_t can represent 2**63 - 1 correctly.
6380 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6381 since some C++ compilers masquerading as C compilers
6382 incorrectly reject 9223372036854775807. */
6383 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6384 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6385 && LARGE_OFF_T % 2147483647 == 1)
6395 if ac_fn_c_try_compile
"$LINENO"; then :
6396 ac_cv_sys_file_offset_bits
=64; break
6398 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6399 ac_cv_sys_file_offset_bits
=unknown
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6404 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6405 case $ac_cv_sys_file_offset_bits in #(
6408 cat >>confdefs.h
<<_ACEOF
6409 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6414 if test $ac_cv_sys_file_offset_bits = unknown
; then
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6416 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6417 if ${ac_cv_sys_large_files+:} false
; then :
6418 $as_echo_n "(cached) " >&6
6421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6422 /* end confdefs.h. */
6423 #include <sys/types.h>
6424 /* Check that off_t can represent 2**63 - 1 correctly.
6425 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6426 since some C++ compilers masquerading as C compilers
6427 incorrectly reject 9223372036854775807. */
6428 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6429 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6430 && LARGE_OFF_T % 2147483647 == 1)
6440 if ac_fn_c_try_compile
"$LINENO"; then :
6441 ac_cv_sys_large_files
=no
; break
6443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6445 /* end confdefs.h. */
6446 #define _LARGE_FILES 1
6447 #include <sys/types.h>
6448 /* Check that off_t can represent 2**63 - 1 correctly.
6449 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6450 since some C++ compilers masquerading as C compilers
6451 incorrectly reject 9223372036854775807. */
6452 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6453 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6454 && LARGE_OFF_T % 2147483647 == 1)
6464 if ac_fn_c_try_compile
"$LINENO"; then :
6465 ac_cv_sys_large_files
=1; break
6467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6468 ac_cv_sys_large_files
=unknown
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6473 $as_echo "$ac_cv_sys_large_files" >&6; }
6474 case $ac_cv_sys_large_files in #(
6477 cat >>confdefs.h
<<_ACEOF
6478 #define _LARGE_FILES $ac_cv_sys_large_files
6490 ac_cpp
='$CPP $CPPFLAGS'
6491 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6492 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6493 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6495 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6496 # On Suns, sometimes $CPP names a directory.
6497 if test -n "$CPP" && test -d "$CPP"; then
6500 if test -z "$CPP"; then
6501 if ${ac_cv_prog_CPP+:} false
; then :
6502 $as_echo_n "(cached) " >&6
6504 # Double quotes because CPP needs to be expanded
6505 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6508 for ac_c_preproc_warn_flag
in '' yes
6510 # Use a header file that comes with gcc, so configuring glibc
6511 # with a fresh cross-compiler works.
6512 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6513 # <limits.h> exists even on freestanding compilers.
6514 # On the NeXT, cc -E runs the code through the compiler's parser,
6515 # not just through cpp. "Syntax error" is here to catch this case.
6516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6517 /* end confdefs.h. */
6519 # include <limits.h>
6521 # include <assert.h>
6525 if ac_fn_c_try_cpp
"$LINENO"; then :
6528 # Broken: fails on valid input.
6531 rm -f conftest.err conftest.i conftest.
$ac_ext
6533 # OK, works on sane cases. Now check whether nonexistent headers
6534 # can be detected and how.
6535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6536 /* end confdefs.h. */
6537 #include <ac_nonexistent.h>
6539 if ac_fn_c_try_cpp
"$LINENO"; then :
6540 # Broken: success on invalid input.
6543 # Passes both tests.
6547 rm -f conftest.err conftest.i conftest.
$ac_ext
6550 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6551 rm -f conftest.i conftest.err conftest.
$ac_ext
6552 if $ac_preproc_ok; then :
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6565 $as_echo "$CPP" >&6; }
6567 for ac_c_preproc_warn_flag
in '' yes
6569 # Use a header file that comes with gcc, so configuring glibc
6570 # with a fresh cross-compiler works.
6571 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6572 # <limits.h> exists even on freestanding compilers.
6573 # On the NeXT, cc -E runs the code through the compiler's parser,
6574 # not just through cpp. "Syntax error" is here to catch this case.
6575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6576 /* end confdefs.h. */
6578 # include <limits.h>
6580 # include <assert.h>
6584 if ac_fn_c_try_cpp
"$LINENO"; then :
6587 # Broken: fails on valid input.
6590 rm -f conftest.err conftest.i conftest.
$ac_ext
6592 # OK, works on sane cases. Now check whether nonexistent headers
6593 # can be detected and how.
6594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6595 /* end confdefs.h. */
6596 #include <ac_nonexistent.h>
6598 if ac_fn_c_try_cpp
"$LINENO"; then :
6599 # Broken: success on invalid input.
6602 # Passes both tests.
6606 rm -f conftest.err conftest.i conftest.
$ac_ext
6609 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6610 rm -f conftest.i conftest.err conftest.
$ac_ext
6611 if $ac_preproc_ok; then :
6614 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6615 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6616 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6617 See \`config.log' for more details" "$LINENO" 5; }
6621 ac_cpp
='$CPP $CPPFLAGS'
6622 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6623 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6624 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6628 $as_echo_n "checking for ANSI C header files... " >&6; }
6629 if ${ac_cv_header_stdc+:} false
; then :
6630 $as_echo_n "(cached) " >&6
6632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6633 /* end confdefs.h. */
6647 if ac_fn_c_try_compile
"$LINENO"; then :
6648 ac_cv_header_stdc
=yes
6650 ac_cv_header_stdc
=no
6652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6654 if test $ac_cv_header_stdc = yes; then
6655 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6657 /* end confdefs.h. */
6661 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6662 $EGREP "memchr" >/dev
/null
2>&1; then :
6665 ac_cv_header_stdc
=no
6671 if test $ac_cv_header_stdc = yes; then
6672 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6674 /* end confdefs.h. */
6678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6679 $EGREP "free" >/dev
/null
2>&1; then :
6682 ac_cv_header_stdc
=no
6688 if test $ac_cv_header_stdc = yes; then
6689 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6690 if test "$cross_compiling" = yes; then :
6693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6694 /* end confdefs.h. */
6697 #if ((' ' & 0x0FF) == 0x020)
6698 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6699 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6701 # define ISLOWER(c) \
6702 (('a' <= (c) && (c) <= 'i') \
6703 || ('j' <= (c) && (c) <= 'r') \
6704 || ('s' <= (c) && (c) <= 'z'))
6705 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6708 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6713 for (i = 0; i < 256; i++)
6714 if (XOR (islower (i), ISLOWER (i))
6715 || toupper (i) != TOUPPER (i))
6720 if ac_fn_c_try_run
"$LINENO"; then :
6723 ac_cv_header_stdc
=no
6725 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6726 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6732 $as_echo "$ac_cv_header_stdc" >&6; }
6733 if test $ac_cv_header_stdc = yes; then
6735 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6739 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6740 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6741 inttypes.h stdint.h unistd.h
6743 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6744 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6746 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6747 cat >>confdefs.h
<<_ACEOF
6748 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6758 ApplicationServices
/ApplicationServices.h \
6759 AudioToolbox
/AudioConverter.h \
6760 AudioUnit
/AudioUnit.h \
6761 AudioUnit
/AudioComponent.h \
6764 CommonCrypto
/CommonDigest.h \
6765 CoreAudio
/CoreAudio.h \
6766 CoreServices
/CoreServices.h \
6767 DiskArbitration
/DiskArbitration.h \
6769 IOKit
/hid
/IOHIDLib.h \
6772 QuickTime
/ImageCompression.h \
6773 Security
/Security.h \
6824 netinet
/in_systm.h \
6888 valgrind
/memcheck.h \
6889 valgrind
/valgrind.h \
6893 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6894 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6895 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6896 cat >>confdefs.h
<<_ACEOF
6897 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6905 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6906 if ${ac_cv_header_sys_types_h_makedev+:} false
; then :
6907 $as_echo_n "(cached) " >&6
6909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6910 /* end confdefs.h. */
6911 #include <sys/types.h>
6915 return makedev(0, 0);
6920 if ac_fn_c_try_link
"$LINENO"; then :
6921 ac_cv_header_sys_types_h_makedev
=yes
6923 ac_cv_header_sys_types_h_makedev
=no
6925 rm -f core conftest.err conftest.
$ac_objext \
6926 conftest
$ac_exeext conftest.
$ac_ext
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6930 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6932 if test $ac_cv_header_sys_types_h_makedev = no
; then
6933 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6934 if test "x$ac_cv_header_sys_mkdev_h" = xyes
; then :
6936 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6942 if test $ac_cv_header_sys_mkdev_h = no
; then
6943 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6944 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
; then :
6946 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6955 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6956 if ${ac_cv_header_stat_broken+:} false
; then :
6957 $as_echo_n "(cached) " >&6
6959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6960 /* end confdefs.h. */
6961 #include <sys/types.h>
6962 #include <sys/stat.h>
6964 #if defined S_ISBLK && defined S_IFDIR
6965 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6968 #if defined S_ISBLK && defined S_IFCHR
6969 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6972 #if defined S_ISLNK && defined S_IFREG
6973 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6976 #if defined S_ISSOCK && defined S_IFREG
6977 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6981 if ac_fn_c_try_compile
"$LINENO"; then :
6982 ac_cv_header_stat_broken
=no
6984 ac_cv_header_stat_broken
=yes
6986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6989 $as_echo "$ac_cv_header_stat_broken" >&6; }
6990 if test $ac_cv_header_stat_broken = yes; then
6992 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6998 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
7000 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7001 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7002 #ifdef HAVE_SYS_PARAM_H
7003 # include <sys/param.h>
7006 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7007 cat >>confdefs.h
<<_ACEOF
7008 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7023 netinet
/if_ether.h \
7024 netinet
/if_inarp.h \
7033 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7034 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7035 #ifdef HAVE_SYS_SOCKET_H
7036 # include <sys/socket.h>
7038 #ifdef HAVE_SYS_SOCKETVAR_H
7039 # include <sys/socketvar.h>
7041 #ifdef HAVE_NET_ROUTE_H
7042 # include <net/route.h>
7044 #ifdef HAVE_NETINET_IN_H
7045 # include <netinet/in.h>
7047 #ifdef HAVE_NETINET_IN_SYSTM_H
7048 # include <netinet/in_systm.h>
7050 #ifdef HAVE_NET_IF_H
7051 # include <net/if.h>
7053 #ifdef HAVE_NETINET_IP_H
7054 # include <netinet/ip.h>
7057 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7058 cat >>confdefs.h
<<_ACEOF
7059 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7067 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
7069 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7070 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7074 #ifdef HAVE_SYS_SOCKET_H
7075 # include <sys/socket.h>
7077 #ifdef HAVE_SYS_SOCKETVAR_H
7078 # include <sys/socketvar.h>
7080 #ifdef HAVE_SYS_TIMEOUT_H
7081 # include <sys/timeout.h>
7083 #ifdef HAVE_NETINET_IN_H
7084 # include <netinet/in.h>
7086 #ifdef HAVE_NETINET_IN_SYSTM_H
7087 # include <netinet/in_systm.h>
7089 #ifdef HAVE_NETINET_IP_H
7090 # include <netinet/ip.h>
7092 #ifdef HAVE_NETINET_IP_VAR_H
7093 # include <netinet/ip_var.h>
7095 #ifdef HAVE_NETINET_IP_ICMP_H
7096 # include <netinet/ip_icmp.h>
7098 #ifdef HAVE_NETINET_UDP_H
7099 # include <netinet/udp.h>
7101 #ifdef HAVE_NETINET_TCP_H
7102 # include <netinet/tcp.h>
7104 #ifdef HAVE_NETINET_TCP_TIMER_H
7105 #include <netinet/tcp_timer.h>
7108 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7109 cat >>confdefs.h
<<_ACEOF
7110 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7118 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
7120 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7121 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7122 #ifdef HAVE_ASM_TYPES_H
7123 # include <asm/types.h>
7125 #ifdef HAVE_SYS_SOCKET_H
7126 # include <sys/socket.h>
7128 #ifdef HAVE_LINUX_TYPES_H
7129 # include <linux/types.h>
7132 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7133 cat >>confdefs.h
<<_ACEOF
7134 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7142 for ac_header
in mach-o
/dyld_images.h
7144 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7145 # include <stdbool.h>
7147 #ifdef HAVE_STDINT_H
7148 # include <stdint.h>
7151 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7152 cat >>confdefs.h
<<_ACEOF
7153 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7161 for ac_header
in resolv.h
7163 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7164 #ifdef HAVE_SYS_SOCKET_H
7165 # include <sys/socket.h>
7167 #ifdef HAVE_NETINET_IN_H
7168 # include <netinet/in.h>
7170 #ifdef HAVE_ARPA_NAMESER_H
7171 # include <arpa/nameser.h>
7174 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7175 cat >>confdefs.h
<<_ACEOF
7176 #define HAVE_RESOLV_H 1
7184 for ac_header
in ifaddrs.h
7186 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7188 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7189 cat >>confdefs.h
<<_ACEOF
7190 #define HAVE_IFADDRS_H 1
7198 for ac_header
in sys
/ucontext.h
7200 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7202 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7203 cat >>confdefs.h
<<_ACEOF
7204 #define HAVE_SYS_UCONTEXT_H 1
7212 for ac_header
in sys
/thr.h
7214 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7215 #ifdef HAVE_SYS_UCONTEXT_H
7216 #include <sys/ucontext.h>
7219 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7220 cat >>confdefs.h
<<_ACEOF
7221 #define HAVE_SYS_THR_H 1
7229 for ac_header
in pthread_np.h
7231 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7232 #include <pthread.h>
7235 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7236 cat >>confdefs.h
<<_ACEOF
7237 #define HAVE_PTHREAD_NP_H 1
7245 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7247 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7248 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7249 #include <sys/time.h>
7251 #include <sys/types.h>
7252 #ifdef HAVE_ASM_TYPES_H
7253 #include <asm/types.h>
7256 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7257 cat >>confdefs.h
<<_ACEOF
7258 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7266 for ac_header
in libprocstat.h
7268 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7269 #include <sys/param.h>
7271 #ifdef HAVE_SYS_QUEUE_H
7272 #include <sys/queue.h>
7274 #ifdef HAVE_SYS_SOCKET_H
7275 #include <sys/socket.h>
7278 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7279 cat >>confdefs.h
<<_ACEOF
7280 #define HAVE_LIBPROCSTAT_H 1
7289 dlldir
="\${libdir}/wine"
7291 DLLFLAGS
="-D_REENTRANT"
7302 # Extract the first word of "ldd", so it can be a program name with args.
7303 set dummy ldd
; ac_word
=$2
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7305 $as_echo_n "checking for $ac_word... " >&6; }
7306 if ${ac_cv_path_LDD+:} false
; then :
7307 $as_echo_n "(cached) " >&6
7311 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7315 as_dummy
="/sbin:/usr/sbin:$PATH"
7316 for as_dir
in $as_dummy
7319 test -z "$as_dir" && as_dir
=.
7320 for ac_exec_ext
in '' $ac_executable_extensions; do
7321 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7322 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7330 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7335 if test -n "$LDD"; then
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7337 $as_echo "$LDD" >&6; }
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7340 $as_echo "no" >&6; }
7344 if test -n "$ac_tool_prefix"; then
7345 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7346 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7348 $as_echo_n "checking for $ac_word... " >&6; }
7349 if ${ac_cv_prog_OTOOL+:} false
; then :
7350 $as_echo_n "(cached) " >&6
7352 if test -n "$OTOOL"; then
7353 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7359 test -z "$as_dir" && as_dir
=.
7360 for ac_exec_ext
in '' $ac_executable_extensions; do
7361 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7362 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7372 OTOOL
=$ac_cv_prog_OTOOL
7373 if test -n "$OTOOL"; then
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7375 $as_echo "$OTOOL" >&6; }
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 $as_echo "no" >&6; }
7383 if test -z "$ac_cv_prog_OTOOL"; then
7385 # Extract the first word of "otool", so it can be a program name with args.
7386 set dummy otool
; ac_word
=$2
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7388 $as_echo_n "checking for $ac_word... " >&6; }
7389 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7390 $as_echo_n "(cached) " >&6
7392 if test -n "$ac_ct_OTOOL"; then
7393 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7399 test -z "$as_dir" && as_dir
=.
7400 for ac_exec_ext
in '' $ac_executable_extensions; do
7401 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7402 ac_cv_prog_ac_ct_OTOOL
="otool"
7403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7412 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7413 if test -n "$ac_ct_OTOOL"; then
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7415 $as_echo "$ac_ct_OTOOL" >&6; }
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7418 $as_echo "no" >&6; }
7421 if test "x$ac_ct_OTOOL" = x
; then
7424 case $cross_compiling:$ac_tool_warned in
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7428 ac_tool_warned
=yes ;;
7433 OTOOL
="$ac_cv_prog_OTOOL"
7436 if test -n "$ac_tool_prefix"; then
7437 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7438 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7440 $as_echo_n "checking for $ac_word... " >&6; }
7441 if ${ac_cv_prog_READELF+:} false
; then :
7442 $as_echo_n "(cached) " >&6
7444 if test -n "$READELF"; then
7445 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7451 test -z "$as_dir" && as_dir
=.
7452 for ac_exec_ext
in '' $ac_executable_extensions; do
7453 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7454 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7464 READELF
=$ac_cv_prog_READELF
7465 if test -n "$READELF"; then
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7467 $as_echo "$READELF" >&6; }
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7470 $as_echo "no" >&6; }
7475 if test -z "$ac_cv_prog_READELF"; then
7476 ac_ct_READELF
=$READELF
7477 # Extract the first word of "readelf", so it can be a program name with args.
7478 set dummy readelf
; ac_word
=$2
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7480 $as_echo_n "checking for $ac_word... " >&6; }
7481 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7482 $as_echo_n "(cached) " >&6
7484 if test -n "$ac_ct_READELF"; then
7485 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7491 test -z "$as_dir" && as_dir
=.
7492 for ac_exec_ext
in '' $ac_executable_extensions; do
7493 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7494 ac_cv_prog_ac_ct_READELF
="readelf"
7495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7504 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7505 if test -n "$ac_ct_READELF"; then
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7507 $as_echo "$ac_ct_READELF" >&6; }
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7510 $as_echo "no" >&6; }
7513 if test "x$ac_ct_READELF" = x
; then
7516 case $cross_compiling:$ac_tool_warned in
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7520 ac_tool_warned
=yes ;;
7522 READELF
=$ac_ct_READELF
7525 READELF
="$ac_cv_prog_READELF"
7528 wine_rules_file
=conf$
$rules.
make
7529 rm -f $wine_rules_file
7534 CONFIGURE_TARGETS
=""
7536 ALL_TEST_RESOURCES
=""
7539 wine_fn_append_file
()
7541 as_fn_append
$1 " \\$as_nl $2"
7544 wine_fn_append_rule
()
7546 $as_echo "$1" >>$wine_rules_file
7551 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7554 wine_fn_all_rules
()
7556 wine_fn_append_file SUBDIRS
$ac_dir
7557 wine_fn_append_rule \
7561 @cd $ac_dir && \$(MAKE)"
7564 wine_fn_install_rules
()
7566 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7568 wine_fn_append_rule \
7569 ".PHONY: $ac_dir/install $ac_dir/uninstall
7570 $ac_dir/install:: $ac_dir
7571 @cd $ac_dir && \$(MAKE) install
7573 @cd $ac_dir && \$(MAKE) uninstall
7574 install:: $ac_dir/install
7575 __uninstall__: $ac_dir/uninstall"
7577 if wine_fn_has_flag install-lib
7579 wine_fn_append_rule \
7580 ".PHONY: $ac_dir/install-lib
7581 $ac_dir/install-lib:: $ac_dir
7582 @cd $ac_dir && \$(MAKE) install-lib
7583 install-lib:: $ac_dir/install-lib"
7586 if wine_fn_has_flag install-dev
7588 wine_fn_append_rule \
7589 ".PHONY: $ac_dir/install-dev
7590 $ac_dir/install-dev:: $ac_dir
7591 @cd $ac_dir && \$(MAKE) install-dev
7592 install-dev:: $ac_dir/install-dev"
7596 wine_fn_clean_rules
()
7600 if wine_fn_has_flag clean
7602 wine_fn_append_rule \
7603 "$ac_dir/clean: dummy
7604 @cd $ac_dir && \$(MAKE) clean"
7606 wine_fn_append_rule \
7607 "$ac_dir/clean: dummy
7608 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7610 wine_fn_append_rule \
7611 "__clean__: $ac_dir/clean
7612 .PHONY: $ac_dir/clean"
7615 wine_fn_disabled_rules
()
7619 wine_fn_append_file SUBDIRS
$ac_dir
7620 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7621 wine_fn_append_rule \
7622 "__clean__: $ac_dir/clean
7623 .PHONY: $ac_dir/clean
7624 $ac_dir/clean: dummy
7625 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7628 wine_fn_config_makefile
()
7635 fonts|server
) test -z "$with_wine64" ||
return ;;
7637 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7638 wine_fn_disabled_rules
; return
7641 wine_fn_install_rules
7645 wine_fn_config_lib
()
7649 ac_dir
=dlls
/$ac_name
7652 if test "x$enable_tools" = xno
; then :
7655 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7660 wine_fn_append_rule \
7661 ".PHONY: $ac_dir/install $ac_dir/uninstall
7662 $ac_dir/install:: $ac_dir
7663 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7665 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7666 install install-dev:: $ac_dir/install
7667 __uninstall__: $ac_dir/uninstall
7668 __builddeps__: $ac_dir
7672 wine_fn_config_dll
()
7675 ac_dir
=dlls
/$ac_name
7678 ac_implib
=${4:-$ac_name}
7679 ac_file
=$ac_dir/lib
$ac_implib
7684 if test "x$enable_tools" = xno
; then :
7687 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7690 *16) ac_implibflags
=" -m16" ;;
7692 *) ac_dll
=$ac_dll.dll
;;
7696 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7697 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7699 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7700 if test "$ac_enable" != enable_win16
7702 wine_fn_clean_rules
$ac_clean
7703 wine_fn_append_file SUBDIRS
$ac_dir
7704 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7706 wine_fn_disabled_rules
$ac_clean
7711 wine_fn_clean_rules
$ac_clean
7712 wine_fn_append_rule \
7713 "$ac_dir: __builddeps__
7714 manpages htmlpages sgmlpages xmlpages::
7715 @cd $ac_dir && \$(MAKE) \$@
7716 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7717 install install-lib:: $ac_dir/install-lib
7718 __uninstall__: $ac_dir/uninstall"
7719 if test -n "$DLLEXT"
7721 wine_fn_append_rule \
7722 "$ac_dir/install-lib:: $ac_dir
7723 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7724 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7726 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7728 wine_fn_append_rule \
7729 "$ac_dir/install-lib:: $ac_dir
7730 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7732 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7736 if wine_fn_has_flag staticimplib
7738 wine_fn_append_rule \
7739 "__builddeps__: $ac_file.a
7740 $ac_file.a $ac_file.cross.a: $ac_deps
7742 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7743 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7744 $ac_dir/install-dev:: $ac_file.a
7745 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7747 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7748 install install-dev:: $ac_dir/install-dev
7749 __uninstall__: $ac_dir/uninstall"
7751 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7753 wine_fn_append_rule \
7754 "__builddeps__: $ac_file.cross.a
7755 $ac_file.cross.a: dummy
7756 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7759 elif wine_fn_has_flag implib
7761 wine_fn_append_rule \
7762 "__builddeps__: $ac_file.$IMPLIBEXT
7763 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7764 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7765 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7766 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7767 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7768 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7769 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7771 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7772 install install-dev:: $ac_dir/install-dev
7773 __uninstall__: $ac_dir/uninstall"
7774 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7776 wine_fn_append_rule \
7777 "__builddeps__: $ac_file.cross.a
7778 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7779 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7784 wine_fn_config_program
()
7787 ac_dir
=programs
/$ac_name
7794 *) ac_program
=$ac_program.exe
;;
7798 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7799 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7801 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7802 wine_fn_disabled_rules
$ac_clean; return
7806 wine_fn_clean_rules
$ac_clean
7807 wine_fn_append_rule
"$ac_dir: __builddeps__"
7809 wine_fn_has_flag
install ||
return
7810 wine_fn_append_rule \
7811 ".PHONY: $ac_dir/install $ac_dir/uninstall
7812 install install-lib:: $ac_dir/install
7813 __uninstall__: $ac_dir/uninstall"
7815 if test -n "$DLLEXT"
7817 wine_fn_append_rule \
7818 "$ac_dir/install:: $ac_dir
7819 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7820 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7822 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7824 if test -z "$with_wine64" && wine_fn_has_flag installbin
7826 wine_fn_append_rule \
7827 "$ac_dir/install:: __tooldeps__
7828 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7830 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7833 wine_fn_append_rule \
7834 "$ac_dir/install:: $ac_dir
7835 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7837 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7840 if test -z "$with_wine64" && wine_fn_has_flag manpage
7842 wine_fn_append_rule \
7843 "$ac_dir/install:: $ac_dir
7844 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7846 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7850 wine_fn_config_test
()
7857 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7858 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7860 if test "x$enable_tests" = xno
; then :
7861 wine_fn_disabled_rules
$ac_clean; return
7864 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7866 wine_fn_clean_rules
$ac_clean
7868 wine_fn_append_rule \
7869 "$ac_dir: __builddeps__
7870 programs/winetest: $ac_dir
7871 check test: $ac_dir/test
7872 .PHONY: $ac_dir/test
7874 @cd $ac_dir && \$(MAKE) test
7876 \$(RM) $ac_dir/*.ok"
7878 if test -n "$CROSSTARGET"
7880 wine_fn_append_rule \
7881 "crosstest: $ac_dir/crosstest
7882 .PHONY: $ac_dir/crosstest
7883 $ac_dir/crosstest: __builddeps__ dummy
7884 @cd $ac_dir && \$(MAKE) crosstest"
7888 wine_fn_config_tool
()
7892 if test "x$enable_tools" = xno
; then :
7893 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir; return
7897 wine_fn_install_rules
7900 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7901 wine_fn_append_rule
"$ac_dir: libs/port"
7903 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7907 wine_fn_config_symlink
()
7910 if test "x$1" = "x-d"
7916 wine_fn_append_rule \
7918 @./config.status \$@"
7919 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
7920 test -n "$ac_linkdir" ||
return
7921 wine_fn_append_rule
"$ac_linkdir/depend: $ac_links"
7925 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7926 WINELOADER_PROGRAMS
="$wine_binary"
7928 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7932 if test -n "$ac_tool_prefix"; then
7933 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7934 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7936 $as_echo_n "checking for $ac_word... " >&6; }
7937 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7938 $as_echo_n "(cached) " >&6
7940 if test -n "$DLLTOOL"; then
7941 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7947 test -z "$as_dir" && as_dir
=.
7948 for ac_exec_ext
in '' $ac_executable_extensions; do
7949 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7950 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7960 DLLTOOL
=$ac_cv_prog_DLLTOOL
7961 if test -n "$DLLTOOL"; then
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7963 $as_echo "$DLLTOOL" >&6; }
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7966 $as_echo "no" >&6; }
7971 if test -z "$ac_cv_prog_DLLTOOL"; then
7972 ac_ct_DLLTOOL
=$DLLTOOL
7973 # Extract the first word of "dlltool", so it can be a program name with args.
7974 set dummy dlltool
; ac_word
=$2
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7976 $as_echo_n "checking for $ac_word... " >&6; }
7977 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7978 $as_echo_n "(cached) " >&6
7980 if test -n "$ac_ct_DLLTOOL"; then
7981 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7987 test -z "$as_dir" && as_dir
=.
7988 for ac_exec_ext
in '' $ac_executable_extensions; do
7989 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7990 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8000 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8001 if test -n "$ac_ct_DLLTOOL"; then
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8003 $as_echo "$ac_ct_DLLTOOL" >&6; }
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8006 $as_echo "no" >&6; }
8009 if test "x$ac_ct_DLLTOOL" = x
; then
8012 case $cross_compiling:$ac_tool_warned in
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8016 ac_tool_warned
=yes ;;
8018 DLLTOOL
=$ac_ct_DLLTOOL
8021 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8027 enable_iphlpapi
=${enable_iphlpapi:-no}
8028 enable_kernel32
=${enable_kernel32:-no}
8029 enable_msvcrt
=${enable_msvcrt:-no}
8030 enable_ntdll
=${enable_ntdll:-no}
8031 enable_ws2_32
=${enable_ws2_32:-no}
8032 enable_loader
=${enable_loader:-no}
8033 enable_server
=${enable_server:-no}
8034 with_x
=${with_x:-no}
8035 with_pthread
=${with_pthread:-no}
8041 SOCKET_LIBS
="-lws2_32"
8045 LIBWINE_SHAREDLIB
="libwine.dll"
8047 LIBWINE_IMPORTLIB
="libwine.a"
8049 LIBWINE_INSTALL_LIB
="libwine.dll"
8051 LIBWINE_INSTALL_DEV
="libwine.a"
8053 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
8055 LIBWINE_DEPENDS
="wine.def"
8060 for ac_header
in libunwind.h
8062 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8063 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8064 cat >>confdefs.h
<<_ACEOF
8065 #define HAVE_LIBUNWIND_H 1
8073 DLLFLAGS
="$DLLFLAGS -fPIC"
8074 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8075 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8076 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8078 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8080 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8082 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8084 CORESERVICES_LIBS
="-framework CoreServices"
8086 APPKIT_LIBS
="-framework AppKit"
8088 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8090 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8091 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8092 $as_echo_n "(cached) " >&6
8094 ac_wine_try_cflags_saved
=$CFLAGS
8095 CFLAGS
="$CFLAGS -Wl,-no_pie"
8096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8097 /* end confdefs.h. */
8098 int main(int argc, char **argv) { return 0; }
8100 if ac_fn_c_try_link
"$LINENO"; then :
8101 ac_cv_cflags__Wl__no_pie
=yes
8103 ac_cv_cflags__Wl__no_pie
=no
8105 rm -f core conftest.err conftest.
$ac_objext \
8106 conftest
$ac_exeext conftest.
$ac_ext
8107 CFLAGS
=$ac_wine_try_cflags_saved
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8110 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8111 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8112 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8114 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8116 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8119 if test "$ac_cv_header_Security_Security_h" = "yes"
8121 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8123 ac_save_LIBS
="$LIBS"
8124 LIBS
="$LIBS $SECURITY_LIBS"
8125 for ac_func
in SSLCopyPeerCertificates
8127 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8128 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8129 cat >>confdefs.h
<<_ACEOF
8130 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8136 LIBS
="$ac_save_LIBS"
8137 with_gnutls
=${with_gnutls:-no}
8139 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8141 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8143 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8146 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8149 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8150 ac_save_LIBS
="$LIBS"
8151 LIBS
="$LIBS $COREAUDIO_LIBS"
8152 for ac_func
in AUGraphAddNode
8154 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8155 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8156 cat >>confdefs.h
<<_ACEOF
8157 #define HAVE_AUGRAPHADDNODE 1
8163 LIBS
="$ac_save_LIBS"
8165 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8167 OPENAL_LIBS
="-framework OpenAL"
8170 cat >>confdefs.h
<<_ACEOF
8171 #define HAVE_OPENAL 1
8174 ac_cv_lib_openal
=yes
8176 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8178 OPENCL_LIBS
="-framework OpenCL"
8180 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8182 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8184 ac_save_LIBS
="$LIBS"
8185 LIBS
="$LIBS $IOKIT_LIBS"
8186 for ac_func
in IOHIDManagerCreate
8188 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8189 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8190 cat >>confdefs.h
<<_ACEOF
8191 #define HAVE_IOHIDMANAGERCREATE 1
8197 LIBS
="$ac_save_LIBS"
8199 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8201 ac_save_LIBS
="$LIBS"
8202 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8204 $as_echo_n "checking for the QuickTime framework... " >&6; }
8205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8206 /* end confdefs.h. */
8207 #include <QuickTime/ImageCompression.h>
8211 CodecManagerVersion(NULL);
8216 if ac_fn_c_try_link
"$LINENO"; then :
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8218 $as_echo "yes" >&6; }
8219 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8221 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8224 $as_echo "no" >&6; }
8225 ac_cv_header_QuickTime_ImageCompression_h
=no
8227 rm -f core conftest.err conftest.
$ac_objext \
8228 conftest
$ac_exeext conftest.
$ac_ext
8229 LIBS
="$ac_save_LIBS"
8231 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8233 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8235 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8237 CARBON_LIBS
="-framework Carbon"
8241 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8243 ac_save_LIBS
="$LIBS"
8244 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8245 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8246 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8247 enable_winemac_drv
=${enable_winemac_drv:-yes}
8250 LIBS
="$ac_save_LIBS"
8253 if test "x$enable_win16" = "xyes"
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8256 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8257 if test "$cross_compiling" = yes; then :
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8259 $as_echo "cross-compiling, assuming yes" >&6; }
8261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8262 /* end confdefs.h. */
8265 "good:\tnop;nop\n\t"
8266 ".globl _testfunc\n"
8267 "_testfunc:\tcallw good");
8268 extern void testfunc();
8272 unsigned short *p = (unsigned short *)testfunc;
8273 return p[0] != 0xe866 || p[1] != 0xfffa
8278 if ac_fn_c_try_run
"$LINENO"; then :
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8280 $as_echo "yes" >&6; }
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8283 $as_echo "no" >&6; }
8284 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
8286 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8287 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8292 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8294 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8296 LIBWINE_INSTALL_DEV
="libwine.dylib"
8298 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8300 WINELOADER_DEPENDS
="wine_info.plist"
8305 DLLFLAGS
="$DLLFLAGS -fPIC"
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8307 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8308 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8309 $as_echo_n "(cached) " >&6
8311 ac_wine_try_cflags_saved
=$CFLAGS
8312 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8314 /* end confdefs.h. */
8315 int main(int argc, char **argv) { return 0; }
8317 if ac_fn_c_try_link
"$LINENO"; then :
8318 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8320 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8322 rm -f core conftest.err conftest.
$ac_objext \
8323 conftest
$ac_exeext conftest.
$ac_ext
8324 CFLAGS
=$ac_wine_try_cflags_saved
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8327 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8328 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8329 LDEXECFLAGS
="-Wl,--export-dynamic"
8331 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8333 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8334 if eval \
${$as_ac_var+:} false
; then :
8335 $as_echo_n "(cached) " >&6
8337 ac_wine_try_cflags_saved
=$CFLAGS
8338 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h. */
8341 int main(int argc, char **argv) { return 0; }
8343 if ac_fn_c_try_link
"$LINENO"; then :
8344 eval "$as_ac_var=yes"
8346 eval "$as_ac_var=no"
8348 rm -f core conftest.err conftest.
$ac_objext \
8349 conftest
$ac_exeext conftest.
$ac_ext
8350 CFLAGS
=$ac_wine_try_cflags_saved
8352 eval ac_res
=\$
$as_ac_var
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8354 $as_echo "$ac_res" >&6; }
8355 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8356 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8357 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8359 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8361 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8362 if eval \
${$as_ac_var+:} false
; then :
8363 $as_echo_n "(cached) " >&6
8365 ac_wine_try_cflags_saved
=$CFLAGS
8366 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8368 /* end confdefs.h. */
8369 int main(int argc, char **argv) { return 0; }
8371 if ac_fn_c_try_link
"$LINENO"; then :
8372 eval "$as_ac_var=yes"
8374 eval "$as_ac_var=no"
8376 rm -f core conftest.err conftest.
$ac_objext \
8377 conftest
$ac_exeext conftest.
$ac_ext
8378 CFLAGS
=$ac_wine_try_cflags_saved
8380 eval ac_res
=\$
$as_ac_var
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8382 $as_echo "$ac_res" >&6; }
8383 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8384 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8385 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8390 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8391 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8392 $as_echo_n "(cached) " >&6
8394 ac_wine_try_cflags_saved
=$CFLAGS
8395 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8397 /* end confdefs.h. */
8398 int main(int argc, char **argv) { return 0; }
8400 if ac_fn_c_try_link
"$LINENO"; then :
8401 ac_cv_cflags__Wl___enable_new_dtags
=yes
8403 ac_cv_cflags__Wl___enable_new_dtags
=no
8405 rm -f core conftest.err conftest.
$ac_objext \
8406 conftest
$ac_exeext conftest.
$ac_ext
8407 CFLAGS
=$ac_wine_try_cflags_saved
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8410 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8411 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8412 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8415 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8416 if ${ac_cv_cflags__Wl__pie+:} false
; then :
8417 $as_echo_n "(cached) " >&6
8419 ac_wine_try_cflags_saved
=$CFLAGS
8420 CFLAGS
="$CFLAGS -Wl,-pie"
8421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8422 /* end confdefs.h. */
8423 int main(int argc, char **argv) { return 0; }
8425 if ac_fn_c_try_link
"$LINENO"; then :
8426 ac_cv_cflags__Wl__pie
=yes
8428 ac_cv_cflags__Wl__pie
=no
8430 rm -f core conftest.err conftest.
$ac_objext \
8431 conftest
$ac_exeext conftest.
$ac_ext
8432 CFLAGS
=$ac_wine_try_cflags_saved
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8435 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8436 if test "x$ac_cv_cflags__Wl__pie" = xyes
; then :
8437 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,-pie"
8440 LIBWINE_SHAREDLIB
="libwine.so"
8442 LIBWINE_INSTALL_LIB
="libwine.so"
8444 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so"
8449 DLLFLAGS
="$DLLFLAGS -fPIC"
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8452 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8453 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8454 $as_echo_n "(cached) " >&6
8456 ac_wine_try_cflags_saved
=$CFLAGS
8457 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8459 /* end confdefs.h. */
8462 if ac_fn_c_try_link
"$LINENO"; then :
8463 ac_cv_c_dll_gnuelf
="yes"
8465 ac_cv_c_dll_gnuelf
="no"
8467 rm -f core conftest.err conftest.
$ac_objext \
8468 conftest
$ac_exeext conftest.
$ac_ext
8469 CFLAGS
=$ac_wine_try_cflags_saved
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8472 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8473 if test "$ac_cv_c_dll_gnuelf" = "yes"
8475 LIBWINE_LDFLAGS
="-shared"
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8477 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8478 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8479 $as_echo_n "(cached) " >&6
8481 ac_wine_try_cflags_saved
=$CFLAGS
8482 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8484 /* end confdefs.h. */
8485 int main(int argc, char **argv) { return 0; }
8487 if ac_fn_c_try_link
"$LINENO"; then :
8488 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8490 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8492 rm -f core conftest.err conftest.
$ac_objext \
8493 conftest
$ac_exeext conftest.
$ac_ext
8494 CFLAGS
=$ac_wine_try_cflags_saved
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8497 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8498 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8499 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8502 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8503 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8504 $as_echo_n "(cached) " >&6
8506 ac_wine_try_cflags_saved
=$CFLAGS
8507 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8510 int main(int argc, char **argv) { return 0; }
8512 if ac_fn_c_try_link
"$LINENO"; then :
8513 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8515 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8517 rm -f core conftest.err conftest.
$ac_objext \
8518 conftest
$ac_exeext conftest.
$ac_ext
8519 CFLAGS
=$ac_wine_try_cflags_saved
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8522 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8523 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8524 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8528 echo '{ global: *; };' >conftest.map
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8530 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8531 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8532 $as_echo_n "(cached) " >&6
8534 ac_wine_try_cflags_saved
=$CFLAGS
8535 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8537 /* end confdefs.h. */
8538 int main(int argc, char **argv) { return 0; }
8540 if ac_fn_c_try_link
"$LINENO"; then :
8541 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8543 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8545 rm -f core conftest.err conftest.
$ac_objext \
8546 conftest
$ac_exeext conftest.
$ac_ext
8547 CFLAGS
=$ac_wine_try_cflags_saved
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8550 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8551 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8552 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8557 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8558 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8559 $as_echo_n "(cached) " >&6
8561 ac_wine_try_cflags_saved
=$CFLAGS
8562 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8564 /* end confdefs.h. */
8565 int main(int argc, char **argv) { return 0; }
8567 if ac_fn_c_try_link
"$LINENO"; then :
8568 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8570 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8572 rm -f core conftest.err conftest.
$ac_objext \
8573 conftest
$ac_exeext conftest.
$ac_ext
8574 CFLAGS
=$ac_wine_try_cflags_saved
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8577 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8578 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8579 LDEXECFLAGS
="-Wl,--export-dynamic"
8582 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8584 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8585 if eval \
${$as_ac_var+:} false
; then :
8586 $as_echo_n "(cached) " >&6
8588 ac_wine_try_cflags_saved
=$CFLAGS
8589 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8591 /* end confdefs.h. */
8592 int main(int argc, char **argv) { return 0; }
8594 if ac_fn_c_try_link
"$LINENO"; then :
8595 eval "$as_ac_var=yes"
8597 eval "$as_ac_var=no"
8599 rm -f core conftest.err conftest.
$ac_objext \
8600 conftest
$ac_exeext conftest.
$ac_ext
8601 CFLAGS
=$ac_wine_try_cflags_saved
8603 eval ac_res
=\$
$as_ac_var
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8605 $as_echo "$ac_res" >&6; }
8606 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8607 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8608 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8610 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8612 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8613 if eval \
${$as_ac_var+:} false
; then :
8614 $as_echo_n "(cached) " >&6
8616 ac_wine_try_cflags_saved
=$CFLAGS
8617 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8619 /* end confdefs.h. */
8620 int main(int argc, char **argv) { return 0; }
8622 if ac_fn_c_try_link
"$LINENO"; then :
8623 eval "$as_ac_var=yes"
8625 eval "$as_ac_var=no"
8627 rm -f core conftest.err conftest.
$ac_objext \
8628 conftest
$ac_exeext conftest.
$ac_ext
8629 CFLAGS
=$ac_wine_try_cflags_saved
8631 eval ac_res
=\$
$as_ac_var
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8633 $as_echo "$ac_res" >&6; }
8634 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8635 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8636 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8641 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8642 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8643 $as_echo_n "(cached) " >&6
8645 ac_wine_try_cflags_saved
=$CFLAGS
8646 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8648 /* end confdefs.h. */
8649 int main(int argc, char **argv) { return 0; }
8651 if ac_fn_c_try_link
"$LINENO"; then :
8652 ac_cv_cflags__Wl___enable_new_dtags
=yes
8654 ac_cv_cflags__Wl___enable_new_dtags
=no
8656 rm -f core conftest.err conftest.
$ac_objext \
8657 conftest
$ac_exeext conftest.
$ac_ext
8658 CFLAGS
=$ac_wine_try_cflags_saved
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8661 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8662 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8663 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8667 *i
[3456789]86* | x86_64
)
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8669 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8670 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8671 $as_echo_n "(cached) " >&6
8673 ac_wine_try_cflags_saved
=$CFLAGS
8674 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8676 /* end confdefs.h. */
8677 int main(int argc, char **argv) { return 0; }
8679 if ac_fn_c_try_link
"$LINENO"; then :
8680 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8682 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8684 rm -f core conftest.err conftest.
$ac_objext \
8685 conftest
$ac_exeext conftest.
$ac_ext
8686 CFLAGS
=$ac_wine_try_cflags_saved
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8689 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8690 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8692 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8693 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8697 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8698 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false
; then :
8699 $as_echo_n "(cached) " >&6
8701 ac_wine_try_cflags_saved
=$CFLAGS
8702 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8704 /* end confdefs.h. */
8705 int main(int argc, char **argv) { return 0; }
8707 if ac_fn_c_try_link
"$LINENO"; then :
8708 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=yes
8710 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=no
8712 rm -f core conftest.err conftest.
$ac_objext \
8713 conftest
$ac_exeext conftest.
$ac_ext
8714 CFLAGS
=$ac_wine_try_cflags_saved
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8717 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8718 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes
; then :
8720 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8721 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8724 # Extract the first word of "prelink", so it can be a program name with args.
8725 set dummy prelink
; ac_word
=$2
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8727 $as_echo_n "checking for $ac_word... " >&6; }
8728 if ${ac_cv_path_PRELINK+:} false
; then :
8729 $as_echo_n "(cached) " >&6
8733 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8737 for as_dir
in /sbin
/usr
/sbin
$PATH
8740 test -z "$as_dir" && as_dir
=.
8741 for ac_exec_ext
in '' $ac_executable_extensions; do
8742 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8743 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8751 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8755 PRELINK
=$ac_cv_path_PRELINK
8756 if test -n "$PRELINK"; then
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8758 $as_echo "$PRELINK" >&6; }
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8761 $as_echo "no" >&6; }
8765 if test "x$PRELINK" = xfalse
8767 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8771 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8772 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false
; then :
8773 $as_echo_n "(cached) " >&6
8775 ac_wine_try_cflags_saved
=$CFLAGS
8776 CFLAGS
="$CFLAGS -Wl,-z,max-page-size=0x1000"
8777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8778 /* end confdefs.h. */
8779 int main(int argc, char **argv) { return 0; }
8781 if ac_fn_c_try_link
"$LINENO"; then :
8782 ac_cv_cflags__Wl__z_max_page_size_0x1000
=yes
8784 ac_cv_cflags__Wl__z_max_page_size_0x1000
=no
8786 rm -f core conftest.err conftest.
$ac_objext \
8787 conftest
$ac_exeext conftest.
$ac_ext
8788 CFLAGS
=$ac_wine_try_cflags_saved
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8791 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8792 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
; then :
8793 LDEXECFLAGS
="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8800 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8801 if ${ac_cv_c_dll_unixware+:} false
; then :
8802 $as_echo_n "(cached) " >&6
8804 ac_wine_try_cflags_saved
=$CFLAGS
8805 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8807 /* end confdefs.h. */
8810 if ac_fn_c_try_link
"$LINENO"; then :
8811 ac_cv_c_dll_unixware
="yes"
8813 ac_cv_c_dll_unixware
="no"
8815 rm -f core conftest.err conftest.
$ac_objext \
8816 conftest
$ac_exeext conftest.
$ac_ext
8817 CFLAGS
=$ac_wine_try_cflags_saved
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8820 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8821 if test "$ac_cv_c_dll_unixware" = "yes"
8823 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
8826 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
8828 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8830 LIBWINE_INSTALL_DEV
="libwine.so"
8832 LIBWINE_DEPENDS
="wine.map"
8837 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
8838 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8839 enable_winemac_drv
=${enable_winemac_drv:-no}
8840 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
8844 if test "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8848 ac_prefix_list
="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8850 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
8851 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8854 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
8855 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8857 ac_prefix_list
="" ;;
8859 for ac_prog
in $ac_prefix_list
8861 # Extract the first word of "$ac_prog", so it can be a program name with args.
8862 set dummy
$ac_prog; ac_word
=$2
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8864 $as_echo_n "checking for $ac_word... " >&6; }
8865 if ${ac_cv_prog_CROSSCC+:} false
; then :
8866 $as_echo_n "(cached) " >&6
8868 if test -n "$CROSSCC"; then
8869 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8875 test -z "$as_dir" && as_dir
=.
8876 for ac_exec_ext
in '' $ac_executable_extensions; do
8877 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8878 ac_cv_prog_CROSSCC
="$ac_prog"
8879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8888 CROSSCC
=$ac_cv_prog_CROSSCC
8889 if test -n "$CROSSCC"; then
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8891 $as_echo "$CROSSCC" >&6; }
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8894 $as_echo "no" >&6; }
8898 test -n "$CROSSCC" && break
8900 test -n "$CROSSCC" || CROSSCC
="false"
8902 if test "$CROSSCC" != "false"
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8907 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8909 /* end confdefs.h. */
8919 if ac_fn_c_try_compile
"$LINENO"; then :
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8921 $as_echo "yes" >&6; }
8927 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8928 *-clang) CROSSTARGET
=`expr "$1" : '\(.*\)-clang'` ;;
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8934 $as_echo "no" >&6; }
8936 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8942 if test "$ac_cv_header_pthread_h" = "yes"
8944 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8945 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8949 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8950 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8951 $as_echo_n "(cached) " >&6
8953 ac_check_lib_save_LIBS
=$LIBS
8954 LIBS
="-lpthread $LIBS"
8955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8956 /* end confdefs.h. */
8958 /* Override any GCC internal prototype to avoid an error.
8959 Use char because int might match the return type of a GCC
8960 builtin and then its argument prototype would still apply. */
8964 char pthread_create ();
8968 return pthread_create ();
8973 if ac_fn_c_try_link
"$LINENO"; then :
8974 ac_cv_lib_pthread_pthread_create
=yes
8976 ac_cv_lib_pthread_pthread_create
=no
8978 rm -f core conftest.err conftest.
$ac_objext \
8979 conftest
$ac_exeext conftest.
$ac_ext
8980 LIBS
=$ac_check_lib_save_LIBS
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8983 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8984 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8985 PTHREAD_LIBS
="-lpthread"
8992 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8993 case "x$with_pthread" in
8995 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8996 Wine cannot support threads without libpthread.
8997 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9004 $as_echo_n "checking for X... " >&6; }
9007 # Check whether --with-x was given.
9008 if test "${with_x+set}" = set; then :
9012 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9013 if test "x$with_x" = xno
; then
9014 # The user explicitly disabled X.
9017 case $x_includes,$x_libraries in #(
9018 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
9019 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
9020 $as_echo_n "(cached) " >&6
9022 # One or both of the vars are not set, and there is no cached value.
9023 ac_x_includes
=no ac_x_libraries
=no
9024 rm -f -r conftest.dir
9025 if mkdir conftest.dir
; then
9027 cat >Imakefile
<<'_ACEOF'
9029 @echo incroot='${INCROOT}'
9031 @echo usrlibdir='${USRLIBDIR}'
9033 @echo libdir='${LIBDIR}'
9035 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9036 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9037 for ac_var
in incroot usrlibdir libdir
; do
9038 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9040 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9041 for ac_extension
in a so sl dylib la dll
; do
9042 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9043 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9044 ac_im_usrlibdir
=$ac_im_libdir; break
9047 # Screen out bogus values from the imake configuration. They are
9048 # bogus both because they are the default anyway, and because
9049 # using them would break gcc on systems where it needs fixed includes.
9050 case $ac_im_incroot in
9051 /usr
/include
) ac_x_includes
= ;;
9052 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9054 case $ac_im_usrlibdir in
9055 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9056 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9060 rm -f -r conftest.dir
9063 # Standard set of common directories for X headers.
9064 # Check X11 before X11Rn because it is often a symlink to the current release.
9078 /usr/local/X11/include
9079 /usr/local/X11R7/include
9080 /usr/local/X11R6/include
9081 /usr/local/X11R5/include
9082 /usr/local/X11R4/include
9084 /usr/local/include/X11
9085 /usr/local/include/X11R7
9086 /usr/local/include/X11R6
9087 /usr/local/include/X11R5
9088 /usr/local/include/X11R4
9092 /usr/XFree86/include/X11
9096 /usr/unsupported/include
9098 /usr/local/x11r5/include
9099 /usr/lpp/Xamples/include
9101 /usr/openwin/include
9102 /usr/openwin/share/include'
9104 if test "$ac_x_includes" = no
; then
9105 # Guess where to find include files, by looking for Xlib.h.
9106 # First, try using that file with no special directory specified.
9107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9108 /* end confdefs.h. */
9109 #include <X11/Xlib.h>
9111 if ac_fn_c_try_cpp
"$LINENO"; then :
9112 # We can compile using X headers with no special include directory.
9115 for ac_dir
in $ac_x_header_dirs; do
9116 if test -r "$ac_dir/X11/Xlib.h"; then
9117 ac_x_includes
=$ac_dir
9122 rm -f conftest.err conftest.i conftest.
$ac_ext
9123 fi # $ac_x_includes = no
9125 if test "$ac_x_libraries" = no
; then
9126 # Check for the libraries.
9127 # See if we find them without any special options.
9128 # Don't add to $LIBS permanently.
9131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9132 /* end confdefs.h. */
9133 #include <X11/Xlib.h>
9142 if ac_fn_c_try_link
"$LINENO"; then :
9144 # We can link X programs with no special library path.
9148 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9150 # Don't even attempt the hair of trying to link an X program!
9151 for ac_extension
in a so sl dylib la dll
; do
9152 if test -r "$ac_dir/libX11.$ac_extension"; then
9153 ac_x_libraries
=$ac_dir
9159 rm -f core conftest.err conftest.
$ac_objext \
9160 conftest
$ac_exeext conftest.
$ac_ext
9161 fi # $ac_x_libraries = no
9163 case $ac_x_includes,$ac_x_libraries in #(
9165 # Didn't find X, or a directory has "'" in its name.
9166 ac_cv_have_x
="have_x=no";; #(
9168 # Record where we found X for the cache.
9169 ac_cv_have_x
="have_x=yes\
9170 ac_x_includes='$ac_x_includes'\
9171 ac_x_libraries='$ac_x_libraries'"
9177 eval "$ac_cv_have_x"
9180 if test "$have_x" != yes; then
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9182 $as_echo "$have_x" >&6; }
9185 # If each of the values was on the command line, it overrides each guess.
9186 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9187 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9188 # Update the cache value to reflect the command line values.
9189 ac_cv_have_x
="have_x=yes\
9190 ac_x_includes='$x_includes'\
9191 ac_x_libraries='$x_libraries'"
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9193 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9196 if test "$no_x" = yes; then
9197 # Not all programs may use this symbol, but it does not hurt to define it.
9199 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9201 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9203 if test -n "$x_includes"; then
9204 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9207 # It would also be nice to do this for all -L options, not just this one.
9208 if test -n "$x_libraries"; then
9209 X_LIBS
="$X_LIBS -L$x_libraries"
9210 # For Solaris; some versions of Sun CC require a space after -R and
9211 # others require no space. Words are not sufficient . . . .
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9213 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9214 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9215 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9216 ac_c_werror_flag
=yes
9217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9218 /* end confdefs.h. */
9228 if ac_fn_c_try_link
"$LINENO"; then :
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9230 $as_echo "no" >&6; }
9231 X_LIBS
="$X_LIBS -R$x_libraries"
9233 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9235 /* end confdefs.h. */
9245 if ac_fn_c_try_link
"$LINENO"; then :
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9247 $as_echo "yes" >&6; }
9248 X_LIBS
="$X_LIBS -R $x_libraries"
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9251 $as_echo "neither works" >&6; }
9253 rm -f core conftest.err conftest.
$ac_objext \
9254 conftest
$ac_exeext conftest.
$ac_ext
9256 rm -f core conftest.err conftest.
$ac_objext \
9257 conftest
$ac_exeext conftest.
$ac_ext
9258 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9262 # Check for system-dependent libraries X programs must link with.
9263 # Do this before checking for the system-independent R6 libraries
9264 # (-lICE), since we may need -lsocket or whatever for X linking.
9266 if test "$ISC" = yes; then
9267 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9269 # Martyn Johnson says this is needed for Ultrix, if the X
9270 # libraries were built with DECnet support. And Karl Berry says
9271 # the Alpha needs dnet_stub (dnet does not exist).
9272 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9274 /* end confdefs.h. */
9276 /* Override any GCC internal prototype to avoid an error.
9277 Use char because int might match the return type of a GCC
9278 builtin and then its argument prototype would still apply. */
9282 char XOpenDisplay ();
9286 return XOpenDisplay ();
9291 if ac_fn_c_try_link
"$LINENO"; then :
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9295 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9296 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9297 $as_echo_n "(cached) " >&6
9299 ac_check_lib_save_LIBS
=$LIBS
9301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9302 /* end confdefs.h. */
9304 /* Override any GCC internal prototype to avoid an error.
9305 Use char because int might match the return type of a GCC
9306 builtin and then its argument prototype would still apply. */
9314 return dnet_ntoa ();
9319 if ac_fn_c_try_link
"$LINENO"; then :
9320 ac_cv_lib_dnet_dnet_ntoa
=yes
9322 ac_cv_lib_dnet_dnet_ntoa
=no
9324 rm -f core conftest.err conftest.
$ac_objext \
9325 conftest
$ac_exeext conftest.
$ac_ext
9326 LIBS
=$ac_check_lib_save_LIBS
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9329 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9330 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9331 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9334 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9336 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9337 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9338 $as_echo_n "(cached) " >&6
9340 ac_check_lib_save_LIBS
=$LIBS
9341 LIBS
="-ldnet_stub $LIBS"
9342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9343 /* end confdefs.h. */
9345 /* Override any GCC internal prototype to avoid an error.
9346 Use char because int might match the return type of a GCC
9347 builtin and then its argument prototype would still apply. */
9355 return dnet_ntoa ();
9360 if ac_fn_c_try_link
"$LINENO"; then :
9361 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9363 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9365 rm -f core conftest.err conftest.
$ac_objext \
9366 conftest
$ac_exeext conftest.
$ac_ext
9367 LIBS
=$ac_check_lib_save_LIBS
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9370 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9371 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9372 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9377 rm -f core conftest.err conftest.
$ac_objext \
9378 conftest
$ac_exeext conftest.
$ac_ext
9379 LIBS
="$ac_xsave_LIBS"
9381 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9382 # to get the SysV transport functions.
9383 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9385 # The nsl library prevents programs from opening the X display
9386 # on Irix 5.2, according to T.E. Dickey.
9387 # The functions gethostbyname, getservbyname, and inet_addr are
9388 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9389 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9390 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9394 if test $ac_cv_func_gethostbyname = no
; then
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9396 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9397 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9398 $as_echo_n "(cached) " >&6
9400 ac_check_lib_save_LIBS
=$LIBS
9402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9403 /* end confdefs.h. */
9405 /* Override any GCC internal prototype to avoid an error.
9406 Use char because int might match the return type of a GCC
9407 builtin and then its argument prototype would still apply. */
9411 char gethostbyname ();
9415 return gethostbyname ();
9420 if ac_fn_c_try_link
"$LINENO"; then :
9421 ac_cv_lib_nsl_gethostbyname
=yes
9423 ac_cv_lib_nsl_gethostbyname
=no
9425 rm -f core conftest.err conftest.
$ac_objext \
9426 conftest
$ac_exeext conftest.
$ac_ext
9427 LIBS
=$ac_check_lib_save_LIBS
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9430 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9431 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9432 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9435 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9437 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9438 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9439 $as_echo_n "(cached) " >&6
9441 ac_check_lib_save_LIBS
=$LIBS
9443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9444 /* end confdefs.h. */
9446 /* Override any GCC internal prototype to avoid an error.
9447 Use char because int might match the return type of a GCC
9448 builtin and then its argument prototype would still apply. */
9452 char gethostbyname ();
9456 return gethostbyname ();
9461 if ac_fn_c_try_link
"$LINENO"; then :
9462 ac_cv_lib_bsd_gethostbyname
=yes
9464 ac_cv_lib_bsd_gethostbyname
=no
9466 rm -f core conftest.err conftest.
$ac_objext \
9467 conftest
$ac_exeext conftest.
$ac_ext
9468 LIBS
=$ac_check_lib_save_LIBS
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9471 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9472 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9473 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9479 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9480 # socket/setsockopt and other routines are undefined under SCO ODT
9481 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9482 # on later versions), says Simon Leinen: it contains gethostby*
9483 # variants that don't use the name server (or something). -lsocket
9484 # must be given before -lnsl if both are needed. We assume that
9485 # if connect needs -lnsl, so does gethostbyname.
9486 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9487 if test "x$ac_cv_func_connect" = xyes
; then :
9491 if test $ac_cv_func_connect = no
; then
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9493 $as_echo_n "checking for connect in -lsocket... " >&6; }
9494 if ${ac_cv_lib_socket_connect+:} false
; then :
9495 $as_echo_n "(cached) " >&6
9497 ac_check_lib_save_LIBS
=$LIBS
9498 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9500 /* end confdefs.h. */
9502 /* Override any GCC internal prototype to avoid an error.
9503 Use char because int might match the return type of a GCC
9504 builtin and then its argument prototype would still apply. */
9517 if ac_fn_c_try_link
"$LINENO"; then :
9518 ac_cv_lib_socket_connect
=yes
9520 ac_cv_lib_socket_connect
=no
9522 rm -f core conftest.err conftest.
$ac_objext \
9523 conftest
$ac_exeext conftest.
$ac_ext
9524 LIBS
=$ac_check_lib_save_LIBS
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9527 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9528 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9529 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9534 # Guillermo Gomez says -lposix is necessary on A/UX.
9535 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9536 if test "x$ac_cv_func_remove" = xyes
; then :
9540 if test $ac_cv_func_remove = no
; then
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9542 $as_echo_n "checking for remove in -lposix... " >&6; }
9543 if ${ac_cv_lib_posix_remove+:} false
; then :
9544 $as_echo_n "(cached) " >&6
9546 ac_check_lib_save_LIBS
=$LIBS
9547 LIBS
="-lposix $LIBS"
9548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9549 /* end confdefs.h. */
9551 /* Override any GCC internal prototype to avoid an error.
9552 Use char because int might match the return type of a GCC
9553 builtin and then its argument prototype would still apply. */
9566 if ac_fn_c_try_link
"$LINENO"; then :
9567 ac_cv_lib_posix_remove
=yes
9569 ac_cv_lib_posix_remove
=no
9571 rm -f core conftest.err conftest.
$ac_objext \
9572 conftest
$ac_exeext conftest.
$ac_ext
9573 LIBS
=$ac_check_lib_save_LIBS
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9576 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9577 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9578 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9583 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9584 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9585 if test "x$ac_cv_func_shmat" = xyes
; then :
9589 if test $ac_cv_func_shmat = no
; then
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9591 $as_echo_n "checking for shmat in -lipc... " >&6; }
9592 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9593 $as_echo_n "(cached) " >&6
9595 ac_check_lib_save_LIBS
=$LIBS
9597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9598 /* end confdefs.h. */
9600 /* Override any GCC internal prototype to avoid an error.
9601 Use char because int might match the return type of a GCC
9602 builtin and then its argument prototype would still apply. */
9615 if ac_fn_c_try_link
"$LINENO"; then :
9616 ac_cv_lib_ipc_shmat
=yes
9618 ac_cv_lib_ipc_shmat
=no
9620 rm -f core conftest.err conftest.
$ac_objext \
9621 conftest
$ac_exeext conftest.
$ac_ext
9622 LIBS
=$ac_check_lib_save_LIBS
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9625 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9626 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9627 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9633 # Check for libraries that X11R6 Xt/Xaw programs need.
9634 ac_save_LDFLAGS
=$LDFLAGS
9635 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9636 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9637 # check for ICE first), but we must link in the order -lSM -lICE or
9638 # we get undefined symbols. So assume we have SM if we have ICE.
9639 # These have to be linked with before -lX11, unlike the other
9640 # libraries we check for below, so use a different variable.
9641 # John Interrante, Karl Berry
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9643 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9644 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9645 $as_echo_n "(cached) " >&6
9647 ac_check_lib_save_LIBS
=$LIBS
9648 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9650 /* end confdefs.h. */
9652 /* Override any GCC internal prototype to avoid an error.
9653 Use char because int might match the return type of a GCC
9654 builtin and then its argument prototype would still apply. */
9658 char IceConnectionNumber ();
9662 return IceConnectionNumber ();
9667 if ac_fn_c_try_link
"$LINENO"; then :
9668 ac_cv_lib_ICE_IceConnectionNumber
=yes
9670 ac_cv_lib_ICE_IceConnectionNumber
=no
9672 rm -f core conftest.err conftest.
$ac_objext \
9673 conftest
$ac_exeext conftest.
$ac_ext
9674 LIBS
=$ac_check_lib_save_LIBS
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9677 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9678 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9679 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9682 LDFLAGS
=$ac_save_LDFLAGS
9687 if test "$have_x" = "yes"
9689 ac_save_CPPFLAGS
="$CPPFLAGS"
9690 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9693 $as_echo_n "checking for -lX11... " >&6; }
9694 if ${ac_cv_lib_soname_X11+:} false
; then :
9695 $as_echo_n "(cached) " >&6
9697 ac_check_soname_save_LIBS
=$LIBS
9698 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9700 /* end confdefs.h. */
9702 /* Override any GCC internal prototype to avoid an error.
9703 Use char because int might match the return type of a GCC
9704 builtin and then its argument prototype would still apply. */
9708 char XCreateWindow ();
9712 return XCreateWindow ();
9717 if ac_fn_c_try_link
"$LINENO"; then :
9719 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9720 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'` ;;
9721 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9722 if ${ac_cv_lib_soname_X11:+false} :; then :
9723 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9727 rm -f core conftest.err conftest.
$ac_objext \
9728 conftest
$ac_exeext conftest.
$ac_ext
9729 LIBS
=$ac_check_soname_save_LIBS
9731 if ${ac_cv_lib_soname_X11:+false} :; then :
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9733 $as_echo "not found" >&6; }
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9737 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9739 cat >>confdefs.h
<<_ACEOF
9740 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9746 $as_echo_n "checking for -lXext... " >&6; }
9747 if ${ac_cv_lib_soname_Xext+:} false
; then :
9748 $as_echo_n "(cached) " >&6
9750 ac_check_soname_save_LIBS
=$LIBS
9751 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9753 /* end confdefs.h. */
9755 /* Override any GCC internal prototype to avoid an error.
9756 Use char because int might match the return type of a GCC
9757 builtin and then its argument prototype would still apply. */
9761 char XextCreateExtension ();
9765 return XextCreateExtension ();
9770 if ac_fn_c_try_link
"$LINENO"; then :
9772 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9773 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'` ;;
9774 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9775 if ${ac_cv_lib_soname_Xext:+false} :; then :
9776 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9780 rm -f core conftest.err conftest.
$ac_objext \
9781 conftest
$ac_exeext conftest.
$ac_ext
9782 LIBS
=$ac_check_soname_save_LIBS
9784 if ${ac_cv_lib_soname_Xext:+false} :; then :
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9786 $as_echo "not found" >&6; }
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9790 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9792 cat >>confdefs.h
<<_ACEOF
9793 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9796 X_LIBS
="$X_LIBS -lXext"
9798 X_LIBS
="$X_LIBS -lX11"
9800 for ac_header
in X11
/Xlib.h \
9803 X11
/Xcursor
/Xcursor.h \
9804 X11
/extensions
/shape.h \
9805 X11
/extensions
/XInput.h \
9806 X11
/extensions
/XInput2.h \
9807 X11
/extensions
/XShm.h \
9808 X11
/extensions
/Xcomposite.h \
9809 X11
/extensions
/Xinerama.h \
9810 X11
/extensions
/Xrandr.h \
9811 X11
/extensions
/Xrender.h \
9812 X11
/extensions
/xf86vmode.h \
9813 X11
/extensions
/xf86vmproto.h
9815 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9816 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9817 # include <X11/Xlib.h>
9819 #ifdef HAVE_X11_XUTIL_H
9820 # include <X11/Xutil.h>
9823 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9824 cat >>confdefs.h
<<_ACEOF
9825 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9833 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9836 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9837 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9838 $as_echo_n "(cached) " >&6
9840 ac_check_lib_save_LIBS
=$LIBS
9841 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9843 /* end confdefs.h. */
9845 /* Override any GCC internal prototype to avoid an error.
9846 Use char because int might match the return type of a GCC
9847 builtin and then its argument prototype would still apply. */
9851 char XkbQueryExtension ();
9855 return XkbQueryExtension ();
9860 if ac_fn_c_try_link
"$LINENO"; then :
9861 ac_cv_lib_X11_XkbQueryExtension
=yes
9863 ac_cv_lib_X11_XkbQueryExtension
=no
9865 rm -f core conftest.err conftest.
$ac_objext \
9866 conftest
$ac_exeext conftest.
$ac_ext
9867 LIBS
=$ac_check_lib_save_LIBS
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9870 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9871 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9873 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9879 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9882 $as_echo_n "checking for -lXcursor... " >&6; }
9883 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9884 $as_echo_n "(cached) " >&6
9886 ac_check_soname_save_LIBS
=$LIBS
9887 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9889 /* end confdefs.h. */
9891 /* Override any GCC internal prototype to avoid an error.
9892 Use char because int might match the return type of a GCC
9893 builtin and then its argument prototype would still apply. */
9897 char XcursorImageLoadCursor ();
9901 return XcursorImageLoadCursor ();
9906 if ac_fn_c_try_link
"$LINENO"; then :
9908 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9909 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'` ;;
9910 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9911 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9912 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9916 rm -f core conftest.err conftest.
$ac_objext \
9917 conftest
$ac_exeext conftest.
$ac_ext
9918 LIBS
=$ac_check_soname_save_LIBS
9920 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9922 $as_echo "not found" >&6; }
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9926 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9928 cat >>confdefs.h
<<_ACEOF
9929 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9935 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9936 case "x$with_xcursor" in
9937 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9939 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9940 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9945 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9948 $as_echo_n "checking for -lXi... " >&6; }
9949 if ${ac_cv_lib_soname_Xi+:} false
; then :
9950 $as_echo_n "(cached) " >&6
9952 ac_check_soname_save_LIBS
=$LIBS
9953 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9955 /* end confdefs.h. */
9957 /* Override any GCC internal prototype to avoid an error.
9958 Use char because int might match the return type of a GCC
9959 builtin and then its argument prototype would still apply. */
9963 char XOpenDevice ();
9967 return XOpenDevice ();
9972 if ac_fn_c_try_link
"$LINENO"; then :
9974 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9975 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'` ;;
9976 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9977 if ${ac_cv_lib_soname_Xi:+false} :; then :
9978 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9982 rm -f core conftest.err conftest.
$ac_objext \
9983 conftest
$ac_exeext conftest.
$ac_ext
9984 LIBS
=$ac_check_soname_save_LIBS
9986 if ${ac_cv_lib_soname_Xi:+false} :; then :
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9988 $as_echo "not found" >&6; }
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9992 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9994 cat >>confdefs.h
<<_ACEOF
9995 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10001 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10002 case "x$with_xinput" in
10003 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10005 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10006 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10011 if test "x$ac_cv_lib_soname_Xi" != x
10013 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10014 case "x$with_xinput2" in
10015 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10017 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
10018 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10024 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10027 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10028 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
10029 $as_echo_n "(cached) " >&6
10031 ac_check_lib_save_LIBS
=$LIBS
10032 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10034 /* end confdefs.h. */
10036 /* Override any GCC internal prototype to avoid an error.
10037 Use char because int might match the return type of a GCC
10038 builtin and then its argument prototype would still apply. */
10042 char XShmQueryExtension ();
10046 return XShmQueryExtension ();
10051 if ac_fn_c_try_link
"$LINENO"; then :
10052 ac_cv_lib_Xext_XShmQueryExtension
=yes
10054 ac_cv_lib_Xext_XShmQueryExtension
=no
10056 rm -f core conftest.err conftest.
$ac_objext \
10057 conftest
$ac_exeext conftest.
$ac_ext
10058 LIBS
=$ac_check_lib_save_LIBS
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10061 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10062 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10064 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10069 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10070 case "x$with_xshm" in
10071 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10073 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10074 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10079 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10082 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10083 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10084 $as_echo_n "(cached) " >&6
10086 ac_check_lib_save_LIBS
=$LIBS
10087 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10089 /* end confdefs.h. */
10091 /* Override any GCC internal prototype to avoid an error.
10092 Use char because int might match the return type of a GCC
10093 builtin and then its argument prototype would still apply. */
10097 char XShapeQueryExtension ();
10101 return XShapeQueryExtension ();
10106 if ac_fn_c_try_link
"$LINENO"; then :
10107 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10109 ac_cv_lib_Xext_XShapeQueryExtension
=no
10111 rm -f core conftest.err conftest.
$ac_objext \
10112 conftest
$ac_exeext conftest.
$ac_ext
10113 LIBS
=$ac_check_lib_save_LIBS
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10116 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10117 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10119 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10124 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10125 case "x$with_xshape" in
10126 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10128 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10129 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10134 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10137 $as_echo_n "checking for -lXxf86vm... " >&6; }
10138 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10139 $as_echo_n "(cached) " >&6
10141 ac_check_soname_save_LIBS
=$LIBS
10142 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10144 /* end confdefs.h. */
10146 /* Override any GCC internal prototype to avoid an error.
10147 Use char because int might match the return type of a GCC
10148 builtin and then its argument prototype would still apply. */
10152 char XF86VidModeQueryExtension ();
10156 return XF86VidModeQueryExtension ();
10161 if ac_fn_c_try_link
"$LINENO"; then :
10163 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10164 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'` ;;
10165 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10166 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10167 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10171 rm -f core conftest.err conftest.
$ac_objext \
10172 conftest
$ac_exeext conftest.
$ac_ext
10173 LIBS
=$ac_check_soname_save_LIBS
10175 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10177 $as_echo "not found" >&6; }
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10181 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10183 cat >>confdefs.h
<<_ACEOF
10184 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10190 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10191 case "x$with_xxf86vm" in
10192 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10194 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10195 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10200 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10203 $as_echo_n "checking for -lXrender... " >&6; }
10204 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10205 $as_echo_n "(cached) " >&6
10207 ac_check_soname_save_LIBS
=$LIBS
10208 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h. */
10212 /* Override any GCC internal prototype to avoid an error.
10213 Use char because int might match the return type of a GCC
10214 builtin and then its argument prototype would still apply. */
10218 char XRenderQueryExtension ();
10222 return XRenderQueryExtension ();
10227 if ac_fn_c_try_link
"$LINENO"; then :
10229 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10230 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'` ;;
10231 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10232 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10233 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10237 rm -f core conftest.err conftest.
$ac_objext \
10238 conftest
$ac_exeext conftest.
$ac_ext
10239 LIBS
=$ac_check_soname_save_LIBS
10241 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10243 $as_echo "not found" >&6; }
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10247 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10249 cat >>confdefs.h
<<_ACEOF
10250 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10254 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10255 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10256 $as_echo_n "(cached) " >&6
10258 ac_check_lib_save_LIBS
=$LIBS
10259 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10261 /* end confdefs.h. */
10263 /* Override any GCC internal prototype to avoid an error.
10264 Use char because int might match the return type of a GCC
10265 builtin and then its argument prototype would still apply. */
10269 char XRenderSetPictureTransform ();
10273 return XRenderSetPictureTransform ();
10278 if ac_fn_c_try_link
"$LINENO"; then :
10279 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10281 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10283 rm -f core conftest.err conftest.
$ac_objext \
10284 conftest
$ac_exeext conftest.
$ac_ext
10285 LIBS
=$ac_check_lib_save_LIBS
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10288 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10289 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10291 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10296 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10297 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10298 $as_echo_n "(cached) " >&6
10300 ac_check_lib_save_LIBS
=$LIBS
10301 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10303 /* end confdefs.h. */
10305 /* Override any GCC internal prototype to avoid an error.
10306 Use char because int might match the return type of a GCC
10307 builtin and then its argument prototype would still apply. */
10311 char XRenderCreateLinearGradient ();
10315 return XRenderCreateLinearGradient ();
10320 if ac_fn_c_try_link
"$LINENO"; then :
10321 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10323 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10325 rm -f core conftest.err conftest.
$ac_objext \
10326 conftest
$ac_exeext conftest.
$ac_ext
10327 LIBS
=$ac_check_lib_save_LIBS
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10330 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10331 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10333 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10340 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10341 case "x$with_xrender" in
10342 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10344 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10345 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10350 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10353 /* end confdefs.h. */
10354 #include <X11/Xlib.h>
10355 #include <X11/extensions/Xrandr.h>
10359 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10364 if ac_fn_c_try_compile
"$LINENO"; then :
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10366 $as_echo_n "checking for -lXrandr... " >&6; }
10367 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10368 $as_echo_n "(cached) " >&6
10370 ac_check_soname_save_LIBS
=$LIBS
10371 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10373 /* end confdefs.h. */
10375 /* Override any GCC internal prototype to avoid an error.
10376 Use char because int might match the return type of a GCC
10377 builtin and then its argument prototype would still apply. */
10381 char XRRQueryExtension ();
10385 return XRRQueryExtension ();
10390 if ac_fn_c_try_link
"$LINENO"; then :
10392 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10393 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'` ;;
10394 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10395 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10396 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10400 rm -f core conftest.err conftest.
$ac_objext \
10401 conftest
$ac_exeext conftest.
$ac_ext
10402 LIBS
=$ac_check_soname_save_LIBS
10404 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10406 $as_echo "not found" >&6; }
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10410 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10412 cat >>confdefs.h
<<_ACEOF
10413 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10417 /* end confdefs.h. */
10418 #include <X11/Xlib.h>
10419 #include <X11/extensions/Xrandr.h>
10423 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10428 if ac_fn_c_try_compile
"$LINENO"; then :
10430 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10436 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10438 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10439 case "x$with_xrandr" in
10440 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10442 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10443 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10448 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10451 /* end confdefs.h. */
10452 #include <X11/Xlib.h>
10453 #include <X11/extensions/Xinerama.h>
10457 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10462 if ac_fn_c_try_compile
"$LINENO"; then :
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10464 $as_echo_n "checking for -lXinerama... " >&6; }
10465 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10466 $as_echo_n "(cached) " >&6
10468 ac_check_soname_save_LIBS
=$LIBS
10469 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10471 /* end confdefs.h. */
10473 /* Override any GCC internal prototype to avoid an error.
10474 Use char because int might match the return type of a GCC
10475 builtin and then its argument prototype would still apply. */
10479 char XineramaQueryScreens ();
10483 return XineramaQueryScreens ();
10488 if ac_fn_c_try_link
"$LINENO"; then :
10490 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10491 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'` ;;
10492 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10493 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10494 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10498 rm -f core conftest.err conftest.
$ac_objext \
10499 conftest
$ac_exeext conftest.
$ac_ext
10500 LIBS
=$ac_check_soname_save_LIBS
10502 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10504 $as_echo "not found" >&6; }
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10508 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10510 cat >>confdefs.h
<<_ACEOF
10511 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10519 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10520 case "x$with_xinerama" in
10521 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10523 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10524 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10529 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10532 $as_echo_n "checking for -lXcomposite... " >&6; }
10533 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10534 $as_echo_n "(cached) " >&6
10536 ac_check_soname_save_LIBS
=$LIBS
10537 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10541 /* Override any GCC internal prototype to avoid an error.
10542 Use char because int might match the return type of a GCC
10543 builtin and then its argument prototype would still apply. */
10547 char XCompositeRedirectWindow ();
10551 return XCompositeRedirectWindow ();
10556 if ac_fn_c_try_link
"$LINENO"; then :
10558 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10559 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'` ;;
10560 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10561 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10562 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10566 rm -f core conftest.err conftest.
$ac_objext \
10567 conftest
$ac_exeext conftest.
$ac_ext
10568 LIBS
=$ac_check_soname_save_LIBS
10570 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10572 $as_echo "not found" >&6; }
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10576 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10578 cat >>confdefs.h
<<_ACEOF
10579 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10585 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10586 case "x$with_xcomposite" in
10587 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10589 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10590 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10595 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10596 #include <X11/Xlib.h>
10599 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10601 cat >>confdefs.h
<<_ACEOF
10602 #define HAVE_XICCALLBACK_CALLBACK 1
10607 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10608 #include <X11/Xlib.h>
10611 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10613 cat >>confdefs.h
<<_ACEOF
10614 #define HAVE_XEVENT_XCOOKIE 1
10623 if test "x$with_opengl" != "xno"
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10626 $as_echo_n "checking for -lGL... " >&6; }
10627 if ${ac_cv_lib_soname_GL+:} false
; then :
10628 $as_echo_n "(cached) " >&6
10630 ac_check_soname_save_LIBS
=$LIBS
10631 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10633 /* end confdefs.h. */
10635 /* Override any GCC internal prototype to avoid an error.
10636 Use char because int might match the return type of a GCC
10637 builtin and then its argument prototype would still apply. */
10641 char glXCreateContext ();
10645 return glXCreateContext ();
10650 if ac_fn_c_try_link
"$LINENO"; then :
10652 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10653 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'` ;;
10654 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10655 if ${ac_cv_lib_soname_GL:+false} :; then :
10656 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10660 rm -f core conftest.err conftest.
$ac_objext \
10661 conftest
$ac_exeext conftest.
$ac_ext
10662 LIBS
=$ac_check_soname_save_LIBS
10664 if ${ac_cv_lib_soname_GL:+false} :; then :
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10666 $as_echo "not found" >&6; }
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10668 $as_echo_n "checking for -lGL... " >&6; }
10669 if ${ac_cv_lib_soname_GL+:} false
; then :
10670 $as_echo_n "(cached) " >&6
10672 ac_check_soname_save_LIBS
=$LIBS
10673 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"
10674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10675 /* end confdefs.h. */
10677 /* Override any GCC internal prototype to avoid an error.
10678 Use char because int might match the return type of a GCC
10679 builtin and then its argument prototype would still apply. */
10683 char glXCreateContext ();
10687 return glXCreateContext ();
10692 if ac_fn_c_try_link
"$LINENO"; then :
10694 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10695 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'` ;;
10696 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10697 if ${ac_cv_lib_soname_GL:+false} :; then :
10698 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10702 rm -f core conftest.err conftest.
$ac_objext \
10703 conftest
$ac_exeext conftest.
$ac_ext
10704 LIBS
=$ac_check_soname_save_LIBS
10706 if ${ac_cv_lib_soname_GL:+false} :; then :
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10708 $as_echo "not found" >&6; }
10709 if test -f /usr
/X11R
6/lib
/libGL.a
10711 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10712 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10714 opengl_msg
="No OpenGL library found on this system."
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10718 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10720 cat >>confdefs.h
<<_ACEOF
10721 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10724 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"
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10728 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10730 cat >>confdefs.h
<<_ACEOF
10731 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10736 if test "x$with_glu" != "xno"
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10739 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10740 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10741 $as_echo_n "(cached) " >&6
10743 ac_check_lib_save_LIBS
=$LIBS
10744 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10746 /* end confdefs.h. */
10748 /* Override any GCC internal prototype to avoid an error.
10749 Use char because int might match the return type of a GCC
10750 builtin and then its argument prototype would still apply. */
10758 return gluLookAt ();
10763 if ac_fn_c_try_link
"$LINENO"; then :
10764 ac_cv_lib_GLU_gluLookAt
=yes
10766 ac_cv_lib_GLU_gluLookAt
=no
10768 rm -f core conftest.err conftest.
$ac_objext \
10769 conftest
$ac_exeext conftest.
$ac_ext
10770 LIBS
=$ac_check_lib_save_LIBS
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10773 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10774 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10778 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10779 case "x$with_glu" in
10780 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10782 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10783 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10789 if test "x$with_osmesa" != "xno"
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10792 $as_echo_n "checking for -lOSMesa... " >&6; }
10793 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10794 $as_echo_n "(cached) " >&6
10796 ac_check_soname_save_LIBS
=$LIBS
10797 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10799 /* end confdefs.h. */
10801 /* Override any GCC internal prototype to avoid an error.
10802 Use char because int might match the return type of a GCC
10803 builtin and then its argument prototype would still apply. */
10816 if ac_fn_c_try_link
"$LINENO"; then :
10818 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10819 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'` ;;
10820 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10821 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10822 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10826 rm -f core conftest.err conftest.
$ac_objext \
10827 conftest
$ac_exeext conftest.
$ac_ext
10828 LIBS
=$ac_check_soname_save_LIBS
10830 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10832 $as_echo "not found" >&6; }
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10836 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10838 cat >>confdefs.h
<<_ACEOF
10839 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10844 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10845 case "x$with_osmesa" in
10846 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10848 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10849 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10855 if test -n "$opengl_msg"; then :
10856 case "x$with_opengl" in
10857 x
) as_fn_append wine_warnings
"|$opengl_msg
10858 OpenGL and Direct3D won't be supported." ;;
10860 *) as_fn_error $?
"$opengl_msg
10861 OpenGL and Direct3D won't be supported.
10862 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10867 CPPFLAGS
="$ac_save_CPPFLAGS"
10872 if test "x$X_LIBS" = "x"; then :
10875 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10876 without X support, which probably isn't what you want. You will need
10877 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10878 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10880 enable_winex11_drv
=${enable_winex11_drv:-no}
10883 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10885 if test "$ac_cv_header_CL_cl_h" = "yes"
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10888 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10889 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10890 $as_echo_n "(cached) " >&6
10892 ac_check_lib_save_LIBS
=$LIBS
10893 LIBS
="-lOpenCL $LIBS"
10894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10895 /* end confdefs.h. */
10897 /* Override any GCC internal prototype to avoid an error.
10898 Use char because int might match the return type of a GCC
10899 builtin and then its argument prototype would still apply. */
10903 char clGetPlatformInfo ();
10907 return clGetPlatformInfo ();
10912 if ac_fn_c_try_link
"$LINENO"; then :
10913 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10915 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10917 rm -f core conftest.err conftest.
$ac_objext \
10918 conftest
$ac_exeext conftest.
$ac_ext
10919 LIBS
=$ac_check_lib_save_LIBS
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10922 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10923 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10924 OPENCL_LIBS
="-lOpenCL"
10929 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10930 case "x$with_opencl" in
10931 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10933 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10934 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10936 enable_opencl
=${enable_opencl:-no}
10939 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10942 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10943 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10944 $as_echo_n "(cached) " >&6
10946 ac_check_lib_save_LIBS
=$LIBS
10947 LIBS
="-lpcap $LIBS"
10948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10949 /* end confdefs.h. */
10951 /* Override any GCC internal prototype to avoid an error.
10952 Use char because int might match the return type of a GCC
10953 builtin and then its argument prototype would still apply. */
10957 char pcap_create ();
10961 return pcap_create ();
10966 if ac_fn_c_try_link
"$LINENO"; then :
10967 ac_cv_lib_pcap_pcap_create
=yes
10969 ac_cv_lib_pcap_pcap_create
=no
10971 rm -f core conftest.err conftest.
$ac_objext \
10972 conftest
$ac_exeext conftest.
$ac_ext
10973 LIBS
=$ac_check_lib_save_LIBS
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10976 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10977 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10983 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10984 case "x$with_pcap" in
10985 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10987 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10988 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10990 enable_wpcap
=${enable_wpcap:-no}
10994 if test "x$with_xml" != "xno"
10996 if ${XML2_CFLAGS:+false} :; then :
10997 if ${PKG_CONFIG+:} false
; then :
10998 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11001 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11002 if ${XML2_LIBS:+false} :; then :
11003 if ${PKG_CONFIG+:} false
; then :
11004 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11007 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11008 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
11009 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11010 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11011 ac_save_CPPFLAGS
=$CPPFLAGS
11012 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
11013 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
11015 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11016 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11017 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11018 cat >>confdefs.h
<<_ACEOF
11019 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11026 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"
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11029 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11030 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
11031 $as_echo_n "(cached) " >&6
11033 ac_check_lib_save_LIBS
=$LIBS
11034 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11036 /* end confdefs.h. */
11038 /* Override any GCC internal prototype to avoid an error.
11039 Use char because int might match the return type of a GCC
11040 builtin and then its argument prototype would still apply. */
11044 char xmlParseMemory ();
11048 return xmlParseMemory ();
11053 if ac_fn_c_try_link
"$LINENO"; then :
11054 ac_cv_lib_xml2_xmlParseMemory
=yes
11056 ac_cv_lib_xml2_xmlParseMemory
=no
11058 rm -f core conftest.err conftest.
$ac_objext \
11059 conftest
$ac_exeext conftest.
$ac_ext
11060 LIBS
=$ac_check_lib_save_LIBS
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11063 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11064 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11066 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11073 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11074 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11075 $as_echo_n "(cached) " >&6
11077 ac_check_lib_save_LIBS
=$LIBS
11078 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11080 /* end confdefs.h. */
11082 /* Override any GCC internal prototype to avoid an error.
11083 Use char because int might match the return type of a GCC
11084 builtin and then its argument prototype would still apply. */
11088 char xmlReadMemory ();
11092 return xmlReadMemory ();
11097 if ac_fn_c_try_link
"$LINENO"; then :
11098 ac_cv_lib_xml2_xmlReadMemory
=yes
11100 ac_cv_lib_xml2_xmlReadMemory
=no
11102 rm -f core conftest.err conftest.
$ac_objext \
11103 conftest
$ac_exeext conftest.
$ac_ext
11104 LIBS
=$ac_check_lib_save_LIBS
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11107 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11108 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11110 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11115 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11116 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11117 $as_echo_n "(cached) " >&6
11119 ac_check_lib_save_LIBS
=$LIBS
11120 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11122 /* end confdefs.h. */
11124 /* Override any GCC internal prototype to avoid an error.
11125 Use char because int might match the return type of a GCC
11126 builtin and then its argument prototype would still apply. */
11130 char xmlNewDocPI ();
11134 return xmlNewDocPI ();
11139 if ac_fn_c_try_link
"$LINENO"; then :
11140 ac_cv_lib_xml2_xmlNewDocPI
=yes
11142 ac_cv_lib_xml2_xmlNewDocPI
=no
11144 rm -f core conftest.err conftest.
$ac_objext \
11145 conftest
$ac_exeext conftest.
$ac_ext
11146 LIBS
=$ac_check_lib_save_LIBS
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11149 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11150 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11152 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11157 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11158 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11159 $as_echo_n "(cached) " >&6
11161 ac_check_lib_save_LIBS
=$LIBS
11162 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11166 /* Override any GCC internal prototype to avoid an error.
11167 Use char because int might match the return type of a GCC
11168 builtin and then its argument prototype would still apply. */
11172 char xmlSchemaSetParserStructuredErrors ();
11176 return xmlSchemaSetParserStructuredErrors ();
11181 if ac_fn_c_try_link
"$LINENO"; then :
11182 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11184 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11186 rm -f core conftest.err conftest.
$ac_objext \
11187 conftest
$ac_exeext conftest.
$ac_ext
11188 LIBS
=$ac_check_lib_save_LIBS
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11191 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11192 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11194 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11199 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11200 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11201 $as_echo_n "(cached) " >&6
11203 ac_check_lib_save_LIBS
=$LIBS
11204 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11206 /* end confdefs.h. */
11208 /* Override any GCC internal prototype to avoid an error.
11209 Use char because int might match the return type of a GCC
11210 builtin and then its argument prototype would still apply. */
11214 char xmlSchemaSetValidStructuredErrors ();
11218 return xmlSchemaSetValidStructuredErrors ();
11223 if ac_fn_c_try_link
"$LINENO"; then :
11224 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11226 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11228 rm -f core conftest.err conftest.
$ac_objext \
11229 conftest
$ac_exeext conftest.
$ac_ext
11230 LIBS
=$ac_check_lib_save_LIBS
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11233 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11234 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11236 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11241 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11242 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11243 $as_echo_n "(cached) " >&6
11245 ac_check_lib_save_LIBS
=$LIBS
11246 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11248 /* end confdefs.h. */
11250 /* Override any GCC internal prototype to avoid an error.
11251 Use char because int might match the return type of a GCC
11252 builtin and then its argument prototype would still apply. */
11256 char xmlFirstElementChild ();
11260 return xmlFirstElementChild ();
11265 if ac_fn_c_try_link
"$LINENO"; then :
11266 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11268 ac_cv_lib_xml2_xmlFirstElementChild
=no
11270 rm -f core conftest.err conftest.
$ac_objext \
11271 conftest
$ac_exeext conftest.
$ac_ext
11272 LIBS
=$ac_check_lib_save_LIBS
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11275 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11276 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11278 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11282 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11284 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11286 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11294 CPPFLAGS
=$ac_save_CPPFLAGS
11295 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11296 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11299 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11300 case "x$with_xml" in
11301 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11303 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11304 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11309 if test "x$with_xslt" != "xno"
11311 if ${XSLT_CFLAGS:+false} :; then :
11312 if ${PKG_CONFIG+:} false
; then :
11313 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11316 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11317 if ${XSLT_LIBS:+false} :; then :
11318 if ${PKG_CONFIG+:} false
; then :
11319 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11322 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11323 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11324 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11325 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11326 ac_save_CPPFLAGS
=$CPPFLAGS
11327 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11328 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11330 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11331 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11332 # include <libxslt/pattern.h>
11335 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11336 cat >>confdefs.h
<<_ACEOF
11337 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11344 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11347 $as_echo_n "checking for -lxslt... " >&6; }
11348 if ${ac_cv_lib_soname_xslt+:} false
; then :
11349 $as_echo_n "(cached) " >&6
11351 ac_check_soname_save_LIBS
=$LIBS
11352 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h. */
11356 /* Override any GCC internal prototype to avoid an error.
11357 Use char because int might match the return type of a GCC
11358 builtin and then its argument prototype would still apply. */
11362 char xsltCompilePattern ();
11366 return xsltCompilePattern ();
11371 if ac_fn_c_try_link
"$LINENO"; then :
11373 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11374 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'` ;;
11375 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11376 if ${ac_cv_lib_soname_xslt:+false} :; then :
11377 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11381 rm -f core conftest.err conftest.
$ac_objext \
11382 conftest
$ac_exeext conftest.
$ac_ext
11383 LIBS
=$ac_check_soname_save_LIBS
11385 if ${ac_cv_lib_soname_xslt:+false} :; then :
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11387 $as_echo "not found" >&6; }
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11391 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11393 cat >>confdefs.h
<<_ACEOF
11394 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11402 CPPFLAGS
=$ac_save_CPPFLAGS
11403 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11404 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11407 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11408 case "x$with_xslt" in
11409 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11411 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11412 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11417 if test "x$with_dbus" != "xno"
11419 if ${DBUS_CFLAGS:+false} :; then :
11420 if ${PKG_CONFIG+:} false
; then :
11421 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11425 if ${DBUS_LIBS:+false} :; then :
11426 if ${PKG_CONFIG+:} false
; then :
11427 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11432 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11433 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11434 ac_save_CPPFLAGS
=$CPPFLAGS
11435 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11436 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11437 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11439 $as_echo_n "checking for -ldbus-1... " >&6; }
11440 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11441 $as_echo_n "(cached) " >&6
11443 ac_check_soname_save_LIBS
=$LIBS
11444 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11446 /* end confdefs.h. */
11448 /* Override any GCC internal prototype to avoid an error.
11449 Use char because int might match the return type of a GCC
11450 builtin and then its argument prototype would still apply. */
11454 char dbus_connection_close ();
11458 return dbus_connection_close ();
11463 if ac_fn_c_try_link
"$LINENO"; then :
11465 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11466 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'` ;;
11467 *) 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'`
11468 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11469 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11473 rm -f core conftest.err conftest.
$ac_objext \
11474 conftest
$ac_exeext conftest.
$ac_ext
11475 LIBS
=$ac_check_soname_save_LIBS
11477 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11479 $as_echo "not found" >&6; }
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11483 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11485 cat >>confdefs.h
<<_ACEOF
11486 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11496 CPPFLAGS
=$ac_save_CPPFLAGS
11497 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11498 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11501 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11502 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11503 case "x$with_dbus" in
11504 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11506 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11507 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11512 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11514 if ${HAL_CFLAGS:+false} :; then :
11515 if ${PKG_CONFIG+:} false
; then :
11516 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11520 if ${HAL_LIBS:+false} :; then :
11521 if ${PKG_CONFIG+:} false
; then :
11522 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11526 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11527 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11528 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11529 ac_save_CPPFLAGS
=$CPPFLAGS
11530 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11531 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11532 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11534 $as_echo_n "checking for -lhal... " >&6; }
11535 if ${ac_cv_lib_soname_hal+:} false
; then :
11536 $as_echo_n "(cached) " >&6
11538 ac_check_soname_save_LIBS
=$LIBS
11539 LIBS
="-lhal $HAL_LIBS $LIBS"
11540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11543 /* Override any GCC internal prototype to avoid an error.
11544 Use char because int might match the return type of a GCC
11545 builtin and then its argument prototype would still apply. */
11549 char libhal_ctx_new ();
11553 return libhal_ctx_new ();
11558 if ac_fn_c_try_link
"$LINENO"; then :
11560 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11561 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'` ;;
11562 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11563 if ${ac_cv_lib_soname_hal:+false} :; then :
11564 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11568 rm -f core conftest.err conftest.
$ac_objext \
11569 conftest
$ac_exeext conftest.
$ac_ext
11570 LIBS
=$ac_check_soname_save_LIBS
11572 if ${ac_cv_lib_soname_hal:+false} :; then :
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11574 $as_echo "not found" >&6; }
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11578 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11580 cat >>confdefs.h
<<_ACEOF
11581 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11591 CPPFLAGS
=$ac_save_CPPFLAGS
11592 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11593 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11595 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11596 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11597 case "x$with_hal" in
11598 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11600 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11601 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11607 if test "x$with_gnutls" != "xno"
11609 if ${GNUTLS_CFLAGS:+false} :; then :
11610 if ${PKG_CONFIG+:} false
; then :
11611 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11615 if ${GNUTLS_LIBS:+false} :; then :
11616 if ${PKG_CONFIG+:} false
; then :
11617 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11622 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11623 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11624 ac_save_CPPFLAGS
=$CPPFLAGS
11625 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11626 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11627 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11629 /* end confdefs.h. */
11630 #include <gnutls/gnutls.h>
11631 #include <gnutls/crypto.h>
11635 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11640 if ac_fn_c_try_compile
"$LINENO"; then :
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11642 $as_echo_n "checking for -lgnutls... " >&6; }
11643 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11644 $as_echo_n "(cached) " >&6
11646 ac_check_soname_save_LIBS
=$LIBS
11647 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11649 /* end confdefs.h. */
11651 /* Override any GCC internal prototype to avoid an error.
11652 Use char because int might match the return type of a GCC
11653 builtin and then its argument prototype would still apply. */
11657 char gnutls_global_init ();
11661 return gnutls_global_init ();
11666 if ac_fn_c_try_link
"$LINENO"; then :
11668 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11669 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'` ;;
11670 *) 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'`
11671 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11672 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'`
11676 rm -f core conftest.err conftest.
$ac_objext \
11677 conftest
$ac_exeext conftest.
$ac_ext
11678 LIBS
=$ac_check_soname_save_LIBS
11680 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11682 $as_echo "not found" >&6; }
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11686 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11688 cat >>confdefs.h
<<_ACEOF
11689 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11694 ac_wine_check_funcs_save_LIBS
="$LIBS"
11695 LIBS
="$LIBS $GNUTLS_LIBS"
11696 for ac_func
in gnutls_hash
11698 ac_fn_c_check_func
"$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11699 if test "x$ac_cv_func_gnutls_hash" = xyes
; then :
11700 cat >>confdefs.h
<<_ACEOF
11701 #define HAVE_GNUTLS_HASH 1
11705 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11709 LIBS
="$ac_wine_check_funcs_save_LIBS"
11711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11717 CPPFLAGS
=$ac_save_CPPFLAGS
11718 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11719 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11722 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11723 case "x$with_gnutls" in
11724 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11726 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11727 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11733 if test "$ac_cv_header_ncurses_h" = "yes"
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11736 $as_echo_n "checking for -lncurses... " >&6; }
11737 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11738 $as_echo_n "(cached) " >&6
11740 ac_check_soname_save_LIBS
=$LIBS
11741 LIBS
="-lncurses $LIBS"
11742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11743 /* end confdefs.h. */
11745 /* Override any GCC internal prototype to avoid an error.
11746 Use char because int might match the return type of a GCC
11747 builtin and then its argument prototype would still apply. */
11760 if ac_fn_c_try_link
"$LINENO"; then :
11762 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11763 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'` ;;
11764 *) 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'`
11765 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11766 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11770 rm -f core conftest.err conftest.
$ac_objext \
11771 conftest
$ac_exeext conftest.
$ac_ext
11772 LIBS
=$ac_check_soname_save_LIBS
11774 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11776 $as_echo "not found" >&6; }
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11780 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11782 cat >>confdefs.h
<<_ACEOF
11783 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11786 CURSES_LIBS
="-lncurses"
11788 elif test "$ac_cv_header_curses_h" = "yes"
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11791 $as_echo_n "checking for -lcurses... " >&6; }
11792 if ${ac_cv_lib_soname_curses+:} false
; then :
11793 $as_echo_n "(cached) " >&6
11795 ac_check_soname_save_LIBS
=$LIBS
11796 LIBS
="-lcurses $LIBS"
11797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11798 /* end confdefs.h. */
11800 /* Override any GCC internal prototype to avoid an error.
11801 Use char because int might match the return type of a GCC
11802 builtin and then its argument prototype would still apply. */
11815 if ac_fn_c_try_link
"$LINENO"; then :
11817 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11818 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'` ;;
11819 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11820 if ${ac_cv_lib_soname_curses:+false} :; then :
11821 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11825 rm -f core conftest.err conftest.
$ac_objext \
11826 conftest
$ac_exeext conftest.
$ac_ext
11827 LIBS
=$ac_check_soname_save_LIBS
11829 if ${ac_cv_lib_soname_curses:+false} :; then :
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11831 $as_echo "not found" >&6; }
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11835 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11837 cat >>confdefs.h
<<_ACEOF
11838 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11841 CURSES_LIBS
="-lcurses"
11844 ac_save_LIBS
="$LIBS"
11845 LIBS
="$LIBS $CURSES_LIBS"
11846 for ac_func
in mousemask
11848 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11849 if test "x$ac_cv_func_mousemask" = xyes
; then :
11850 cat >>confdefs.h
<<_ACEOF
11851 #define HAVE_MOUSEMASK 1
11857 LIBS
="$ac_save_LIBS"
11858 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11859 case "x$with_curses" in
11860 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11862 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11863 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11868 if test "x$with_sane" != "xno"
11870 if ${SANE_CFLAGS:+false} :; then :
11871 if ${PKG_CONFIG+:} false
; then :
11872 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11875 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11876 if ${SANE_LIBS:+false} :; then :
11877 if ${PKG_CONFIG+:} false
; then :
11878 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11881 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11883 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11884 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11885 ac_save_CPPFLAGS
=$CPPFLAGS
11886 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11887 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11888 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11890 $as_echo_n "checking for -lsane... " >&6; }
11891 if ${ac_cv_lib_soname_sane+:} false
; then :
11892 $as_echo_n "(cached) " >&6
11894 ac_check_soname_save_LIBS
=$LIBS
11895 LIBS
="-lsane $SANE_LIBS $LIBS"
11896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11897 /* end confdefs.h. */
11899 /* Override any GCC internal prototype to avoid an error.
11900 Use char because int might match the return type of a GCC
11901 builtin and then its argument prototype would still apply. */
11909 return sane_init ();
11914 if ac_fn_c_try_link
"$LINENO"; then :
11916 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11917 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'` ;;
11918 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11919 if ${ac_cv_lib_soname_sane:+false} :; then :
11920 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11924 rm -f core conftest.err conftest.
$ac_objext \
11925 conftest
$ac_exeext conftest.
$ac_ext
11926 LIBS
=$ac_check_soname_save_LIBS
11928 if ${ac_cv_lib_soname_sane:+false} :; then :
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11930 $as_echo "not found" >&6; }
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11934 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11936 cat >>confdefs.h
<<_ACEOF
11937 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11947 CPPFLAGS
=$ac_save_CPPFLAGS
11948 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11949 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11952 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11953 case "x$with_sane" in
11954 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11956 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11957 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11962 if test "x$with_v4l" != "xno"
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11965 $as_echo_n "checking for -lv4l1... " >&6; }
11966 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11967 $as_echo_n "(cached) " >&6
11969 ac_check_soname_save_LIBS
=$LIBS
11970 LIBS
="-lv4l1 $LIBS"
11971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11972 /* end confdefs.h. */
11974 /* Override any GCC internal prototype to avoid an error.
11975 Use char because int might match the return type of a GCC
11976 builtin and then its argument prototype would still apply. */
11984 return v4l1_open ();
11989 if ac_fn_c_try_link
"$LINENO"; then :
11991 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11992 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'` ;;
11993 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11994 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11995 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11999 rm -f core conftest.err conftest.
$ac_objext \
12000 conftest
$ac_exeext conftest.
$ac_ext
12001 LIBS
=$ac_check_soname_save_LIBS
12003 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12005 $as_echo "not found" >&6; }
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12009 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12011 cat >>confdefs.h
<<_ACEOF
12012 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12018 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12019 case "x$with_v4l" in
12020 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
12022 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
12023 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12028 if test "x$with_gphoto" != "xno"
12030 if ${GPHOTO2_CFLAGS:+false} :; then :
12031 if ${PKG_CONFIG+:} false
; then :
12032 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12035 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12036 if ${GPHOTO2_LIBS:+false} :; then :
12037 if ${PKG_CONFIG+:} false
; then :
12038 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12041 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12042 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
12043 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12044 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12045 ac_save_CPPFLAGS
=$CPPFLAGS
12046 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
12047 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12048 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12050 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12051 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
12052 $as_echo_n "(cached) " >&6
12054 ac_check_lib_save_LIBS
=$LIBS
12055 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12057 /* end confdefs.h. */
12059 /* Override any GCC internal prototype to avoid an error.
12060 Use char because int might match the return type of a GCC
12061 builtin and then its argument prototype would still apply. */
12065 char gp_camera_new ();
12069 return gp_camera_new ();
12074 if ac_fn_c_try_link
"$LINENO"; then :
12075 ac_cv_lib_gphoto2_gp_camera_new
=yes
12077 ac_cv_lib_gphoto2_gp_camera_new
=no
12079 rm -f core conftest.err conftest.
$ac_objext \
12080 conftest
$ac_exeext conftest.
$ac_ext
12081 LIBS
=$ac_check_lib_save_LIBS
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12084 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12085 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12087 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12090 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12094 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12098 CPPFLAGS
=$ac_save_CPPFLAGS
12099 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12100 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12102 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12103 if ${PKG_CONFIG+:} false
; then :
12104 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12107 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12108 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12109 if ${PKG_CONFIG+:} false
; then :
12110 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12113 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12114 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12115 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12116 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12117 ac_save_CPPFLAGS
=$CPPFLAGS
12118 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12119 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12120 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12122 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12123 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12124 $as_echo_n "(cached) " >&6
12126 ac_check_lib_save_LIBS
=$LIBS
12127 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12129 /* end confdefs.h. */
12131 /* Override any GCC internal prototype to avoid an error.
12132 Use char because int might match the return type of a GCC
12133 builtin and then its argument prototype would still apply. */
12137 char gp_port_info_list_new ();
12141 return gp_port_info_list_new ();
12146 if ac_fn_c_try_link
"$LINENO"; then :
12147 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12149 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12151 rm -f core conftest.err conftest.
$ac_objext \
12152 conftest
$ac_exeext conftest.
$ac_ext
12153 LIBS
=$ac_check_lib_save_LIBS
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12156 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12157 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12159 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12162 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12166 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12170 CPPFLAGS
=$ac_save_CPPFLAGS
12171 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12172 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12175 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12176 case "x$with_gphoto" in
12177 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12179 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12180 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12184 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12185 case "x$with_gphoto" in
12186 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12188 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12189 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12195 if test "$ac_cv_header_resolv_h" = "yes"
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12198 $as_echo_n "checking for resolver library... " >&6; }
12199 if ${ac_cv_have_resolv+:} false
; then :
12200 $as_echo_n "(cached) " >&6
12202 ac_save_LIBS
="$LIBS"
12203 for lib
in '' -lresolv
12205 LIBS
="$lib $ac_save_LIBS"
12206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12207 /* end confdefs.h. */
12208 #ifdef HAVE_NETINET_IN_H
12209 #include <netinet/in.h>
12211 #include <resolv.h>
12215 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12220 if ac_fn_c_try_link
"$LINENO"; then :
12221 ac_cv_have_resolv
=${lib:-"none required"}
12223 ac_cv_have_resolv
="not found"
12225 rm -f core conftest.err conftest.
$ac_objext \
12226 conftest
$ac_exeext conftest.
$ac_ext
12227 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12229 LIBS
="$ac_save_LIBS"
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12232 $as_echo "$ac_cv_have_resolv" >&6; }
12234 case "$ac_cv_have_resolv" in
12238 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12241 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12243 RESOLV_LIBS
=$ac_cv_have_resolv
12248 if test "x$with_cms" != "xno"
12250 if ${LCMS2_CFLAGS:+false} :; then :
12251 if ${PKG_CONFIG+:} false
; then :
12252 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12256 if ${LCMS2_LIBS:+false} :; then :
12257 if ${PKG_CONFIG+:} false
; then :
12258 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12262 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12263 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12264 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12265 ac_save_CPPFLAGS
=$CPPFLAGS
12266 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12267 for ac_header
in lcms2.h
12269 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12270 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12271 cat >>confdefs.h
<<_ACEOF
12272 #define HAVE_LCMS2_H 1
12279 if test "$ac_cv_header_lcms2_h" = "yes"
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12282 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12283 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12284 $as_echo_n "(cached) " >&6
12286 ac_check_lib_save_LIBS
=$LIBS
12287 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12289 /* end confdefs.h. */
12291 /* Override any GCC internal prototype to avoid an error.
12292 Use char because int might match the return type of a GCC
12293 builtin and then its argument prototype would still apply. */
12297 char cmsOpenProfileFromFile ();
12301 return cmsOpenProfileFromFile ();
12306 if ac_fn_c_try_link
"$LINENO"; then :
12307 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12309 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12311 rm -f core conftest.err conftest.
$ac_objext \
12312 conftest
$ac_exeext conftest.
$ac_ext
12313 LIBS
=$ac_check_lib_save_LIBS
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12316 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12317 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12319 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12329 CPPFLAGS
=$ac_save_CPPFLAGS
12330 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12331 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12334 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12335 case "x$with_cms" in
12336 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12338 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12339 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12344 if test "x$with_freetype" != "xno"
12346 if ${FREETYPE_CFLAGS:+false} :; then :
12347 if ${PKG_CONFIG+:} false
; then :
12348 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12351 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12352 if ${FREETYPE_LIBS:+false} :; then :
12353 if ${PKG_CONFIG+:} false
; then :
12354 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12357 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12358 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12359 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12360 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12361 ac_save_CPPFLAGS
=$CPPFLAGS
12362 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12363 for ac_header
in ft2build.h
12365 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12366 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12367 cat >>confdefs.h
<<_ACEOF
12368 #define HAVE_FT2BUILD_H 1
12375 if test "$ac_cv_header_ft2build_h" = "yes"
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12378 $as_echo_n "checking for -lfreetype... " >&6; }
12379 if ${ac_cv_lib_soname_freetype+:} false
; then :
12380 $as_echo_n "(cached) " >&6
12382 ac_check_soname_save_LIBS
=$LIBS
12383 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12385 /* end confdefs.h. */
12387 /* Override any GCC internal prototype to avoid an error.
12388 Use char because int might match the return type of a GCC
12389 builtin and then its argument prototype would still apply. */
12393 char FT_Init_FreeType ();
12397 return FT_Init_FreeType ();
12402 if ac_fn_c_try_link
"$LINENO"; then :
12404 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12405 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'` ;;
12406 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12407 if ${ac_cv_lib_soname_freetype:+false} :; then :
12408 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12412 rm -f core conftest.err conftest.
$ac_objext \
12413 conftest
$ac_exeext conftest.
$ac_ext
12414 LIBS
=$ac_check_soname_save_LIBS
12416 if ${ac_cv_lib_soname_freetype:+false} :; then :
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12418 $as_echo "not found" >&6; }
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12422 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12424 cat >>confdefs.h
<<_ACEOF
12425 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12429 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12431 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12432 #include FT_MODULE_H
12434 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12436 cat >>confdefs.h
<<_ACEOF
12437 #define HAVE_FT_TRUETYPEENGINETYPE 1
12448 CPPFLAGS
=$ac_save_CPPFLAGS
12449 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12450 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12453 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12454 case "x$with_freetype" in
12456 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12457 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12459 enable_fonts
=${enable_fonts:-no}
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12463 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12464 if ${ac_cv_c_ppdev+:} false
; then :
12465 $as_echo_n "(cached) " >&6
12467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12468 /* end confdefs.h. */
12469 #ifdef HAVE_SYS_IOCTL_H
12470 # include <sys/ioctl.h>
12472 #include <linux/ppdev.h>
12476 ioctl (1,PPCLAIM,0)
12481 if ac_fn_c_try_compile
"$LINENO"; then :
12482 ac_cv_c_ppdev
="yes"
12486 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12489 $as_echo "$ac_cv_c_ppdev" >&6; }
12490 if test "$ac_cv_c_ppdev" = "yes"
12493 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12497 ac_wine_check_funcs_save_LIBS
="$LIBS"
12498 LIBS
="$LIBS $PTHREAD_LIBS"
12500 pthread_attr_get_np \
12501 pthread_getattr_np \
12502 pthread_getthreadid_np \
12503 pthread_get_stackaddr_np \
12504 pthread_get_stacksize_np
12506 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12507 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12508 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12509 cat >>confdefs.h
<<_ACEOF
12510 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12516 LIBS
="$ac_wine_check_funcs_save_LIBS"
12518 if test "$ac_cv_header_zlib_h" = "yes"
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12521 $as_echo_n "checking for inflate in -lz... " >&6; }
12522 if ${ac_cv_lib_z_inflate+:} false
; then :
12523 $as_echo_n "(cached) " >&6
12525 ac_check_lib_save_LIBS
=$LIBS
12527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12528 /* end confdefs.h. */
12530 /* Override any GCC internal prototype to avoid an error.
12531 Use char because int might match the return type of a GCC
12532 builtin and then its argument prototype would still apply. */
12545 if ac_fn_c_try_link
"$LINENO"; then :
12546 ac_cv_lib_z_inflate
=yes
12548 ac_cv_lib_z_inflate
=no
12550 rm -f core conftest.err conftest.
$ac_objext \
12551 conftest
$ac_exeext conftest.
$ac_ext
12552 LIBS
=$ac_check_lib_save_LIBS
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12555 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12556 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12558 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12565 if test "x$Z_LIBS" = "x"; then :
12566 case "x$with_zlib" in
12567 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12569 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12570 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12575 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
12577 if test "$ac_cv_header_gettext_po_h" = "yes"
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12580 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12581 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12582 $as_echo_n "(cached) " >&6
12584 ac_check_lib_save_LIBS
=$LIBS
12585 LIBS
="-lgettextpo $LIBS"
12586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12587 /* end confdefs.h. */
12589 /* Override any GCC internal prototype to avoid an error.
12590 Use char because int might match the return type of a GCC
12591 builtin and then its argument prototype would still apply. */
12595 char po_message_msgctxt ();
12599 return po_message_msgctxt ();
12604 if ac_fn_c_try_link
"$LINENO"; then :
12605 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12607 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12609 rm -f core conftest.err conftest.
$ac_objext \
12610 conftest
$ac_exeext conftest.
$ac_ext
12611 LIBS
=$ac_check_lib_save_LIBS
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12614 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12615 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12617 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12619 GETTEXTPO_LIBS
="-lgettextpo"
12624 if test "x$GETTEXTPO_LIBS" = "x"; then :
12625 case "x$with_gettextpo" in
12626 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12628 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12629 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12633 if test "$srcdir" != .
; then :
12634 case "x$with_gettextpo" in
12635 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
12637 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
12638 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12644 if test "x$with_pulse" != "xno";
12646 if ${PULSE_CFLAGS:+false} :; then :
12647 if ${PKG_CONFIG+:} false
; then :
12648 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12652 if ${PULSE_LIBS:+false} :; then :
12653 if ${PKG_CONFIG+:} false
; then :
12654 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12659 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12660 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12661 ac_save_CPPFLAGS
=$CPPFLAGS
12662 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12663 for ac_header
in pulse
/pulseaudio.h
12665 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12666 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12667 cat >>confdefs.h
<<_ACEOF
12668 #define HAVE_PULSE_PULSEAUDIO_H 1
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12671 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12672 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12673 $as_echo_n "(cached) " >&6
12675 ac_check_lib_save_LIBS
=$LIBS
12676 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12678 /* end confdefs.h. */
12680 /* Override any GCC internal prototype to avoid an error.
12681 Use char because int might match the return type of a GCC
12682 builtin and then its argument prototype would still apply. */
12686 char pa_stream_is_corked ();
12690 return pa_stream_is_corked ();
12695 if ac_fn_c_try_link
"$LINENO"; then :
12696 ac_cv_lib_pulse_pa_stream_is_corked
=yes
12698 ac_cv_lib_pulse_pa_stream_is_corked
=no
12700 rm -f core conftest.err conftest.
$ac_objext \
12701 conftest
$ac_exeext conftest.
$ac_ext
12702 LIBS
=$ac_check_lib_save_LIBS
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12705 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12706 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
12718 CPPFLAGS
=$ac_save_CPPFLAGS
12719 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12720 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12723 if test -z "$PULSE_LIBS"; then :
12724 case "x$with_pulse" in
12725 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12727 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12728 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12730 enable_winepulse_drv
=${enable_winepulse_drv:-no}
12733 if test "x$with_gstreamer" != "xno"
12735 if ${GSTREAMER_CFLAGS:+false} :; then :
12736 if ${PKG_CONFIG+:} false
; then :
12737 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12741 if ${GSTREAMER_LIBS:+false} :; then :
12742 if ${PKG_CONFIG+:} false
; then :
12743 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12748 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12749 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12750 ac_save_CPPFLAGS
=$CPPFLAGS
12751 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12753 for i
in $GSTREAMER_CFLAGS
12756 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12759 GSTREAMER_CFLAGS
=$ac_gst_incl
12760 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12761 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12762 if test "x$ac_cv_header_gst_gst_h" = xyes
; then :
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12764 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12766 /* end confdefs.h. */
12767 #include <gst/gst.h>
12771 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12776 if ac_fn_c_try_compile
"$LINENO"; then :
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12778 $as_echo "yes" >&6; }
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12780 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12781 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false
; then :
12782 $as_echo_n "(cached) " >&6
12784 ac_check_lib_save_LIBS
=$LIBS
12785 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12787 /* end confdefs.h. */
12789 /* Override any GCC internal prototype to avoid an error.
12790 Use char because int might match the return type of a GCC
12791 builtin and then its argument prototype would still apply. */
12795 char gst_pad_new ();
12799 return gst_pad_new ();
12804 if ac_fn_c_try_link
"$LINENO"; then :
12805 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
12807 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
12809 rm -f core conftest.err conftest.
$ac_objext \
12810 conftest
$ac_exeext conftest.
$ac_ext
12811 LIBS
=$ac_check_lib_save_LIBS
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12814 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12815 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
; then :
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12821 $as_echo "no" >&6; }
12822 ac_glib2_broken
=yes
12823 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12829 CPPFLAGS
=$ac_save_CPPFLAGS
12830 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12831 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12834 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 :
12835 case "x$with_gstreamer" in
12836 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12838 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12839 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12843 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12847 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12850 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12851 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12852 $as_echo_n "(cached) " >&6
12854 ac_check_lib_save_LIBS
=$LIBS
12855 LIBS
="-lasound $LIBS"
12856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12857 /* end confdefs.h. */
12859 /* Override any GCC internal prototype to avoid an error.
12860 Use char because int might match the return type of a GCC
12861 builtin and then its argument prototype would still apply. */
12865 char snd_pcm_hw_params_get_access_mask ();
12869 return snd_pcm_hw_params_get_access_mask ();
12874 if ac_fn_c_try_link
"$LINENO"; then :
12875 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12877 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12879 rm -f core conftest.err conftest.
$ac_objext \
12880 conftest
$ac_exeext conftest.
$ac_ext
12881 LIBS
=$ac_check_lib_save_LIBS
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12884 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12885 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12887 /* end confdefs.h. */
12888 #ifdef HAVE_ALSA_ASOUNDLIB_H
12889 #include <alsa/asoundlib.h>
12890 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12891 #include <sys/asoundlib.h>
12896 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12901 if ac_fn_c_try_compile
"$LINENO"; then :
12902 ALSA_LIBS
="-lasound"
12904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12908 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12910 if test "x$with_oss" != xno
12912 ac_save_CPPFLAGS
="$CPPFLAGS"
12913 if test -f /etc
/oss.conf
12917 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12918 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12919 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12920 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12921 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12923 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12925 cat >>confdefs.h
<<_ACEOF
12926 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12929 OSS4_CFLAGS
="$ac_oss_incl"
12936 CPPFLAGS
="$ac_save_CPPFLAGS"
12938 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
; then :
12939 case "x$with_oss" in
12940 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12942 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12943 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12945 enable_wineoss_drv
=${enable_wineoss_drv:-no}
12948 if test "x$with_udev" != "xno"
12950 if ${UDEV_CFLAGS:+false} :; then :
12951 if ${PKG_CONFIG+:} false
; then :
12952 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12956 if ${UDEV_LIBS:+false} :; then :
12957 if ${PKG_CONFIG+:} false
; then :
12958 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
12963 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12964 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12965 ac_save_CPPFLAGS
=$CPPFLAGS
12966 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
12967 for ac_header
in libudev.h
12969 ac_fn_c_check_header_mongrel
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12970 if test "x$ac_cv_header_libudev_h" = xyes
; then :
12971 cat >>confdefs.h
<<_ACEOF
12972 #define HAVE_LIBUDEV_H 1
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12975 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12976 if ${ac_cv_lib_udev_udev_new+:} false
; then :
12977 $as_echo_n "(cached) " >&6
12979 ac_check_lib_save_LIBS
=$LIBS
12980 LIBS
="-ludev $UDEV_LIBS $LIBS"
12981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12982 /* end confdefs.h. */
12984 /* Override any GCC internal prototype to avoid an error.
12985 Use char because int might match the return type of a GCC
12986 builtin and then its argument prototype would still apply. */
12994 return udev_new ();
12999 if ac_fn_c_try_link
"$LINENO"; then :
13000 ac_cv_lib_udev_udev_new
=yes
13002 ac_cv_lib_udev_udev_new
=no
13004 rm -f core conftest.err conftest.
$ac_objext \
13005 conftest
$ac_exeext conftest.
$ac_ext
13006 LIBS
=$ac_check_lib_save_LIBS
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13009 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13010 if test "x$ac_cv_lib_udev_udev_new" = xyes
; then :
13012 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13024 CPPFLAGS
=$ac_save_CPPFLAGS
13025 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS
=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13026 test -z "$UDEV_LIBS" || UDEV_LIBS
=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13029 if test "x$UDEV_LIBS" = "x"; then :
13030 case "x$with_udev" in
13031 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13033 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
13034 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13039 if test "x$with_capi" != "xno"
13041 if ${CAPI20_CFLAGS:+false} :; then :
13042 if ${PKG_CONFIG+:} false
; then :
13043 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13047 if ${CAPI20_LIBS:+false} :; then :
13048 if ${PKG_CONFIG+:} false
; then :
13049 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
13054 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13055 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13056 ac_save_CPPFLAGS
=$CPPFLAGS
13057 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
13058 for ac_header
in capi20.h linux
/capi.h
13060 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13061 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13063 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13064 cat >>confdefs.h
<<_ACEOF
13065 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13072 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13075 $as_echo_n "checking for -lcapi20... " >&6; }
13076 if ${ac_cv_lib_soname_capi20+:} false
; then :
13077 $as_echo_n "(cached) " >&6
13079 ac_check_soname_save_LIBS
=$LIBS
13080 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
13081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13082 /* end confdefs.h. */
13084 /* Override any GCC internal prototype to avoid an error.
13085 Use char because int might match the return type of a GCC
13086 builtin and then its argument prototype would still apply. */
13090 char capi20_register ();
13094 return capi20_register ();
13099 if ac_fn_c_try_link
"$LINENO"; then :
13101 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13102 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'` ;;
13103 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13104 if ${ac_cv_lib_soname_capi20:+false} :; then :
13105 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13109 rm -f core conftest.err conftest.
$ac_objext \
13110 conftest
$ac_exeext conftest.
$ac_ext
13111 LIBS
=$ac_check_soname_save_LIBS
13113 if ${ac_cv_lib_soname_capi20:+false} :; then :
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13115 $as_echo "not found" >&6; }
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13119 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13121 cat >>confdefs.h
<<_ACEOF
13122 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13128 CPPFLAGS
=$ac_save_CPPFLAGS
13129 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13130 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13133 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13134 case "x$with_capi" in
13135 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13137 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13138 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13145 if test "x$with_cups" != "xno"
13147 ac_save_CPPFLAGS
="$CPPFLAGS"
13148 ac_cups_cflags
=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13149 ac_cups_libs
=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13150 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
13151 for ac_header
in cups
/cups.h
13153 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13154 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
13155 cat >>confdefs.h
<<_ACEOF
13156 #define HAVE_CUPS_CUPS_H 1
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13159 $as_echo_n "checking for -lcups... " >&6; }
13160 if ${ac_cv_lib_soname_cups+:} false
; then :
13161 $as_echo_n "(cached) " >&6
13163 ac_check_soname_save_LIBS
=$LIBS
13164 LIBS
="-lcups $ac_cups_libs $LIBS"
13165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13166 /* end confdefs.h. */
13168 /* Override any GCC internal prototype to avoid an error.
13169 Use char because int might match the return type of a GCC
13170 builtin and then its argument prototype would still apply. */
13174 char cupsGetDefault ();
13178 return cupsGetDefault ();
13183 if ac_fn_c_try_link
"$LINENO"; then :
13185 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13186 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'` ;;
13187 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13188 if ${ac_cv_lib_soname_cups:+false} :; then :
13189 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13193 rm -f core conftest.err conftest.
$ac_objext \
13194 conftest
$ac_exeext conftest.
$ac_ext
13195 LIBS
=$ac_check_soname_save_LIBS
13197 if ${ac_cv_lib_soname_cups:+false} :; then :
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13199 $as_echo "not found" >&6; }
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13203 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13205 cat >>confdefs.h
<<_ACEOF
13206 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13209 CUPS_CFLAGS
="$ac_cups_cflags"
13211 for ac_header
in cups
/ppd.h
13213 ac_fn_c_check_header_mongrel
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13214 if test "x$ac_cv_header_cups_ppd_h" = xyes
; then :
13215 cat >>confdefs.h
<<_ACEOF
13216 #define HAVE_CUPS_PPD_H 1
13227 CPPFLAGS
="$ac_save_CPPFLAGS"
13229 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13230 case "x$with_cups" in
13231 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13233 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13234 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13239 if test "x$with_fontconfig" != "xno"
13241 if ${FONTCONFIG_CFLAGS:+false} :; then :
13242 if ${PKG_CONFIG+:} false
; then :
13243 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13246 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13247 if ${FONTCONFIG_LIBS:+false} :; then :
13248 if ${PKG_CONFIG+:} false
; then :
13249 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13252 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13254 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13255 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13256 ac_save_CPPFLAGS
=$CPPFLAGS
13257 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13258 for ac_header
in fontconfig
/fontconfig.h
13260 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13261 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13262 cat >>confdefs.h
<<_ACEOF
13263 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13270 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13273 $as_echo_n "checking for -lfontconfig... " >&6; }
13274 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13275 $as_echo_n "(cached) " >&6
13277 ac_check_soname_save_LIBS
=$LIBS
13278 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13280 /* end confdefs.h. */
13282 /* Override any GCC internal prototype to avoid an error.
13283 Use char because int might match the return type of a GCC
13284 builtin and then its argument prototype would still apply. */
13297 if ac_fn_c_try_link
"$LINENO"; then :
13299 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13300 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'` ;;
13301 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13302 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13303 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13307 rm -f core conftest.err conftest.
$ac_objext \
13308 conftest
$ac_exeext conftest.
$ac_ext
13309 LIBS
=$ac_check_soname_save_LIBS
13311 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13313 $as_echo "not found" >&6; }
13314 FONTCONFIG_CFLAGS
=""
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13317 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13319 cat >>confdefs.h
<<_ACEOF
13320 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13326 FONTCONFIG_CFLAGS
=""
13328 CPPFLAGS
=$ac_save_CPPFLAGS
13329 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13330 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13333 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13334 case "x$with_fontconfig" in
13335 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13337 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13338 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13343 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13346 $as_echo_n "checking for -lgsm... " >&6; }
13347 if ${ac_cv_lib_soname_gsm+:} false
; then :
13348 $as_echo_n "(cached) " >&6
13350 ac_check_soname_save_LIBS
=$LIBS
13352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13353 /* end confdefs.h. */
13355 /* Override any GCC internal prototype to avoid an error.
13356 Use char because int might match the return type of a GCC
13357 builtin and then its argument prototype would still apply. */
13361 char gsm_create ();
13365 return gsm_create ();
13370 if ac_fn_c_try_link
"$LINENO"; then :
13372 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13373 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'` ;;
13374 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13375 if ${ac_cv_lib_soname_gsm:+false} :; then :
13376 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13380 rm -f core conftest.err conftest.
$ac_objext \
13381 conftest
$ac_exeext conftest.
$ac_ext
13382 LIBS
=$ac_check_soname_save_LIBS
13384 if ${ac_cv_lib_soname_gsm:+false} :; then :
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13386 $as_echo "not found" >&6; }
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13390 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13392 cat >>confdefs.h
<<_ACEOF
13393 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13399 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13400 case "x$with_gsm" in
13401 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13403 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13404 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13409 if test "x$with_jpeg" != "xno"
13411 if ${JPEG_CFLAGS:+false} :; then :
13412 if ${PKG_CONFIG+:} false
; then :
13413 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13417 if ${JPEG_LIBS:+false} :; then :
13418 if ${PKG_CONFIG+:} false
; then :
13419 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13424 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13425 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13426 ac_save_CPPFLAGS
=$CPPFLAGS
13427 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13428 for ac_header
in jpeglib.h
13430 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13431 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13432 cat >>confdefs.h
<<_ACEOF
13433 #define HAVE_JPEGLIB_H 1
13440 if test "$ac_cv_header_jpeglib_h" = "yes"
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13443 $as_echo_n "checking for -ljpeg... " >&6; }
13444 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13445 $as_echo_n "(cached) " >&6
13447 ac_check_soname_save_LIBS
=$LIBS
13448 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13450 /* end confdefs.h. */
13452 /* Override any GCC internal prototype to avoid an error.
13453 Use char because int might match the return type of a GCC
13454 builtin and then its argument prototype would still apply. */
13458 char jpeg_start_decompress ();
13462 return jpeg_start_decompress ();
13467 if ac_fn_c_try_link
"$LINENO"; then :
13469 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13470 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'` ;;
13471 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13472 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13473 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13477 rm -f core conftest.err conftest.
$ac_objext \
13478 conftest
$ac_exeext conftest.
$ac_ext
13479 LIBS
=$ac_check_soname_save_LIBS
13481 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13483 $as_echo "not found" >&6; }
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13487 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13489 cat >>confdefs.h
<<_ACEOF
13490 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13498 CPPFLAGS
=$ac_save_CPPFLAGS
13499 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13500 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13503 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13504 case "x$with_jpeg" in
13505 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13507 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13508 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13513 if test "x$with_png" != "xno"
13515 if ${PNG_CFLAGS:+false} :; then :
13516 if ${PKG_CONFIG+:} false
; then :
13517 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13520 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13521 if ${PNG_LIBS:+false} :; then :
13522 if ${PKG_CONFIG+:} false
; then :
13523 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13526 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13528 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13529 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13530 ac_save_CPPFLAGS
=$CPPFLAGS
13531 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13532 for ac_header
in png.h
13534 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13535 if test "x$ac_cv_header_png_h" = xyes
; then :
13536 cat >>confdefs.h
<<_ACEOF
13537 #define HAVE_PNG_H 1
13544 if test "$ac_cv_header_png_h" = "yes"
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13547 $as_echo_n "checking for -lpng... " >&6; }
13548 if ${ac_cv_lib_soname_png+:} false
; then :
13549 $as_echo_n "(cached) " >&6
13551 ac_check_soname_save_LIBS
=$LIBS
13552 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13554 /* end confdefs.h. */
13556 /* Override any GCC internal prototype to avoid an error.
13557 Use char because int might match the return type of a GCC
13558 builtin and then its argument prototype would still apply. */
13562 char png_create_read_struct ();
13566 return png_create_read_struct ();
13571 if ac_fn_c_try_link
"$LINENO"; then :
13573 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13574 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'` ;;
13575 *) 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'`
13576 if ${ac_cv_lib_soname_png:+false} :; then :
13577 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13581 rm -f core conftest.err conftest.
$ac_objext \
13582 conftest
$ac_exeext conftest.
$ac_ext
13583 LIBS
=$ac_check_soname_save_LIBS
13585 if ${ac_cv_lib_soname_png:+false} :; then :
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13587 $as_echo "not found" >&6; }
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13591 $as_echo "$ac_cv_lib_soname_png" >&6; }
13593 cat >>confdefs.h
<<_ACEOF
13594 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13598 /* end confdefs.h. */
13603 typeof(png_set_expand_gray_1_2_4_to_8) *p
13608 if ac_fn_c_try_compile
"$LINENO"; then :
13610 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13618 CPPFLAGS
=$ac_save_CPPFLAGS
13619 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13620 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13623 if test "x$ac_cv_lib_soname_png" = "x"; then :
13624 case "x$with_png" in
13625 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13627 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13628 This is an error since --with-png was requested." "$LINENO" 5 ;;
13633 if test "x$with_tiff" != "xno"
13635 if ${TIFF_CFLAGS:+false} :; then :
13636 if ${PKG_CONFIG+:} false
; then :
13637 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13641 if ${TIFF_LIBS:+false} :; then :
13642 if ${PKG_CONFIG+:} false
; then :
13643 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13648 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13649 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13650 ac_save_CPPFLAGS
=$CPPFLAGS
13651 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13652 for ac_header
in tiffio.h
13654 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13655 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13656 cat >>confdefs.h
<<_ACEOF
13657 #define HAVE_TIFFIO_H 1
13664 if test "$ac_cv_header_tiffio_h" = "yes"
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13667 $as_echo_n "checking for -ltiff... " >&6; }
13668 if ${ac_cv_lib_soname_tiff+:} false
; then :
13669 $as_echo_n "(cached) " >&6
13671 ac_check_soname_save_LIBS
=$LIBS
13672 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13674 /* end confdefs.h. */
13676 /* Override any GCC internal prototype to avoid an error.
13677 Use char because int might match the return type of a GCC
13678 builtin and then its argument prototype would still apply. */
13682 char TIFFClientOpen ();
13686 return TIFFClientOpen ();
13691 if ac_fn_c_try_link
"$LINENO"; then :
13693 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13694 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'` ;;
13695 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13696 if ${ac_cv_lib_soname_tiff:+false} :; then :
13697 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13701 rm -f core conftest.err conftest.
$ac_objext \
13702 conftest
$ac_exeext conftest.
$ac_ext
13703 LIBS
=$ac_check_soname_save_LIBS
13705 if ${ac_cv_lib_soname_tiff:+false} :; then :
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13707 $as_echo "not found" >&6; }
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13711 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13713 cat >>confdefs.h
<<_ACEOF
13714 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13720 CPPFLAGS
=$ac_save_CPPFLAGS
13721 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13722 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13725 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13726 case "x$with_tiff" in
13727 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13729 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13730 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13735 if test "x$with_mpg123" != "xno"
13737 if ${MPG123_CFLAGS:+false} :; then :
13738 if ${PKG_CONFIG+:} false
; then :
13739 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13743 if ${MPG123_LIBS:+false} :; then :
13744 if ${PKG_CONFIG+:} false
; then :
13745 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13749 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13750 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13751 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13752 ac_save_CPPFLAGS
=$CPPFLAGS
13753 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13754 for ac_header
in mpg123.h
13756 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13757 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13758 cat >>confdefs.h
<<_ACEOF
13759 #define HAVE_MPG123_H 1
13766 if test "$ac_cv_header_mpg123_h" = "yes"
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13769 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13770 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13771 $as_echo_n "(cached) " >&6
13773 ac_check_lib_save_LIBS
=$LIBS
13774 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13776 /* end confdefs.h. */
13778 /* Override any GCC internal prototype to avoid an error.
13779 Use char because int might match the return type of a GCC
13780 builtin and then its argument prototype would still apply. */
13784 char mpg123_feed ();
13788 return mpg123_feed ();
13793 if ac_fn_c_try_link
"$LINENO"; then :
13794 ac_cv_lib_mpg123_mpg123_feed
=yes
13796 ac_cv_lib_mpg123_mpg123_feed
=no
13798 rm -f core conftest.err conftest.
$ac_objext \
13799 conftest
$ac_exeext conftest.
$ac_ext
13800 LIBS
=$ac_check_lib_save_LIBS
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13803 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13804 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13814 CPPFLAGS
=$ac_save_CPPFLAGS
13815 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13816 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13819 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13820 case "x$with_mpg123" in
13821 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13823 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13824 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13826 enable_winemp3_acm
=${enable_winemp3_acm:-no}
13829 if test "$ac_cv_header_AL_al_h" = "yes"
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13832 $as_echo_n "checking for -lopenal... " >&6; }
13833 if ${ac_cv_lib_soname_openal+:} false
; then :
13834 $as_echo_n "(cached) " >&6
13836 ac_check_soname_save_LIBS
=$LIBS
13837 LIBS
="-lopenal $LIBS"
13838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13839 /* end confdefs.h. */
13841 /* Override any GCC internal prototype to avoid an error.
13842 Use char because int might match the return type of a GCC
13843 builtin and then its argument prototype would still apply. */
13847 char alGetSource3i ();
13851 return alGetSource3i ();
13856 if ac_fn_c_try_link
"$LINENO"; then :
13858 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13859 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'` ;;
13860 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13861 if ${ac_cv_lib_soname_openal:+false} :; then :
13862 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13866 rm -f core conftest.err conftest.
$ac_objext \
13867 conftest
$ac_exeext conftest.
$ac_ext
13868 LIBS
=$ac_check_soname_save_LIBS
13870 if ${ac_cv_lib_soname_openal:+false} :; then :
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13872 $as_echo "not found" >&6; }
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13876 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13878 cat >>confdefs.h
<<_ACEOF
13879 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13882 OPENAL_LIBS
="-lopenal"
13884 ac_cv_lib_openal
=yes
13886 cat >>confdefs.h
<<_ACEOF
13887 #define HAVE_OPENAL 1
13892 if test "x$ac_cv_lib_openal" != xyes
; then :
13893 case "x$with_openal" in
13894 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13896 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13897 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13899 enable_openal32
=${enable_openal32:-no}
13902 if test "x$ac_cv_lib_openal" = xyes
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13905 $as_echo_n "checking for openal-soft... " >&6; }
13906 if ${ac_cv_have_openalsoft+:} false
; then :
13907 $as_echo_n "(cached) " >&6
13909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13910 /* end confdefs.h. */
13912 #include <AL/alc.h>
13913 #include <AL/alext.h>
13914 LPALCRENDERSAMPLESSOFT x;
13923 if ac_fn_c_try_compile
"$LINENO"; then :
13924 ac_cv_have_openalsoft
=yes
13926 ac_cv_have_openalsoft
=no
13928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13931 $as_echo "$ac_cv_have_openalsoft" >&6; }
13933 if test "x$ac_cv_have_openalsoft" != xyes
13935 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13936 enable_x3daudio1_0
=${enable_x3daudio1_0:-no}
13937 enable_x3daudio1_1
=${enable_x3daudio1_1:-no}
13938 enable_x3daudio1_2
=${enable_x3daudio1_2:-no}
13939 enable_x3daudio1_3
=${enable_x3daudio1_3:-no}
13940 enable_x3daudio1_4
=${enable_x3daudio1_4:-no}
13941 enable_x3daudio1_5
=${enable_x3daudio1_5:-no}
13942 enable_x3daudio1_6
=${enable_x3daudio1_6:-no}
13943 enable_x3daudio1_7
=${enable_x3daudio1_7:-no}
13944 enable_xapofx1_1
=${enable_xapofx1_1:-no}
13945 enable_xapofx1_2
=${enable_xapofx1_2:-no}
13946 enable_xapofx1_3
=${enable_xapofx1_3:-no}
13947 enable_xapofx1_4
=${enable_xapofx1_4:-no}
13948 enable_xapofx1_5
=${enable_xapofx1_5:-no}
13949 enable_xaudio2_0
=${enable_xaudio2_0:-no}
13950 enable_xaudio2_1
=${enable_xaudio2_1:-no}
13951 enable_xaudio2_2
=${enable_xaudio2_2:-no}
13952 enable_xaudio2_3
=${enable_xaudio2_3:-no}
13953 enable_xaudio2_4
=${enable_xaudio2_4:-no}
13954 enable_xaudio2_5
=${enable_xaudio2_5:-no}
13955 enable_xaudio2_6
=${enable_xaudio2_6:-no}
13956 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13957 enable_xaudio2_8
=${enable_xaudio2_8:-no}
13958 enable_xaudio2_9
=${enable_xaudio2_9:-no}
13961 if test "$ac_cv_header_kstat_h" = "yes"
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13964 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13965 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13966 $as_echo_n "(cached) " >&6
13968 ac_check_lib_save_LIBS
=$LIBS
13969 LIBS
="-lkstat $LIBS"
13970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13971 /* end confdefs.h. */
13973 /* Override any GCC internal prototype to avoid an error.
13974 Use char because int might match the return type of a GCC
13975 builtin and then its argument prototype would still apply. */
13979 char kstat_open ();
13983 return kstat_open ();
13988 if ac_fn_c_try_link
"$LINENO"; then :
13989 ac_cv_lib_kstat_kstat_open
=yes
13991 ac_cv_lib_kstat_kstat_open
=no
13993 rm -f core conftest.err conftest.
$ac_objext \
13994 conftest
$ac_exeext conftest.
$ac_ext
13995 LIBS
=$ac_check_lib_save_LIBS
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13998 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13999 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
14001 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14003 KSTAT_LIBS
="-lkstat"
14009 if test "$ac_cv_header_libprocstat_h" = "yes"
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14012 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14013 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
14014 $as_echo_n "(cached) " >&6
14016 ac_check_lib_save_LIBS
=$LIBS
14017 LIBS
="-lprocstat $LIBS"
14018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14019 /* end confdefs.h. */
14021 /* Override any GCC internal prototype to avoid an error.
14022 Use char because int might match the return type of a GCC
14023 builtin and then its argument prototype would still apply. */
14027 char procstat_open_sysctl ();
14031 return procstat_open_sysctl ();
14036 if ac_fn_c_try_link
"$LINENO"; then :
14037 ac_cv_lib_procstat_procstat_open_sysctl
=yes
14039 ac_cv_lib_procstat_procstat_open_sysctl
=no
14041 rm -f core conftest.err conftest.
$ac_objext \
14042 conftest
$ac_exeext conftest.
$ac_ext
14043 LIBS
=$ac_check_lib_save_LIBS
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14046 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14047 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
14049 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14051 PROCSTAT_LIBS
="-lprocstat"
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14058 $as_echo_n "checking for -lodbc... " >&6; }
14059 if ${ac_cv_lib_soname_odbc+:} false
; then :
14060 $as_echo_n "(cached) " >&6
14062 ac_check_soname_save_LIBS
=$LIBS
14063 LIBS
="-lodbc $LIBS"
14064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14065 /* end confdefs.h. */
14067 /* Override any GCC internal prototype to avoid an error.
14068 Use char because int might match the return type of a GCC
14069 builtin and then its argument prototype would still apply. */
14073 char SQLConnect ();
14077 return SQLConnect ();
14082 if ac_fn_c_try_link
"$LINENO"; then :
14084 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14085 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'` ;;
14086 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14087 if ${ac_cv_lib_soname_odbc:+false} :; then :
14088 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14092 rm -f core conftest.err conftest.
$ac_objext \
14093 conftest
$ac_exeext conftest.
$ac_ext
14094 LIBS
=$ac_check_soname_save_LIBS
14096 if ${ac_cv_lib_soname_odbc:+false} :; then :
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14098 $as_echo "not found" >&6; }
14099 cat >>confdefs.h
<<_ACEOF
14100 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14105 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14107 cat >>confdefs.h
<<_ACEOF
14108 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14114 if test "x$with_netapi" != "xno"
14116 if ${NETAPI_CFLAGS:+false} :; then :
14117 if ${PKG_CONFIG+:} false
; then :
14118 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14122 if ${NETAPI_LIBS:+false} :; then :
14123 if ${PKG_CONFIG+:} false
; then :
14124 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
14129 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14130 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14131 ac_save_CPPFLAGS
=$CPPFLAGS
14132 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14134 $as_echo_n "checking for -lnetapi... " >&6; }
14135 if ${ac_cv_lib_soname_netapi+:} false
; then :
14136 $as_echo_n "(cached) " >&6
14138 ac_check_soname_save_LIBS
=$LIBS
14139 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
14140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14141 /* end confdefs.h. */
14143 /* Override any GCC internal prototype to avoid an error.
14144 Use char because int might match the return type of a GCC
14145 builtin and then its argument prototype would still apply. */
14149 char libnetapi_init ();
14153 return libnetapi_init ();
14158 if ac_fn_c_try_link
"$LINENO"; then :
14160 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14161 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'` ;;
14162 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14163 if ${ac_cv_lib_soname_netapi:+false} :; then :
14164 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14168 rm -f core conftest.err conftest.
$ac_objext \
14169 conftest
$ac_exeext conftest.
$ac_ext
14170 LIBS
=$ac_check_soname_save_LIBS
14172 if ${ac_cv_lib_soname_netapi:+false} :; then :
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14174 $as_echo "not found" >&6; }
14175 cat >>confdefs.h
<<_ACEOF
14176 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14181 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14183 cat >>confdefs.h
<<_ACEOF
14184 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14189 CPPFLAGS
=$ac_save_CPPFLAGS
14190 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS
=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14191 test -z "$NETAPI_LIBS" || NETAPI_LIBS
=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14195 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono
-a \
14196 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14198 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
14204 if test "x${GCC}" = "xyes"
14206 EXTRACFLAGS
="-Wall -pipe"
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14209 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14210 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
14211 $as_echo_n "(cached) " >&6
14213 if test "$cross_compiling" = yes; then :
14214 ac_cv_c_gcc_strength_bug
="no"
14216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14217 /* end confdefs.h. */
14218 int L[4] = {0,1,2,3};
14222 static int Array[3];
14223 unsigned int B = 3;
14225 for(i=0; i<B; i++) Array[i] = i - 3;
14226 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14228 return (Array[1] != -2 || L[2] != 3)
14233 if ac_fn_c_try_run
"$LINENO"; then :
14234 ac_cv_c_gcc_strength_bug
="no"
14236 ac_cv_c_gcc_strength_bug
="yes"
14238 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14239 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14244 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14245 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14247 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14251 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14252 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14253 $as_echo_n "(cached) " >&6
14255 ac_wine_try_cflags_saved
=$CFLAGS
14256 CFLAGS
="$CFLAGS -fno-builtin"
14257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14259 int main(int argc, char **argv) { return 0; }
14261 if ac_fn_c_try_link
"$LINENO"; then :
14262 ac_cv_cflags__fno_builtin
=yes
14264 ac_cv_cflags__fno_builtin
=no
14266 rm -f core conftest.err conftest.
$ac_objext \
14267 conftest
$ac_exeext conftest.
$ac_ext
14268 CFLAGS
=$ac_wine_try_cflags_saved
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14271 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14272 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14273 BUILTINFLAG
="-fno-builtin"
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14277 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14278 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14279 $as_echo_n "(cached) " >&6
14281 ac_wine_try_cflags_saved
=$CFLAGS
14282 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14284 /* end confdefs.h. */
14285 int main(int argc, char **argv) { return 0; }
14287 if ac_fn_c_try_link
"$LINENO"; then :
14288 ac_cv_cflags__fno_strict_aliasing
=yes
14290 ac_cv_cflags__fno_strict_aliasing
=no
14292 rm -f core conftest.err conftest.
$ac_objext \
14293 conftest
$ac_exeext conftest.
$ac_ext
14294 CFLAGS
=$ac_wine_try_cflags_saved
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14297 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14298 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14299 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14302 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14303 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14304 $as_echo_n "(cached) " >&6
14306 ac_wine_try_cflags_saved
=$CFLAGS
14307 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14310 int main(int argc, char **argv) { return 0; }
14312 if ac_fn_c_try_link
"$LINENO"; then :
14313 ac_cv_cflags__fexcess_precision_standard
=yes
14315 ac_cv_cflags__fexcess_precision_standard
=no
14317 rm -f core conftest.err conftest.
$ac_objext \
14318 conftest
$ac_exeext conftest.
$ac_ext
14319 CFLAGS
=$ac_wine_try_cflags_saved
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14322 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14323 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14324 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14327 saved_CFLAGS
=$CFLAGS
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14329 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14330 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14331 $as_echo_n "(cached) " >&6
14333 ac_wine_try_cflags_saved
=$CFLAGS
14334 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14336 /* end confdefs.h. */
14337 int main(int argc, char **argv) { return 0; }
14339 if ac_fn_c_try_link
"$LINENO"; then :
14340 ac_cv_cflags__Werror_unknown_warning_option
=yes
14342 ac_cv_cflags__Werror_unknown_warning_option
=no
14344 rm -f core conftest.err conftest.
$ac_objext \
14345 conftest
$ac_exeext conftest.
$ac_ext
14346 CFLAGS
=$ac_wine_try_cflags_saved
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14349 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14350 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14351 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14354 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14355 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14356 $as_echo_n "(cached) " >&6
14358 ac_wine_try_cflags_saved
=$CFLAGS
14359 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14362 int main(int argc, char **argv) { return 0; }
14364 if ac_fn_c_try_link
"$LINENO"; then :
14365 ac_cv_cflags__Wdeclaration_after_statement
=yes
14367 ac_cv_cflags__Wdeclaration_after_statement
=no
14369 rm -f core conftest.err conftest.
$ac_objext \
14370 conftest
$ac_exeext conftest.
$ac_ext
14371 CFLAGS
=$ac_wine_try_cflags_saved
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14374 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14375 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14376 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14379 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14380 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14381 $as_echo_n "(cached) " >&6
14383 ac_wine_try_cflags_saved
=$CFLAGS
14384 CFLAGS
="$CFLAGS -Wempty-body"
14385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14386 /* end confdefs.h. */
14387 int main(int argc, char **argv) { return 0; }
14389 if ac_fn_c_try_link
"$LINENO"; then :
14390 ac_cv_cflags__Wempty_body
=yes
14392 ac_cv_cflags__Wempty_body
=no
14394 rm -f core conftest.err conftest.
$ac_objext \
14395 conftest
$ac_exeext conftest.
$ac_ext
14396 CFLAGS
=$ac_wine_try_cflags_saved
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14399 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14400 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14401 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14404 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14405 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14406 $as_echo_n "(cached) " >&6
14408 ac_wine_try_cflags_saved
=$CFLAGS
14409 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14411 /* end confdefs.h. */
14412 int main(int argc, char **argv) { return 0; }
14414 if ac_fn_c_try_link
"$LINENO"; then :
14415 ac_cv_cflags__Wignored_qualifiers
=yes
14417 ac_cv_cflags__Wignored_qualifiers
=no
14419 rm -f core conftest.err conftest.
$ac_objext \
14420 conftest
$ac_exeext conftest.
$ac_ext
14421 CFLAGS
=$ac_wine_try_cflags_saved
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14424 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14425 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14426 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14429 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14430 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
14431 $as_echo_n "(cached) " >&6
14433 ac_wine_try_cflags_saved
=$CFLAGS
14434 CFLAGS
="$CFLAGS -Wshift-overflow=2"
14435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14436 /* end confdefs.h. */
14437 int main(int argc, char **argv) { return 0; }
14439 if ac_fn_c_try_link
"$LINENO"; then :
14440 ac_cv_cflags__Wshift_overflow_2
=yes
14442 ac_cv_cflags__Wshift_overflow_2
=no
14444 rm -f core conftest.err conftest.
$ac_objext \
14445 conftest
$ac_exeext conftest.
$ac_ext
14446 CFLAGS
=$ac_wine_try_cflags_saved
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14449 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14450 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
14451 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14454 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14455 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14456 $as_echo_n "(cached) " >&6
14458 ac_wine_try_cflags_saved
=$CFLAGS
14459 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14461 /* end confdefs.h. */
14462 int main(int argc, char **argv) { return 0; }
14464 if ac_fn_c_try_link
"$LINENO"; then :
14465 ac_cv_cflags__Wstrict_prototypes
=yes
14467 ac_cv_cflags__Wstrict_prototypes
=no
14469 rm -f core conftest.err conftest.
$ac_objext \
14470 conftest
$ac_exeext conftest.
$ac_ext
14471 CFLAGS
=$ac_wine_try_cflags_saved
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14474 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14475 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14476 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14479 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14480 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14481 $as_echo_n "(cached) " >&6
14483 ac_wine_try_cflags_saved
=$CFLAGS
14484 CFLAGS
="$CFLAGS -Wtype-limits"
14485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14486 /* end confdefs.h. */
14487 int main(int argc, char **argv) { return 0; }
14489 if ac_fn_c_try_link
"$LINENO"; then :
14490 ac_cv_cflags__Wtype_limits
=yes
14492 ac_cv_cflags__Wtype_limits
=no
14494 rm -f core conftest.err conftest.
$ac_objext \
14495 conftest
$ac_exeext conftest.
$ac_ext
14496 CFLAGS
=$ac_wine_try_cflags_saved
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14499 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14500 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14501 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14504 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14505 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14506 $as_echo_n "(cached) " >&6
14508 ac_wine_try_cflags_saved
=$CFLAGS
14509 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14511 /* end confdefs.h. */
14512 int main(int argc, char **argv) { return 0; }
14514 if ac_fn_c_try_link
"$LINENO"; then :
14515 ac_cv_cflags__Wunused_but_set_parameter
=yes
14517 ac_cv_cflags__Wunused_but_set_parameter
=no
14519 rm -f core conftest.err conftest.
$ac_objext \
14520 conftest
$ac_exeext conftest.
$ac_ext
14521 CFLAGS
=$ac_wine_try_cflags_saved
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14524 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14525 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14526 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14529 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14530 if ${ac_cv_cflags__Wvla+:} false
; then :
14531 $as_echo_n "(cached) " >&6
14533 ac_wine_try_cflags_saved
=$CFLAGS
14534 CFLAGS
="$CFLAGS -Wvla"
14535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14536 /* end confdefs.h. */
14537 int main(int argc, char **argv) { return 0; }
14539 if ac_fn_c_try_link
"$LINENO"; then :
14540 ac_cv_cflags__Wvla
=yes
14542 ac_cv_cflags__Wvla
=no
14544 rm -f core conftest.err conftest.
$ac_objext \
14545 conftest
$ac_exeext conftest.
$ac_ext
14546 CFLAGS
=$ac_wine_try_cflags_saved
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14549 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14550 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14551 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14554 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14555 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14556 $as_echo_n "(cached) " >&6
14558 ac_wine_try_cflags_saved
=$CFLAGS
14559 CFLAGS
="$CFLAGS -Wwrite-strings"
14560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14561 /* end confdefs.h. */
14562 int main(int argc, char **argv) { return 0; }
14564 if ac_fn_c_try_link
"$LINENO"; then :
14565 ac_cv_cflags__Wwrite_strings
=yes
14567 ac_cv_cflags__Wwrite_strings
=no
14569 rm -f core conftest.err conftest.
$ac_objext \
14570 conftest
$ac_exeext conftest.
$ac_ext
14571 CFLAGS
=$ac_wine_try_cflags_saved
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14574 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14575 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14576 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14580 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14581 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14582 $as_echo_n "(cached) " >&6
14584 ac_wine_try_cflags_saved
=$CFLAGS
14585 CFLAGS
="$CFLAGS -Wpointer-arith"
14586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14587 /* end confdefs.h. */
14588 int main(int argc, char **argv) { return 0; }
14590 if ac_fn_c_try_link
"$LINENO"; then :
14591 ac_cv_cflags__Wpointer_arith
=yes
14593 ac_cv_cflags__Wpointer_arith
=no
14595 rm -f core conftest.err conftest.
$ac_objext \
14596 conftest
$ac_exeext conftest.
$ac_ext
14597 CFLAGS
=$ac_wine_try_cflags_saved
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14600 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14601 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14602 saved_string_h_CFLAGS
=$CFLAGS
14603 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14605 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14606 if ${ac_cv_c_string_h_warnings+:} false
; then :
14607 $as_echo_n "(cached) " >&6
14609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14610 /* end confdefs.h. */
14611 #include <string.h>
14620 if ac_fn_c_try_compile
"$LINENO"; then :
14621 ac_cv_c_string_h_warnings
=no
14623 ac_cv_c_string_h_warnings
=yes
14625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14628 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14629 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14630 CFLAGS
=$saved_string_h_CFLAGS
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14634 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14635 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14636 $as_echo_n "(cached) " >&6
14638 ac_wine_try_cflags_saved
=$CFLAGS
14639 CFLAGS
="$CFLAGS -Wlogical-op"
14640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14641 /* end confdefs.h. */
14642 int main(int argc, char **argv) { return 0; }
14644 if ac_fn_c_try_link
"$LINENO"; then :
14645 ac_cv_cflags__Wlogical_op
=yes
14647 ac_cv_cflags__Wlogical_op
=no
14649 rm -f core conftest.err conftest.
$ac_objext \
14650 conftest
$ac_exeext conftest.
$ac_ext
14651 CFLAGS
=$ac_wine_try_cflags_saved
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14654 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14655 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14656 saved_string_h_CFLAGS
=$CFLAGS
14657 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14659 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14660 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14661 $as_echo_n "(cached) " >&6
14663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14664 /* end confdefs.h. */
14665 #include <string.h>
14666 char*f(const char *h,char n) {return strchr(h,n);}
14675 if ac_fn_c_try_compile
"$LINENO"; then :
14676 ac_cv_c_logicalop_noisy
=no
14678 ac_cv_c_logicalop_noisy
=yes
14680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14683 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14684 CFLAGS
=$saved_string_h_CFLAGS
14685 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14688 CFLAGS
=$saved_CFLAGS
14690 for ac_flag
in $CFLAGS; do
14692 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14693 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14694 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14695 $as_echo_n "(cached) " >&6
14697 ac_wine_try_cflags_saved
=$CFLAGS
14698 CFLAGS
="$CFLAGS -gdwarf-2"
14699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14700 /* end confdefs.h. */
14701 int main(int argc, char **argv) { return 0; }
14703 if ac_fn_c_try_link
"$LINENO"; then :
14704 ac_cv_cflags__gdwarf_2
=yes
14706 ac_cv_cflags__gdwarf_2
=no
14708 rm -f core conftest.err conftest.
$ac_objext \
14709 conftest
$ac_exeext conftest.
$ac_ext
14710 CFLAGS
=$ac_wine_try_cflags_saved
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14713 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14714 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14715 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14718 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14719 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14720 $as_echo_n "(cached) " >&6
14722 ac_wine_try_cflags_saved
=$CFLAGS
14723 CFLAGS
="$CFLAGS -gstrict-dwarf"
14724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14725 /* end confdefs.h. */
14726 int main(int argc, char **argv) { return 0; }
14728 if ac_fn_c_try_link
"$LINENO"; then :
14729 ac_cv_cflags__gstrict_dwarf
=yes
14731 ac_cv_cflags__gstrict_dwarf
=no
14733 rm -f core conftest.err conftest.
$ac_objext \
14734 conftest
$ac_exeext conftest.
$ac_ext
14735 CFLAGS
=$ac_wine_try_cflags_saved
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14738 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14739 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14740 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14746 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14747 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14748 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14749 $as_echo_n "(cached) " >&6
14751 ac_wine_try_cflags_saved
=$CFLAGS
14752 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14754 /* end confdefs.h. */
14755 int main(int argc, char **argv) { return 0; }
14757 if ac_fn_c_try_link
"$LINENO"; then :
14758 ac_cv_cflags__fno_omit_frame_pointer
=yes
14760 ac_cv_cflags__fno_omit_frame_pointer
=no
14762 rm -f core conftest.err conftest.
$ac_objext \
14763 conftest
$ac_exeext conftest.
$ac_ext
14764 CFLAGS
=$ac_wine_try_cflags_saved
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14767 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14768 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14769 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14774 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14775 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14776 if ${ac_cv_cflags__Wno_format+:} false
; then :
14777 $as_echo_n "(cached) " >&6
14779 ac_wine_try_cflags_saved
=$CFLAGS
14780 CFLAGS
="$CFLAGS -Wno-format"
14781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14782 /* end confdefs.h. */
14783 int main(int argc, char **argv) { return 0; }
14785 if ac_fn_c_try_link
"$LINENO"; then :
14786 ac_cv_cflags__Wno_format
=yes
14788 ac_cv_cflags__Wno_format
=no
14790 rm -f core conftest.err conftest.
$ac_objext \
14791 conftest
$ac_exeext conftest.
$ac_ext
14792 CFLAGS
=$ac_wine_try_cflags_saved
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14795 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14796 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14797 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14801 if test "x$enable_maintainer_mode" = "xyes"
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14804 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14805 if ${ac_cv_cflags__Werror+:} false
; then :
14806 $as_echo_n "(cached) " >&6
14808 ac_wine_try_cflags_saved
=$CFLAGS
14809 CFLAGS
="$CFLAGS -Werror"
14810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14811 /* end confdefs.h. */
14812 int main(int argc, char **argv) { return 0; }
14814 if ac_fn_c_try_link
"$LINENO"; then :
14815 ac_cv_cflags__Werror
=yes
14817 ac_cv_cflags__Werror
=no
14819 rm -f core conftest.err conftest.
$ac_objext \
14820 conftest
$ac_exeext conftest.
$ac_ext
14821 CFLAGS
=$ac_wine_try_cflags_saved
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14824 $as_echo "$ac_cv_cflags__Werror" >&6; }
14825 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14826 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14830 saved_CFLAGS
="$CFLAGS"
14831 CFLAGS
="$CFLAGS -Werror"
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14833 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14834 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14835 $as_echo_n "(cached) " >&6
14837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14838 /* end confdefs.h. */
14839 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14848 if ac_fn_c_try_compile
"$LINENO"; then :
14849 ac_cv_have_ms_hook_prologue
="yes"
14851 ac_cv_have_ms_hook_prologue
="no"
14853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14856 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14857 CFLAGS
="$saved_CFLAGS"
14858 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14861 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14864 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14871 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14872 if ${ac_cv_c_fortify_enabled+:} false
; then :
14873 $as_echo_n "(cached) " >&6
14875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14876 /* end confdefs.h. */
14877 #include <string.h>
14881 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14882 #error Fortify enabled
14888 if ac_fn_c_try_compile
"$LINENO"; then :
14889 ac_cv_c_fortify_enabled
=no
14891 ac_cv_c_fortify_enabled
=yes
14893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14896 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14897 if test "$ac_cv_c_fortify_enabled" = yes
14899 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14904 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14905 if ${ac_cv_c_extern_prefix+:} false
; then :
14906 $as_echo_n "(cached) " >&6
14908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14909 /* end confdefs.h. */
14910 extern int ac_test;
14914 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14919 if ac_fn_c_try_link
"$LINENO"; then :
14920 ac_cv_c_extern_prefix
="yes"
14922 ac_cv_c_extern_prefix
="no"
14924 rm -f core conftest.err conftest.
$ac_objext \
14925 conftest
$ac_exeext conftest.
$ac_ext
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14928 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14933 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14934 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14935 $as_echo_n "(cached) " >&6
14937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14938 /* end confdefs.h. */
14940 #define __stdcall __attribute__((__stdcall__))
14942 int __stdcall ac_test(int i) { return i; }
14946 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14951 if ac_fn_c_try_link
"$LINENO"; then :
14952 ac_cv_c_stdcall_suffix
="yes"
14954 ac_cv_c_stdcall_suffix
="no"
14956 rm -f core conftest.err conftest.
$ac_objext \
14957 conftest
$ac_exeext conftest.
$ac_ext
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14960 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14961 *) ac_cv_c_stdcall_suffix
="no" ;;
14965 if test "$ac_cv_c_extern_prefix" = "yes"
14967 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14969 asm_name_prefix
="_"
14971 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14977 if test "$ac_cv_c_stdcall_suffix" = "yes"
14979 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14982 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14988 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14989 if ${ac_cv_asm_func_def+:} false
; then :
14990 $as_echo_n "(cached) " >&6
14992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14993 /* end confdefs.h. */
14998 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15003 if ac_fn_c_try_link
"$LINENO"; then :
15004 ac_cv_asm_func_def
=".def"
15006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15007 /* end confdefs.h. */
15012 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15017 if ac_fn_c_try_link
"$LINENO"; then :
15018 ac_cv_asm_func_def
=".type @function"
15020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15021 /* end confdefs.h. */
15026 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15031 if ac_fn_c_try_link
"$LINENO"; then :
15032 ac_cv_asm_func_def
=".type 2"
15034 ac_cv_asm_func_def
="unknown"
15036 rm -f core conftest.err conftest.
$ac_objext \
15037 conftest
$ac_exeext conftest.
$ac_ext
15039 rm -f core conftest.err conftest.
$ac_objext \
15040 conftest
$ac_exeext conftest.
$ac_ext
15042 rm -f core conftest.err conftest.
$ac_objext \
15043 conftest
$ac_exeext conftest.
$ac_ext
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15046 $as_echo "$ac_cv_asm_func_def" >&6; }
15049 case "$ac_cv_asm_func_def" in
15051 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15053 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15055 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15057 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
15059 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15061 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
15063 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15065 asm_func_header
="" ;;
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15069 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15070 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
15071 $as_echo_n "(cached) " >&6
15073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15074 /* end confdefs.h. */
15075 asm(".text\n\t.long 0");
15084 if ac_fn_c_try_compile
"$LINENO"; then :
15085 ac_cv_c_asm_outside_funcs
="yes"
15087 ac_cv_c_asm_outside_funcs
="no"
15089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15092 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15095 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15096 if ${ac_cv_c_dot_previous+:} false
; then :
15097 $as_echo_n "(cached) " >&6
15099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15100 /* end confdefs.h. */
15105 asm(".text\nac_test:\t.long 0\n\t.previous");
15110 if ac_fn_c_try_link
"$LINENO"; then :
15111 ac_cv_c_dot_previous
="yes"
15113 ac_cv_c_dot_previous
="no"
15115 rm -f core conftest.err conftest.
$ac_objext \
15116 conftest
$ac_exeext conftest.
$ac_ext
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15119 $as_echo "$ac_cv_c_dot_previous" >&6; }
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15122 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15123 if ${ac_cv_c_cfi_support+:} false
; then :
15124 $as_echo_n "(cached) " >&6
15126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15127 /* end confdefs.h. */
15128 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15137 if ac_fn_c_try_compile
"$LINENO"; then :
15138 ac_cv_c_cfi_support
="yes"
15140 ac_cv_c_cfi_support
="no"
15142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15145 $as_echo "$ac_cv_c_cfi_support" >&6; }
15147 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15148 asm_func_trailer
=""
15149 if test "$ac_cv_c_dot_previous" = "yes"
15151 asm_func_trailer
="\\n\\t.previous"
15153 if test "$ac_cv_c_cfi_support" = "yes"
15155 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
15156 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
15158 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15160 UNWINDFLAGS
=-fasynchronous-unwind-tables
15163 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15165 if test "x$enable_win64" = "xyes"
15167 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15171 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
15174 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15176 cat >>confdefs.h
<<_ACEOF
15177 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15181 cat >>confdefs.h
<<_ACEOF
15182 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15187 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15190 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15195 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
15203 *i
[3456789]86*|x86_64
*)
15204 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
15205 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
15212 ac_save_CFLAGS
="$CFLAGS"
15213 CFLAGS
="$CFLAGS $BUILTINFLAG"
15293 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15294 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15295 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15296 cat >>confdefs.h
<<_ACEOF
15297 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15303 CFLAGS
="$ac_save_CFLAGS"
15305 if test "$ac_cv_func_dlopen" = no
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15308 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15309 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15310 $as_echo_n "(cached) " >&6
15312 ac_check_lib_save_LIBS
=$LIBS
15314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15315 /* end confdefs.h. */
15317 /* Override any GCC internal prototype to avoid an error.
15318 Use char because int might match the return type of a GCC
15319 builtin and then its argument prototype would still apply. */
15332 if ac_fn_c_try_link
"$LINENO"; then :
15333 ac_cv_lib_dl_dlopen
=yes
15335 ac_cv_lib_dl_dlopen
=no
15337 rm -f core conftest.err conftest.
$ac_objext \
15338 conftest
$ac_exeext conftest.
$ac_ext
15339 LIBS
=$ac_check_lib_save_LIBS
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15342 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15343 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15344 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15350 ac_wine_check_funcs_save_LIBS
="$LIBS"
15351 LIBS
="$LIBS $DL_LIBS"
15352 for ac_func
in dladdr
15354 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15355 if test "x$ac_cv_func_dladdr" = xyes
; then :
15356 cat >>confdefs.h
<<_ACEOF
15357 #define HAVE_DLADDR 1
15363 LIBS
="$ac_wine_check_funcs_save_LIBS"
15365 if test "$ac_cv_func_poll" = no
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15368 $as_echo_n "checking for poll in -lpoll... " >&6; }
15369 if ${ac_cv_lib_poll_poll+:} false
; then :
15370 $as_echo_n "(cached) " >&6
15372 ac_check_lib_save_LIBS
=$LIBS
15373 LIBS
="-lpoll $LIBS"
15374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15375 /* end confdefs.h. */
15377 /* Override any GCC internal prototype to avoid an error.
15378 Use char because int might match the return type of a GCC
15379 builtin and then its argument prototype would still apply. */
15392 if ac_fn_c_try_link
"$LINENO"; then :
15393 ac_cv_lib_poll_poll
=yes
15395 ac_cv_lib_poll_poll
=no
15397 rm -f core conftest.err conftest.
$ac_objext \
15398 conftest
$ac_exeext conftest.
$ac_ext
15399 LIBS
=$ac_check_lib_save_LIBS
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15402 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15403 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15404 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15412 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15413 if ${ac_cv_search_gethostbyname+:} false
; then :
15414 $as_echo_n "(cached) " >&6
15416 ac_func_search_save_LIBS
=$LIBS
15417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15418 /* end confdefs.h. */
15420 /* Override any GCC internal prototype to avoid an error.
15421 Use char because int might match the return type of a GCC
15422 builtin and then its argument prototype would still apply. */
15426 char gethostbyname ();
15430 return gethostbyname ();
15435 for ac_lib
in '' nsl
; do
15436 if test -z "$ac_lib"; then
15437 ac_res
="none required"
15440 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15442 if ac_fn_c_try_link
"$LINENO"; then :
15443 ac_cv_search_gethostbyname
=$ac_res
15445 rm -f core conftest.err conftest.
$ac_objext \
15447 if ${ac_cv_search_gethostbyname+:} false
; then :
15451 if ${ac_cv_search_gethostbyname+:} false
; then :
15454 ac_cv_search_gethostbyname
=no
15456 rm conftest.
$ac_ext
15457 LIBS
=$ac_func_search_save_LIBS
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15460 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15461 ac_res
=$ac_cv_search_gethostbyname
15462 if test "$ac_res" != no
; then :
15463 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15469 $as_echo_n "checking for library containing connect... " >&6; }
15470 if ${ac_cv_search_connect+:} false
; then :
15471 $as_echo_n "(cached) " >&6
15473 ac_func_search_save_LIBS
=$LIBS
15474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15475 /* end confdefs.h. */
15477 /* Override any GCC internal prototype to avoid an error.
15478 Use char because int might match the return type of a GCC
15479 builtin and then its argument prototype would still apply. */
15492 for ac_lib
in '' socket
; do
15493 if test -z "$ac_lib"; then
15494 ac_res
="none required"
15497 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15499 if ac_fn_c_try_link
"$LINENO"; then :
15500 ac_cv_search_connect
=$ac_res
15502 rm -f core conftest.err conftest.
$ac_objext \
15504 if ${ac_cv_search_connect+:} false
; then :
15508 if ${ac_cv_search_connect+:} false
; then :
15511 ac_cv_search_connect
=no
15513 rm conftest.
$ac_ext
15514 LIBS
=$ac_func_search_save_LIBS
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15517 $as_echo "$ac_cv_search_connect" >&6; }
15518 ac_res
=$ac_cv_search_connect
15519 if test "$ac_res" != no
; then :
15520 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15526 $as_echo_n "checking for library containing inet_aton... " >&6; }
15527 if ${ac_cv_search_inet_aton+:} false
; then :
15528 $as_echo_n "(cached) " >&6
15530 ac_func_search_save_LIBS
=$LIBS
15531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15532 /* end confdefs.h. */
15534 /* Override any GCC internal prototype to avoid an error.
15535 Use char because int might match the return type of a GCC
15536 builtin and then its argument prototype would still apply. */
15544 return inet_aton ();
15549 for ac_lib
in '' resolv
; do
15550 if test -z "$ac_lib"; then
15551 ac_res
="none required"
15554 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15556 if ac_fn_c_try_link
"$LINENO"; then :
15557 ac_cv_search_inet_aton
=$ac_res
15559 rm -f core conftest.err conftest.
$ac_objext \
15561 if ${ac_cv_search_inet_aton+:} false
; then :
15565 if ${ac_cv_search_inet_aton+:} false
; then :
15568 ac_cv_search_inet_aton
=no
15570 rm conftest.
$ac_ext
15571 LIBS
=$ac_func_search_save_LIBS
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15574 $as_echo "$ac_cv_search_inet_aton" >&6; }
15575 ac_res
=$ac_cv_search_inet_aton
15576 if test "$ac_res" != no
; then :
15577 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15597 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15598 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15599 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15600 cat >>confdefs.h
<<_ACEOF
15601 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15610 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15611 if ${ac_cv_search_clock_gettime+:} false
; then :
15612 $as_echo_n "(cached) " >&6
15614 ac_func_search_save_LIBS
=$LIBS
15615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15616 /* end confdefs.h. */
15618 /* Override any GCC internal prototype to avoid an error.
15619 Use char because int might match the return type of a GCC
15620 builtin and then its argument prototype would still apply. */
15624 char clock_gettime ();
15628 return clock_gettime ();
15633 for ac_lib
in '' rt
; do
15634 if test -z "$ac_lib"; then
15635 ac_res
="none required"
15638 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15640 if ac_fn_c_try_link
"$LINENO"; then :
15641 ac_cv_search_clock_gettime
=$ac_res
15643 rm -f core conftest.err conftest.
$ac_objext \
15645 if ${ac_cv_search_clock_gettime+:} false
; then :
15649 if ${ac_cv_search_clock_gettime+:} false
; then :
15652 ac_cv_search_clock_gettime
=no
15654 rm conftest.
$ac_ext
15655 LIBS
=$ac_func_search_save_LIBS
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15658 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15659 ac_res
=$ac_cv_search_clock_gettime
15660 if test "$ac_res" != no
; then :
15661 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15663 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15665 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15673 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15675 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15677 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15679 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15680 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15681 $as_echo_n "(cached) " >&6
15683 ac_check_lib_save_LIBS
=$LIBS
15684 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15686 /* end confdefs.h. */
15688 /* Override any GCC internal prototype to avoid an error.
15689 Use char because int might match the return type of a GCC
15690 builtin and then its argument prototype would still apply. */
15694 char ldap_initialize ();
15698 return ldap_initialize ();
15703 if ac_fn_c_try_link
"$LINENO"; then :
15704 ac_cv_lib_ldap_r_ldap_initialize
=yes
15706 ac_cv_lib_ldap_r_ldap_initialize
=no
15708 rm -f core conftest.err conftest.
$ac_objext \
15709 conftest
$ac_exeext conftest.
$ac_ext
15710 LIBS
=$ac_check_lib_save_LIBS
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15713 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15714 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15716 $as_echo_n "checking for ber_init in -llber... " >&6; }
15717 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15718 $as_echo_n "(cached) " >&6
15720 ac_check_lib_save_LIBS
=$LIBS
15721 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15723 /* end confdefs.h. */
15725 /* Override any GCC internal prototype to avoid an error.
15726 Use char because int might match the return type of a GCC
15727 builtin and then its argument prototype would still apply. */
15735 return ber_init ();
15740 if ac_fn_c_try_link
"$LINENO"; then :
15741 ac_cv_lib_lber_ber_init
=yes
15743 ac_cv_lib_lber_ber_init
=no
15745 rm -f core conftest.err conftest.
$ac_objext \
15746 conftest
$ac_exeext conftest.
$ac_ext
15747 LIBS
=$ac_check_lib_save_LIBS
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15750 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15751 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15753 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15755 LDAP_LIBS
="-lldap_r -llber"
15762 ac_wine_check_funcs_save_LIBS
="$LIBS"
15763 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15765 ldap_count_references \
15766 ldap_first_reference \
15767 ldap_next_reference \
15768 ldap_parse_reference \
15769 ldap_parse_sort_control \
15770 ldap_parse_sortresponse_control \
15771 ldap_parse_vlv_control \
15772 ldap_parse_vlvresponse_control
15774 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15775 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15776 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15777 cat >>confdefs.h
<<_ACEOF
15778 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15784 LIBS
="$ac_wine_check_funcs_save_LIBS"
15786 if test "x$LDAP_LIBS" = "x"; then :
15787 case "x$with_ldap" in
15788 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15790 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15791 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15797 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15798 if ${wine_cv_one_arg_mkdir+:} false
; then :
15799 $as_echo_n "(cached) " >&6
15801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15802 /* end confdefs.h. */
15803 #include <sys/stat.h>
15812 if ac_fn_c_try_compile
"$LINENO"; then :
15813 wine_cv_one_arg_mkdir
=yes
15815 wine_cv_one_arg_mkdir
=no
15817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15820 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15821 if test "$wine_cv_one_arg_mkdir" = "yes"
15824 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15829 $as_echo_n "checking for sched_setaffinity... " >&6; }
15830 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15831 $as_echo_n "(cached) " >&6
15833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15834 /* end confdefs.h. */
15835 #define _GNU_SOURCE
15840 sched_setaffinity(0, 0, 0);
15845 if ac_fn_c_try_link
"$LINENO"; then :
15846 wine_cv_have_sched_setaffinity
=yes
15848 wine_cv_have_sched_setaffinity
=no
15850 rm -f core conftest.err conftest.
$ac_objext \
15851 conftest
$ac_exeext conftest.
$ac_ext
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15854 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15855 if test "$wine_cv_have_sched_setaffinity" = "yes"
15858 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15863 $as_echo_n "checking for fallocate... " >&6; }
15864 if ${wine_cv_have_fallocate+:} false
; then :
15865 $as_echo_n "(cached) " >&6
15867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15868 /* end confdefs.h. */
15869 #define _GNU_SOURCE
15874 fallocate(-1, 0, 0, 0);
15879 if ac_fn_c_try_link
"$LINENO"; then :
15880 wine_cv_have_fallocate
=yes
15882 wine_cv_have_fallocate
=no
15884 rm -f core conftest.err conftest.
$ac_objext \
15885 conftest
$ac_exeext conftest.
$ac_ext
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15888 $as_echo "$wine_cv_have_fallocate" >&6; }
15889 if test "$wine_cv_have_fallocate" = "yes"
15892 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15898 $as_echo_n "checking for inline... " >&6; }
15899 if ${ac_cv_c_inline+:} false
; then :
15900 $as_echo_n "(cached) " >&6
15903 for ac_kw
in inline __inline__ __inline
; do
15904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15905 /* end confdefs.h. */
15906 #ifndef __cplusplus
15908 static $ac_kw foo_t static_foo () {return 0; }
15909 $ac_kw foo_t foo () {return 0; }
15913 if ac_fn_c_try_compile
"$LINENO"; then :
15914 ac_cv_c_inline
=$ac_kw
15916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15917 test "$ac_cv_c_inline" != no
&& break
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15922 $as_echo "$ac_cv_c_inline" >&6; }
15924 case $ac_cv_c_inline in
15927 case $ac_cv_c_inline in
15929 *) ac_val
=$ac_cv_c_inline;;
15931 cat >>confdefs.h
<<_ACEOF
15932 #ifndef __cplusplus
15933 #define inline $ac_val
15939 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15940 if test "x$ac_cv_type_mode_t" = xyes
; then :
15942 cat >>confdefs.h
<<_ACEOF
15943 #define HAVE_MODE_T 1
15948 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15949 if test "x$ac_cv_type_off_t" = xyes
; then :
15951 cat >>confdefs.h
<<_ACEOF
15952 #define HAVE_OFF_T 1
15957 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15958 if test "x$ac_cv_type_pid_t" = xyes
; then :
15960 cat >>confdefs.h
<<_ACEOF
15961 #define HAVE_PID_T 1
15966 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15967 if test "x$ac_cv_type_size_t" = xyes
; then :
15969 cat >>confdefs.h
<<_ACEOF
15970 #define HAVE_SIZE_T 1
15975 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15976 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15978 cat >>confdefs.h
<<_ACEOF
15979 #define HAVE_SSIZE_T 1
15984 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15985 if test "x$ac_cv_type_long_long" = xyes
; then :
15987 cat >>confdefs.h
<<_ACEOF
15988 #define HAVE_LONG_LONG 1
15993 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15994 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15996 cat >>confdefs.h
<<_ACEOF
15997 #define HAVE_FSBLKCNT_T 1
16002 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16003 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
16005 cat >>confdefs.h
<<_ACEOF
16006 #define HAVE_FSFILCNT_T 1
16012 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16013 #include <signal.h>
16015 if test "x$ac_cv_type_sigset_t" = xyes
; then :
16017 cat >>confdefs.h
<<_ACEOF
16018 #define HAVE_SIGSET_T 1
16024 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16026 if test "x$ac_cv_type_request_sense" = xyes
; then :
16028 cat >>confdefs.h
<<_ACEOF
16029 #define HAVE_REQUEST_SENSE 1
16036 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16037 #ifdef HAVE_SYS_SOCKET_H
16038 #include <sys/socket.h>
16040 #ifdef HAVE_SYS_SOCKETVAR_H
16041 #include <sys/socketvar.h>
16043 #ifdef HAVE_NET_ROUTE_H
16044 #include <net/route.h>
16046 #ifdef HAVE_NETINET_IN_H
16047 #include <netinet/in.h>
16049 #ifdef HAVE_NETINET_IN_SYSTM_H
16050 #include <netinet/in_systm.h>
16052 #ifdef HAVE_NETINET_IP_H
16053 #include <netinet/ip.h>
16055 #ifdef HAVE_NETINET_IN_PCB_H
16056 #include <netinet/in_pcb.h>
16059 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
16061 cat >>confdefs.h
<<_ACEOF
16062 #define HAVE_STRUCT_XINPGEN 1
16069 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16072 #ifdef HAVE_SYS_LINK_H
16073 #include <sys/link.h>
16076 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
16078 cat >>confdefs.h
<<_ACEOF
16079 #define HAVE_STRUCT_R_DEBUG 1
16084 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16087 #ifdef HAVE_SYS_LINK_H
16088 #include <sys/link.h>
16091 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
16093 cat >>confdefs.h
<<_ACEOF
16094 #define HAVE_STRUCT_LINK_MAP 1
16101 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16102 #include <linux/input.h>
16105 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
16107 cat >>confdefs.h
<<_ACEOF
16108 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16116 $as_echo_n "checking for sigaddset... " >&6; }
16117 if ${wine_cv_have_sigaddset+:} false
; then :
16118 $as_echo_n "(cached) " >&6
16120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16121 /* end confdefs.h. */
16122 #include <signal.h>
16126 sigset_t set; sigaddset(&set,SIGTERM);
16131 if ac_fn_c_try_link
"$LINENO"; then :
16132 wine_cv_have_sigaddset
=yes
16134 wine_cv_have_sigaddset
=no
16136 rm -f core conftest.err conftest.
$ac_objext \
16137 conftest
$ac_exeext conftest.
$ac_ext
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16140 $as_echo "$wine_cv_have_sigaddset" >&6; }
16141 if test "$wine_cv_have_sigaddset" = "yes"
16144 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16150 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16151 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
16152 $as_echo_n "(cached) " >&6
16154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16155 /* end confdefs.h. */
16163 struct hostent *result;
16170 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16171 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16177 if ac_fn_c_try_link
"$LINENO"; then :
16178 wine_cv_linux_gethostbyname_r_6
=yes
16180 wine_cv_linux_gethostbyname_r_6
=no
16183 rm -f core conftest.err conftest.
$ac_objext \
16184 conftest
$ac_exeext conftest.
$ac_ext
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16188 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16189 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16192 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16196 if test "$ac_cv_header_linux_joystick_h" = "yes"
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16199 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16200 if ${wine_cv_linux_joystick_22_api+:} false
; then :
16201 $as_echo_n "(cached) " >&6
16203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16204 /* end confdefs.h. */
16206 #include <sys/ioctl.h>
16207 #include <sys/types.h>
16208 #include <linux/joystick.h>
16210 struct js_event blub;
16211 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16212 #error "no 2.2 header"
16223 if ac_fn_c_try_compile
"$LINENO"; then :
16224 wine_cv_linux_joystick_22_api
=yes
16226 wine_cv_linux_joystick_22_api
=no
16228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16232 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16233 if test "$wine_cv_linux_joystick_22_api" = "yes"
16236 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16242 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16243 #ifdef HAVE_SYS_PARAM_H
16244 # include <sys/param.h>
16246 #ifdef HAVE_SYS_MOUNT_H
16247 # include <sys/mount.h>
16249 #ifdef HAVE_SYS_VFS_H
16250 # include <sys/vfs.h>
16252 #ifdef HAVE_SYS_STATFS_H
16253 # include <sys/statfs.h>
16256 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16258 cat >>confdefs.h
<<_ACEOF
16259 #define HAVE_STRUCT_STATFS_F_BFREE 1
16264 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16265 #ifdef HAVE_SYS_PARAM_H
16266 # include <sys/param.h>
16268 #ifdef HAVE_SYS_MOUNT_H
16269 # include <sys/mount.h>
16271 #ifdef HAVE_SYS_VFS_H
16272 # include <sys/vfs.h>
16274 #ifdef HAVE_SYS_STATFS_H
16275 # include <sys/statfs.h>
16278 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16280 cat >>confdefs.h
<<_ACEOF
16281 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16286 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16287 #ifdef HAVE_SYS_PARAM_H
16288 # include <sys/param.h>
16290 #ifdef HAVE_SYS_MOUNT_H
16291 # include <sys/mount.h>
16293 #ifdef HAVE_SYS_VFS_H
16294 # include <sys/vfs.h>
16296 #ifdef HAVE_SYS_STATFS_H
16297 # include <sys/statfs.h>
16300 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16302 cat >>confdefs.h
<<_ACEOF
16303 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16308 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16309 #ifdef HAVE_SYS_PARAM_H
16310 # include <sys/param.h>
16312 #ifdef HAVE_SYS_MOUNT_H
16313 # include <sys/mount.h>
16315 #ifdef HAVE_SYS_VFS_H
16316 # include <sys/vfs.h>
16318 #ifdef HAVE_SYS_STATFS_H
16319 # include <sys/statfs.h>
16322 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16324 cat >>confdefs.h
<<_ACEOF
16325 #define HAVE_STRUCT_STATFS_F_FFREE 1
16330 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16331 #ifdef HAVE_SYS_PARAM_H
16332 # include <sys/param.h>
16334 #ifdef HAVE_SYS_MOUNT_H
16335 # include <sys/mount.h>
16337 #ifdef HAVE_SYS_VFS_H
16338 # include <sys/vfs.h>
16340 #ifdef HAVE_SYS_STATFS_H
16341 # include <sys/statfs.h>
16344 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16346 cat >>confdefs.h
<<_ACEOF
16347 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16352 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16353 #ifdef HAVE_SYS_PARAM_H
16354 # include <sys/param.h>
16356 #ifdef HAVE_SYS_MOUNT_H
16357 # include <sys/mount.h>
16359 #ifdef HAVE_SYS_VFS_H
16360 # include <sys/vfs.h>
16362 #ifdef HAVE_SYS_STATFS_H
16363 # include <sys/statfs.h>
16366 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16368 cat >>confdefs.h
<<_ACEOF
16369 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16376 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16377 #include <sys/statvfs.h>
16380 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16382 cat >>confdefs.h
<<_ACEOF
16383 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16390 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16391 #include <dirent.h>
16394 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16396 cat >>confdefs.h
<<_ACEOF
16397 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16404 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16405 #ifdef HAVE_SYS_SOCKET_H
16406 # include <sys/socket.h>
16408 #ifdef HAVE_SYS_UN_H
16409 # include <sys/un.h>
16412 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16414 cat >>confdefs.h
<<_ACEOF
16415 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16420 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16421 #ifdef HAVE_SYS_SOCKET_H
16422 # include <sys/socket.h>
16424 #ifdef HAVE_SYS_UN_H
16425 # include <sys/un.h>
16428 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16430 cat >>confdefs.h
<<_ACEOF
16431 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16436 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16437 #ifdef HAVE_SYS_SOCKET_H
16438 # include <sys/socket.h>
16440 #ifdef HAVE_SYS_UN_H
16441 # include <sys/un.h>
16444 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16446 cat >>confdefs.h
<<_ACEOF
16447 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16454 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16455 #ifdef HAVE_SCSI_SG_H
16456 #include <scsi/sg.h>
16459 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16461 cat >>confdefs.h
<<_ACEOF
16462 #define HAVE_SCSIREQ_T_CMD 1
16467 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>
16468 #ifdef HAVE_SCSI_SG_H
16469 #include <scsi/sg.h>
16472 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16474 cat >>confdefs.h
<<_ACEOF
16475 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16482 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16484 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16486 cat >>confdefs.h
<<_ACEOF
16487 #define HAVE_SIGINFO_T_SI_FD 1
16494 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16495 #ifdef HAVE_SYS_MTIO_H
16496 #include <sys/mtio.h>
16499 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16501 cat >>confdefs.h
<<_ACEOF
16502 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16507 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16508 #ifdef HAVE_SYS_MTIO_H
16509 #include <sys/mtio.h>
16512 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16514 cat >>confdefs.h
<<_ACEOF
16515 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16520 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16521 #ifdef HAVE_SYS_MTIO_H
16522 #include <sys/mtio.h>
16525 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16527 cat >>confdefs.h
<<_ACEOF
16528 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16535 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16536 #include <getopt.h>
16539 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16541 cat >>confdefs.h
<<_ACEOF
16542 #define HAVE_STRUCT_OPTION_NAME 1
16549 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16550 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16552 cat >>confdefs.h
<<_ACEOF
16553 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16558 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16559 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16561 cat >>confdefs.h
<<_ACEOF
16562 #define HAVE_STRUCT_STAT_ST_MTIM 1
16567 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16568 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16570 cat >>confdefs.h
<<_ACEOF
16571 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16576 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16577 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16579 cat >>confdefs.h
<<_ACEOF
16580 #define HAVE_STRUCT_STAT_ST_CTIM 1
16585 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16586 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16588 cat >>confdefs.h
<<_ACEOF
16589 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16594 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16595 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16597 cat >>confdefs.h
<<_ACEOF
16598 #define HAVE_STRUCT_STAT_ST_ATIM 1
16603 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16604 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16606 cat >>confdefs.h
<<_ACEOF
16607 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16612 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16613 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16615 cat >>confdefs.h
<<_ACEOF
16616 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16621 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16622 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16624 cat >>confdefs.h
<<_ACEOF
16625 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16630 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16631 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16633 cat >>confdefs.h
<<_ACEOF
16634 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16639 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16640 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16642 cat >>confdefs.h
<<_ACEOF
16643 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16648 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16649 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16651 cat >>confdefs.h
<<_ACEOF
16652 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16659 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
16660 #include <sys/types.h>
16662 #ifdef HAVE_NETINET_IN_H
16663 #include <netinet/in.h>
16666 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16668 cat >>confdefs.h
<<_ACEOF
16669 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16676 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16677 #include <resolv.h>
16680 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16682 cat >>confdefs.h
<<_ACEOF
16683 #define HAVE_STRUCT___RES_STATE 1
16690 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
16691 #include <resolv.h>
16694 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16696 cat >>confdefs.h
<<_ACEOF
16697 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16704 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16705 #include <sys/types.h>
16707 #ifdef HAVE_NETINET_IN_H
16708 # include <netinet/in.h>
16710 #ifdef HAVE_ARPA_NAMESER_H
16711 # include <arpa/nameser.h>
16714 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16716 cat >>confdefs.h
<<_ACEOF
16717 #define HAVE_NS_MSG__MSG_PTR 1
16724 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16725 #include <sys/types.h>
16727 #ifdef HAVE_NETINET_IP_H
16728 #include <netinet/ip.h>
16730 #ifdef HAVE_NETINET_IP_ICMP_H
16731 #include <netinet/ip_icmp.h>
16733 #ifdef HAVE_NETINET_ICMP_VAR_H
16734 #include <netinet/icmp_var.h>
16737 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16739 cat >>confdefs.h
<<_ACEOF
16740 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16747 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16748 #include <sys/types.h>
16750 #ifdef HAVE_ALIAS_H
16753 #ifdef HAVE_SYS_SOCKET_H
16754 #include <sys/socket.h>
16756 #ifdef HAVE_SYS_SOCKETVAR_H
16757 #include <sys/socketvar.h>
16759 #ifdef HAVE_SYS_TIMEOUT_H
16760 #include <sys/timeout.h>
16762 #ifdef HAVE_NETINET_IN_H
16763 #include <netinet/in.h>
16765 #ifdef HAVE_NETINET_IN_SYSTM_H
16766 #include <netinet/in_systm.h>
16768 #ifdef HAVE_NETINET_IP_H
16769 #include <netinet/ip.h>
16771 #ifdef HAVE_NETINET_IP_VAR_H
16772 #include <netinet/ip_var.h>
16774 #ifdef HAVE_NETINET_IP_ICMP_H
16775 #include <netinet/ip_icmp.h>
16777 #ifdef HAVE_NETINET_ICMP_VAR_H
16778 #include <netinet/icmp_var.h>
16781 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16783 cat >>confdefs.h
<<_ACEOF
16784 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16791 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16792 #include <sys/types.h>
16794 #ifdef HAVE_SYS_SOCKETVAR_H
16795 #include <sys/socketvar.h>
16797 #ifdef HAVE_NETINET_IN_H
16798 #include <netinet/in.h>
16800 #ifdef HAVE_NETINET_IP_VAR_H
16801 #include <netinet/ip_var.h>
16804 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16806 cat >>confdefs.h
<<_ACEOF
16807 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16814 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
16815 #include <netinet/ip_var.h>
16818 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16820 cat >>confdefs.h
<<_ACEOF
16821 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16828 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16829 #include <sys/types.h>
16831 #ifdef HAVE_SYS_SOCKETVAR_H
16832 #include <sys/socketvar.h>
16834 #ifdef HAVE_NETINET_IN_H
16835 #include <netinet/in.h>
16837 #ifdef HAVE_NETINET_TCP_H
16838 #include <netinet/tcp.h>
16840 #ifdef HAVE_NETINET_TCP_VAR_H
16841 #include <netinet/tcp_var.h>
16844 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16846 cat >>confdefs.h
<<_ACEOF
16847 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16854 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
16855 #include <netinet/tcp_var.h>
16858 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16860 cat >>confdefs.h
<<_ACEOF
16861 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16868 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16869 #include <sys/types.h>
16871 #ifdef HAVE_NETINET_IN_H
16872 #include <netinet/in.h>
16874 #ifdef HAVE_NETINET_IP_VAR_H
16875 #include <netinet/ip_var.h>
16877 #ifdef HAVE_NETINET_UDP_H
16878 #include <netinet/udp.h>
16880 #ifdef HAVE_NETINET_UDP_VAR_H
16881 #include <netinet/udp_var.h>
16884 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16886 cat >>confdefs.h
<<_ACEOF
16887 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16894 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16895 #include <sys/types.h>
16897 #ifdef HAVE_NET_IF_H
16898 # include <net/if.h>
16901 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16903 cat >>confdefs.h
<<_ACEOF
16904 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16912 $as_echo_n "checking for timezone variable... " >&6; }
16913 if ${ac_cv_have_timezone+:} false
; then :
16914 $as_echo_n "(cached) " >&6
16916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16917 /* end confdefs.h. */
16927 if ac_fn_c_try_link
"$LINENO"; then :
16928 ac_cv_have_timezone
="yes"
16930 ac_cv_have_timezone
="no"
16932 rm -f core conftest.err conftest.
$ac_objext \
16933 conftest
$ac_exeext conftest.
$ac_ext
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16936 $as_echo "$ac_cv_have_timezone" >&6; }
16937 if test "$ac_cv_have_timezone" = "yes"
16940 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16944 $as_echo_n "checking for daylight variable... " >&6; }
16945 if ${ac_cv_have_daylight+:} false
; then :
16946 $as_echo_n "(cached) " >&6
16948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16949 /* end confdefs.h. */
16959 if ac_fn_c_try_link
"$LINENO"; then :
16960 ac_cv_have_daylight
="yes"
16962 ac_cv_have_daylight
="no"
16964 rm -f core conftest.err conftest.
$ac_objext \
16965 conftest
$ac_exeext conftest.
$ac_ext
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16968 $as_echo "$ac_cv_have_daylight" >&6; }
16969 if test "$ac_cv_have_daylight" = "yes"
16972 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16976 ac_save_LIBS
="$LIBS"
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16979 $as_echo_n "checking for isfinite... " >&6; }
16980 if ${ac_cv_have_isfinite+:} false
; then :
16981 $as_echo_n "(cached) " >&6
16983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16984 /* end confdefs.h. */
16985 #define _GNU_SOURCE
16990 float f = 0.0; return isfinite(f)
16995 if ac_fn_c_try_link
"$LINENO"; then :
16996 ac_cv_have_isfinite
="yes"
16998 ac_cv_have_isfinite
="no"
17000 rm -f core conftest.err conftest.
$ac_objext \
17001 conftest
$ac_exeext conftest.
$ac_ext
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17004 $as_echo "$ac_cv_have_isfinite" >&6; }
17005 if test "$ac_cv_have_isfinite" = "yes"
17008 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17013 $as_echo_n "checking for isinf... " >&6; }
17014 if ${ac_cv_have_isinf+:} false
; then :
17015 $as_echo_n "(cached) " >&6
17017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17018 /* end confdefs.h. */
17023 float f = 0.0; return isinf(f)
17028 if ac_fn_c_try_link
"$LINENO"; then :
17029 ac_cv_have_isinf
="yes"
17031 ac_cv_have_isinf
="no"
17033 rm -f core conftest.err conftest.
$ac_objext \
17034 conftest
$ac_exeext conftest.
$ac_ext
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17037 $as_echo "$ac_cv_have_isinf" >&6; }
17038 if test "$ac_cv_have_isinf" = "yes"
17041 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17046 $as_echo_n "checking for isnan... " >&6; }
17047 if ${ac_cv_have_isnan+:} false
; then :
17048 $as_echo_n "(cached) " >&6
17050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17051 /* end confdefs.h. */
17056 float f = 0.0; return isnan(f)
17061 if ac_fn_c_try_link
"$LINENO"; then :
17062 ac_cv_have_isnan
="yes"
17064 ac_cv_have_isnan
="no"
17066 rm -f core conftest.err conftest.
$ac_objext \
17067 conftest
$ac_exeext conftest.
$ac_ext
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17070 $as_echo "$ac_cv_have_isnan" >&6; }
17071 if test "$ac_cv_have_isnan" = "yes"
17074 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17110 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17111 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17112 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17113 cat >>confdefs.h
<<_ACEOF
17114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17120 LIBS
="$ac_save_LIBS"
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17123 $as_echo_n "checking for __builtin_clz... " >&6; }
17124 if ${ac_cv_have___builtin_clz+:} false
; then :
17125 $as_echo_n "(cached) " >&6
17127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17128 /* end confdefs.h. */
17133 return __builtin_clz(1)
17138 if ac_fn_c_try_link
"$LINENO"; then :
17139 ac_cv_have___builtin_clz
="yes"
17141 ac_cv_have___builtin_clz
="no"
17143 rm -f core conftest.err conftest.
$ac_objext \
17144 conftest
$ac_exeext conftest.
$ac_ext
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17147 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17148 if test "$ac_cv_have___builtin_clz" = "yes"
17151 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17156 $as_echo_n "checking for __builtin_popcount... " >&6; }
17157 if ${ac_cv_have___builtin_popcount+:} false
; then :
17158 $as_echo_n "(cached) " >&6
17160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17161 /* end confdefs.h. */
17166 return __builtin_popcount(1)
17171 if ac_fn_c_try_link
"$LINENO"; then :
17172 ac_cv_have___builtin_popcount
="yes"
17174 ac_cv_have___builtin_popcount
="no"
17176 rm -f core conftest.err conftest.
$ac_objext \
17177 conftest
$ac_exeext conftest.
$ac_ext
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17180 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17181 if test "$ac_cv_have___builtin_popcount" = "yes"
17184 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17190 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17191 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17192 if ${ac_cv_cpp_def___i386__+:} false
; then :
17193 $as_echo_n "(cached) " >&6
17195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17196 /* end confdefs.h. */
17201 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17202 $EGREP "yes" >/dev
/null
2>&1; then :
17203 ac_cv_cpp_def___i386__
=yes
17205 ac_cv_cpp_def___i386__
=no
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17211 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17212 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
17213 CFLAGS
="$CFLAGS -D__i386__"
17214 LINTFLAGS
="$LINTFLAGS -D__i386__"
17216 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17217 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17218 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
17219 $as_echo_n "(cached) " >&6
17221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17222 /* end confdefs.h. */
17227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17228 $EGREP "yes" >/dev
/null
2>&1; then :
17229 ac_cv_cpp_def___x86_64__
=yes
17231 ac_cv_cpp_def___x86_64__
=no
17236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17237 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17238 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
17239 CFLAGS
="$CFLAGS -D__x86_64__"
17240 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
17242 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17243 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17244 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
17245 $as_echo_n "(cached) " >&6
17247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17248 /* end confdefs.h. */
17249 #ifndef __sparc64__
17253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17254 $EGREP "yes" >/dev
/null
2>&1; then :
17255 ac_cv_cpp_def___sparc64__
=yes
17257 ac_cv_cpp_def___sparc64__
=no
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17263 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17264 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
17265 CFLAGS
="$CFLAGS -D__sparc64__"
17266 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
17268 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17269 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17270 if ${ac_cv_cpp_def___sparc__+:} false
; then :
17271 $as_echo_n "(cached) " >&6
17273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17274 /* end confdefs.h. */
17279 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17280 $EGREP "yes" >/dev
/null
2>&1; then :
17281 ac_cv_cpp_def___sparc__
=yes
17283 ac_cv_cpp_def___sparc__
=no
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17289 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17290 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
17291 CFLAGS
="$CFLAGS -D__sparc__"
17292 LINTFLAGS
="$LINTFLAGS -D__sparc__"
17294 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17295 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17296 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
17297 $as_echo_n "(cached) " >&6
17299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17300 /* end confdefs.h. */
17301 #ifndef __powerpc64__
17305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17306 $EGREP "yes" >/dev
/null
2>&1; then :
17307 ac_cv_cpp_def___powerpc64__
=yes
17309 ac_cv_cpp_def___powerpc64__
=no
17314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17315 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17316 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
17317 CFLAGS
="$CFLAGS -D__powerpc64__"
17318 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
17320 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17321 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17322 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
17323 $as_echo_n "(cached) " >&6
17325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17326 /* end confdefs.h. */
17327 #ifndef __powerpc__
17331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17332 $EGREP "yes" >/dev
/null
2>&1; then :
17333 ac_cv_cpp_def___powerpc__
=yes
17335 ac_cv_cpp_def___powerpc__
=no
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17341 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17342 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
17343 CFLAGS
="$CFLAGS -D__powerpc__"
17344 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
17346 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17347 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17348 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
17349 $as_echo_n "(cached) " >&6
17351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17352 /* end confdefs.h. */
17353 #ifndef __aarch64__
17357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17358 $EGREP "yes" >/dev
/null
2>&1; then :
17359 ac_cv_cpp_def___aarch64__
=yes
17361 ac_cv_cpp_def___aarch64__
=no
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17367 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17368 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17369 CFLAGS
="$CFLAGS -D__aarch64__"
17370 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17372 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17373 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17374 if ${ac_cv_cpp_def___arm__+:} false
; then :
17375 $as_echo_n "(cached) " >&6
17377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17378 /* end confdefs.h. */
17383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17384 $EGREP "yes" >/dev
/null
2>&1; then :
17385 ac_cv_cpp_def___arm__
=yes
17387 ac_cv_cpp_def___arm__
=no
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17393 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17394 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17395 CFLAGS
="$CFLAGS -D__arm__"
17396 LINTFLAGS
="$LINTFLAGS -D__arm__"
17400 case $host_vendor in
17401 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17402 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17403 if ${ac_cv_cpp_def___sun__+:} false
; then :
17404 $as_echo_n "(cached) " >&6
17406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17407 /* end confdefs.h. */
17412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17413 $EGREP "yes" >/dev
/null
2>&1; then :
17414 ac_cv_cpp_def___sun__
=yes
17416 ac_cv_cpp_def___sun__
=no
17421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17422 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17423 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17424 CFLAGS
="$CFLAGS -D__sun__"
17425 LINTFLAGS
="$LINTFLAGS -D__sun__"
17433 ac_config_commands
="$ac_config_commands include/stamp-h"
17435 $as_echo_n "creating Makefile rules..." >&6
17437 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17438 SOCKET_LIBS = $SOCKET_LIBS
17439 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17440 IOKIT_LIBS = $IOKIT_LIBS
17441 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17442 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17443 CORESERVICES_LIBS = $CORESERVICES_LIBS
17444 APPKIT_LIBS = $APPKIT_LIBS
17445 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17446 SECURITY_LIBS = $SECURITY_LIBS
17447 COREAUDIO_LIBS = $COREAUDIO_LIBS
17448 OPENAL_LIBS = $OPENAL_LIBS
17449 OPENCL_LIBS = $OPENCL_LIBS
17450 QUICKTIME_LIBS = $QUICKTIME_LIBS
17451 CARBON_LIBS = $CARBON_LIBS
17452 PTHREAD_LIBS = $PTHREAD_LIBS
17453 X_CFLAGS = $X_CFLAGS
17454 X_PRE_LIBS = $X_PRE_LIBS
17456 X_EXTRA_LIBS = $X_EXTRA_LIBS
17457 PCAP_LIBS = $PCAP_LIBS
17458 XML2_CFLAGS = $XML2_CFLAGS
17459 XML2_LIBS = $XML2_LIBS
17460 XSLT_CFLAGS = $XSLT_CFLAGS
17461 XSLT_LIBS = $XSLT_LIBS
17462 DBUS_CFLAGS = $DBUS_CFLAGS
17463 DBUS_LIBS = $DBUS_LIBS
17464 HAL_CFLAGS = $HAL_CFLAGS
17465 HAL_LIBS = $HAL_LIBS
17466 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17467 GNUTLS_LIBS = $GNUTLS_LIBS
17468 SANE_CFLAGS = $SANE_CFLAGS
17469 SANE_LIBS = $SANE_LIBS
17470 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17471 GPHOTO2_LIBS = $GPHOTO2_LIBS
17472 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17473 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17474 RESOLV_LIBS = $RESOLV_LIBS
17475 LCMS2_CFLAGS = $LCMS2_CFLAGS
17476 LCMS2_LIBS = $LCMS2_LIBS
17477 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17478 FREETYPE_LIBS = $FREETYPE_LIBS
17480 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17481 PULSE_CFLAGS = $PULSE_CFLAGS
17482 PULSE_LIBS = $PULSE_LIBS
17483 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17484 GSTREAMER_LIBS = $GSTREAMER_LIBS
17485 ALSA_LIBS = $ALSA_LIBS
17486 OSS4_CFLAGS = $OSS4_CFLAGS
17487 UDEV_CFLAGS = $UDEV_CFLAGS
17488 UDEV_LIBS = $UDEV_LIBS
17489 CAPI20_CFLAGS = $CAPI20_CFLAGS
17490 CAPI20_LIBS = $CAPI20_LIBS
17491 CUPS_CFLAGS = $CUPS_CFLAGS
17492 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17493 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17494 JPEG_CFLAGS = $JPEG_CFLAGS
17495 JPEG_LIBS = $JPEG_LIBS
17496 PNG_CFLAGS = $PNG_CFLAGS
17497 PNG_LIBS = $PNG_LIBS
17498 TIFF_CFLAGS = $TIFF_CFLAGS
17499 TIFF_LIBS = $TIFF_LIBS
17500 MPG123_CFLAGS = $MPG123_CFLAGS
17501 MPG123_LIBS = $MPG123_LIBS
17502 KSTAT_LIBS = $KSTAT_LIBS
17503 PROCSTAT_LIBS = $PROCSTAT_LIBS
17504 NETAPI_CFLAGS = $NETAPI_CFLAGS
17505 NETAPI_LIBS = $NETAPI_LIBS
17506 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17508 POLL_LIBS = $POLL_LIBS
17510 LDAP_LIBS = $LDAP_LIBS
17515 wine_fn_append_rule
"
17516 # Rules automatically generated by configure
17518 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17523 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17524 @./config.status Make.tmp Makefile
17525 depend: \$(MAKEDEP) dummy
17528 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17529 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17531 if test "x$enable_fonts" != xno
; then
17532 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17533 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17534 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17535 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17536 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17537 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17539 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17540 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17541 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17542 wine_fn_config_symlink wine
17543 if test "x$enable_win64" != xno
; then
17544 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17545 wine_fn_config_symlink wine64
17548 wine_fn_config_dll acledit enable_acledit
17549 wine_fn_config_dll aclui enable_aclui implib
17550 wine_fn_config_dll activeds enable_activeds implib
17551 wine_fn_config_dll actxprxy enable_actxprxy clean
17552 wine_fn_config_lib adsiid
17553 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17554 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17555 wine_fn_config_dll advpack enable_advpack implib
17556 wine_fn_config_test dlls
/advpack
/tests advpack_test
17557 wine_fn_config_dll amstream enable_amstream clean
17558 wine_fn_config_test dlls
/amstream
/tests amstream_test
17559 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17560 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17561 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17562 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17563 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17564 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17565 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17566 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17567 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17568 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17569 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17570 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17571 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17572 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17573 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17574 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17575 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17576 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17577 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17578 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17579 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17580 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17581 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17582 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17583 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17584 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17585 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17586 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17587 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17588 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17590 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17591 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17592 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17594 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17595 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17596 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17597 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17598 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17599 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17600 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17601 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17602 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17603 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17604 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17605 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17606 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17607 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17608 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17609 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17610 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17611 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17613 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17616 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17617 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17619 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17620 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17621 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17622 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17624 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17626 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17627 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17629 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17630 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17634 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17635 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17638 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17640 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17641 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17643 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17645 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17646 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17647 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17649 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17651 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17654 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17655 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17661 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17662 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17663 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17664 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17665 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17666 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17667 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17668 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17669 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17670 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17671 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17672 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17673 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17674 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17675 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17676 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17677 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17678 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17679 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17680 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17681 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17682 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17683 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17684 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17685 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17686 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17687 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17688 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17689 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17690 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17691 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17692 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17693 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17694 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17695 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17696 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17697 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17698 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17699 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17700 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17701 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17702 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17703 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17704 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17705 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17706 wine_fn_config_dll apphelp enable_apphelp
17707 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17708 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17709 wine_fn_config_dll atl enable_atl clean
,implib
17710 wine_fn_config_test dlls
/atl
/tests atl_test
17711 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17712 wine_fn_config_test dlls
/atl100
/tests atl100_test
17713 wine_fn_config_dll atl110 enable_atl110 clean
17714 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17715 wine_fn_config_test dlls
/atl80
/tests atl80_test
17716 wine_fn_config_dll atl90 enable_atl90 clean
17717 wine_fn_config_dll authz enable_authz
17718 wine_fn_config_dll avicap32 enable_avicap32 implib
17719 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
17720 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17721 wine_fn_config_dll avifile.dll16 enable_win16
17722 wine_fn_config_dll avrt enable_avrt implib
17723 wine_fn_config_dll bcrypt enable_bcrypt implib
17724 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17725 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17726 wine_fn_config_dll browseui enable_browseui clean
17727 wine_fn_config_test dlls
/browseui
/tests browseui_test
17728 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17729 wine_fn_config_dll cabinet enable_cabinet implib
17730 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17731 wine_fn_config_dll capi2032 enable_capi2032 implib
17732 wine_fn_config_dll cards enable_cards implib
17733 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17734 wine_fn_config_dll clusapi enable_clusapi implib
17735 wine_fn_config_dll combase enable_combase
17736 wine_fn_config_test dlls
/combase
/tests combase_test
17737 wine_fn_config_dll comcat enable_comcat
17738 wine_fn_config_test dlls
/comcat
/tests comcat_test
17739 wine_fn_config_dll comctl32 enable_comctl32 clean
,implib
17740 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17741 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
17742 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17743 wine_fn_config_dll
comm.drv16 enable_win16
17744 wine_fn_config_dll commdlg.dll16 enable_win16
17745 wine_fn_config_dll compobj.dll16 enable_win16
17746 wine_fn_config_dll compstui enable_compstui implib
17747 wine_fn_config_dll comsvcs enable_comsvcs implib
17748 wine_fn_config_dll concrt140 enable_concrt140
17749 wine_fn_config_dll connect enable_connect
17750 wine_fn_config_dll credui enable_credui clean
,implib
17751 wine_fn_config_test dlls
/credui
/tests credui_test
17752 wine_fn_config_dll crtdll enable_crtdll
17753 wine_fn_config_dll crypt32 enable_crypt32 clean
,implib
17754 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17755 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17756 wine_fn_config_dll cryptdll enable_cryptdll implib
17757 wine_fn_config_dll cryptext enable_cryptext
17758 wine_fn_config_dll cryptnet enable_cryptnet implib
17759 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17760 wine_fn_config_dll cryptui enable_cryptui clean
,implib
17761 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17762 wine_fn_config_dll ctapi32 enable_ctapi32
17763 wine_fn_config_dll ctl3d.dll16 enable_win16
17764 wine_fn_config_dll ctl3d32 enable_ctl3d32
17765 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17766 wine_fn_config_dll d2d1 enable_d2d1 implib
17767 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17768 wine_fn_config_dll d3d10 enable_d3d10 implib
17769 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17770 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17771 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
17772 wine_fn_config_dll d3d10core enable_d3d10core implib
17773 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17774 wine_fn_config_dll d3d11 enable_d3d11 implib
17775 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17776 wine_fn_config_dll d3d8 enable_d3d8 implib
17777 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17778 wine_fn_config_dll d3d9 enable_d3d9 implib
17779 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17780 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17781 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17782 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17783 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17784 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17785 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17786 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17787 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17788 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17789 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17790 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17791 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17792 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17793 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17794 wine_fn_config_dll d3dim enable_d3dim
17795 wine_fn_config_dll d3drm enable_d3drm implib
17796 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17797 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17798 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17799 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17800 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17801 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17802 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17803 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17804 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17805 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17806 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17807 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17808 wine_fn_config_test dlls
/d3dx10_43
/tests d3dx10_43_test
17809 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17810 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17811 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17812 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17813 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17814 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17815 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17816 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17817 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17818 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17819 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17820 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17821 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17822 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17823 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17824 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17825 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17826 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17827 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17828 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17829 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17830 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17831 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17832 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17833 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17834 wine_fn_config_dll davclnt enable_davclnt
17835 wine_fn_config_dll dbgeng enable_dbgeng implib
17836 wine_fn_config_dll dbghelp enable_dbghelp implib
17837 wine_fn_config_dll dciman32 enable_dciman32 implib
17838 wine_fn_config_dll ddeml.dll16 enable_win16
17839 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17840 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17841 wine_fn_config_dll ddrawex enable_ddrawex clean
17842 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17843 wine_fn_config_dll devenum enable_devenum clean
17844 wine_fn_config_test dlls
/devenum
/tests devenum_test
17845 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17846 wine_fn_config_dll difxapi enable_difxapi
17847 wine_fn_config_dll dinput enable_dinput clean
,implib
,staticimplib
17848 wine_fn_config_test dlls
/dinput
/tests dinput_test
17849 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17850 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17851 wine_fn_config_dll dispdib.dll16 enable_win16
17852 wine_fn_config_dll dispex enable_dispex clean
17853 wine_fn_config_test dlls
/dispex
/tests dispex_test
17854 wine_fn_config_dll display.drv16 enable_win16
17855 wine_fn_config_dll dmband enable_dmband clean
17856 wine_fn_config_test dlls
/dmband
/tests dmband_test
17857 wine_fn_config_dll dmcompos enable_dmcompos clean
17858 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17859 wine_fn_config_dll dmime enable_dmime clean
17860 wine_fn_config_test dlls
/dmime
/tests dmime_test
17861 wine_fn_config_dll dmloader enable_dmloader clean
17862 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17863 wine_fn_config_dll dmscript enable_dmscript clean
17864 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17865 wine_fn_config_dll dmstyle enable_dmstyle clean
17866 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17867 wine_fn_config_dll dmsynth enable_dmsynth clean
17868 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17869 wine_fn_config_dll dmusic enable_dmusic clean
17870 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17871 wine_fn_config_dll dmusic32 enable_dmusic32
17872 wine_fn_config_dll dnsapi enable_dnsapi implib
17873 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17874 wine_fn_config_dll dplay enable_dplay
17875 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17876 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17877 wine_fn_config_dll dpnaddr enable_dpnaddr
17878 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17879 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17880 wine_fn_config_dll dpnhpast enable_dpnhpast
17881 wine_fn_config_dll dpnlobby enable_dpnlobby
17882 wine_fn_config_dll dpvoice enable_dpvoice clean
17883 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17884 wine_fn_config_dll dpwsockx enable_dpwsockx
17885 wine_fn_config_dll drmclien enable_drmclien
17886 wine_fn_config_dll dsound enable_dsound clean
,implib
17887 wine_fn_config_test dlls
/dsound
/tests dsound_test
17888 wine_fn_config_dll dssenh enable_dssenh
17889 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17890 wine_fn_config_dll dswave enable_dswave clean
17891 wine_fn_config_test dlls
/dswave
/tests dswave_test
17892 wine_fn_config_dll dwmapi enable_dwmapi implib
17893 wine_fn_config_dll dwrite enable_dwrite implib
17894 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17895 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17896 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17897 wine_fn_config_lib dxerr8
17898 wine_fn_config_lib dxerr9
17899 wine_fn_config_dll dxgi enable_dxgi implib
17900 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17901 wine_fn_config_lib dxguid
17902 wine_fn_config_dll dxva2 enable_dxva2
17903 wine_fn_config_dll esent enable_esent
17904 wine_fn_config_dll evr enable_evr
17905 wine_fn_config_dll explorerframe enable_explorerframe clean
17906 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17907 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17908 wine_fn_config_dll faultrep enable_faultrep implib
17909 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17910 wine_fn_config_dll fltlib enable_fltlib
17911 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17912 wine_fn_config_dll fntcache enable_fntcache
17913 wine_fn_config_dll fontsub enable_fontsub
17914 wine_fn_config_dll fusion enable_fusion
17915 wine_fn_config_test dlls
/fusion
/tests fusion_test
17916 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17917 wine_fn_config_dll gameux enable_gameux clean
17918 wine_fn_config_test dlls
/gameux
/tests gameux_test
17919 wine_fn_config_dll gdi.exe16 enable_win16
17920 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
17921 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17922 wine_fn_config_dll gdiplus enable_gdiplus implib
17923 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17924 wine_fn_config_dll glu32 enable_glu32 implib
17925 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17926 wine_fn_config_dll gpkcsp enable_gpkcsp
17927 wine_fn_config_dll hal enable_hal
17928 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib htmlhelp
17929 wine_fn_config_dll hid enable_hid implib
17930 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17931 wine_fn_config_dll hlink enable_hlink clean
,implib
17932 wine_fn_config_test dlls
/hlink
/tests hlink_test
17933 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17934 wine_fn_config_test dlls
/hnetcfg
/tests hnetcfg_test
17935 wine_fn_config_dll httpapi enable_httpapi
17936 wine_fn_config_dll iccvid enable_iccvid clean
17937 wine_fn_config_dll icmp enable_icmp
17938 wine_fn_config_dll ieframe enable_ieframe clean
,implib
17939 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17940 wine_fn_config_dll ifsmgr.vxd enable_win16
17941 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17942 wine_fn_config_dll imagehlp enable_imagehlp implib
17943 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17944 wine_fn_config_dll imm.dll16 enable_win16
17945 wine_fn_config_dll imm32 enable_imm32 implib
17946 wine_fn_config_test dlls
/imm32
/tests imm32_test
17947 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17948 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17949 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17950 wine_fn_config_dll inetmib1 enable_inetmib1
17951 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17952 wine_fn_config_dll infosoft enable_infosoft clean
17953 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17954 wine_fn_config_dll initpki enable_initpki
17955 wine_fn_config_dll inkobj enable_inkobj
17956 wine_fn_config_dll inseng enable_inseng clean
17957 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17958 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17959 wine_fn_config_dll iprop enable_iprop
17960 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17961 wine_fn_config_dll itircl enable_itircl
17962 wine_fn_config_dll itss enable_itss clean
17963 wine_fn_config_test dlls
/itss
/tests itss_test
17964 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17965 wine_fn_config_dll jscript enable_jscript clean
17966 wine_fn_config_test dlls
/jscript
/tests jscript_test
17967 wine_fn_config_dll jsproxy enable_jsproxy implib
17968 wine_fn_config_test dlls
/jsproxy
/tests jsproxy_test
17969 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
17970 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17971 wine_fn_config_dll kernelbase enable_kernelbase
17972 wine_fn_config_dll keyboard.drv16 enable_win16
17973 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17974 wine_fn_config_dll ksuser enable_ksuser
17975 wine_fn_config_dll ktmw32 enable_ktmw32
17976 wine_fn_config_dll loadperf enable_loadperf implib
17977 wine_fn_config_dll localspl enable_localspl clean
17978 wine_fn_config_test dlls
/localspl
/tests localspl_test
17979 wine_fn_config_dll localui enable_localui clean
17980 wine_fn_config_test dlls
/localui
/tests localui_test
17981 wine_fn_config_dll lz32 enable_lz32 implib
17982 wine_fn_config_test dlls
/lz32
/tests lz32_test
17983 wine_fn_config_dll lzexpand.dll16 enable_win16
17984 wine_fn_config_dll mapi32 enable_mapi32 clean
,implib
17985 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17986 wine_fn_config_dll mapistub enable_mapistub
17987 wine_fn_config_dll mciavi32 enable_mciavi32
17988 wine_fn_config_dll mcicda enable_mcicda
17989 wine_fn_config_dll mciqtz32 enable_mciqtz32
17990 wine_fn_config_dll mciseq enable_mciseq
17991 wine_fn_config_dll mciwave enable_mciwave
17992 wine_fn_config_dll mf enable_mf
17993 wine_fn_config_dll mfplat enable_mfplat
17994 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17995 wine_fn_config_dll mgmtapi enable_mgmtapi
17996 wine_fn_config_dll midimap enable_midimap
17997 wine_fn_config_dll mlang enable_mlang clean
,implib
17998 wine_fn_config_test dlls
/mlang
/tests mlang_test
17999 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18000 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
18001 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18002 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
18003 wine_fn_config_dll mmdevldr.vxd enable_win16
18004 wine_fn_config_dll mmsystem.dll16 enable_win16
18005 wine_fn_config_dll monodebg.vxd enable_win16
18006 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18007 wine_fn_config_dll mouse.drv16 enable_win16
18008 wine_fn_config_dll mpr enable_mpr clean
,implib
18009 wine_fn_config_test dlls
/mpr
/tests mpr_test
18010 wine_fn_config_dll mprapi enable_mprapi implib
18011 wine_fn_config_dll msacm.dll16 enable_win16
18012 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18013 wine_fn_config_dll msacm32 enable_msacm32 clean
,implib
18014 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
18015 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18016 wine_fn_config_dll msasn1 enable_msasn1 implib
18017 wine_fn_config_dll mscat32 enable_mscat32
18018 wine_fn_config_dll mscms enable_mscms implib
18019 wine_fn_config_test dlls
/mscms
/tests mscms_test
18020 wine_fn_config_dll mscoree enable_mscoree clean
18021 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
18022 wine_fn_config_dll msctf enable_msctf clean
18023 wine_fn_config_test dlls
/msctf
/tests msctf_test
18024 wine_fn_config_dll msctfp enable_msctfp clean
18025 wine_fn_config_dll msdaps enable_msdaps clean
18026 wine_fn_config_dll msdelta enable_msdelta
18027 wine_fn_config_dll msdmo enable_msdmo implib
18028 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
18029 wine_fn_config_dll msdrm enable_msdrm
18030 wine_fn_config_dll msftedit enable_msftedit
18031 wine_fn_config_dll msg711.acm enable_msg711_acm
18032 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18033 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18034 wine_fn_config_dll mshtml enable_mshtml clean
,implib
18035 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
18036 wine_fn_config_dll msi enable_msi clean
,implib
18037 wine_fn_config_test dlls
/msi
/tests msi_test
18038 wine_fn_config_dll msident enable_msident clean
18039 wine_fn_config_dll msimg32 enable_msimg32 implib
18040 wine_fn_config_dll msimsg enable_msimsg
18041 wine_fn_config_dll msimtf enable_msimtf clean
18042 wine_fn_config_dll msisip enable_msisip
18043 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18044 wine_fn_config_dll msls31 enable_msls31
18045 wine_fn_config_dll msnet32 enable_msnet32
18046 wine_fn_config_dll mspatcha enable_mspatcha implib
18047 wine_fn_config_dll msports enable_msports
18048 wine_fn_config_dll msrle32 enable_msrle32 clean
18049 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
18050 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18051 wine_fn_config_test dlls
/msscript.ocx
/tests msscript.ocx_test clean
18052 wine_fn_config_dll mssign32 enable_mssign32
18053 wine_fn_config_dll mssip32 enable_mssip32
18054 wine_fn_config_dll mstask enable_mstask clean
18055 wine_fn_config_test dlls
/mstask
/tests mstask_test
18056 wine_fn_config_dll msvcirt enable_msvcirt
18057 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
18058 wine_fn_config_dll msvcm80 enable_msvcm80
18059 wine_fn_config_dll msvcm90 enable_msvcm90
18060 wine_fn_config_dll msvcp100 enable_msvcp100
18061 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
18062 wine_fn_config_dll msvcp110 enable_msvcp110
18063 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
18064 wine_fn_config_dll msvcp120 enable_msvcp120
18065 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
18066 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18067 wine_fn_config_dll msvcp140 enable_msvcp140
18068 wine_fn_config_test dlls
/msvcp140
/tests msvcp140_test
18069 wine_fn_config_dll msvcp60 enable_msvcp60
18070 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
18071 wine_fn_config_dll msvcp70 enable_msvcp70
18072 wine_fn_config_dll msvcp71 enable_msvcp71
18073 wine_fn_config_dll msvcp80 enable_msvcp80
18074 wine_fn_config_dll msvcp90 enable_msvcp90
18075 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
18076 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18077 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
18078 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18079 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18080 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
18081 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18082 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18083 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18084 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18085 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18086 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
18087 wine_fn_config_dll msvcrt enable_msvcrt implib
18088 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
18089 wine_fn_config_dll msvcrt20 enable_msvcrt20
18090 wine_fn_config_dll msvcrt40 enable_msvcrt40
18091 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18092 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
18093 wine_fn_config_dll msvfw32 enable_msvfw32 clean
,implib
18094 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
18095 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18096 wine_fn_config_dll msvideo.dll16 enable_win16
18097 wine_fn_config_dll mswsock enable_mswsock implib
18098 wine_fn_config_dll msxml enable_msxml clean
18099 wine_fn_config_dll msxml2 enable_msxml2 clean
18100 wine_fn_config_dll msxml3 enable_msxml3 clean
18101 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
18102 wine_fn_config_dll msxml4 enable_msxml4 clean
18103 wine_fn_config_dll msxml6 enable_msxml6 clean
18104 wine_fn_config_dll ncrypt enable_ncrypt
18105 wine_fn_config_dll nddeapi enable_nddeapi implib
18106 wine_fn_config_dll ndis.sys enable_ndis_sys
18107 wine_fn_config_dll netapi32 enable_netapi32 implib
18108 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
18109 wine_fn_config_dll netcfgx enable_netcfgx clean
18110 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
18111 wine_fn_config_dll netprofm enable_netprofm clean
18112 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
18113 wine_fn_config_dll newdev enable_newdev implib
18114 wine_fn_config_dll normaliz enable_normaliz implib
18115 wine_fn_config_dll npmshtml enable_npmshtml
18116 wine_fn_config_dll npptools enable_npptools
18117 wine_fn_config_dll ntdll enable_ntdll implib
18118 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
18119 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18120 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
18121 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18122 wine_fn_config_dll ntprint enable_ntprint
18123 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
18124 wine_fn_config_dll objsel enable_objsel clean
18125 wine_fn_config_dll odbc32 enable_odbc32 implib
18126 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18127 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
18128 wine_fn_config_dll odbccu32 enable_odbccu32
18129 wine_fn_config_dll ole2.dll16 enable_win16
18130 wine_fn_config_dll ole2conv.dll16 enable_win16
18131 wine_fn_config_dll ole2disp.dll16 enable_win16
18132 wine_fn_config_dll ole2nls.dll16 enable_win16
18133 wine_fn_config_dll ole2prox.dll16 enable_win16
18134 wine_fn_config_dll ole2thk.dll16 enable_win16
18135 wine_fn_config_dll ole32 enable_ole32 clean
,implib
18136 wine_fn_config_test dlls
/ole32
/tests ole32_test
18137 wine_fn_config_dll oleacc enable_oleacc clean
,implib
18138 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
18139 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
18140 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
18141 wine_fn_config_dll olecli.dll16 enable_win16
18142 wine_fn_config_dll olecli32 enable_olecli32 implib
18143 wine_fn_config_dll oledb32 enable_oledb32 clean
18144 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
18145 wine_fn_config_dll oledlg enable_oledlg clean
,implib
18146 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
18147 wine_fn_config_dll olepro32 enable_olepro32 clean
,implib
18148 wine_fn_config_dll olesvr.dll16 enable_win16
18149 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18150 wine_fn_config_dll olethk32 enable_olethk32
18151 wine_fn_config_dll openal32 enable_openal32
18152 wine_fn_config_dll opencl enable_opencl
18153 wine_fn_config_dll opengl32 enable_opengl32 implib
18154 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
18155 wine_fn_config_dll packager enable_packager clean
18156 wine_fn_config_test dlls
/packager
/tests packager_test
18157 wine_fn_config_dll pdh enable_pdh implib
18158 wine_fn_config_test dlls
/pdh
/tests pdh_test
18159 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18160 wine_fn_config_dll pidgen enable_pidgen
18161 wine_fn_config_dll powrprof enable_powrprof implib
18162 wine_fn_config_dll printui enable_printui
18163 wine_fn_config_dll prntvpt enable_prntvpt
18164 wine_fn_config_dll propsys enable_propsys clean
,implib
18165 wine_fn_config_test dlls
/propsys
/tests propsys_test
18166 wine_fn_config_dll psapi enable_psapi implib
18167 wine_fn_config_test dlls
/psapi
/tests psapi_test
18168 wine_fn_config_dll pstorec enable_pstorec clean
18169 wine_fn_config_dll qcap enable_qcap
18170 wine_fn_config_test dlls
/qcap
/tests qcap_test
18171 wine_fn_config_dll qedit enable_qedit clean
18172 wine_fn_config_test dlls
/qedit
/tests qedit_test
18173 wine_fn_config_dll qmgr enable_qmgr clean
18174 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
18175 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18176 wine_fn_config_dll quartz enable_quartz clean
,implib
18177 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
18178 wine_fn_config_dll query enable_query
18179 wine_fn_config_dll rasapi16.dll16 enable_win16
18180 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18181 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
18182 wine_fn_config_dll rasdlg enable_rasdlg implib
18183 wine_fn_config_dll regapi enable_regapi
18184 wine_fn_config_dll resutils enable_resutils implib
18185 wine_fn_config_dll riched20 enable_riched20 clean
,implib
18186 wine_fn_config_test dlls
/riched20
/tests riched20_test
18187 wine_fn_config_dll riched32 enable_riched32
18188 wine_fn_config_test dlls
/riched32
/tests riched32_test
18189 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
18190 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
18191 wine_fn_config_dll rsabase enable_rsabase
18192 wine_fn_config_dll rsaenh enable_rsaenh implib
18193 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
18194 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18195 wine_fn_config_dll rtutils enable_rtutils implib
18196 wine_fn_config_dll samlib enable_samlib
18197 wine_fn_config_dll sane.ds enable_sane_ds clean
18198 wine_fn_config_dll scarddlg enable_scarddlg
18199 wine_fn_config_dll sccbase enable_sccbase
18200 wine_fn_config_dll schannel enable_schannel
18201 wine_fn_config_test dlls
/schannel
/tests schannel_test
18202 wine_fn_config_dll schedsvc enable_schedsvc clean
18203 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
18204 wine_fn_config_dll scrrun enable_scrrun clean
18205 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
18206 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18207 wine_fn_config_dll secur32 enable_secur32 implib
18208 wine_fn_config_test dlls
/secur32
/tests secur32_test
18209 wine_fn_config_dll security enable_security
18210 wine_fn_config_dll sensapi enable_sensapi implib
18211 wine_fn_config_dll serialui enable_serialui clean
18212 wine_fn_config_test dlls
/serialui
/tests serialui_test
18213 wine_fn_config_dll setupapi enable_setupapi clean
,implib
18214 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
18215 wine_fn_config_dll setupx.dll16 enable_win16
18216 wine_fn_config_dll sfc enable_sfc implib
18217 wine_fn_config_dll sfc_os enable_sfc_os implib
18218 wine_fn_config_dll shdoclc enable_shdoclc clean
18219 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
18220 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
18221 wine_fn_config_dll shell.dll16 enable_win16
18222 wine_fn_config_dll shell32 enable_shell32 clean
,implib
18223 wine_fn_config_test dlls
/shell32
/tests shell32_test
18224 wine_fn_config_dll shfolder enable_shfolder implib
18225 wine_fn_config_dll shlwapi enable_shlwapi clean
,implib
18226 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
18227 wine_fn_config_dll slbcsp enable_slbcsp
18228 wine_fn_config_dll slc enable_slc implib
18229 wine_fn_config_test dlls
/slc
/tests slc_test
18230 wine_fn_config_dll snmpapi enable_snmpapi implib
18231 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
18232 wine_fn_config_dll softpub enable_softpub
18233 wine_fn_config_dll sound.drv16 enable_win16
18234 wine_fn_config_dll spoolss enable_spoolss implib
18235 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
18236 wine_fn_config_dll sspicli enable_sspicli
18237 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18238 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18239 wine_fn_config_dll sti enable_sti clean
,implib
18240 wine_fn_config_test dlls
/sti
/tests sti_test
18241 wine_fn_config_dll storage.dll16 enable_win16
18242 wine_fn_config_dll stress.dll16 enable_win16
18243 wine_fn_config_lib strmbase
18244 wine_fn_config_lib strmiids
18245 wine_fn_config_dll svrapi enable_svrapi
18246 wine_fn_config_dll sxs enable_sxs implib
18247 wine_fn_config_test dlls
/sxs
/tests sxs_test
18248 wine_fn_config_dll system.drv16 enable_win16
18249 wine_fn_config_dll t2embed enable_t2embed implib
18250 wine_fn_config_test dlls
/t2embed
/tests t2embed_test
18251 wine_fn_config_dll tapi32 enable_tapi32 implib
18252 wine_fn_config_dll taskschd enable_taskschd clean
18253 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
18254 wine_fn_config_dll tdi.sys enable_tdi_sys
18255 wine_fn_config_dll toolhelp.dll16 enable_win16
18256 wine_fn_config_dll traffic enable_traffic
18257 wine_fn_config_dll twain.dll16 enable_win16
18258 wine_fn_config_dll twain_32 enable_twain_32
18259 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
18260 wine_fn_config_dll typelib.dll16 enable_win16
18261 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18262 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
18263 wine_fn_config_dll unicows enable_unicows implib
18264 wine_fn_config_dll updspapi enable_updspapi
18265 wine_fn_config_dll url enable_url implib
18266 wine_fn_config_dll urlmon enable_urlmon clean
,implib
18267 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
18268 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18269 wine_fn_config_dll user.exe16 enable_win16
18270 wine_fn_config_dll user32 enable_user32 clean
,implib
18271 wine_fn_config_test dlls
/user32
/tests user32_test
18272 wine_fn_config_dll userenv enable_userenv implib
18273 wine_fn_config_test dlls
/userenv
/tests userenv_test
18274 wine_fn_config_dll usp10 enable_usp10 implib
18275 wine_fn_config_test dlls
/usp10
/tests usp10_test
18276 wine_fn_config_lib uuid
18277 wine_fn_config_dll uxtheme enable_uxtheme implib
18278 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
18279 wine_fn_config_dll vbscript enable_vbscript clean
18280 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
18281 wine_fn_config_dll vcomp enable_vcomp
18282 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
18283 wine_fn_config_dll vcomp100 enable_vcomp100
18284 wine_fn_config_dll vcomp110 enable_vcomp110
18285 wine_fn_config_dll vcomp120 enable_vcomp120
18286 wine_fn_config_dll vcomp140 enable_vcomp140
18287 wine_fn_config_dll vcomp90 enable_vcomp90
18288 wine_fn_config_dll vcruntime140 enable_vcruntime140
18289 wine_fn_config_dll vdhcp.vxd enable_win16
18290 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18291 wine_fn_config_dll ver.dll16 enable_win16
18292 wine_fn_config_dll version enable_version implib
18293 wine_fn_config_test dlls
/version
/tests version_test
18294 wine_fn_config_dll vmm.vxd enable_win16
18295 wine_fn_config_dll vnbt.vxd enable_win16
18296 wine_fn_config_dll vnetbios.vxd enable_win16
18297 wine_fn_config_dll vssapi enable_vssapi
18298 wine_fn_config_dll vtdapi.vxd enable_win16
18299 wine_fn_config_dll vwin32.vxd enable_win16
18300 wine_fn_config_dll w32skrnl enable_win16
18301 wine_fn_config_dll w32sys.dll16 enable_win16
18302 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18303 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
18304 wine_fn_config_dll wbemprox enable_wbemprox clean
18305 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
18306 wine_fn_config_dll webservices enable_webservices implib
18307 wine_fn_config_test dlls
/webservices
/tests webservices_test
18308 wine_fn_config_dll wer enable_wer implib
18309 wine_fn_config_test dlls
/wer
/tests wer_test
18310 wine_fn_config_dll wevtapi enable_wevtapi
18311 wine_fn_config_dll wiaservc enable_wiaservc clean
18312 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
18313 wine_fn_config_dll wimgapi enable_wimgapi
18314 wine_fn_config_dll win32s16.dll16 enable_win16
18315 wine_fn_config_dll win87em.dll16 enable_win16
18316 wine_fn_config_dll winaspi.dll16 enable_win16
18317 wine_fn_config_dll windebug.dll16 enable_win16
18318 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
18319 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
18320 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18321 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
18322 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18323 wine_fn_config_dll winebus.sys enable_winebus_sys
18324 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18325 wine_fn_config_lib winecrt0
18326 wine_fn_config_dll wined3d enable_wined3d implib
18327 wine_fn_config_dll winegstreamer enable_winegstreamer
18328 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18329 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18330 wine_fn_config_dll winemapi enable_winemapi
18331 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18332 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18333 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18334 wine_fn_config_dll wineps16.drv16 enable_win16
18335 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18336 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18337 wine_fn_config_dll winex11.drv enable_winex11_drv
18338 wine_fn_config_dll wing.dll16 enable_win16
18339 wine_fn_config_dll wing32 enable_wing32
18340 wine_fn_config_dll winhttp enable_winhttp clean
,implib
18341 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
18342 wine_fn_config_dll wininet enable_wininet clean
,implib
18343 wine_fn_config_test dlls
/wininet
/tests wininet_test
18344 wine_fn_config_dll winmm enable_winmm clean
,implib
18345 wine_fn_config_test dlls
/winmm
/tests winmm_test
18346 wine_fn_config_dll winnls.dll16 enable_win16
18347 wine_fn_config_dll winnls32 enable_winnls32 implib
18348 wine_fn_config_dll winscard enable_winscard implib
18349 wine_fn_config_dll winsock.dll16 enable_win16
18350 wine_fn_config_dll winspool.drv enable_winspool_drv clean
,implib winspool
18351 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
18352 wine_fn_config_dll winsta enable_winsta
18353 wine_fn_config_dll wintab.dll16 enable_win16
18354 wine_fn_config_dll wintab32 enable_wintab32 implib
18355 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
18356 wine_fn_config_dll wintrust enable_wintrust implib
18357 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
18358 wine_fn_config_dll wlanapi enable_wlanapi
18359 wine_fn_config_dll wldap32 enable_wldap32 clean
,implib
18360 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
18361 wine_fn_config_dll wmasf enable_wmasf
18362 wine_fn_config_dll wmi enable_wmi
18363 wine_fn_config_dll wmiutils enable_wmiutils clean
18364 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
18365 wine_fn_config_dll wmp enable_wmp clean
18366 wine_fn_config_test dlls
/wmp
/tests wmp_test
18367 wine_fn_config_dll wmvcore enable_wmvcore
18368 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18369 wine_fn_config_dll wow32 enable_win16 implib
18370 wine_fn_config_dll wpc enable_wpc clean
18371 wine_fn_config_test dlls
/wpc
/tests wpc_test
18372 wine_fn_config_dll wpcap enable_wpcap
18373 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18374 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
18375 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18376 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
18377 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18378 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
18379 wine_fn_config_dll wsock32 enable_wsock32 implib
18380 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18381 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
18382 wine_fn_config_dll wuapi enable_wuapi clean
18383 wine_fn_config_dll wuaueng enable_wuaueng
18384 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18385 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18386 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18387 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18388 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18389 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18390 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18391 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18392 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18393 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18394 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18395 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18396 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18397 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18398 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18399 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18400 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18401 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18402 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18403 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18404 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18405 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
18406 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18407 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18408 wine_fn_config_dll xinput1_1 enable_xinput1_1
18409 wine_fn_config_dll xinput1_2 enable_xinput1_2
18410 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18411 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
18412 wine_fn_config_dll xinput1_4 enable_xinput1_4
18413 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18414 wine_fn_config_dll xmllite enable_xmllite implib
18415 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
18416 wine_fn_config_dll xolehlp enable_xolehlp
18417 wine_fn_config_dll xpsprint enable_xpsprint
18418 wine_fn_config_dll xpssvcs enable_xpssvcs
18419 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
18420 wine_fn_config_makefile include enable_include clean
,install-dev
18421 wine_fn_config_makefile libs
/port enable_libs_port
18422 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,implib
,install-dev
,install-lib
18423 wine_fn_config_makefile libs
/wpp enable_libs_wpp
18424 wine_fn_config_makefile loader enable_loader clean
,install-lib
18425 wine_fn_config_makefile po enable_po clean
18426 wine_fn_config_program arp enable_arp
install
18427 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
18428 wine_fn_config_program attrib enable_attrib clean
,install
18429 wine_fn_config_program cabarc enable_cabarc
install
18430 wine_fn_config_program cacls enable_cacls
install
18431 wine_fn_config_program
clock enable_clock clean
,install
18432 wine_fn_config_program cmd enable_cmd clean
,install
18433 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
18434 wine_fn_config_program conhost enable_conhost
install
18435 wine_fn_config_program control enable_control
install
18436 wine_fn_config_program cscript enable_cscript clean
,install
18437 wine_fn_config_program dpnsvr enable_dpnsvr
install
18438 wine_fn_config_program dxdiag enable_dxdiag clean
,install
18439 wine_fn_config_program eject enable_eject
install
18440 wine_fn_config_program
expand enable_expand
install
18441 wine_fn_config_program explorer enable_explorer clean
,install
18442 wine_fn_config_program extrac32 enable_extrac32
install
18443 wine_fn_config_program findstr enable_findstr
install
18444 wine_fn_config_program fsutil enable_fsutil
install
18445 wine_fn_config_program hh enable_hh
install
18446 wine_fn_config_program hostname enable_hostname clean
,install
18447 wine_fn_config_program icacls enable_icacls
install
18448 wine_fn_config_program icinfo enable_icinfo
install
18449 wine_fn_config_program iexplore enable_iexplore
install
18450 wine_fn_config_program ipconfig enable_ipconfig clean
,install
18451 wine_fn_config_program lodctr enable_lodctr
install
18452 wine_fn_config_program mofcomp enable_mofcomp
install
18453 wine_fn_config_program mshta enable_mshta
install
18454 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18455 wine_fn_config_program msinfo32 enable_msinfo32
install
18456 wine_fn_config_program net enable_net clean
,install
18457 wine_fn_config_program netsh enable_netsh
install
18458 wine_fn_config_program netstat enable_netstat clean
,install
18459 wine_fn_config_program ngen enable_ngen
install
18460 wine_fn_config_program notepad enable_notepad clean
,install,installbin
,manpage
18461 wine_fn_config_program oleview enable_oleview clean
,install
18462 wine_fn_config_program
ping enable_ping
install
18463 wine_fn_config_program plugplay enable_plugplay
install
18464 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18465 wine_fn_config_program progman enable_progman clean
,install
18466 wine_fn_config_program reg enable_reg clean
,install
18467 wine_fn_config_test programs
/reg
/tests reg.exe_test
18468 wine_fn_config_program regasm enable_regasm
install
18469 wine_fn_config_program regedit enable_regedit clean
,install,installbin
,manpage
18470 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18471 wine_fn_config_program regsvcs enable_regsvcs
install
18472 wine_fn_config_program regsvr32 enable_regsvr32 clean
,install,installbin
,manpage
18473 wine_fn_config_program rpcss enable_rpcss clean
,install
18474 wine_fn_config_program rundll.exe16 enable_win16
install
18475 wine_fn_config_program rundll32 enable_rundll32
install
18476 wine_fn_config_program sc enable_sc
install
18477 wine_fn_config_program schtasks enable_schtasks
install
18478 wine_fn_config_program sdbinst enable_sdbinst
install
18479 wine_fn_config_program secedit enable_secedit
install
18480 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18481 wine_fn_config_program services enable_services clean
,install
18482 wine_fn_config_test programs
/services
/tests services.exe_test
18483 wine_fn_config_program shutdown enable_shutdown
install
18484 wine_fn_config_program spoolsv enable_spoolsv
install
18485 wine_fn_config_program start enable_start clean
,install
18486 wine_fn_config_program svchost enable_svchost
install
18487 wine_fn_config_program systeminfo enable_systeminfo
install
18488 wine_fn_config_program taskkill enable_taskkill clean
,install
18489 wine_fn_config_program tasklist enable_tasklist
install
18490 wine_fn_config_program taskmgr enable_taskmgr clean
,install
18491 wine_fn_config_program termsv enable_termsv
install
18492 wine_fn_config_program uninstaller enable_uninstaller clean
,install
18493 wine_fn_config_program unlodctr enable_unlodctr
install
18494 wine_fn_config_program view enable_view clean
,install
18495 wine_fn_config_program wevtutil enable_wevtutil
install
18496 wine_fn_config_program wineboot enable_wineboot clean
,install,installbin
,manpage
18497 wine_fn_config_program winebrowser enable_winebrowser
install
18498 wine_fn_config_program winecfg enable_winecfg clean
,install,installbin
,manpage
18499 wine_fn_config_program wineconsole enable_wineconsole clean
,install,installbin
,manpage
18500 wine_fn_config_program winedbg enable_winedbg clean
,install,installbin
,manpage
18501 wine_fn_config_program winedevice enable_winedevice
install
18502 wine_fn_config_program winefile enable_winefile clean
,install,installbin
,manpage
18503 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18504 wine_fn_config_program winemine enable_winemine clean
,install,installbin
,manpage
18505 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18506 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18507 wine_fn_config_program winetest enable_winetest clean
18508 wine_fn_config_program winevdm enable_win16
install
18509 wine_fn_config_program winhelp.exe16 enable_win16
install
18510 wine_fn_config_program winhlp32 enable_winhlp32 clean
,install
18511 wine_fn_config_program winoldap.mod16 enable_win16
install
18512 wine_fn_config_program winver enable_winver
install
18513 wine_fn_config_program wmic enable_wmic clean
,install
18514 wine_fn_config_program wmplayer enable_wmplayer
install
18515 wine_fn_config_program wordpad enable_wordpad clean
,install
18516 wine_fn_config_program
write enable_write clean
,install
18517 wine_fn_config_program wscript enable_wscript clean
,install
18518 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18519 wine_fn_config_program wusa enable_wusa
install
18520 wine_fn_config_program xcopy enable_xcopy clean
,install
18521 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18522 wine_fn_config_makefile server enable_server clean
,install-lib
18523 wine_fn_config_tool tools clean
18524 wine_fn_config_tool tools
/sfnt2fon clean
18525 wine_fn_config_tool tools
/widl clean
,install-dev
18526 wine_fn_config_tool tools
/winebuild clean
,install-dev
18527 wine_fn_config_tool tools
/winedump clean
,install-dev
18528 wine_fn_config_tool tools
/winegcc clean
,install-dev
18529 wine_fn_config_tool tools
/winemaker clean
,install-dev
18530 wine_fn_config_tool tools
/wmc clean
,install-dev
18531 wine_fn_config_tool tools
/wrc clean
,install-dev
18534 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
18535 wine_fn_append_file CONFIGURE_TARGETS
"tags"
18536 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
18537 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
18538 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
18539 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
18540 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
18541 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
18543 if test "x$enable_tools" != xno
18545 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
18546 ac_config_commands
="$ac_config_commands tools/makedep"
18550 ac_config_commands
="$ac_config_commands Makefile"
18553 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
18557 if test "x$enable_maintainer_mode" = xyes
18559 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18560 autoconf --warnings=all
18561 include/config.h.in: include/stamp-h.in
18562 include/stamp-h.in: configure.ac aclocal.m4
18563 autoheader --warnings=all
18564 @echo timestamp > \$@"
18567 if test "x$enable_tools" != xno
18569 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18570 @./config.status tools/makedep
18571 Makefile: tools/makedep$ac_exeext"
18573 wine_fn_append_rule
"\$(MAKEDEP):
18574 @echo \"You need to run make in $TOOLSDIR first\" && false"
18577 if test -n "$with_wine64"
18579 wine_fn_append_rule
"all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18581 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18582 $with_wine64/loader/wine:
18583 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18584 $with_wine64/loader/wine-preloader:
18585 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18587 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18589 WINELOADER_INSTALL
="wine.inf"
18591 wine_fn_append_rule
"install install-lib::
18592 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18594 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18596 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
18597 *) wine_fn_append_rule
"install install-lib::
18598 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18600 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18604 $as_echo " done" >&6
18605 cat >confcache
<<\_ACEOF
18606 # This file is a shell script that caches the results of configure
18607 # tests run on this system so they can be shared between configure
18608 # scripts and configure runs, see configure's option --config-cache.
18609 # It is not useful on other systems. If it contains results you don't
18610 # want to keep, you may remove or edit it.
18612 # config.status only pays attention to the cache file if you give it
18613 # the --recheck option to rerun configure.
18615 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18616 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18617 # following values.
18621 # The following way of writing the cache mishandles newlines in values,
18622 # but we know of no workaround that is simple, portable, and efficient.
18623 # So, we kill variables containing newlines.
18624 # Ultrix sh set writes to stderr and can't be redirected directly,
18625 # and sets the high bit in the cache file unless we assign to the vars.
18627 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18628 eval ac_val
=\$
$ac_var
18632 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18633 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18636 _ | IFS | as_nl
) ;; #(
18637 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18638 *) { eval $ac_var=; unset $ac_var;} ;;
18644 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18645 *${as_nl}ac_space
=\
*)
18646 # `set' does not quote correctly, so add quotes: double-quote
18647 # substitution turns \\\\ into \\, and sed turns \\ into \.
18650 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18653 # `set' quotes correctly as required by POSIX, so do not add quotes.
18654 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18663 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18665 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18667 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18668 if test -w "$cache_file"; then
18669 if test "x$cache_file" != "x/dev/null"; then
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18671 $as_echo "$as_me: updating cache $cache_file" >&6;}
18672 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18673 cat confcache
>"$cache_file"
18675 case $cache_file in #(
18677 mv -f confcache
"$cache_file"$$
&&
18678 mv -f "$cache_file"$$
"$cache_file" ;; #(
18680 mv -f confcache
"$cache_file" ;;
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18686 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18691 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18692 # Let make expand exec_prefix.
18693 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18695 DEFS
=-DHAVE_CONFIG_H
18700 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18701 # 1. Remove the extension, and $U if already installed.
18702 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18703 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18704 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18705 # will be set to the directory where LIBOBJS objects are built.
18706 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18707 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18709 LIBOBJS
=$ac_libobjs
18711 LTLIBOBJS
=$ac_ltlibobjs
18715 : "${CONFIG_STATUS=./config.status}"
18717 ac_clean_files_save
=$ac_clean_files
18718 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18720 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18722 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18724 # Generated by $as_me.
18725 # Run this file to recreate the current configuration.
18726 # Compiler output produced by configure, useful for debugging
18727 # configure, is in config.log if it exists.
18730 ac_cs_recheck=false
18733 SHELL=\${CONFIG_SHELL-$SHELL}
18736 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18737 ## -------------------- ##
18738 ## M4sh Initialization. ##
18739 ## -------------------- ##
18741 # Be more Bourne compatible
18742 DUALCASE
=1; export DUALCASE
# for MKS sh
18743 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18746 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18747 # is contrary to our usage. Disable this feature.
18748 alias -g '${1+"$@"}'='"$@"'
18749 setopt NO_GLOB_SUBST
18751 case `(set -o) 2>/dev/null` in #(
18763 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18764 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18765 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18766 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18767 # Prefer a ksh shell builtin over an external printf program on Solaris,
18768 # but without wasting forks for bash or zsh.
18769 if test -z "$BASH_VERSION$ZSH_VERSION" \
18770 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18771 as_echo='print
-r --'
18772 as_echo_n='print
-rn --'
18773 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18774 as_echo='printf %s
\n'
18775 as_echo_n='printf %s
'
18777 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18778 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18779 as_echo_n='/usr
/ucb
/echo -n'
18781 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18782 as_echo_n_body='eval
18786 expr "X$arg" : "X\\(.*\\)$as_nl";
18787 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18789 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18791 export as_echo_n_body
18792 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18794 export as_echo_body
18795 as_echo='sh
-c $as_echo_body as_echo
'
18798 # The user is always right.
18799 if test "${PATH_SEPARATOR+set}" != set; then
18801 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18802 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18809 # We need space, tab and new line, in precisely that order. Quoting is
18810 # there to prevent editors from complaining about space-tab.
18811 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18812 # splitting by setting IFS to empty value.)
18815 # Find who we are. Look in the path if we contain no directory separator.
18818 *[\\/]* ) as_myself=$0 ;;
18819 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18820 for as_dir in $PATH
18823 test -z "$as_dir" && as_dir=.
18824 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18830 # We did not find ourselves, most probably we were run as `sh COMMAND'
18831 # in which case we are not to be found in the path.
18832 if test "x$as_myself" = x
; then
18835 if test ! -f "$as_myself"; then
18836 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18840 # Unset variables that we do not need and which cause bugs (e.g. in
18841 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18842 # suppresses any "Segmentation fault" message there. '((' could
18843 # trigger a bug in pdksh 5.2.14.
18844 for as_var
in BASH_ENV ENV MAIL MAILPATH
18845 do eval test x\
${$as_var+set} = xset \
18846 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18859 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18862 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18863 # ----------------------------------------
18864 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18865 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18866 # script with STATUS, using 1 if that was 0.
18869 as_status
=$1; test $as_status -eq 0 && as_status
=1
18871 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18872 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18874 $as_echo "$as_me: error: $2" >&2
18875 as_fn_exit
$as_status
18879 # as_fn_set_status STATUS
18880 # -----------------------
18881 # Set $? to STATUS, without forking.
18882 as_fn_set_status
()
18885 } # as_fn_set_status
18887 # as_fn_exit STATUS
18888 # -----------------
18889 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18893 as_fn_set_status
$1
18899 # Portably unset VAR.
18902 { eval $1=; unset $1;}
18904 as_unset
=as_fn_unset
18905 # as_fn_append VAR VALUE
18906 # ----------------------
18907 # Append the text in VALUE to the end of the definition contained in VAR. Take
18908 # advantage of any shell optimizations that allow amortized linear growth over
18909 # repeated appends, instead of the typical quadratic growth present in naive
18911 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18912 eval 'as_fn_append ()
18923 # as_fn_arith ARG...
18924 # ------------------
18925 # Perform arithmetic evaluation on the ARGs, and store the result in the
18926 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18927 # must be portable across $(()) and expr.
18928 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18929 eval 'as_fn_arith ()
18936 as_val
=`expr "$@" || test $? -eq 1`
18941 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18942 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18948 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18949 as_basename
=basename
18954 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18960 as_me
=`$as_basename -- "$0" ||
18961 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18962 X"$0" : 'X\(//\)$' \| \
18963 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18965 sed '/^.*\/\([^/][^/]*\)\/*$/{
18979 # Avoid depending upon Character Ranges.
18980 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18981 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18982 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18983 as_cr_digits
='0123456789'
18984 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18986 ECHO_C
= ECHO_N
= ECHO_T
=
18987 case `echo -n x` in #(((((
18989 case `echo 'xy\c'` in
18990 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18992 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18999 rm -f conf$$ conf$$.exe conf$$.
file
19000 if test -d conf$$.dir
; then
19001 rm -f conf$$.dir
/conf$$.
file
19004 mkdir conf$$.dir
2>/dev
/null
19006 if (echo >conf$$.
file) 2>/dev
/null
; then
19007 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19009 # ... but there are two gotchas:
19010 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19011 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19012 # In both cases, we have to default to `cp -pR'.
19013 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19015 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19023 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19024 rmdir conf$$.dir
2>/dev
/null
19029 # Create "$as_dir" as a directory, including parents if necessary.
19034 -*) as_dir
=.
/$as_dir;;
19036 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19040 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19041 *) as_qdir
=$as_dir;;
19043 as_dirs
="'$as_qdir' $as_dirs"
19044 as_dir
=`$as_dirname -- "$as_dir" ||
19045 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19046 X"$as_dir" : 'X\(//\)[^/]' \| \
19047 X"$as_dir" : 'X\(//\)$' \| \
19048 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19049 $as_echo X"$as_dir" |
19050 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19054 /^X\(\/\/\)[^/].*/{
19067 test -d "$as_dir" && break
19069 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19070 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19074 if mkdir
-p .
2>/dev
/null
; then
19075 as_mkdir_p
='mkdir -p "$as_dir"'
19077 test -d .
/-p && rmdir .
/-p
19082 # as_fn_executable_p FILE
19083 # -----------------------
19084 # Test if FILE is an executable regular file.
19085 as_fn_executable_p
()
19087 test -f "$1" && test -x "$1"
19088 } # as_fn_executable_p
19089 as_test_x
='test -x'
19090 as_executable_p
=as_fn_executable_p
19092 # Sed expression to map a string onto a valid CPP name.
19093 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19095 # Sed expression to map a string onto a valid variable name.
19096 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19100 ## ----------------------------------- ##
19101 ## Main body of $CONFIG_STATUS script. ##
19102 ## ----------------------------------- ##
19104 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19107 # Save the log message, to keep $0 and so on meaningful, and to
19108 # report actual input values of CONFIG_FILES etc. instead of their
19109 # values after options handling.
19111 This file was extended by Wine $as_me 1.9.19, which was
19112 generated by GNU Autoconf 2.69. Invocation command line was
19114 CONFIG_FILES = $CONFIG_FILES
19115 CONFIG_HEADERS = $CONFIG_HEADERS
19116 CONFIG_LINKS = $CONFIG_LINKS
19117 CONFIG_COMMANDS = $CONFIG_COMMANDS
19120 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19125 case $ac_config_files in *"
19126 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19129 case $ac_config_headers in *"
19130 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19135 # Files that config.status was made for.
19136 config_files="$ac_config_files"
19137 config_headers="$ac_config_headers"
19138 config_links="$ac_config_links"
19139 config_commands="$ac_config_commands"
19143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19145 \`$as_me' instantiates files and other configuration actions
19146 from templates according to the current configuration. Unless the files
19147 and actions are specified as TAGs, all are instantiated by default.
19149 Usage: $0 [OPTION]... [TAG]...
19151 -h, --help print this help, then exit
19152 -V, --version print version number and configuration settings, then exit
19153 --config print configuration, then exit
19154 -q, --quiet, --silent
19155 do not print progress messages
19156 -d, --debug don't remove temporary files
19157 --recheck update $as_me by reconfiguring in the same conditions
19158 --file=FILE[:TEMPLATE]
19159 instantiate the configuration file FILE
19160 --header=FILE[:TEMPLATE]
19161 instantiate the configuration header FILE
19163 Configuration files:
19166 Configuration headers:
19169 Configuration links:
19172 Configuration commands:
19175 Report bugs to <wine-devel@winehq.org>.
19176 Wine home page: <http://www.winehq.org>."
19179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19180 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19182 Wine config.status 1.9.19
19183 configured by $0, generated by GNU Autoconf 2.69,
19184 with options \\"\$ac_cs_config\\"
19186 Copyright (C) 2012 Free Software Foundation, Inc.
19187 This config.status script is free software; the Free Software Foundation
19188 gives unlimited permission to copy, distribute and modify it."
19192 test -n "\$AWK" || AWK=awk
19195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19196 # The default lists apply if the user does not specify any file.
19202 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19203 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19207 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19219 # Handling of the options.
19220 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19222 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19223 $as_echo "$ac_cs_version"; exit ;;
19224 --config |
--confi |
--conf |
--con |
--co |
--c )
19225 $as_echo "$ac_cs_config"; exit ;;
19226 --debug |
--debu |
--deb |
--de |
--d |
-d )
19228 --file |
--fil |
--fi |
--f )
19231 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19232 '') as_fn_error $?
"missing file argument" ;;
19234 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19235 ac_need_defaults
=false
;;
19236 --header |
--heade |
--head |
--hea )
19239 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19241 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19242 ac_need_defaults
=false
;;
19244 # Conflict between --help and --header
19245 as_fn_error $?
"ambiguous option: \`$1'
19246 Try \`$0 --help' for more information.";;
19247 --help |
--hel |
-h )
19248 $as_echo "$ac_cs_usage"; exit ;;
19249 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19250 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19253 # This is an error.
19254 -*) as_fn_error $?
"unrecognized option: \`$1'
19255 Try \`$0 --help' for more information." ;;
19257 *) as_fn_append ac_config_targets
" $1"
19258 ac_need_defaults
=false
;;
19264 ac_configure_extra_args
=
19266 if $ac_cs_silent; then
19268 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19273 if \$ac_cs_recheck; then
19274 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19276 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19277 CONFIG_SHELL='$SHELL'
19278 export CONFIG_SHELL
19283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19287 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19288 ## Running $as_me. ##
19294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19298 wine_fn_output_makedep ()
19300 as_dir=tools; as_fn_mkdir_p
19301 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19303 wine_fn_output_makefile ()
19305 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19306 `cat $wine_rules_file`
19308 as_fn_error $? "could not create Makefile" "$LINENO" 5
19313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19315 # Handling of arguments.
19316 for ac_config_target
in $ac_config_targets
19318 case $ac_config_target in
19319 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19320 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
19321 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19322 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19323 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19324 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19325 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19326 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19327 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
19328 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19329 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
19330 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
19331 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19333 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19338 # If the user did not use the arguments to specify the items to instantiate,
19339 # then the envvar interface is used. Set only those that are not.
19340 # We use the long form for the default assignment because of an extremely
19341 # bizarre bug on SunOS 4.1.3.
19342 if $ac_need_defaults; then
19343 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19344 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19345 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19346 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19349 # Have a temporary directory for convenience. Make it in the build tree
19350 # simply because there is no reason against having it here, and in addition,
19351 # creating and moving files from /tmp can sometimes cause problems.
19352 # Hook for its removal unless debugging.
19353 # Note that there is a small window in which the directory will not be cleaned:
19354 # after its creation but before its name has been assigned to `$tmp'.
19358 trap 'exit_status=$?
19359 : "${ac_tmp:=$tmp}"
19360 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19362 trap 'as_fn_exit 1' 1 2 13 15
19364 # Create a (secure) tmp directory for tmp files.
19367 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19371 tmp
=.
/conf$$
-$RANDOM
19372 (umask 077 && mkdir
"$tmp")
19373 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19376 # Set up the scripts for CONFIG_FILES section.
19377 # No need to generate them if there are no CONFIG_FILES.
19378 # This happens for instance with `./config.status config.h'.
19379 if test -n "$CONFIG_FILES"; then
19382 ac_cr
=`echo X | tr X '\015'`
19383 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19384 # But we know of no other shell where ac_cr would be empty at this
19385 # point, so we can use a bashism as a fallback.
19386 if test "x$ac_cr" = x
; then
19387 eval ac_cr
=\$
\'\\r
\'
19389 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19390 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19393 ac_cs_awk_cr
=$ac_cr
19396 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19401 echo "cat >conf$$subs.awk <<_ACEOF" &&
19402 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19404 } >conf$$subs.sh ||
19405 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19406 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19408 for ac_last_try in false false false false false :; do
19409 . ./conf$$subs.sh ||
19410 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19412 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19413 if test $ac_delim_n = $ac_delim_num; then
19415 elif $ac_last_try; then
19416 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19418 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19421 rm -f conf$$subs.sh
19423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19424 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19428 s/^/S["/; s
/!.
*/"]=/
19438 s/\(.\{148\}\)..*/\1/
19440 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19445 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19452 s/\(.\{148\}\)..*/\1/
19454 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19458 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19463 ' <conf$$subs.awk | sed '
19468 ' >>$CONFIG_STATUS || ac_write_fail=1
19469 rm -f conf$$subs.awk
19470 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19472 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19473 for (key in S) S_is_set[key] = 1
19479 nfields = split(line, field, "@
")
19481 len = length(field[1])
19482 for (i = 2; i < nfields; i++) {
19484 keylen = length(key)
19485 if (S_is_set[key]) {
19487 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19488 len += length(value) + length(field[++i])
19499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19500 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19501 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19504 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19505 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19508 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19509 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19510 # trailing colons and then remove the whole line if VPATH becomes empty
19511 # (actually we leave an empty line to preserve line numbers).
19512 if test "x
$srcdir" = x.; then
19513 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19532 fi # test -n "$CONFIG_FILES"
19534 # Set up the scripts for CONFIG_HEADERS section.
19535 # No need to generate them if there are no CONFIG_HEADERS.
19536 # This happens for instance with `./config.status Makefile'.
19537 if test -n "$CONFIG_HEADERS"; then
19538 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19542 # Transform confdefs.h into an awk script `defines.awk', embedded as
19543 # here-document in config.status, that substitutes the proper values into
19544 # config.h.in to produce config.h.
19546 # Create a delimiter string that does not exist in confdefs.h, to ease
19547 # handling of long lines.
19549 for ac_last_try in false false :; do
19550 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19551 if test -z "$ac_tt"; then
19553 elif $ac_last_try; then
19554 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19556 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19560 # For the awk script, D is an array of macro values keyed by name,
19561 # likewise P contains macro parameters if any. Preserve backslash
19562 # newline sequences.
19564 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19566 s/.\{148\}/&'"$ac_delim"'/g
19569 s/^[ ]*#[ ]*define[ ][ ]*/ /
19576 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19578 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19582 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19583 D["\
1"]=" \
3\\\\\\n
"\\/p
19585 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19590 s/.\{148\}/&'"$ac_delim"'/g
19595 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19598 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19600 ' <confdefs.h | sed '
19601 s/'"$ac_delim"'/"\\\
19602 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19605 for (key in D) D_is_set[key] = 1
19608 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19610 split(line, arg, " ")
19611 if (arg[1] == "#") {
19615 defundef
= substr
(arg
[1], 2)
19618 split(mac1
, mac2
, "(") #)
19620 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19621 if (D_is_set
[macro
]) {
19622 # Preserve the white space surrounding the "#".
19623 print prefix
"define", macro P
[macro
] D
[macro
]
19626 # Replace #undef with comments. This is necessary, for example,
19627 # in the case of _POSIX_SOURCE, which is predefined and required
19628 # on some systems where configure will not decide to define it.
19629 if (defundef
== "undef") {
19630 print
"/*", prefix defundef
, macro
, "*/"
19638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19639 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19640 fi # test -n "$CONFIG_HEADERS"
19643 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19648 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19650 case $ac_mode$ac_tag in
19652 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19653 :[FH
]-) ac_tag
=-:-;;
19654 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19671 -) ac_f
="$ac_tmp/stdin";;
19672 *) # Look for the file first in the build tree, then in the source tree
19673 # (if the path is not absolute). The absolute path cannot be DOS-style,
19674 # because $ac_f cannot contain `:'.
19678 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19680 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19682 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19683 as_fn_append ac_file_inputs
" '$ac_f'"
19686 # Let's still pretend it is `configure' which instantiates (i.e., don't
19687 # use $as_me), people would be surprised to read:
19688 # /* config.h. Generated by config.status. */
19689 configure_input
='Generated from '`
19690 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19692 if test x
"$ac_file" != x-
; then
19693 configure_input
="$ac_file. $configure_input"
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19695 $as_echo "$as_me: creating $ac_file" >&6;}
19697 # Neutralize special characters interpreted by sed in replacement strings.
19698 case $configure_input in #(
19699 *\
&* |
*\|
* |
*\\* )
19700 ac_sed_conf_input
=`$as_echo "$configure_input" |
19701 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19702 *) ac_sed_conf_input
=$configure_input;;
19706 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19707 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19712 ac_dir
=`$as_dirname -- "$ac_file" ||
19713 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19714 X"$ac_file" : 'X\(//\)[^/]' \| \
19715 X"$ac_file" : 'X\(//\)$' \| \
19716 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19717 $as_echo X"$ac_file" |
19718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19722 /^X\(\/\/\)[^/].*/{
19735 as_dir
="$ac_dir"; as_fn_mkdir_p
19739 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19741 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19742 # A ".." for each directory in $ac_dir_suffix.
19743 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19744 case $ac_top_builddir_sub in
19745 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19746 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19749 ac_abs_top_builddir
=$ac_pwd
19750 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19751 # for backward compatibility:
19752 ac_top_builddir
=$ac_top_build_prefix
19755 .
) # We are building in place.
19757 ac_top_srcdir
=$ac_top_builddir_sub
19758 ac_abs_top_srcdir
=$ac_pwd ;;
19759 [\\/]* | ?
:[\\/]* ) # Absolute name.
19760 ac_srcdir
=$srcdir$ac_dir_suffix;
19761 ac_top_srcdir
=$srcdir
19762 ac_abs_top_srcdir
=$srcdir ;;
19763 *) # Relative name.
19764 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19765 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19766 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19768 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19780 # If the template does not know about datarootdir, expand it.
19781 # FIXME: This hack should be removed a few years after 2.60.
19782 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19793 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19794 *datarootdir
*) ac_datarootdir_seen
=yes;;
19795 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19797 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19800 ac_datarootdir_hack='
19801 s&@datadir@&$datadir&g
19802 s&@docdir@&$docdir&g
19803 s&@infodir@&$infodir&g
19804 s&@localedir@&$localedir&g
19805 s&@mandir@&$mandir&g
19806 s&\\\${datarootdir}&$datarootdir&g' ;;
19810 # Neutralize VPATH when `$srcdir' = `.'.
19811 # Shell code in configure.ac might set extrasub.
19812 # FIXME: do we really want to maintain this feature?
19813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19814 ac_sed_extra="$ac_vpsub
19817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19819 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19820 s|@configure_input@|
$ac_sed_conf_input|
;t t
19821 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19822 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19823 s
&@srcdir@
&$ac_srcdir&;t t
19824 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19825 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19826 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19827 s
&@builddir@
&$ac_builddir&;t t
19828 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19829 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19830 $ac_datarootdir_hack
19832 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19833 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19835 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19836 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19837 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19838 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19840 which seems to be undefined. Please make sure it is defined" >&5
19841 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19842 which seems to be undefined. Please make sure it is defined" >&2;}
19844 rm -f "$ac_tmp/stdin"
19846 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19847 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19849 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19855 if test x"$ac_file" != x-; then
19857 $as_echo "/* $configure_input */" \
19858 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19859 } >"$ac_tmp/config.h" \
19860 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19861 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19862 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19863 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19866 mv "$ac_tmp/config.h" "$ac_file" \
19867 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19870 $as_echo "/* $configure_input */" \
19871 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19872 || as_fn_error $? "could not create -" "$LINENO" 5
19880 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19883 # Prefer the file from the source tree if names are identical.
19884 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19885 ac_source=$srcdir/$ac_source
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19889 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19891 if test ! -r "$ac_source"; then
19892 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19896 # Try a relative symlink, then a hard link, then a copy.
19898 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19899 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19901 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19902 ln "$ac_source" "$ac_file" 2>/dev/null ||
19903 cp -p "$ac_source" "$ac_file" ||
19904 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19907 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19908 $as_echo "$as_me: executing $ac_file commands" >&6;}
19913 case $ac_file$ac_mode in
19914 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19915 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19916 "Makefile":C) wine_fn_output_makefile Makefile ;;
19924 ac_clean_files=$ac_clean_files_save
19926 test $ac_write_fail = 0 ||
19927 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19930 # configure is writing to config.log, and then calls config.status.
19931 # config.status does its own redirection, appending to config.log.
19932 # Unfortunately, on DOS this fails, as config.log is still kept open
19933 # by configure, so config.status won't be able to
write to it
; its
19934 # output is simply discarded. So we exec the FD to /dev/null,
19935 # effectively closing config.log, so it can be properly (re)opened and
19936 # appended to by config.status. When coming back to configure, we
19937 # need to make the FD available again.
19938 if test "$no_create" != yes; then
19940 ac_config_status_args
=
19941 test "$silent" = yes &&
19942 ac_config_status_args
="$ac_config_status_args --quiet"
19944 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19946 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19947 # would make configure fail if this is the last instruction.
19948 $ac_cs_success || as_fn_exit
1
19950 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19952 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19956 if test "$no_create" = "yes"
19962 if test "x$wine_notices" != x
; then
19965 for msg
in $wine_notices; do
19967 if ${msg:+false} :; then :
19970 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19971 $as_echo "$as_me: $msg" >&6;}
19976 for msg
in $wine_warnings; do
19978 if ${msg:+false} :; then :
19982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19983 $as_echo "$as_me: WARNING: $msg" >&2;}
19989 $as_me: Finished. Do '${ac_make}' to compile Wine.