2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.15.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='2.15'
584 PACKAGE_STRING
='Wine 2.15'
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
636 EXCESS_PRECISION_CFLAGS
708 APPLICATIONSERVICES_LIBS
804 program_transform_name
817 enable_option_checking
821 enable_maintainer_mode
882 enable_api_ms_win_appmodel_identity_l1_1_0
883 enable_api_ms_win_appmodel_runtime_l1_1_1
884 enable_api_ms_win_core_apiquery_l1_1_0
885 enable_api_ms_win_core_appcompat_l1_1_1
886 enable_api_ms_win_core_appinit_l1_1_0
887 enable_api_ms_win_core_atoms_l1_1_0
888 enable_api_ms_win_core_bem_l1_1_0
889 enable_api_ms_win_core_com_l1_1_0
890 enable_api_ms_win_core_com_l1_1_1
891 enable_api_ms_win_core_com_private_l1_1_0
892 enable_api_ms_win_core_console_l1_1_0
893 enable_api_ms_win_core_console_l2_1_0
894 enable_api_ms_win_core_crt_l1_1_0
895 enable_api_ms_win_core_crt_l2_1_0
896 enable_api_ms_win_core_datetime_l1_1_0
897 enable_api_ms_win_core_datetime_l1_1_1
898 enable_api_ms_win_core_debug_l1_1_0
899 enable_api_ms_win_core_debug_l1_1_1
900 enable_api_ms_win_core_delayload_l1_1_0
901 enable_api_ms_win_core_delayload_l1_1_1
902 enable_api_ms_win_core_errorhandling_l1_1_0
903 enable_api_ms_win_core_errorhandling_l1_1_1
904 enable_api_ms_win_core_errorhandling_l1_1_2
905 enable_api_ms_win_core_fibers_l1_1_0
906 enable_api_ms_win_core_fibers_l1_1_1
907 enable_api_ms_win_core_file_l1_1_0
908 enable_api_ms_win_core_file_l1_2_0
909 enable_api_ms_win_core_file_l1_2_1
910 enable_api_ms_win_core_file_l2_1_0
911 enable_api_ms_win_core_file_l2_1_1
912 enable_api_ms_win_core_handle_l1_1_0
913 enable_api_ms_win_core_heap_l1_1_0
914 enable_api_ms_win_core_heap_l1_2_0
915 enable_api_ms_win_core_heap_obsolete_l1_1_0
916 enable_api_ms_win_core_interlocked_l1_1_0
917 enable_api_ms_win_core_interlocked_l1_2_0
918 enable_api_ms_win_core_io_l1_1_0
919 enable_api_ms_win_core_io_l1_1_1
920 enable_api_ms_win_core_job_l1_1_0
921 enable_api_ms_win_core_job_l2_1_0
922 enable_api_ms_win_core_kernel32_legacy_l1_1_0
923 enable_api_ms_win_core_kernel32_legacy_l1_1_1
924 enable_api_ms_win_core_kernel32_private_l1_1_1
925 enable_api_ms_win_core_libraryloader_l1_1_0
926 enable_api_ms_win_core_libraryloader_l1_1_1
927 enable_api_ms_win_core_libraryloader_l1_2_0
928 enable_api_ms_win_core_libraryloader_l1_2_2
929 enable_api_ms_win_core_localization_l1_1_0
930 enable_api_ms_win_core_localization_l1_2_0
931 enable_api_ms_win_core_localization_l1_2_1
932 enable_api_ms_win_core_localization_l2_1_0
933 enable_api_ms_win_core_localization_obsolete_l1_1_0
934 enable_api_ms_win_core_localization_obsolete_l1_2_0
935 enable_api_ms_win_core_localization_private_l1_1_0
936 enable_api_ms_win_core_localregistry_l1_1_0
937 enable_api_ms_win_core_memory_l1_1_0
938 enable_api_ms_win_core_memory_l1_1_1
939 enable_api_ms_win_core_memory_l1_1_2
940 enable_api_ms_win_core_misc_l1_1_0
941 enable_api_ms_win_core_namedpipe_l1_1_0
942 enable_api_ms_win_core_namedpipe_l1_2_0
943 enable_api_ms_win_core_namespace_l1_1_0
944 enable_api_ms_win_core_normalization_l1_1_0
945 enable_api_ms_win_core_path_l1_1_0
946 enable_api_ms_win_core_privateprofile_l1_1_1
947 enable_api_ms_win_core_processenvironment_l1_1_0
948 enable_api_ms_win_core_processenvironment_l1_2_0
949 enable_api_ms_win_core_processthreads_l1_1_0
950 enable_api_ms_win_core_processthreads_l1_1_1
951 enable_api_ms_win_core_processthreads_l1_1_2
952 enable_api_ms_win_core_profile_l1_1_0
953 enable_api_ms_win_core_psapi_ansi_l1_1_0
954 enable_api_ms_win_core_psapi_l1_1_0
955 enable_api_ms_win_core_psapi_obsolete_l1_1_0
956 enable_api_ms_win_core_quirks_l1_1_0
957 enable_api_ms_win_core_realtime_l1_1_0
958 enable_api_ms_win_core_registry_l1_1_0
959 enable_api_ms_win_core_registry_l2_1_0
960 enable_api_ms_win_core_registryuserspecific_l1_1_0
961 enable_api_ms_win_core_rtlsupport_l1_1_0
962 enable_api_ms_win_core_rtlsupport_l1_2_0
963 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
964 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
965 enable_api_ms_win_core_sidebyside_l1_1_0
966 enable_api_ms_win_core_string_l1_1_0
967 enable_api_ms_win_core_string_l2_1_0
968 enable_api_ms_win_core_string_obsolete_l1_1_0
969 enable_api_ms_win_core_stringansi_l1_1_0
970 enable_api_ms_win_core_synch_l1_1_0
971 enable_api_ms_win_core_synch_l1_2_0
972 enable_api_ms_win_core_sysinfo_l1_1_0
973 enable_api_ms_win_core_sysinfo_l1_2_0
974 enable_api_ms_win_core_sysinfo_l1_2_1
975 enable_api_ms_win_core_threadpool_l1_1_0
976 enable_api_ms_win_core_threadpool_l1_2_0
977 enable_api_ms_win_core_threadpool_legacy_l1_1_0
978 enable_api_ms_win_core_threadpool_private_l1_1_0
979 enable_api_ms_win_core_timezone_l1_1_0
980 enable_api_ms_win_core_toolhelp_l1_1_0
981 enable_api_ms_win_core_url_l1_1_0
982 enable_api_ms_win_core_util_l1_1_0
983 enable_api_ms_win_core_version_l1_1_0
984 enable_api_ms_win_core_version_private_l1_1_0
985 enable_api_ms_win_core_versionansi_l1_1_0
986 enable_api_ms_win_core_windowserrorreporting_l1_1_0
987 enable_api_ms_win_core_winrt_error_l1_1_0
988 enable_api_ms_win_core_winrt_error_l1_1_1
989 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
990 enable_api_ms_win_core_winrt_l1_1_0
991 enable_api_ms_win_core_winrt_registration_l1_1_0
992 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
993 enable_api_ms_win_core_winrt_string_l1_1_0
994 enable_api_ms_win_core_wow64_l1_1_0
995 enable_api_ms_win_core_xstate_l1_1_0
996 enable_api_ms_win_core_xstate_l2_1_0
997 enable_api_ms_win_crt_conio_l1_1_0
998 enable_api_ms_win_crt_convert_l1_1_0
999 enable_api_ms_win_crt_environment_l1_1_0
1000 enable_api_ms_win_crt_filesystem_l1_1_0
1001 enable_api_ms_win_crt_heap_l1_1_0
1002 enable_api_ms_win_crt_locale_l1_1_0
1003 enable_api_ms_win_crt_math_l1_1_0
1004 enable_api_ms_win_crt_multibyte_l1_1_0
1005 enable_api_ms_win_crt_private_l1_1_0
1006 enable_api_ms_win_crt_process_l1_1_0
1007 enable_api_ms_win_crt_runtime_l1_1_0
1008 enable_api_ms_win_crt_stdio_l1_1_0
1009 enable_api_ms_win_crt_string_l1_1_0
1010 enable_api_ms_win_crt_time_l1_1_0
1011 enable_api_ms_win_crt_utility_l1_1_0
1012 enable_api_ms_win_devices_config_l1_1_1
1013 enable_api_ms_win_devices_query_l1_1_1
1014 enable_api_ms_win_downlevel_advapi32_l1_1_0
1015 enable_api_ms_win_downlevel_advapi32_l2_1_0
1016 enable_api_ms_win_downlevel_normaliz_l1_1_0
1017 enable_api_ms_win_downlevel_ole32_l1_1_0
1018 enable_api_ms_win_downlevel_shell32_l1_1_0
1019 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1020 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1021 enable_api_ms_win_downlevel_user32_l1_1_0
1022 enable_api_ms_win_downlevel_version_l1_1_0
1023 enable_api_ms_win_dx_d3dkmt_l1_1_0
1024 enable_api_ms_win_eventing_classicprovider_l1_1_0
1025 enable_api_ms_win_eventing_consumer_l1_1_0
1026 enable_api_ms_win_eventing_controller_l1_1_0
1027 enable_api_ms_win_eventing_legacy_l1_1_0
1028 enable_api_ms_win_eventing_provider_l1_1_0
1029 enable_api_ms_win_eventlog_legacy_l1_1_0
1030 enable_api_ms_win_mm_misc_l1_1_1
1031 enable_api_ms_win_mm_mme_l1_1_0
1032 enable_api_ms_win_mm_time_l1_1_0
1033 enable_api_ms_win_ntuser_dc_access_l1_1_0
1034 enable_api_ms_win_power_base_l1_1_0
1035 enable_api_ms_win_power_setting_l1_1_0
1036 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1037 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1038 enable_api_ms_win_security_audit_l1_1_1
1039 enable_api_ms_win_security_base_l1_1_0
1040 enable_api_ms_win_security_base_l1_2_0
1041 enable_api_ms_win_security_base_private_l1_1_1
1042 enable_api_ms_win_security_credentials_l1_1_0
1043 enable_api_ms_win_security_grouppolicy_l1_1_0
1044 enable_api_ms_win_security_lsalookup_l1_1_0
1045 enable_api_ms_win_security_lsalookup_l1_1_1
1046 enable_api_ms_win_security_lsalookup_l2_1_1
1047 enable_api_ms_win_security_lsapolicy_l1_1_0
1048 enable_api_ms_win_security_provider_l1_1_0
1049 enable_api_ms_win_security_sddl_l1_1_0
1050 enable_api_ms_win_security_systemfunctions_l1_1_0
1051 enable_api_ms_win_service_core_l1_1_0
1052 enable_api_ms_win_service_core_l1_1_1
1053 enable_api_ms_win_service_management_l1_1_0
1054 enable_api_ms_win_service_management_l2_1_0
1055 enable_api_ms_win_service_private_l1_1_1
1056 enable_api_ms_win_service_winsvc_l1_1_0
1057 enable_api_ms_win_service_winsvc_l1_2_0
1058 enable_api_ms_win_shell_shellcom_l1_1_0
1059 enable_api_ms_win_shell_shellfolders_l1_1_0
1072 enable_bluetoothapis
1105 enable_d3dcompiler_33
1106 enable_d3dcompiler_34
1107 enable_d3dcompiler_35
1108 enable_d3dcompiler_36
1109 enable_d3dcompiler_37
1110 enable_d3dcompiler_38
1111 enable_d3dcompiler_39
1112 enable_d3dcompiler_40
1113 enable_d3dcompiler_41
1114 enable_d3dcompiler_42
1115 enable_d3dcompiler_43
1116 enable_d3dcompiler_46
1117 enable_d3dcompiler_47
1196 enable_explorerframe
1197 enable_ext_ms_win_authz_context_l1_1_0
1198 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1199 enable_ext_ms_win_gdi_dc_create_l1_1_1
1200 enable_ext_ms_win_gdi_dc_l1_2_0
1201 enable_ext_ms_win_gdi_devcaps_l1_1_0
1202 enable_ext_ms_win_gdi_draw_l1_1_1
1203 enable_ext_ms_win_gdi_render_l1_1_0
1204 enable_ext_ms_win_kernel32_package_current_l1_1_0
1205 enable_ext_ms_win_kernel32_package_l1_1_1
1206 enable_ext_ms_win_ntuser_message_l1_1_1
1207 enable_ext_ms_win_ntuser_private_l1_1_1
1208 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1209 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1210 enable_ext_ms_win_ntuser_window_l1_1_1
1211 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1212 enable_ext_ms_win_ras_rasapi32_l1_1_0
1213 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1214 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1215 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1216 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1217 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1218 enable_ext_ms_win_security_credui_l1_1_0
1219 enable_ext_ms_win_security_cryptui_l1_1_0
1389 enable_photometadatahandler
1454 enable_uiautomationcore
1484 enable_windowscodecs
1485 enable_windowscodecsext
1487 enable_wineandroid_drv
1489 enable_winecoreaudio_drv
1491 enable_winegstreamer
1493 enable_winejoystick_drv
1499 enable_winepulse_drv
1500 enable_wineqtdecoder
1572 enable_aspnet_regiis
1609 enable_presentationfontcache
1622 enable_servicemodelreg
1645 enable_winemenubuilder
1647 enable_winemsibuilder
1662 ac_precious_vars
='build_alias
1719 # Initialize some variables set by options.
1721 ac_init_version
=false
1722 ac_unrecognized_opts
=
1723 ac_unrecognized_sep
=
1724 # The variables have the same names as the options, with
1725 # dashes changed to underlines.
1726 cache_file
=/dev
/null
1733 program_transform_name
=s
,x
,x
,
1741 # Installation directory options.
1742 # These are left unexpanded so users can "make install exec_prefix=/foo"
1743 # and all the variables that are supposed to be based on exec_prefix
1744 # by default will actually change.
1745 # Use braces instead of parens because sh, perl, etc. also accept them.
1746 # (The list follows the same order as the GNU Coding Standards.)
1747 bindir
='${exec_prefix}/bin'
1748 sbindir
='${exec_prefix}/sbin'
1749 libexecdir
='${exec_prefix}/libexec'
1750 datarootdir
='${prefix}/share'
1751 datadir
='${datarootdir}'
1752 sysconfdir
='${prefix}/etc'
1753 sharedstatedir
='${prefix}/com'
1754 localstatedir
='${prefix}/var'
1755 runstatedir
='${localstatedir}/run'
1756 includedir
='${prefix}/include'
1757 oldincludedir
='/usr/include'
1758 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1759 infodir
='${datarootdir}/info'
1764 libdir
='${exec_prefix}/lib'
1765 localedir
='${datarootdir}/locale'
1766 mandir
='${datarootdir}/man'
1772 # If the previous option needs an argument, assign it.
1773 if test -n "$ac_prev"; then
1774 eval $ac_prev=\
$ac_option
1780 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1785 # Accept the important Cygnus configure options, so we can diagnose typos.
1787 case $ac_dashdash$ac_option in
1791 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1793 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1794 bindir
=$ac_optarg ;;
1796 -build |
--build |
--buil |
--bui |
--bu)
1797 ac_prev
=build_alias
;;
1798 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1799 build_alias
=$ac_optarg ;;
1801 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1802 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1803 ac_prev
=cache_file
;;
1804 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1805 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1806 cache_file
=$ac_optarg ;;
1808 --config-cache |
-C)
1809 cache_file
=config.cache
;;
1811 -datadir |
--datadir |
--datadi |
--datad)
1813 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1814 datadir
=$ac_optarg ;;
1816 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1817 |
--dataroo |
--dataro |
--datar)
1818 ac_prev
=datarootdir
;;
1819 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1820 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1821 datarootdir
=$ac_optarg ;;
1823 -disable-* |
--disable-*)
1824 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1825 # Reject names that are not valid shell variable names.
1826 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1827 as_fn_error $?
"invalid feature name: $ac_useropt"
1828 ac_useropt_orig
=$ac_useropt
1829 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1830 case $ac_user_opts in
1832 "enable_
$ac_useropt"
1834 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1835 ac_unrecognized_sep
=', ';;
1837 eval enable_
$ac_useropt=no
;;
1839 -docdir |
--docdir |
--docdi |
--doc |
--do)
1841 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1842 docdir
=$ac_optarg ;;
1844 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1846 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1847 dvidir
=$ac_optarg ;;
1849 -enable-* |
--enable-*)
1850 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1851 # Reject names that are not valid shell variable names.
1852 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1853 as_fn_error $?
"invalid feature name: $ac_useropt"
1854 ac_useropt_orig
=$ac_useropt
1855 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1856 case $ac_user_opts in
1858 "enable_
$ac_useropt"
1860 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1861 ac_unrecognized_sep
=', ';;
1863 eval enable_
$ac_useropt=\
$ac_optarg ;;
1865 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1866 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1867 |
--exec |
--exe |
--ex)
1868 ac_prev
=exec_prefix
;;
1869 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1870 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1871 |
--exec=* |
--exe=* |
--ex=*)
1872 exec_prefix
=$ac_optarg ;;
1874 -gas |
--gas |
--ga |
--g)
1875 # Obsolete; use --with-gas.
1878 -help |
--help |
--hel |
--he |
-h)
1879 ac_init_help
=long
;;
1880 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1881 ac_init_help
=recursive
;;
1882 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1883 ac_init_help
=short
;;
1885 -host |
--host |
--hos |
--ho)
1886 ac_prev
=host_alias
;;
1887 -host=* |
--host=* |
--hos=* |
--ho=*)
1888 host_alias
=$ac_optarg ;;
1890 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1892 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1894 htmldir
=$ac_optarg ;;
1896 -includedir |
--includedir |
--includedi |
--included |
--include \
1897 |
--includ |
--inclu |
--incl |
--inc)
1898 ac_prev
=includedir
;;
1899 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1900 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1901 includedir
=$ac_optarg ;;
1903 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1905 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1906 infodir
=$ac_optarg ;;
1908 -libdir |
--libdir |
--libdi |
--libd)
1910 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1911 libdir
=$ac_optarg ;;
1913 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1914 |
--libexe |
--libex |
--libe)
1915 ac_prev
=libexecdir
;;
1916 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1917 |
--libexe=* |
--libex=* |
--libe=*)
1918 libexecdir
=$ac_optarg ;;
1920 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1921 ac_prev
=localedir
;;
1922 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1923 localedir
=$ac_optarg ;;
1925 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1926 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1927 ac_prev
=localstatedir
;;
1928 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1929 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1930 localstatedir
=$ac_optarg ;;
1932 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1934 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1935 mandir
=$ac_optarg ;;
1937 -nfp |
--nfp |
--nf)
1938 # Obsolete; use --without-fp.
1941 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1942 |
--no-cr |
--no-c |
-n)
1945 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1946 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1949 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1950 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1951 |
--oldin |
--oldi |
--old |
--ol |
--o)
1952 ac_prev
=oldincludedir
;;
1953 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1954 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1955 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1956 oldincludedir
=$ac_optarg ;;
1958 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1960 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1961 prefix
=$ac_optarg ;;
1963 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1964 |
--program-pre |
--program-pr |
--program-p)
1965 ac_prev
=program_prefix
;;
1966 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1967 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1968 program_prefix
=$ac_optarg ;;
1970 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1971 |
--program-suf |
--program-su |
--program-s)
1972 ac_prev
=program_suffix
;;
1973 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1974 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1975 program_suffix
=$ac_optarg ;;
1977 -program-transform-name |
--program-transform-name \
1978 |
--program-transform-nam |
--program-transform-na \
1979 |
--program-transform-n |
--program-transform- \
1980 |
--program-transform |
--program-transfor \
1981 |
--program-transfo |
--program-transf \
1982 |
--program-trans |
--program-tran \
1983 |
--progr-tra |
--program-tr |
--program-t)
1984 ac_prev
=program_transform_name
;;
1985 -program-transform-name=* |
--program-transform-name=* \
1986 |
--program-transform-nam=* |
--program-transform-na=* \
1987 |
--program-transform-n=* |
--program-transform-=* \
1988 |
--program-transform=* |
--program-transfor=* \
1989 |
--program-transfo=* |
--program-transf=* \
1990 |
--program-trans=* |
--program-tran=* \
1991 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1992 program_transform_name
=$ac_optarg ;;
1994 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1996 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1997 pdfdir
=$ac_optarg ;;
1999 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2001 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2004 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2005 |
-silent |
--silent |
--silen |
--sile |
--sil)
2008 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2009 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2010 |
--run |
--ru |
--r)
2011 ac_prev
=runstatedir
;;
2012 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2013 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2014 |
--run=* |
--ru=* |
--r=*)
2015 runstatedir
=$ac_optarg ;;
2017 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2019 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2021 sbindir
=$ac_optarg ;;
2023 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2024 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2025 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2027 ac_prev
=sharedstatedir
;;
2028 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2029 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2030 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2032 sharedstatedir
=$ac_optarg ;;
2034 -site |
--site |
--sit)
2036 -site=* |
--site=* |
--sit=*)
2039 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2041 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2042 srcdir
=$ac_optarg ;;
2044 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2045 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2046 ac_prev
=sysconfdir
;;
2047 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2048 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2049 sysconfdir
=$ac_optarg ;;
2051 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2052 ac_prev
=target_alias
;;
2053 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2054 target_alias
=$ac_optarg ;;
2056 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2059 -version |
--version |
--versio |
--versi |
--vers |
-V)
2060 ac_init_version
=: ;;
2063 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2064 # Reject names that are not valid shell variable names.
2065 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2066 as_fn_error $?
"invalid package name: $ac_useropt"
2067 ac_useropt_orig
=$ac_useropt
2068 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2069 case $ac_user_opts in
2073 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2074 ac_unrecognized_sep
=', ';;
2076 eval with_
$ac_useropt=\
$ac_optarg ;;
2078 -without-* |
--without-*)
2079 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2080 # Reject names that are not valid shell variable names.
2081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2082 as_fn_error $?
"invalid package name: $ac_useropt"
2083 ac_useropt_orig
=$ac_useropt
2084 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2085 case $ac_user_opts in
2089 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2090 ac_unrecognized_sep
=', ';;
2092 eval with_
$ac_useropt=no
;;
2095 # Obsolete; use --with-x.
2098 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2099 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2100 ac_prev
=x_includes
;;
2101 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2102 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2103 x_includes
=$ac_optarg ;;
2105 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2106 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2107 ac_prev
=x_libraries
;;
2108 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2109 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2110 x_libraries
=$ac_optarg ;;
2112 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2113 Try \`$0 --help' for more information"
2117 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2118 # Reject names that are not valid shell variable names.
2119 case $ac_envvar in #(
2120 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2121 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2123 eval $ac_envvar=\
$ac_optarg
2124 export $ac_envvar ;;
2127 # FIXME: should be removed in autoconf 3.0.
2128 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2129 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2130 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2131 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2137 if test -n "$ac_prev"; then
2138 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2139 as_fn_error $?
"missing argument to $ac_option"
2142 if test -n "$ac_unrecognized_opts"; then
2143 case $enable_option_checking in
2145 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2146 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2150 # Check all directory arguments for consistency.
2151 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2152 datadir sysconfdir sharedstatedir localstatedir includedir \
2153 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2154 libdir localedir mandir runstatedir
2156 eval ac_val
=\$
$ac_var
2157 # Remove trailing slashes.
2160 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2161 eval $ac_var=\
$ac_val;;
2163 # Be sure to have absolute directory names.
2165 [\\/$
]* | ?
:[\\/]* ) continue;;
2166 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2168 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2171 # There might be people who depend on the old broken behavior: `$host'
2172 # used to hold the argument of --host etc.
2173 # FIXME: To remove some day.
2176 target
=$target_alias
2178 # FIXME: To remove some day.
2179 if test "x$host_alias" != x
; then
2180 if test "x$build_alias" = x
; then
2181 cross_compiling
=maybe
2182 elif test "x$build_alias" != "x$host_alias"; then
2188 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2190 test "$silent" = yes && exec 6>/dev
/null
2193 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2194 ac_ls_di
=`ls -di .` &&
2195 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2196 as_fn_error $?
"working directory cannot be determined"
2197 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2198 as_fn_error $?
"pwd does not report name of working directory"
2201 # Find the source files, if location was not specified.
2202 if test -z "$srcdir"; then
2203 ac_srcdir_defaulted
=yes
2204 # Try the directory containing this script, then the parent directory.
2205 ac_confdir
=`$as_dirname -- "$as_myself" ||
2206 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2207 X"$as_myself" : 'X\(//\)[^/]' \| \
2208 X"$as_myself" : 'X\(//\)$' \| \
2209 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2210 $as_echo X"$as_myself" |
2211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2229 if test ! -r "$srcdir/$ac_unique_file"; then
2233 ac_srcdir_defaulted
=no
2235 if test ! -r "$srcdir/$ac_unique_file"; then
2236 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2237 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2239 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2241 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2243 # When building in place, set srcdir=.
2244 if test "$ac_abs_confdir" = "$ac_pwd"; then
2247 # Remove unnecessary trailing slashes from srcdir.
2248 # Double slashes in file names in object file debugging info
2249 # mess up M-x gdb in Emacs.
2251 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2253 for ac_var
in $ac_precious_vars; do
2254 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2255 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2256 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2257 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2261 # Report the --help message.
2263 if test "$ac_init_help" = "long"; then
2264 # Omit some internal or obsolete options to make the list less imposing.
2265 # This message is too long to be a string in the A/UX 3.1 sh.
2267 \`configure' configures Wine 2.15 to adapt to many kinds of systems.
2269 Usage: $0 [OPTION]... [VAR=VALUE]...
2271 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2272 VAR=VALUE. See below for descriptions of some of the useful variables.
2274 Defaults for the options are specified in brackets.
2277 -h, --help display this help and exit
2278 --help=short display options specific to this package
2279 --help=recursive display the short help of all the included packages
2280 -V, --version display version information and exit
2281 -q, --quiet, --silent do not print \`checking ...' messages
2282 --cache-file=FILE cache test results in FILE [disabled]
2283 -C, --config-cache alias for \`--cache-file=config.cache'
2284 -n, --no-create do not create output files
2285 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2287 Installation directories:
2288 --prefix=PREFIX install architecture-independent files in PREFIX
2289 [$ac_default_prefix]
2290 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2293 By default, \`make install' will install all the files in
2294 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2295 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2296 for instance \`--prefix=\$HOME'.
2298 For better control, use the options below.
2300 Fine tuning of the installation directories:
2301 --bindir=DIR user executables [EPREFIX/bin]
2302 --sbindir=DIR system admin executables [EPREFIX/sbin]
2303 --libexecdir=DIR program executables [EPREFIX/libexec]
2304 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2305 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2306 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2307 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2308 --libdir=DIR object code libraries [EPREFIX/lib]
2309 --includedir=DIR C header files [PREFIX/include]
2310 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2311 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2312 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2313 --infodir=DIR info documentation [DATAROOTDIR/info]
2314 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2315 --mandir=DIR man documentation [DATAROOTDIR/man]
2316 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2317 --htmldir=DIR html documentation [DOCDIR]
2318 --dvidir=DIR dvi documentation [DOCDIR]
2319 --pdfdir=DIR pdf documentation [DOCDIR]
2320 --psdir=DIR ps documentation [DOCDIR]
2326 --x-includes=DIR X include files are
in DIR
2327 --x-libraries=DIR X library files are
in DIR
2330 --build=BUILD configure
for building on BUILD
[guessed
]
2331 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2335 if test -n "$ac_init_help"; then
2336 case $ac_init_help in
2337 short | recursive
) echo "Configuration of Wine 2.15:";;
2342 --disable-option-checking ignore unrecognized
--enable/--with options
2343 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2344 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2345 --disable-win16 do not include Win16 support
2346 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2348 --disable-tests do not build the regression tests
2349 --enable-maintainer-mode
2350 enable maintainer-specific build rules
2351 --disable-largefile omit support for large files
2354 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2355 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2356 --without-alsa do not use the Alsa sound support
2357 --without-capi do not use CAPI (ISDN support)
2358 --without-cms do not use CMS (color management support)
2359 --without-coreaudio do not use the CoreAudio sound support
2360 --without-cups do not use CUPS
2361 --without-curses do not use (n)curses
2362 --without-dbus do not use DBus (dynamic device support)
2363 --without-fontconfig do not use fontconfig
2364 --without-freetype do not use the FreeType library
2365 --without-gettext do not use gettext
2366 --with-gettextpo use the GetTextPO library to rebuild po files
2367 --without-gphoto do not use gphoto (Digital Camera support)
2368 --without-glu do not use the GLU library
2369 --without-gnutls do not use GnuTLS (schannel support)
2370 --without-gsm do not use libgsm (GSM 06.10 codec support)
2371 --without-gstreamer do not use GStreamer (codecs support)
2372 --without-hal do not use HAL (dynamic device support)
2373 --without-jpeg do not use JPEG
2374 --without-ldap do not use LDAP
2375 --without-mpg123 do not use the mpg123 library
2376 --without-netapi do not use the Samba NetAPI library
2377 --without-openal do not use OpenAL
2378 --without-opencl do not use OpenCL
2379 --without-opengl do not use OpenGL
2380 --without-osmesa do not use the OSMesa library
2381 --without-oss do not use the OSS sound support
2382 --without-pcap do not use the Packet Capture library
2383 --without-png do not use PNG
2384 --without-pthread do not use the pthread library
2385 --without-pulse do not use PulseAudio sound support
2386 --without-sane do not use SANE (scanner support)
2387 --without-tiff do not use TIFF
2388 --without-udev do not use udev (plug and play support)
2389 --without-v4l do not use v4l1 (v4l support)
2390 --without-xcomposite do not use the Xcomposite extension
2391 --without-xcursor do not use the Xcursor extension
2392 --without-xfixes do not use Xfixes for clipboard change notifications
2393 --without-xinerama do not use Xinerama (multi-monitor support)
2394 --without-xinput do not use the Xinput extension
2395 --without-xinput2 do not use the Xinput 2 extension
2396 --without-xml do not use XML
2397 --without-xrandr do not use Xrandr (resolution changes)
2398 --without-xrender do not use the Xrender extension
2399 --without-xshape do not use the Xshape extension
2400 --without-xshm do not use XShm (shared memory extension)
2401 --without-xslt do not use XSLT
2402 --without-xxf86vm do not use XFree video mode extension
2403 --without-zlib do not use Zlib (data compression)
2404 --with-wine-tools=DIR use Wine tools from directory DIR
2405 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2406 --with-x use the X Window System
2408 Some influential environment variables:
2409 CC C compiler command
2410 CFLAGS C compiler flags
2411 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2412 nonstandard directory <lib dir>
2413 LIBS libraries to pass to the linker, e.g. -l<library>
2414 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2415 you have headers in a nonstandard directory <include dir>
2416 CXX C++ compiler command
2417 CXXFLAGS C++ compiler flags
2419 XMKMF Path to xmkmf, Makefile generator for X Window System
2420 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2421 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2422 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2423 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2424 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2425 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2426 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2427 HAL_LIBS Linker flags for hal, overriding pkg-config
2429 C compiler flags for gnutls, overriding pkg-config
2430 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2431 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2432 SANE_LIBS Linker flags for libsane, overriding pkg-config
2434 C compiler flags for libgphoto2, overriding pkg-config
2436 Linker flags for libgphoto2, overriding pkg-config
2438 C compiler flags for libgphoto2_port, overriding pkg-config
2440 Linker flags for libgphoto2_port, overriding pkg-config
2442 C compiler flags for lcms2, overriding pkg-config
2443 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2445 C compiler flags for freetype2, overriding pkg-config
2447 Linker flags for freetype2, overriding pkg-config
2449 C compiler flags for libpulse, overriding pkg-config
2450 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2452 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2453 gstreamer-audio-1.0, overriding pkg-config
2455 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2456 gstreamer-audio-1.0, overriding pkg-config
2457 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2458 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2460 C compiler flags for capi20, overriding pkg-config
2461 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2463 C compiler flags for fontconfig, overriding pkg-config
2465 Linker flags for fontconfig, overriding pkg-config
2466 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2467 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2468 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2469 PNG_LIBS Linker flags for libpng, overriding pkg-config
2470 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2471 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2473 C compiler flags for libmpg123, overriding pkg-config
2474 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2476 C compiler flags for netapi, overriding pkg-config
2477 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2478 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2479 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2481 Use these variables to override the choices made by `configure' or to
help
2482 it to
find libraries and programs with nonstandard names
/locations.
2484 Report bugs to
<wine-devel@winehq.org
>.
2485 Wine home page
: <http
://www.winehq.org
>.
2490 if test "$ac_init_help" = "recursive"; then
2491 # If there are subdirs, report their specific --help.
2492 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2493 test -d "$ac_dir" ||
2494 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2499 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2501 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2502 # A ".." for each directory in $ac_dir_suffix.
2503 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2504 case $ac_top_builddir_sub in
2505 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2506 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2509 ac_abs_top_builddir
=$ac_pwd
2510 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2511 # for backward compatibility:
2512 ac_top_builddir
=$ac_top_build_prefix
2515 .
) # We are building in place.
2517 ac_top_srcdir
=$ac_top_builddir_sub
2518 ac_abs_top_srcdir
=$ac_pwd ;;
2519 [\\/]* | ?
:[\\/]* ) # Absolute name.
2520 ac_srcdir
=$srcdir$ac_dir_suffix;
2521 ac_top_srcdir
=$srcdir
2522 ac_abs_top_srcdir
=$srcdir ;;
2524 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2525 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2526 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2528 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2530 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2531 # Check for guested configure.
2532 if test -f "$ac_srcdir/configure.gnu"; then
2534 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2535 elif test -f "$ac_srcdir/configure"; then
2537 $SHELL "$ac_srcdir/configure" --help=recursive
2539 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2541 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2545 test -n "$ac_init_help" && exit $ac_status
2546 if $ac_init_version; then
2549 generated by GNU Autoconf
2.69
2551 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2552 This configure
script is free software
; the Free Software Foundation
2553 gives unlimited permission to copy
, distribute and modify it.
2558 ## ------------------------ ##
2559 ## Autoconf initialization. ##
2560 ## ------------------------ ##
2562 # ac_fn_c_try_compile LINENO
2563 # --------------------------
2564 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2565 ac_fn_c_try_compile
()
2567 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2568 rm -f conftest.
$ac_objext
2569 if { { ac_try
="$ac_compile"
2571 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2572 *) ac_try_echo=$ac_try;;
2574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2575 $as_echo "$ac_try_echo"; } >&5
2576 (eval "$ac_compile") 2>conftest.err
2578 if test -s conftest.err; then
2579 grep -v '^ *+' conftest.err >conftest.er1
2580 cat conftest.er1 >&5
2581 mv -f conftest.er1 conftest.err
2583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2584 test $ac_status = 0; } && {
2585 test -z "$ac_c_werror_flag" ||
2586 test ! -s conftest.err
2587 } && test -s conftest.$ac_objext; then :
2590 $as_echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.$ac_ext >&5
2595 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2596 as_fn_set_status $ac_retval
2598 } # ac_fn_c_try_compile
2600 # ac_fn_cxx_try_compile LINENO
2601 # ----------------------------
2602 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2603 ac_fn_cxx_try_compile ()
2605 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2606 rm -f conftest.$ac_objext
2607 if { { ac_try="$ac_compile"
2609 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2610 *) ac_try_echo
=$ac_try;;
2612 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2613 $as_echo "$ac_try_echo"; } >&5
2614 (eval "$ac_compile") 2>conftest.err
2616 if test -s conftest.err
; then
2617 grep -v '^ *+' conftest.err
>conftest.er1
2618 cat conftest.er1
>&5
2619 mv -f conftest.er1 conftest.err
2621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2622 test $ac_status = 0; } && {
2623 test -z "$ac_cxx_werror_flag" ||
2624 test ! -s conftest.err
2625 } && test -s conftest.
$ac_objext; then :
2628 $as_echo "$as_me: failed program was:" >&5
2629 sed 's/^/| /' conftest.
$ac_ext >&5
2633 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2634 as_fn_set_status
$ac_retval
2636 } # ac_fn_cxx_try_compile
2638 # ac_fn_c_try_link LINENO
2639 # -----------------------
2640 # Try to link conftest.$ac_ext, and return whether this succeeded.
2643 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2644 rm -f conftest.
$ac_objext conftest
$ac_exeext
2645 if { { ac_try
="$ac_link"
2647 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2648 *) ac_try_echo=$ac_try;;
2650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2651 $as_echo "$ac_try_echo"; } >&5
2652 (eval "$ac_link") 2>conftest.err
2654 if test -s conftest.err; then
2655 grep -v '^ *+' conftest.err >conftest.er1
2656 cat conftest.er1 >&5
2657 mv -f conftest.er1 conftest.err
2659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2660 test $ac_status = 0; } && {
2661 test -z "$ac_c_werror_flag" ||
2662 test ! -s conftest.err
2663 } && test -s conftest$ac_exeext && {
2664 test "$cross_compiling" = yes ||
2665 test -x conftest$ac_exeext
2669 $as_echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.$ac_ext >&5
2674 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2675 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2676 # interfere with the next link command; also delete a directory that is
2677 # left behind by Apple's compiler. We do this before executing the actions.
2678 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2680 as_fn_set_status $ac_retval
2682 } # ac_fn_c_try_link
2684 # ac_fn_c_try_cpp LINENO
2685 # ----------------------
2686 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2690 if { { ac_try="$ac_cpp conftest.$ac_ext"
2692 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2693 *) ac_try_echo
=$ac_try;;
2695 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2696 $as_echo "$ac_try_echo"; } >&5
2697 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2699 if test -s conftest.err
; then
2700 grep -v '^ *+' conftest.err
>conftest.er1
2701 cat conftest.er1
>&5
2702 mv -f conftest.er1 conftest.err
2704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2705 test $ac_status = 0; } > conftest.i
&& {
2706 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2707 test ! -s conftest.err
2711 $as_echo "$as_me: failed program was:" >&5
2712 sed 's/^/| /' conftest.
$ac_ext >&5
2716 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2717 as_fn_set_status
$ac_retval
2721 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2722 # -------------------------------------------------------
2723 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2724 # the include files in INCLUDES and setting the cache variable VAR
2726 ac_fn_c_check_header_mongrel
()
2728 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2729 if eval \
${$3+:} false
; then :
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2731 $as_echo_n "checking for $2... " >&6; }
2732 if eval \
${$3+:} false
; then :
2733 $as_echo_n "(cached) " >&6
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2737 $as_echo "$ac_res" >&6; }
2739 # Is the header compilable?
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2741 $as_echo_n "checking $2 usability... " >&6; }
2742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2743 /* end confdefs.h. */
2747 if ac_fn_c_try_compile
"$LINENO"; then :
2748 ac_header_compiler
=yes
2750 ac_header_compiler
=no
2752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2754 $as_echo "$ac_header_compiler" >&6; }
2756 # Is the header present?
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2758 $as_echo_n "checking $2 presence... " >&6; }
2759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2760 /* end confdefs.h. */
2763 if ac_fn_c_try_cpp
"$LINENO"; then :
2764 ac_header_preproc
=yes
2766 ac_header_preproc
=no
2768 rm -f conftest.err conftest.i conftest.
$ac_ext
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2770 $as_echo "$ac_header_preproc" >&6; }
2772 # So? What about this header?
2773 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2776 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2778 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2782 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2784 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2786 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2788 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2790 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2791 ( $as_echo "## ------------------------------------ ##
2792 ## Report this to wine-devel@winehq.org ##
2793 ## ------------------------------------ ##"
2794 ) |
sed "s/^/$as_me: WARNING: /" >&2
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2798 $as_echo_n "checking for $2... " >&6; }
2799 if eval \
${$3+:} false
; then :
2800 $as_echo_n "(cached) " >&6
2802 eval "$3=\$ac_header_compiler"
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2806 $as_echo "$ac_res" >&6; }
2808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2810 } # ac_fn_c_check_header_mongrel
2812 # ac_fn_c_try_run LINENO
2813 # ----------------------
2814 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2815 # that executables *can* be run.
2818 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2819 if { { ac_try
="$ac_link"
2821 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2825 $as_echo "$ac_try_echo"; } >&5
2826 (eval "$ac_link") 2>&5
2828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2829 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2830 { { case "(($ac_try" in
2831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2832 *) ac_try_echo
=$ac_try;;
2834 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2835 $as_echo "$ac_try_echo"; } >&5
2836 (eval "$ac_try") 2>&5
2838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2839 test $ac_status = 0; }; }; then :
2842 $as_echo "$as_me: program exited with status $ac_status" >&5
2843 $as_echo "$as_me: failed program was:" >&5
2844 sed 's/^/| /' conftest.
$ac_ext >&5
2846 ac_retval
=$ac_status
2848 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2849 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2850 as_fn_set_status
$ac_retval
2854 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2855 # -------------------------------------------------------
2856 # Tests whether HEADER exists and can be compiled using the include files in
2857 # INCLUDES, setting the cache variable VAR accordingly.
2858 ac_fn_c_check_header_compile
()
2860 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2862 $as_echo_n "checking for $2... " >&6; }
2863 if eval \
${$3+:} false
; then :
2864 $as_echo_n "(cached) " >&6
2866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2867 /* end confdefs.h. */
2871 if ac_fn_c_try_compile
"$LINENO"; then :
2876 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2880 $as_echo "$ac_res" >&6; }
2881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2883 } # ac_fn_c_check_header_compile
2885 # ac_fn_c_check_func LINENO FUNC VAR
2886 # ----------------------------------
2887 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2888 ac_fn_c_check_func
()
2890 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2892 $as_echo_n "checking for $2... " >&6; }
2893 if eval \
${$3+:} false
; then :
2894 $as_echo_n "(cached) " >&6
2896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2897 /* end confdefs.h. */
2898 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2900 #define $2 innocuous_$2
2902 /* System header to define __stub macros and hopefully few prototypes,
2903 which can conflict with char $2 (); below.
2904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2905 <limits.h> exists even on freestanding compilers. */
2908 # include <limits.h>
2910 # include <assert.h>
2915 /* Override any GCC internal prototype to avoid an error.
2916 Use char because int might match the return type of a GCC
2917 builtin and then its argument prototype would still apply. */
2922 /* The GNU C library defines this for functions which it implements
2923 to always fail with ENOSYS. Some functions are actually named
2924 something starting with __ and the normal name is an alias. */
2925 #if defined __stub_$2 || defined __stub___$2
2937 if ac_fn_c_try_link
"$LINENO"; then :
2942 rm -f core conftest.err conftest.
$ac_objext \
2943 conftest
$ac_exeext conftest.
$ac_ext
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2947 $as_echo "$ac_res" >&6; }
2948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2950 } # ac_fn_c_check_func
2952 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2953 # ----------------------------------------------------
2954 # Tries to find if the field MEMBER exists in type AGGR, after including
2955 # INCLUDES, setting cache variable VAR accordingly.
2956 ac_fn_c_check_member
()
2958 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2960 $as_echo_n "checking for $2.$3... " >&6; }
2961 if eval \
${$4+:} false
; then :
2962 $as_echo_n "(cached) " >&6
2964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2965 /* end confdefs.h. */
2977 if ac_fn_c_try_compile
"$LINENO"; then :
2980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2981 /* end confdefs.h. */
2987 if (sizeof ac_aggr.$3)
2993 if ac_fn_c_try_compile
"$LINENO"; then :
2998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3004 $as_echo "$ac_res" >&6; }
3005 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3007 } # ac_fn_c_check_member
3009 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3010 # -------------------------------------------
3011 # Tests whether TYPE exists after having included INCLUDES, setting cache
3012 # variable VAR accordingly.
3013 ac_fn_c_check_type
()
3015 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3017 $as_echo_n "checking for $2... " >&6; }
3018 if eval \
${$3+:} false
; then :
3019 $as_echo_n "(cached) " >&6
3022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3023 /* end confdefs.h. */
3034 if ac_fn_c_try_compile
"$LINENO"; then :
3035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3036 /* end confdefs.h. */
3047 if ac_fn_c_try_compile
"$LINENO"; then :
3052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3058 $as_echo "$ac_res" >&6; }
3059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3061 } # ac_fn_c_check_type
3062 cat >config.log
<<_ACEOF
3063 This file contains any messages produced by compilers while
3064 running configure, to aid debugging if configure makes a mistake.
3066 It was created by Wine $as_me 2.15, which was
3067 generated by GNU Autoconf 2.69. Invocation command line was
3079 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3080 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3081 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3082 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3083 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3085 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3086 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3088 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3089 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3090 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3091 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3092 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3093 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3094 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3102 test -z "$as_dir" && as_dir
=.
3103 $as_echo "PATH: $as_dir"
3119 # Keep a trace of the command line.
3120 # Strip out --no-create and --no-recursion so they do not pile up.
3121 # Strip out --silent because we don't want to record it for future runs.
3122 # Also quote any args containing shell meta-characters.
3123 # Make two passes to allow for proper duplicate-argument suppression.
3127 ac_must_keep_next
=false
3133 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3134 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3135 |
-silent |
--silent |
--silen |
--sile |
--sil)
3138 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3141 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3143 as_fn_append ac_configure_args1
" '$ac_arg'"
3144 if test $ac_must_keep_next = true
; then
3145 ac_must_keep_next
=false
# Got value, back to normal.
3148 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3149 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3150 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3151 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3152 case "$ac_configure_args0 " in
3153 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3156 -* ) ac_must_keep_next
=true
;;
3159 as_fn_append ac_configure_args
" '$ac_arg'"
3164 { ac_configure_args0
=; unset ac_configure_args0
;}
3165 { ac_configure_args1
=; unset ac_configure_args1
;}
3167 # When interrupted or exit'd, cleanup temporary files, and complete
3168 # config.log. We remove comments because anyway the quotes in there
3169 # would cause problems or look ugly.
3170 # WARNING: Use '\'' to represent an apostrophe within the trap.
3171 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3172 trap 'exit_status=$?
3173 # Save into config.log some information that might help in debugging.
3177 $as_echo "## ---------------- ##
3178 ## Cache variables. ##
3179 ## ---------------- ##"
3181 # The following way of writing the cache mishandles newlines in values,
3183 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3184 eval ac_val=\$$ac_var
3188 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3189 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3192 _ | IFS | as_nl) ;; #(
3193 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3194 *) { eval $ac_var=; unset $ac_var;} ;;
3199 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3200 *${as_nl}ac_space=\ *)
3202 "s/'\''/'\''\\\\'\'''\''/g;
3203 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3206 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3213 $as_echo "## ----------------- ##
3214 ## Output variables. ##
3215 ## ----------------- ##"
3217 for ac_var in $ac_subst_vars
3219 eval ac_val=\$$ac_var
3221 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3223 $as_echo "$ac_var='\''$ac_val'\''"
3227 if test -n "$ac_subst_files"; then
3228 $as_echo "## ------------------- ##
3229 ## File substitutions. ##
3230 ## ------------------- ##"
3232 for ac_var
in $ac_subst_files
3234 eval ac_val
=\$
$ac_var
3236 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3238 $as_echo "$ac_var='\''$ac_val'\''"
3243 if test -s confdefs.h; then
3244 $as_echo "## ----------- ##
3251 test "$ac_signal" != 0 &&
3252 $as_echo "$as_me: caught signal $ac_signal"
3253 $as_echo "$as_me: exit $exit_status"
3255 rm -f core *.core core.conftest.* &&
3256 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3259 for ac_signal
in 1 2 13 15; do
3260 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3264 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3265 rm -f -r conftest
* confdefs.h
3267 $as_echo "/* confdefs.h */" > confdefs.h
3269 # Predefined preprocessor variables.
3271 cat >>confdefs.h
<<_ACEOF
3272 #define PACKAGE_NAME "$PACKAGE_NAME"
3275 cat >>confdefs.h
<<_ACEOF
3276 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3279 cat >>confdefs.h
<<_ACEOF
3280 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3283 cat >>confdefs.h
<<_ACEOF
3284 #define PACKAGE_STRING "$PACKAGE_STRING"
3287 cat >>confdefs.h
<<_ACEOF
3288 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3291 cat >>confdefs.h
<<_ACEOF
3292 #define PACKAGE_URL "$PACKAGE_URL"
3296 # Let the site file select an alternate cache file if it wants to.
3297 # Prefer an explicitly selected file to automatically selected ones.
3300 if test -n "$CONFIG_SITE"; then
3301 # We do not want a PATH search for config.site.
3302 case $CONFIG_SITE in #((
3303 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3304 */*) ac_site_file1
=$CONFIG_SITE;;
3305 *) ac_site_file1
=.
/$CONFIG_SITE;;
3307 elif test "x$prefix" != xNONE
; then
3308 ac_site_file1
=$prefix/share
/config.site
3309 ac_site_file2
=$prefix/etc
/config.site
3311 ac_site_file1
=$ac_default_prefix/share
/config.site
3312 ac_site_file2
=$ac_default_prefix/etc
/config.site
3314 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3316 test "x$ac_site_file" = xNONE
&& continue
3317 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3319 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3320 sed 's/^/| /' "$ac_site_file" >&5
3322 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3324 as_fn_error $?
"failed to load site script $ac_site_file
3325 See \`config.log' for more details" "$LINENO" 5; }
3329 if test -r "$cache_file"; then
3330 # Some versions of bash will fail to source /dev/null (special files
3331 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3332 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3334 $as_echo "$as_me: loading cache $cache_file" >&6;}
3336 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3337 *) .
"./$cache_file";;
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3342 $as_echo "$as_me: creating cache $cache_file" >&6;}
3346 # Check that the precious variables saved in the cache have kept the same
3348 ac_cache_corrupted
=false
3349 for ac_var
in $ac_precious_vars; do
3350 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3351 eval ac_new_set
=\
$ac_env_${ac_var}_set
3352 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3353 eval ac_new_val
=\
$ac_env_${ac_var}_value
3354 case $ac_old_set,$ac_new_set in
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3357 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3358 ac_cache_corrupted
=: ;;
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3361 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3362 ac_cache_corrupted
=: ;;
3365 if test "x$ac_old_val" != "x$ac_new_val"; then
3366 # differences in whitespace do not lead to failure.
3367 ac_old_val_w
=`echo x $ac_old_val`
3368 ac_new_val_w
=`echo x $ac_new_val`
3369 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3371 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3372 ac_cache_corrupted
=:
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3375 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3376 eval $ac_var=\
$ac_old_val
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3379 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3381 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3384 # Pass precious variables to config.status.
3385 if test "$ac_new_set" = set; then
3387 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3388 *) ac_arg
=$ac_var=$ac_new_val ;;
3390 case " $ac_configure_args " in
3391 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3392 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3396 if $ac_cache_corrupted; then
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3400 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3401 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3403 ## -------------------- ##
3404 ## Main body of script. ##
3405 ## -------------------- ##
3408 ac_cpp
='$CPP $CPPFLAGS'
3409 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3410 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3411 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3415 ac_config_headers
="$ac_config_headers include/config.h"
3418 for ac_dir
in tools
"$srcdir"/tools
; do
3419 if test -f "$ac_dir/install-sh"; then
3421 ac_install_sh
="$ac_aux_dir/install-sh -c"
3423 elif test -f "$ac_dir/install.sh"; then
3425 ac_install_sh
="$ac_aux_dir/install.sh -c"
3427 elif test -f "$ac_dir/shtool"; then
3429 ac_install_sh
="$ac_aux_dir/shtool install -c"
3433 if test -z "$ac_aux_dir"; then
3434 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3437 # These three variables are undocumented and unsupported,
3438 # and are intended to be withdrawn in a future Autoconf release.
3439 # They can cause serious problems if a builder's source tree is in a directory
3440 # whose full name contains unusual characters.
3441 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3442 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3443 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3447 libwine_version
="1.0"
3451 # Check whether --enable-win16 was given.
3452 if test "${enable_win16+set}" = set; then :
3453 enableval
=$enable_win16;
3456 # Check whether --enable-win64 was given.
3457 if test "${enable_win64+set}" = set; then :
3458 enableval
=$enable_win64;
3461 # Check whether --enable-tests was given.
3462 if test "${enable_tests+set}" = set; then :
3463 enableval
=$enable_tests;
3466 # Check whether --enable-maintainer-mode was given.
3467 if test "${enable_maintainer_mode+set}" = set; then :
3468 enableval
=$enable_maintainer_mode;
3473 # Check whether --with-alsa was given.
3474 if test "${with_alsa+set}" = set; then :
3475 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3479 # Check whether --with-capi was given.
3480 if test "${with_capi+set}" = set; then :
3485 # Check whether --with-cms was given.
3486 if test "${with_cms+set}" = set; then :
3491 # Check whether --with-coreaudio was given.
3492 if test "${with_coreaudio+set}" = set; then :
3493 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3497 # Check whether --with-cups was given.
3498 if test "${with_cups+set}" = set; then :
3503 # Check whether --with-curses was given.
3504 if test "${with_curses+set}" = set; then :
3505 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3509 # Check whether --with-dbus was given.
3510 if test "${with_dbus+set}" = set; then :
3515 # Check whether --with-fontconfig was given.
3516 if test "${with_fontconfig+set}" = set; then :
3517 withval
=$with_fontconfig;
3521 # Check whether --with-freetype was given.
3522 if test "${with_freetype+set}" = set; then :
3523 withval
=$with_freetype;
3527 # Check whether --with-gettext was given.
3528 if test "${with_gettext+set}" = set; then :
3529 withval
=$with_gettext;
3533 # Check whether --with-gettextpo was given.
3534 if test "${with_gettextpo+set}" = set; then :
3535 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3539 # Check whether --with-gphoto was given.
3540 if test "${with_gphoto+set}" = set; then :
3541 withval
=$with_gphoto;
3545 # Check whether --with-glu was given.
3546 if test "${with_glu+set}" = set; then :
3551 # Check whether --with-gnutls was given.
3552 if test "${with_gnutls+set}" = set; then :
3553 withval
=$with_gnutls;
3557 # Check whether --with-gsm was given.
3558 if test "${with_gsm+set}" = set; then :
3559 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3563 # Check whether --with-gstreamer was given.
3564 if test "${with_gstreamer+set}" = set; then :
3565 withval
=$with_gstreamer;
3569 # Check whether --with-hal was given.
3570 if test "${with_hal+set}" = set; then :
3575 # Check whether --with-jpeg was given.
3576 if test "${with_jpeg+set}" = set; then :
3581 # Check whether --with-ldap was given.
3582 if test "${with_ldap+set}" = set; then :
3583 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3587 # Check whether --with-mpg123 was given.
3588 if test "${with_mpg123+set}" = set; then :
3589 withval
=$with_mpg123;
3593 # Check whether --with-netapi was given.
3594 if test "${with_netapi+set}" = set; then :
3595 withval
=$with_netapi;
3599 # Check whether --with-openal was given.
3600 if test "${with_openal+set}" = set; then :
3601 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3605 # Check whether --with-opencl was given.
3606 if test "${with_opencl+set}" = set; then :
3607 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3611 # Check whether --with-opengl was given.
3612 if test "${with_opengl+set}" = set; then :
3613 withval
=$with_opengl;
3617 # Check whether --with-osmesa was given.
3618 if test "${with_osmesa+set}" = set; then :
3619 withval
=$with_osmesa;
3623 # Check whether --with-oss was given.
3624 if test "${with_oss+set}" = set; then :
3629 # Check whether --with-pcap was given.
3630 if test "${with_pcap+set}" = set; then :
3631 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3635 # Check whether --with-png was given.
3636 if test "${with_png+set}" = set; then :
3641 # Check whether --with-pthread was given.
3642 if test "${with_pthread+set}" = set; then :
3643 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3647 # Check whether --with-pulse was given.
3648 if test "${with_pulse+set}" = set; then :
3649 withval
=$with_pulse;
3653 # Check whether --with-sane was given.
3654 if test "${with_sane+set}" = set; then :
3659 # Check whether --with-tiff was given.
3660 if test "${with_tiff+set}" = set; then :
3665 # Check whether --with-udev was given.
3666 if test "${with_udev+set}" = set; then :
3671 # Check whether --with-v4l was given.
3672 if test "${with_v4l+set}" = set; then :
3677 # Check whether --with-xcomposite was given.
3678 if test "${with_xcomposite+set}" = set; then :
3679 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3683 # Check whether --with-xcursor was given.
3684 if test "${with_xcursor+set}" = set; then :
3685 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3689 # Check whether --with-xfixes was given.
3690 if test "${with_xfixes+set}" = set; then :
3691 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
3695 # Check whether --with-xinerama was given.
3696 if test "${with_xinerama+set}" = set; then :
3697 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3701 # Check whether --with-xinput was given.
3702 if test "${with_xinput+set}" = set; then :
3703 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3707 # Check whether --with-xinput2 was given.
3708 if test "${with_xinput2+set}" = set; then :
3709 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3713 # Check whether --with-xml was given.
3714 if test "${with_xml+set}" = set; then :
3719 # Check whether --with-xrandr was given.
3720 if test "${with_xrandr+set}" = set; then :
3721 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3725 # Check whether --with-xrender was given.
3726 if test "${with_xrender+set}" = set; then :
3727 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3731 # Check whether --with-xshape was given.
3732 if test "${with_xshape+set}" = set; then :
3733 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3737 # Check whether --with-xshm was given.
3738 if test "${with_xshm+set}" = set; then :
3739 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3743 # Check whether --with-xslt was given.
3744 if test "${with_xslt+set}" = set; then :
3749 # Check whether --with-xxf86vm was given.
3750 if test "${with_xxf86vm+set}" = set; then :
3751 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
3755 # Check whether --with-zlib was given.
3756 if test "${with_zlib+set}" = set; then :
3757 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3762 # Check whether --with-wine-tools was given.
3763 if test "${with_wine_tools+set}" = set; then :
3764 withval
=$with_wine_tools;
3768 # Check whether --with-wine64 was given.
3769 if test "${with_wine64+set}" = set; then :
3770 withval
=$with_wine64;
3774 # Make sure we can run config.sub.
3775 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3776 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3779 $as_echo_n "checking build system type... " >&6; }
3780 if ${ac_cv_build+:} false
; then :
3781 $as_echo_n "(cached) " >&6
3783 ac_build_alias
=$build_alias
3784 test "x$ac_build_alias" = x
&&
3785 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3786 test "x$ac_build_alias" = x
&&
3787 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3788 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3789 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3793 $as_echo "$ac_cv_build" >&6; }
3794 case $ac_cv_build in
3796 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3799 ac_save_IFS
=$IFS; IFS
='-'
3805 # Remember, the first character of IFS is used to create $*,
3806 # except with old shells:
3809 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3813 $as_echo_n "checking host system type... " >&6; }
3814 if ${ac_cv_host+:} false
; then :
3815 $as_echo_n "(cached) " >&6
3817 if test "x$host_alias" = x
; then
3818 ac_cv_host
=$ac_cv_build
3820 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3821 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3826 $as_echo "$ac_cv_host" >&6; }
3829 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3832 ac_save_IFS
=$IFS; IFS
='-'
3838 # Remember, the first character of IFS is used to create $*,
3839 # except with old shells:
3842 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3848 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3849 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3850 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3856 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3858 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3859 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3860 $as_echo_n "(cached) " >&6
3862 cat >conftest.
make <<\_ACEOF
3865 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3867 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3868 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3870 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3872 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3876 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3878 $as_echo "yes" >&6; }
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3882 $as_echo "no" >&6; }
3883 SET_MAKE
="MAKE=${MAKE-make}"
3887 ac_cpp
='$CPP $CPPFLAGS'
3888 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3889 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3890 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3891 if test -n "$ac_tool_prefix"; then
3892 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3893 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3895 $as_echo_n "checking for $ac_word... " >&6; }
3896 if ${ac_cv_prog_CC+:} false
; then :
3897 $as_echo_n "(cached) " >&6
3899 if test -n "$CC"; then
3900 ac_cv_prog_CC
="$CC" # Let the user override the test.
3902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3906 test -z "$as_dir" && as_dir
=.
3907 for ac_exec_ext
in '' $ac_executable_extensions; do
3908 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3909 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3920 if test -n "$CC"; then
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3922 $as_echo "$CC" >&6; }
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3925 $as_echo "no" >&6; }
3930 if test -z "$ac_cv_prog_CC"; then
3932 # Extract the first word of "gcc", so it can be a program name with args.
3933 set dummy gcc
; ac_word
=$2
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3935 $as_echo_n "checking for $ac_word... " >&6; }
3936 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3937 $as_echo_n "(cached) " >&6
3939 if test -n "$ac_ct_CC"; then
3940 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3946 test -z "$as_dir" && as_dir
=.
3947 for ac_exec_ext
in '' $ac_executable_extensions; do
3948 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3949 ac_cv_prog_ac_ct_CC
="gcc"
3950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3959 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3960 if test -n "$ac_ct_CC"; then
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3962 $as_echo "$ac_ct_CC" >&6; }
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3965 $as_echo "no" >&6; }
3968 if test "x$ac_ct_CC" = x
; then
3971 case $cross_compiling:$ac_tool_warned in
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3975 ac_tool_warned
=yes ;;
3983 if test -z "$CC"; then
3984 if test -n "$ac_tool_prefix"; then
3985 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3986 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3988 $as_echo_n "checking for $ac_word... " >&6; }
3989 if ${ac_cv_prog_CC+:} false
; then :
3990 $as_echo_n "(cached) " >&6
3992 if test -n "$CC"; then
3993 ac_cv_prog_CC
="$CC" # Let the user override the test.
3995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3999 test -z "$as_dir" && as_dir
=.
4000 for ac_exec_ext
in '' $ac_executable_extensions; do
4001 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4002 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4013 if test -n "$CC"; then
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4015 $as_echo "$CC" >&6; }
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4018 $as_echo "no" >&6; }
4024 if test -z "$CC"; then
4025 # Extract the first word of "cc", so it can be a program name with args.
4026 set dummy cc
; ac_word
=$2
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4028 $as_echo_n "checking for $ac_word... " >&6; }
4029 if ${ac_cv_prog_CC+:} false
; then :
4030 $as_echo_n "(cached) " >&6
4032 if test -n "$CC"; then
4033 ac_cv_prog_CC
="$CC" # Let the user override the test.
4036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4040 test -z "$as_dir" && as_dir
=.
4041 for ac_exec_ext
in '' $ac_executable_extensions; do
4042 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4043 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4044 ac_prog_rejected
=yes
4048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4055 if test $ac_prog_rejected = yes; then
4056 # We found a bogon in the path, so make sure we never use it.
4057 set dummy
$ac_cv_prog_CC
4059 if test $# != 0; then
4060 # We chose a different compiler from the bogus one.
4061 # However, it has the same basename, so the bogon will be chosen
4062 # first if we set CC to just the basename; use the full file name.
4064 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4070 if test -n "$CC"; then
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4072 $as_echo "$CC" >&6; }
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4075 $as_echo "no" >&6; }
4080 if test -z "$CC"; then
4081 if test -n "$ac_tool_prefix"; then
4082 for ac_prog
in cl.exe
4084 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4085 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4087 $as_echo_n "checking for $ac_word... " >&6; }
4088 if ${ac_cv_prog_CC+:} false
; then :
4089 $as_echo_n "(cached) " >&6
4091 if test -n "$CC"; then
4092 ac_cv_prog_CC
="$CC" # Let the user override the test.
4094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4098 test -z "$as_dir" && as_dir
=.
4099 for ac_exec_ext
in '' $ac_executable_extensions; do
4100 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4101 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4112 if test -n "$CC"; then
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4114 $as_echo "$CC" >&6; }
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4117 $as_echo "no" >&6; }
4121 test -n "$CC" && break
4124 if test -z "$CC"; then
4126 for ac_prog
in cl.exe
4128 # Extract the first word of "$ac_prog", so it can be a program name with args.
4129 set dummy
$ac_prog; ac_word
=$2
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4131 $as_echo_n "checking for $ac_word... " >&6; }
4132 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4133 $as_echo_n "(cached) " >&6
4135 if test -n "$ac_ct_CC"; then
4136 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4142 test -z "$as_dir" && as_dir
=.
4143 for ac_exec_ext
in '' $ac_executable_extensions; do
4144 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4145 ac_cv_prog_ac_ct_CC
="$ac_prog"
4146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4155 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4156 if test -n "$ac_ct_CC"; then
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4158 $as_echo "$ac_ct_CC" >&6; }
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4161 $as_echo "no" >&6; }
4165 test -n "$ac_ct_CC" && break
4168 if test "x$ac_ct_CC" = x
; then
4171 case $cross_compiling:$ac_tool_warned in
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4175 ac_tool_warned
=yes ;;
4184 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4186 as_fn_error $?
"no acceptable C compiler found in \$PATH
4187 See \`config.log' for more details" "$LINENO" 5; }
4189 # Provide some information about the compiler.
4190 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4193 for ac_option
in --version -v -V -qversion; do
4194 { { ac_try
="$ac_compiler $ac_option >&5"
4196 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4197 *) ac_try_echo=$ac_try;;
4199 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4200 $as_echo "$ac_try_echo"; } >&5
4201 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4203 if test -s conftest.err; then
4205 ... rest of stderr output deleted ...
4206 10q' conftest.err >conftest.er1
4207 cat conftest.er1 >&5
4209 rm -f conftest.er1 conftest.err
4210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4211 test $ac_status = 0; }
4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215 /* end confdefs.h. */
4225 ac_clean_files_save=$ac_clean_files
4226 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4227 # Try to create an executable without -o first, disregard a.out.
4228 # It will help us diagnose broken compilers, and finding out an intuition
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4231 $as_echo_n "checking whether the C compiler works... " >&6; }
4232 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4234 # The possible output files:
4235 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4238 for ac_file in $ac_files
4241 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4242 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4247 if { { ac_try="$ac_link_default"
4249 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4250 *) ac_try_echo
=$ac_try;;
4252 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4253 $as_echo "$ac_try_echo"; } >&5
4254 (eval "$ac_link_default") 2>&5
4256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4257 test $ac_status = 0; }; then :
4258 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4259 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4260 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4261 # so that the user can short-circuit this test for compilers unknown to
4263 for ac_file
in $ac_files ''
4265 test -f "$ac_file" ||
continue
4267 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4270 # We found the default executable, but exeext='' is most
4274 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4276 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4278 # We set ac_cv_exeext here because the later test for it is not
4279 # safe: cross compilers may not add the suffix if given an `-o'
4280 # argument, so we may need to know it at that point already.
4281 # Even if this section looks crufty: it has the advantage of
4288 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4293 if test -z "$ac_file"; then :
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4295 $as_echo "no" >&6; }
4296 $as_echo "$as_me: failed program was:" >&5
4297 sed 's/^/| /' conftest.
$ac_ext >&5
4299 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4301 as_fn_error
77 "C compiler cannot create executables
4302 See \`config.log' for more details" "$LINENO" 5; }
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4305 $as_echo "yes" >&6; }
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4308 $as_echo_n "checking for C compiler default output file name... " >&6; }
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4310 $as_echo "$ac_file" >&6; }
4311 ac_exeext
=$ac_cv_exeext
4313 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4314 ac_clean_files
=$ac_clean_files_save
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4316 $as_echo_n "checking for suffix of executables... " >&6; }
4317 if { { ac_try
="$ac_link"
4319 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4320 *) ac_try_echo=$ac_try;;
4322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4323 $as_echo "$ac_try_echo"; } >&5
4324 (eval "$ac_link") 2>&5
4326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4327 test $ac_status = 0; }; then :
4328 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4329 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4330 # work properly (i.e., refer to `conftest.exe'), while it won't with
4332 for ac_file
in conftest.exe conftest conftest.
*; do
4333 test -f "$ac_file" ||
continue
4335 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4336 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4342 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4344 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4345 See \`config.log' for more details" "$LINENO" 5; }
4347 rm -f conftest conftest
$ac_cv_exeext
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4349 $as_echo "$ac_cv_exeext" >&6; }
4351 rm -f conftest.
$ac_ext
4352 EXEEXT
=$ac_cv_exeext
4354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4355 /* end confdefs.h. */
4360 FILE *f = fopen ("conftest.out", "w");
4361 return ferror (f) || fclose (f) != 0;
4367 ac_clean_files
="$ac_clean_files conftest.out"
4368 # Check that the compiler produces executables we can run. If not, either
4369 # the compiler is broken, or we cross compile.
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4371 $as_echo_n "checking whether we are cross compiling... " >&6; }
4372 if test "$cross_compiling" != yes; then
4373 { { ac_try
="$ac_link"
4375 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4376 *) ac_try_echo=$ac_try;;
4378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4379 $as_echo "$ac_try_echo"; } >&5
4380 (eval "$ac_link") 2>&5
4382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4383 test $ac_status = 0; }
4384 if { ac_try='./conftest$ac_cv_exeext'
4385 { { case "(($ac_try" in
4386 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4387 *) ac_try_echo
=$ac_try;;
4389 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4390 $as_echo "$ac_try_echo"; } >&5
4391 (eval "$ac_try") 2>&5
4393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4394 test $ac_status = 0; }; }; then
4397 if test "$cross_compiling" = maybe
; then
4400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4402 as_fn_error $?
"cannot run C compiled programs.
4403 If you meant to cross compile, use \`--host'.
4404 See \`config.log' for more details" "$LINENO" 5; }
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4409 $as_echo "$cross_compiling" >&6; }
4411 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4412 ac_clean_files
=$ac_clean_files_save
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4414 $as_echo_n "checking for suffix of object files... " >&6; }
4415 if ${ac_cv_objext+:} false
; then :
4416 $as_echo_n "(cached) " >&6
4418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4419 /* end confdefs.h. */
4429 rm -f conftest.o conftest.obj
4430 if { { ac_try
="$ac_compile"
4432 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4433 *) ac_try_echo=$ac_try;;
4435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4436 $as_echo "$ac_try_echo"; } >&5
4437 (eval "$ac_compile") 2>&5
4439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4440 test $ac_status = 0; }; then :
4441 for ac_file in conftest.o conftest.obj conftest.*; do
4442 test -f "$ac_file" || continue;
4444 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4445 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4450 $as_echo "$as_me: failed program was:" >&5
4451 sed 's/^/| /' conftest.$ac_ext >&5
4453 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4455 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4456 See \
`config.log' for more details" "$LINENO" 5; }
4458 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4461 $as_echo "$ac_cv_objext" >&6; }
4462 OBJEXT=$ac_cv_objext
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4465 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4466 if ${ac_cv_c_compiler_gnu+:} false; then :
4467 $as_echo_n "(cached) " >&6
4469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4470 /* end confdefs.h. */
4483 if ac_fn_c_try_compile "$LINENO"; then :
4488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4489 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4493 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4494 if test $ac_compiler_gnu = yes; then
4499 ac_test_CFLAGS=${CFLAGS+set}
4500 ac_save_CFLAGS=$CFLAGS
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4502 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4503 if ${ac_cv_prog_cc_g+:} false; then :
4504 $as_echo_n "(cached) " >&6
4506 ac_save_c_werror_flag=$ac_c_werror_flag
4507 ac_c_werror_flag=yes
4510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4511 /* end confdefs.h. */
4521 if ac_fn_c_try_compile "$LINENO"; then :
4525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4526 /* end confdefs.h. */
4536 if ac_fn_c_try_compile "$LINENO"; then :
4539 ac_c_werror_flag=$ac_save_c_werror_flag
4541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4542 /* end confdefs.h. */
4552 if ac_fn_c_try_compile "$LINENO"; then :
4555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4560 ac_c_werror_flag=$ac_save_c_werror_flag
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4563 $as_echo "$ac_cv_prog_cc_g" >&6; }
4564 if test "$ac_test_CFLAGS" = set; then
4565 CFLAGS=$ac_save_CFLAGS
4566 elif test $ac_cv_prog_cc_g = yes; then
4567 if test "$GCC" = yes; then
4573 if test "$GCC" = yes; then
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4580 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4581 if ${ac_cv_prog_cc_c89+:} false; then :
4582 $as_echo_n "(cached) " >&6
4584 ac_cv_prog_cc_c89=no
4586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4587 /* end confdefs.h. */
4591 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4592 struct buf { int x; };
4593 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4594 static char *e (p, i)
4600 static char *f (char * (*g) (char **, int), char **p, ...)
4605 s = g (p, va_arg (v,int));
4610 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4611 function prototypes and stuff, but not '\xHH' hex character constants.
4612 These don't provoke an error unfortunately, instead are silently treated
4613 as 'x'. The following induces an error, until -std is added to get
4614 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4615 array size at least. It's necessary to write '\x00'==0 to get something
4616 that's true only with -std. */
4617 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4619 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4620 inside strings and character constants. */
4622 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4624 int test (int i, double x);
4625 struct s1 {int (*f) (int a);};
4626 struct s2 {int (*f) (double a);};
4627 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4633 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4638 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4639 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4641 CC="$ac_save_CC $ac_arg"
4642 if ac_fn_c_try_compile "$LINENO"; then :
4643 ac_cv_prog_cc_c89=$ac_arg
4645 rm -f core conftest.err conftest.$ac_objext
4646 test "x$ac_cv_prog_cc_c89" != "xno" && break
4648 rm -f conftest.$ac_ext
4653 case "x$ac_cv_prog_cc_c89" in
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4656 $as_echo "none needed" >&6; } ;;
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4659 $as_echo "unsupported" >&6; } ;;
4661 CC="$CC $ac_cv_prog_cc_c89"
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4663 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4665 if test "x$ac_cv_prog_cc_c89" != xno; then :
4670 ac_cpp='$CPP $CPPFLAGS'
4671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4676 ac_cpp='$CXXCPP $CPPFLAGS'
4677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4680 if test -z "$CXX"; then
4681 if test -n "$CCC"; then
4684 if test -n "$ac_tool_prefix"; then
4685 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4687 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4688 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4690 $as_echo_n "checking for $ac_word... " >&6; }
4691 if ${ac_cv_prog_CXX+:} false; then :
4692 $as_echo_n "(cached) " >&6
4694 if test -n "$CXX"; then
4695 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4701 test -z "$as_dir" && as_dir=.
4702 for ac_exec_ext in '' $ac_executable_extensions; do
4703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4704 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4715 if test -n "$CXX"; then
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4717 $as_echo "$CXX" >&6; }
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4720 $as_echo "no" >&6; }
4724 test -n "$CXX" && break
4727 if test -z "$CXX"; then
4729 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4731 # Extract the first word of "$ac_prog", so it can be a program name with args.
4732 set dummy $ac_prog; ac_word=$2
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4734 $as_echo_n "checking for $ac_word... " >&6; }
4735 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4736 $as_echo_n "(cached) " >&6
4738 if test -n "$ac_ct_CXX"; then
4739 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4745 test -z "$as_dir" && as_dir=.
4746 for ac_exec_ext in '' $ac_executable_extensions; do
4747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4748 ac_cv_prog_ac_ct_CXX="$ac_prog"
4749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4758 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4759 if test -n "$ac_ct_CXX"; then
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4761 $as_echo "$ac_ct_CXX" >&6; }
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4764 $as_echo "no" >&6; }
4768 test -n "$ac_ct_CXX" && break
4771 if test "x$ac_ct_CXX" = x; then
4774 case $cross_compiling:$ac_tool_warned in
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4778 ac_tool_warned=yes ;;
4786 # Provide some information about the compiler.
4787 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4790 for ac_option in --version -v -V -qversion; do
4791 { { ac_try="$ac_compiler $ac_option >&5"
4793 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4794 *) ac_try_echo
=$ac_try;;
4796 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4797 $as_echo "$ac_try_echo"; } >&5
4798 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4800 if test -s conftest.err
; then
4802 ... rest of stderr output deleted ...
4803 10q' conftest.err
>conftest.er1
4804 cat conftest.er1
>&5
4806 rm -f conftest.er1 conftest.err
4807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4808 test $ac_status = 0; }
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4812 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4813 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4814 $as_echo_n "(cached) " >&6
4816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4817 /* end confdefs.h. */
4830 if ac_fn_cxx_try_compile
"$LINENO"; then :
4835 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4836 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4840 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4841 if test $ac_compiler_gnu = yes; then
4846 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4847 ac_save_CXXFLAGS
=$CXXFLAGS
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4849 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4850 if ${ac_cv_prog_cxx_g+:} false
; then :
4851 $as_echo_n "(cached) " >&6
4853 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4854 ac_cxx_werror_flag
=yes
4857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4858 /* end confdefs.h. */
4868 if ac_fn_cxx_try_compile
"$LINENO"; then :
4869 ac_cv_prog_cxx_g
=yes
4872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4873 /* end confdefs.h. */
4883 if ac_fn_cxx_try_compile
"$LINENO"; then :
4886 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4889 /* end confdefs.h. */
4899 if ac_fn_cxx_try_compile
"$LINENO"; then :
4900 ac_cv_prog_cxx_g
=yes
4902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4907 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4910 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4911 if test "$ac_test_CXXFLAGS" = set; then
4912 CXXFLAGS
=$ac_save_CXXFLAGS
4913 elif test $ac_cv_prog_cxx_g = yes; then
4914 if test "$GXX" = yes; then
4920 if test "$GXX" = yes; then
4927 ac_cpp
='$CPP $CPPFLAGS'
4928 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4929 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4930 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4932 if test -n "$ac_tool_prefix"; then
4933 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4934 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4936 $as_echo_n "checking for $ac_word... " >&6; }
4937 if ${ac_cv_prog_CPPBIN+:} false
; then :
4938 $as_echo_n "(cached) " >&6
4940 if test -n "$CPPBIN"; then
4941 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4947 test -z "$as_dir" && as_dir
=.
4948 for ac_exec_ext
in '' $ac_executable_extensions; do
4949 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4950 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4960 CPPBIN
=$ac_cv_prog_CPPBIN
4961 if test -n "$CPPBIN"; then
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4963 $as_echo "$CPPBIN" >&6; }
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966 $as_echo "no" >&6; }
4971 if test -z "$ac_cv_prog_CPPBIN"; then
4972 ac_ct_CPPBIN
=$CPPBIN
4973 # Extract the first word of "cpp", so it can be a program name with args.
4974 set dummy cpp
; ac_word
=$2
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4976 $as_echo_n "checking for $ac_word... " >&6; }
4977 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4978 $as_echo_n "(cached) " >&6
4980 if test -n "$ac_ct_CPPBIN"; then
4981 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4987 test -z "$as_dir" && as_dir
=.
4988 for ac_exec_ext
in '' $ac_executable_extensions; do
4989 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4990 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5000 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
5001 if test -n "$ac_ct_CPPBIN"; then
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5003 $as_echo "$ac_ct_CPPBIN" >&6; }
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5006 $as_echo "no" >&6; }
5009 if test "x$ac_ct_CPPBIN" = x
; then
5012 case $cross_compiling:$ac_tool_warned in
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5016 ac_tool_warned
=yes ;;
5018 CPPBIN
=$ac_ct_CPPBIN
5021 CPPBIN
="$ac_cv_prog_CPPBIN"
5025 cat >>confdefs.h
<<_ACEOF
5026 #define EXEEXT "$ac_exeext"
5029 if test -n "$ac_tool_prefix"; then
5030 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5031 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5033 $as_echo_n "checking for $ac_word... " >&6; }
5034 if ${ac_cv_prog_LD+:} false
; then :
5035 $as_echo_n "(cached) " >&6
5037 if test -n "$LD"; then
5038 ac_cv_prog_LD
="$LD" # Let the user override the test.
5040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5044 test -z "$as_dir" && as_dir
=.
5045 for ac_exec_ext
in '' $ac_executable_extensions; do
5046 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5047 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5058 if test -n "$LD"; then
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5060 $as_echo "$LD" >&6; }
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5063 $as_echo "no" >&6; }
5068 if test -z "$ac_cv_prog_LD"; then
5070 # Extract the first word of "ld", so it can be a program name with args.
5071 set dummy ld
; ac_word
=$2
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5073 $as_echo_n "checking for $ac_word... " >&6; }
5074 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
5075 $as_echo_n "(cached) " >&6
5077 if test -n "$ac_ct_LD"; then
5078 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5084 test -z "$as_dir" && as_dir
=.
5085 for ac_exec_ext
in '' $ac_executable_extensions; do
5086 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5087 ac_cv_prog_ac_ct_LD
="ld"
5088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5097 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5098 if test -n "$ac_ct_LD"; then
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5100 $as_echo "$ac_ct_LD" >&6; }
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5103 $as_echo "no" >&6; }
5106 if test "x$ac_ct_LD" = x
; then
5109 case $cross_compiling:$ac_tool_warned in
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5113 ac_tool_warned
=yes ;;
5124 with_fontconfig
=${with_fontconfig:-no}
5126 *-mingw32*|
*-cygwin*)
5127 enable_win16
=${enable_win16:-no}
5128 CFLAGS
="$CFLAGS -D_WIN32"
5134 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5139 $as_echo_n "checking whether $CC works... " >&6; }
5141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5142 /* end confdefs.h. */
5152 if ac_fn_c_try_link
"$LINENO"; then :
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5154 $as_echo "yes" >&6; }
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157 $as_echo "no" >&6; }
5158 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5160 rm -f core conftest.err conftest.
$ac_objext \
5161 conftest
$ac_exeext conftest.
$ac_ext
5163 notice_platform
="32-bit "
5166 PKG_CONFIG_PATH
=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5167 export PKG_CONFIG_PATH
5168 enable_win16
=${enable_win16:-yes}
5170 if test "x${GCC}" = "xyes"
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5173 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5175 /* end confdefs.h. */
5180 void func(__builtin_ms_va_list *args);
5185 if ac_fn_c_try_compile
"$LINENO"; then :
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5187 $as_echo "yes" >&6; }
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5190 $as_echo "no" >&6; }
5191 as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5193 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5198 notice_platform
="64-bit "
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5205 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5207 /* end confdefs.h. */
5208 int ac_test(int i) { return i; }
5212 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5217 if ac_fn_c_try_link
"$LINENO"; then :
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5219 $as_echo "yes" >&6; }
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5222 $as_echo "no" >&6; }
5223 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5225 rm -f core conftest.err conftest.
$ac_objext \
5226 conftest
$ac_exeext conftest.
$ac_ext
5227 CFLAGS
="$CFLAGS -marm"
5232 enable_win16
=${enable_win16:-yes}
5236 enable_win16
=${enable_win16:-no}
5237 enable_win64
=${enable_win64:-no}
5239 enable_winetest
=${enable_winetest:-$enable_tests}
5241 if test -n "$with_wine64"
5243 if test "x$enable_win64" = "xyes"
5245 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5246 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5248 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5249 You should create a separate build directory and run configure from there." "$LINENO" 5
5250 enable_fonts
=${enable_fonts:-no}
5251 enable_server
=${enable_server:-no}
5252 elif test "x$enable_win64" = "xyes"
5254 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5258 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5259 if ${wine_cv_toolsdir+:} false
; then :
5260 $as_echo_n "(cached) " >&6
5262 wine_cv_toolsdir
="$with_wine_tools"
5263 if test -z "$with_wine_tools"; then
5264 if test "$cross_compiling" = "yes"; then
5265 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5266 elif test -n "$with_wine64"; then
5267 wine_cv_toolsdir
="$with_wine64"
5270 if test -z "$wine_cv_toolsdir"; then
5271 wine_makedep
=tools
/makedep
5272 wine_cv_toolsdir
="\$(top_builddir)"
5273 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5274 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5275 case "$wine_cv_toolsdir" in
5277 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5279 enable_tools
=${enable_tools:-no}
5280 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5282 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5286 $as_echo "$wine_cv_toolsdir" >&6; }
5287 TOOLSDIR
=$wine_cv_toolsdir
5289 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5291 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5297 # Extract the first word of "$ac_prog", so it can be a program name with args.
5298 set dummy
$ac_prog; ac_word
=$2
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5300 $as_echo_n "checking for $ac_word... " >&6; }
5301 if ${ac_cv_prog_FLEX+:} false
; then :
5302 $as_echo_n "(cached) " >&6
5304 if test -n "$FLEX"; then
5305 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5311 test -z "$as_dir" && as_dir
=.
5312 for ac_exec_ext
in '' $ac_executable_extensions; do
5313 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5314 ac_cv_prog_FLEX
="$ac_prog"
5315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5324 FLEX
=$ac_cv_prog_FLEX
5325 if test -n "$FLEX"; then
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5327 $as_echo "$FLEX" >&6; }
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5330 $as_echo "no" >&6; }
5334 test -n "$FLEX" && break
5336 test -n "$FLEX" || FLEX
="none"
5338 if test "$FLEX" = "none"
5340 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5343 $as_echo_n "checking whether flex is recent enough... " >&6; }
5344 cat >conftest.l
<<EOF
5346 #include "prediluvian.h"
5350 if $FLEX -t conftest.l
>/dev
/null
2>&5
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5353 $as_echo "yes" >&6; }
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5356 $as_echo "no" >&6; }
5357 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5360 for ac_prog
in bison
5362 # Extract the first word of "$ac_prog", so it can be a program name with args.
5363 set dummy
$ac_prog; ac_word
=$2
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365 $as_echo_n "checking for $ac_word... " >&6; }
5366 if ${ac_cv_prog_BISON+:} false
; then :
5367 $as_echo_n "(cached) " >&6
5369 if test -n "$BISON"; then
5370 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5376 test -z "$as_dir" && as_dir
=.
5377 for ac_exec_ext
in '' $ac_executable_extensions; do
5378 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5379 ac_cv_prog_BISON
="$ac_prog"
5380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5389 BISON
=$ac_cv_prog_BISON
5390 if test -n "$BISON"; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5392 $as_echo "$BISON" >&6; }
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5399 test -n "$BISON" && break
5401 test -n "$BISON" || BISON
="none"
5403 if test "$BISON" = "none"
5405 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5408 if test -n "$ac_tool_prefix"; then
5409 for ac_prog
in ar gar
5411 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5412 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5414 $as_echo_n "checking for $ac_word... " >&6; }
5415 if ${ac_cv_prog_AR+:} false
; then :
5416 $as_echo_n "(cached) " >&6
5418 if test -n "$AR"; then
5419 ac_cv_prog_AR
="$AR" # Let the user override the test.
5421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5425 test -z "$as_dir" && as_dir
=.
5426 for ac_exec_ext
in '' $ac_executable_extensions; do
5427 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5428 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5439 if test -n "$AR"; then
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5441 $as_echo "$AR" >&6; }
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5444 $as_echo "no" >&6; }
5448 test -n "$AR" && break
5451 if test -z "$AR"; then
5453 for ac_prog
in ar gar
5455 # Extract the first word of "$ac_prog", so it can be a program name with args.
5456 set dummy
$ac_prog; ac_word
=$2
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5458 $as_echo_n "checking for $ac_word... " >&6; }
5459 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5460 $as_echo_n "(cached) " >&6
5462 if test -n "$ac_ct_AR"; then
5463 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5469 test -z "$as_dir" && as_dir
=.
5470 for ac_exec_ext
in '' $ac_executable_extensions; do
5471 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5472 ac_cv_prog_ac_ct_AR
="$ac_prog"
5473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5482 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5483 if test -n "$ac_ct_AR"; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5485 $as_echo "$ac_ct_AR" >&6; }
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5488 $as_echo "no" >&6; }
5492 test -n "$ac_ct_AR" && break
5495 if test "x$ac_ct_AR" = x
; then
5498 case $cross_compiling:$ac_tool_warned in
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5502 ac_tool_warned
=yes ;;
5508 if test -n "$ac_tool_prefix"; then
5509 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5510 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5512 $as_echo_n "checking for $ac_word... " >&6; }
5513 if ${ac_cv_prog_STRIP+:} false
; then :
5514 $as_echo_n "(cached) " >&6
5516 if test -n "$STRIP"; then
5517 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5523 test -z "$as_dir" && as_dir
=.
5524 for ac_exec_ext
in '' $ac_executable_extensions; do
5525 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5526 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5536 STRIP
=$ac_cv_prog_STRIP
5537 if test -n "$STRIP"; then
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5539 $as_echo "$STRIP" >&6; }
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5542 $as_echo "no" >&6; }
5547 if test -z "$ac_cv_prog_STRIP"; then
5549 # Extract the first word of "strip", so it can be a program name with args.
5550 set dummy strip
; ac_word
=$2
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5552 $as_echo_n "checking for $ac_word... " >&6; }
5553 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5554 $as_echo_n "(cached) " >&6
5556 if test -n "$ac_ct_STRIP"; then
5557 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5563 test -z "$as_dir" && as_dir
=.
5564 for ac_exec_ext
in '' $ac_executable_extensions; do
5565 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5566 ac_cv_prog_ac_ct_STRIP
="strip"
5567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5576 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5577 if test -n "$ac_ct_STRIP"; then
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5579 $as_echo "$ac_ct_STRIP" >&6; }
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5582 $as_echo "no" >&6; }
5585 if test "x$ac_ct_STRIP" = x
; then
5588 case $cross_compiling:$ac_tool_warned in
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5591 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5592 ac_tool_warned
=yes ;;
5597 STRIP
="$ac_cv_prog_STRIP"
5602 if test -n "$ac_tool_prefix"; then
5603 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5604 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5606 $as_echo_n "checking for $ac_word... " >&6; }
5607 if ${ac_cv_prog_RANLIB+:} false
; then :
5608 $as_echo_n "(cached) " >&6
5610 if test -n "$RANLIB"; then
5611 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5617 test -z "$as_dir" && as_dir
=.
5618 for ac_exec_ext
in '' $ac_executable_extensions; do
5619 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5620 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5630 RANLIB
=$ac_cv_prog_RANLIB
5631 if test -n "$RANLIB"; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5633 $as_echo "$RANLIB" >&6; }
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 $as_echo "no" >&6; }
5641 if test -z "$ac_cv_prog_RANLIB"; then
5642 ac_ct_RANLIB
=$RANLIB
5643 # Extract the first word of "ranlib", so it can be a program name with args.
5644 set dummy ranlib
; ac_word
=$2
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5646 $as_echo_n "checking for $ac_word... " >&6; }
5647 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5648 $as_echo_n "(cached) " >&6
5650 if test -n "$ac_ct_RANLIB"; then
5651 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5657 test -z "$as_dir" && as_dir
=.
5658 for ac_exec_ext
in '' $ac_executable_extensions; do
5659 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5660 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5670 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5671 if test -n "$ac_ct_RANLIB"; then
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5673 $as_echo "$ac_ct_RANLIB" >&6; }
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5676 $as_echo "no" >&6; }
5679 if test "x$ac_ct_RANLIB" = x
; then
5682 case $cross_compiling:$ac_tool_warned in
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5686 ac_tool_warned
=yes ;;
5688 RANLIB
=$ac_ct_RANLIB
5691 RANLIB
="$ac_cv_prog_RANLIB"
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5695 $as_echo_n "checking whether ln -s works... " >&6; }
5697 if test "$LN_S" = "ln -s"; then
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5699 $as_echo "yes" >&6; }
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5702 $as_echo "no, using $LN_S" >&6; }
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5706 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5707 if ${ac_cv_path_GREP+:} false
; then :
5708 $as_echo_n "(cached) " >&6
5710 if test -z "$GREP"; then
5711 ac_path_GREP_found
=false
5712 # Loop through the user's path and test for each of PROGNAME-LIST
5713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5714 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5717 test -z "$as_dir" && as_dir
=.
5718 for ac_prog
in grep ggrep
; do
5719 for ac_exec_ext
in '' $ac_executable_extensions; do
5720 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5721 as_fn_executable_p
"$ac_path_GREP" ||
continue
5722 # Check for GNU ac_path_GREP and select it if it is found.
5723 # Check for GNU $ac_path_GREP
5724 case `"$ac_path_GREP" --version 2>&1` in
5726 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5729 $as_echo_n 0123456789 >"conftest.in"
5732 cat "conftest.in" "conftest.in" >"conftest.tmp"
5733 mv "conftest.tmp" "conftest.in"
5734 cp "conftest.in" "conftest.nl"
5735 $as_echo 'GREP' >> "conftest.nl"
5736 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5737 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5738 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5739 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5740 # Best one so far, save it but keep looking for a better one
5741 ac_cv_path_GREP
="$ac_path_GREP"
5742 ac_path_GREP_max
=$ac_count
5744 # 10*(2^10) chars as input seems more than enough
5745 test $ac_count -gt 10 && break
5747 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5750 $ac_path_GREP_found && break 3
5755 if test -z "$ac_cv_path_GREP"; then
5756 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5759 ac_cv_path_GREP
=$GREP
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5764 $as_echo "$ac_cv_path_GREP" >&6; }
5765 GREP
="$ac_cv_path_GREP"
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5769 $as_echo_n "checking for egrep... " >&6; }
5770 if ${ac_cv_path_EGREP+:} false
; then :
5771 $as_echo_n "(cached) " >&6
5773 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5774 then ac_cv_path_EGREP
="$GREP -E"
5776 if test -z "$EGREP"; then
5777 ac_path_EGREP_found
=false
5778 # Loop through the user's path and test for each of PROGNAME-LIST
5779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5780 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5783 test -z "$as_dir" && as_dir
=.
5784 for ac_prog
in egrep; do
5785 for ac_exec_ext
in '' $ac_executable_extensions; do
5786 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5787 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5788 # Check for GNU ac_path_EGREP and select it if it is found.
5789 # Check for GNU $ac_path_EGREP
5790 case `"$ac_path_EGREP" --version 2>&1` in
5792 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5795 $as_echo_n 0123456789 >"conftest.in"
5798 cat "conftest.in" "conftest.in" >"conftest.tmp"
5799 mv "conftest.tmp" "conftest.in"
5800 cp "conftest.in" "conftest.nl"
5801 $as_echo 'EGREP' >> "conftest.nl"
5802 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5803 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5804 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5805 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5806 # Best one so far, save it but keep looking for a better one
5807 ac_cv_path_EGREP
="$ac_path_EGREP"
5808 ac_path_EGREP_max
=$ac_count
5810 # 10*(2^10) chars as input seems more than enough
5811 test $ac_count -gt 10 && break
5813 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5816 $ac_path_EGREP_found && break 3
5821 if test -z "$ac_cv_path_EGREP"; then
5822 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5825 ac_cv_path_EGREP
=$EGREP
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5831 $as_echo "$ac_cv_path_EGREP" >&6; }
5832 EGREP
="$ac_cv_path_EGREP"
5835 # Extract the first word of "ldconfig", so it can be a program name with args.
5836 set dummy ldconfig
; ac_word
=$2
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5838 $as_echo_n "checking for $ac_word... " >&6; }
5839 if ${ac_cv_path_LDCONFIG+:} false
; then :
5840 $as_echo_n "(cached) " >&6
5844 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5848 for as_dir
in /sbin
/usr
/sbin
$PATH
5851 test -z "$as_dir" && as_dir
=.
5852 for ac_exec_ext
in '' $ac_executable_extensions; do
5853 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5854 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5862 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5866 LDCONFIG
=$ac_cv_path_LDCONFIG
5867 if test -n "$LDCONFIG"; then
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5869 $as_echo "$LDCONFIG" >&6; }
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5872 $as_echo "no" >&6; }
5876 for ac_prog
in msgfmt
5878 # Extract the first word of "$ac_prog", so it can be a program name with args.
5879 set dummy
$ac_prog; ac_word
=$2
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5881 $as_echo_n "checking for $ac_word... " >&6; }
5882 if ${ac_cv_prog_MSGFMT+:} false
; then :
5883 $as_echo_n "(cached) " >&6
5885 if test -n "$MSGFMT"; then
5886 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5892 test -z "$as_dir" && as_dir
=.
5893 for ac_exec_ext
in '' $ac_executable_extensions; do
5894 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5895 ac_cv_prog_MSGFMT
="$ac_prog"
5896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5905 MSGFMT
=$ac_cv_prog_MSGFMT
5906 if test -n "$MSGFMT"; then
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5908 $as_echo "$MSGFMT" >&6; }
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5911 $as_echo "no" >&6; }
5915 test -n "$MSGFMT" && break
5917 test -n "$MSGFMT" || MSGFMT
="false"
5919 if ${ac_tool_prefix+:} false
; then :
5920 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5921 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5923 $as_echo_n "checking for $ac_word... " >&6; }
5924 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5925 $as_echo_n "(cached) " >&6
5927 if test -n "$PKG_CONFIG"; then
5928 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5934 test -z "$as_dir" && as_dir
=.
5935 for ac_exec_ext
in '' $ac_executable_extensions; do
5936 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5937 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5947 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5948 if test -n "$PKG_CONFIG"; then
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5950 $as_echo "$PKG_CONFIG" >&6; }
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5953 $as_echo "no" >&6; }
5958 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5959 if test "x$cross_compiling" = xyes
; then :
5962 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5963 # Extract the first word of "pkg-config", so it can be a program name with args.
5964 set dummy pkg-config
; ac_word
=$2
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5966 $as_echo_n "checking for $ac_word... " >&6; }
5967 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5968 $as_echo_n "(cached) " >&6
5970 if test -n "$PKG_CONFIG"; then
5971 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5977 test -z "$as_dir" && as_dir
=.
5978 for ac_exec_ext
in '' $ac_executable_extensions; do
5979 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5980 ac_cv_prog_PKG_CONFIG
="pkg-config"
5981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5990 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5991 if test -n "$PKG_CONFIG"; then
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5993 $as_echo "$PKG_CONFIG" >&6; }
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5996 $as_echo "no" >&6; }
6002 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6005 if test "x$enable_maintainer_mode" != "xyes"
6012 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
6013 for ac_prog
in fontforge
6015 # Extract the first word of "$ac_prog", so it can be a program name with args.
6016 set dummy
$ac_prog; ac_word
=$2
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6018 $as_echo_n "checking for $ac_word... " >&6; }
6019 if ${ac_cv_prog_FONTFORGE+:} false
; then :
6020 $as_echo_n "(cached) " >&6
6022 if test -n "$FONTFORGE"; then
6023 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6029 test -z "$as_dir" && as_dir
=.
6030 for ac_exec_ext
in '' $ac_executable_extensions; do
6031 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6032 ac_cv_prog_FONTFORGE
="$ac_prog"
6033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6042 FONTFORGE
=$ac_cv_prog_FONTFORGE
6043 if test -n "$FONTFORGE"; then
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6045 $as_echo "$FONTFORGE" >&6; }
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6048 $as_echo "no" >&6; }
6052 test -n "$FONTFORGE" && break
6054 test -n "$FONTFORGE" || FONTFORGE
="false"
6056 for ac_prog
in rsvg-convert rsvg
6058 # Extract the first word of "$ac_prog", so it can be a program name with args.
6059 set dummy
$ac_prog; ac_word
=$2
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061 $as_echo_n "checking for $ac_word... " >&6; }
6062 if ${ac_cv_prog_RSVG+:} false
; then :
6063 $as_echo_n "(cached) " >&6
6065 if test -n "$RSVG"; then
6066 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
6068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6072 test -z "$as_dir" && as_dir
=.
6073 for ac_exec_ext
in '' $ac_executable_extensions; do
6074 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6075 ac_cv_prog_RSVG
="$ac_prog"
6076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6085 RSVG
=$ac_cv_prog_RSVG
6086 if test -n "$RSVG"; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6088 $as_echo "$RSVG" >&6; }
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091 $as_echo "no" >&6; }
6095 test -n "$RSVG" && break
6097 test -n "$RSVG" || RSVG
="false"
6099 for ac_prog
in convert
6101 # Extract the first word of "$ac_prog", so it can be a program name with args.
6102 set dummy
$ac_prog; ac_word
=$2
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6104 $as_echo_n "checking for $ac_word... " >&6; }
6105 if ${ac_cv_prog_CONVERT+:} false
; then :
6106 $as_echo_n "(cached) " >&6
6108 if test -n "$CONVERT"; then
6109 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
6111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6115 test -z "$as_dir" && as_dir
=.
6116 for ac_exec_ext
in '' $ac_executable_extensions; do
6117 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6118 ac_cv_prog_CONVERT
="$ac_prog"
6119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6128 CONVERT
=$ac_cv_prog_CONVERT
6129 if test -n "$CONVERT"; then
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6131 $as_echo "$CONVERT" >&6; }
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6134 $as_echo "no" >&6; }
6138 test -n "$CONVERT" && break
6140 test -n "$CONVERT" || CONVERT
="false"
6142 for ac_prog
in icotool
6144 # Extract the first word of "$ac_prog", so it can be a program name with args.
6145 set dummy
$ac_prog; ac_word
=$2
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6147 $as_echo_n "checking for $ac_word... " >&6; }
6148 if ${ac_cv_prog_ICOTOOL+:} false
; then :
6149 $as_echo_n "(cached) " >&6
6151 if test -n "$ICOTOOL"; then
6152 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6158 test -z "$as_dir" && as_dir
=.
6159 for ac_exec_ext
in '' $ac_executable_extensions; do
6160 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6161 ac_cv_prog_ICOTOOL
="$ac_prog"
6162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6171 ICOTOOL
=$ac_cv_prog_ICOTOOL
6172 if test -n "$ICOTOOL"; then
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6174 $as_echo "$ICOTOOL" >&6; }
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6177 $as_echo "no" >&6; }
6181 test -n "$ICOTOOL" && break
6183 test -n "$ICOTOOL" || ICOTOOL
="false"
6185 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6186 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6188 if test "$CONVERT" = false
6190 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6193 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6194 convert_version
=`convert --version | head -n1`
6195 if test "x$convert_version" != "x"
6197 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6198 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6199 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6204 if test "$CONVERT" = false
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6207 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6208 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6211 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6215 if test "$ICOTOOL" = false
6217 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6220 $as_echo_n "checking for recent enough icotool... " >&6; }
6221 icotool_version
=`icotool --version | head -n1`
6222 if test "x$icotool_version" != "x"
6224 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6225 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6226 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6229 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6232 if test "$ICOTOOL" = false
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6235 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6236 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6239 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6245 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6248 test "x$with_gettext" != xno || MSGFMT
=false
6249 if test "$MSGFMT" != "false"
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6252 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6253 cat >conftest.po
<<EOF
6259 if $MSGFMT -o /dev
/null conftest.po
2>&5
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6262 $as_echo "yes" >&6; }
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6265 $as_echo "no" >&6; }
6269 if test "$MSGFMT" = false
; then :
6270 case "x$with_gettext" in
6271 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6273 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6274 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6276 enable_po
=${enable_po:-no}
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6281 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6282 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6283 $as_echo_n "(cached) " >&6
6285 ac_check_lib_save_LIBS
=$LIBS
6287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6288 /* end confdefs.h. */
6290 /* Override any GCC internal prototype to avoid an error.
6291 Use char because int might match the return type of a GCC
6292 builtin and then its argument prototype would still apply. */
6296 char i386_set_ldt ();
6300 return i386_set_ldt ();
6305 if ac_fn_c_try_link
"$LINENO"; then :
6306 ac_cv_lib_i386_i386_set_ldt
=yes
6308 ac_cv_lib_i386_i386_set_ldt
=no
6310 rm -f core conftest.err conftest.
$ac_objext \
6311 conftest
$ac_exeext conftest.
$ac_ext
6312 LIBS
=$ac_check_lib_save_LIBS
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6315 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6316 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6317 cat >>confdefs.h
<<_ACEOF
6318 #define HAVE_LIBI386 1
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6326 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6327 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6328 $as_echo_n "(cached) " >&6
6330 ac_check_lib_save_LIBS
=$LIBS
6331 LIBS
="-lossaudio $LIBS"
6332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6333 /* end confdefs.h. */
6335 /* Override any GCC internal prototype to avoid an error.
6336 Use char because int might match the return type of a GCC
6337 builtin and then its argument prototype would still apply. */
6345 return _oss_ioctl ();
6350 if ac_fn_c_try_link
"$LINENO"; then :
6351 ac_cv_lib_ossaudio__oss_ioctl
=yes
6353 ac_cv_lib_ossaudio__oss_ioctl
=no
6355 rm -f core conftest.err conftest.
$ac_objext \
6356 conftest
$ac_exeext conftest.
$ac_ext
6357 LIBS
=$ac_check_lib_save_LIBS
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6360 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6361 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6362 cat >>confdefs.h
<<_ACEOF
6363 #define HAVE_LIBOSSAUDIO 1
6366 LIBS
="-lossaudio $LIBS"
6375 # Check whether --enable-largefile was given.
6376 if test "${enable_largefile+set}" = set; then :
6377 enableval
=$enable_largefile;
6380 if test "$enable_largefile" != no
; then
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6383 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6384 if ${ac_cv_sys_largefile_CC+:} false
; then :
6385 $as_echo_n "(cached) " >&6
6387 ac_cv_sys_largefile_CC
=no
6388 if test "$GCC" != yes; then
6391 # IRIX 6.2 and later do not support large files by default,
6392 # so use the C compiler's -n32 option if that helps.
6393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6394 /* end confdefs.h. */
6395 #include <sys/types.h>
6396 /* Check that off_t can represent 2**63 - 1 correctly.
6397 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6398 since some C++ compilers masquerading as C compilers
6399 incorrectly reject 9223372036854775807. */
6400 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6401 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6402 && LARGE_OFF_T % 2147483647 == 1)
6412 if ac_fn_c_try_compile
"$LINENO"; then :
6415 rm -f core conftest.err conftest.
$ac_objext
6417 if ac_fn_c_try_compile
"$LINENO"; then :
6418 ac_cv_sys_largefile_CC
=' -n32'; break
6420 rm -f core conftest.err conftest.
$ac_objext
6424 rm -f conftest.
$ac_ext
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6428 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6429 if test "$ac_cv_sys_largefile_CC" != no
; then
6430 CC
=$CC$ac_cv_sys_largefile_CC
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6434 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6435 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6436 $as_echo_n "(cached) " >&6
6439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6440 /* end confdefs.h. */
6441 #include <sys/types.h>
6442 /* Check that off_t can represent 2**63 - 1 correctly.
6443 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6444 since some C++ compilers masquerading as C compilers
6445 incorrectly reject 9223372036854775807. */
6446 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6447 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6448 && LARGE_OFF_T % 2147483647 == 1)
6458 if ac_fn_c_try_compile
"$LINENO"; then :
6459 ac_cv_sys_file_offset_bits
=no
; break
6461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6463 /* end confdefs.h. */
6464 #define _FILE_OFFSET_BITS 64
6465 #include <sys/types.h>
6466 /* Check that off_t can represent 2**63 - 1 correctly.
6467 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6468 since some C++ compilers masquerading as C compilers
6469 incorrectly reject 9223372036854775807. */
6470 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6471 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6472 && LARGE_OFF_T % 2147483647 == 1)
6482 if ac_fn_c_try_compile
"$LINENO"; then :
6483 ac_cv_sys_file_offset_bits
=64; break
6485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6486 ac_cv_sys_file_offset_bits
=unknown
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6491 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6492 case $ac_cv_sys_file_offset_bits in #(
6495 cat >>confdefs.h
<<_ACEOF
6496 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6501 if test $ac_cv_sys_file_offset_bits = unknown
; then
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6503 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6504 if ${ac_cv_sys_large_files+:} false
; then :
6505 $as_echo_n "(cached) " >&6
6508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6509 /* end confdefs.h. */
6510 #include <sys/types.h>
6511 /* Check that off_t can represent 2**63 - 1 correctly.
6512 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6513 since some C++ compilers masquerading as C compilers
6514 incorrectly reject 9223372036854775807. */
6515 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6516 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6517 && LARGE_OFF_T % 2147483647 == 1)
6527 if ac_fn_c_try_compile
"$LINENO"; then :
6528 ac_cv_sys_large_files
=no
; break
6530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6532 /* end confdefs.h. */
6533 #define _LARGE_FILES 1
6534 #include <sys/types.h>
6535 /* Check that off_t can represent 2**63 - 1 correctly.
6536 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6537 since some C++ compilers masquerading as C compilers
6538 incorrectly reject 9223372036854775807. */
6539 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6540 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6541 && LARGE_OFF_T % 2147483647 == 1)
6551 if ac_fn_c_try_compile
"$LINENO"; then :
6552 ac_cv_sys_large_files
=1; break
6554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6555 ac_cv_sys_large_files
=unknown
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6560 $as_echo "$ac_cv_sys_large_files" >&6; }
6561 case $ac_cv_sys_large_files in #(
6564 cat >>confdefs.h
<<_ACEOF
6565 #define _LARGE_FILES $ac_cv_sys_large_files
6577 ac_cpp
='$CPP $CPPFLAGS'
6578 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6579 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6580 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6582 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6583 # On Suns, sometimes $CPP names a directory.
6584 if test -n "$CPP" && test -d "$CPP"; then
6587 if test -z "$CPP"; then
6588 if ${ac_cv_prog_CPP+:} false
; then :
6589 $as_echo_n "(cached) " >&6
6591 # Double quotes because CPP needs to be expanded
6592 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6595 for ac_c_preproc_warn_flag
in '' yes
6597 # Use a header file that comes with gcc, so configuring glibc
6598 # with a fresh cross-compiler works.
6599 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6600 # <limits.h> exists even on freestanding compilers.
6601 # On the NeXT, cc -E runs the code through the compiler's parser,
6602 # not just through cpp. "Syntax error" is here to catch this case.
6603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6604 /* end confdefs.h. */
6606 # include <limits.h>
6608 # include <assert.h>
6612 if ac_fn_c_try_cpp
"$LINENO"; then :
6615 # Broken: fails on valid input.
6618 rm -f conftest.err conftest.i conftest.
$ac_ext
6620 # OK, works on sane cases. Now check whether nonexistent headers
6621 # can be detected and how.
6622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6623 /* end confdefs.h. */
6624 #include <ac_nonexistent.h>
6626 if ac_fn_c_try_cpp
"$LINENO"; then :
6627 # Broken: success on invalid input.
6630 # Passes both tests.
6634 rm -f conftest.err conftest.i conftest.
$ac_ext
6637 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6638 rm -f conftest.i conftest.err conftest.
$ac_ext
6639 if $ac_preproc_ok; then :
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6652 $as_echo "$CPP" >&6; }
6654 for ac_c_preproc_warn_flag
in '' yes
6656 # Use a header file that comes with gcc, so configuring glibc
6657 # with a fresh cross-compiler works.
6658 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6659 # <limits.h> exists even on freestanding compilers.
6660 # On the NeXT, cc -E runs the code through the compiler's parser,
6661 # not just through cpp. "Syntax error" is here to catch this case.
6662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6663 /* end confdefs.h. */
6665 # include <limits.h>
6667 # include <assert.h>
6671 if ac_fn_c_try_cpp
"$LINENO"; then :
6674 # Broken: fails on valid input.
6677 rm -f conftest.err conftest.i conftest.
$ac_ext
6679 # OK, works on sane cases. Now check whether nonexistent headers
6680 # can be detected and how.
6681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6682 /* end confdefs.h. */
6683 #include <ac_nonexistent.h>
6685 if ac_fn_c_try_cpp
"$LINENO"; then :
6686 # Broken: success on invalid input.
6689 # Passes both tests.
6693 rm -f conftest.err conftest.i conftest.
$ac_ext
6696 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6697 rm -f conftest.i conftest.err conftest.
$ac_ext
6698 if $ac_preproc_ok; then :
6701 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6703 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6704 See \`config.log' for more details" "$LINENO" 5; }
6708 ac_cpp
='$CPP $CPPFLAGS'
6709 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6710 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6711 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6715 $as_echo_n "checking for ANSI C header files... " >&6; }
6716 if ${ac_cv_header_stdc+:} false
; then :
6717 $as_echo_n "(cached) " >&6
6719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6720 /* end confdefs.h. */
6734 if ac_fn_c_try_compile
"$LINENO"; then :
6735 ac_cv_header_stdc
=yes
6737 ac_cv_header_stdc
=no
6739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6741 if test $ac_cv_header_stdc = yes; then
6742 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6744 /* end confdefs.h. */
6748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6749 $EGREP "memchr" >/dev
/null
2>&1; then :
6752 ac_cv_header_stdc
=no
6758 if test $ac_cv_header_stdc = yes; then
6759 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6761 /* end confdefs.h. */
6765 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6766 $EGREP "free" >/dev
/null
2>&1; then :
6769 ac_cv_header_stdc
=no
6775 if test $ac_cv_header_stdc = yes; then
6776 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6777 if test "$cross_compiling" = yes; then :
6780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6781 /* end confdefs.h. */
6784 #if ((' ' & 0x0FF) == 0x020)
6785 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6786 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6788 # define ISLOWER(c) \
6789 (('a' <= (c) && (c) <= 'i') \
6790 || ('j' <= (c) && (c) <= 'r') \
6791 || ('s' <= (c) && (c) <= 'z'))
6792 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6795 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6800 for (i = 0; i < 256; i++)
6801 if (XOR (islower (i), ISLOWER (i))
6802 || toupper (i) != TOUPPER (i))
6807 if ac_fn_c_try_run
"$LINENO"; then :
6810 ac_cv_header_stdc
=no
6812 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6813 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6819 $as_echo "$ac_cv_header_stdc" >&6; }
6820 if test $ac_cv_header_stdc = yes; then
6822 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6826 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6827 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6828 inttypes.h stdint.h unistd.h
6830 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6831 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6833 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6834 cat >>confdefs.h
<<_ACEOF
6835 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6845 ApplicationServices
/ApplicationServices.h \
6846 AudioToolbox
/AudioConverter.h \
6847 AudioUnit
/AudioUnit.h \
6848 AudioUnit
/AudioComponent.h \
6851 CommonCrypto
/CommonDigest.h \
6852 CoreAudio
/CoreAudio.h \
6853 CoreServices
/CoreServices.h \
6854 DiskArbitration
/DiskArbitration.h \
6857 IOKit
/hid
/IOHIDLib.h \
6860 QuickTime
/ImageCompression.h \
6861 Security
/Security.h \
6911 netinet
/in_systm.h \
6976 valgrind
/memcheck.h \
6977 valgrind
/valgrind.h \
6981 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6982 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6983 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6984 cat >>confdefs.h
<<_ACEOF
6985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6993 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6994 if ${ac_cv_header_sys_types_h_makedev+:} false
; then :
6995 $as_echo_n "(cached) " >&6
6997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6998 /* end confdefs.h. */
6999 #include <sys/types.h>
7003 return makedev(0, 0);
7008 if ac_fn_c_try_link
"$LINENO"; then :
7009 ac_cv_header_sys_types_h_makedev
=yes
7011 ac_cv_header_sys_types_h_makedev
=no
7013 rm -f core conftest.err conftest.
$ac_objext \
7014 conftest
$ac_exeext conftest.
$ac_ext
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7018 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7020 if test $ac_cv_header_sys_types_h_makedev = no
; then
7021 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7022 if test "x$ac_cv_header_sys_mkdev_h" = xyes
; then :
7024 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7030 if test $ac_cv_header_sys_mkdev_h = no
; then
7031 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7032 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
; then :
7034 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7043 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7044 if ${ac_cv_header_stat_broken+:} false
; then :
7045 $as_echo_n "(cached) " >&6
7047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7048 /* end confdefs.h. */
7049 #include <sys/types.h>
7050 #include <sys/stat.h>
7052 #if defined S_ISBLK && defined S_IFDIR
7053 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7056 #if defined S_ISBLK && defined S_IFCHR
7057 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7060 #if defined S_ISLNK && defined S_IFREG
7061 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7064 #if defined S_ISSOCK && defined S_IFREG
7065 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7069 if ac_fn_c_try_compile
"$LINENO"; then :
7070 ac_cv_header_stat_broken
=no
7072 ac_cv_header_stat_broken
=yes
7074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7077 $as_echo "$ac_cv_header_stat_broken" >&6; }
7078 if test $ac_cv_header_stat_broken = yes; then
7080 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7086 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
7088 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7089 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7090 #ifdef HAVE_SYS_PARAM_H
7091 # include <sys/param.h>
7094 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7095 cat >>confdefs.h
<<_ACEOF
7096 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7111 netinet
/if_ether.h \
7112 netinet
/if_inarp.h \
7121 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7122 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7123 #ifdef HAVE_SYS_SOCKET_H
7124 # include <sys/socket.h>
7126 #ifdef HAVE_SYS_SOCKETVAR_H
7127 # include <sys/socketvar.h>
7129 #ifdef HAVE_NET_ROUTE_H
7130 # include <net/route.h>
7132 #ifdef HAVE_NETINET_IN_H
7133 # include <netinet/in.h>
7135 #ifdef HAVE_NETINET_IN_SYSTM_H
7136 # include <netinet/in_systm.h>
7138 #ifdef HAVE_NET_IF_H
7139 # include <net/if.h>
7141 #ifdef HAVE_NETINET_IP_H
7142 # include <netinet/ip.h>
7145 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7146 cat >>confdefs.h
<<_ACEOF
7147 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7155 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
7157 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7158 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7162 #ifdef HAVE_SYS_SOCKET_H
7163 # include <sys/socket.h>
7165 #ifdef HAVE_SYS_SOCKETVAR_H
7166 # include <sys/socketvar.h>
7168 #ifdef HAVE_SYS_TIMEOUT_H
7169 # include <sys/timeout.h>
7171 #ifdef HAVE_NETINET_IN_H
7172 # include <netinet/in.h>
7174 #ifdef HAVE_NETINET_IN_SYSTM_H
7175 # include <netinet/in_systm.h>
7177 #ifdef HAVE_NETINET_IP_H
7178 # include <netinet/ip.h>
7180 #ifdef HAVE_NETINET_IP_VAR_H
7181 # include <netinet/ip_var.h>
7183 #ifdef HAVE_NETINET_IP_ICMP_H
7184 # include <netinet/ip_icmp.h>
7186 #ifdef HAVE_NETINET_UDP_H
7187 # include <netinet/udp.h>
7189 #ifdef HAVE_NETINET_TCP_H
7190 # include <netinet/tcp.h>
7192 #ifdef HAVE_NETINET_TCP_TIMER_H
7193 #include <netinet/tcp_timer.h>
7196 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7197 cat >>confdefs.h
<<_ACEOF
7198 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7206 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
7208 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7209 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7210 #ifdef HAVE_ASM_TYPES_H
7211 # include <asm/types.h>
7213 #ifdef HAVE_SYS_SOCKET_H
7214 # include <sys/socket.h>
7216 #ifdef HAVE_LINUX_TYPES_H
7217 # include <linux/types.h>
7220 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7221 cat >>confdefs.h
<<_ACEOF
7222 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7230 for ac_header
in mach-o
/dyld_images.h
7232 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7233 # include <stdbool.h>
7235 #ifdef HAVE_STDINT_H
7236 # include <stdint.h>
7239 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7240 cat >>confdefs.h
<<_ACEOF
7241 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7249 for ac_header
in resolv.h
7251 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7252 #ifdef HAVE_SYS_SOCKET_H
7253 # include <sys/socket.h>
7255 #ifdef HAVE_NETINET_IN_H
7256 # include <netinet/in.h>
7258 #ifdef HAVE_ARPA_NAMESER_H
7259 # include <arpa/nameser.h>
7262 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7263 cat >>confdefs.h
<<_ACEOF
7264 #define HAVE_RESOLV_H 1
7272 for ac_header
in ifaddrs.h
7274 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7276 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7277 cat >>confdefs.h
<<_ACEOF
7278 #define HAVE_IFADDRS_H 1
7286 for ac_header
in sys
/ucontext.h
7288 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7290 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7291 cat >>confdefs.h
<<_ACEOF
7292 #define HAVE_SYS_UCONTEXT_H 1
7300 for ac_header
in sys
/thr.h
7302 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7303 #ifdef HAVE_SYS_UCONTEXT_H
7304 #include <sys/ucontext.h>
7307 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7308 cat >>confdefs.h
<<_ACEOF
7309 #define HAVE_SYS_THR_H 1
7317 for ac_header
in pthread_np.h
7319 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7320 #include <pthread.h>
7323 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7324 cat >>confdefs.h
<<_ACEOF
7325 #define HAVE_PTHREAD_NP_H 1
7333 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7335 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7336 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7337 #include <sys/time.h>
7339 #include <sys/types.h>
7340 #ifdef HAVE_ASM_TYPES_H
7341 #include <asm/types.h>
7344 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7345 cat >>confdefs.h
<<_ACEOF
7346 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7354 for ac_header
in libprocstat.h
7356 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7357 #include <sys/param.h>
7359 #ifdef HAVE_SYS_QUEUE_H
7360 #include <sys/queue.h>
7362 #ifdef HAVE_SYS_SOCKET_H
7363 #include <sys/socket.h>
7366 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7367 cat >>confdefs.h
<<_ACEOF
7368 #define HAVE_LIBPROCSTAT_H 1
7377 dlldir
="\${libdir}/wine"
7379 DLLFLAGS
="-D_REENTRANT"
7387 WINELOADER_LDFLAGS
=""
7392 # Extract the first word of "ldd", so it can be a program name with args.
7393 set dummy ldd
; ac_word
=$2
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7395 $as_echo_n "checking for $ac_word... " >&6; }
7396 if ${ac_cv_path_LDD+:} false
; then :
7397 $as_echo_n "(cached) " >&6
7401 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7405 as_dummy
="/sbin:/usr/sbin:$PATH"
7406 for as_dir
in $as_dummy
7409 test -z "$as_dir" && as_dir
=.
7410 for ac_exec_ext
in '' $ac_executable_extensions; do
7411 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7412 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7420 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7425 if test -n "$LDD"; then
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7427 $as_echo "$LDD" >&6; }
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7430 $as_echo "no" >&6; }
7434 if test -n "$ac_tool_prefix"; then
7435 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7436 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7438 $as_echo_n "checking for $ac_word... " >&6; }
7439 if ${ac_cv_prog_OTOOL+:} false
; then :
7440 $as_echo_n "(cached) " >&6
7442 if test -n "$OTOOL"; then
7443 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7449 test -z "$as_dir" && as_dir
=.
7450 for ac_exec_ext
in '' $ac_executable_extensions; do
7451 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7452 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7462 OTOOL
=$ac_cv_prog_OTOOL
7463 if test -n "$OTOOL"; then
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7465 $as_echo "$OTOOL" >&6; }
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7468 $as_echo "no" >&6; }
7473 if test -z "$ac_cv_prog_OTOOL"; then
7475 # Extract the first word of "otool", so it can be a program name with args.
7476 set dummy otool
; ac_word
=$2
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7478 $as_echo_n "checking for $ac_word... " >&6; }
7479 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7480 $as_echo_n "(cached) " >&6
7482 if test -n "$ac_ct_OTOOL"; then
7483 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7489 test -z "$as_dir" && as_dir
=.
7490 for ac_exec_ext
in '' $ac_executable_extensions; do
7491 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7492 ac_cv_prog_ac_ct_OTOOL
="otool"
7493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7502 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7503 if test -n "$ac_ct_OTOOL"; then
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7505 $as_echo "$ac_ct_OTOOL" >&6; }
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7508 $as_echo "no" >&6; }
7511 if test "x$ac_ct_OTOOL" = x
; then
7514 case $cross_compiling:$ac_tool_warned in
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7518 ac_tool_warned
=yes ;;
7523 OTOOL
="$ac_cv_prog_OTOOL"
7526 if test -n "$ac_tool_prefix"; then
7527 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7528 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7530 $as_echo_n "checking for $ac_word... " >&6; }
7531 if ${ac_cv_prog_READELF+:} false
; then :
7532 $as_echo_n "(cached) " >&6
7534 if test -n "$READELF"; then
7535 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7541 test -z "$as_dir" && as_dir
=.
7542 for ac_exec_ext
in '' $ac_executable_extensions; do
7543 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7544 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7554 READELF
=$ac_cv_prog_READELF
7555 if test -n "$READELF"; then
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7557 $as_echo "$READELF" >&6; }
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7560 $as_echo "no" >&6; }
7565 if test -z "$ac_cv_prog_READELF"; then
7566 ac_ct_READELF
=$READELF
7567 # Extract the first word of "readelf", so it can be a program name with args.
7568 set dummy readelf
; ac_word
=$2
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7570 $as_echo_n "checking for $ac_word... " >&6; }
7571 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7572 $as_echo_n "(cached) " >&6
7574 if test -n "$ac_ct_READELF"; then
7575 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7581 test -z "$as_dir" && as_dir
=.
7582 for ac_exec_ext
in '' $ac_executable_extensions; do
7583 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7584 ac_cv_prog_ac_ct_READELF
="readelf"
7585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7594 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7595 if test -n "$ac_ct_READELF"; then
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7597 $as_echo "$ac_ct_READELF" >&6; }
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7600 $as_echo "no" >&6; }
7603 if test "x$ac_ct_READELF" = x
; then
7606 case $cross_compiling:$ac_tool_warned in
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7610 ac_tool_warned
=yes ;;
7612 READELF
=$ac_ct_READELF
7615 READELF
="$ac_cv_prog_READELF"
7618 wine_rules_file
=conf$
$rules.
make
7619 rm -f $wine_rules_file
7624 CONFIGURE_TARGETS
=""
7626 ALL_TEST_RESOURCES
=""
7629 wine_fn_append_file
()
7631 as_fn_append
$1 " \\$as_nl $2"
7634 wine_fn_append_rule
()
7636 $as_echo "$1" >>$wine_rules_file
7641 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7644 wine_fn_all_rules
()
7646 wine_fn_append_file SUBDIRS
$ac_dir
7647 wine_fn_append_rule \
7651 @cd $ac_dir && \$(MAKE)"
7654 wine_fn_install_rules
()
7656 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7658 wine_fn_append_rule \
7659 ".PHONY: $ac_dir/install $ac_dir/uninstall
7660 $ac_dir/install:: $ac_dir
7661 @cd $ac_dir && \$(MAKE) install
7663 @cd $ac_dir && \$(MAKE) uninstall
7664 install:: $ac_dir/install
7665 __uninstall__: $ac_dir/uninstall"
7667 if wine_fn_has_flag install-lib
7669 wine_fn_append_rule \
7670 ".PHONY: $ac_dir/install-lib
7671 $ac_dir/install-lib:: $ac_dir
7672 @cd $ac_dir && \$(MAKE) install-lib
7673 install-lib:: $ac_dir/install-lib"
7676 if wine_fn_has_flag install-dev
7678 wine_fn_append_rule \
7679 ".PHONY: $ac_dir/install-dev
7680 $ac_dir/install-dev:: $ac_dir
7681 @cd $ac_dir && \$(MAKE) install-dev
7682 install-dev:: $ac_dir/install-dev"
7686 wine_fn_clean_rules
()
7690 if wine_fn_has_flag clean
7692 wine_fn_append_rule \
7693 "$ac_dir/clean: dummy
7694 @cd $ac_dir && \$(MAKE) clean"
7696 wine_fn_append_rule \
7697 "$ac_dir/clean: dummy
7698 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7700 wine_fn_append_rule \
7701 "__clean__: $ac_dir/clean
7702 .PHONY: $ac_dir/clean"
7705 wine_fn_disabled_rules
()
7709 wine_fn_append_file SUBDIRS
$ac_dir
7710 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7711 wine_fn_append_rule \
7712 "__clean__: $ac_dir/clean
7713 .PHONY: $ac_dir/clean
7714 $ac_dir/clean: dummy
7715 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7718 wine_fn_config_makefile
()
7725 fonts|server
) test -z "$with_wine64" ||
return ;;
7727 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7728 wine_fn_disabled_rules
; return
7731 wine_fn_install_rules
7735 wine_fn_config_lib
()
7739 ac_dir
=dlls
/$ac_name
7742 if test "x$enable_tools" = xno
; then :
7745 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7750 wine_fn_append_rule \
7751 ".PHONY: $ac_dir/install $ac_dir/uninstall
7752 $ac_dir/install:: $ac_dir
7753 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7755 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7756 install install-dev:: $ac_dir/install
7757 __uninstall__: $ac_dir/uninstall
7758 __builddeps__: $ac_dir
7762 wine_fn_config_dll
()
7765 ac_dir
=dlls
/$ac_name
7768 ac_implib
=${4:-$ac_name}
7769 ac_file
=$ac_dir/lib
$ac_implib
7774 if test "x$enable_tools" = xno
; then :
7777 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7780 *.
*16) ac_implibflags
=" -m16" ;;
7782 *) ac_dll
=$ac_dll.dll
;;
7786 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7787 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7789 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7790 if test "$ac_enable" != enable_win16
7792 wine_fn_clean_rules
$ac_clean
7793 wine_fn_append_file SUBDIRS
$ac_dir
7794 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7796 wine_fn_disabled_rules
$ac_clean
7801 wine_fn_clean_rules
$ac_clean
7802 wine_fn_append_rule \
7803 "$ac_dir: __builddeps__
7804 manpages htmlpages sgmlpages xmlpages::
7805 @cd $ac_dir && \$(MAKE) \$@
7806 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7807 install install-lib:: $ac_dir/install-lib
7808 __uninstall__: $ac_dir/uninstall"
7809 if test -n "$DLLEXT"
7811 wine_fn_append_rule \
7812 "$ac_dir/install-lib:: $ac_dir
7813 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7814 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7816 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7818 wine_fn_append_rule \
7819 "$ac_dir/install-lib:: $ac_dir
7820 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7822 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7826 if wine_fn_has_flag staticimplib
7828 wine_fn_append_rule \
7829 "__builddeps__: $ac_file.a
7830 $ac_file.a $ac_file.cross.a: $ac_deps
7832 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7833 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7834 $ac_dir/install-dev:: $ac_file.a
7835 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7837 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7838 install install-dev:: $ac_dir/install-dev
7839 __uninstall__: $ac_dir/uninstall"
7841 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7843 wine_fn_append_rule \
7844 "__builddeps__: $ac_file.cross.a
7845 $ac_file.cross.a: dummy
7846 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7849 elif wine_fn_has_flag implib
7851 wine_fn_append_rule \
7852 "__builddeps__: $ac_file.$IMPLIBEXT
7853 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7854 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7855 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7856 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7857 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7858 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7859 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7861 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7862 install install-dev:: $ac_dir/install-dev
7863 __uninstall__: $ac_dir/uninstall"
7864 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7866 wine_fn_append_rule \
7867 "__builddeps__: $ac_file.cross.a
7868 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7869 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7874 wine_fn_config_program
()
7877 ac_dir
=programs
/$ac_name
7884 *) ac_program
=$ac_program.exe
;;
7888 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7889 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7891 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7892 wine_fn_disabled_rules
$ac_clean; return
7896 wine_fn_clean_rules
$ac_clean
7897 wine_fn_append_rule
"$ac_dir: __builddeps__"
7899 wine_fn_has_flag
install ||
return
7900 wine_fn_append_rule \
7901 ".PHONY: $ac_dir/install $ac_dir/uninstall
7902 install install-lib:: $ac_dir/install
7903 __uninstall__: $ac_dir/uninstall"
7905 if test -n "$DLLEXT"
7907 wine_fn_append_rule \
7908 "$ac_dir/install:: $ac_dir
7909 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7910 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7912 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7914 if test -z "$with_wine64" && wine_fn_has_flag installbin
7916 wine_fn_append_rule \
7917 "$ac_dir/install:: __tooldeps__
7918 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7920 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7923 wine_fn_append_rule \
7924 "$ac_dir/install:: $ac_dir
7925 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7927 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7930 if test -z "$with_wine64" && wine_fn_has_flag manpage
7932 wine_fn_append_rule \
7933 "$ac_dir/install:: $ac_dir
7934 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7936 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7940 wine_fn_config_test
()
7947 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7948 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7950 if test "x$enable_tests" = xno
; then :
7951 wine_fn_disabled_rules
$ac_clean; return
7954 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7956 wine_fn_clean_rules
$ac_clean
7958 wine_fn_append_rule \
7959 "$ac_dir: __builddeps__
7960 programs/winetest: $ac_dir
7961 check test: $ac_dir/test
7962 .PHONY: $ac_dir/test
7964 @cd $ac_dir && \$(MAKE) test
7966 \$(RM) $ac_dir/*.ok"
7968 if test -n "$CROSSTARGET"
7970 wine_fn_append_rule \
7971 "crosstest: $ac_dir/crosstest
7972 .PHONY: $ac_dir/crosstest
7973 $ac_dir/crosstest: __builddeps__ dummy
7974 @cd $ac_dir && \$(MAKE) crosstest"
7978 wine_fn_config_tool
()
7982 if test "x$enable_tools" = xno
; then :
7983 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir; return
7987 wine_fn_install_rules
7990 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7991 wine_fn_append_rule
"$ac_dir: libs/port"
7993 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7997 wine_fn_config_symlink
()
8000 if test "x$1" = "x-d"
8006 wine_fn_append_rule \
8008 @./config.status \$@"
8009 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
8010 test -n "$ac_linkdir" ||
return
8011 wine_fn_append_rule
"$ac_linkdir/depend: $ac_links"
8015 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
8016 WINELOADER_PROGRAMS
="$wine_binary"
8018 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
8022 if test -n "$ac_tool_prefix"; then
8023 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8024 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8026 $as_echo_n "checking for $ac_word... " >&6; }
8027 if ${ac_cv_prog_DLLTOOL+:} false
; then :
8028 $as_echo_n "(cached) " >&6
8030 if test -n "$DLLTOOL"; then
8031 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8037 test -z "$as_dir" && as_dir
=.
8038 for ac_exec_ext
in '' $ac_executable_extensions; do
8039 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8040 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8050 DLLTOOL
=$ac_cv_prog_DLLTOOL
8051 if test -n "$DLLTOOL"; then
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8053 $as_echo "$DLLTOOL" >&6; }
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8056 $as_echo "no" >&6; }
8061 if test -z "$ac_cv_prog_DLLTOOL"; then
8062 ac_ct_DLLTOOL
=$DLLTOOL
8063 # Extract the first word of "dlltool", so it can be a program name with args.
8064 set dummy dlltool
; ac_word
=$2
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8066 $as_echo_n "checking for $ac_word... " >&6; }
8067 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
8068 $as_echo_n "(cached) " >&6
8070 if test -n "$ac_ct_DLLTOOL"; then
8071 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8077 test -z "$as_dir" && as_dir
=.
8078 for ac_exec_ext
in '' $ac_executable_extensions; do
8079 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8080 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8090 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8091 if test -n "$ac_ct_DLLTOOL"; then
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8093 $as_echo "$ac_ct_DLLTOOL" >&6; }
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8096 $as_echo "no" >&6; }
8099 if test "x$ac_ct_DLLTOOL" = x
; then
8102 case $cross_compiling:$ac_tool_warned in
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8106 ac_tool_warned
=yes ;;
8108 DLLTOOL
=$ac_ct_DLLTOOL
8111 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8117 enable_iphlpapi
=${enable_iphlpapi:-no}
8118 enable_kernel32
=${enable_kernel32:-no}
8119 enable_msvcrt
=${enable_msvcrt:-no}
8120 enable_ntdll
=${enable_ntdll:-no}
8121 enable_ws2_32
=${enable_ws2_32:-no}
8122 enable_loader
=${enable_loader:-no}
8123 enable_server
=${enable_server:-no}
8124 with_x
=${with_x:-no}
8125 with_pthread
=${with_pthread:-no}
8131 SOCKET_LIBS
="-lws2_32"
8135 LIBWINE_SHAREDLIB
="libwine.dll"
8137 LIBWINE_IMPORTLIB
="libwine.a"
8139 LIBWINE_INSTALL_LIB
="libwine.dll"
8141 LIBWINE_INSTALL_DEV
="libwine.a"
8143 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
8145 LIBWINE_DEPENDS
="wine.def"
8150 for ac_header
in libunwind.h
8152 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8154 cat >>confdefs.h
<<_ACEOF
8155 #define HAVE_LIBUNWIND_H 1
8163 DLLFLAGS
="$DLLFLAGS -fPIC"
8164 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8165 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8166 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8168 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8170 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8172 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8174 CORESERVICES_LIBS
="-framework CoreServices"
8176 APPKIT_LIBS
="-framework AppKit"
8178 WINELOADER_LDFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8180 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8181 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8182 $as_echo_n "(cached) " >&6
8184 ac_wine_try_cflags_saved
=$CFLAGS
8185 CFLAGS
="$CFLAGS -Wl,-no_pie"
8186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8187 /* end confdefs.h. */
8188 int main(int argc, char **argv) { return 0; }
8190 if ac_fn_c_try_link
"$LINENO"; then :
8191 ac_cv_cflags__Wl__no_pie
=yes
8193 ac_cv_cflags__Wl__no_pie
=no
8195 rm -f core conftest.err conftest.
$ac_objext \
8196 conftest
$ac_exeext conftest.
$ac_ext
8197 CFLAGS
=$ac_wine_try_cflags_saved
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8200 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8201 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8202 WINELOADER_LDFLAGS
="-Wl,-no_pie $WINELOADER_LDFLAGS"
8204 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8206 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8209 if test "$ac_cv_header_Security_Security_h" = "yes"
8211 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8213 ac_save_LIBS
="$LIBS"
8214 LIBS
="$LIBS $SECURITY_LIBS"
8215 for ac_func
in SSLCopyPeerCertificates
8217 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8218 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8219 cat >>confdefs.h
<<_ACEOF
8220 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8226 LIBS
="$ac_save_LIBS"
8227 with_gnutls
=${with_gnutls:-no}
8229 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8231 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8233 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8236 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8239 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8240 ac_save_LIBS
="$LIBS"
8241 LIBS
="$LIBS $COREAUDIO_LIBS"
8242 for ac_func
in AUGraphAddNode
8244 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8245 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8246 cat >>confdefs.h
<<_ACEOF
8247 #define HAVE_AUGRAPHADDNODE 1
8253 LIBS
="$ac_save_LIBS"
8255 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8257 OPENAL_LIBS
="-framework OpenAL"
8260 cat >>confdefs.h
<<_ACEOF
8261 #define HAVE_OPENAL 1
8264 ac_cv_lib_openal
=yes
8266 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8268 OPENCL_LIBS
="-framework OpenCL"
8270 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8272 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8274 ac_save_LIBS
="$LIBS"
8275 LIBS
="$LIBS $IOKIT_LIBS"
8276 for ac_func
in IOHIDManagerCreate
8278 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8279 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8280 cat >>confdefs.h
<<_ACEOF
8281 #define HAVE_IOHIDMANAGERCREATE 1
8287 LIBS
="$ac_save_LIBS"
8289 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8291 ac_save_LIBS
="$LIBS"
8292 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8294 $as_echo_n "checking for the QuickTime framework... " >&6; }
8295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8296 /* end confdefs.h. */
8297 #include <QuickTime/ImageCompression.h>
8301 CodecManagerVersion(NULL);
8306 if ac_fn_c_try_link
"$LINENO"; then :
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8308 $as_echo "yes" >&6; }
8309 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8311 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8314 $as_echo "no" >&6; }
8315 ac_cv_header_QuickTime_ImageCompression_h
=no
8317 rm -f core conftest.err conftest.
$ac_objext \
8318 conftest
$ac_exeext conftest.
$ac_ext
8319 LIBS
="$ac_save_LIBS"
8321 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8323 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8325 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8327 CARBON_LIBS
="-framework Carbon"
8331 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8333 ac_save_LIBS
="$LIBS"
8334 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8335 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8336 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8337 enable_winemac_drv
=${enable_winemac_drv:-yes}
8340 LIBS
="$ac_save_LIBS"
8343 if test "x$enable_win16" = "xyes"
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8346 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8347 if test "$cross_compiling" = yes; then :
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8349 $as_echo "cross-compiling, assuming yes" >&6; }
8351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8352 /* end confdefs.h. */
8355 "good:\tnop;nop\n\t"
8356 ".globl _testfunc\n"
8357 "_testfunc:\tcallw good");
8358 extern void testfunc();
8362 unsigned short *p = (unsigned short *)testfunc;
8363 return p[0] != 0xe866 || p[1] != 0xfffa
8368 if ac_fn_c_try_run
"$LINENO"; then :
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8370 $as_echo "yes" >&6; }
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8373 $as_echo "no" >&6; }
8374 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
8376 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8377 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8382 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8384 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8386 LIBWINE_INSTALL_DEV
="libwine.dylib"
8388 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8390 WINELOADER_DEPENDS
="wine_info.plist"
8395 DLLFLAGS
="$DLLFLAGS -fPIC"
8396 LDEXECFLAGS
="-Wl,-pie"
8397 enable_wineandroid_drv
=${enable_wineandroid_drv:-yes}
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8399 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8400 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8401 $as_echo_n "(cached) " >&6
8403 ac_wine_try_cflags_saved
=$CFLAGS
8404 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8406 /* end confdefs.h. */
8407 int main(int argc, char **argv) { return 0; }
8409 if ac_fn_c_try_link
"$LINENO"; then :
8410 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8412 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8414 rm -f core conftest.err conftest.
$ac_objext \
8415 conftest
$ac_exeext conftest.
$ac_ext
8416 CFLAGS
=$ac_wine_try_cflags_saved
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8419 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8420 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8421 WINELOADER_LDFLAGS
="-Wl,--export-dynamic"
8423 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8425 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8426 if eval \
${$as_ac_var+:} false
; then :
8427 $as_echo_n "(cached) " >&6
8429 ac_wine_try_cflags_saved
=$CFLAGS
8430 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8432 /* end confdefs.h. */
8433 int main(int argc, char **argv) { return 0; }
8435 if ac_fn_c_try_link
"$LINENO"; then :
8436 eval "$as_ac_var=yes"
8438 eval "$as_ac_var=no"
8440 rm -f core conftest.err conftest.
$ac_objext \
8441 conftest
$ac_exeext conftest.
$ac_ext
8442 CFLAGS
=$ac_wine_try_cflags_saved
8444 eval ac_res
=\$
$as_ac_var
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8446 $as_echo "$ac_res" >&6; }
8447 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8448 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8449 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8451 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8453 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8454 if eval \
${$as_ac_var+:} false
; then :
8455 $as_echo_n "(cached) " >&6
8457 ac_wine_try_cflags_saved
=$CFLAGS
8458 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8460 /* end confdefs.h. */
8461 int main(int argc, char **argv) { return 0; }
8463 if ac_fn_c_try_link
"$LINENO"; then :
8464 eval "$as_ac_var=yes"
8466 eval "$as_ac_var=no"
8468 rm -f core conftest.err conftest.
$ac_objext \
8469 conftest
$ac_exeext conftest.
$ac_ext
8470 CFLAGS
=$ac_wine_try_cflags_saved
8472 eval ac_res
=\$
$as_ac_var
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8474 $as_echo "$ac_res" >&6; }
8475 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8476 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8477 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8481 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8482 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8483 $as_echo_n "(cached) " >&6
8485 ac_wine_try_cflags_saved
=$CFLAGS
8486 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8488 /* end confdefs.h. */
8489 int main(int argc, char **argv) { return 0; }
8491 if ac_fn_c_try_link
"$LINENO"; then :
8492 ac_cv_cflags__Wl___enable_new_dtags
=yes
8494 ac_cv_cflags__Wl___enable_new_dtags
=no
8496 rm -f core conftest.err conftest.
$ac_objext \
8497 conftest
$ac_exeext conftest.
$ac_ext
8498 CFLAGS
=$ac_wine_try_cflags_saved
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8501 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8502 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8503 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8506 LIBWINE_SHAREDLIB
="libwine.so"
8508 LIBWINE_INSTALL_LIB
="libwine.so"
8510 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so"
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8514 $as_echo_n "checking for -lEGL... " >&6; }
8515 if ${ac_cv_lib_soname_EGL+:} false
; then :
8516 $as_echo_n "(cached) " >&6
8518 ac_check_soname_save_LIBS
=$LIBS
8520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8521 /* end confdefs.h. */
8523 /* Override any GCC internal prototype to avoid an error.
8524 Use char because int might match the return type of a GCC
8525 builtin and then its argument prototype would still apply. */
8529 char eglGetProcAddress ();
8533 return eglGetProcAddress ();
8538 if ac_fn_c_try_link
"$LINENO"; then :
8540 dll
) ac_cv_lib_soname_EGL
=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8541 dylib
) ac_cv_lib_soname_EGL
=`$OTOOL -L conftest$ac_exeext | grep "libEGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libEGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8542 *) ac_cv_lib_soname_EGL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8543 if ${ac_cv_lib_soname_EGL:+false} :; then :
8544 ac_cv_lib_soname_EGL
=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8548 rm -f core conftest.err conftest.
$ac_objext \
8549 conftest
$ac_exeext conftest.
$ac_ext
8550 LIBS
=$ac_check_soname_save_LIBS
8552 if ${ac_cv_lib_soname_EGL:+false} :; then :
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8554 $as_echo "not found" >&6; }
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8558 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8560 cat >>confdefs.h
<<_ACEOF
8561 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8567 $as_echo_n "checking for -lGLESv2... " >&6; }
8568 if ${ac_cv_lib_soname_GLESv2+:} false
; then :
8569 $as_echo_n "(cached) " >&6
8571 ac_check_soname_save_LIBS
=$LIBS
8572 LIBS
="-lGLESv2 $LIBS"
8573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8574 /* end confdefs.h. */
8576 /* Override any GCC internal prototype to avoid an error.
8577 Use char because int might match the return type of a GCC
8578 builtin and then its argument prototype would still apply. */
8591 if ac_fn_c_try_link
"$LINENO"; then :
8593 dll
) ac_cv_lib_soname_GLESv2
=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8594 dylib
) ac_cv_lib_soname_GLESv2
=`$OTOOL -L conftest$ac_exeext | grep "libGLESv2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLESv2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8595 *) ac_cv_lib_soname_GLESv2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8596 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8597 ac_cv_lib_soname_GLESv2
=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8601 rm -f core conftest.err conftest.
$ac_objext \
8602 conftest
$ac_exeext conftest.
$ac_ext
8603 LIBS
=$ac_check_soname_save_LIBS
8605 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8607 $as_echo "not found" >&6; }
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8611 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8613 cat >>confdefs.h
<<_ACEOF
8614 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8620 if test "x$exec_prefix" = xNONE
8623 *i
[3456]86*) exec_prefix
='${prefix}/x86' ;;
8624 *x86_64
*) exec_prefix
='${prefix}/x86_64' ;;
8625 *arm
*) exec_prefix
='${prefix}/armeabi-v7a' ;;
8626 *aarch64
*) exec_prefix
='${prefix}/arm64-v8a' ;;
8632 DLLFLAGS
="$DLLFLAGS -fPIC"
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8634 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8635 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8636 $as_echo_n "(cached) " >&6
8638 ac_wine_try_cflags_saved
=$CFLAGS
8639 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8641 /* end confdefs.h. */
8644 if ac_fn_c_try_link
"$LINENO"; then :
8645 ac_cv_c_dll_gnuelf
="yes"
8647 ac_cv_c_dll_gnuelf
="no"
8649 rm -f core conftest.err conftest.
$ac_objext \
8650 conftest
$ac_exeext conftest.
$ac_ext
8651 CFLAGS
=$ac_wine_try_cflags_saved
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8654 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8655 if test "$ac_cv_c_dll_gnuelf" = "yes"
8657 LIBWINE_LDFLAGS
="-shared"
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8659 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8660 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8661 $as_echo_n "(cached) " >&6
8663 ac_wine_try_cflags_saved
=$CFLAGS
8664 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8666 /* end confdefs.h. */
8667 int main(int argc, char **argv) { return 0; }
8669 if ac_fn_c_try_link
"$LINENO"; then :
8670 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8672 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8674 rm -f core conftest.err conftest.
$ac_objext \
8675 conftest
$ac_exeext conftest.
$ac_ext
8676 CFLAGS
=$ac_wine_try_cflags_saved
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8679 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8680 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8681 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8684 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8685 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8686 $as_echo_n "(cached) " >&6
8688 ac_wine_try_cflags_saved
=$CFLAGS
8689 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8691 /* end confdefs.h. */
8692 int main(int argc, char **argv) { return 0; }
8694 if ac_fn_c_try_link
"$LINENO"; then :
8695 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8697 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8699 rm -f core conftest.err conftest.
$ac_objext \
8700 conftest
$ac_exeext conftest.
$ac_ext
8701 CFLAGS
=$ac_wine_try_cflags_saved
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8704 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8705 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8706 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8710 echo '{ global: *; };' >conftest.map
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8712 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8713 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8714 $as_echo_n "(cached) " >&6
8716 ac_wine_try_cflags_saved
=$CFLAGS
8717 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8719 /* end confdefs.h. */
8720 int main(int argc, char **argv) { return 0; }
8722 if ac_fn_c_try_link
"$LINENO"; then :
8723 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8725 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8727 rm -f core conftest.err conftest.
$ac_objext \
8728 conftest
$ac_exeext conftest.
$ac_ext
8729 CFLAGS
=$ac_wine_try_cflags_saved
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8732 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8733 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8734 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8739 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8740 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8741 $as_echo_n "(cached) " >&6
8743 ac_wine_try_cflags_saved
=$CFLAGS
8744 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8746 /* end confdefs.h. */
8747 int main(int argc, char **argv) { return 0; }
8749 if ac_fn_c_try_link
"$LINENO"; then :
8750 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8752 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8754 rm -f core conftest.err conftest.
$ac_objext \
8755 conftest
$ac_exeext conftest.
$ac_ext
8756 CFLAGS
=$ac_wine_try_cflags_saved
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8759 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8760 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8761 WINELOADER_LDFLAGS
="-Wl,--export-dynamic"
8764 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8766 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8767 if eval \
${$as_ac_var+:} false
; then :
8768 $as_echo_n "(cached) " >&6
8770 ac_wine_try_cflags_saved
=$CFLAGS
8771 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8773 /* end confdefs.h. */
8774 int main(int argc, char **argv) { return 0; }
8776 if ac_fn_c_try_link
"$LINENO"; then :
8777 eval "$as_ac_var=yes"
8779 eval "$as_ac_var=no"
8781 rm -f core conftest.err conftest.
$ac_objext \
8782 conftest
$ac_exeext conftest.
$ac_ext
8783 CFLAGS
=$ac_wine_try_cflags_saved
8785 eval ac_res
=\$
$as_ac_var
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8787 $as_echo "$ac_res" >&6; }
8788 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8789 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8790 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8792 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8794 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8795 if eval \
${$as_ac_var+:} false
; then :
8796 $as_echo_n "(cached) " >&6
8798 ac_wine_try_cflags_saved
=$CFLAGS
8799 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8801 /* end confdefs.h. */
8802 int main(int argc, char **argv) { return 0; }
8804 if ac_fn_c_try_link
"$LINENO"; then :
8805 eval "$as_ac_var=yes"
8807 eval "$as_ac_var=no"
8809 rm -f core conftest.err conftest.
$ac_objext \
8810 conftest
$ac_exeext conftest.
$ac_ext
8811 CFLAGS
=$ac_wine_try_cflags_saved
8813 eval ac_res
=\$
$as_ac_var
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8815 $as_echo "$ac_res" >&6; }
8816 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8817 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8818 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8823 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8824 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8825 $as_echo_n "(cached) " >&6
8827 ac_wine_try_cflags_saved
=$CFLAGS
8828 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8830 /* end confdefs.h. */
8831 int main(int argc, char **argv) { return 0; }
8833 if ac_fn_c_try_link
"$LINENO"; then :
8834 ac_cv_cflags__Wl___enable_new_dtags
=yes
8836 ac_cv_cflags__Wl___enable_new_dtags
=no
8838 rm -f core conftest.err conftest.
$ac_objext \
8839 conftest
$ac_exeext conftest.
$ac_ext
8840 CFLAGS
=$ac_wine_try_cflags_saved
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8843 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8844 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8845 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8849 *i
[3456789]86* | x86_64
)
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8851 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8852 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8853 $as_echo_n "(cached) " >&6
8855 ac_wine_try_cflags_saved
=$CFLAGS
8856 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8858 /* end confdefs.h. */
8859 int main(int argc, char **argv) { return 0; }
8861 if ac_fn_c_try_link
"$LINENO"; then :
8862 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8864 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8866 rm -f core conftest.err conftest.
$ac_objext \
8867 conftest
$ac_exeext conftest.
$ac_ext
8868 CFLAGS
=$ac_wine_try_cflags_saved
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8871 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8872 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8874 freebsd
* | kfreebsd
*-gnu) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8875 *) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8879 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8880 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false
; then :
8881 $as_echo_n "(cached) " >&6
8883 ac_wine_try_cflags_saved
=$CFLAGS
8884 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8886 /* end confdefs.h. */
8887 int main(int argc, char **argv) { return 0; }
8889 if ac_fn_c_try_link
"$LINENO"; then :
8890 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=yes
8892 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=no
8894 rm -f core conftest.err conftest.
$ac_objext \
8895 conftest
$ac_exeext conftest.
$ac_ext
8896 CFLAGS
=$ac_wine_try_cflags_saved
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8899 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8900 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes
; then :
8902 freebsd
* | kfreebsd
*-gnu) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8903 *) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8906 # Extract the first word of "prelink", so it can be a program name with args.
8907 set dummy prelink
; ac_word
=$2
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8909 $as_echo_n "checking for $ac_word... " >&6; }
8910 if ${ac_cv_path_PRELINK+:} false
; then :
8911 $as_echo_n "(cached) " >&6
8915 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8919 for as_dir
in /sbin
/usr
/sbin
$PATH
8922 test -z "$as_dir" && as_dir
=.
8923 for ac_exec_ext
in '' $ac_executable_extensions; do
8924 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8925 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8933 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8937 PRELINK
=$ac_cv_path_PRELINK
8938 if test -n "$PRELINK"; then
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8940 $as_echo "$PRELINK" >&6; }
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8943 $as_echo "no" >&6; }
8947 if test "x$PRELINK" = xfalse
8949 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8953 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8954 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false
; then :
8955 $as_echo_n "(cached) " >&6
8957 ac_wine_try_cflags_saved
=$CFLAGS
8958 CFLAGS
="$CFLAGS -Wl,-z,max-page-size=0x1000"
8959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8960 /* end confdefs.h. */
8961 int main(int argc, char **argv) { return 0; }
8963 if ac_fn_c_try_link
"$LINENO"; then :
8964 ac_cv_cflags__Wl__z_max_page_size_0x1000
=yes
8966 ac_cv_cflags__Wl__z_max_page_size_0x1000
=no
8968 rm -f core conftest.err conftest.
$ac_objext \
8969 conftest
$ac_exeext conftest.
$ac_ext
8970 CFLAGS
=$ac_wine_try_cflags_saved
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8973 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8974 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
; then :
8975 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8982 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8983 if ${ac_cv_c_dll_unixware+:} false
; then :
8984 $as_echo_n "(cached) " >&6
8986 ac_wine_try_cflags_saved
=$CFLAGS
8987 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8989 /* end confdefs.h. */
8992 if ac_fn_c_try_link
"$LINENO"; then :
8993 ac_cv_c_dll_unixware
="yes"
8995 ac_cv_c_dll_unixware
="no"
8997 rm -f core conftest.err conftest.
$ac_objext \
8998 conftest
$ac_exeext conftest.
$ac_ext
8999 CFLAGS
=$ac_wine_try_cflags_saved
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9002 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9003 if test "$ac_cv_c_dll_unixware" = "yes"
9005 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
9008 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
9010 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9012 LIBWINE_INSTALL_DEV
="libwine.so"
9014 LIBWINE_DEPENDS
="wine.map"
9019 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
9020 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
9021 enable_wineandroid_drv
=${enable_wineandroid_drv:-no}
9022 enable_winemac_drv
=${enable_winemac_drv:-no}
9023 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
9027 if test "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
9031 ac_prefix_list
="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9033 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
9034 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9037 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
9038 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9040 ac_prefix_list
="" ;;
9042 for ac_prog
in $ac_prefix_list
9044 # Extract the first word of "$ac_prog", so it can be a program name with args.
9045 set dummy
$ac_prog; ac_word
=$2
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9047 $as_echo_n "checking for $ac_word... " >&6; }
9048 if ${ac_cv_prog_CROSSCC+:} false
; then :
9049 $as_echo_n "(cached) " >&6
9051 if test -n "$CROSSCC"; then
9052 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
9054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9058 test -z "$as_dir" && as_dir
=.
9059 for ac_exec_ext
in '' $ac_executable_extensions; do
9060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9061 ac_cv_prog_CROSSCC
="$ac_prog"
9062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9071 CROSSCC
=$ac_cv_prog_CROSSCC
9072 if test -n "$CROSSCC"; then
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9074 $as_echo "$CROSSCC" >&6; }
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9077 $as_echo "no" >&6; }
9081 test -n "$CROSSCC" && break
9083 test -n "$CROSSCC" || CROSSCC
="false"
9085 if test "$CROSSCC" != "false"
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9090 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9092 /* end confdefs.h. */
9102 if ac_fn_c_try_compile
"$LINENO"; then :
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9104 $as_echo "yes" >&6; }
9110 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
9111 *-clang) CROSSTARGET
=`expr "$1" : '\(.*\)-clang'` ;;
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9117 $as_echo "no" >&6; }
9119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9121 CROSSCFLAGS
=${CROSSCFLAGS:-$CFLAGS}
9127 if test "$ac_cv_header_pthread_h" = "yes"
9129 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9130 if test "x$ac_cv_func_pthread_create" = xyes
; then :
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9134 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9135 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
9136 $as_echo_n "(cached) " >&6
9138 ac_check_lib_save_LIBS
=$LIBS
9139 LIBS
="-lpthread $LIBS"
9140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9141 /* end confdefs.h. */
9143 /* Override any GCC internal prototype to avoid an error.
9144 Use char because int might match the return type of a GCC
9145 builtin and then its argument prototype would still apply. */
9149 char pthread_create ();
9153 return pthread_create ();
9158 if ac_fn_c_try_link
"$LINENO"; then :
9159 ac_cv_lib_pthread_pthread_create
=yes
9161 ac_cv_lib_pthread_pthread_create
=no
9163 rm -f core conftest.err conftest.
$ac_objext \
9164 conftest
$ac_exeext conftest.
$ac_ext
9165 LIBS
=$ac_check_lib_save_LIBS
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9168 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9169 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
9170 PTHREAD_LIBS
="-lpthread"
9177 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
9178 case "x$with_pthread" in
9180 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
9181 Wine cannot support threads without libpthread.
9182 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9189 $as_echo_n "checking for X... " >&6; }
9192 # Check whether --with-x was given.
9193 if test "${with_x+set}" = set; then :
9197 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9198 if test "x$with_x" = xno
; then
9199 # The user explicitly disabled X.
9202 case $x_includes,$x_libraries in #(
9203 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
9204 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
9205 $as_echo_n "(cached) " >&6
9207 # One or both of the vars are not set, and there is no cached value.
9208 ac_x_includes
=no ac_x_libraries
=no
9209 rm -f -r conftest.dir
9210 if mkdir conftest.dir
; then
9212 cat >Imakefile
<<'_ACEOF'
9214 @echo incroot='${INCROOT}'
9216 @echo usrlibdir='${USRLIBDIR}'
9218 @echo libdir='${LIBDIR}'
9220 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9221 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9222 for ac_var
in incroot usrlibdir libdir
; do
9223 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9225 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9226 for ac_extension
in a so sl dylib la dll
; do
9227 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9228 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9229 ac_im_usrlibdir
=$ac_im_libdir; break
9232 # Screen out bogus values from the imake configuration. They are
9233 # bogus both because they are the default anyway, and because
9234 # using them would break gcc on systems where it needs fixed includes.
9235 case $ac_im_incroot in
9236 /usr
/include
) ac_x_includes
= ;;
9237 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9239 case $ac_im_usrlibdir in
9240 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9241 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9245 rm -f -r conftest.dir
9248 # Standard set of common directories for X headers.
9249 # Check X11 before X11Rn because it is often a symlink to the current release.
9263 /usr/local/X11/include
9264 /usr/local/X11R7/include
9265 /usr/local/X11R6/include
9266 /usr/local/X11R5/include
9267 /usr/local/X11R4/include
9269 /usr/local/include/X11
9270 /usr/local/include/X11R7
9271 /usr/local/include/X11R6
9272 /usr/local/include/X11R5
9273 /usr/local/include/X11R4
9277 /usr/XFree86/include/X11
9281 /usr/unsupported/include
9283 /usr/local/x11r5/include
9284 /usr/lpp/Xamples/include
9286 /usr/openwin/include
9287 /usr/openwin/share/include'
9289 if test "$ac_x_includes" = no
; then
9290 # Guess where to find include files, by looking for Xlib.h.
9291 # First, try using that file with no special directory specified.
9292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9293 /* end confdefs.h. */
9294 #include <X11/Xlib.h>
9296 if ac_fn_c_try_cpp
"$LINENO"; then :
9297 # We can compile using X headers with no special include directory.
9300 for ac_dir
in $ac_x_header_dirs; do
9301 if test -r "$ac_dir/X11/Xlib.h"; then
9302 ac_x_includes
=$ac_dir
9307 rm -f conftest.err conftest.i conftest.
$ac_ext
9308 fi # $ac_x_includes = no
9310 if test "$ac_x_libraries" = no
; then
9311 # Check for the libraries.
9312 # See if we find them without any special options.
9313 # Don't add to $LIBS permanently.
9316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9317 /* end confdefs.h. */
9318 #include <X11/Xlib.h>
9327 if ac_fn_c_try_link
"$LINENO"; then :
9329 # We can link X programs with no special library path.
9333 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9335 # Don't even attempt the hair of trying to link an X program!
9336 for ac_extension
in a so sl dylib la dll
; do
9337 if test -r "$ac_dir/libX11.$ac_extension"; then
9338 ac_x_libraries
=$ac_dir
9344 rm -f core conftest.err conftest.
$ac_objext \
9345 conftest
$ac_exeext conftest.
$ac_ext
9346 fi # $ac_x_libraries = no
9348 case $ac_x_includes,$ac_x_libraries in #(
9350 # Didn't find X, or a directory has "'" in its name.
9351 ac_cv_have_x
="have_x=no";; #(
9353 # Record where we found X for the cache.
9354 ac_cv_have_x
="have_x=yes\
9355 ac_x_includes='$ac_x_includes'\
9356 ac_x_libraries='$ac_x_libraries'"
9362 eval "$ac_cv_have_x"
9365 if test "$have_x" != yes; then
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9367 $as_echo "$have_x" >&6; }
9370 # If each of the values was on the command line, it overrides each guess.
9371 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9372 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9373 # Update the cache value to reflect the command line values.
9374 ac_cv_have_x
="have_x=yes\
9375 ac_x_includes='$x_includes'\
9376 ac_x_libraries='$x_libraries'"
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9378 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9381 if test "$no_x" = yes; then
9382 # Not all programs may use this symbol, but it does not hurt to define it.
9384 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9386 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9388 if test -n "$x_includes"; then
9389 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9392 # It would also be nice to do this for all -L options, not just this one.
9393 if test -n "$x_libraries"; then
9394 X_LIBS
="$X_LIBS -L$x_libraries"
9395 # For Solaris; some versions of Sun CC require a space after -R and
9396 # others require no space. Words are not sufficient . . . .
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9398 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9399 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9400 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9401 ac_c_werror_flag
=yes
9402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9403 /* end confdefs.h. */
9413 if ac_fn_c_try_link
"$LINENO"; then :
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9415 $as_echo "no" >&6; }
9416 X_LIBS
="$X_LIBS -R$x_libraries"
9418 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9420 /* end confdefs.h. */
9430 if ac_fn_c_try_link
"$LINENO"; then :
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9432 $as_echo "yes" >&6; }
9433 X_LIBS
="$X_LIBS -R $x_libraries"
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9436 $as_echo "neither works" >&6; }
9438 rm -f core conftest.err conftest.
$ac_objext \
9439 conftest
$ac_exeext conftest.
$ac_ext
9441 rm -f core conftest.err conftest.
$ac_objext \
9442 conftest
$ac_exeext conftest.
$ac_ext
9443 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9447 # Check for system-dependent libraries X programs must link with.
9448 # Do this before checking for the system-independent R6 libraries
9449 # (-lICE), since we may need -lsocket or whatever for X linking.
9451 if test "$ISC" = yes; then
9452 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9454 # Martyn Johnson says this is needed for Ultrix, if the X
9455 # libraries were built with DECnet support. And Karl Berry says
9456 # the Alpha needs dnet_stub (dnet does not exist).
9457 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9459 /* end confdefs.h. */
9461 /* Override any GCC internal prototype to avoid an error.
9462 Use char because int might match the return type of a GCC
9463 builtin and then its argument prototype would still apply. */
9467 char XOpenDisplay ();
9471 return XOpenDisplay ();
9476 if ac_fn_c_try_link
"$LINENO"; then :
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9480 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9481 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9482 $as_echo_n "(cached) " >&6
9484 ac_check_lib_save_LIBS
=$LIBS
9486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9487 /* end confdefs.h. */
9489 /* Override any GCC internal prototype to avoid an error.
9490 Use char because int might match the return type of a GCC
9491 builtin and then its argument prototype would still apply. */
9499 return dnet_ntoa ();
9504 if ac_fn_c_try_link
"$LINENO"; then :
9505 ac_cv_lib_dnet_dnet_ntoa
=yes
9507 ac_cv_lib_dnet_dnet_ntoa
=no
9509 rm -f core conftest.err conftest.
$ac_objext \
9510 conftest
$ac_exeext conftest.
$ac_ext
9511 LIBS
=$ac_check_lib_save_LIBS
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9514 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9515 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9516 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9519 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9521 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9522 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9523 $as_echo_n "(cached) " >&6
9525 ac_check_lib_save_LIBS
=$LIBS
9526 LIBS
="-ldnet_stub $LIBS"
9527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9528 /* end confdefs.h. */
9530 /* Override any GCC internal prototype to avoid an error.
9531 Use char because int might match the return type of a GCC
9532 builtin and then its argument prototype would still apply. */
9540 return dnet_ntoa ();
9545 if ac_fn_c_try_link
"$LINENO"; then :
9546 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9548 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9550 rm -f core conftest.err conftest.
$ac_objext \
9551 conftest
$ac_exeext conftest.
$ac_ext
9552 LIBS
=$ac_check_lib_save_LIBS
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9555 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9556 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9557 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9562 rm -f core conftest.err conftest.
$ac_objext \
9563 conftest
$ac_exeext conftest.
$ac_ext
9564 LIBS
="$ac_xsave_LIBS"
9566 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9567 # to get the SysV transport functions.
9568 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9570 # The nsl library prevents programs from opening the X display
9571 # on Irix 5.2, according to T.E. Dickey.
9572 # The functions gethostbyname, getservbyname, and inet_addr are
9573 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9574 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9575 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9579 if test $ac_cv_func_gethostbyname = no
; then
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9581 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9582 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9583 $as_echo_n "(cached) " >&6
9585 ac_check_lib_save_LIBS
=$LIBS
9587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9588 /* end confdefs.h. */
9590 /* Override any GCC internal prototype to avoid an error.
9591 Use char because int might match the return type of a GCC
9592 builtin and then its argument prototype would still apply. */
9596 char gethostbyname ();
9600 return gethostbyname ();
9605 if ac_fn_c_try_link
"$LINENO"; then :
9606 ac_cv_lib_nsl_gethostbyname
=yes
9608 ac_cv_lib_nsl_gethostbyname
=no
9610 rm -f core conftest.err conftest.
$ac_objext \
9611 conftest
$ac_exeext conftest.
$ac_ext
9612 LIBS
=$ac_check_lib_save_LIBS
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9615 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9616 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9617 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9620 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9622 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9623 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9624 $as_echo_n "(cached) " >&6
9626 ac_check_lib_save_LIBS
=$LIBS
9628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9629 /* end confdefs.h. */
9631 /* Override any GCC internal prototype to avoid an error.
9632 Use char because int might match the return type of a GCC
9633 builtin and then its argument prototype would still apply. */
9637 char gethostbyname ();
9641 return gethostbyname ();
9646 if ac_fn_c_try_link
"$LINENO"; then :
9647 ac_cv_lib_bsd_gethostbyname
=yes
9649 ac_cv_lib_bsd_gethostbyname
=no
9651 rm -f core conftest.err conftest.
$ac_objext \
9652 conftest
$ac_exeext conftest.
$ac_ext
9653 LIBS
=$ac_check_lib_save_LIBS
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9656 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9657 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9658 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9664 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9665 # socket/setsockopt and other routines are undefined under SCO ODT
9666 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9667 # on later versions), says Simon Leinen: it contains gethostby*
9668 # variants that don't use the name server (or something). -lsocket
9669 # must be given before -lnsl if both are needed. We assume that
9670 # if connect needs -lnsl, so does gethostbyname.
9671 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9672 if test "x$ac_cv_func_connect" = xyes
; then :
9676 if test $ac_cv_func_connect = no
; then
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9678 $as_echo_n "checking for connect in -lsocket... " >&6; }
9679 if ${ac_cv_lib_socket_connect+:} false
; then :
9680 $as_echo_n "(cached) " >&6
9682 ac_check_lib_save_LIBS
=$LIBS
9683 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9685 /* end confdefs.h. */
9687 /* Override any GCC internal prototype to avoid an error.
9688 Use char because int might match the return type of a GCC
9689 builtin and then its argument prototype would still apply. */
9702 if ac_fn_c_try_link
"$LINENO"; then :
9703 ac_cv_lib_socket_connect
=yes
9705 ac_cv_lib_socket_connect
=no
9707 rm -f core conftest.err conftest.
$ac_objext \
9708 conftest
$ac_exeext conftest.
$ac_ext
9709 LIBS
=$ac_check_lib_save_LIBS
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9712 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9713 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9714 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9719 # Guillermo Gomez says -lposix is necessary on A/UX.
9720 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9721 if test "x$ac_cv_func_remove" = xyes
; then :
9725 if test $ac_cv_func_remove = no
; then
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9727 $as_echo_n "checking for remove in -lposix... " >&6; }
9728 if ${ac_cv_lib_posix_remove+:} false
; then :
9729 $as_echo_n "(cached) " >&6
9731 ac_check_lib_save_LIBS
=$LIBS
9732 LIBS
="-lposix $LIBS"
9733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9734 /* end confdefs.h. */
9736 /* Override any GCC internal prototype to avoid an error.
9737 Use char because int might match the return type of a GCC
9738 builtin and then its argument prototype would still apply. */
9751 if ac_fn_c_try_link
"$LINENO"; then :
9752 ac_cv_lib_posix_remove
=yes
9754 ac_cv_lib_posix_remove
=no
9756 rm -f core conftest.err conftest.
$ac_objext \
9757 conftest
$ac_exeext conftest.
$ac_ext
9758 LIBS
=$ac_check_lib_save_LIBS
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9761 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9762 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9763 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9768 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9769 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9770 if test "x$ac_cv_func_shmat" = xyes
; then :
9774 if test $ac_cv_func_shmat = no
; then
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9776 $as_echo_n "checking for shmat in -lipc... " >&6; }
9777 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9778 $as_echo_n "(cached) " >&6
9780 ac_check_lib_save_LIBS
=$LIBS
9782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9783 /* end confdefs.h. */
9785 /* Override any GCC internal prototype to avoid an error.
9786 Use char because int might match the return type of a GCC
9787 builtin and then its argument prototype would still apply. */
9800 if ac_fn_c_try_link
"$LINENO"; then :
9801 ac_cv_lib_ipc_shmat
=yes
9803 ac_cv_lib_ipc_shmat
=no
9805 rm -f core conftest.err conftest.
$ac_objext \
9806 conftest
$ac_exeext conftest.
$ac_ext
9807 LIBS
=$ac_check_lib_save_LIBS
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9810 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9811 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9812 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9818 # Check for libraries that X11R6 Xt/Xaw programs need.
9819 ac_save_LDFLAGS
=$LDFLAGS
9820 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9821 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9822 # check for ICE first), but we must link in the order -lSM -lICE or
9823 # we get undefined symbols. So assume we have SM if we have ICE.
9824 # These have to be linked with before -lX11, unlike the other
9825 # libraries we check for below, so use a different variable.
9826 # John Interrante, Karl Berry
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9828 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9829 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9830 $as_echo_n "(cached) " >&6
9832 ac_check_lib_save_LIBS
=$LIBS
9833 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9835 /* end confdefs.h. */
9837 /* Override any GCC internal prototype to avoid an error.
9838 Use char because int might match the return type of a GCC
9839 builtin and then its argument prototype would still apply. */
9843 char IceConnectionNumber ();
9847 return IceConnectionNumber ();
9852 if ac_fn_c_try_link
"$LINENO"; then :
9853 ac_cv_lib_ICE_IceConnectionNumber
=yes
9855 ac_cv_lib_ICE_IceConnectionNumber
=no
9857 rm -f core conftest.err conftest.
$ac_objext \
9858 conftest
$ac_exeext conftest.
$ac_ext
9859 LIBS
=$ac_check_lib_save_LIBS
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9862 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9863 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9864 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9867 LDFLAGS
=$ac_save_LDFLAGS
9872 if test "$have_x" = "yes"
9874 ac_save_CPPFLAGS
="$CPPFLAGS"
9875 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9878 $as_echo_n "checking for -lX11... " >&6; }
9879 if ${ac_cv_lib_soname_X11+:} false
; then :
9880 $as_echo_n "(cached) " >&6
9882 ac_check_soname_save_LIBS
=$LIBS
9883 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9885 /* end confdefs.h. */
9887 /* Override any GCC internal prototype to avoid an error.
9888 Use char because int might match the return type of a GCC
9889 builtin and then its argument prototype would still apply. */
9893 char XCreateWindow ();
9897 return XCreateWindow ();
9902 if ac_fn_c_try_link
"$LINENO"; then :
9904 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9905 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'` ;;
9906 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9907 if ${ac_cv_lib_soname_X11:+false} :; then :
9908 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9912 rm -f core conftest.err conftest.
$ac_objext \
9913 conftest
$ac_exeext conftest.
$ac_ext
9914 LIBS
=$ac_check_soname_save_LIBS
9916 if ${ac_cv_lib_soname_X11:+false} :; then :
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9918 $as_echo "not found" >&6; }
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9922 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9924 cat >>confdefs.h
<<_ACEOF
9925 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9931 $as_echo_n "checking for -lXext... " >&6; }
9932 if ${ac_cv_lib_soname_Xext+:} false
; then :
9933 $as_echo_n "(cached) " >&6
9935 ac_check_soname_save_LIBS
=$LIBS
9936 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9938 /* end confdefs.h. */
9940 /* Override any GCC internal prototype to avoid an error.
9941 Use char because int might match the return type of a GCC
9942 builtin and then its argument prototype would still apply. */
9946 char XextCreateExtension ();
9950 return XextCreateExtension ();
9955 if ac_fn_c_try_link
"$LINENO"; then :
9957 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9958 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'` ;;
9959 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9960 if ${ac_cv_lib_soname_Xext:+false} :; then :
9961 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9965 rm -f core conftest.err conftest.
$ac_objext \
9966 conftest
$ac_exeext conftest.
$ac_ext
9967 LIBS
=$ac_check_soname_save_LIBS
9969 if ${ac_cv_lib_soname_Xext:+false} :; then :
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9971 $as_echo "not found" >&6; }
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9975 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9977 cat >>confdefs.h
<<_ACEOF
9978 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9981 X_LIBS
="$X_LIBS -lXext"
9983 X_LIBS
="$X_LIBS -lX11"
9985 for ac_header
in X11
/Xlib.h \
9988 X11
/Xcursor
/Xcursor.h \
9989 X11
/extensions
/shape.h \
9990 X11
/extensions
/XInput.h \
9991 X11
/extensions
/XInput2.h \
9992 X11
/extensions
/XShm.h \
9993 X11
/extensions
/Xcomposite.h \
9994 X11
/extensions
/Xfixes.h \
9995 X11
/extensions
/Xinerama.h \
9996 X11
/extensions
/Xrandr.h \
9997 X11
/extensions
/Xrender.h \
9998 X11
/extensions
/xf86vmode.h \
9999 X11
/extensions
/xf86vmproto.h
10001 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10002 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10003 # include <X11/Xlib.h>
10005 #ifdef HAVE_X11_XUTIL_H
10006 # include <X11/Xutil.h>
10009 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10010 cat >>confdefs.h
<<_ACEOF
10011 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10019 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10022 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10023 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
10024 $as_echo_n "(cached) " >&6
10026 ac_check_lib_save_LIBS
=$LIBS
10027 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10029 /* end confdefs.h. */
10031 /* Override any GCC internal prototype to avoid an error.
10032 Use char because int might match the return type of a GCC
10033 builtin and then its argument prototype would still apply. */
10037 char XkbQueryExtension ();
10041 return XkbQueryExtension ();
10046 if ac_fn_c_try_link
"$LINENO"; then :
10047 ac_cv_lib_X11_XkbQueryExtension
=yes
10049 ac_cv_lib_X11_XkbQueryExtension
=no
10051 rm -f core conftest.err conftest.
$ac_objext \
10052 conftest
$ac_exeext conftest.
$ac_ext
10053 LIBS
=$ac_check_lib_save_LIBS
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10056 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10057 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
10059 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10065 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10068 $as_echo_n "checking for -lXcursor... " >&6; }
10069 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
10070 $as_echo_n "(cached) " >&6
10072 ac_check_soname_save_LIBS
=$LIBS
10073 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10075 /* end confdefs.h. */
10077 /* Override any GCC internal prototype to avoid an error.
10078 Use char because int might match the return type of a GCC
10079 builtin and then its argument prototype would still apply. */
10083 char XcursorImageLoadCursor ();
10087 return XcursorImageLoadCursor ();
10092 if ac_fn_c_try_link
"$LINENO"; then :
10094 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10095 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'` ;;
10096 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10097 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10098 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10102 rm -f core conftest.err conftest.
$ac_objext \
10103 conftest
$ac_exeext conftest.
$ac_ext
10104 LIBS
=$ac_check_soname_save_LIBS
10106 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10108 $as_echo "not found" >&6; }
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10112 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10114 cat >>confdefs.h
<<_ACEOF
10115 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10121 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10122 case "x$with_xcursor" in
10123 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10125 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10126 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10131 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10134 $as_echo_n "checking for -lXi... " >&6; }
10135 if ${ac_cv_lib_soname_Xi+:} false
; then :
10136 $as_echo_n "(cached) " >&6
10138 ac_check_soname_save_LIBS
=$LIBS
10139 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10141 /* end confdefs.h. */
10143 /* Override any GCC internal prototype to avoid an error.
10144 Use char because int might match the return type of a GCC
10145 builtin and then its argument prototype would still apply. */
10149 char XOpenDevice ();
10153 return XOpenDevice ();
10158 if ac_fn_c_try_link
"$LINENO"; then :
10160 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10161 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'` ;;
10162 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10163 if ${ac_cv_lib_soname_Xi:+false} :; then :
10164 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10168 rm -f core conftest.err conftest.
$ac_objext \
10169 conftest
$ac_exeext conftest.
$ac_ext
10170 LIBS
=$ac_check_soname_save_LIBS
10172 if ${ac_cv_lib_soname_Xi:+false} :; then :
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10174 $as_echo "not found" >&6; }
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10178 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10180 cat >>confdefs.h
<<_ACEOF
10181 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10187 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10188 case "x$with_xinput" in
10189 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10191 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10192 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10197 if test "x$ac_cv_lib_soname_Xi" != x
10199 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10200 case "x$with_xinput2" in
10201 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10203 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
10204 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10210 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10213 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10214 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
10215 $as_echo_n "(cached) " >&6
10217 ac_check_lib_save_LIBS
=$LIBS
10218 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10220 /* end confdefs.h. */
10222 /* Override any GCC internal prototype to avoid an error.
10223 Use char because int might match the return type of a GCC
10224 builtin and then its argument prototype would still apply. */
10228 char XShmQueryExtension ();
10232 return XShmQueryExtension ();
10237 if ac_fn_c_try_link
"$LINENO"; then :
10238 ac_cv_lib_Xext_XShmQueryExtension
=yes
10240 ac_cv_lib_Xext_XShmQueryExtension
=no
10242 rm -f core conftest.err conftest.
$ac_objext \
10243 conftest
$ac_exeext conftest.
$ac_ext
10244 LIBS
=$ac_check_lib_save_LIBS
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10247 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10248 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10250 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10255 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10256 case "x$with_xshm" in
10257 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10259 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10260 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10265 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10268 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10269 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10270 $as_echo_n "(cached) " >&6
10272 ac_check_lib_save_LIBS
=$LIBS
10273 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h. */
10277 /* Override any GCC internal prototype to avoid an error.
10278 Use char because int might match the return type of a GCC
10279 builtin and then its argument prototype would still apply. */
10283 char XShapeQueryExtension ();
10287 return XShapeQueryExtension ();
10292 if ac_fn_c_try_link
"$LINENO"; then :
10293 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10295 ac_cv_lib_Xext_XShapeQueryExtension
=no
10297 rm -f core conftest.err conftest.
$ac_objext \
10298 conftest
$ac_exeext conftest.
$ac_ext
10299 LIBS
=$ac_check_lib_save_LIBS
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10302 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10303 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10305 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10310 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10311 case "x$with_xshape" in
10312 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10314 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10315 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10320 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10323 $as_echo_n "checking for -lXxf86vm... " >&6; }
10324 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10325 $as_echo_n "(cached) " >&6
10327 ac_check_soname_save_LIBS
=$LIBS
10328 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10330 /* end confdefs.h. */
10332 /* Override any GCC internal prototype to avoid an error.
10333 Use char because int might match the return type of a GCC
10334 builtin and then its argument prototype would still apply. */
10338 char XF86VidModeQueryExtension ();
10342 return XF86VidModeQueryExtension ();
10347 if ac_fn_c_try_link
"$LINENO"; then :
10349 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10350 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'` ;;
10351 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10352 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10353 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10357 rm -f core conftest.err conftest.
$ac_objext \
10358 conftest
$ac_exeext conftest.
$ac_ext
10359 LIBS
=$ac_check_soname_save_LIBS
10361 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10363 $as_echo "not found" >&6; }
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10367 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10369 cat >>confdefs.h
<<_ACEOF
10370 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10376 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10377 case "x$with_xxf86vm" in
10378 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10380 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10381 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10386 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10389 $as_echo_n "checking for -lXrender... " >&6; }
10390 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10391 $as_echo_n "(cached) " >&6
10393 ac_check_soname_save_LIBS
=$LIBS
10394 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10396 /* end confdefs.h. */
10398 /* Override any GCC internal prototype to avoid an error.
10399 Use char because int might match the return type of a GCC
10400 builtin and then its argument prototype would still apply. */
10404 char XRenderQueryExtension ();
10408 return XRenderQueryExtension ();
10413 if ac_fn_c_try_link
"$LINENO"; then :
10415 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10416 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'` ;;
10417 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10418 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10419 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10423 rm -f core conftest.err conftest.
$ac_objext \
10424 conftest
$ac_exeext conftest.
$ac_ext
10425 LIBS
=$ac_check_soname_save_LIBS
10427 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10429 $as_echo "not found" >&6; }
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10433 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10435 cat >>confdefs.h
<<_ACEOF
10436 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10440 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10441 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10442 $as_echo_n "(cached) " >&6
10444 ac_check_lib_save_LIBS
=$LIBS
10445 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10447 /* end confdefs.h. */
10449 /* Override any GCC internal prototype to avoid an error.
10450 Use char because int might match the return type of a GCC
10451 builtin and then its argument prototype would still apply. */
10455 char XRenderSetPictureTransform ();
10459 return XRenderSetPictureTransform ();
10464 if ac_fn_c_try_link
"$LINENO"; then :
10465 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10467 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10469 rm -f core conftest.err conftest.
$ac_objext \
10470 conftest
$ac_exeext conftest.
$ac_ext
10471 LIBS
=$ac_check_lib_save_LIBS
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10474 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10475 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10477 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10482 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10483 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10484 $as_echo_n "(cached) " >&6
10486 ac_check_lib_save_LIBS
=$LIBS
10487 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10489 /* end confdefs.h. */
10491 /* Override any GCC internal prototype to avoid an error.
10492 Use char because int might match the return type of a GCC
10493 builtin and then its argument prototype would still apply. */
10497 char XRenderCreateLinearGradient ();
10501 return XRenderCreateLinearGradient ();
10506 if ac_fn_c_try_link
"$LINENO"; then :
10507 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10509 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10511 rm -f core conftest.err conftest.
$ac_objext \
10512 conftest
$ac_exeext conftest.
$ac_ext
10513 LIBS
=$ac_check_lib_save_LIBS
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10516 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10517 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10519 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10526 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10527 case "x$with_xrender" in
10528 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10530 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10531 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10536 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10540 #include <X11/Xlib.h>
10541 #include <X11/extensions/Xrandr.h>
10545 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10550 if ac_fn_c_try_compile
"$LINENO"; then :
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10552 $as_echo_n "checking for -lXrandr... " >&6; }
10553 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10554 $as_echo_n "(cached) " >&6
10556 ac_check_soname_save_LIBS
=$LIBS
10557 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10559 /* end confdefs.h. */
10561 /* Override any GCC internal prototype to avoid an error.
10562 Use char because int might match the return type of a GCC
10563 builtin and then its argument prototype would still apply. */
10567 char XRRQueryExtension ();
10571 return XRRQueryExtension ();
10576 if ac_fn_c_try_link
"$LINENO"; then :
10578 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10579 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'` ;;
10580 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10581 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10582 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10586 rm -f core conftest.err conftest.
$ac_objext \
10587 conftest
$ac_exeext conftest.
$ac_ext
10588 LIBS
=$ac_check_soname_save_LIBS
10590 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10592 $as_echo "not found" >&6; }
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10596 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10598 cat >>confdefs.h
<<_ACEOF
10599 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10603 /* end confdefs.h. */
10604 #include <X11/Xlib.h>
10605 #include <X11/extensions/Xrandr.h>
10609 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10614 if ac_fn_c_try_compile
"$LINENO"; then :
10616 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10624 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10625 case "x$with_xrandr" in
10626 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10628 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10629 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10634 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10637 /* end confdefs.h. */
10638 #include <X11/Xlib.h>
10639 #include <X11/extensions/Xfixes.h>
10643 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10648 if ac_fn_c_try_compile
"$LINENO"; then :
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10650 $as_echo_n "checking for -lXfixes... " >&6; }
10651 if ${ac_cv_lib_soname_Xfixes+:} false
; then :
10652 $as_echo_n "(cached) " >&6
10654 ac_check_soname_save_LIBS
=$LIBS
10655 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10657 /* end confdefs.h. */
10659 /* Override any GCC internal prototype to avoid an error.
10660 Use char because int might match the return type of a GCC
10661 builtin and then its argument prototype would still apply. */
10665 char XFixesQueryVersion ();
10669 return XFixesQueryVersion ();
10674 if ac_fn_c_try_link
"$LINENO"; then :
10676 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10677 dylib
) ac_cv_lib_soname_Xfixes
=`$OTOOL -L conftest$ac_exeext | grep "libXfixes\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXfixes\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10678 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10679 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10680 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10684 rm -f core conftest.err conftest.
$ac_objext \
10685 conftest
$ac_exeext conftest.
$ac_ext
10686 LIBS
=$ac_check_soname_save_LIBS
10688 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10690 $as_echo "not found" >&6; }
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10694 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10696 cat >>confdefs.h
<<_ACEOF
10697 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10703 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10705 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10706 case "x$with_xfixes" in
10707 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10709 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10710 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10715 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10718 /* end confdefs.h. */
10719 #include <X11/Xlib.h>
10720 #include <X11/extensions/Xinerama.h>
10724 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10729 if ac_fn_c_try_compile
"$LINENO"; then :
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10731 $as_echo_n "checking for -lXinerama... " >&6; }
10732 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10733 $as_echo_n "(cached) " >&6
10735 ac_check_soname_save_LIBS
=$LIBS
10736 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10738 /* end confdefs.h. */
10740 /* Override any GCC internal prototype to avoid an error.
10741 Use char because int might match the return type of a GCC
10742 builtin and then its argument prototype would still apply. */
10746 char XineramaQueryScreens ();
10750 return XineramaQueryScreens ();
10755 if ac_fn_c_try_link
"$LINENO"; then :
10757 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10758 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'` ;;
10759 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10760 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10761 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10765 rm -f core conftest.err conftest.
$ac_objext \
10766 conftest
$ac_exeext conftest.
$ac_ext
10767 LIBS
=$ac_check_soname_save_LIBS
10769 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10771 $as_echo "not found" >&6; }
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10775 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10777 cat >>confdefs.h
<<_ACEOF
10778 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10786 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10787 case "x$with_xinerama" in
10788 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10790 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10791 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10796 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10799 $as_echo_n "checking for -lXcomposite... " >&6; }
10800 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10801 $as_echo_n "(cached) " >&6
10803 ac_check_soname_save_LIBS
=$LIBS
10804 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10806 /* end confdefs.h. */
10808 /* Override any GCC internal prototype to avoid an error.
10809 Use char because int might match the return type of a GCC
10810 builtin and then its argument prototype would still apply. */
10814 char XCompositeRedirectWindow ();
10818 return XCompositeRedirectWindow ();
10823 if ac_fn_c_try_link
"$LINENO"; then :
10825 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10826 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'` ;;
10827 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10828 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10829 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10833 rm -f core conftest.err conftest.
$ac_objext \
10834 conftest
$ac_exeext conftest.
$ac_ext
10835 LIBS
=$ac_check_soname_save_LIBS
10837 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10839 $as_echo "not found" >&6; }
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10843 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10845 cat >>confdefs.h
<<_ACEOF
10846 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10852 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10853 case "x$with_xcomposite" in
10854 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10856 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10857 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10862 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10863 #include <X11/Xlib.h>
10866 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10868 cat >>confdefs.h
<<_ACEOF
10869 #define HAVE_XICCALLBACK_CALLBACK 1
10874 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10875 #include <X11/Xlib.h>
10878 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10880 cat >>confdefs.h
<<_ACEOF
10881 #define HAVE_XEVENT_XCOOKIE 1
10890 if test "x$with_opengl" != "xno"
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10893 $as_echo_n "checking for -lGL... " >&6; }
10894 if ${ac_cv_lib_soname_GL+:} false
; then :
10895 $as_echo_n "(cached) " >&6
10897 ac_check_soname_save_LIBS
=$LIBS
10898 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10900 /* end confdefs.h. */
10902 /* Override any GCC internal prototype to avoid an error.
10903 Use char because int might match the return type of a GCC
10904 builtin and then its argument prototype would still apply. */
10908 char glXCreateContext ();
10912 return glXCreateContext ();
10917 if ac_fn_c_try_link
"$LINENO"; then :
10919 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10920 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'` ;;
10921 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10922 if ${ac_cv_lib_soname_GL:+false} :; then :
10923 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10927 rm -f core conftest.err conftest.
$ac_objext \
10928 conftest
$ac_exeext conftest.
$ac_ext
10929 LIBS
=$ac_check_soname_save_LIBS
10931 if ${ac_cv_lib_soname_GL:+false} :; then :
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10933 $as_echo "not found" >&6; }
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10935 $as_echo_n "checking for -lGL... " >&6; }
10936 if ${ac_cv_lib_soname_GL+:} false
; then :
10937 $as_echo_n "(cached) " >&6
10939 ac_check_soname_save_LIBS
=$LIBS
10940 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"
10941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10942 /* end confdefs.h. */
10944 /* Override any GCC internal prototype to avoid an error.
10945 Use char because int might match the return type of a GCC
10946 builtin and then its argument prototype would still apply. */
10950 char glXCreateContext ();
10954 return glXCreateContext ();
10959 if ac_fn_c_try_link
"$LINENO"; then :
10961 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10962 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'` ;;
10963 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10964 if ${ac_cv_lib_soname_GL:+false} :; then :
10965 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10969 rm -f core conftest.err conftest.
$ac_objext \
10970 conftest
$ac_exeext conftest.
$ac_ext
10971 LIBS
=$ac_check_soname_save_LIBS
10973 if ${ac_cv_lib_soname_GL:+false} :; then :
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10975 $as_echo "not found" >&6; }
10976 if test -f /usr
/X11R
6/lib
/libGL.a
10978 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10979 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10981 opengl_msg
="No OpenGL library found on this system."
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10985 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10987 cat >>confdefs.h
<<_ACEOF
10988 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10991 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"
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10995 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10997 cat >>confdefs.h
<<_ACEOF
10998 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11003 if test "x$with_glu" != "xno"
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11006 $as_echo_n "checking for -lGLU... " >&6; }
11007 if ${ac_cv_lib_soname_GLU+:} false
; then :
11008 $as_echo_n "(cached) " >&6
11010 ac_check_soname_save_LIBS
=$LIBS
11011 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11013 /* end confdefs.h. */
11015 /* Override any GCC internal prototype to avoid an error.
11016 Use char because int might match the return type of a GCC
11017 builtin and then its argument prototype would still apply. */
11025 return gluLookAt ();
11030 if ac_fn_c_try_link
"$LINENO"; then :
11032 dll
) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11033 dylib
) ac_cv_lib_soname_GLU
=`$OTOOL -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11034 *) ac_cv_lib_soname_GLU
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11035 if ${ac_cv_lib_soname_GLU:+false} :; then :
11036 ac_cv_lib_soname_GLU
=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11040 rm -f core conftest.err conftest.
$ac_objext \
11041 conftest
$ac_exeext conftest.
$ac_ext
11042 LIBS
=$ac_check_soname_save_LIBS
11044 if ${ac_cv_lib_soname_GLU:+false} :; then :
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11046 $as_echo "not found" >&6; }
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11050 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11052 cat >>confdefs.h
<<_ACEOF
11053 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11058 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11059 case "x$with_glu" in
11060 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11062 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
11063 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11069 if test "x$with_osmesa" != "xno"
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11072 $as_echo_n "checking for -lOSMesa... " >&6; }
11073 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
11074 $as_echo_n "(cached) " >&6
11076 ac_check_soname_save_LIBS
=$LIBS
11077 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11079 /* end confdefs.h. */
11081 /* Override any GCC internal prototype to avoid an error.
11082 Use char because int might match the return type of a GCC
11083 builtin and then its argument prototype would still apply. */
11087 char OSMesaGetProcAddress ();
11091 return OSMesaGetProcAddress ();
11096 if ac_fn_c_try_link
"$LINENO"; then :
11098 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11099 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'` ;;
11100 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11101 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11102 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11106 rm -f core conftest.err conftest.
$ac_objext \
11107 conftest
$ac_exeext conftest.
$ac_ext
11108 LIBS
=$ac_check_soname_save_LIBS
11110 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11112 $as_echo "not found" >&6; }
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11116 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11118 cat >>confdefs.h
<<_ACEOF
11119 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11124 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11125 case "x$with_osmesa" in
11126 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11128 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11129 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11135 if test -n "$opengl_msg"; then :
11136 case "x$with_opengl" in
11137 x
) as_fn_append wine_warnings
"|$opengl_msg
11138 OpenGL and Direct3D won't be supported." ;;
11140 *) as_fn_error $?
"$opengl_msg
11141 OpenGL and Direct3D won't be supported.
11142 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11147 CPPFLAGS
="$ac_save_CPPFLAGS"
11153 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11155 if test "x$X_LIBS" = "x"; then :
11158 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
11159 without X support, which probably isn't what you want. You will need
11160 to install ${notice_platform}development packages of Xlib at the very least.
11161 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11163 enable_winex11_drv
=${enable_winex11_drv:-no}
11166 if test "x$X_LIBS" = "x"; then :
11168 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11170 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
11171 This is an error since --with-x was requested." "$LINENO" 5 ;;
11173 enable_winex11_drv
=${enable_winex11_drv:-no}
11177 if test "$ac_cv_header_CL_cl_h" = "yes"
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11180 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11181 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
11182 $as_echo_n "(cached) " >&6
11184 ac_check_lib_save_LIBS
=$LIBS
11185 LIBS
="-lOpenCL $LIBS"
11186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11187 /* end confdefs.h. */
11189 /* Override any GCC internal prototype to avoid an error.
11190 Use char because int might match the return type of a GCC
11191 builtin and then its argument prototype would still apply. */
11195 char clGetPlatformInfo ();
11199 return clGetPlatformInfo ();
11204 if ac_fn_c_try_link
"$LINENO"; then :
11205 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
11207 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
11209 rm -f core conftest.err conftest.
$ac_objext \
11210 conftest
$ac_exeext conftest.
$ac_ext
11211 LIBS
=$ac_check_lib_save_LIBS
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11214 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11215 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
11216 OPENCL_LIBS
="-lOpenCL"
11221 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
11222 case "x$with_opencl" in
11223 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11225 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11226 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11228 enable_opencl
=${enable_opencl:-no}
11231 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11234 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11235 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
11236 $as_echo_n "(cached) " >&6
11238 ac_check_lib_save_LIBS
=$LIBS
11239 LIBS
="-lpcap $LIBS"
11240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h. */
11243 /* Override any GCC internal prototype to avoid an error.
11244 Use char because int might match the return type of a GCC
11245 builtin and then its argument prototype would still apply. */
11249 char pcap_create ();
11253 return pcap_create ();
11258 if ac_fn_c_try_link
"$LINENO"; then :
11259 ac_cv_lib_pcap_pcap_create
=yes
11261 ac_cv_lib_pcap_pcap_create
=no
11263 rm -f core conftest.err conftest.
$ac_objext \
11264 conftest
$ac_exeext conftest.
$ac_ext
11265 LIBS
=$ac_check_lib_save_LIBS
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11268 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11269 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
11275 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
11276 case "x$with_pcap" in
11277 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11279 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
11280 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11282 enable_wpcap
=${enable_wpcap:-no}
11286 if test "x$with_xml" != "xno"
11288 if ${XML2_CFLAGS:+false} :; then :
11289 if ${PKG_CONFIG+:} false
; then :
11290 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11293 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11294 if ${XML2_LIBS:+false} :; then :
11295 if ${PKG_CONFIG+:} false
; then :
11296 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11299 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11300 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
11301 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11302 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11303 ac_save_CPPFLAGS
=$CPPFLAGS
11304 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
11305 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
11307 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11308 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11309 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11310 cat >>confdefs.h
<<_ACEOF
11311 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11318 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"
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11321 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11322 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
11323 $as_echo_n "(cached) " >&6
11325 ac_check_lib_save_LIBS
=$LIBS
11326 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h. */
11330 /* Override any GCC internal prototype to avoid an error.
11331 Use char because int might match the return type of a GCC
11332 builtin and then its argument prototype would still apply. */
11336 char xmlParseMemory ();
11340 return xmlParseMemory ();
11345 if ac_fn_c_try_link
"$LINENO"; then :
11346 ac_cv_lib_xml2_xmlParseMemory
=yes
11348 ac_cv_lib_xml2_xmlParseMemory
=no
11350 rm -f core conftest.err conftest.
$ac_objext \
11351 conftest
$ac_exeext conftest.
$ac_ext
11352 LIBS
=$ac_check_lib_save_LIBS
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11355 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11356 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11358 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11365 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11366 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11367 $as_echo_n "(cached) " >&6
11369 ac_check_lib_save_LIBS
=$LIBS
11370 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11374 /* Override any GCC internal prototype to avoid an error.
11375 Use char because int might match the return type of a GCC
11376 builtin and then its argument prototype would still apply. */
11380 char xmlReadMemory ();
11384 return xmlReadMemory ();
11389 if ac_fn_c_try_link
"$LINENO"; then :
11390 ac_cv_lib_xml2_xmlReadMemory
=yes
11392 ac_cv_lib_xml2_xmlReadMemory
=no
11394 rm -f core conftest.err conftest.
$ac_objext \
11395 conftest
$ac_exeext conftest.
$ac_ext
11396 LIBS
=$ac_check_lib_save_LIBS
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11399 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11400 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11402 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11407 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11408 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11409 $as_echo_n "(cached) " >&6
11411 ac_check_lib_save_LIBS
=$LIBS
11412 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h. */
11416 /* Override any GCC internal prototype to avoid an error.
11417 Use char because int might match the return type of a GCC
11418 builtin and then its argument prototype would still apply. */
11422 char xmlNewDocPI ();
11426 return xmlNewDocPI ();
11431 if ac_fn_c_try_link
"$LINENO"; then :
11432 ac_cv_lib_xml2_xmlNewDocPI
=yes
11434 ac_cv_lib_xml2_xmlNewDocPI
=no
11436 rm -f core conftest.err conftest.
$ac_objext \
11437 conftest
$ac_exeext conftest.
$ac_ext
11438 LIBS
=$ac_check_lib_save_LIBS
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11441 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11442 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11444 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11449 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11450 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11451 $as_echo_n "(cached) " >&6
11453 ac_check_lib_save_LIBS
=$LIBS
11454 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11456 /* end confdefs.h. */
11458 /* Override any GCC internal prototype to avoid an error.
11459 Use char because int might match the return type of a GCC
11460 builtin and then its argument prototype would still apply. */
11464 char xmlSchemaSetParserStructuredErrors ();
11468 return xmlSchemaSetParserStructuredErrors ();
11473 if ac_fn_c_try_link
"$LINENO"; then :
11474 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11476 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11478 rm -f core conftest.err conftest.
$ac_objext \
11479 conftest
$ac_exeext conftest.
$ac_ext
11480 LIBS
=$ac_check_lib_save_LIBS
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11483 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11484 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11486 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11491 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11492 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11493 $as_echo_n "(cached) " >&6
11495 ac_check_lib_save_LIBS
=$LIBS
11496 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11498 /* end confdefs.h. */
11500 /* Override any GCC internal prototype to avoid an error.
11501 Use char because int might match the return type of a GCC
11502 builtin and then its argument prototype would still apply. */
11506 char xmlSchemaSetValidStructuredErrors ();
11510 return xmlSchemaSetValidStructuredErrors ();
11515 if ac_fn_c_try_link
"$LINENO"; then :
11516 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11518 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11520 rm -f core conftest.err conftest.
$ac_objext \
11521 conftest
$ac_exeext conftest.
$ac_ext
11522 LIBS
=$ac_check_lib_save_LIBS
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11525 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11526 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11528 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11533 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11534 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11535 $as_echo_n "(cached) " >&6
11537 ac_check_lib_save_LIBS
=$LIBS
11538 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11540 /* end confdefs.h. */
11542 /* Override any GCC internal prototype to avoid an error.
11543 Use char because int might match the return type of a GCC
11544 builtin and then its argument prototype would still apply. */
11548 char xmlFirstElementChild ();
11552 return xmlFirstElementChild ();
11557 if ac_fn_c_try_link
"$LINENO"; then :
11558 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11560 ac_cv_lib_xml2_xmlFirstElementChild
=no
11562 rm -f core conftest.err conftest.
$ac_objext \
11563 conftest
$ac_exeext conftest.
$ac_ext
11564 LIBS
=$ac_check_lib_save_LIBS
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11567 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11568 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11570 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11574 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11576 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11578 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11586 CPPFLAGS
=$ac_save_CPPFLAGS
11587 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11588 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11591 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11592 case "x$with_xml" in
11593 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11595 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11596 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11601 if test "x$with_xslt" != "xno"
11603 if ${XSLT_CFLAGS:+false} :; then :
11604 if ${PKG_CONFIG+:} false
; then :
11605 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11608 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11609 if ${XSLT_LIBS:+false} :; then :
11610 if ${PKG_CONFIG+:} false
; then :
11611 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11614 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11615 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11616 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11617 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11618 ac_save_CPPFLAGS
=$CPPFLAGS
11619 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11620 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11622 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11623 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11624 # include <libxslt/pattern.h>
11627 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11628 cat >>confdefs.h
<<_ACEOF
11629 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11636 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11639 $as_echo_n "checking for -lxslt... " >&6; }
11640 if ${ac_cv_lib_soname_xslt+:} false
; then :
11641 $as_echo_n "(cached) " >&6
11643 ac_check_soname_save_LIBS
=$LIBS
11644 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11646 /* end confdefs.h. */
11648 /* Override any GCC internal prototype to avoid an error.
11649 Use char because int might match the return type of a GCC
11650 builtin and then its argument prototype would still apply. */
11654 char xsltCompilePattern ();
11658 return xsltCompilePattern ();
11663 if ac_fn_c_try_link
"$LINENO"; then :
11665 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11666 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'` ;;
11667 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11668 if ${ac_cv_lib_soname_xslt:+false} :; then :
11669 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11673 rm -f core conftest.err conftest.
$ac_objext \
11674 conftest
$ac_exeext conftest.
$ac_ext
11675 LIBS
=$ac_check_soname_save_LIBS
11677 if ${ac_cv_lib_soname_xslt:+false} :; then :
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11679 $as_echo "not found" >&6; }
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11683 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11685 cat >>confdefs.h
<<_ACEOF
11686 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11694 CPPFLAGS
=$ac_save_CPPFLAGS
11695 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11696 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11699 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11700 case "x$with_xslt" in
11701 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11703 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11704 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11709 if test "x$with_dbus" != "xno"
11711 if ${DBUS_CFLAGS:+false} :; then :
11712 if ${PKG_CONFIG+:} false
; then :
11713 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11717 if ${DBUS_LIBS:+false} :; then :
11718 if ${PKG_CONFIG+:} false
; then :
11719 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11724 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11725 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11726 ac_save_CPPFLAGS
=$CPPFLAGS
11727 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11728 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11729 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11731 $as_echo_n "checking for -ldbus-1... " >&6; }
11732 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11733 $as_echo_n "(cached) " >&6
11735 ac_check_soname_save_LIBS
=$LIBS
11736 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11738 /* end confdefs.h. */
11740 /* Override any GCC internal prototype to avoid an error.
11741 Use char because int might match the return type of a GCC
11742 builtin and then its argument prototype would still apply. */
11746 char dbus_connection_close ();
11750 return dbus_connection_close ();
11755 if ac_fn_c_try_link
"$LINENO"; then :
11757 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11758 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'` ;;
11759 *) 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'`
11760 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11761 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11765 rm -f core conftest.err conftest.
$ac_objext \
11766 conftest
$ac_exeext conftest.
$ac_ext
11767 LIBS
=$ac_check_soname_save_LIBS
11769 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11771 $as_echo "not found" >&6; }
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11775 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11777 cat >>confdefs.h
<<_ACEOF
11778 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11788 CPPFLAGS
=$ac_save_CPPFLAGS
11789 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11790 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11793 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11794 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11795 case "x$with_dbus" in
11796 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11798 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11799 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11804 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11806 if ${HAL_CFLAGS:+false} :; then :
11807 if ${PKG_CONFIG+:} false
; then :
11808 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11812 if ${HAL_LIBS:+false} :; then :
11813 if ${PKG_CONFIG+:} false
; then :
11814 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11818 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11819 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11820 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11821 ac_save_CPPFLAGS
=$CPPFLAGS
11822 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11823 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11824 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11826 $as_echo_n "checking for -lhal... " >&6; }
11827 if ${ac_cv_lib_soname_hal+:} false
; then :
11828 $as_echo_n "(cached) " >&6
11830 ac_check_soname_save_LIBS
=$LIBS
11831 LIBS
="-lhal $HAL_LIBS $LIBS"
11832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11835 /* Override any GCC internal prototype to avoid an error.
11836 Use char because int might match the return type of a GCC
11837 builtin and then its argument prototype would still apply. */
11841 char libhal_ctx_new ();
11845 return libhal_ctx_new ();
11850 if ac_fn_c_try_link
"$LINENO"; then :
11852 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11853 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'` ;;
11854 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11855 if ${ac_cv_lib_soname_hal:+false} :; then :
11856 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11860 rm -f core conftest.err conftest.
$ac_objext \
11861 conftest
$ac_exeext conftest.
$ac_ext
11862 LIBS
=$ac_check_soname_save_LIBS
11864 if ${ac_cv_lib_soname_hal:+false} :; then :
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11866 $as_echo "not found" >&6; }
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11870 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11872 cat >>confdefs.h
<<_ACEOF
11873 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11883 CPPFLAGS
=$ac_save_CPPFLAGS
11884 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11885 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11887 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11888 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11889 case "x$with_hal" in
11890 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11892 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11893 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11899 if test "x$with_gnutls" != "xno"
11901 if ${GNUTLS_CFLAGS:+false} :; then :
11902 if ${PKG_CONFIG+:} false
; then :
11903 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11907 if ${GNUTLS_LIBS:+false} :; then :
11908 if ${PKG_CONFIG+:} false
; then :
11909 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11914 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11915 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11916 ac_save_CPPFLAGS
=$CPPFLAGS
11917 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11918 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11919 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11921 /* end confdefs.h. */
11922 #include <gnutls/gnutls.h>
11923 #include <gnutls/crypto.h>
11927 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11932 if ac_fn_c_try_compile
"$LINENO"; then :
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11934 $as_echo_n "checking for -lgnutls... " >&6; }
11935 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11936 $as_echo_n "(cached) " >&6
11938 ac_check_soname_save_LIBS
=$LIBS
11939 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11941 /* end confdefs.h. */
11943 /* Override any GCC internal prototype to avoid an error.
11944 Use char because int might match the return type of a GCC
11945 builtin and then its argument prototype would still apply. */
11949 char gnutls_global_init ();
11953 return gnutls_global_init ();
11958 if ac_fn_c_try_link
"$LINENO"; then :
11960 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11961 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'` ;;
11962 *) 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'`
11963 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11964 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'`
11968 rm -f core conftest.err conftest.
$ac_objext \
11969 conftest
$ac_exeext conftest.
$ac_ext
11970 LIBS
=$ac_check_soname_save_LIBS
11972 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11974 $as_echo "not found" >&6; }
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11978 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11980 cat >>confdefs.h
<<_ACEOF
11981 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11986 ac_wine_check_funcs_save_LIBS
="$LIBS"
11987 LIBS
="$LIBS $GNUTLS_LIBS"
11988 for ac_func
in gnutls_cipher_init
11990 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11991 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
; then :
11992 cat >>confdefs.h
<<_ACEOF
11993 #define HAVE_GNUTLS_CIPHER_INIT 1
11997 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12001 LIBS
="$ac_wine_check_funcs_save_LIBS"
12003 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12009 CPPFLAGS
=$ac_save_CPPFLAGS
12010 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12011 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12014 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12015 case "x$with_gnutls" in
12016 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12018 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
12019 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12025 if test "$ac_cv_header_ncurses_h" = "yes"
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12028 $as_echo_n "checking for -lncurses... " >&6; }
12029 if ${ac_cv_lib_soname_ncurses+:} false
; then :
12030 $as_echo_n "(cached) " >&6
12032 ac_check_soname_save_LIBS
=$LIBS
12033 LIBS
="-lncurses $LIBS"
12034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12035 /* end confdefs.h. */
12037 /* Override any GCC internal prototype to avoid an error.
12038 Use char because int might match the return type of a GCC
12039 builtin and then its argument prototype would still apply. */
12052 if ac_fn_c_try_link
"$LINENO"; then :
12054 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12055 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'` ;;
12056 *) 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'`
12057 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12058 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12062 rm -f core conftest.err conftest.
$ac_objext \
12063 conftest
$ac_exeext conftest.
$ac_ext
12064 LIBS
=$ac_check_soname_save_LIBS
12066 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12068 $as_echo "not found" >&6; }
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12072 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12074 cat >>confdefs.h
<<_ACEOF
12075 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12078 CURSES_LIBS
="-lncurses"
12080 elif test "$ac_cv_header_curses_h" = "yes"
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12083 $as_echo_n "checking for -lcurses... " >&6; }
12084 if ${ac_cv_lib_soname_curses+:} false
; then :
12085 $as_echo_n "(cached) " >&6
12087 ac_check_soname_save_LIBS
=$LIBS
12088 LIBS
="-lcurses $LIBS"
12089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12090 /* end confdefs.h. */
12092 /* Override any GCC internal prototype to avoid an error.
12093 Use char because int might match the return type of a GCC
12094 builtin and then its argument prototype would still apply. */
12107 if ac_fn_c_try_link
"$LINENO"; then :
12109 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12110 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'` ;;
12111 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12112 if ${ac_cv_lib_soname_curses:+false} :; then :
12113 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12117 rm -f core conftest.err conftest.
$ac_objext \
12118 conftest
$ac_exeext conftest.
$ac_ext
12119 LIBS
=$ac_check_soname_save_LIBS
12121 if ${ac_cv_lib_soname_curses:+false} :; then :
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12123 $as_echo "not found" >&6; }
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12127 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12129 cat >>confdefs.h
<<_ACEOF
12130 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12133 CURSES_LIBS
="-lcurses"
12136 ac_save_LIBS
="$LIBS"
12137 LIBS
="$LIBS $CURSES_LIBS"
12138 for ac_func
in mousemask
12140 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
12141 if test "x$ac_cv_func_mousemask" = xyes
; then :
12142 cat >>confdefs.h
<<_ACEOF
12143 #define HAVE_MOUSEMASK 1
12149 LIBS
="$ac_save_LIBS"
12150 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12151 case "x$with_curses" in
12152 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12154 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12155 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12160 if test "x$with_sane" != "xno"
12162 if ${SANE_CFLAGS:+false} :; then :
12163 if ${PKG_CONFIG+:} false
; then :
12164 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12167 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12168 if ${SANE_LIBS:+false} :; then :
12169 if ${PKG_CONFIG+:} false
; then :
12170 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
12173 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12175 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12176 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12177 ac_save_CPPFLAGS
=$CPPFLAGS
12178 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
12179 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12180 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12182 $as_echo_n "checking for -lsane... " >&6; }
12183 if ${ac_cv_lib_soname_sane+:} false
; then :
12184 $as_echo_n "(cached) " >&6
12186 ac_check_soname_save_LIBS
=$LIBS
12187 LIBS
="-lsane $SANE_LIBS $LIBS"
12188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12189 /* end confdefs.h. */
12191 /* Override any GCC internal prototype to avoid an error.
12192 Use char because int might match the return type of a GCC
12193 builtin and then its argument prototype would still apply. */
12201 return sane_init ();
12206 if ac_fn_c_try_link
"$LINENO"; then :
12208 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12209 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'` ;;
12210 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12211 if ${ac_cv_lib_soname_sane:+false} :; then :
12212 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12216 rm -f core conftest.err conftest.
$ac_objext \
12217 conftest
$ac_exeext conftest.
$ac_ext
12218 LIBS
=$ac_check_soname_save_LIBS
12220 if ${ac_cv_lib_soname_sane:+false} :; then :
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12222 $as_echo "not found" >&6; }
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12226 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12228 cat >>confdefs.h
<<_ACEOF
12229 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12239 CPPFLAGS
=$ac_save_CPPFLAGS
12240 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12241 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12244 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12245 case "x$with_sane" in
12246 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12248 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
12249 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12254 if test "x$with_v4l" != "xno"
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12257 $as_echo_n "checking for -lv4l1... " >&6; }
12258 if ${ac_cv_lib_soname_v4l1+:} false
; then :
12259 $as_echo_n "(cached) " >&6
12261 ac_check_soname_save_LIBS
=$LIBS
12262 LIBS
="-lv4l1 $LIBS"
12263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12264 /* end confdefs.h. */
12266 /* Override any GCC internal prototype to avoid an error.
12267 Use char because int might match the return type of a GCC
12268 builtin and then its argument prototype would still apply. */
12276 return v4l1_open ();
12281 if ac_fn_c_try_link
"$LINENO"; then :
12283 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12284 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'` ;;
12285 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12286 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12287 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12291 rm -f core conftest.err conftest.
$ac_objext \
12292 conftest
$ac_exeext conftest.
$ac_ext
12293 LIBS
=$ac_check_soname_save_LIBS
12295 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12297 $as_echo "not found" >&6; }
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12301 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12303 cat >>confdefs.h
<<_ACEOF
12304 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12310 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12311 case "x$with_v4l" in
12312 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
12314 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
12315 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12320 if test "x$with_gphoto" != "xno"
12322 if ${GPHOTO2_CFLAGS:+false} :; then :
12323 if ${PKG_CONFIG+:} false
; then :
12324 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12327 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12328 if ${GPHOTO2_LIBS:+false} :; then :
12329 if ${PKG_CONFIG+:} false
; then :
12330 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12333 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12334 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
12335 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12336 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12337 ac_save_CPPFLAGS
=$CPPFLAGS
12338 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
12339 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12340 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12342 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12343 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
12344 $as_echo_n "(cached) " >&6
12346 ac_check_lib_save_LIBS
=$LIBS
12347 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12349 /* end confdefs.h. */
12351 /* Override any GCC internal prototype to avoid an error.
12352 Use char because int might match the return type of a GCC
12353 builtin and then its argument prototype would still apply. */
12357 char gp_camera_new ();
12361 return gp_camera_new ();
12366 if ac_fn_c_try_link
"$LINENO"; then :
12367 ac_cv_lib_gphoto2_gp_camera_new
=yes
12369 ac_cv_lib_gphoto2_gp_camera_new
=no
12371 rm -f core conftest.err conftest.
$ac_objext \
12372 conftest
$ac_exeext conftest.
$ac_ext
12373 LIBS
=$ac_check_lib_save_LIBS
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12376 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12377 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12379 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12382 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12386 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12390 CPPFLAGS
=$ac_save_CPPFLAGS
12391 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12392 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12394 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12395 if ${PKG_CONFIG+:} false
; then :
12396 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12399 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12400 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12401 if ${PKG_CONFIG+:} false
; then :
12402 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12405 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12406 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12407 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12408 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12409 ac_save_CPPFLAGS
=$CPPFLAGS
12410 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12411 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12412 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12414 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12415 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12416 $as_echo_n "(cached) " >&6
12418 ac_check_lib_save_LIBS
=$LIBS
12419 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h. */
12423 /* Override any GCC internal prototype to avoid an error.
12424 Use char because int might match the return type of a GCC
12425 builtin and then its argument prototype would still apply. */
12429 char gp_port_info_list_new ();
12433 return gp_port_info_list_new ();
12438 if ac_fn_c_try_link
"$LINENO"; then :
12439 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12441 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12443 rm -f core conftest.err conftest.
$ac_objext \
12444 conftest
$ac_exeext conftest.
$ac_ext
12445 LIBS
=$ac_check_lib_save_LIBS
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12448 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12449 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12451 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12454 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12458 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12462 CPPFLAGS
=$ac_save_CPPFLAGS
12463 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12464 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12467 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12468 case "x$with_gphoto" in
12469 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12471 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12472 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12476 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12477 case "x$with_gphoto" in
12478 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12480 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12481 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12487 if test "$ac_cv_header_resolv_h" = "yes"
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12490 $as_echo_n "checking for resolver library... " >&6; }
12491 if ${ac_cv_have_resolv+:} false
; then :
12492 $as_echo_n "(cached) " >&6
12494 ac_save_LIBS
="$LIBS"
12495 for lib
in '' -lresolv
12497 LIBS
="$lib $ac_save_LIBS"
12498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12499 /* end confdefs.h. */
12500 #ifdef HAVE_NETINET_IN_H
12501 #include <netinet/in.h>
12503 #include <resolv.h>
12507 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12512 if ac_fn_c_try_link
"$LINENO"; then :
12513 ac_cv_have_resolv
=${lib:-"none required"}
12515 ac_cv_have_resolv
="not found"
12517 rm -f core conftest.err conftest.
$ac_objext \
12518 conftest
$ac_exeext conftest.
$ac_ext
12519 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12521 LIBS
="$ac_save_LIBS"
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12524 $as_echo "$ac_cv_have_resolv" >&6; }
12526 case "$ac_cv_have_resolv" in
12530 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12533 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12535 RESOLV_LIBS
=$ac_cv_have_resolv
12540 if test "x$with_cms" != "xno"
12542 if ${LCMS2_CFLAGS:+false} :; then :
12543 if ${PKG_CONFIG+:} false
; then :
12544 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12548 if ${LCMS2_LIBS:+false} :; then :
12549 if ${PKG_CONFIG+:} false
; then :
12550 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12554 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12555 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12556 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12557 ac_save_CPPFLAGS
=$CPPFLAGS
12558 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12559 for ac_header
in lcms2.h
12561 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12562 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12563 cat >>confdefs.h
<<_ACEOF
12564 #define HAVE_LCMS2_H 1
12571 if test "$ac_cv_header_lcms2_h" = "yes"
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12574 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12575 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12576 $as_echo_n "(cached) " >&6
12578 ac_check_lib_save_LIBS
=$LIBS
12579 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12581 /* end confdefs.h. */
12583 /* Override any GCC internal prototype to avoid an error.
12584 Use char because int might match the return type of a GCC
12585 builtin and then its argument prototype would still apply. */
12589 char cmsOpenProfileFromFile ();
12593 return cmsOpenProfileFromFile ();
12598 if ac_fn_c_try_link
"$LINENO"; then :
12599 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12601 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12603 rm -f core conftest.err conftest.
$ac_objext \
12604 conftest
$ac_exeext conftest.
$ac_ext
12605 LIBS
=$ac_check_lib_save_LIBS
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12608 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12609 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12611 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12621 CPPFLAGS
=$ac_save_CPPFLAGS
12622 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12623 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12626 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12627 case "x$with_cms" in
12628 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12630 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12631 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12636 if test "x$with_freetype" != "xno"
12638 if ${FREETYPE_CFLAGS:+false} :; then :
12639 if ${PKG_CONFIG+:} false
; then :
12640 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12643 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12644 if ${FREETYPE_LIBS:+false} :; then :
12645 if ${PKG_CONFIG+:} false
; then :
12646 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12649 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12650 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12651 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12652 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12653 ac_save_CPPFLAGS
=$CPPFLAGS
12654 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12655 for ac_header
in ft2build.h
12657 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12658 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12659 cat >>confdefs.h
<<_ACEOF
12660 #define HAVE_FT2BUILD_H 1
12667 if test "$ac_cv_header_ft2build_h" = "yes"
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12670 $as_echo_n "checking for -lfreetype... " >&6; }
12671 if ${ac_cv_lib_soname_freetype+:} false
; then :
12672 $as_echo_n "(cached) " >&6
12674 ac_check_soname_save_LIBS
=$LIBS
12675 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12677 /* end confdefs.h. */
12679 /* Override any GCC internal prototype to avoid an error.
12680 Use char because int might match the return type of a GCC
12681 builtin and then its argument prototype would still apply. */
12685 char FT_Init_FreeType ();
12689 return FT_Init_FreeType ();
12694 if ac_fn_c_try_link
"$LINENO"; then :
12696 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12697 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'` ;;
12698 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12699 if ${ac_cv_lib_soname_freetype:+false} :; then :
12700 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12704 rm -f core conftest.err conftest.
$ac_objext \
12705 conftest
$ac_exeext conftest.
$ac_ext
12706 LIBS
=$ac_check_soname_save_LIBS
12708 if ${ac_cv_lib_soname_freetype:+false} :; then :
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12710 $as_echo "not found" >&6; }
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12714 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12716 cat >>confdefs.h
<<_ACEOF
12717 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12721 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12723 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12724 #include FT_MODULE_H
12726 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12728 cat >>confdefs.h
<<_ACEOF
12729 #define HAVE_FT_TRUETYPEENGINETYPE 1
12740 CPPFLAGS
=$ac_save_CPPFLAGS
12741 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12742 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12745 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12746 case "x$with_freetype" in
12748 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12749 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12751 enable_fonts
=${enable_fonts:-no}
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12755 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12756 if ${ac_cv_c_ppdev+:} false
; then :
12757 $as_echo_n "(cached) " >&6
12759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12760 /* end confdefs.h. */
12761 #ifdef HAVE_SYS_IOCTL_H
12762 # include <sys/ioctl.h>
12764 #include <linux/ppdev.h>
12768 ioctl (1,PPCLAIM,0)
12773 if ac_fn_c_try_compile
"$LINENO"; then :
12774 ac_cv_c_ppdev
="yes"
12778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12781 $as_echo "$ac_cv_c_ppdev" >&6; }
12782 if test "$ac_cv_c_ppdev" = "yes"
12785 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12789 ac_wine_check_funcs_save_LIBS
="$LIBS"
12790 LIBS
="$LIBS $PTHREAD_LIBS"
12792 pthread_attr_get_np \
12793 pthread_getattr_np \
12794 pthread_getthreadid_np \
12795 pthread_get_stackaddr_np \
12796 pthread_get_stacksize_np
12798 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12799 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12800 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12801 cat >>confdefs.h
<<_ACEOF
12802 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12808 LIBS
="$ac_wine_check_funcs_save_LIBS"
12810 if test "$ac_cv_header_zlib_h" = "yes"
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12813 $as_echo_n "checking for inflate in -lz... " >&6; }
12814 if ${ac_cv_lib_z_inflate+:} false
; then :
12815 $as_echo_n "(cached) " >&6
12817 ac_check_lib_save_LIBS
=$LIBS
12819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12820 /* end confdefs.h. */
12822 /* Override any GCC internal prototype to avoid an error.
12823 Use char because int might match the return type of a GCC
12824 builtin and then its argument prototype would still apply. */
12837 if ac_fn_c_try_link
"$LINENO"; then :
12838 ac_cv_lib_z_inflate
=yes
12840 ac_cv_lib_z_inflate
=no
12842 rm -f core conftest.err conftest.
$ac_objext \
12843 conftest
$ac_exeext conftest.
$ac_ext
12844 LIBS
=$ac_check_lib_save_LIBS
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12847 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12848 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12850 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12857 if test "x$Z_LIBS" = "x"; then :
12858 case "x$with_zlib" in
12859 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12861 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12862 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12867 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
12869 if test "$ac_cv_header_gettext_po_h" = "yes"
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12872 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12873 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12874 $as_echo_n "(cached) " >&6
12876 ac_check_lib_save_LIBS
=$LIBS
12877 LIBS
="-lgettextpo $LIBS"
12878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12879 /* end confdefs.h. */
12881 /* Override any GCC internal prototype to avoid an error.
12882 Use char because int might match the return type of a GCC
12883 builtin and then its argument prototype would still apply. */
12887 char po_message_msgctxt ();
12891 return po_message_msgctxt ();
12896 if ac_fn_c_try_link
"$LINENO"; then :
12897 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12899 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12901 rm -f core conftest.err conftest.
$ac_objext \
12902 conftest
$ac_exeext conftest.
$ac_ext
12903 LIBS
=$ac_check_lib_save_LIBS
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12906 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12907 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12909 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12911 GETTEXTPO_LIBS
="-lgettextpo"
12916 if test "x$GETTEXTPO_LIBS" = "x"; then :
12917 case "x$with_gettextpo" in
12918 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12920 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12921 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12925 if test "$srcdir" != .
; then :
12926 case "x$with_gettextpo" in
12927 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
12929 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
12930 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12936 if test "x$with_pulse" != "xno";
12938 if ${PULSE_CFLAGS:+false} :; then :
12939 if ${PKG_CONFIG+:} false
; then :
12940 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12944 if ${PULSE_LIBS:+false} :; then :
12945 if ${PKG_CONFIG+:} false
; then :
12946 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12951 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12952 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12953 ac_save_CPPFLAGS
=$CPPFLAGS
12954 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12955 for ac_header
in pulse
/pulseaudio.h
12957 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12958 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12959 cat >>confdefs.h
<<_ACEOF
12960 #define HAVE_PULSE_PULSEAUDIO_H 1
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12963 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12964 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12965 $as_echo_n "(cached) " >&6
12967 ac_check_lib_save_LIBS
=$LIBS
12968 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12970 /* end confdefs.h. */
12972 /* Override any GCC internal prototype to avoid an error.
12973 Use char because int might match the return type of a GCC
12974 builtin and then its argument prototype would still apply. */
12978 char pa_stream_is_corked ();
12982 return pa_stream_is_corked ();
12987 if ac_fn_c_try_link
"$LINENO"; then :
12988 ac_cv_lib_pulse_pa_stream_is_corked
=yes
12990 ac_cv_lib_pulse_pa_stream_is_corked
=no
12992 rm -f core conftest.err conftest.
$ac_objext \
12993 conftest
$ac_exeext conftest.
$ac_ext
12994 LIBS
=$ac_check_lib_save_LIBS
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12997 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12998 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
13010 CPPFLAGS
=$ac_save_CPPFLAGS
13011 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13012 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13015 if test -z "$PULSE_LIBS"; then :
13016 case "x$with_pulse" in
13017 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13019 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13020 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13022 enable_winepulse_drv
=${enable_winepulse_drv:-no}
13025 if test "x$with_gstreamer" != "xno"
13027 if ${GSTREAMER_CFLAGS:+false} :; then :
13028 if ${PKG_CONFIG+:} false
; then :
13029 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13033 if ${GSTREAMER_LIBS:+false} :; then :
13034 if ${PKG_CONFIG+:} false
; then :
13035 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13040 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13041 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13042 ac_save_CPPFLAGS
=$CPPFLAGS
13043 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
13045 for i
in $GSTREAMER_CFLAGS
13048 -I*) ac_gst_incl
="$ac_gst_incl $i";;
13051 GSTREAMER_CFLAGS
=$ac_gst_incl
13052 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13053 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13054 if test "x$ac_cv_header_gst_gst_h" = xyes
; then :
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13056 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13058 /* end confdefs.h. */
13059 #include <gst/gst.h>
13063 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13068 if ac_fn_c_try_compile
"$LINENO"; then :
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13070 $as_echo "yes" >&6; }
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13072 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13073 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false
; then :
13074 $as_echo_n "(cached) " >&6
13076 ac_check_lib_save_LIBS
=$LIBS
13077 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13079 /* end confdefs.h. */
13081 /* Override any GCC internal prototype to avoid an error.
13082 Use char because int might match the return type of a GCC
13083 builtin and then its argument prototype would still apply. */
13087 char gst_pad_new ();
13091 return gst_pad_new ();
13096 if ac_fn_c_try_link
"$LINENO"; then :
13097 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
13099 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
13101 rm -f core conftest.err conftest.
$ac_objext \
13102 conftest
$ac_exeext conftest.
$ac_ext
13103 LIBS
=$ac_check_lib_save_LIBS
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13106 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13107 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
; then :
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13113 $as_echo "no" >&6; }
13114 ac_glib2_broken
=yes
13115 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13121 CPPFLAGS
=$ac_save_CPPFLAGS
13122 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13123 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13126 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 :
13127 case "x$with_gstreamer" in
13128 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13130 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13131 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13135 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
13139 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13142 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13143 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
13144 $as_echo_n "(cached) " >&6
13146 ac_check_lib_save_LIBS
=$LIBS
13147 LIBS
="-lasound $LIBS"
13148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13149 /* end confdefs.h. */
13151 /* Override any GCC internal prototype to avoid an error.
13152 Use char because int might match the return type of a GCC
13153 builtin and then its argument prototype would still apply. */
13157 char snd_pcm_hw_params_get_access_mask ();
13161 return snd_pcm_hw_params_get_access_mask ();
13166 if ac_fn_c_try_link
"$LINENO"; then :
13167 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
13169 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
13171 rm -f core conftest.err conftest.
$ac_objext \
13172 conftest
$ac_exeext conftest.
$ac_ext
13173 LIBS
=$ac_check_lib_save_LIBS
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13176 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13177 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
13178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13179 /* end confdefs.h. */
13180 #ifdef HAVE_ALSA_ASOUNDLIB_H
13181 #include <alsa/asoundlib.h>
13182 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13183 #include <sys/asoundlib.h>
13188 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13193 if ac_fn_c_try_compile
"$LINENO"; then :
13194 ALSA_LIBS
="-lasound"
13196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13200 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13202 if test "x$with_oss" != xno
13204 ac_save_CPPFLAGS
="$CPPFLAGS"
13205 if test -f /etc
/oss.conf
13209 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13210 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
13211 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13212 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
13213 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13215 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
13217 cat >>confdefs.h
<<_ACEOF
13218 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13221 OSS4_CFLAGS
="$ac_oss_incl"
13228 CPPFLAGS
="$ac_save_CPPFLAGS"
13230 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
; then :
13231 case "x$with_oss" in
13232 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13234 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13235 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13237 enable_wineoss_drv
=${enable_wineoss_drv:-no}
13240 if test "x$with_udev" != "xno"
13242 if ${UDEV_CFLAGS:+false} :; then :
13243 if ${PKG_CONFIG+:} false
; then :
13244 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13248 if ${UDEV_LIBS:+false} :; then :
13249 if ${PKG_CONFIG+:} false
; then :
13250 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
13254 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
13255 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13256 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13257 ac_save_CPPFLAGS
=$CPPFLAGS
13258 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
13259 for ac_header
in libudev.h
13261 ac_fn_c_check_header_mongrel
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13262 if test "x$ac_cv_header_libudev_h" = xyes
; then :
13263 cat >>confdefs.h
<<_ACEOF
13264 #define HAVE_LIBUDEV_H 1
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13267 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13268 if ${ac_cv_lib_udev_udev_new+:} false
; then :
13269 $as_echo_n "(cached) " >&6
13271 ac_check_lib_save_LIBS
=$LIBS
13272 LIBS
="-ludev $UDEV_LIBS $LIBS"
13273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13274 /* end confdefs.h. */
13276 /* Override any GCC internal prototype to avoid an error.
13277 Use char because int might match the return type of a GCC
13278 builtin and then its argument prototype would still apply. */
13286 return udev_new ();
13291 if ac_fn_c_try_link
"$LINENO"; then :
13292 ac_cv_lib_udev_udev_new
=yes
13294 ac_cv_lib_udev_udev_new
=no
13296 rm -f core conftest.err conftest.
$ac_objext \
13297 conftest
$ac_exeext conftest.
$ac_ext
13298 LIBS
=$ac_check_lib_save_LIBS
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13301 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13302 if test "x$ac_cv_lib_udev_udev_new" = xyes
; then :
13304 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13316 CPPFLAGS
=$ac_save_CPPFLAGS
13317 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS
=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13318 test -z "$UDEV_LIBS" || UDEV_LIBS
=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13321 if test "x$UDEV_LIBS" = "x"; then :
13322 case "x$with_udev" in
13323 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13325 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
13326 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13331 if test "x$with_capi" != "xno"
13333 if ${CAPI20_CFLAGS:+false} :; then :
13334 if ${PKG_CONFIG+:} false
; then :
13335 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13339 if ${CAPI20_LIBS:+false} :; then :
13340 if ${PKG_CONFIG+:} false
; then :
13341 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
13346 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13347 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13348 ac_save_CPPFLAGS
=$CPPFLAGS
13349 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
13350 for ac_header
in capi20.h linux
/capi.h
13352 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13353 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13355 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13356 cat >>confdefs.h
<<_ACEOF
13357 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13364 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13367 $as_echo_n "checking for -lcapi20... " >&6; }
13368 if ${ac_cv_lib_soname_capi20+:} false
; then :
13369 $as_echo_n "(cached) " >&6
13371 ac_check_soname_save_LIBS
=$LIBS
13372 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
13373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13374 /* end confdefs.h. */
13376 /* Override any GCC internal prototype to avoid an error.
13377 Use char because int might match the return type of a GCC
13378 builtin and then its argument prototype would still apply. */
13382 char capi20_register ();
13386 return capi20_register ();
13391 if ac_fn_c_try_link
"$LINENO"; then :
13393 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13394 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'` ;;
13395 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13396 if ${ac_cv_lib_soname_capi20:+false} :; then :
13397 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13401 rm -f core conftest.err conftest.
$ac_objext \
13402 conftest
$ac_exeext conftest.
$ac_ext
13403 LIBS
=$ac_check_soname_save_LIBS
13405 if ${ac_cv_lib_soname_capi20:+false} :; then :
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13407 $as_echo "not found" >&6; }
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13411 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13413 cat >>confdefs.h
<<_ACEOF
13414 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13420 CPPFLAGS
=$ac_save_CPPFLAGS
13421 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13422 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13425 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13426 case "x$with_capi" in
13427 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13429 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13430 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13437 if test "x$with_cups" != "xno"
13439 ac_save_CPPFLAGS
="$CPPFLAGS"
13440 ac_cups_cflags
=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13441 ac_cups_libs
=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13442 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
13443 for ac_header
in cups
/cups.h
13445 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13446 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
13447 cat >>confdefs.h
<<_ACEOF
13448 #define HAVE_CUPS_CUPS_H 1
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13451 $as_echo_n "checking for -lcups... " >&6; }
13452 if ${ac_cv_lib_soname_cups+:} false
; then :
13453 $as_echo_n "(cached) " >&6
13455 ac_check_soname_save_LIBS
=$LIBS
13456 LIBS
="-lcups $ac_cups_libs $LIBS"
13457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13458 /* end confdefs.h. */
13460 /* Override any GCC internal prototype to avoid an error.
13461 Use char because int might match the return type of a GCC
13462 builtin and then its argument prototype would still apply. */
13466 char cupsGetDefault ();
13470 return cupsGetDefault ();
13475 if ac_fn_c_try_link
"$LINENO"; then :
13477 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13478 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'` ;;
13479 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13480 if ${ac_cv_lib_soname_cups:+false} :; then :
13481 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13485 rm -f core conftest.err conftest.
$ac_objext \
13486 conftest
$ac_exeext conftest.
$ac_ext
13487 LIBS
=$ac_check_soname_save_LIBS
13489 if ${ac_cv_lib_soname_cups:+false} :; then :
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13491 $as_echo "not found" >&6; }
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13495 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13497 cat >>confdefs.h
<<_ACEOF
13498 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13501 CUPS_CFLAGS
="$ac_cups_cflags"
13503 for ac_header
in cups
/ppd.h
13505 ac_fn_c_check_header_mongrel
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13506 if test "x$ac_cv_header_cups_ppd_h" = xyes
; then :
13507 cat >>confdefs.h
<<_ACEOF
13508 #define HAVE_CUPS_PPD_H 1
13519 CPPFLAGS
="$ac_save_CPPFLAGS"
13521 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13522 case "x$with_cups" in
13523 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13525 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13526 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13531 if test "x$with_fontconfig" != "xno"
13533 if ${FONTCONFIG_CFLAGS:+false} :; then :
13534 if ${PKG_CONFIG+:} false
; then :
13535 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13538 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13539 if ${FONTCONFIG_LIBS:+false} :; then :
13540 if ${PKG_CONFIG+:} false
; then :
13541 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13544 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13546 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13547 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13548 ac_save_CPPFLAGS
=$CPPFLAGS
13549 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13550 for ac_header
in fontconfig
/fontconfig.h
13552 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13553 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13554 cat >>confdefs.h
<<_ACEOF
13555 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13562 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13565 $as_echo_n "checking for -lfontconfig... " >&6; }
13566 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13567 $as_echo_n "(cached) " >&6
13569 ac_check_soname_save_LIBS
=$LIBS
13570 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13572 /* end confdefs.h. */
13574 /* Override any GCC internal prototype to avoid an error.
13575 Use char because int might match the return type of a GCC
13576 builtin and then its argument prototype would still apply. */
13589 if ac_fn_c_try_link
"$LINENO"; then :
13591 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13592 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'` ;;
13593 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13594 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13595 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13599 rm -f core conftest.err conftest.
$ac_objext \
13600 conftest
$ac_exeext conftest.
$ac_ext
13601 LIBS
=$ac_check_soname_save_LIBS
13603 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13605 $as_echo "not found" >&6; }
13606 FONTCONFIG_CFLAGS
=""
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13609 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13611 cat >>confdefs.h
<<_ACEOF
13612 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13618 FONTCONFIG_CFLAGS
=""
13620 CPPFLAGS
=$ac_save_CPPFLAGS
13621 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13622 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13625 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13626 case "x$with_fontconfig" in
13627 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13629 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13630 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13635 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13638 $as_echo_n "checking for -lgsm... " >&6; }
13639 if ${ac_cv_lib_soname_gsm+:} false
; then :
13640 $as_echo_n "(cached) " >&6
13642 ac_check_soname_save_LIBS
=$LIBS
13644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13645 /* end confdefs.h. */
13647 /* Override any GCC internal prototype to avoid an error.
13648 Use char because int might match the return type of a GCC
13649 builtin and then its argument prototype would still apply. */
13653 char gsm_create ();
13657 return gsm_create ();
13662 if ac_fn_c_try_link
"$LINENO"; then :
13664 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13665 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'` ;;
13666 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13667 if ${ac_cv_lib_soname_gsm:+false} :; then :
13668 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13672 rm -f core conftest.err conftest.
$ac_objext \
13673 conftest
$ac_exeext conftest.
$ac_ext
13674 LIBS
=$ac_check_soname_save_LIBS
13676 if ${ac_cv_lib_soname_gsm:+false} :; then :
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13678 $as_echo "not found" >&6; }
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13682 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13684 cat >>confdefs.h
<<_ACEOF
13685 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13691 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13692 case "x$with_gsm" in
13693 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13695 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13696 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13701 if test "x$with_jpeg" != "xno"
13703 if ${JPEG_CFLAGS:+false} :; then :
13704 if ${PKG_CONFIG+:} false
; then :
13705 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13709 if ${JPEG_LIBS:+false} :; then :
13710 if ${PKG_CONFIG+:} false
; then :
13711 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13716 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13717 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13718 ac_save_CPPFLAGS
=$CPPFLAGS
13719 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13720 for ac_header
in jpeglib.h
13722 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13723 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13724 cat >>confdefs.h
<<_ACEOF
13725 #define HAVE_JPEGLIB_H 1
13732 if test "$ac_cv_header_jpeglib_h" = "yes"
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13735 $as_echo_n "checking for -ljpeg... " >&6; }
13736 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13737 $as_echo_n "(cached) " >&6
13739 ac_check_soname_save_LIBS
=$LIBS
13740 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13744 /* Override any GCC internal prototype to avoid an error.
13745 Use char because int might match the return type of a GCC
13746 builtin and then its argument prototype would still apply. */
13750 char jpeg_start_decompress ();
13754 return jpeg_start_decompress ();
13759 if ac_fn_c_try_link
"$LINENO"; then :
13761 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13762 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'` ;;
13763 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13764 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13765 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13769 rm -f core conftest.err conftest.
$ac_objext \
13770 conftest
$ac_exeext conftest.
$ac_ext
13771 LIBS
=$ac_check_soname_save_LIBS
13773 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13775 $as_echo "not found" >&6; }
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13779 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13781 cat >>confdefs.h
<<_ACEOF
13782 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13790 CPPFLAGS
=$ac_save_CPPFLAGS
13791 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13792 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13795 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13796 case "x$with_jpeg" in
13797 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13799 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13800 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13805 if test "x$with_png" != "xno"
13807 if ${PNG_CFLAGS:+false} :; then :
13808 if ${PKG_CONFIG+:} false
; then :
13809 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13812 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13813 if ${PNG_LIBS:+false} :; then :
13814 if ${PKG_CONFIG+:} false
; then :
13815 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13818 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13820 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13821 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13822 ac_save_CPPFLAGS
=$CPPFLAGS
13823 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13824 for ac_header
in png.h
13826 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13827 if test "x$ac_cv_header_png_h" = xyes
; then :
13828 cat >>confdefs.h
<<_ACEOF
13829 #define HAVE_PNG_H 1
13836 if test "$ac_cv_header_png_h" = "yes"
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13839 $as_echo_n "checking for -lpng... " >&6; }
13840 if ${ac_cv_lib_soname_png+:} false
; then :
13841 $as_echo_n "(cached) " >&6
13843 ac_check_soname_save_LIBS
=$LIBS
13844 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13846 /* end confdefs.h. */
13848 /* Override any GCC internal prototype to avoid an error.
13849 Use char because int might match the return type of a GCC
13850 builtin and then its argument prototype would still apply. */
13854 char png_create_read_struct ();
13858 return png_create_read_struct ();
13863 if ac_fn_c_try_link
"$LINENO"; then :
13865 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13866 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'` ;;
13867 *) 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'`
13868 if ${ac_cv_lib_soname_png:+false} :; then :
13869 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13873 rm -f core conftest.err conftest.
$ac_objext \
13874 conftest
$ac_exeext conftest.
$ac_ext
13875 LIBS
=$ac_check_soname_save_LIBS
13877 if ${ac_cv_lib_soname_png:+false} :; then :
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13879 $as_echo "not found" >&6; }
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13883 $as_echo "$ac_cv_lib_soname_png" >&6; }
13885 cat >>confdefs.h
<<_ACEOF
13886 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13890 /* end confdefs.h. */
13895 typeof(png_set_expand_gray_1_2_4_to_8) *p
13900 if ac_fn_c_try_compile
"$LINENO"; then :
13902 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13910 CPPFLAGS
=$ac_save_CPPFLAGS
13911 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13912 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13915 if test "x$ac_cv_lib_soname_png" = "x"; then :
13916 case "x$with_png" in
13917 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13919 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13920 This is an error since --with-png was requested." "$LINENO" 5 ;;
13925 if test "x$with_tiff" != "xno"
13927 if ${TIFF_CFLAGS:+false} :; then :
13928 if ${PKG_CONFIG+:} false
; then :
13929 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13933 if ${TIFF_LIBS:+false} :; then :
13934 if ${PKG_CONFIG+:} false
; then :
13935 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13940 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13941 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13942 ac_save_CPPFLAGS
=$CPPFLAGS
13943 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13944 for ac_header
in tiffio.h
13946 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13947 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13948 cat >>confdefs.h
<<_ACEOF
13949 #define HAVE_TIFFIO_H 1
13956 if test "$ac_cv_header_tiffio_h" = "yes"
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13959 $as_echo_n "checking for -ltiff... " >&6; }
13960 if ${ac_cv_lib_soname_tiff+:} false
; then :
13961 $as_echo_n "(cached) " >&6
13963 ac_check_soname_save_LIBS
=$LIBS
13964 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13966 /* end confdefs.h. */
13968 /* Override any GCC internal prototype to avoid an error.
13969 Use char because int might match the return type of a GCC
13970 builtin and then its argument prototype would still apply. */
13974 char TIFFClientOpen ();
13978 return TIFFClientOpen ();
13983 if ac_fn_c_try_link
"$LINENO"; then :
13985 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13986 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'` ;;
13987 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13988 if ${ac_cv_lib_soname_tiff:+false} :; then :
13989 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13993 rm -f core conftest.err conftest.
$ac_objext \
13994 conftest
$ac_exeext conftest.
$ac_ext
13995 LIBS
=$ac_check_soname_save_LIBS
13997 if ${ac_cv_lib_soname_tiff:+false} :; then :
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13999 $as_echo "not found" >&6; }
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14003 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14005 cat >>confdefs.h
<<_ACEOF
14006 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14012 CPPFLAGS
=$ac_save_CPPFLAGS
14013 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14014 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14017 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14018 case "x$with_tiff" in
14019 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14021 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
14022 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14027 if test "x$with_mpg123" != "xno"
14029 if ${MPG123_CFLAGS:+false} :; then :
14030 if ${PKG_CONFIG+:} false
; then :
14031 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14035 if ${MPG123_LIBS:+false} :; then :
14036 if ${PKG_CONFIG+:} false
; then :
14037 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14041 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
14042 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14043 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14044 ac_save_CPPFLAGS
=$CPPFLAGS
14045 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
14046 for ac_header
in mpg123.h
14048 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14049 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
14050 cat >>confdefs.h
<<_ACEOF
14051 #define HAVE_MPG123_H 1
14058 if test "$ac_cv_header_mpg123_h" = "yes"
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14061 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14062 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
14063 $as_echo_n "(cached) " >&6
14065 ac_check_lib_save_LIBS
=$LIBS
14066 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
14067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14070 /* Override any GCC internal prototype to avoid an error.
14071 Use char because int might match the return type of a GCC
14072 builtin and then its argument prototype would still apply. */
14076 char mpg123_feed ();
14080 return mpg123_feed ();
14085 if ac_fn_c_try_link
"$LINENO"; then :
14086 ac_cv_lib_mpg123_mpg123_feed
=yes
14088 ac_cv_lib_mpg123_mpg123_feed
=no
14090 rm -f core conftest.err conftest.
$ac_objext \
14091 conftest
$ac_exeext conftest.
$ac_ext
14092 LIBS
=$ac_check_lib_save_LIBS
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14095 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14096 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
14106 CPPFLAGS
=$ac_save_CPPFLAGS
14107 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14108 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14111 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
14112 case "x$with_mpg123" in
14113 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14115 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14116 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14118 enable_winemp3_acm
=${enable_winemp3_acm:-no}
14121 if test "$ac_cv_header_AL_al_h" = "yes"
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14124 $as_echo_n "checking for -lopenal... " >&6; }
14125 if ${ac_cv_lib_soname_openal+:} false
; then :
14126 $as_echo_n "(cached) " >&6
14128 ac_check_soname_save_LIBS
=$LIBS
14129 LIBS
="-lopenal $LIBS"
14130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14131 /* end confdefs.h. */
14133 /* Override any GCC internal prototype to avoid an error.
14134 Use char because int might match the return type of a GCC
14135 builtin and then its argument prototype would still apply. */
14139 char alGetSource3i ();
14143 return alGetSource3i ();
14148 if ac_fn_c_try_link
"$LINENO"; then :
14150 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14151 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'` ;;
14152 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14153 if ${ac_cv_lib_soname_openal:+false} :; then :
14154 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14158 rm -f core conftest.err conftest.
$ac_objext \
14159 conftest
$ac_exeext conftest.
$ac_ext
14160 LIBS
=$ac_check_soname_save_LIBS
14162 if ${ac_cv_lib_soname_openal:+false} :; then :
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14164 $as_echo "not found" >&6; }
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14168 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14170 cat >>confdefs.h
<<_ACEOF
14171 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14174 OPENAL_LIBS
="-lopenal"
14176 ac_cv_lib_openal
=yes
14178 cat >>confdefs.h
<<_ACEOF
14179 #define HAVE_OPENAL 1
14184 if test "x$ac_cv_lib_openal" != xyes
; then :
14185 case "x$with_openal" in
14186 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14188 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14189 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14191 enable_openal32
=${enable_openal32:-no}
14194 if test "x$ac_cv_lib_openal" = xyes
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14197 $as_echo_n "checking for openal-soft... " >&6; }
14198 if ${ac_cv_have_openalsoft+:} false
; then :
14199 $as_echo_n "(cached) " >&6
14201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14202 /* end confdefs.h. */
14204 #include <AL/alc.h>
14205 #include <AL/alext.h>
14206 LPALCRENDERSAMPLESSOFT x;
14215 if ac_fn_c_try_compile
"$LINENO"; then :
14216 ac_cv_have_openalsoft
=yes
14218 ac_cv_have_openalsoft
=no
14220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14223 $as_echo "$ac_cv_have_openalsoft" >&6; }
14225 if test "x$ac_cv_have_openalsoft" != xyes
14227 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14228 enable_x3daudio1_0
=${enable_x3daudio1_0:-no}
14229 enable_x3daudio1_1
=${enable_x3daudio1_1:-no}
14230 enable_x3daudio1_2
=${enable_x3daudio1_2:-no}
14231 enable_x3daudio1_3
=${enable_x3daudio1_3:-no}
14232 enable_x3daudio1_4
=${enable_x3daudio1_4:-no}
14233 enable_x3daudio1_5
=${enable_x3daudio1_5:-no}
14234 enable_x3daudio1_6
=${enable_x3daudio1_6:-no}
14235 enable_x3daudio1_7
=${enable_x3daudio1_7:-no}
14236 enable_xapofx1_1
=${enable_xapofx1_1:-no}
14237 enable_xapofx1_2
=${enable_xapofx1_2:-no}
14238 enable_xapofx1_3
=${enable_xapofx1_3:-no}
14239 enable_xapofx1_4
=${enable_xapofx1_4:-no}
14240 enable_xapofx1_5
=${enable_xapofx1_5:-no}
14241 enable_xaudio2_0
=${enable_xaudio2_0:-no}
14242 enable_xaudio2_1
=${enable_xaudio2_1:-no}
14243 enable_xaudio2_2
=${enable_xaudio2_2:-no}
14244 enable_xaudio2_3
=${enable_xaudio2_3:-no}
14245 enable_xaudio2_4
=${enable_xaudio2_4:-no}
14246 enable_xaudio2_5
=${enable_xaudio2_5:-no}
14247 enable_xaudio2_6
=${enable_xaudio2_6:-no}
14248 enable_xaudio2_7
=${enable_xaudio2_7:-no}
14249 enable_xaudio2_8
=${enable_xaudio2_8:-no}
14250 enable_xaudio2_9
=${enable_xaudio2_9:-no}
14253 if test "$ac_cv_header_kstat_h" = "yes"
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14256 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14257 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
14258 $as_echo_n "(cached) " >&6
14260 ac_check_lib_save_LIBS
=$LIBS
14261 LIBS
="-lkstat $LIBS"
14262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14263 /* end confdefs.h. */
14265 /* Override any GCC internal prototype to avoid an error.
14266 Use char because int might match the return type of a GCC
14267 builtin and then its argument prototype would still apply. */
14271 char kstat_open ();
14275 return kstat_open ();
14280 if ac_fn_c_try_link
"$LINENO"; then :
14281 ac_cv_lib_kstat_kstat_open
=yes
14283 ac_cv_lib_kstat_kstat_open
=no
14285 rm -f core conftest.err conftest.
$ac_objext \
14286 conftest
$ac_exeext conftest.
$ac_ext
14287 LIBS
=$ac_check_lib_save_LIBS
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14290 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14291 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
14293 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14295 KSTAT_LIBS
="-lkstat"
14301 if test "$ac_cv_header_libprocstat_h" = "yes"
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14304 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14305 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
14306 $as_echo_n "(cached) " >&6
14308 ac_check_lib_save_LIBS
=$LIBS
14309 LIBS
="-lprocstat $LIBS"
14310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14311 /* end confdefs.h. */
14313 /* Override any GCC internal prototype to avoid an error.
14314 Use char because int might match the return type of a GCC
14315 builtin and then its argument prototype would still apply. */
14319 char procstat_open_sysctl ();
14323 return procstat_open_sysctl ();
14328 if ac_fn_c_try_link
"$LINENO"; then :
14329 ac_cv_lib_procstat_procstat_open_sysctl
=yes
14331 ac_cv_lib_procstat_procstat_open_sysctl
=no
14333 rm -f core conftest.err conftest.
$ac_objext \
14334 conftest
$ac_exeext conftest.
$ac_ext
14335 LIBS
=$ac_check_lib_save_LIBS
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14338 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14339 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
14341 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14343 PROCSTAT_LIBS
="-lprocstat"
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14350 $as_echo_n "checking for -lodbc... " >&6; }
14351 if ${ac_cv_lib_soname_odbc+:} false
; then :
14352 $as_echo_n "(cached) " >&6
14354 ac_check_soname_save_LIBS
=$LIBS
14355 LIBS
="-lodbc $LIBS"
14356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14357 /* end confdefs.h. */
14359 /* Override any GCC internal prototype to avoid an error.
14360 Use char because int might match the return type of a GCC
14361 builtin and then its argument prototype would still apply. */
14365 char SQLConnect ();
14369 return SQLConnect ();
14374 if ac_fn_c_try_link
"$LINENO"; then :
14376 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14377 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'` ;;
14378 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14379 if ${ac_cv_lib_soname_odbc:+false} :; then :
14380 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14384 rm -f core conftest.err conftest.
$ac_objext \
14385 conftest
$ac_exeext conftest.
$ac_ext
14386 LIBS
=$ac_check_soname_save_LIBS
14388 if ${ac_cv_lib_soname_odbc:+false} :; then :
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14390 $as_echo "not found" >&6; }
14391 cat >>confdefs.h
<<_ACEOF
14392 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14397 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14399 cat >>confdefs.h
<<_ACEOF
14400 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14406 if test "x$with_netapi" != "xno"
14408 if ${NETAPI_CFLAGS:+false} :; then :
14409 if ${PKG_CONFIG+:} false
; then :
14410 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14414 if ${NETAPI_LIBS:+false} :; then :
14415 if ${PKG_CONFIG+:} false
; then :
14416 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
14421 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14422 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14423 ac_save_CPPFLAGS
=$CPPFLAGS
14424 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14426 $as_echo_n "checking for -lnetapi... " >&6; }
14427 if ${ac_cv_lib_soname_netapi+:} false
; then :
14428 $as_echo_n "(cached) " >&6
14430 ac_check_soname_save_LIBS
=$LIBS
14431 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
14432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14433 /* end confdefs.h. */
14435 /* Override any GCC internal prototype to avoid an error.
14436 Use char because int might match the return type of a GCC
14437 builtin and then its argument prototype would still apply. */
14441 char libnetapi_init ();
14445 return libnetapi_init ();
14450 if ac_fn_c_try_link
"$LINENO"; then :
14452 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14453 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'` ;;
14454 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14455 if ${ac_cv_lib_soname_netapi:+false} :; then :
14456 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14460 rm -f core conftest.err conftest.
$ac_objext \
14461 conftest
$ac_exeext conftest.
$ac_ext
14462 LIBS
=$ac_check_soname_save_LIBS
14464 if ${ac_cv_lib_soname_netapi:+false} :; then :
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14466 $as_echo "not found" >&6; }
14467 cat >>confdefs.h
<<_ACEOF
14468 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14473 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14475 cat >>confdefs.h
<<_ACEOF
14476 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14481 CPPFLAGS
=$ac_save_CPPFLAGS
14482 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS
=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14483 test -z "$NETAPI_LIBS" || NETAPI_LIBS
=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14487 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
14488 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14490 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
14496 if test "x${GCC}" = "xyes"
14498 EXTRACFLAGS
="-Wall -pipe"
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14501 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14502 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
14503 $as_echo_n "(cached) " >&6
14505 if test "$cross_compiling" = yes; then :
14506 ac_cv_c_gcc_strength_bug
="no"
14508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14509 /* end confdefs.h. */
14510 int L[4] = {0,1,2,3};
14514 static int Array[3];
14515 unsigned int B = 3;
14517 for(i=0; i<B; i++) Array[i] = i - 3;
14518 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14520 return (Array[1] != -2 || L[2] != 3)
14525 if ac_fn_c_try_run
"$LINENO"; then :
14526 ac_cv_c_gcc_strength_bug
="no"
14528 ac_cv_c_gcc_strength_bug
="yes"
14530 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14531 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14536 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14537 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14539 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14543 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14544 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14545 $as_echo_n "(cached) " >&6
14547 ac_wine_try_cflags_saved
=$CFLAGS
14548 CFLAGS
="$CFLAGS -fno-builtin"
14549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14550 /* end confdefs.h. */
14551 int main(int argc, char **argv) { return 0; }
14553 if ac_fn_c_try_link
"$LINENO"; then :
14554 ac_cv_cflags__fno_builtin
=yes
14556 ac_cv_cflags__fno_builtin
=no
14558 rm -f core conftest.err conftest.
$ac_objext \
14559 conftest
$ac_exeext conftest.
$ac_ext
14560 CFLAGS
=$ac_wine_try_cflags_saved
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14563 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14564 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14565 BUILTINFLAG
="-fno-builtin"
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14569 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14570 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14571 $as_echo_n "(cached) " >&6
14573 ac_wine_try_cflags_saved
=$CFLAGS
14574 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14576 /* end confdefs.h. */
14577 int main(int argc, char **argv) { return 0; }
14579 if ac_fn_c_try_link
"$LINENO"; then :
14580 ac_cv_cflags__fno_strict_aliasing
=yes
14582 ac_cv_cflags__fno_strict_aliasing
=no
14584 rm -f core conftest.err conftest.
$ac_objext \
14585 conftest
$ac_exeext conftest.
$ac_ext
14586 CFLAGS
=$ac_wine_try_cflags_saved
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14589 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14590 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14591 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14594 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14595 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14596 $as_echo_n "(cached) " >&6
14598 ac_wine_try_cflags_saved
=$CFLAGS
14599 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14601 /* end confdefs.h. */
14602 int main(int argc, char **argv) { return 0; }
14604 if ac_fn_c_try_link
"$LINENO"; then :
14605 ac_cv_cflags__fexcess_precision_standard
=yes
14607 ac_cv_cflags__fexcess_precision_standard
=no
14609 rm -f core conftest.err conftest.
$ac_objext \
14610 conftest
$ac_exeext conftest.
$ac_ext
14611 CFLAGS
=$ac_wine_try_cflags_saved
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14614 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14615 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14616 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14619 saved_CFLAGS
=$CFLAGS
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14621 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14622 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14623 $as_echo_n "(cached) " >&6
14625 ac_wine_try_cflags_saved
=$CFLAGS
14626 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14628 /* end confdefs.h. */
14629 int main(int argc, char **argv) { return 0; }
14631 if ac_fn_c_try_link
"$LINENO"; then :
14632 ac_cv_cflags__Werror_unknown_warning_option
=yes
14634 ac_cv_cflags__Werror_unknown_warning_option
=no
14636 rm -f core conftest.err conftest.
$ac_objext \
14637 conftest
$ac_exeext conftest.
$ac_ext
14638 CFLAGS
=$ac_wine_try_cflags_saved
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14641 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14642 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14643 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14646 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14647 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14648 $as_echo_n "(cached) " >&6
14650 ac_wine_try_cflags_saved
=$CFLAGS
14651 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14653 /* end confdefs.h. */
14654 int main(int argc, char **argv) { return 0; }
14656 if ac_fn_c_try_link
"$LINENO"; then :
14657 ac_cv_cflags__Wdeclaration_after_statement
=yes
14659 ac_cv_cflags__Wdeclaration_after_statement
=no
14661 rm -f core conftest.err conftest.
$ac_objext \
14662 conftest
$ac_exeext conftest.
$ac_ext
14663 CFLAGS
=$ac_wine_try_cflags_saved
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14666 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14667 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14668 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14671 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14672 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14673 $as_echo_n "(cached) " >&6
14675 ac_wine_try_cflags_saved
=$CFLAGS
14676 CFLAGS
="$CFLAGS -Wempty-body"
14677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14678 /* end confdefs.h. */
14679 int main(int argc, char **argv) { return 0; }
14681 if ac_fn_c_try_link
"$LINENO"; then :
14682 ac_cv_cflags__Wempty_body
=yes
14684 ac_cv_cflags__Wempty_body
=no
14686 rm -f core conftest.err conftest.
$ac_objext \
14687 conftest
$ac_exeext conftest.
$ac_ext
14688 CFLAGS
=$ac_wine_try_cflags_saved
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14691 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14692 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14693 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14696 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14697 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14698 $as_echo_n "(cached) " >&6
14700 ac_wine_try_cflags_saved
=$CFLAGS
14701 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14703 /* end confdefs.h. */
14704 int main(int argc, char **argv) { return 0; }
14706 if ac_fn_c_try_link
"$LINENO"; then :
14707 ac_cv_cflags__Wignored_qualifiers
=yes
14709 ac_cv_cflags__Wignored_qualifiers
=no
14711 rm -f core conftest.err conftest.
$ac_objext \
14712 conftest
$ac_exeext conftest.
$ac_ext
14713 CFLAGS
=$ac_wine_try_cflags_saved
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14716 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14717 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14718 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14721 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14722 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
14723 $as_echo_n "(cached) " >&6
14725 ac_wine_try_cflags_saved
=$CFLAGS
14726 CFLAGS
="$CFLAGS -Wshift-overflow=2"
14727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14728 /* end confdefs.h. */
14729 int main(int argc, char **argv) { return 0; }
14731 if ac_fn_c_try_link
"$LINENO"; then :
14732 ac_cv_cflags__Wshift_overflow_2
=yes
14734 ac_cv_cflags__Wshift_overflow_2
=no
14736 rm -f core conftest.err conftest.
$ac_objext \
14737 conftest
$ac_exeext conftest.
$ac_ext
14738 CFLAGS
=$ac_wine_try_cflags_saved
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14741 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14742 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
14743 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14746 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14747 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14748 $as_echo_n "(cached) " >&6
14750 ac_wine_try_cflags_saved
=$CFLAGS
14751 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14753 /* end confdefs.h. */
14754 int main(int argc, char **argv) { return 0; }
14756 if ac_fn_c_try_link
"$LINENO"; then :
14757 ac_cv_cflags__Wstrict_prototypes
=yes
14759 ac_cv_cflags__Wstrict_prototypes
=no
14761 rm -f core conftest.err conftest.
$ac_objext \
14762 conftest
$ac_exeext conftest.
$ac_ext
14763 CFLAGS
=$ac_wine_try_cflags_saved
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14766 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14767 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14768 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14771 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14772 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14773 $as_echo_n "(cached) " >&6
14775 ac_wine_try_cflags_saved
=$CFLAGS
14776 CFLAGS
="$CFLAGS -Wtype-limits"
14777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14778 /* end confdefs.h. */
14779 int main(int argc, char **argv) { return 0; }
14781 if ac_fn_c_try_link
"$LINENO"; then :
14782 ac_cv_cflags__Wtype_limits
=yes
14784 ac_cv_cflags__Wtype_limits
=no
14786 rm -f core conftest.err conftest.
$ac_objext \
14787 conftest
$ac_exeext conftest.
$ac_ext
14788 CFLAGS
=$ac_wine_try_cflags_saved
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14791 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14792 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14793 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14796 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14797 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14798 $as_echo_n "(cached) " >&6
14800 ac_wine_try_cflags_saved
=$CFLAGS
14801 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14803 /* end confdefs.h. */
14804 int main(int argc, char **argv) { return 0; }
14806 if ac_fn_c_try_link
"$LINENO"; then :
14807 ac_cv_cflags__Wunused_but_set_parameter
=yes
14809 ac_cv_cflags__Wunused_but_set_parameter
=no
14811 rm -f core conftest.err conftest.
$ac_objext \
14812 conftest
$ac_exeext conftest.
$ac_ext
14813 CFLAGS
=$ac_wine_try_cflags_saved
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14816 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14817 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14818 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14821 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14822 if ${ac_cv_cflags__Wvla+:} false
; then :
14823 $as_echo_n "(cached) " >&6
14825 ac_wine_try_cflags_saved
=$CFLAGS
14826 CFLAGS
="$CFLAGS -Wvla"
14827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14828 /* end confdefs.h. */
14829 int main(int argc, char **argv) { return 0; }
14831 if ac_fn_c_try_link
"$LINENO"; then :
14832 ac_cv_cflags__Wvla
=yes
14834 ac_cv_cflags__Wvla
=no
14836 rm -f core conftest.err conftest.
$ac_objext \
14837 conftest
$ac_exeext conftest.
$ac_ext
14838 CFLAGS
=$ac_wine_try_cflags_saved
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14841 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14842 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14843 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14846 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14847 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14848 $as_echo_n "(cached) " >&6
14850 ac_wine_try_cflags_saved
=$CFLAGS
14851 CFLAGS
="$CFLAGS -Wwrite-strings"
14852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14854 int main(int argc, char **argv) { return 0; }
14856 if ac_fn_c_try_link
"$LINENO"; then :
14857 ac_cv_cflags__Wwrite_strings
=yes
14859 ac_cv_cflags__Wwrite_strings
=no
14861 rm -f core conftest.err conftest.
$ac_objext \
14862 conftest
$ac_exeext conftest.
$ac_ext
14863 CFLAGS
=$ac_wine_try_cflags_saved
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14866 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14867 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14868 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14872 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14873 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14874 $as_echo_n "(cached) " >&6
14876 ac_wine_try_cflags_saved
=$CFLAGS
14877 CFLAGS
="$CFLAGS -Wpointer-arith"
14878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14879 /* end confdefs.h. */
14880 int main(int argc, char **argv) { return 0; }
14882 if ac_fn_c_try_link
"$LINENO"; then :
14883 ac_cv_cflags__Wpointer_arith
=yes
14885 ac_cv_cflags__Wpointer_arith
=no
14887 rm -f core conftest.err conftest.
$ac_objext \
14888 conftest
$ac_exeext conftest.
$ac_ext
14889 CFLAGS
=$ac_wine_try_cflags_saved
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14892 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14893 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14894 saved_string_h_CFLAGS
=$CFLAGS
14895 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14897 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14898 if ${ac_cv_c_string_h_warnings+:} false
; then :
14899 $as_echo_n "(cached) " >&6
14901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14902 /* end confdefs.h. */
14903 #include <string.h>
14912 if ac_fn_c_try_compile
"$LINENO"; then :
14913 ac_cv_c_string_h_warnings
=no
14915 ac_cv_c_string_h_warnings
=yes
14917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14920 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14921 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14922 CFLAGS
=$saved_string_h_CFLAGS
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14926 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14927 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14928 $as_echo_n "(cached) " >&6
14930 ac_wine_try_cflags_saved
=$CFLAGS
14931 CFLAGS
="$CFLAGS -Wlogical-op"
14932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14933 /* end confdefs.h. */
14934 int main(int argc, char **argv) { return 0; }
14936 if ac_fn_c_try_link
"$LINENO"; then :
14937 ac_cv_cflags__Wlogical_op
=yes
14939 ac_cv_cflags__Wlogical_op
=no
14941 rm -f core conftest.err conftest.
$ac_objext \
14942 conftest
$ac_exeext conftest.
$ac_ext
14943 CFLAGS
=$ac_wine_try_cflags_saved
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14946 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14947 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14948 saved_string_h_CFLAGS
=$CFLAGS
14949 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14951 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14952 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14953 $as_echo_n "(cached) " >&6
14955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14957 #include <string.h>
14958 char*f(const char *h,char n) {return strchr(h,n);}
14967 if ac_fn_c_try_compile
"$LINENO"; then :
14968 ac_cv_c_logicalop_noisy
=no
14970 ac_cv_c_logicalop_noisy
=yes
14972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14975 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14976 CFLAGS
=$saved_string_h_CFLAGS
14977 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14980 CFLAGS
=$saved_CFLAGS
14982 for ac_flag
in $CFLAGS; do
14984 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14985 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14986 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14987 $as_echo_n "(cached) " >&6
14989 ac_wine_try_cflags_saved
=$CFLAGS
14990 CFLAGS
="$CFLAGS -gdwarf-2"
14991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14992 /* end confdefs.h. */
14993 int main(int argc, char **argv) { return 0; }
14995 if ac_fn_c_try_link
"$LINENO"; then :
14996 ac_cv_cflags__gdwarf_2
=yes
14998 ac_cv_cflags__gdwarf_2
=no
15000 rm -f core conftest.err conftest.
$ac_objext \
15001 conftest
$ac_exeext conftest.
$ac_ext
15002 CFLAGS
=$ac_wine_try_cflags_saved
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15005 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15006 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
15007 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15010 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15011 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
15012 $as_echo_n "(cached) " >&6
15014 ac_wine_try_cflags_saved
=$CFLAGS
15015 CFLAGS
="$CFLAGS -gstrict-dwarf"
15016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15017 /* end confdefs.h. */
15018 int main(int argc, char **argv) { return 0; }
15020 if ac_fn_c_try_link
"$LINENO"; then :
15021 ac_cv_cflags__gstrict_dwarf
=yes
15023 ac_cv_cflags__gstrict_dwarf
=no
15025 rm -f core conftest.err conftest.
$ac_objext \
15026 conftest
$ac_exeext conftest.
$ac_ext
15027 CFLAGS
=$ac_wine_try_cflags_saved
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15030 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15031 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
15032 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
15038 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15039 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15040 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
15041 $as_echo_n "(cached) " >&6
15043 ac_wine_try_cflags_saved
=$CFLAGS
15044 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
15045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15046 /* end confdefs.h. */
15047 int main(int argc, char **argv) { return 0; }
15049 if ac_fn_c_try_link
"$LINENO"; then :
15050 ac_cv_cflags__fno_omit_frame_pointer
=yes
15052 ac_cv_cflags__fno_omit_frame_pointer
=no
15054 rm -f core conftest.err conftest.
$ac_objext \
15055 conftest
$ac_exeext conftest.
$ac_ext
15056 CFLAGS
=$ac_wine_try_cflags_saved
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15059 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15060 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
15061 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
15066 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15067 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15068 if ${ac_cv_cflags__Wno_format+:} false
; then :
15069 $as_echo_n "(cached) " >&6
15071 ac_wine_try_cflags_saved
=$CFLAGS
15072 CFLAGS
="$CFLAGS -Wno-format"
15073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15074 /* end confdefs.h. */
15075 int main(int argc, char **argv) { return 0; }
15077 if ac_fn_c_try_link
"$LINENO"; then :
15078 ac_cv_cflags__Wno_format
=yes
15080 ac_cv_cflags__Wno_format
=no
15082 rm -f core conftest.err conftest.
$ac_objext \
15083 conftest
$ac_exeext conftest.
$ac_ext
15084 CFLAGS
=$ac_wine_try_cflags_saved
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15087 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15088 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
15089 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
15093 if test "x$enable_maintainer_mode" = "xyes"
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15096 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15097 if ${ac_cv_cflags__Werror+:} false
; then :
15098 $as_echo_n "(cached) " >&6
15100 ac_wine_try_cflags_saved
=$CFLAGS
15101 CFLAGS
="$CFLAGS -Werror"
15102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15103 /* end confdefs.h. */
15104 int main(int argc, char **argv) { return 0; }
15106 if ac_fn_c_try_link
"$LINENO"; then :
15107 ac_cv_cflags__Werror
=yes
15109 ac_cv_cflags__Werror
=no
15111 rm -f core conftest.err conftest.
$ac_objext \
15112 conftest
$ac_exeext conftest.
$ac_ext
15113 CFLAGS
=$ac_wine_try_cflags_saved
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15116 $as_echo "$ac_cv_cflags__Werror" >&6; }
15117 if test "x$ac_cv_cflags__Werror" = xyes
; then :
15118 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
15122 saved_CFLAGS
="$CFLAGS"
15123 CFLAGS
="$CFLAGS -Werror"
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15125 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15126 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
15127 $as_echo_n "(cached) " >&6
15129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15130 /* end confdefs.h. */
15131 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15140 if ac_fn_c_try_compile
"$LINENO"; then :
15141 ac_cv_have_ms_hook_prologue
="yes"
15143 ac_cv_have_ms_hook_prologue
="no"
15145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15148 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15149 CFLAGS
="$saved_CFLAGS"
15150 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15153 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15156 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15163 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15164 if ${ac_cv_c_fortify_enabled+:} false
; then :
15165 $as_echo_n "(cached) " >&6
15167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15168 /* end confdefs.h. */
15169 #include <string.h>
15173 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15174 #error Fortify enabled
15180 if ac_fn_c_try_compile
"$LINENO"; then :
15181 ac_cv_c_fortify_enabled
=no
15183 ac_cv_c_fortify_enabled
=yes
15185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15188 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15189 if test "$ac_cv_c_fortify_enabled" = yes
15191 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15196 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15197 if ${ac_cv_c_extern_prefix+:} false
; then :
15198 $as_echo_n "(cached) " >&6
15200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15201 /* end confdefs.h. */
15202 extern int ac_test;
15206 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15211 if ac_fn_c_try_link
"$LINENO"; then :
15212 ac_cv_c_extern_prefix
="yes"
15214 ac_cv_c_extern_prefix
="no"
15216 rm -f core conftest.err conftest.
$ac_objext \
15217 conftest
$ac_exeext conftest.
$ac_ext
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15220 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15225 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15226 if ${ac_cv_c_stdcall_suffix+:} false
; then :
15227 $as_echo_n "(cached) " >&6
15229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15230 /* end confdefs.h. */
15232 #define __stdcall __attribute__((__stdcall__))
15234 int __stdcall ac_test(int i) { return i; }
15238 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15243 if ac_fn_c_try_link
"$LINENO"; then :
15244 ac_cv_c_stdcall_suffix
="yes"
15246 ac_cv_c_stdcall_suffix
="no"
15248 rm -f core conftest.err conftest.
$ac_objext \
15249 conftest
$ac_exeext conftest.
$ac_ext
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15252 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15253 *) ac_cv_c_stdcall_suffix
="no" ;;
15257 if test "$ac_cv_c_extern_prefix" = "yes"
15259 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15261 asm_name_prefix
="_"
15263 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15269 if test "$ac_cv_c_stdcall_suffix" = "yes"
15271 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15274 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15280 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15281 if ${ac_cv_asm_func_def+:} false
; then :
15282 $as_echo_n "(cached) " >&6
15284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15285 /* end confdefs.h. */
15290 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15295 if ac_fn_c_try_link
"$LINENO"; then :
15296 ac_cv_asm_func_def
=".def"
15298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15299 /* end confdefs.h. */
15304 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15309 if ac_fn_c_try_link
"$LINENO"; then :
15310 ac_cv_asm_func_def
=".type @function"
15312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15313 /* end confdefs.h. */
15318 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15323 if ac_fn_c_try_link
"$LINENO"; then :
15324 ac_cv_asm_func_def
=".type 2"
15326 ac_cv_asm_func_def
="unknown"
15328 rm -f core conftest.err conftest.
$ac_objext \
15329 conftest
$ac_exeext conftest.
$ac_ext
15331 rm -f core conftest.err conftest.
$ac_objext \
15332 conftest
$ac_exeext conftest.
$ac_ext
15334 rm -f core conftest.err conftest.
$ac_objext \
15335 conftest
$ac_exeext conftest.
$ac_ext
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15338 $as_echo "$ac_cv_asm_func_def" >&6; }
15341 case "$ac_cv_asm_func_def" in
15343 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15345 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15347 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15349 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
15351 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15353 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
15355 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15357 asm_func_header
="" ;;
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15361 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15362 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
15363 $as_echo_n "(cached) " >&6
15365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15366 /* end confdefs.h. */
15367 asm(".text\n\t.long 0");
15376 if ac_fn_c_try_compile
"$LINENO"; then :
15377 ac_cv_c_asm_outside_funcs
="yes"
15379 ac_cv_c_asm_outside_funcs
="no"
15381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15384 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15387 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15388 if ${ac_cv_c_dot_previous+:} false
; then :
15389 $as_echo_n "(cached) " >&6
15391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15392 /* end confdefs.h. */
15397 asm(".text\nac_test:\t.long 0\n\t.previous");
15402 if ac_fn_c_try_link
"$LINENO"; then :
15403 ac_cv_c_dot_previous
="yes"
15405 ac_cv_c_dot_previous
="no"
15407 rm -f core conftest.err conftest.
$ac_objext \
15408 conftest
$ac_exeext conftest.
$ac_ext
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15411 $as_echo "$ac_cv_c_dot_previous" >&6; }
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15414 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15415 if ${ac_cv_c_cfi_support+:} false
; then :
15416 $as_echo_n "(cached) " >&6
15418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15419 /* end confdefs.h. */
15420 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15429 if ac_fn_c_try_compile
"$LINENO"; then :
15430 ac_cv_c_cfi_support
="yes"
15432 ac_cv_c_cfi_support
="no"
15434 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15437 $as_echo "$ac_cv_c_cfi_support" >&6; }
15439 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15440 asm_func_trailer
=""
15441 if test "$ac_cv_c_dot_previous" = "yes"
15443 asm_func_trailer
="\\n\\t.previous"
15445 if test "$ac_cv_c_cfi_support" = "yes"
15447 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
15448 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
15450 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15452 UNWINDFLAGS
=-fasynchronous-unwind-tables
15455 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15457 if test "x$enable_win64" = "xyes"
15459 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15463 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
15466 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15468 cat >>confdefs.h
<<_ACEOF
15469 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15473 cat >>confdefs.h
<<_ACEOF
15474 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15479 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15482 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15487 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
15494 *i
[3456789]86*|x86_64
*)
15495 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
15496 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
15503 ac_save_CFLAGS
="$CFLAGS"
15504 CFLAGS
="$CFLAGS $BUILTINFLAG"
15585 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15586 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15587 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15588 cat >>confdefs.h
<<_ACEOF
15589 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15595 CFLAGS
="$ac_save_CFLAGS"
15597 if test "$ac_cv_func_dlopen" = no
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15600 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15601 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15602 $as_echo_n "(cached) " >&6
15604 ac_check_lib_save_LIBS
=$LIBS
15606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15607 /* end confdefs.h. */
15609 /* Override any GCC internal prototype to avoid an error.
15610 Use char because int might match the return type of a GCC
15611 builtin and then its argument prototype would still apply. */
15624 if ac_fn_c_try_link
"$LINENO"; then :
15625 ac_cv_lib_dl_dlopen
=yes
15627 ac_cv_lib_dl_dlopen
=no
15629 rm -f core conftest.err conftest.
$ac_objext \
15630 conftest
$ac_exeext conftest.
$ac_ext
15631 LIBS
=$ac_check_lib_save_LIBS
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15634 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15635 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15636 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15642 ac_wine_check_funcs_save_LIBS
="$LIBS"
15643 LIBS
="$LIBS $DL_LIBS"
15644 for ac_func
in dladdr
15646 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15647 if test "x$ac_cv_func_dladdr" = xyes
; then :
15648 cat >>confdefs.h
<<_ACEOF
15649 #define HAVE_DLADDR 1
15655 LIBS
="$ac_wine_check_funcs_save_LIBS"
15657 if test "$ac_cv_func_poll" = no
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15660 $as_echo_n "checking for poll in -lpoll... " >&6; }
15661 if ${ac_cv_lib_poll_poll+:} false
; then :
15662 $as_echo_n "(cached) " >&6
15664 ac_check_lib_save_LIBS
=$LIBS
15665 LIBS
="-lpoll $LIBS"
15666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15667 /* end confdefs.h. */
15669 /* Override any GCC internal prototype to avoid an error.
15670 Use char because int might match the return type of a GCC
15671 builtin and then its argument prototype would still apply. */
15684 if ac_fn_c_try_link
"$LINENO"; then :
15685 ac_cv_lib_poll_poll
=yes
15687 ac_cv_lib_poll_poll
=no
15689 rm -f core conftest.err conftest.
$ac_objext \
15690 conftest
$ac_exeext conftest.
$ac_ext
15691 LIBS
=$ac_check_lib_save_LIBS
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15694 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15695 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15696 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15704 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15705 if ${ac_cv_search_gethostbyname+:} false
; then :
15706 $as_echo_n "(cached) " >&6
15708 ac_func_search_save_LIBS
=$LIBS
15709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15710 /* end confdefs.h. */
15712 /* Override any GCC internal prototype to avoid an error.
15713 Use char because int might match the return type of a GCC
15714 builtin and then its argument prototype would still apply. */
15718 char gethostbyname ();
15722 return gethostbyname ();
15727 for ac_lib
in '' nsl
; do
15728 if test -z "$ac_lib"; then
15729 ac_res
="none required"
15732 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15734 if ac_fn_c_try_link
"$LINENO"; then :
15735 ac_cv_search_gethostbyname
=$ac_res
15737 rm -f core conftest.err conftest.
$ac_objext \
15739 if ${ac_cv_search_gethostbyname+:} false
; then :
15743 if ${ac_cv_search_gethostbyname+:} false
; then :
15746 ac_cv_search_gethostbyname
=no
15748 rm conftest.
$ac_ext
15749 LIBS
=$ac_func_search_save_LIBS
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15752 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15753 ac_res
=$ac_cv_search_gethostbyname
15754 if test "$ac_res" != no
; then :
15755 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15761 $as_echo_n "checking for library containing connect... " >&6; }
15762 if ${ac_cv_search_connect+:} false
; then :
15763 $as_echo_n "(cached) " >&6
15765 ac_func_search_save_LIBS
=$LIBS
15766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15767 /* end confdefs.h. */
15769 /* Override any GCC internal prototype to avoid an error.
15770 Use char because int might match the return type of a GCC
15771 builtin and then its argument prototype would still apply. */
15784 for ac_lib
in '' socket
; do
15785 if test -z "$ac_lib"; then
15786 ac_res
="none required"
15789 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15791 if ac_fn_c_try_link
"$LINENO"; then :
15792 ac_cv_search_connect
=$ac_res
15794 rm -f core conftest.err conftest.
$ac_objext \
15796 if ${ac_cv_search_connect+:} false
; then :
15800 if ${ac_cv_search_connect+:} false
; then :
15803 ac_cv_search_connect
=no
15805 rm conftest.
$ac_ext
15806 LIBS
=$ac_func_search_save_LIBS
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15809 $as_echo "$ac_cv_search_connect" >&6; }
15810 ac_res
=$ac_cv_search_connect
15811 if test "$ac_res" != no
; then :
15812 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15818 $as_echo_n "checking for library containing inet_aton... " >&6; }
15819 if ${ac_cv_search_inet_aton+:} false
; then :
15820 $as_echo_n "(cached) " >&6
15822 ac_func_search_save_LIBS
=$LIBS
15823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15824 /* end confdefs.h. */
15826 /* Override any GCC internal prototype to avoid an error.
15827 Use char because int might match the return type of a GCC
15828 builtin and then its argument prototype would still apply. */
15836 return inet_aton ();
15841 for ac_lib
in '' resolv
; do
15842 if test -z "$ac_lib"; then
15843 ac_res
="none required"
15846 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15848 if ac_fn_c_try_link
"$LINENO"; then :
15849 ac_cv_search_inet_aton
=$ac_res
15851 rm -f core conftest.err conftest.
$ac_objext \
15853 if ${ac_cv_search_inet_aton+:} false
; then :
15857 if ${ac_cv_search_inet_aton+:} false
; then :
15860 ac_cv_search_inet_aton
=no
15862 rm conftest.
$ac_ext
15863 LIBS
=$ac_func_search_save_LIBS
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15866 $as_echo "$ac_cv_search_inet_aton" >&6; }
15867 ac_res
=$ac_cv_search_inet_aton
15868 if test "$ac_res" != no
; then :
15869 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15889 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15890 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15891 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15892 cat >>confdefs.h
<<_ACEOF
15893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15902 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15903 if ${ac_cv_search_clock_gettime+:} false
; then :
15904 $as_echo_n "(cached) " >&6
15906 ac_func_search_save_LIBS
=$LIBS
15907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15908 /* end confdefs.h. */
15910 /* Override any GCC internal prototype to avoid an error.
15911 Use char because int might match the return type of a GCC
15912 builtin and then its argument prototype would still apply. */
15916 char clock_gettime ();
15920 return clock_gettime ();
15925 for ac_lib
in '' rt
; do
15926 if test -z "$ac_lib"; then
15927 ac_res
="none required"
15930 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15932 if ac_fn_c_try_link
"$LINENO"; then :
15933 ac_cv_search_clock_gettime
=$ac_res
15935 rm -f core conftest.err conftest.
$ac_objext \
15937 if ${ac_cv_search_clock_gettime+:} false
; then :
15941 if ${ac_cv_search_clock_gettime+:} false
; then :
15944 ac_cv_search_clock_gettime
=no
15946 rm conftest.
$ac_ext
15947 LIBS
=$ac_func_search_save_LIBS
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15950 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15951 ac_res
=$ac_cv_search_clock_gettime
15952 if test "$ac_res" != no
; then :
15953 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15955 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15957 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15963 if test "x$with_ldap" != "xno"
15965 if ${LDAP_CFLAGS:+false} :; then :
15966 if ${PKG_CONFIG+:} false
; then :
15967 LDAP_CFLAGS
=`$PKG_CONFIG --cflags openldap 2>/dev/null`
15971 if ${LDAP_LIBS:+false} :; then :
15972 if ${PKG_CONFIG+:} false
; then :
15973 LDAP_LIBS
=`$PKG_CONFIG --libs openldap 2>/dev/null`
15977 LDAP_LIBS
=${LDAP_LIBS:-"-lldap_r -llber"}
15978 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
15979 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
15980 ac_save_CPPFLAGS
=$CPPFLAGS
15981 CPPFLAGS
="$CPPFLAGS $LDAP_CFLAGS"
15982 for ac_header
in ldap.h lber.h
15984 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15985 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15986 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15987 cat >>confdefs.h
<<_ACEOF
15988 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15995 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15997 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15999 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16001 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16002 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
16003 $as_echo_n "(cached) " >&6
16005 ac_check_lib_save_LIBS
=$LIBS
16006 LIBS
="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16008 /* end confdefs.h. */
16010 /* Override any GCC internal prototype to avoid an error.
16011 Use char because int might match the return type of a GCC
16012 builtin and then its argument prototype would still apply. */
16016 char ldap_initialize ();
16020 return ldap_initialize ();
16025 if ac_fn_c_try_link
"$LINENO"; then :
16026 ac_cv_lib_ldap_r_ldap_initialize
=yes
16028 ac_cv_lib_ldap_r_ldap_initialize
=no
16030 rm -f core conftest.err conftest.
$ac_objext \
16031 conftest
$ac_exeext conftest.
$ac_ext
16032 LIBS
=$ac_check_lib_save_LIBS
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16035 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16036 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16038 $as_echo_n "checking for ber_init in -llber... " >&6; }
16039 if ${ac_cv_lib_lber_ber_init+:} false
; then :
16040 $as_echo_n "(cached) " >&6
16042 ac_check_lib_save_LIBS
=$LIBS
16043 LIBS
="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16045 /* end confdefs.h. */
16047 /* Override any GCC internal prototype to avoid an error.
16048 Use char because int might match the return type of a GCC
16049 builtin and then its argument prototype would still apply. */
16057 return ber_init ();
16062 if ac_fn_c_try_link
"$LINENO"; then :
16063 ac_cv_lib_lber_ber_init
=yes
16065 ac_cv_lib_lber_ber_init
=no
16067 rm -f core conftest.err conftest.
$ac_objext \
16068 conftest
$ac_exeext conftest.
$ac_ext
16069 LIBS
=$ac_check_lib_save_LIBS
16071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16072 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16073 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
16075 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16089 ac_wine_check_funcs_save_LIBS
="$LIBS"
16090 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16092 ldap_count_references \
16093 ldap_first_reference \
16094 ldap_next_reference \
16095 ldap_parse_reference \
16096 ldap_parse_sort_control \
16097 ldap_parse_sortresponse_control \
16098 ldap_parse_vlv_control \
16099 ldap_parse_vlvresponse_control
16101 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16102 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16103 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16104 cat >>confdefs.h
<<_ACEOF
16105 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16111 LIBS
="$ac_wine_check_funcs_save_LIBS"
16115 CPPFLAGS
=$ac_save_CPPFLAGS
16116 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS
=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16117 test -z "$LDAP_LIBS" || LDAP_LIBS
=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16120 if test "x$LDAP_LIBS" = "x"; then :
16121 case "x$with_ldap" in
16122 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16124 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16125 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16131 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16132 if ${wine_cv_one_arg_mkdir+:} false
; then :
16133 $as_echo_n "(cached) " >&6
16135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16136 /* end confdefs.h. */
16137 #include <sys/stat.h>
16146 if ac_fn_c_try_compile
"$LINENO"; then :
16147 wine_cv_one_arg_mkdir
=yes
16149 wine_cv_one_arg_mkdir
=no
16151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16154 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16155 if test "$wine_cv_one_arg_mkdir" = "yes"
16158 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16163 $as_echo_n "checking for sched_setaffinity... " >&6; }
16164 if ${wine_cv_have_sched_setaffinity+:} false
; then :
16165 $as_echo_n "(cached) " >&6
16167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16168 /* end confdefs.h. */
16169 #define _GNU_SOURCE
16174 sched_setaffinity(0, 0, 0);
16179 if ac_fn_c_try_link
"$LINENO"; then :
16180 wine_cv_have_sched_setaffinity
=yes
16182 wine_cv_have_sched_setaffinity
=no
16184 rm -f core conftest.err conftest.
$ac_objext \
16185 conftest
$ac_exeext conftest.
$ac_ext
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16188 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16189 if test "$wine_cv_have_sched_setaffinity" = "yes"
16192 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16197 $as_echo_n "checking for fallocate... " >&6; }
16198 if ${wine_cv_have_fallocate+:} false
; then :
16199 $as_echo_n "(cached) " >&6
16201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16202 /* end confdefs.h. */
16203 #define _GNU_SOURCE
16208 fallocate(-1, 0, 0, 0);
16213 if ac_fn_c_try_link
"$LINENO"; then :
16214 wine_cv_have_fallocate
=yes
16216 wine_cv_have_fallocate
=no
16218 rm -f core conftest.err conftest.
$ac_objext \
16219 conftest
$ac_exeext conftest.
$ac_ext
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16222 $as_echo "$wine_cv_have_fallocate" >&6; }
16223 if test "$wine_cv_have_fallocate" = "yes"
16226 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16232 $as_echo_n "checking for inline... " >&6; }
16233 if ${ac_cv_c_inline+:} false
; then :
16234 $as_echo_n "(cached) " >&6
16237 for ac_kw
in inline __inline__ __inline
; do
16238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16239 /* end confdefs.h. */
16240 #ifndef __cplusplus
16242 static $ac_kw foo_t static_foo () {return 0; }
16243 $ac_kw foo_t foo () {return 0; }
16247 if ac_fn_c_try_compile
"$LINENO"; then :
16248 ac_cv_c_inline
=$ac_kw
16250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16251 test "$ac_cv_c_inline" != no
&& break
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16256 $as_echo "$ac_cv_c_inline" >&6; }
16258 case $ac_cv_c_inline in
16261 case $ac_cv_c_inline in
16263 *) ac_val
=$ac_cv_c_inline;;
16265 cat >>confdefs.h
<<_ACEOF
16266 #ifndef __cplusplus
16267 #define inline $ac_val
16273 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16274 if test "x$ac_cv_type_mode_t" = xyes
; then :
16276 cat >>confdefs.h
<<_ACEOF
16277 #define HAVE_MODE_T 1
16282 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16283 if test "x$ac_cv_type_off_t" = xyes
; then :
16285 cat >>confdefs.h
<<_ACEOF
16286 #define HAVE_OFF_T 1
16291 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16292 if test "x$ac_cv_type_pid_t" = xyes
; then :
16294 cat >>confdefs.h
<<_ACEOF
16295 #define HAVE_PID_T 1
16300 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16301 if test "x$ac_cv_type_size_t" = xyes
; then :
16303 cat >>confdefs.h
<<_ACEOF
16304 #define HAVE_SIZE_T 1
16309 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16310 if test "x$ac_cv_type_ssize_t" = xyes
; then :
16312 cat >>confdefs.h
<<_ACEOF
16313 #define HAVE_SSIZE_T 1
16318 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16319 if test "x$ac_cv_type_long_long" = xyes
; then :
16321 cat >>confdefs.h
<<_ACEOF
16322 #define HAVE_LONG_LONG 1
16327 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16328 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
16330 cat >>confdefs.h
<<_ACEOF
16331 #define HAVE_FSBLKCNT_T 1
16336 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16337 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
16339 cat >>confdefs.h
<<_ACEOF
16340 #define HAVE_FSFILCNT_T 1
16346 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16347 #include <signal.h>
16349 if test "x$ac_cv_type_sigset_t" = xyes
; then :
16351 cat >>confdefs.h
<<_ACEOF
16352 #define HAVE_SIGSET_T 1
16358 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16360 if test "x$ac_cv_type_request_sense" = xyes
; then :
16362 cat >>confdefs.h
<<_ACEOF
16363 #define HAVE_REQUEST_SENSE 1
16370 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16371 #ifdef HAVE_SYS_SOCKET_H
16372 #include <sys/socket.h>
16374 #ifdef HAVE_SYS_SOCKETVAR_H
16375 #include <sys/socketvar.h>
16377 #ifdef HAVE_NET_ROUTE_H
16378 #include <net/route.h>
16380 #ifdef HAVE_NETINET_IN_H
16381 #include <netinet/in.h>
16383 #ifdef HAVE_NETINET_IN_SYSTM_H
16384 #include <netinet/in_systm.h>
16386 #ifdef HAVE_NETINET_IP_H
16387 #include <netinet/ip.h>
16389 #ifdef HAVE_NETINET_IN_PCB_H
16390 #include <netinet/in_pcb.h>
16393 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
16395 cat >>confdefs.h
<<_ACEOF
16396 #define HAVE_STRUCT_XINPGEN 1
16403 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16406 #ifdef HAVE_SYS_LINK_H
16407 #include <sys/link.h>
16410 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
16412 cat >>confdefs.h
<<_ACEOF
16413 #define HAVE_STRUCT_R_DEBUG 1
16418 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16421 #ifdef HAVE_SYS_LINK_H
16422 #include <sys/link.h>
16425 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
16427 cat >>confdefs.h
<<_ACEOF
16428 #define HAVE_STRUCT_LINK_MAP 1
16435 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16436 #include <linux/input.h>
16439 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
16441 cat >>confdefs.h
<<_ACEOF
16442 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16450 $as_echo_n "checking for if_nameindex... " >&6; }
16451 if ${wine_cv_have_if_nameindex+:} false
; then :
16452 $as_echo_n "(cached) " >&6
16454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16455 /* end confdefs.h. */
16456 #ifdef HAVE_SYS_TYPES_H
16457 #include <sys/types.h>
16459 #ifdef HAVE_SYS_SOCKET_H
16460 #include <sys/socket.h>
16462 #ifdef HAVE_NET_IF_H
16463 # include <net/if.h>
16468 struct if_nameindex *p = if_nameindex(); return p->if_index;
16473 if ac_fn_c_try_link
"$LINENO"; then :
16474 wine_cv_have_if_nameindex
=yes
16476 wine_cv_have_if_nameindex
=no
16478 rm -f core conftest.err conftest.
$ac_objext \
16479 conftest
$ac_exeext conftest.
$ac_ext
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16482 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16483 if test "$wine_cv_have_if_nameindex" = "yes"
16486 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16491 $as_echo_n "checking for sigaddset... " >&6; }
16492 if ${wine_cv_have_sigaddset+:} false
; then :
16493 $as_echo_n "(cached) " >&6
16495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16496 /* end confdefs.h. */
16497 #include <signal.h>
16501 sigset_t set; sigaddset(&set,SIGTERM);
16506 if ac_fn_c_try_link
"$LINENO"; then :
16507 wine_cv_have_sigaddset
=yes
16509 wine_cv_have_sigaddset
=no
16511 rm -f core conftest.err conftest.
$ac_objext \
16512 conftest
$ac_exeext conftest.
$ac_ext
16514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16515 $as_echo "$wine_cv_have_sigaddset" >&6; }
16516 if test "$wine_cv_have_sigaddset" = "yes"
16519 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16525 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16526 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
16527 $as_echo_n "(cached) " >&6
16529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16530 /* end confdefs.h. */
16538 struct hostent *result;
16545 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16546 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16552 if ac_fn_c_try_link
"$LINENO"; then :
16553 wine_cv_linux_gethostbyname_r_6
=yes
16555 wine_cv_linux_gethostbyname_r_6
=no
16558 rm -f core conftest.err conftest.
$ac_objext \
16559 conftest
$ac_exeext conftest.
$ac_ext
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16563 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16564 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16567 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16571 if test "$ac_cv_header_linux_joystick_h" = "yes"
16573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16574 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16575 if ${wine_cv_linux_joystick_22_api+:} false
; then :
16576 $as_echo_n "(cached) " >&6
16578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16579 /* end confdefs.h. */
16581 #include <sys/ioctl.h>
16582 #include <sys/types.h>
16583 #include <linux/joystick.h>
16585 struct js_event blub;
16586 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16587 #error "no 2.2 header"
16598 if ac_fn_c_try_compile
"$LINENO"; then :
16599 wine_cv_linux_joystick_22_api
=yes
16601 wine_cv_linux_joystick_22_api
=no
16603 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16607 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16608 if test "$wine_cv_linux_joystick_22_api" = "yes"
16611 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16617 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16618 #ifdef HAVE_SYS_PARAM_H
16619 # include <sys/param.h>
16621 #ifdef HAVE_SYS_MOUNT_H
16622 # include <sys/mount.h>
16624 #ifdef HAVE_SYS_VFS_H
16625 # include <sys/vfs.h>
16627 #ifdef HAVE_SYS_STATFS_H
16628 # include <sys/statfs.h>
16631 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16633 cat >>confdefs.h
<<_ACEOF
16634 #define HAVE_STRUCT_STATFS_F_BFREE 1
16639 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16640 #ifdef HAVE_SYS_PARAM_H
16641 # include <sys/param.h>
16643 #ifdef HAVE_SYS_MOUNT_H
16644 # include <sys/mount.h>
16646 #ifdef HAVE_SYS_VFS_H
16647 # include <sys/vfs.h>
16649 #ifdef HAVE_SYS_STATFS_H
16650 # include <sys/statfs.h>
16653 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16655 cat >>confdefs.h
<<_ACEOF
16656 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16661 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16662 #ifdef HAVE_SYS_PARAM_H
16663 # include <sys/param.h>
16665 #ifdef HAVE_SYS_MOUNT_H
16666 # include <sys/mount.h>
16668 #ifdef HAVE_SYS_VFS_H
16669 # include <sys/vfs.h>
16671 #ifdef HAVE_SYS_STATFS_H
16672 # include <sys/statfs.h>
16675 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16677 cat >>confdefs.h
<<_ACEOF
16678 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16683 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16684 #ifdef HAVE_SYS_PARAM_H
16685 # include <sys/param.h>
16687 #ifdef HAVE_SYS_MOUNT_H
16688 # include <sys/mount.h>
16690 #ifdef HAVE_SYS_VFS_H
16691 # include <sys/vfs.h>
16693 #ifdef HAVE_SYS_STATFS_H
16694 # include <sys/statfs.h>
16697 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16699 cat >>confdefs.h
<<_ACEOF
16700 #define HAVE_STRUCT_STATFS_F_FFREE 1
16705 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16706 #ifdef HAVE_SYS_PARAM_H
16707 # include <sys/param.h>
16709 #ifdef HAVE_SYS_MOUNT_H
16710 # include <sys/mount.h>
16712 #ifdef HAVE_SYS_VFS_H
16713 # include <sys/vfs.h>
16715 #ifdef HAVE_SYS_STATFS_H
16716 # include <sys/statfs.h>
16719 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16721 cat >>confdefs.h
<<_ACEOF
16722 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16727 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16728 #ifdef HAVE_SYS_PARAM_H
16729 # include <sys/param.h>
16731 #ifdef HAVE_SYS_MOUNT_H
16732 # include <sys/mount.h>
16734 #ifdef HAVE_SYS_VFS_H
16735 # include <sys/vfs.h>
16737 #ifdef HAVE_SYS_STATFS_H
16738 # include <sys/statfs.h>
16741 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16743 cat >>confdefs.h
<<_ACEOF
16744 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16751 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16752 #include <sys/statvfs.h>
16755 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16757 cat >>confdefs.h
<<_ACEOF
16758 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16765 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16766 #include <dirent.h>
16769 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16771 cat >>confdefs.h
<<_ACEOF
16772 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16779 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16780 #ifdef HAVE_SYS_SOCKET_H
16781 # include <sys/socket.h>
16783 #ifdef HAVE_SYS_UN_H
16784 # include <sys/un.h>
16787 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16789 cat >>confdefs.h
<<_ACEOF
16790 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16795 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16796 #ifdef HAVE_SYS_SOCKET_H
16797 # include <sys/socket.h>
16799 #ifdef HAVE_SYS_UN_H
16800 # include <sys/un.h>
16803 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16805 cat >>confdefs.h
<<_ACEOF
16806 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16811 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16812 #ifdef HAVE_SYS_SOCKET_H
16813 # include <sys/socket.h>
16815 #ifdef HAVE_SYS_UN_H
16816 # include <sys/un.h>
16819 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16821 cat >>confdefs.h
<<_ACEOF
16822 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16829 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16830 #ifdef HAVE_SCSI_SG_H
16831 #include <scsi/sg.h>
16834 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16836 cat >>confdefs.h
<<_ACEOF
16837 #define HAVE_SCSIREQ_T_CMD 1
16842 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>
16843 #ifdef HAVE_SCSI_SG_H
16844 #include <scsi/sg.h>
16847 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16849 cat >>confdefs.h
<<_ACEOF
16850 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16857 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16859 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16861 cat >>confdefs.h
<<_ACEOF
16862 #define HAVE_SIGINFO_T_SI_FD 1
16869 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16870 #ifdef HAVE_SYS_MTIO_H
16871 #include <sys/mtio.h>
16874 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16876 cat >>confdefs.h
<<_ACEOF
16877 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16882 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16883 #ifdef HAVE_SYS_MTIO_H
16884 #include <sys/mtio.h>
16887 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16889 cat >>confdefs.h
<<_ACEOF
16890 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16895 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16896 #ifdef HAVE_SYS_MTIO_H
16897 #include <sys/mtio.h>
16900 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16902 cat >>confdefs.h
<<_ACEOF
16903 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16910 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16911 #include <getopt.h>
16914 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16916 cat >>confdefs.h
<<_ACEOF
16917 #define HAVE_STRUCT_OPTION_NAME 1
16924 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16925 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16927 cat >>confdefs.h
<<_ACEOF
16928 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16933 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16934 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16936 cat >>confdefs.h
<<_ACEOF
16937 #define HAVE_STRUCT_STAT_ST_MTIM 1
16942 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16943 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16945 cat >>confdefs.h
<<_ACEOF
16946 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16951 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16952 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16954 cat >>confdefs.h
<<_ACEOF
16955 #define HAVE_STRUCT_STAT_ST_CTIM 1
16960 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16961 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16963 cat >>confdefs.h
<<_ACEOF
16964 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16969 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16970 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16972 cat >>confdefs.h
<<_ACEOF
16973 #define HAVE_STRUCT_STAT_ST_ATIM 1
16978 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16979 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16981 cat >>confdefs.h
<<_ACEOF
16982 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16987 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16988 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16990 cat >>confdefs.h
<<_ACEOF
16991 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16996 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16997 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16999 cat >>confdefs.h
<<_ACEOF
17000 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17005 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17006 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
17008 cat >>confdefs.h
<<_ACEOF
17009 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17014 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17015 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
17017 cat >>confdefs.h
<<_ACEOF
17018 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17023 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17024 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
17026 cat >>confdefs.h
<<_ACEOF
17027 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17034 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
17035 #include <sys/types.h>
17037 #ifdef HAVE_NETINET_IN_H
17038 #include <netinet/in.h>
17041 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
17043 cat >>confdefs.h
<<_ACEOF
17044 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17051 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17052 #include <sys/types.h>
17054 #ifdef HAVE_NETINET_IN_H
17055 #include <netinet/in.h>
17057 #ifdef HAVE_RESOLV_H
17058 #include <resolv.h>
17061 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
17063 cat >>confdefs.h
<<_ACEOF
17064 #define HAVE_STRUCT___RES_STATE 1
17071 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
17072 #include <resolv.h>
17075 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
17077 cat >>confdefs.h
<<_ACEOF
17078 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17085 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17086 #include <sys/types.h>
17088 #ifdef HAVE_NETINET_IN_H
17089 # include <netinet/in.h>
17091 #ifdef HAVE_ARPA_NAMESER_H
17092 # include <arpa/nameser.h>
17095 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
17097 cat >>confdefs.h
<<_ACEOF
17098 #define HAVE_NS_MSG__MSG_PTR 1
17105 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17106 #include <sys/types.h>
17108 #ifdef HAVE_NETINET_IN_H
17109 #include <netinet/in.h>
17111 #ifdef HAVE_NETINET_IP_H
17112 #include <netinet/ip.h>
17114 #ifdef HAVE_NETINET_IP_ICMP_H
17115 #include <netinet/ip_icmp.h>
17117 #ifdef HAVE_NETINET_ICMP_VAR_H
17118 #include <netinet/icmp_var.h>
17121 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
17123 cat >>confdefs.h
<<_ACEOF
17124 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17131 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17132 #include <sys/types.h>
17134 #ifdef HAVE_ALIAS_H
17137 #ifdef HAVE_SYS_SOCKET_H
17138 #include <sys/socket.h>
17140 #ifdef HAVE_SYS_SOCKETVAR_H
17141 #include <sys/socketvar.h>
17143 #ifdef HAVE_SYS_TIMEOUT_H
17144 #include <sys/timeout.h>
17146 #ifdef HAVE_NETINET_IN_H
17147 #include <netinet/in.h>
17149 #ifdef HAVE_NETINET_IN_SYSTM_H
17150 #include <netinet/in_systm.h>
17152 #ifdef HAVE_NETINET_IP_H
17153 #include <netinet/ip.h>
17155 #ifdef HAVE_NETINET_IP_VAR_H
17156 #include <netinet/ip_var.h>
17158 #ifdef HAVE_NETINET_IP_ICMP_H
17159 #include <netinet/ip_icmp.h>
17161 #ifdef HAVE_NETINET_ICMP_VAR_H
17162 #include <netinet/icmp_var.h>
17165 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
17167 cat >>confdefs.h
<<_ACEOF
17168 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17175 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17176 #include <sys/types.h>
17178 #ifdef HAVE_SYS_SOCKETVAR_H
17179 #include <sys/socketvar.h>
17181 #ifdef HAVE_NETINET_IN_H
17182 #include <netinet/in.h>
17184 #ifdef HAVE_NETINET_IP_VAR_H
17185 #include <netinet/ip_var.h>
17188 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
17190 cat >>confdefs.h
<<_ACEOF
17191 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17198 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
17199 #include <netinet/ip_var.h>
17202 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
17204 cat >>confdefs.h
<<_ACEOF
17205 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17212 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17213 #include <sys/types.h>
17215 #ifdef HAVE_SYS_SOCKETVAR_H
17216 #include <sys/socketvar.h>
17218 #ifdef HAVE_NETINET_IN_H
17219 #include <netinet/in.h>
17221 #ifdef HAVE_NETINET_TCP_H
17222 #include <netinet/tcp.h>
17224 #ifdef HAVE_NETINET_TCP_VAR_H
17225 #include <netinet/tcp_var.h>
17228 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
17230 cat >>confdefs.h
<<_ACEOF
17231 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17238 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
17239 #include <netinet/tcp_var.h>
17242 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
17244 cat >>confdefs.h
<<_ACEOF
17245 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17252 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17253 #include <sys/types.h>
17255 #ifdef HAVE_NETINET_IN_H
17256 #include <netinet/in.h>
17258 #ifdef HAVE_NETINET_IP_VAR_H
17259 #include <netinet/ip_var.h>
17261 #ifdef HAVE_NETINET_UDP_H
17262 #include <netinet/udp.h>
17264 #ifdef HAVE_NETINET_UDP_VAR_H
17265 #include <netinet/udp_var.h>
17268 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
17270 cat >>confdefs.h
<<_ACEOF
17271 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17278 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17279 #include <sys/types.h>
17281 #ifdef HAVE_NET_IF_H
17282 # include <net/if.h>
17285 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
17287 cat >>confdefs.h
<<_ACEOF
17288 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17296 $as_echo_n "checking for timezone variable... " >&6; }
17297 if ${ac_cv_have_timezone+:} false
; then :
17298 $as_echo_n "(cached) " >&6
17300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17301 /* end confdefs.h. */
17311 if ac_fn_c_try_link
"$LINENO"; then :
17312 ac_cv_have_timezone
="yes"
17314 ac_cv_have_timezone
="no"
17316 rm -f core conftest.err conftest.
$ac_objext \
17317 conftest
$ac_exeext conftest.
$ac_ext
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17320 $as_echo "$ac_cv_have_timezone" >&6; }
17321 if test "$ac_cv_have_timezone" = "yes"
17324 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17328 $as_echo_n "checking for daylight variable... " >&6; }
17329 if ${ac_cv_have_daylight+:} false
; then :
17330 $as_echo_n "(cached) " >&6
17332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17333 /* end confdefs.h. */
17343 if ac_fn_c_try_link
"$LINENO"; then :
17344 ac_cv_have_daylight
="yes"
17346 ac_cv_have_daylight
="no"
17348 rm -f core conftest.err conftest.
$ac_objext \
17349 conftest
$ac_exeext conftest.
$ac_ext
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17352 $as_echo "$ac_cv_have_daylight" >&6; }
17353 if test "$ac_cv_have_daylight" = "yes"
17356 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17360 ac_save_LIBS
="$LIBS"
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17363 $as_echo_n "checking for isfinite... " >&6; }
17364 if ${ac_cv_have_isfinite+:} false
; then :
17365 $as_echo_n "(cached) " >&6
17367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17368 /* end confdefs.h. */
17369 #define _GNU_SOURCE
17374 float f = 0.0; return isfinite(f)
17379 if ac_fn_c_try_link
"$LINENO"; then :
17380 ac_cv_have_isfinite
="yes"
17382 ac_cv_have_isfinite
="no"
17384 rm -f core conftest.err conftest.
$ac_objext \
17385 conftest
$ac_exeext conftest.
$ac_ext
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17388 $as_echo "$ac_cv_have_isfinite" >&6; }
17389 if test "$ac_cv_have_isfinite" = "yes"
17392 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17397 $as_echo_n "checking for isinf... " >&6; }
17398 if ${ac_cv_have_isinf+:} false
; then :
17399 $as_echo_n "(cached) " >&6
17401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17402 /* end confdefs.h. */
17407 float f = 0.0; return isinf(f)
17412 if ac_fn_c_try_link
"$LINENO"; then :
17413 ac_cv_have_isinf
="yes"
17415 ac_cv_have_isinf
="no"
17417 rm -f core conftest.err conftest.
$ac_objext \
17418 conftest
$ac_exeext conftest.
$ac_ext
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17421 $as_echo "$ac_cv_have_isinf" >&6; }
17422 if test "$ac_cv_have_isinf" = "yes"
17425 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17430 $as_echo_n "checking for isnan... " >&6; }
17431 if ${ac_cv_have_isnan+:} false
; then :
17432 $as_echo_n "(cached) " >&6
17434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17435 /* end confdefs.h. */
17440 float f = 0.0; return isnan(f)
17445 if ac_fn_c_try_link
"$LINENO"; then :
17446 ac_cv_have_isnan
="yes"
17448 ac_cv_have_isnan
="no"
17450 rm -f core conftest.err conftest.
$ac_objext \
17451 conftest
$ac_exeext conftest.
$ac_ext
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17454 $as_echo "$ac_cv_have_isnan" >&6; }
17455 if test "$ac_cv_have_isnan" = "yes"
17458 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17506 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17507 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17508 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17509 cat >>confdefs.h
<<_ACEOF
17510 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17516 LIBS
="$ac_save_LIBS"
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17519 $as_echo_n "checking for __builtin_clz... " >&6; }
17520 if ${ac_cv_have___builtin_clz+:} false
; then :
17521 $as_echo_n "(cached) " >&6
17523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17524 /* end confdefs.h. */
17529 return __builtin_clz(1)
17534 if ac_fn_c_try_link
"$LINENO"; then :
17535 ac_cv_have___builtin_clz
="yes"
17537 ac_cv_have___builtin_clz
="no"
17539 rm -f core conftest.err conftest.
$ac_objext \
17540 conftest
$ac_exeext conftest.
$ac_ext
17542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17543 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17544 if test "$ac_cv_have___builtin_clz" = "yes"
17547 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17552 $as_echo_n "checking for __builtin_popcount... " >&6; }
17553 if ${ac_cv_have___builtin_popcount+:} false
; then :
17554 $as_echo_n "(cached) " >&6
17556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17557 /* end confdefs.h. */
17562 return __builtin_popcount(1)
17567 if ac_fn_c_try_link
"$LINENO"; then :
17568 ac_cv_have___builtin_popcount
="yes"
17570 ac_cv_have___builtin_popcount
="no"
17572 rm -f core conftest.err conftest.
$ac_objext \
17573 conftest
$ac_exeext conftest.
$ac_ext
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17576 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17577 if test "$ac_cv_have___builtin_popcount" = "yes"
17580 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17586 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17587 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17588 if ${ac_cv_cpp_def___i386__+:} false
; then :
17589 $as_echo_n "(cached) " >&6
17591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17592 /* end confdefs.h. */
17597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17598 $EGREP "yes" >/dev
/null
2>&1; then :
17599 ac_cv_cpp_def___i386__
=yes
17601 ac_cv_cpp_def___i386__
=no
17606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17607 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17608 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
17609 CFLAGS
="$CFLAGS -D__i386__"
17610 LINTFLAGS
="$LINTFLAGS -D__i386__"
17612 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17613 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17614 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
17615 $as_echo_n "(cached) " >&6
17617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17618 /* end confdefs.h. */
17623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17624 $EGREP "yes" >/dev
/null
2>&1; then :
17625 ac_cv_cpp_def___x86_64__
=yes
17627 ac_cv_cpp_def___x86_64__
=no
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17633 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17634 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
17635 CFLAGS
="$CFLAGS -D__x86_64__"
17636 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
17638 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17639 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17640 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
17641 $as_echo_n "(cached) " >&6
17643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17644 /* end confdefs.h. */
17645 #ifndef __sparc64__
17649 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17650 $EGREP "yes" >/dev
/null
2>&1; then :
17651 ac_cv_cpp_def___sparc64__
=yes
17653 ac_cv_cpp_def___sparc64__
=no
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17659 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17660 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
17661 CFLAGS
="$CFLAGS -D__sparc64__"
17662 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
17664 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17665 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17666 if ${ac_cv_cpp_def___sparc__+:} false
; then :
17667 $as_echo_n "(cached) " >&6
17669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17670 /* end confdefs.h. */
17675 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17676 $EGREP "yes" >/dev
/null
2>&1; then :
17677 ac_cv_cpp_def___sparc__
=yes
17679 ac_cv_cpp_def___sparc__
=no
17684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17685 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17686 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
17687 CFLAGS
="$CFLAGS -D__sparc__"
17688 LINTFLAGS
="$LINTFLAGS -D__sparc__"
17690 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17691 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17692 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
17693 $as_echo_n "(cached) " >&6
17695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17696 /* end confdefs.h. */
17697 #ifndef __powerpc64__
17701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17702 $EGREP "yes" >/dev
/null
2>&1; then :
17703 ac_cv_cpp_def___powerpc64__
=yes
17705 ac_cv_cpp_def___powerpc64__
=no
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17711 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17712 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
17713 CFLAGS
="$CFLAGS -D__powerpc64__"
17714 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
17716 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17717 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17718 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
17719 $as_echo_n "(cached) " >&6
17721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17722 /* end confdefs.h. */
17723 #ifndef __powerpc__
17727 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17728 $EGREP "yes" >/dev
/null
2>&1; then :
17729 ac_cv_cpp_def___powerpc__
=yes
17731 ac_cv_cpp_def___powerpc__
=no
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17737 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17738 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
17739 CFLAGS
="$CFLAGS -D__powerpc__"
17740 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
17742 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17743 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17744 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
17745 $as_echo_n "(cached) " >&6
17747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17748 /* end confdefs.h. */
17749 #ifndef __aarch64__
17753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17754 $EGREP "yes" >/dev
/null
2>&1; then :
17755 ac_cv_cpp_def___aarch64__
=yes
17757 ac_cv_cpp_def___aarch64__
=no
17762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17763 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17764 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17765 CFLAGS
="$CFLAGS -D__aarch64__"
17766 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17768 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17769 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17770 if ${ac_cv_cpp_def___arm__+:} false
; then :
17771 $as_echo_n "(cached) " >&6
17773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h. */
17779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17780 $EGREP "yes" >/dev
/null
2>&1; then :
17781 ac_cv_cpp_def___arm__
=yes
17783 ac_cv_cpp_def___arm__
=no
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17789 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17790 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17791 CFLAGS
="$CFLAGS -D__arm__"
17792 LINTFLAGS
="$LINTFLAGS -D__arm__"
17796 case $host_vendor in
17797 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17798 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17799 if ${ac_cv_cpp_def___sun__+:} false
; then :
17800 $as_echo_n "(cached) " >&6
17802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17803 /* end confdefs.h. */
17808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17809 $EGREP "yes" >/dev
/null
2>&1; then :
17810 ac_cv_cpp_def___sun__
=yes
17812 ac_cv_cpp_def___sun__
=no
17817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17818 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17819 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17820 CFLAGS
="$CFLAGS -D__sun__"
17821 LINTFLAGS
="$LINTFLAGS -D__sun__"
17829 ac_config_commands
="$ac_config_commands include/stamp-h"
17831 $as_echo_n "creating Makefile rules..." >&6
17833 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17834 SOCKET_LIBS = $SOCKET_LIBS
17835 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17836 IOKIT_LIBS = $IOKIT_LIBS
17837 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17838 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17839 CORESERVICES_LIBS = $CORESERVICES_LIBS
17840 APPKIT_LIBS = $APPKIT_LIBS
17841 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17842 SECURITY_LIBS = $SECURITY_LIBS
17843 COREAUDIO_LIBS = $COREAUDIO_LIBS
17844 OPENAL_LIBS = $OPENAL_LIBS
17845 OPENCL_LIBS = $OPENCL_LIBS
17846 QUICKTIME_LIBS = $QUICKTIME_LIBS
17847 CARBON_LIBS = $CARBON_LIBS
17848 PTHREAD_LIBS = $PTHREAD_LIBS
17849 X_CFLAGS = $X_CFLAGS
17850 X_PRE_LIBS = $X_PRE_LIBS
17852 X_EXTRA_LIBS = $X_EXTRA_LIBS
17853 PCAP_LIBS = $PCAP_LIBS
17854 XML2_CFLAGS = $XML2_CFLAGS
17855 XML2_LIBS = $XML2_LIBS
17856 XSLT_CFLAGS = $XSLT_CFLAGS
17857 XSLT_LIBS = $XSLT_LIBS
17858 DBUS_CFLAGS = $DBUS_CFLAGS
17859 DBUS_LIBS = $DBUS_LIBS
17860 HAL_CFLAGS = $HAL_CFLAGS
17861 HAL_LIBS = $HAL_LIBS
17862 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17863 GNUTLS_LIBS = $GNUTLS_LIBS
17864 SANE_CFLAGS = $SANE_CFLAGS
17865 SANE_LIBS = $SANE_LIBS
17866 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17867 GPHOTO2_LIBS = $GPHOTO2_LIBS
17868 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17869 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17870 RESOLV_LIBS = $RESOLV_LIBS
17871 LCMS2_CFLAGS = $LCMS2_CFLAGS
17872 LCMS2_LIBS = $LCMS2_LIBS
17873 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17874 FREETYPE_LIBS = $FREETYPE_LIBS
17876 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17877 PULSE_CFLAGS = $PULSE_CFLAGS
17878 PULSE_LIBS = $PULSE_LIBS
17879 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17880 GSTREAMER_LIBS = $GSTREAMER_LIBS
17881 ALSA_LIBS = $ALSA_LIBS
17882 OSS4_CFLAGS = $OSS4_CFLAGS
17883 UDEV_CFLAGS = $UDEV_CFLAGS
17884 UDEV_LIBS = $UDEV_LIBS
17885 CAPI20_CFLAGS = $CAPI20_CFLAGS
17886 CAPI20_LIBS = $CAPI20_LIBS
17887 CUPS_CFLAGS = $CUPS_CFLAGS
17888 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17889 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17890 JPEG_CFLAGS = $JPEG_CFLAGS
17891 JPEG_LIBS = $JPEG_LIBS
17892 PNG_CFLAGS = $PNG_CFLAGS
17893 PNG_LIBS = $PNG_LIBS
17894 TIFF_CFLAGS = $TIFF_CFLAGS
17895 TIFF_LIBS = $TIFF_LIBS
17896 MPG123_CFLAGS = $MPG123_CFLAGS
17897 MPG123_LIBS = $MPG123_LIBS
17898 KSTAT_LIBS = $KSTAT_LIBS
17899 PROCSTAT_LIBS = $PROCSTAT_LIBS
17900 NETAPI_CFLAGS = $NETAPI_CFLAGS
17901 NETAPI_LIBS = $NETAPI_LIBS
17902 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17904 POLL_LIBS = $POLL_LIBS
17906 LDAP_CFLAGS = $LDAP_CFLAGS
17907 LDAP_LIBS = $LDAP_LIBS
17912 wine_fn_append_rule
"
17913 # Rules automatically generated by configure
17915 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17920 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17921 @./config.status Make.tmp Makefile
17922 depend: \$(MAKEDEP) dummy
17925 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17926 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17928 if test "x$enable_fonts" != xno
; then
17929 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17930 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17931 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17932 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17933 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17934 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17936 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17937 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17938 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17939 wine_fn_config_symlink wine
17940 if test "x$enable_win64" != xno
; then
17941 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17942 wine_fn_config_symlink wine64
17945 wine_fn_config_dll acledit enable_acledit
17946 wine_fn_config_dll aclui enable_aclui implib
17947 wine_fn_config_dll activeds enable_activeds implib
17948 wine_fn_config_dll actxprxy enable_actxprxy clean
17949 wine_fn_config_lib adsiid
17950 wine_fn_config_dll adsldpc enable_adsldpc
17951 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17952 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17953 wine_fn_config_dll advpack enable_advpack implib
17954 wine_fn_config_test dlls
/advpack
/tests advpack_test
17955 wine_fn_config_dll amstream enable_amstream clean
17956 wine_fn_config_test dlls
/amstream
/tests amstream_test
17957 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17958 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17959 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17960 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17961 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17962 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17963 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17964 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17965 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17966 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17967 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17968 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17969 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
17970 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
17971 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17972 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17973 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17974 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17975 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17976 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17977 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17978 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17979 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17980 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17981 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17982 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17983 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17984 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17985 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17986 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17987 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17988 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17989 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17990 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17991 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17992 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17993 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17994 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17995 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17996 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17997 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17998 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17999 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18000 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18001 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18002 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18003 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18004 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18005 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18006 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18007 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18008 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18009 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18010 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18011 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18012 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18013 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18014 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18015 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18016 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18017 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18018 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18019 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18020 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18021 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18022 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18023 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18024 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18025 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18026 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18027 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18028 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18029 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18030 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18031 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18032 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18033 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18034 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18035 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18036 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18037 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18038 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18039 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18040 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18041 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18042 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18043 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18044 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18045 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18046 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18047 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18048 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18049 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18050 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18051 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18052 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18053 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18054 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18055 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18056 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18057 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18058 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18059 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18060 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18061 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18062 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18063 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18064 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18065 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18066 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18067 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18068 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18069 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18070 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18071 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18072 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18073 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18074 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18075 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18076 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18077 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18078 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18079 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18080 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18081 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18082 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18083 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18084 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18085 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18086 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18087 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18088 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18089 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18090 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18091 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18092 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18093 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18094 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18095 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18096 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18097 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18098 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18099 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18100 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18101 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18102 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18103 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18104 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18105 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18106 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18107 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18108 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18109 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18110 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18111 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18112 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18113 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18114 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18115 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18116 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18117 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18118 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18119 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18120 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18121 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18122 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18123 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18124 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18125 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18126 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18127 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18128 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18129 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18130 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18131 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18132 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18133 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18134 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18135 wine_fn_config_dll apphelp enable_apphelp
18136 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
18137 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18138 wine_fn_config_dll atl enable_atl clean
,implib
18139 wine_fn_config_test dlls
/atl
/tests atl_test
18140 wine_fn_config_dll atl100 enable_atl100 clean
,implib
18141 wine_fn_config_test dlls
/atl100
/tests atl100_test
18142 wine_fn_config_dll atl110 enable_atl110 clean
18143 wine_fn_config_dll atl80 enable_atl80 clean
,implib
18144 wine_fn_config_test dlls
/atl80
/tests atl80_test
18145 wine_fn_config_dll atl90 enable_atl90 clean
18146 wine_fn_config_dll authz enable_authz
18147 wine_fn_config_dll avicap32 enable_avicap32 implib
18148 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
18149 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
18150 wine_fn_config_dll avifile.dll16 enable_win16
18151 wine_fn_config_dll avrt enable_avrt implib
18152 wine_fn_config_dll bcrypt enable_bcrypt implib
18153 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
18154 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18155 wine_fn_config_dll browseui enable_browseui clean
18156 wine_fn_config_test dlls
/browseui
/tests browseui_test
18157 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18158 wine_fn_config_dll cabinet enable_cabinet implib
18159 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
18160 wine_fn_config_dll capi2032 enable_capi2032 implib
18161 wine_fn_config_dll cards enable_cards implib
18162 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18163 wine_fn_config_dll clusapi enable_clusapi implib
18164 wine_fn_config_dll combase enable_combase
18165 wine_fn_config_test dlls
/combase
/tests combase_test
18166 wine_fn_config_dll comcat enable_comcat
18167 wine_fn_config_test dlls
/comcat
/tests comcat_test
18168 wine_fn_config_dll comctl32 enable_comctl32 clean
,implib
18169 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
18170 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
18171 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
18172 wine_fn_config_dll
comm.drv16 enable_win16
18173 wine_fn_config_dll commdlg.dll16 enable_win16
18174 wine_fn_config_dll compobj.dll16 enable_win16
18175 wine_fn_config_dll compstui enable_compstui implib
18176 wine_fn_config_dll comsvcs enable_comsvcs clean
,implib
18177 wine_fn_config_dll concrt140 enable_concrt140
18178 wine_fn_config_dll connect enable_connect
18179 wine_fn_config_dll credui enable_credui clean
,implib
18180 wine_fn_config_test dlls
/credui
/tests credui_test
18181 wine_fn_config_dll crtdll enable_crtdll
18182 wine_fn_config_dll crypt32 enable_crypt32 clean
,implib
18183 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
18184 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18185 wine_fn_config_dll cryptdll enable_cryptdll implib
18186 wine_fn_config_dll cryptext enable_cryptext
18187 wine_fn_config_dll cryptnet enable_cryptnet implib
18188 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
18189 wine_fn_config_dll cryptui enable_cryptui clean
,implib
18190 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
18191 wine_fn_config_dll ctapi32 enable_ctapi32
18192 wine_fn_config_dll ctl3d.dll16 enable_win16
18193 wine_fn_config_dll ctl3d32 enable_ctl3d32
18194 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18195 wine_fn_config_dll d2d1 enable_d2d1 implib
18196 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
18197 wine_fn_config_dll d3d10 enable_d3d10 implib
18198 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
18199 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18200 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
18201 wine_fn_config_dll d3d10core enable_d3d10core implib
18202 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
18203 wine_fn_config_dll d3d11 enable_d3d11 implib
18204 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
18205 wine_fn_config_dll d3d8 enable_d3d8 implib
18206 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
18207 wine_fn_config_dll d3d9 enable_d3d9 implib
18208 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
18209 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18210 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18211 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18212 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18213 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18214 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18215 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18216 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18217 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18218 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18219 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18220 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
18221 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18222 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18223 wine_fn_config_dll d3dim enable_d3dim
18224 wine_fn_config_dll d3drm enable_d3drm implib
18225 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
18226 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18227 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18228 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18229 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18230 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18231 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18232 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18233 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18234 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18235 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18236 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18237 wine_fn_config_test dlls
/d3dx10_43
/tests d3dx10_43_test
18238 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18239 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18240 wine_fn_config_test dlls
/d3dx11_43
/tests d3dx11_43_test
18241 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18242 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18243 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18244 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18245 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18246 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18247 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18248 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18249 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18250 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18251 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18252 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18253 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18254 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
18255 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18256 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18257 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18258 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18259 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18260 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18261 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18262 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
18263 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
18264 wine_fn_config_dll davclnt enable_davclnt
18265 wine_fn_config_dll dbgeng enable_dbgeng implib
18266 wine_fn_config_dll dbghelp enable_dbghelp implib
18267 wine_fn_config_dll dciman32 enable_dciman32 implib
18268 wine_fn_config_dll ddeml.dll16 enable_win16
18269 wine_fn_config_dll ddraw enable_ddraw clean
,implib
18270 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
18271 wine_fn_config_dll ddrawex enable_ddrawex clean
18272 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
18273 wine_fn_config_dll devenum enable_devenum clean
18274 wine_fn_config_test dlls
/devenum
/tests devenum_test
18275 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18276 wine_fn_config_dll difxapi enable_difxapi
18277 wine_fn_config_dll dinput enable_dinput clean
,implib
,staticimplib
18278 wine_fn_config_test dlls
/dinput
/tests dinput_test
18279 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
18280 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
18281 wine_fn_config_dll dispdib.dll16 enable_win16
18282 wine_fn_config_dll dispex enable_dispex clean
18283 wine_fn_config_test dlls
/dispex
/tests dispex_test
18284 wine_fn_config_dll display.drv16 enable_win16
18285 wine_fn_config_dll dmband enable_dmband clean
18286 wine_fn_config_test dlls
/dmband
/tests dmband_test
18287 wine_fn_config_dll dmcompos enable_dmcompos clean
18288 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
18289 wine_fn_config_dll dmime enable_dmime clean
18290 wine_fn_config_test dlls
/dmime
/tests dmime_test
18291 wine_fn_config_dll dmloader enable_dmloader clean
18292 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
18293 wine_fn_config_dll dmscript enable_dmscript clean
18294 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
18295 wine_fn_config_dll dmstyle enable_dmstyle clean
18296 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
18297 wine_fn_config_dll dmsynth enable_dmsynth clean
18298 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
18299 wine_fn_config_dll dmusic enable_dmusic clean
18300 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
18301 wine_fn_config_dll dmusic32 enable_dmusic32
18302 wine_fn_config_dll dnsapi enable_dnsapi implib
18303 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
18304 wine_fn_config_dll dplay enable_dplay
18305 wine_fn_config_dll dplayx enable_dplayx clean
,implib
18306 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
18307 wine_fn_config_dll dpnaddr enable_dpnaddr
18308 wine_fn_config_dll dpnet enable_dpnet clean
,implib
18309 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
18310 wine_fn_config_dll dpnhpast enable_dpnhpast
18311 wine_fn_config_dll dpnlobby enable_dpnlobby
18312 wine_fn_config_dll dpvoice enable_dpvoice clean
18313 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
18314 wine_fn_config_dll dpwsockx enable_dpwsockx
18315 wine_fn_config_dll drmclien enable_drmclien
18316 wine_fn_config_dll dsound enable_dsound clean
,implib
18317 wine_fn_config_test dlls
/dsound
/tests dsound_test
18318 wine_fn_config_dll dsquery enable_dsquery
18319 wine_fn_config_dll dssenh enable_dssenh
18320 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
18321 wine_fn_config_dll dswave enable_dswave clean
18322 wine_fn_config_test dlls
/dswave
/tests dswave_test
18323 wine_fn_config_dll dwmapi enable_dwmapi implib
18324 wine_fn_config_dll dwrite enable_dwrite implib
18325 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
18326 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18327 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
18328 wine_fn_config_lib dxerr8
18329 wine_fn_config_lib dxerr9
18330 wine_fn_config_dll dxgi enable_dxgi implib
18331 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
18332 wine_fn_config_lib dxguid
18333 wine_fn_config_dll dxva2 enable_dxva2
18334 wine_fn_config_dll esent enable_esent
18335 wine_fn_config_dll evr enable_evr
18336 wine_fn_config_dll explorerframe enable_explorerframe clean
18337 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
18338 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18339 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18340 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18341 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18342 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18343 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18344 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18345 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18346 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18347 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18348 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18349 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18350 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18351 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18352 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18353 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18354 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18355 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18356 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
18357 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18358 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18359 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18360 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18361 wine_fn_config_dll faultrep enable_faultrep implib
18362 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
18363 wine_fn_config_dll fltlib enable_fltlib
18364 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18365 wine_fn_config_dll fntcache enable_fntcache
18366 wine_fn_config_dll fontsub enable_fontsub
18367 wine_fn_config_dll fusion enable_fusion
18368 wine_fn_config_test dlls
/fusion
/tests fusion_test
18369 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18370 wine_fn_config_dll gameux enable_gameux clean
18371 wine_fn_config_test dlls
/gameux
/tests gameux_test
18372 wine_fn_config_dll gdi.exe16 enable_win16
18373 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
18374 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
18375 wine_fn_config_dll gdiplus enable_gdiplus implib
18376 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
18377 wine_fn_config_dll glu32 enable_glu32 implib
18378 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18379 wine_fn_config_dll gpkcsp enable_gpkcsp
18380 wine_fn_config_dll hal enable_hal
18381 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib htmlhelp
18382 wine_fn_config_dll hid enable_hid implib
18383 wine_fn_config_test dlls
/hid
/tests hid_test
18384 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18385 wine_fn_config_dll hlink enable_hlink clean
,implib
18386 wine_fn_config_test dlls
/hlink
/tests hlink_test
18387 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18388 wine_fn_config_test dlls
/hnetcfg
/tests hnetcfg_test
18389 wine_fn_config_dll httpapi enable_httpapi
18390 wine_fn_config_dll iccvid enable_iccvid clean
18391 wine_fn_config_dll icmp enable_icmp
18392 wine_fn_config_dll ieframe enable_ieframe clean
,implib
18393 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
18394 wine_fn_config_dll ieproxy enable_ieproxy clean
18395 wine_fn_config_dll ifsmgr.vxd enable_win16
18396 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18397 wine_fn_config_dll imagehlp enable_imagehlp implib
18398 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
18399 wine_fn_config_dll imm.dll16 enable_win16
18400 wine_fn_config_dll imm32 enable_imm32 implib
18401 wine_fn_config_test dlls
/imm32
/tests imm32_test
18402 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
18403 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
18404 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18405 wine_fn_config_dll inetmib1 enable_inetmib1
18406 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
18407 wine_fn_config_dll infosoft enable_infosoft clean
18408 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
18409 wine_fn_config_dll initpki enable_initpki
18410 wine_fn_config_dll inkobj enable_inkobj
18411 wine_fn_config_dll inseng enable_inseng clean
18412 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18413 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
18414 wine_fn_config_dll iprop enable_iprop
18415 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18416 wine_fn_config_dll itircl enable_itircl
18417 wine_fn_config_dll itss enable_itss clean
18418 wine_fn_config_test dlls
/itss
/tests itss_test
18419 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18420 wine_fn_config_dll jscript enable_jscript clean
18421 wine_fn_config_test dlls
/jscript
/tests jscript_test
18422 wine_fn_config_dll jsproxy enable_jsproxy implib
18423 wine_fn_config_test dlls
/jsproxy
/tests jsproxy_test
18424 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
18425 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
18426 wine_fn_config_dll kernelbase enable_kernelbase
18427 wine_fn_config_dll keyboard.drv16 enable_win16
18428 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18429 wine_fn_config_dll ksuser enable_ksuser
18430 wine_fn_config_dll ktmw32 enable_ktmw32
18431 wine_fn_config_dll loadperf enable_loadperf implib
18432 wine_fn_config_dll localspl enable_localspl clean
18433 wine_fn_config_test dlls
/localspl
/tests localspl_test
18434 wine_fn_config_dll localui enable_localui clean
18435 wine_fn_config_test dlls
/localui
/tests localui_test
18436 wine_fn_config_dll lz32 enable_lz32 implib
18437 wine_fn_config_test dlls
/lz32
/tests lz32_test
18438 wine_fn_config_dll lzexpand.dll16 enable_win16
18439 wine_fn_config_dll mapi32 enable_mapi32 clean
,implib
18440 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
18441 wine_fn_config_dll mapistub enable_mapistub
18442 wine_fn_config_dll mciavi32 enable_mciavi32
18443 wine_fn_config_dll mcicda enable_mcicda
18444 wine_fn_config_dll mciqtz32 enable_mciqtz32
18445 wine_fn_config_dll mciseq enable_mciseq
18446 wine_fn_config_dll mciwave enable_mciwave
18447 wine_fn_config_dll mf enable_mf implib
18448 wine_fn_config_test dlls
/mf
/tests mf_test
18449 wine_fn_config_dll mf3216 enable_mf3216
18450 wine_fn_config_dll mfplat enable_mfplat implib
18451 wine_fn_config_test dlls
/mfplat
/tests mfplat_test
18452 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18453 wine_fn_config_dll mgmtapi enable_mgmtapi
18454 wine_fn_config_dll midimap enable_midimap
18455 wine_fn_config_dll mlang enable_mlang clean
,implib
18456 wine_fn_config_test dlls
/mlang
/tests mlang_test
18457 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18458 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
18459 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18460 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
18461 wine_fn_config_dll mmdevldr.vxd enable_win16
18462 wine_fn_config_dll mmsystem.dll16 enable_win16
18463 wine_fn_config_dll monodebg.vxd enable_win16
18464 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18465 wine_fn_config_dll mouse.drv16 enable_win16
18466 wine_fn_config_dll mpr enable_mpr clean
,implib
18467 wine_fn_config_test dlls
/mpr
/tests mpr_test
18468 wine_fn_config_dll mprapi enable_mprapi implib
18469 wine_fn_config_dll msacm.dll16 enable_win16
18470 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18471 wine_fn_config_dll msacm32 enable_msacm32 clean
,implib
18472 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
18473 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18474 wine_fn_config_dll msasn1 enable_msasn1 implib
18475 wine_fn_config_dll mscat32 enable_mscat32
18476 wine_fn_config_dll mscms enable_mscms implib
18477 wine_fn_config_test dlls
/mscms
/tests mscms_test
18478 wine_fn_config_dll mscoree enable_mscoree clean
18479 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
18480 wine_fn_config_dll msctf enable_msctf clean
18481 wine_fn_config_test dlls
/msctf
/tests msctf_test
18482 wine_fn_config_dll msctfp enable_msctfp clean
18483 wine_fn_config_dll msdaps enable_msdaps clean
18484 wine_fn_config_dll msdelta enable_msdelta
18485 wine_fn_config_dll msdmo enable_msdmo implib
18486 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
18487 wine_fn_config_dll msdrm enable_msdrm
18488 wine_fn_config_dll msftedit enable_msftedit
18489 wine_fn_config_dll msg711.acm enable_msg711_acm
18490 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18491 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18492 wine_fn_config_dll mshtml enable_mshtml clean
,implib
18493 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
18494 wine_fn_config_dll msi enable_msi clean
,implib
18495 wine_fn_config_test dlls
/msi
/tests msi_test
18496 wine_fn_config_dll msident enable_msident clean
18497 wine_fn_config_dll msimg32 enable_msimg32 implib
18498 wine_fn_config_dll msimsg enable_msimsg
18499 wine_fn_config_dll msimtf enable_msimtf clean
18500 wine_fn_config_dll msisip enable_msisip
18501 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18502 wine_fn_config_dll msls31 enable_msls31
18503 wine_fn_config_dll msnet32 enable_msnet32
18504 wine_fn_config_dll mspatcha enable_mspatcha implib
18505 wine_fn_config_dll msports enable_msports
18506 wine_fn_config_dll msrle32 enable_msrle32 clean
18507 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
18508 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18509 wine_fn_config_test dlls
/msscript.ocx
/tests msscript.ocx_test clean
18510 wine_fn_config_dll mssign32 enable_mssign32
18511 wine_fn_config_dll mssip32 enable_mssip32
18512 wine_fn_config_dll mstask enable_mstask clean
18513 wine_fn_config_test dlls
/mstask
/tests mstask_test
18514 wine_fn_config_dll msvcirt enable_msvcirt
18515 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
18516 wine_fn_config_dll msvcm80 enable_msvcm80
18517 wine_fn_config_dll msvcm90 enable_msvcm90
18518 wine_fn_config_dll msvcp100 enable_msvcp100
18519 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
18520 wine_fn_config_dll msvcp110 enable_msvcp110
18521 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
18522 wine_fn_config_dll msvcp120 enable_msvcp120
18523 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
18524 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18525 wine_fn_config_dll msvcp140 enable_msvcp140
18526 wine_fn_config_test dlls
/msvcp140
/tests msvcp140_test
18527 wine_fn_config_dll msvcp60 enable_msvcp60
18528 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
18529 wine_fn_config_dll msvcp70 enable_msvcp70
18530 wine_fn_config_dll msvcp71 enable_msvcp71
18531 wine_fn_config_dll msvcp80 enable_msvcp80
18532 wine_fn_config_dll msvcp90 enable_msvcp90
18533 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
18534 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18535 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
18536 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18537 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18538 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
18539 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18540 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18541 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18542 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18543 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18544 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
18545 wine_fn_config_dll msvcrt enable_msvcrt implib
18546 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
18547 wine_fn_config_dll msvcrt20 enable_msvcrt20
18548 wine_fn_config_dll msvcrt40 enable_msvcrt40
18549 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18550 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
18551 wine_fn_config_dll msvfw32 enable_msvfw32 clean
,implib
18552 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
18553 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18554 wine_fn_config_dll msvideo.dll16 enable_win16
18555 wine_fn_config_dll mswsock enable_mswsock implib
18556 wine_fn_config_dll msxml enable_msxml clean
18557 wine_fn_config_dll msxml2 enable_msxml2 clean
18558 wine_fn_config_dll msxml3 enable_msxml3 clean
18559 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
18560 wine_fn_config_dll msxml4 enable_msxml4 clean
18561 wine_fn_config_dll msxml6 enable_msxml6 clean
18562 wine_fn_config_dll mtxdm enable_mtxdm
18563 wine_fn_config_dll ncrypt enable_ncrypt
18564 wine_fn_config_dll nddeapi enable_nddeapi implib
18565 wine_fn_config_dll ndis.sys enable_ndis_sys
18566 wine_fn_config_dll netapi32 enable_netapi32 implib
18567 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
18568 wine_fn_config_dll netcfgx enable_netcfgx clean
18569 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
18570 wine_fn_config_dll netprofm enable_netprofm clean
18571 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
18572 wine_fn_config_dll newdev enable_newdev implib
18573 wine_fn_config_dll normaliz enable_normaliz implib
18574 wine_fn_config_dll npmshtml enable_npmshtml
18575 wine_fn_config_dll npptools enable_npptools
18576 wine_fn_config_dll ntdll enable_ntdll implib
18577 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
18578 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18579 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
18580 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18581 wine_fn_config_dll ntprint enable_ntprint
18582 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
18583 wine_fn_config_dll objsel enable_objsel clean
18584 wine_fn_config_dll odbc32 enable_odbc32 implib
18585 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18586 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
18587 wine_fn_config_dll odbccu32 enable_odbccu32
18588 wine_fn_config_dll ole2.dll16 enable_win16
18589 wine_fn_config_dll ole2conv.dll16 enable_win16
18590 wine_fn_config_dll ole2disp.dll16 enable_win16
18591 wine_fn_config_dll ole2nls.dll16 enable_win16
18592 wine_fn_config_dll ole2prox.dll16 enable_win16
18593 wine_fn_config_dll ole2thk.dll16 enable_win16
18594 wine_fn_config_dll ole32 enable_ole32 clean
,implib
18595 wine_fn_config_test dlls
/ole32
/tests ole32_test
18596 wine_fn_config_dll oleacc enable_oleacc clean
,implib
18597 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
18598 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
18599 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
18600 wine_fn_config_dll olecli.dll16 enable_win16
18601 wine_fn_config_dll olecli32 enable_olecli32 implib
18602 wine_fn_config_dll oledb32 enable_oledb32 clean
18603 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
18604 wine_fn_config_dll oledlg enable_oledlg clean
,implib
18605 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
18606 wine_fn_config_dll olepro32 enable_olepro32 clean
,implib
18607 wine_fn_config_dll olesvr.dll16 enable_win16
18608 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18609 wine_fn_config_dll olethk32 enable_olethk32
18610 wine_fn_config_dll openal32 enable_openal32
18611 wine_fn_config_dll opencl enable_opencl
18612 wine_fn_config_dll opengl32 enable_opengl32 implib
18613 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
18614 wine_fn_config_dll packager enable_packager clean
18615 wine_fn_config_test dlls
/packager
/tests packager_test
18616 wine_fn_config_dll pdh enable_pdh implib
18617 wine_fn_config_test dlls
/pdh
/tests pdh_test
18618 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18619 wine_fn_config_dll pidgen enable_pidgen
18620 wine_fn_config_dll powrprof enable_powrprof implib
18621 wine_fn_config_dll printui enable_printui
18622 wine_fn_config_dll prntvpt enable_prntvpt
18623 wine_fn_config_dll propsys enable_propsys clean
,implib
18624 wine_fn_config_test dlls
/propsys
/tests propsys_test
18625 wine_fn_config_dll psapi enable_psapi implib
18626 wine_fn_config_test dlls
/psapi
/tests psapi_test
18627 wine_fn_config_dll pstorec enable_pstorec clean
18628 wine_fn_config_test dlls
/pstorec
/tests pstorec_test
18629 wine_fn_config_dll qcap enable_qcap
18630 wine_fn_config_test dlls
/qcap
/tests qcap_test
18631 wine_fn_config_dll qedit enable_qedit clean
18632 wine_fn_config_test dlls
/qedit
/tests qedit_test
18633 wine_fn_config_dll qmgr enable_qmgr clean
18634 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
18635 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18636 wine_fn_config_dll quartz enable_quartz clean
,implib
18637 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
18638 wine_fn_config_dll query enable_query
18639 wine_fn_config_dll rasapi16.dll16 enable_win16
18640 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18641 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
18642 wine_fn_config_dll rasdlg enable_rasdlg implib
18643 wine_fn_config_dll regapi enable_regapi
18644 wine_fn_config_dll resutils enable_resutils implib
18645 wine_fn_config_dll riched20 enable_riched20 clean
,implib
18646 wine_fn_config_test dlls
/riched20
/tests riched20_test
18647 wine_fn_config_dll riched32 enable_riched32
18648 wine_fn_config_test dlls
/riched32
/tests riched32_test
18649 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
18650 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
18651 wine_fn_config_dll rsabase enable_rsabase
18652 wine_fn_config_dll rsaenh enable_rsaenh implib
18653 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
18654 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18655 wine_fn_config_dll rtutils enable_rtutils implib
18656 wine_fn_config_dll samlib enable_samlib
18657 wine_fn_config_dll sane.ds enable_sane_ds clean
18658 wine_fn_config_dll scarddlg enable_scarddlg
18659 wine_fn_config_dll sccbase enable_sccbase
18660 wine_fn_config_dll schannel enable_schannel
18661 wine_fn_config_test dlls
/schannel
/tests schannel_test
18662 wine_fn_config_dll schedsvc enable_schedsvc clean
18663 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
18664 wine_fn_config_dll scrobj enable_scrobj clean
18665 wine_fn_config_dll scrrun enable_scrrun clean
18666 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
18667 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18668 wine_fn_config_dll secur32 enable_secur32 implib
18669 wine_fn_config_test dlls
/secur32
/tests secur32_test
18670 wine_fn_config_dll security enable_security
18671 wine_fn_config_dll sensapi enable_sensapi implib
18672 wine_fn_config_dll serialui enable_serialui clean
18673 wine_fn_config_test dlls
/serialui
/tests serialui_test
18674 wine_fn_config_dll setupapi enable_setupapi clean
,implib
18675 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
18676 wine_fn_config_dll setupx.dll16 enable_win16
18677 wine_fn_config_dll sfc enable_sfc implib
18678 wine_fn_config_dll sfc_os enable_sfc_os implib
18679 wine_fn_config_dll shdoclc enable_shdoclc clean
18680 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
18681 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
18682 wine_fn_config_dll shell.dll16 enable_win16
18683 wine_fn_config_dll shell32 enable_shell32 clean
,implib
18684 wine_fn_config_test dlls
/shell32
/tests shell32_test
18685 wine_fn_config_dll shfolder enable_shfolder implib
18686 wine_fn_config_dll shlwapi enable_shlwapi clean
,implib
18687 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
18688 wine_fn_config_dll slbcsp enable_slbcsp
18689 wine_fn_config_dll slc enable_slc implib
18690 wine_fn_config_test dlls
/slc
/tests slc_test
18691 wine_fn_config_dll snmpapi enable_snmpapi implib
18692 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
18693 wine_fn_config_dll softpub enable_softpub
18694 wine_fn_config_dll sound.drv16 enable_win16
18695 wine_fn_config_dll spoolss enable_spoolss implib
18696 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
18697 wine_fn_config_dll sspicli enable_sspicli
18698 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18699 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18700 wine_fn_config_dll sti enable_sti clean
,implib
18701 wine_fn_config_test dlls
/sti
/tests sti_test
18702 wine_fn_config_dll storage.dll16 enable_win16
18703 wine_fn_config_dll stress.dll16 enable_win16
18704 wine_fn_config_lib strmbase
18705 wine_fn_config_lib strmiids
18706 wine_fn_config_dll svrapi enable_svrapi
18707 wine_fn_config_dll sxs enable_sxs implib
18708 wine_fn_config_test dlls
/sxs
/tests sxs_test
18709 wine_fn_config_dll system.drv16 enable_win16
18710 wine_fn_config_dll t2embed enable_t2embed implib
18711 wine_fn_config_test dlls
/t2embed
/tests t2embed_test
18712 wine_fn_config_dll tapi32 enable_tapi32 implib
18713 wine_fn_config_dll taskschd enable_taskschd clean
18714 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
18715 wine_fn_config_dll tdh enable_tdh
18716 wine_fn_config_dll tdi.sys enable_tdi_sys
18717 wine_fn_config_dll toolhelp.dll16 enable_win16
18718 wine_fn_config_dll traffic enable_traffic
18719 wine_fn_config_dll twain.dll16 enable_win16
18720 wine_fn_config_dll twain_32 enable_twain_32
18721 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
18722 wine_fn_config_dll typelib.dll16 enable_win16
18723 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18724 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
18725 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18726 wine_fn_config_dll uiribbon enable_uiribbon clean
18727 wine_fn_config_dll unicows enable_unicows implib
18728 wine_fn_config_dll updspapi enable_updspapi
18729 wine_fn_config_dll url enable_url implib
18730 wine_fn_config_dll urlmon enable_urlmon clean
,implib
18731 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
18732 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18733 wine_fn_config_dll user.exe16 enable_win16
18734 wine_fn_config_dll user32 enable_user32 clean
,implib
18735 wine_fn_config_test dlls
/user32
/tests user32_test
18736 wine_fn_config_dll userenv enable_userenv implib
18737 wine_fn_config_test dlls
/userenv
/tests userenv_test
18738 wine_fn_config_dll usp10 enable_usp10 implib
18739 wine_fn_config_test dlls
/usp10
/tests usp10_test
18740 wine_fn_config_lib uuid
18741 wine_fn_config_dll uxtheme enable_uxtheme implib
18742 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
18743 wine_fn_config_dll vbscript enable_vbscript clean
18744 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
18745 wine_fn_config_dll vcomp enable_vcomp
18746 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
18747 wine_fn_config_dll vcomp100 enable_vcomp100
18748 wine_fn_config_dll vcomp110 enable_vcomp110
18749 wine_fn_config_dll vcomp120 enable_vcomp120
18750 wine_fn_config_dll vcomp140 enable_vcomp140
18751 wine_fn_config_dll vcomp90 enable_vcomp90
18752 wine_fn_config_dll vcruntime140 enable_vcruntime140
18753 wine_fn_config_dll vdhcp.vxd enable_win16
18754 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18755 wine_fn_config_dll ver.dll16 enable_win16
18756 wine_fn_config_dll version enable_version implib
18757 wine_fn_config_test dlls
/version
/tests version_test
18758 wine_fn_config_dll virtdisk enable_virtdisk
18759 wine_fn_config_dll vmm.vxd enable_win16
18760 wine_fn_config_dll vnbt.vxd enable_win16
18761 wine_fn_config_dll vnetbios.vxd enable_win16
18762 wine_fn_config_dll vssapi enable_vssapi
18763 wine_fn_config_dll vtdapi.vxd enable_win16
18764 wine_fn_config_dll vwin32.vxd enable_win16
18765 wine_fn_config_dll w32skrnl enable_win16
18766 wine_fn_config_dll w32sys.dll16 enable_win16
18767 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18768 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
18769 wine_fn_config_dll wbemprox enable_wbemprox clean
18770 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
18771 wine_fn_config_dll webservices enable_webservices implib
18772 wine_fn_config_test dlls
/webservices
/tests webservices_test
18773 wine_fn_config_dll wer enable_wer implib
18774 wine_fn_config_test dlls
/wer
/tests wer_test
18775 wine_fn_config_dll wevtapi enable_wevtapi
18776 wine_fn_config_dll wiaservc enable_wiaservc clean
18777 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
18778 wine_fn_config_dll wimgapi enable_wimgapi
18779 wine_fn_config_dll win32s16.dll16 enable_win16
18780 wine_fn_config_dll win87em.dll16 enable_win16
18781 wine_fn_config_dll winaspi.dll16 enable_win16
18782 wine_fn_config_dll windebug.dll16 enable_win16
18783 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
18784 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
18785 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18786 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
18787 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18788 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18789 wine_fn_config_dll winebus.sys enable_winebus_sys
18790 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18791 wine_fn_config_lib winecrt0
18792 wine_fn_config_dll wined3d enable_wined3d implib
18793 wine_fn_config_dll winegstreamer enable_winegstreamer
18794 wine_fn_config_dll winehid.sys enable_winehid_sys
18795 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18796 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18797 wine_fn_config_dll winemapi enable_winemapi
18798 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18799 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18800 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18801 wine_fn_config_dll wineps16.drv16 enable_win16
18802 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18803 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18804 wine_fn_config_dll winex11.drv enable_winex11_drv
18805 wine_fn_config_dll wing.dll16 enable_win16
18806 wine_fn_config_dll wing32 enable_wing32
18807 wine_fn_config_dll winhttp enable_winhttp clean
,implib
18808 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
18809 wine_fn_config_dll wininet enable_wininet clean
,implib
18810 wine_fn_config_test dlls
/wininet
/tests wininet_test
18811 wine_fn_config_dll winmm enable_winmm clean
,implib
18812 wine_fn_config_test dlls
/winmm
/tests winmm_test
18813 wine_fn_config_dll winnls.dll16 enable_win16
18814 wine_fn_config_dll winnls32 enable_winnls32 implib
18815 wine_fn_config_dll winscard enable_winscard implib
18816 wine_fn_config_dll winsock.dll16 enable_win16
18817 wine_fn_config_dll winspool.drv enable_winspool_drv clean
,implib winspool
18818 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
18819 wine_fn_config_dll winsta enable_winsta
18820 wine_fn_config_dll wintab.dll16 enable_win16
18821 wine_fn_config_dll wintab32 enable_wintab32 implib
18822 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
18823 wine_fn_config_dll wintrust enable_wintrust implib
18824 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
18825 wine_fn_config_dll winusb enable_winusb
18826 wine_fn_config_dll wlanapi enable_wlanapi implib
18827 wine_fn_config_test dlls
/wlanapi
/tests wlanapi_test
18828 wine_fn_config_dll wldap32 enable_wldap32 clean
,implib
18829 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
18830 wine_fn_config_dll wmasf enable_wmasf
18831 wine_fn_config_dll wmi enable_wmi
18832 wine_fn_config_dll wmiutils enable_wmiutils clean
18833 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
18834 wine_fn_config_dll wmp enable_wmp clean
18835 wine_fn_config_test dlls
/wmp
/tests wmp_test
18836 wine_fn_config_dll wmphoto enable_wmphoto clean
18837 wine_fn_config_dll wmvcore enable_wmvcore implib
18838 wine_fn_config_test dlls
/wmvcore
/tests wmvcore_test
18839 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18840 wine_fn_config_dll wow32 enable_win16 implib
18841 wine_fn_config_dll wpc enable_wpc clean
18842 wine_fn_config_test dlls
/wpc
/tests wpc_test
18843 wine_fn_config_dll wpcap enable_wpcap
18844 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18845 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
18846 wine_fn_config_dll wsdapi enable_wsdapi implib
18847 wine_fn_config_test dlls
/wsdapi
/tests wsdapi_test
18848 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18849 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
18850 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18851 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
18852 wine_fn_config_dll wsock32 enable_wsock32 implib
18853 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18854 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
18855 wine_fn_config_dll wuapi enable_wuapi clean
18856 wine_fn_config_dll wuaueng enable_wuaueng
18857 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18858 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18859 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18860 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18861 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18862 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18863 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18864 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18865 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18866 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18867 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18868 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18869 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18870 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18871 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18872 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18873 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18874 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18875 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18876 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18877 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18878 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
18879 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18880 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18881 wine_fn_config_dll xinput1_1 enable_xinput1_1
18882 wine_fn_config_dll xinput1_2 enable_xinput1_2
18883 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18884 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
18885 wine_fn_config_dll xinput1_4 enable_xinput1_4
18886 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18887 wine_fn_config_dll xmllite enable_xmllite implib
18888 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
18889 wine_fn_config_dll xolehlp enable_xolehlp
18890 wine_fn_config_dll xpsprint enable_xpsprint
18891 wine_fn_config_dll xpssvcs enable_xpssvcs
18892 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
18893 wine_fn_config_makefile include enable_include clean
,install-dev
18894 wine_fn_config_makefile libs
/port enable_libs_port
18895 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,implib
,install-dev
,install-lib
18896 wine_fn_config_makefile libs
/wpp enable_libs_wpp
18897 wine_fn_config_makefile loader enable_loader clean
,install-lib
18898 wine_fn_config_makefile po enable_po clean
18899 wine_fn_config_program arp enable_arp
install
18900 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
18901 wine_fn_config_program attrib enable_attrib clean
,install
18902 wine_fn_config_program cabarc enable_cabarc
install
18903 wine_fn_config_program cacls enable_cacls
install
18904 wine_fn_config_program
clock enable_clock clean
,install
18905 wine_fn_config_program cmd enable_cmd clean
,install
18906 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
18907 wine_fn_config_program conhost enable_conhost
install
18908 wine_fn_config_program control enable_control
install
18909 wine_fn_config_program cscript enable_cscript clean
,install
18910 wine_fn_config_program dpnsvr enable_dpnsvr
install
18911 wine_fn_config_program dxdiag enable_dxdiag clean
,install
18912 wine_fn_config_program eject enable_eject
install
18913 wine_fn_config_program
expand enable_expand
install
18914 wine_fn_config_program explorer enable_explorer clean
,install
18915 wine_fn_config_program extrac32 enable_extrac32
install
18916 wine_fn_config_program findstr enable_findstr
install
18917 wine_fn_config_program fsutil enable_fsutil
install
18918 wine_fn_config_program hh enable_hh
install
18919 wine_fn_config_program hostname enable_hostname clean
,install
18920 wine_fn_config_program icacls enable_icacls
install
18921 wine_fn_config_program icinfo enable_icinfo
install
18922 wine_fn_config_program iexplore enable_iexplore
install
18923 wine_fn_config_program ipconfig enable_ipconfig clean
,install
18924 wine_fn_config_program lodctr enable_lodctr
install
18925 wine_fn_config_program mofcomp enable_mofcomp
install
18926 wine_fn_config_program mshta enable_mshta
install
18927 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18928 wine_fn_config_program msinfo32 enable_msinfo32 clean
,install
18929 wine_fn_config_program net enable_net clean
,install
18930 wine_fn_config_program netsh enable_netsh
install
18931 wine_fn_config_program netstat enable_netstat clean
,install
18932 wine_fn_config_program ngen enable_ngen
install
18933 wine_fn_config_program notepad enable_notepad clean
,install,installbin
,manpage
18934 wine_fn_config_program oleview enable_oleview clean
,install
18935 wine_fn_config_program
ping enable_ping
install
18936 wine_fn_config_program plugplay enable_plugplay
install
18937 wine_fn_config_program powershell enable_powershell
install
18938 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18939 wine_fn_config_program progman enable_progman clean
,install
18940 wine_fn_config_program reg enable_reg clean
,install
18941 wine_fn_config_test programs
/reg
/tests reg.exe_test
18942 wine_fn_config_program regasm enable_regasm
install
18943 wine_fn_config_program regedit enable_regedit clean
,install,installbin
,manpage
18944 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18945 wine_fn_config_program regsvcs enable_regsvcs
install
18946 wine_fn_config_program regsvr32 enable_regsvr32 clean
,install,installbin
,manpage
18947 wine_fn_config_program rpcss enable_rpcss clean
,install
18948 wine_fn_config_program rundll.exe16 enable_win16
install
18949 wine_fn_config_program rundll32 enable_rundll32
install
18950 wine_fn_config_program sc enable_sc
install
18951 wine_fn_config_program schtasks enable_schtasks
install
18952 wine_fn_config_program sdbinst enable_sdbinst
install
18953 wine_fn_config_program secedit enable_secedit
install
18954 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18955 wine_fn_config_program services enable_services clean
,install
18956 wine_fn_config_test programs
/services
/tests services.exe_test
18957 wine_fn_config_program shutdown enable_shutdown
install
18958 wine_fn_config_program spoolsv enable_spoolsv
install
18959 wine_fn_config_program start enable_start clean
,install
18960 wine_fn_config_program subst enable_subst
install
18961 wine_fn_config_program svchost enable_svchost
install
18962 wine_fn_config_program systeminfo enable_systeminfo
install
18963 wine_fn_config_program taskkill enable_taskkill clean
,install
18964 wine_fn_config_program tasklist enable_tasklist
install
18965 wine_fn_config_program taskmgr enable_taskmgr clean
,install
18966 wine_fn_config_program termsv enable_termsv
install
18967 wine_fn_config_program uninstaller enable_uninstaller clean
,install
18968 wine_fn_config_program unlodctr enable_unlodctr
install
18969 wine_fn_config_program view enable_view clean
,install
18970 wine_fn_config_program wevtutil enable_wevtutil
install
18971 wine_fn_config_program wineboot enable_wineboot clean
,install,installbin
,manpage
18972 wine_fn_config_program winebrowser enable_winebrowser
install
18973 wine_fn_config_program winecfg enable_winecfg clean
,install,installbin
,manpage
18974 wine_fn_config_program wineconsole enable_wineconsole clean
,install,installbin
,manpage
18975 wine_fn_config_program winedbg enable_winedbg clean
,install,installbin
,manpage
18976 wine_fn_config_program winedevice enable_winedevice
install
18977 wine_fn_config_program winefile enable_winefile clean
,install,installbin
,manpage
18978 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18979 wine_fn_config_program winemine enable_winemine clean
,install,installbin
,manpage
18980 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18981 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18982 wine_fn_config_program winetest enable_winetest clean
18983 wine_fn_config_program winevdm enable_win16
install
18984 wine_fn_config_program winhelp.exe16 enable_win16
install
18985 wine_fn_config_program winhlp32 enable_winhlp32 clean
,install
18986 wine_fn_config_program winoldap.mod16 enable_win16
install
18987 wine_fn_config_program winver enable_winver
install
18988 wine_fn_config_program wmic enable_wmic clean
,install
18989 wine_fn_config_program wmplayer enable_wmplayer
install
18990 wine_fn_config_program wordpad enable_wordpad clean
,install
18991 wine_fn_config_program
write enable_write clean
,install
18992 wine_fn_config_program wscript enable_wscript clean
,install
18993 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18994 wine_fn_config_program wusa enable_wusa
install
18995 wine_fn_config_program xcopy enable_xcopy clean
,install
18996 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18997 wine_fn_config_makefile server enable_server clean
,install-lib
18998 wine_fn_config_tool tools clean
18999 wine_fn_config_tool tools
/sfnt2fon clean
19000 wine_fn_config_tool tools
/widl clean
,install-dev
19001 wine_fn_config_tool tools
/winebuild clean
,install-dev
19002 wine_fn_config_tool tools
/winedump clean
,install-dev
19003 wine_fn_config_tool tools
/winegcc clean
,install-dev
19004 wine_fn_config_tool tools
/winemaker clean
,install-dev
19005 wine_fn_config_tool tools
/wmc clean
,install-dev
19006 wine_fn_config_tool tools
/wrc clean
,install-dev
19009 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
19010 wine_fn_append_file CONFIGURE_TARGETS
"tags"
19011 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
19012 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
19013 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
19014 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
19015 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
19016 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
19018 if test "x$enable_tools" != xno
19020 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
19021 ac_config_commands
="$ac_config_commands tools/makedep"
19025 ac_config_commands
="$ac_config_commands Makefile"
19028 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
19032 if test "x$enable_maintainer_mode" = xyes
19034 wine_fn_append_rule
"configure: configure.ac aclocal.m4
19035 autoconf --warnings=all
19036 include/config.h.in: include/stamp-h.in
19037 include/stamp-h.in: configure.ac aclocal.m4
19038 autoheader --warnings=all
19039 @echo timestamp > \$@"
19042 if test "x$enable_tools" != xno
19044 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19045 @./config.status tools/makedep
19046 Makefile: tools/makedep$ac_exeext"
19048 wine_fn_append_rule
"\$(MAKEDEP):
19049 @echo \"You need to run make in $TOOLSDIR first\" && false"
19052 if test -n "$with_wine64"
19054 wine_fn_append_rule
"all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19056 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19057 $with_wine64/loader/wine:
19058 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19059 $with_wine64/loader/wine-preloader:
19060 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19062 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19064 WINELOADER_INSTALL
="wine.inf"
19066 wine_fn_append_rule
"install install-lib::
19067 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19069 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
19071 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
19072 *) wine_fn_append_rule
"install install-lib::
19073 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19075 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19079 $as_echo " done" >&6
19080 cat >confcache
<<\_ACEOF
19081 # This file is a shell script that caches the results of configure
19082 # tests run on this system so they can be shared between configure
19083 # scripts and configure runs, see configure's option --config-cache.
19084 # It is not useful on other systems. If it contains results you don't
19085 # want to keep, you may remove or edit it.
19087 # config.status only pays attention to the cache file if you give it
19088 # the --recheck option to rerun configure.
19090 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19091 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19092 # following values.
19096 # The following way of writing the cache mishandles newlines in values,
19097 # but we know of no workaround that is simple, portable, and efficient.
19098 # So, we kill variables containing newlines.
19099 # Ultrix sh set writes to stderr and can't be redirected directly,
19100 # and sets the high bit in the cache file unless we assign to the vars.
19102 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19103 eval ac_val
=\$
$ac_var
19107 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19108 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19111 _ | IFS | as_nl
) ;; #(
19112 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19113 *) { eval $ac_var=; unset $ac_var;} ;;
19119 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19120 *${as_nl}ac_space
=\
*)
19121 # `set' does not quote correctly, so add quotes: double-quote
19122 # substitution turns \\\\ into \\, and sed turns \\ into \.
19125 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19128 # `set' quotes correctly as required by POSIX, so do not add quotes.
19129 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19138 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19140 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19142 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19143 if test -w "$cache_file"; then
19144 if test "x$cache_file" != "x/dev/null"; then
19145 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19146 $as_echo "$as_me: updating cache $cache_file" >&6;}
19147 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
19148 cat confcache
>"$cache_file"
19150 case $cache_file in #(
19152 mv -f confcache
"$cache_file"$$
&&
19153 mv -f "$cache_file"$$
"$cache_file" ;; #(
19155 mv -f confcache
"$cache_file" ;;
19160 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19161 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19166 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19167 # Let make expand exec_prefix.
19168 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19170 DEFS
=-DHAVE_CONFIG_H
19175 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19176 # 1. Remove the extension, and $U if already installed.
19177 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19178 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19179 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19180 # will be set to the directory where LIBOBJS objects are built.
19181 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19182 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19184 LIBOBJS
=$ac_libobjs
19186 LTLIBOBJS
=$ac_ltlibobjs
19190 : "${CONFIG_STATUS=./config.status}"
19192 ac_clean_files_save
=$ac_clean_files
19193 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19195 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19197 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19199 # Generated by $as_me.
19200 # Run this file to recreate the current configuration.
19201 # Compiler output produced by configure, useful for debugging
19202 # configure, is in config.log if it exists.
19205 ac_cs_recheck=false
19208 SHELL=\${CONFIG_SHELL-$SHELL}
19211 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19212 ## -------------------- ##
19213 ## M4sh Initialization. ##
19214 ## -------------------- ##
19216 # Be more Bourne compatible
19217 DUALCASE
=1; export DUALCASE
# for MKS sh
19218 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19221 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19222 # is contrary to our usage. Disable this feature.
19223 alias -g '${1+"$@"}'='"$@"'
19224 setopt NO_GLOB_SUBST
19226 case `(set -o) 2>/dev/null` in #(
19238 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19239 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19240 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19241 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19242 # Prefer a ksh shell builtin over an external printf program on Solaris,
19243 # but without wasting forks for bash or zsh.
19244 if test -z "$BASH_VERSION$ZSH_VERSION" \
19245 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19246 as_echo='print
-r --'
19247 as_echo_n='print
-rn --'
19248 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19249 as_echo='printf %s
\n'
19250 as_echo_n='printf %s
'
19252 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19253 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19254 as_echo_n='/usr
/ucb
/echo -n'
19256 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19257 as_echo_n_body='eval
19261 expr "X$arg" : "X\\(.*\\)$as_nl";
19262 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19264 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19266 export as_echo_n_body
19267 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19269 export as_echo_body
19270 as_echo='sh
-c $as_echo_body as_echo
'
19273 # The user is always right.
19274 if test "${PATH_SEPARATOR+set}" != set; then
19276 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19277 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19284 # We need space, tab and new line, in precisely that order. Quoting is
19285 # there to prevent editors from complaining about space-tab.
19286 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19287 # splitting by setting IFS to empty value.)
19290 # Find who we are. Look in the path if we contain no directory separator.
19293 *[\\/]* ) as_myself=$0 ;;
19294 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19295 for as_dir in $PATH
19298 test -z "$as_dir" && as_dir=.
19299 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19305 # We did not find ourselves, most probably we were run as `sh COMMAND'
19306 # in which case we are not to be found in the path.
19307 if test "x$as_myself" = x
; then
19310 if test ! -f "$as_myself"; then
19311 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19315 # Unset variables that we do not need and which cause bugs (e.g. in
19316 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19317 # suppresses any "Segmentation fault" message there. '((' could
19318 # trigger a bug in pdksh 5.2.14.
19319 for as_var
in BASH_ENV ENV MAIL MAILPATH
19320 do eval test x\
${$as_var+set} = xset \
19321 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19334 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19337 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19338 # ----------------------------------------
19339 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19340 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19341 # script with STATUS, using 1 if that was 0.
19344 as_status
=$1; test $as_status -eq 0 && as_status
=1
19346 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19347 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19349 $as_echo "$as_me: error: $2" >&2
19350 as_fn_exit
$as_status
19354 # as_fn_set_status STATUS
19355 # -----------------------
19356 # Set $? to STATUS, without forking.
19357 as_fn_set_status
()
19360 } # as_fn_set_status
19362 # as_fn_exit STATUS
19363 # -----------------
19364 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19368 as_fn_set_status
$1
19374 # Portably unset VAR.
19377 { eval $1=; unset $1;}
19379 as_unset
=as_fn_unset
19380 # as_fn_append VAR VALUE
19381 # ----------------------
19382 # Append the text in VALUE to the end of the definition contained in VAR. Take
19383 # advantage of any shell optimizations that allow amortized linear growth over
19384 # repeated appends, instead of the typical quadratic growth present in naive
19386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19387 eval 'as_fn_append ()
19398 # as_fn_arith ARG...
19399 # ------------------
19400 # Perform arithmetic evaluation on the ARGs, and store the result in the
19401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19402 # must be portable across $(()) and expr.
19403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19404 eval 'as_fn_arith ()
19411 as_val
=`expr "$@" || test $? -eq 1`
19416 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19417 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19423 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19424 as_basename
=basename
19429 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19435 as_me
=`$as_basename -- "$0" ||
19436 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19437 X"$0" : 'X\(//\)$' \| \
19438 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19440 sed '/^.*\/\([^/][^/]*\)\/*$/{
19454 # Avoid depending upon Character Ranges.
19455 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19456 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19457 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19458 as_cr_digits
='0123456789'
19459 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19461 ECHO_C
= ECHO_N
= ECHO_T
=
19462 case `echo -n x` in #(((((
19464 case `echo 'xy\c'` in
19465 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19467 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19474 rm -f conf$$ conf$$.exe conf$$.
file
19475 if test -d conf$$.dir
; then
19476 rm -f conf$$.dir
/conf$$.
file
19479 mkdir conf$$.dir
2>/dev
/null
19481 if (echo >conf$$.
file) 2>/dev
/null
; then
19482 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19484 # ... but there are two gotchas:
19485 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19486 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19487 # In both cases, we have to default to `cp -pR'.
19488 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19490 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19498 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19499 rmdir conf$$.dir
2>/dev
/null
19504 # Create "$as_dir" as a directory, including parents if necessary.
19509 -*) as_dir
=.
/$as_dir;;
19511 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19515 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19516 *) as_qdir
=$as_dir;;
19518 as_dirs
="'$as_qdir' $as_dirs"
19519 as_dir
=`$as_dirname -- "$as_dir" ||
19520 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19521 X"$as_dir" : 'X\(//\)[^/]' \| \
19522 X"$as_dir" : 'X\(//\)$' \| \
19523 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19524 $as_echo X"$as_dir" |
19525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19529 /^X\(\/\/\)[^/].*/{
19542 test -d "$as_dir" && break
19544 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19545 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19549 if mkdir
-p .
2>/dev
/null
; then
19550 as_mkdir_p
='mkdir -p "$as_dir"'
19552 test -d .
/-p && rmdir .
/-p
19557 # as_fn_executable_p FILE
19558 # -----------------------
19559 # Test if FILE is an executable regular file.
19560 as_fn_executable_p
()
19562 test -f "$1" && test -x "$1"
19563 } # as_fn_executable_p
19564 as_test_x
='test -x'
19565 as_executable_p
=as_fn_executable_p
19567 # Sed expression to map a string onto a valid CPP name.
19568 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19570 # Sed expression to map a string onto a valid variable name.
19571 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19575 ## ----------------------------------- ##
19576 ## Main body of $CONFIG_STATUS script. ##
19577 ## ----------------------------------- ##
19579 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19582 # Save the log message, to keep $0 and so on meaningful, and to
19583 # report actual input values of CONFIG_FILES etc. instead of their
19584 # values after options handling.
19586 This file was extended by Wine $as_me 2.15, which was
19587 generated by GNU Autoconf 2.69. Invocation command line was
19589 CONFIG_FILES = $CONFIG_FILES
19590 CONFIG_HEADERS = $CONFIG_HEADERS
19591 CONFIG_LINKS = $CONFIG_LINKS
19592 CONFIG_COMMANDS = $CONFIG_COMMANDS
19595 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19600 case $ac_config_files in *"
19601 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19604 case $ac_config_headers in *"
19605 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19610 # Files that config.status was made for.
19611 config_files="$ac_config_files"
19612 config_headers="$ac_config_headers"
19613 config_links="$ac_config_links"
19614 config_commands="$ac_config_commands"
19618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19620 \`$as_me' instantiates files and other configuration actions
19621 from templates according to the current configuration. Unless the files
19622 and actions are specified as TAGs, all are instantiated by default.
19624 Usage: $0 [OPTION]... [TAG]...
19626 -h, --help print this help, then exit
19627 -V, --version print version number and configuration settings, then exit
19628 --config print configuration, then exit
19629 -q, --quiet, --silent
19630 do not print progress messages
19631 -d, --debug don't remove temporary files
19632 --recheck update $as_me by reconfiguring in the same conditions
19633 --file=FILE[:TEMPLATE]
19634 instantiate the configuration file FILE
19635 --header=FILE[:TEMPLATE]
19636 instantiate the configuration header FILE
19638 Configuration files:
19641 Configuration headers:
19644 Configuration links:
19647 Configuration commands:
19650 Report bugs to <wine-devel@winehq.org>.
19651 Wine home page: <http://www.winehq.org>."
19654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19655 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19657 Wine config.status 2.15
19658 configured by $0, generated by GNU Autoconf 2.69,
19659 with options \\"\$ac_cs_config\\"
19661 Copyright (C) 2012 Free Software Foundation, Inc.
19662 This config.status script is free software; the Free Software Foundation
19663 gives unlimited permission to copy, distribute and modify it."
19667 test -n "\$AWK" || AWK=awk
19670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19671 # The default lists apply if the user does not specify any file.
19677 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19678 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19682 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19694 # Handling of the options.
19695 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19697 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19698 $as_echo "$ac_cs_version"; exit ;;
19699 --config |
--confi |
--conf |
--con |
--co |
--c )
19700 $as_echo "$ac_cs_config"; exit ;;
19701 --debug |
--debu |
--deb |
--de |
--d |
-d )
19703 --file |
--fil |
--fi |
--f )
19706 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19707 '') as_fn_error $?
"missing file argument" ;;
19709 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19710 ac_need_defaults
=false
;;
19711 --header |
--heade |
--head |
--hea )
19714 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19716 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19717 ac_need_defaults
=false
;;
19719 # Conflict between --help and --header
19720 as_fn_error $?
"ambiguous option: \`$1'
19721 Try \`$0 --help' for more information.";;
19722 --help |
--hel |
-h )
19723 $as_echo "$ac_cs_usage"; exit ;;
19724 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19725 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19728 # This is an error.
19729 -*) as_fn_error $?
"unrecognized option: \`$1'
19730 Try \`$0 --help' for more information." ;;
19732 *) as_fn_append ac_config_targets
" $1"
19733 ac_need_defaults
=false
;;
19739 ac_configure_extra_args
=
19741 if $ac_cs_silent; then
19743 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19748 if \$ac_cs_recheck; then
19749 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19751 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19752 CONFIG_SHELL='$SHELL'
19753 export CONFIG_SHELL
19758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19762 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19763 ## Running $as_me. ##
19769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19773 wine_fn_output_makedep ()
19775 as_dir=tools; as_fn_mkdir_p
19776 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19778 wine_fn_output_makefile ()
19780 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19781 `cat $wine_rules_file`
19783 as_fn_error $? "could not create Makefile" "$LINENO" 5
19788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19790 # Handling of arguments.
19791 for ac_config_target
in $ac_config_targets
19793 case $ac_config_target in
19794 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19795 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
19796 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19797 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19798 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19799 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19800 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19801 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19802 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
19803 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19804 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
19805 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
19806 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19808 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19813 # If the user did not use the arguments to specify the items to instantiate,
19814 # then the envvar interface is used. Set only those that are not.
19815 # We use the long form for the default assignment because of an extremely
19816 # bizarre bug on SunOS 4.1.3.
19817 if $ac_need_defaults; then
19818 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19819 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19820 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19821 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19824 # Have a temporary directory for convenience. Make it in the build tree
19825 # simply because there is no reason against having it here, and in addition,
19826 # creating and moving files from /tmp can sometimes cause problems.
19827 # Hook for its removal unless debugging.
19828 # Note that there is a small window in which the directory will not be cleaned:
19829 # after its creation but before its name has been assigned to `$tmp'.
19833 trap 'exit_status=$?
19834 : "${ac_tmp:=$tmp}"
19835 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19837 trap 'as_fn_exit 1' 1 2 13 15
19839 # Create a (secure) tmp directory for tmp files.
19842 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19846 tmp
=.
/conf$$
-$RANDOM
19847 (umask 077 && mkdir
"$tmp")
19848 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19851 # Set up the scripts for CONFIG_FILES section.
19852 # No need to generate them if there are no CONFIG_FILES.
19853 # This happens for instance with `./config.status config.h'.
19854 if test -n "$CONFIG_FILES"; then
19857 ac_cr
=`echo X | tr X '\015'`
19858 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19859 # But we know of no other shell where ac_cr would be empty at this
19860 # point, so we can use a bashism as a fallback.
19861 if test "x$ac_cr" = x
; then
19862 eval ac_cr
=\$
\'\\r
\'
19864 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19865 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19868 ac_cs_awk_cr
=$ac_cr
19871 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19876 echo "cat >conf$$subs.awk <<_ACEOF" &&
19877 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19879 } >conf$$subs.sh ||
19880 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19881 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19883 for ac_last_try in false false false false false :; do
19884 . ./conf$$subs.sh ||
19885 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19887 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19888 if test $ac_delim_n = $ac_delim_num; then
19890 elif $ac_last_try; then
19891 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19893 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19896 rm -f conf$$subs.sh
19898 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19899 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19903 s/^/S["/; s
/!.
*/"]=/
19913 s/\(.\{148\}\)..*/\1/
19915 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19920 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19927 s/\(.\{148\}\)..*/\1/
19929 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19933 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19938 ' <conf$$subs.awk | sed '
19943 ' >>$CONFIG_STATUS || ac_write_fail=1
19944 rm -f conf$$subs.awk
19945 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19947 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19948 for (key in S) S_is_set[key] = 1
19954 nfields = split(line, field, "@
")
19956 len = length(field[1])
19957 for (i = 2; i < nfields; i++) {
19959 keylen = length(key)
19960 if (S_is_set[key]) {
19962 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19963 len += length(value) + length(field[++i])
19974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19975 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19976 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19979 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19980 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19983 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19984 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19985 # trailing colons and then remove the whole line if VPATH becomes empty
19986 # (actually we leave an empty line to preserve line numbers).
19987 if test "x
$srcdir" = x.; then
19988 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20007 fi # test -n "$CONFIG_FILES"
20009 # Set up the scripts for CONFIG_HEADERS section.
20010 # No need to generate them if there are no CONFIG_HEADERS.
20011 # This happens for instance with `./config.status Makefile'.
20012 if test -n "$CONFIG_HEADERS"; then
20013 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
20017 # Transform confdefs.h into an awk script `defines.awk', embedded as
20018 # here-document in config.status, that substitutes the proper values into
20019 # config.h.in to produce config.h.
20021 # Create a delimiter string that does not exist in confdefs.h, to ease
20022 # handling of long lines.
20024 for ac_last_try in false false :; do
20025 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
20026 if test -z "$ac_tt"; then
20028 elif $ac_last_try; then
20029 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
20031 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20035 # For the awk script, D is an array of macro values keyed by name,
20036 # likewise P contains macro parameters if any. Preserve backslash
20037 # newline sequences.
20039 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20041 s/.\{148\}/&'"$ac_delim"'/g
20044 s/^[ ]*#[ ]*define[ ][ ]*/ /
20051 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20053 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20057 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20058 D["\
1"]=" \
3\\\\\\n
"\\/p
20060 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20065 s/.\{148\}/&'"$ac_delim"'/g
20070 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
20073 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
20075 ' <confdefs.h | sed '
20076 s/'"$ac_delim"'/"\\\
20077 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20080 for (key in D) D_is_set[key] = 1
20083 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20085 split(line, arg, " ")
20086 if (arg[1] == "#") {
20090 defundef
= substr
(arg
[1], 2)
20093 split(mac1
, mac2
, "(") #)
20095 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
20096 if (D_is_set
[macro
]) {
20097 # Preserve the white space surrounding the "#".
20098 print prefix
"define", macro P
[macro
] D
[macro
]
20101 # Replace #undef with comments. This is necessary, for example,
20102 # in the case of _POSIX_SOURCE, which is predefined and required
20103 # on some systems where configure will not decide to define it.
20104 if (defundef
== "undef") {
20105 print
"/*", prefix defundef
, macro
, "*/"
20113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20114 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
20115 fi # test -n "$CONFIG_HEADERS"
20118 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20123 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20125 case $ac_mode$ac_tag in
20127 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
20128 :[FH
]-) ac_tag
=-:-;;
20129 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20146 -) ac_f
="$ac_tmp/stdin";;
20147 *) # Look for the file first in the build tree, then in the source tree
20148 # (if the path is not absolute). The absolute path cannot be DOS-style,
20149 # because $ac_f cannot contain `:'.
20153 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20155 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20157 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20158 as_fn_append ac_file_inputs
" '$ac_f'"
20161 # Let's still pretend it is `configure' which instantiates (i.e., don't
20162 # use $as_me), people would be surprised to read:
20163 # /* config.h. Generated by config.status. */
20164 configure_input
='Generated from '`
20165 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20167 if test x
"$ac_file" != x-
; then
20168 configure_input
="$ac_file. $configure_input"
20169 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20170 $as_echo "$as_me: creating $ac_file" >&6;}
20172 # Neutralize special characters interpreted by sed in replacement strings.
20173 case $configure_input in #(
20174 *\
&* |
*\|
* |
*\\* )
20175 ac_sed_conf_input
=`$as_echo "$configure_input" |
20176 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20177 *) ac_sed_conf_input
=$configure_input;;
20181 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
20182 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
20187 ac_dir
=`$as_dirname -- "$ac_file" ||
20188 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20189 X"$ac_file" : 'X\(//\)[^/]' \| \
20190 X"$ac_file" : 'X\(//\)$' \| \
20191 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20192 $as_echo X"$ac_file" |
20193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20197 /^X\(\/\/\)[^/].*/{
20210 as_dir
="$ac_dir"; as_fn_mkdir_p
20214 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20216 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20217 # A ".." for each directory in $ac_dir_suffix.
20218 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20219 case $ac_top_builddir_sub in
20220 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20221 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20224 ac_abs_top_builddir
=$ac_pwd
20225 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20226 # for backward compatibility:
20227 ac_top_builddir
=$ac_top_build_prefix
20230 .
) # We are building in place.
20232 ac_top_srcdir
=$ac_top_builddir_sub
20233 ac_abs_top_srcdir
=$ac_pwd ;;
20234 [\\/]* | ?
:[\\/]* ) # Absolute name.
20235 ac_srcdir
=$srcdir$ac_dir_suffix;
20236 ac_top_srcdir
=$srcdir
20237 ac_abs_top_srcdir
=$srcdir ;;
20238 *) # Relative name.
20239 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20240 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20241 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20243 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20255 # If the template does not know about datarootdir, expand it.
20256 # FIXME: This hack should be removed a few years after 2.60.
20257 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20268 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20269 *datarootdir
*) ac_datarootdir_seen
=yes;;
20270 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20272 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20274 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20275 ac_datarootdir_hack='
20276 s&@datadir@&$datadir&g
20277 s&@docdir@&$docdir&g
20278 s&@infodir@&$infodir&g
20279 s&@localedir@&$localedir&g
20280 s&@mandir@&$mandir&g
20281 s&\\\${datarootdir}&$datarootdir&g' ;;
20285 # Neutralize VPATH when `$srcdir' = `.'.
20286 # Shell code in configure.ac might set extrasub.
20287 # FIXME: do we really want to maintain this feature?
20288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20289 ac_sed_extra="$ac_vpsub
20292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20294 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20295 s|@configure_input@|
$ac_sed_conf_input|
;t t
20296 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20297 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
20298 s
&@srcdir@
&$ac_srcdir&;t t
20299 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20300 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20301 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20302 s
&@builddir@
&$ac_builddir&;t t
20303 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20304 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20305 $ac_datarootdir_hack
20307 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
20308 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
20310 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20311 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
20312 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20313 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
20314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20315 which seems to be undefined. Please make sure it is defined" >&5
20316 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20317 which seems to be undefined. Please make sure it is defined" >&2;}
20319 rm -f "$ac_tmp/stdin"
20321 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20322 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20324 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20330 if test x"$ac_file" != x-; then
20332 $as_echo "/* $configure_input */" \
20333 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20334 } >"$ac_tmp/config.h" \
20335 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20336 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20337 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20338 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20341 mv "$ac_tmp/config.h" "$ac_file" \
20342 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20345 $as_echo "/* $configure_input */" \
20346 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20347 || as_fn_error $? "could not create -" "$LINENO" 5
20355 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
20358 # Prefer the file from the source tree if names are identical.
20359 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20360 ac_source=$srcdir/$ac_source
20363 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20364 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20366 if test ! -r "$ac_source"; then
20367 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20371 # Try a relative symlink, then a hard link, then a copy.
20373 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20374 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20376 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20377 ln "$ac_source" "$ac_file" 2>/dev/null ||
20378 cp -p "$ac_source" "$ac_file" ||
20379 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20382 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20383 $as_echo "$as_me: executing $ac_file commands" >&6;}
20388 case $ac_file$ac_mode in
20389 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20390 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20391 "Makefile":C) wine_fn_output_makefile Makefile ;;
20399 ac_clean_files=$ac_clean_files_save
20401 test $ac_write_fail = 0 ||
20402 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20405 # configure is writing to config.log, and then calls config.status.
20406 # config.status does its own redirection, appending to config.log.
20407 # Unfortunately, on DOS this fails, as config.log is still kept open
20408 # by configure, so config.status won't be able to
write to it
; its
20409 # output is simply discarded. So we exec the FD to /dev/null,
20410 # effectively closing config.log, so it can be properly (re)opened and
20411 # appended to by config.status. When coming back to configure, we
20412 # need to make the FD available again.
20413 if test "$no_create" != yes; then
20415 ac_config_status_args
=
20416 test "$silent" = yes &&
20417 ac_config_status_args
="$ac_config_status_args --quiet"
20419 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20421 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20422 # would make configure fail if this is the last instruction.
20423 $ac_cs_success || as_fn_exit
1
20425 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20427 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20431 if test "$no_create" = "yes"
20437 if test "x$wine_notices" != x
; then
20440 for msg
in $wine_notices; do
20442 if ${msg:+false} :; then :
20445 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20446 $as_echo "$as_me: $msg" >&6;}
20451 for msg
in $wine_warnings; do
20453 if ${msg:+false} :; then :
20457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20458 $as_echo "$as_me: WARNING: $msg" >&2;}
20464 $as_me: Finished. Do '${ac_make}' to compile Wine.