2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.12.
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.12'
584 PACKAGE_STRING
='Wine 2.12'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
635 EXCESS_PRECISION_CFLAGS
707 APPLICATIONSERVICES_LIBS
803 program_transform_name
816 enable_option_checking
820 enable_maintainer_mode
881 enable_api_ms_win_appmodel_identity_l1_1_0
882 enable_api_ms_win_appmodel_runtime_l1_1_1
883 enable_api_ms_win_core_apiquery_l1_1_0
884 enable_api_ms_win_core_appcompat_l1_1_1
885 enable_api_ms_win_core_appinit_l1_1_0
886 enable_api_ms_win_core_atoms_l1_1_0
887 enable_api_ms_win_core_bem_l1_1_0
888 enable_api_ms_win_core_com_l1_1_0
889 enable_api_ms_win_core_com_l1_1_1
890 enable_api_ms_win_core_com_private_l1_1_0
891 enable_api_ms_win_core_console_l1_1_0
892 enable_api_ms_win_core_console_l2_1_0
893 enable_api_ms_win_core_crt_l1_1_0
894 enable_api_ms_win_core_crt_l2_1_0
895 enable_api_ms_win_core_datetime_l1_1_0
896 enable_api_ms_win_core_datetime_l1_1_1
897 enable_api_ms_win_core_debug_l1_1_0
898 enable_api_ms_win_core_debug_l1_1_1
899 enable_api_ms_win_core_delayload_l1_1_0
900 enable_api_ms_win_core_delayload_l1_1_1
901 enable_api_ms_win_core_errorhandling_l1_1_0
902 enable_api_ms_win_core_errorhandling_l1_1_1
903 enable_api_ms_win_core_errorhandling_l1_1_2
904 enable_api_ms_win_core_fibers_l1_1_0
905 enable_api_ms_win_core_fibers_l1_1_1
906 enable_api_ms_win_core_file_l1_1_0
907 enable_api_ms_win_core_file_l1_2_0
908 enable_api_ms_win_core_file_l1_2_1
909 enable_api_ms_win_core_file_l2_1_0
910 enable_api_ms_win_core_file_l2_1_1
911 enable_api_ms_win_core_handle_l1_1_0
912 enable_api_ms_win_core_heap_l1_1_0
913 enable_api_ms_win_core_heap_l1_2_0
914 enable_api_ms_win_core_heap_obsolete_l1_1_0
915 enable_api_ms_win_core_interlocked_l1_1_0
916 enable_api_ms_win_core_interlocked_l1_2_0
917 enable_api_ms_win_core_io_l1_1_0
918 enable_api_ms_win_core_io_l1_1_1
919 enable_api_ms_win_core_job_l1_1_0
920 enable_api_ms_win_core_job_l2_1_0
921 enable_api_ms_win_core_kernel32_legacy_l1_1_0
922 enable_api_ms_win_core_kernel32_legacy_l1_1_1
923 enable_api_ms_win_core_kernel32_private_l1_1_1
924 enable_api_ms_win_core_libraryloader_l1_1_0
925 enable_api_ms_win_core_libraryloader_l1_1_1
926 enable_api_ms_win_core_libraryloader_l1_2_0
927 enable_api_ms_win_core_libraryloader_l1_2_2
928 enable_api_ms_win_core_localization_l1_1_0
929 enable_api_ms_win_core_localization_l1_2_0
930 enable_api_ms_win_core_localization_l1_2_1
931 enable_api_ms_win_core_localization_l2_1_0
932 enable_api_ms_win_core_localization_obsolete_l1_1_0
933 enable_api_ms_win_core_localization_obsolete_l1_2_0
934 enable_api_ms_win_core_localization_private_l1_1_0
935 enable_api_ms_win_core_localregistry_l1_1_0
936 enable_api_ms_win_core_memory_l1_1_0
937 enable_api_ms_win_core_memory_l1_1_1
938 enable_api_ms_win_core_memory_l1_1_2
939 enable_api_ms_win_core_misc_l1_1_0
940 enable_api_ms_win_core_namedpipe_l1_1_0
941 enable_api_ms_win_core_namedpipe_l1_2_0
942 enable_api_ms_win_core_namespace_l1_1_0
943 enable_api_ms_win_core_normalization_l1_1_0
944 enable_api_ms_win_core_path_l1_1_0
945 enable_api_ms_win_core_privateprofile_l1_1_1
946 enable_api_ms_win_core_processenvironment_l1_1_0
947 enable_api_ms_win_core_processenvironment_l1_2_0
948 enable_api_ms_win_core_processthreads_l1_1_0
949 enable_api_ms_win_core_processthreads_l1_1_1
950 enable_api_ms_win_core_processthreads_l1_1_2
951 enable_api_ms_win_core_profile_l1_1_0
952 enable_api_ms_win_core_psapi_l1_1_0
953 enable_api_ms_win_core_psapi_obsolete_l1_1_0
954 enable_api_ms_win_core_quirks_l1_1_0
955 enable_api_ms_win_core_realtime_l1_1_0
956 enable_api_ms_win_core_registry_l1_1_0
957 enable_api_ms_win_core_registry_l2_1_0
958 enable_api_ms_win_core_registryuserspecific_l1_1_0
959 enable_api_ms_win_core_rtlsupport_l1_1_0
960 enable_api_ms_win_core_rtlsupport_l1_2_0
961 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
962 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
963 enable_api_ms_win_core_sidebyside_l1_1_0
964 enable_api_ms_win_core_string_l1_1_0
965 enable_api_ms_win_core_string_l2_1_0
966 enable_api_ms_win_core_string_obsolete_l1_1_0
967 enable_api_ms_win_core_stringansi_l1_1_0
968 enable_api_ms_win_core_synch_l1_1_0
969 enable_api_ms_win_core_synch_l1_2_0
970 enable_api_ms_win_core_sysinfo_l1_1_0
971 enable_api_ms_win_core_sysinfo_l1_2_0
972 enable_api_ms_win_core_sysinfo_l1_2_1
973 enable_api_ms_win_core_threadpool_l1_1_0
974 enable_api_ms_win_core_threadpool_l1_2_0
975 enable_api_ms_win_core_threadpool_legacy_l1_1_0
976 enable_api_ms_win_core_threadpool_private_l1_1_0
977 enable_api_ms_win_core_timezone_l1_1_0
978 enable_api_ms_win_core_toolhelp_l1_1_0
979 enable_api_ms_win_core_url_l1_1_0
980 enable_api_ms_win_core_util_l1_1_0
981 enable_api_ms_win_core_version_l1_1_0
982 enable_api_ms_win_core_version_private_l1_1_0
983 enable_api_ms_win_core_versionansi_l1_1_0
984 enable_api_ms_win_core_windowserrorreporting_l1_1_0
985 enable_api_ms_win_core_winrt_error_l1_1_0
986 enable_api_ms_win_core_winrt_error_l1_1_1
987 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
988 enable_api_ms_win_core_winrt_l1_1_0
989 enable_api_ms_win_core_winrt_registration_l1_1_0
990 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
991 enable_api_ms_win_core_winrt_string_l1_1_0
992 enable_api_ms_win_core_wow64_l1_1_0
993 enable_api_ms_win_core_xstate_l1_1_0
994 enable_api_ms_win_core_xstate_l2_1_0
995 enable_api_ms_win_crt_conio_l1_1_0
996 enable_api_ms_win_crt_convert_l1_1_0
997 enable_api_ms_win_crt_environment_l1_1_0
998 enable_api_ms_win_crt_filesystem_l1_1_0
999 enable_api_ms_win_crt_heap_l1_1_0
1000 enable_api_ms_win_crt_locale_l1_1_0
1001 enable_api_ms_win_crt_math_l1_1_0
1002 enable_api_ms_win_crt_multibyte_l1_1_0
1003 enable_api_ms_win_crt_private_l1_1_0
1004 enable_api_ms_win_crt_process_l1_1_0
1005 enable_api_ms_win_crt_runtime_l1_1_0
1006 enable_api_ms_win_crt_stdio_l1_1_0
1007 enable_api_ms_win_crt_string_l1_1_0
1008 enable_api_ms_win_crt_time_l1_1_0
1009 enable_api_ms_win_crt_utility_l1_1_0
1010 enable_api_ms_win_devices_config_l1_1_1
1011 enable_api_ms_win_devices_query_l1_1_1
1012 enable_api_ms_win_downlevel_advapi32_l1_1_0
1013 enable_api_ms_win_downlevel_advapi32_l2_1_0
1014 enable_api_ms_win_downlevel_normaliz_l1_1_0
1015 enable_api_ms_win_downlevel_ole32_l1_1_0
1016 enable_api_ms_win_downlevel_shell32_l1_1_0
1017 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1018 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1019 enable_api_ms_win_downlevel_user32_l1_1_0
1020 enable_api_ms_win_downlevel_version_l1_1_0
1021 enable_api_ms_win_dx_d3dkmt_l1_1_0
1022 enable_api_ms_win_eventing_classicprovider_l1_1_0
1023 enable_api_ms_win_eventing_consumer_l1_1_0
1024 enable_api_ms_win_eventing_controller_l1_1_0
1025 enable_api_ms_win_eventing_provider_l1_1_0
1026 enable_api_ms_win_eventlog_legacy_l1_1_0
1027 enable_api_ms_win_mm_misc_l1_1_1
1028 enable_api_ms_win_mm_mme_l1_1_0
1029 enable_api_ms_win_ntuser_dc_access_l1_1_0
1030 enable_api_ms_win_power_base_l1_1_0
1031 enable_api_ms_win_power_setting_l1_1_0
1032 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1033 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1034 enable_api_ms_win_security_audit_l1_1_1
1035 enable_api_ms_win_security_base_l1_1_0
1036 enable_api_ms_win_security_base_l1_2_0
1037 enable_api_ms_win_security_base_private_l1_1_1
1038 enable_api_ms_win_security_credentials_l1_1_0
1039 enable_api_ms_win_security_grouppolicy_l1_1_0
1040 enable_api_ms_win_security_lsalookup_l1_1_0
1041 enable_api_ms_win_security_lsalookup_l1_1_1
1042 enable_api_ms_win_security_lsalookup_l2_1_1
1043 enable_api_ms_win_security_lsapolicy_l1_1_0
1044 enable_api_ms_win_security_sddl_l1_1_0
1045 enable_api_ms_win_security_systemfunctions_l1_1_0
1046 enable_api_ms_win_service_core_l1_1_0
1047 enable_api_ms_win_service_core_l1_1_1
1048 enable_api_ms_win_service_management_l1_1_0
1049 enable_api_ms_win_service_management_l2_1_0
1050 enable_api_ms_win_service_private_l1_1_1
1051 enable_api_ms_win_service_winsvc_l1_1_0
1052 enable_api_ms_win_service_winsvc_l1_2_0
1053 enable_api_ms_win_shell_shellcom_l1_1_0
1054 enable_api_ms_win_shell_shellfolders_l1_1_0
1067 enable_bluetoothapis
1100 enable_d3dcompiler_33
1101 enable_d3dcompiler_34
1102 enable_d3dcompiler_35
1103 enable_d3dcompiler_36
1104 enable_d3dcompiler_37
1105 enable_d3dcompiler_38
1106 enable_d3dcompiler_39
1107 enable_d3dcompiler_40
1108 enable_d3dcompiler_41
1109 enable_d3dcompiler_42
1110 enable_d3dcompiler_43
1111 enable_d3dcompiler_46
1112 enable_d3dcompiler_47
1190 enable_explorerframe
1191 enable_ext_ms_win_authz_context_l1_1_0
1192 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1193 enable_ext_ms_win_gdi_dc_create_l1_1_1
1194 enable_ext_ms_win_gdi_dc_l1_2_0
1195 enable_ext_ms_win_gdi_devcaps_l1_1_0
1196 enable_ext_ms_win_gdi_draw_l1_1_1
1197 enable_ext_ms_win_gdi_render_l1_1_0
1198 enable_ext_ms_win_kernel32_package_current_l1_1_0
1199 enable_ext_ms_win_kernel32_package_l1_1_1
1200 enable_ext_ms_win_ntuser_message_l1_1_1
1201 enable_ext_ms_win_ntuser_private_l1_1_1
1202 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1203 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1204 enable_ext_ms_win_ntuser_window_l1_1_1
1205 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1206 enable_ext_ms_win_ras_rasapi32_l1_1_0
1207 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1208 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1209 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1210 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1211 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1212 enable_ext_ms_win_security_credui_l1_1_0
1213 enable_ext_ms_win_security_cryptui_l1_1_0
1382 enable_photometadatahandler
1447 enable_uiautomationcore
1476 enable_windowscodecs
1477 enable_windowscodecsext
1479 enable_wineandroid_drv
1481 enable_winecoreaudio_drv
1483 enable_winegstreamer
1485 enable_winejoystick_drv
1491 enable_winepulse_drv
1492 enable_wineqtdecoder
1563 enable_aspnet_regiis
1599 enable_presentationfontcache
1612 enable_servicemodelreg
1635 enable_winemenubuilder
1637 enable_winemsibuilder
1652 ac_precious_vars
='build_alias
1707 # Initialize some variables set by options.
1709 ac_init_version
=false
1710 ac_unrecognized_opts
=
1711 ac_unrecognized_sep
=
1712 # The variables have the same names as the options, with
1713 # dashes changed to underlines.
1714 cache_file
=/dev
/null
1721 program_transform_name
=s
,x
,x
,
1729 # Installation directory options.
1730 # These are left unexpanded so users can "make install exec_prefix=/foo"
1731 # and all the variables that are supposed to be based on exec_prefix
1732 # by default will actually change.
1733 # Use braces instead of parens because sh, perl, etc. also accept them.
1734 # (The list follows the same order as the GNU Coding Standards.)
1735 bindir
='${exec_prefix}/bin'
1736 sbindir
='${exec_prefix}/sbin'
1737 libexecdir
='${exec_prefix}/libexec'
1738 datarootdir
='${prefix}/share'
1739 datadir
='${datarootdir}'
1740 sysconfdir
='${prefix}/etc'
1741 sharedstatedir
='${prefix}/com'
1742 localstatedir
='${prefix}/var'
1743 runstatedir
='${localstatedir}/run'
1744 includedir
='${prefix}/include'
1745 oldincludedir
='/usr/include'
1746 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1747 infodir
='${datarootdir}/info'
1752 libdir
='${exec_prefix}/lib'
1753 localedir
='${datarootdir}/locale'
1754 mandir
='${datarootdir}/man'
1760 # If the previous option needs an argument, assign it.
1761 if test -n "$ac_prev"; then
1762 eval $ac_prev=\
$ac_option
1768 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1773 # Accept the important Cygnus configure options, so we can diagnose typos.
1775 case $ac_dashdash$ac_option in
1779 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1781 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1782 bindir
=$ac_optarg ;;
1784 -build |
--build |
--buil |
--bui |
--bu)
1785 ac_prev
=build_alias
;;
1786 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1787 build_alias
=$ac_optarg ;;
1789 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1790 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1791 ac_prev
=cache_file
;;
1792 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1793 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1794 cache_file
=$ac_optarg ;;
1796 --config-cache |
-C)
1797 cache_file
=config.cache
;;
1799 -datadir |
--datadir |
--datadi |
--datad)
1801 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1802 datadir
=$ac_optarg ;;
1804 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1805 |
--dataroo |
--dataro |
--datar)
1806 ac_prev
=datarootdir
;;
1807 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1808 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1809 datarootdir
=$ac_optarg ;;
1811 -disable-* |
--disable-*)
1812 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1813 # Reject names that are not valid shell variable names.
1814 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1815 as_fn_error $?
"invalid feature name: $ac_useropt"
1816 ac_useropt_orig
=$ac_useropt
1817 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1818 case $ac_user_opts in
1820 "enable_
$ac_useropt"
1822 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1823 ac_unrecognized_sep
=', ';;
1825 eval enable_
$ac_useropt=no
;;
1827 -docdir |
--docdir |
--docdi |
--doc |
--do)
1829 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1830 docdir
=$ac_optarg ;;
1832 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1834 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1835 dvidir
=$ac_optarg ;;
1837 -enable-* |
--enable-*)
1838 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1839 # Reject names that are not valid shell variable names.
1840 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1841 as_fn_error $?
"invalid feature name: $ac_useropt"
1842 ac_useropt_orig
=$ac_useropt
1843 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1844 case $ac_user_opts in
1846 "enable_
$ac_useropt"
1848 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1849 ac_unrecognized_sep
=', ';;
1851 eval enable_
$ac_useropt=\
$ac_optarg ;;
1853 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1854 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1855 |
--exec |
--exe |
--ex)
1856 ac_prev
=exec_prefix
;;
1857 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1858 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1859 |
--exec=* |
--exe=* |
--ex=*)
1860 exec_prefix
=$ac_optarg ;;
1862 -gas |
--gas |
--ga |
--g)
1863 # Obsolete; use --with-gas.
1866 -help |
--help |
--hel |
--he |
-h)
1867 ac_init_help
=long
;;
1868 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1869 ac_init_help
=recursive
;;
1870 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1871 ac_init_help
=short
;;
1873 -host |
--host |
--hos |
--ho)
1874 ac_prev
=host_alias
;;
1875 -host=* |
--host=* |
--hos=* |
--ho=*)
1876 host_alias
=$ac_optarg ;;
1878 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1880 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1882 htmldir
=$ac_optarg ;;
1884 -includedir |
--includedir |
--includedi |
--included |
--include \
1885 |
--includ |
--inclu |
--incl |
--inc)
1886 ac_prev
=includedir
;;
1887 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1888 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1889 includedir
=$ac_optarg ;;
1891 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1893 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1894 infodir
=$ac_optarg ;;
1896 -libdir |
--libdir |
--libdi |
--libd)
1898 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1899 libdir
=$ac_optarg ;;
1901 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1902 |
--libexe |
--libex |
--libe)
1903 ac_prev
=libexecdir
;;
1904 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1905 |
--libexe=* |
--libex=* |
--libe=*)
1906 libexecdir
=$ac_optarg ;;
1908 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1909 ac_prev
=localedir
;;
1910 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1911 localedir
=$ac_optarg ;;
1913 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1914 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1915 ac_prev
=localstatedir
;;
1916 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1917 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1918 localstatedir
=$ac_optarg ;;
1920 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1922 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1923 mandir
=$ac_optarg ;;
1925 -nfp |
--nfp |
--nf)
1926 # Obsolete; use --without-fp.
1929 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1930 |
--no-cr |
--no-c |
-n)
1933 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1934 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1937 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1938 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1939 |
--oldin |
--oldi |
--old |
--ol |
--o)
1940 ac_prev
=oldincludedir
;;
1941 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1942 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1943 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1944 oldincludedir
=$ac_optarg ;;
1946 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1948 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1949 prefix
=$ac_optarg ;;
1951 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1952 |
--program-pre |
--program-pr |
--program-p)
1953 ac_prev
=program_prefix
;;
1954 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1955 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1956 program_prefix
=$ac_optarg ;;
1958 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1959 |
--program-suf |
--program-su |
--program-s)
1960 ac_prev
=program_suffix
;;
1961 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1962 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1963 program_suffix
=$ac_optarg ;;
1965 -program-transform-name |
--program-transform-name \
1966 |
--program-transform-nam |
--program-transform-na \
1967 |
--program-transform-n |
--program-transform- \
1968 |
--program-transform |
--program-transfor \
1969 |
--program-transfo |
--program-transf \
1970 |
--program-trans |
--program-tran \
1971 |
--progr-tra |
--program-tr |
--program-t)
1972 ac_prev
=program_transform_name
;;
1973 -program-transform-name=* |
--program-transform-name=* \
1974 |
--program-transform-nam=* |
--program-transform-na=* \
1975 |
--program-transform-n=* |
--program-transform-=* \
1976 |
--program-transform=* |
--program-transfor=* \
1977 |
--program-transfo=* |
--program-transf=* \
1978 |
--program-trans=* |
--program-tran=* \
1979 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1980 program_transform_name
=$ac_optarg ;;
1982 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1984 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1985 pdfdir
=$ac_optarg ;;
1987 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1989 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1992 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1993 |
-silent |
--silent |
--silen |
--sile |
--sil)
1996 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1997 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1998 |
--run |
--ru |
--r)
1999 ac_prev
=runstatedir
;;
2000 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2001 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2002 |
--run=* |
--ru=* |
--r=*)
2003 runstatedir
=$ac_optarg ;;
2005 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2007 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2009 sbindir
=$ac_optarg ;;
2011 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2012 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2013 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2015 ac_prev
=sharedstatedir
;;
2016 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2017 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2018 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2020 sharedstatedir
=$ac_optarg ;;
2022 -site |
--site |
--sit)
2024 -site=* |
--site=* |
--sit=*)
2027 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2029 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2030 srcdir
=$ac_optarg ;;
2032 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2033 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2034 ac_prev
=sysconfdir
;;
2035 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2036 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2037 sysconfdir
=$ac_optarg ;;
2039 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2040 ac_prev
=target_alias
;;
2041 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2042 target_alias
=$ac_optarg ;;
2044 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2047 -version |
--version |
--versio |
--versi |
--vers |
-V)
2048 ac_init_version
=: ;;
2051 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2052 # Reject names that are not valid shell variable names.
2053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2054 as_fn_error $?
"invalid package name: $ac_useropt"
2055 ac_useropt_orig
=$ac_useropt
2056 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2057 case $ac_user_opts in
2061 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2062 ac_unrecognized_sep
=', ';;
2064 eval with_
$ac_useropt=\
$ac_optarg ;;
2066 -without-* |
--without-*)
2067 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2068 # Reject names that are not valid shell variable names.
2069 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2070 as_fn_error $?
"invalid package name: $ac_useropt"
2071 ac_useropt_orig
=$ac_useropt
2072 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2073 case $ac_user_opts in
2077 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2078 ac_unrecognized_sep
=', ';;
2080 eval with_
$ac_useropt=no
;;
2083 # Obsolete; use --with-x.
2086 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2087 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2088 ac_prev
=x_includes
;;
2089 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2090 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2091 x_includes
=$ac_optarg ;;
2093 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2094 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2095 ac_prev
=x_libraries
;;
2096 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2097 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2098 x_libraries
=$ac_optarg ;;
2100 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2101 Try \`$0 --help' for more information"
2105 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2106 # Reject names that are not valid shell variable names.
2107 case $ac_envvar in #(
2108 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2109 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2111 eval $ac_envvar=\
$ac_optarg
2112 export $ac_envvar ;;
2115 # FIXME: should be removed in autoconf 3.0.
2116 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2117 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2118 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2119 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2125 if test -n "$ac_prev"; then
2126 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2127 as_fn_error $?
"missing argument to $ac_option"
2130 if test -n "$ac_unrecognized_opts"; then
2131 case $enable_option_checking in
2133 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2134 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2138 # Check all directory arguments for consistency.
2139 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2140 datadir sysconfdir sharedstatedir localstatedir includedir \
2141 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2142 libdir localedir mandir runstatedir
2144 eval ac_val
=\$
$ac_var
2145 # Remove trailing slashes.
2148 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2149 eval $ac_var=\
$ac_val;;
2151 # Be sure to have absolute directory names.
2153 [\\/$
]* | ?
:[\\/]* ) continue;;
2154 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2156 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2159 # There might be people who depend on the old broken behavior: `$host'
2160 # used to hold the argument of --host etc.
2161 # FIXME: To remove some day.
2164 target
=$target_alias
2166 # FIXME: To remove some day.
2167 if test "x$host_alias" != x
; then
2168 if test "x$build_alias" = x
; then
2169 cross_compiling
=maybe
2170 elif test "x$build_alias" != "x$host_alias"; then
2176 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2178 test "$silent" = yes && exec 6>/dev
/null
2181 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2182 ac_ls_di
=`ls -di .` &&
2183 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2184 as_fn_error $?
"working directory cannot be determined"
2185 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2186 as_fn_error $?
"pwd does not report name of working directory"
2189 # Find the source files, if location was not specified.
2190 if test -z "$srcdir"; then
2191 ac_srcdir_defaulted
=yes
2192 # Try the directory containing this script, then the parent directory.
2193 ac_confdir
=`$as_dirname -- "$as_myself" ||
2194 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2195 X"$as_myself" : 'X\(//\)[^/]' \| \
2196 X"$as_myself" : 'X\(//\)$' \| \
2197 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2198 $as_echo X"$as_myself" |
2199 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2217 if test ! -r "$srcdir/$ac_unique_file"; then
2221 ac_srcdir_defaulted
=no
2223 if test ! -r "$srcdir/$ac_unique_file"; then
2224 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2225 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2227 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2229 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2231 # When building in place, set srcdir=.
2232 if test "$ac_abs_confdir" = "$ac_pwd"; then
2235 # Remove unnecessary trailing slashes from srcdir.
2236 # Double slashes in file names in object file debugging info
2237 # mess up M-x gdb in Emacs.
2239 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2241 for ac_var
in $ac_precious_vars; do
2242 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2243 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2244 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2245 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2249 # Report the --help message.
2251 if test "$ac_init_help" = "long"; then
2252 # Omit some internal or obsolete options to make the list less imposing.
2253 # This message is too long to be a string in the A/UX 3.1 sh.
2255 \`configure' configures Wine 2.12 to adapt to many kinds of systems.
2257 Usage: $0 [OPTION]... [VAR=VALUE]...
2259 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2260 VAR=VALUE. See below for descriptions of some of the useful variables.
2262 Defaults for the options are specified in brackets.
2265 -h, --help display this help and exit
2266 --help=short display options specific to this package
2267 --help=recursive display the short help of all the included packages
2268 -V, --version display version information and exit
2269 -q, --quiet, --silent do not print \`checking ...' messages
2270 --cache-file=FILE cache test results in FILE [disabled]
2271 -C, --config-cache alias for \`--cache-file=config.cache'
2272 -n, --no-create do not create output files
2273 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2275 Installation directories:
2276 --prefix=PREFIX install architecture-independent files in PREFIX
2277 [$ac_default_prefix]
2278 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2281 By default, \`make install' will install all the files in
2282 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2283 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2284 for instance \`--prefix=\$HOME'.
2286 For better control, use the options below.
2288 Fine tuning of the installation directories:
2289 --bindir=DIR user executables [EPREFIX/bin]
2290 --sbindir=DIR system admin executables [EPREFIX/sbin]
2291 --libexecdir=DIR program executables [EPREFIX/libexec]
2292 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2293 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2294 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2295 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2296 --libdir=DIR object code libraries [EPREFIX/lib]
2297 --includedir=DIR C header files [PREFIX/include]
2298 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2299 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2300 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2301 --infodir=DIR info documentation [DATAROOTDIR/info]
2302 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2303 --mandir=DIR man documentation [DATAROOTDIR/man]
2304 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2305 --htmldir=DIR html documentation [DOCDIR]
2306 --dvidir=DIR dvi documentation [DOCDIR]
2307 --pdfdir=DIR pdf documentation [DOCDIR]
2308 --psdir=DIR ps documentation [DOCDIR]
2314 --x-includes=DIR X include files are
in DIR
2315 --x-libraries=DIR X library files are
in DIR
2318 --build=BUILD configure
for building on BUILD
[guessed
]
2319 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2323 if test -n "$ac_init_help"; then
2324 case $ac_init_help in
2325 short | recursive
) echo "Configuration of Wine 2.12:";;
2330 --disable-option-checking ignore unrecognized
--enable/--with options
2331 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2332 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2333 --disable-win16 do not include Win16 support
2334 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2336 --disable-tests do not build the regression tests
2337 --enable-maintainer-mode
2338 enable maintainer-specific build rules
2339 --disable-largefile omit support for large files
2342 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2343 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2344 --without-alsa do not use the Alsa sound support
2345 --without-capi do not use CAPI (ISDN support)
2346 --without-cms do not use CMS (color management support)
2347 --without-coreaudio do not use the CoreAudio sound support
2348 --without-cups do not use CUPS
2349 --without-curses do not use (n)curses
2350 --without-dbus do not use DBus (dynamic device support)
2351 --without-fontconfig do not use fontconfig
2352 --without-freetype do not use the FreeType library
2353 --without-gettext do not use gettext
2354 --with-gettextpo use the GetTextPO library to rebuild po files
2355 --without-gphoto do not use gphoto (Digital Camera support)
2356 --without-glu do not use the GLU library
2357 --without-gnutls do not use GnuTLS (schannel support)
2358 --without-gsm do not use libgsm (GSM 06.10 codec support)
2359 --without-gstreamer do not use GStreamer (codecs support)
2360 --without-hal do not use HAL (dynamic device support)
2361 --without-jpeg do not use JPEG
2362 --without-ldap do not use LDAP
2363 --without-mpg123 do not use the mpg123 library
2364 --without-netapi do not use the Samba NetAPI library
2365 --without-openal do not use OpenAL
2366 --without-opencl do not use OpenCL
2367 --without-opengl do not use OpenGL
2368 --without-osmesa do not use the OSMesa library
2369 --without-oss do not use the OSS sound support
2370 --without-pcap do not use the Packet Capture library
2371 --without-png do not use PNG
2372 --without-pthread do not use the pthread library
2373 --without-pulse do not use PulseAudio sound support
2374 --without-sane do not use SANE (scanner support)
2375 --without-tiff do not use TIFF
2376 --without-udev do not use udev (plug and play support)
2377 --without-v4l do not use v4l1 (v4l support)
2378 --without-xcomposite do not use the Xcomposite extension
2379 --without-xcursor do not use the Xcursor extension
2380 --without-xfixes do not use Xfixes for clipboard change notifications
2381 --without-xinerama do not use Xinerama (multi-monitor support)
2382 --without-xinput do not use the Xinput extension
2383 --without-xinput2 do not use the Xinput 2 extension
2384 --without-xml do not use XML
2385 --without-xrandr do not use Xrandr (resolution changes)
2386 --without-xrender do not use the Xrender extension
2387 --without-xshape do not use the Xshape extension
2388 --without-xshm do not use XShm (shared memory extension)
2389 --without-xslt do not use XSLT
2390 --without-xxf86vm do not use XFree video mode extension
2391 --without-zlib do not use Zlib (data compression)
2392 --with-wine-tools=DIR use Wine tools from directory DIR
2393 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2394 --with-x use the X Window System
2396 Some influential environment variables:
2397 CC C compiler command
2398 CFLAGS C compiler flags
2399 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2400 nonstandard directory <lib dir>
2401 LIBS libraries to pass to the linker, e.g. -l<library>
2402 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2403 you have headers in a nonstandard directory <include dir>
2404 CXX C++ compiler command
2405 CXXFLAGS C++ compiler flags
2407 XMKMF Path to xmkmf, Makefile generator for X Window System
2408 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2409 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2410 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2411 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2412 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2413 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2414 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2415 HAL_LIBS Linker flags for hal, overriding pkg-config
2417 C compiler flags for gnutls, overriding pkg-config
2418 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2419 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2420 SANE_LIBS Linker flags for libsane, overriding pkg-config
2422 C compiler flags for libgphoto2, overriding pkg-config
2424 Linker flags for libgphoto2, overriding pkg-config
2426 C compiler flags for libgphoto2_port, overriding pkg-config
2428 Linker flags for libgphoto2_port, overriding pkg-config
2430 C compiler flags for lcms2, overriding pkg-config
2431 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2433 C compiler flags for freetype2, overriding pkg-config
2435 Linker flags for freetype2, overriding pkg-config
2437 C compiler flags for libpulse, overriding pkg-config
2438 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2440 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2441 gstreamer-audio-1.0, overriding pkg-config
2443 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2444 gstreamer-audio-1.0, overriding pkg-config
2445 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2446 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2448 C compiler flags for capi20, overriding pkg-config
2449 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2451 C compiler flags for fontconfig, overriding pkg-config
2453 Linker flags for fontconfig, overriding pkg-config
2454 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2455 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2456 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2457 PNG_LIBS Linker flags for libpng, overriding pkg-config
2458 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2459 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2461 C compiler flags for libmpg123, overriding pkg-config
2462 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2464 C compiler flags for netapi, overriding pkg-config
2465 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2467 Use these variables to override the choices made by `configure' or to
help
2468 it to
find libraries and programs with nonstandard names
/locations.
2470 Report bugs to
<wine-devel@winehq.org
>.
2471 Wine home page
: <http
://www.winehq.org
>.
2476 if test "$ac_init_help" = "recursive"; then
2477 # If there are subdirs, report their specific --help.
2478 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2479 test -d "$ac_dir" ||
2480 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2485 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2487 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2488 # A ".." for each directory in $ac_dir_suffix.
2489 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2490 case $ac_top_builddir_sub in
2491 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2492 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2495 ac_abs_top_builddir
=$ac_pwd
2496 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2497 # for backward compatibility:
2498 ac_top_builddir
=$ac_top_build_prefix
2501 .
) # We are building in place.
2503 ac_top_srcdir
=$ac_top_builddir_sub
2504 ac_abs_top_srcdir
=$ac_pwd ;;
2505 [\\/]* | ?
:[\\/]* ) # Absolute name.
2506 ac_srcdir
=$srcdir$ac_dir_suffix;
2507 ac_top_srcdir
=$srcdir
2508 ac_abs_top_srcdir
=$srcdir ;;
2510 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2511 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2512 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2514 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2516 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2517 # Check for guested configure.
2518 if test -f "$ac_srcdir/configure.gnu"; then
2520 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2521 elif test -f "$ac_srcdir/configure"; then
2523 $SHELL "$ac_srcdir/configure" --help=recursive
2525 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2527 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2531 test -n "$ac_init_help" && exit $ac_status
2532 if $ac_init_version; then
2535 generated by GNU Autoconf
2.69
2537 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2538 This configure
script is free software
; the Free Software Foundation
2539 gives unlimited permission to copy
, distribute and modify it.
2544 ## ------------------------ ##
2545 ## Autoconf initialization. ##
2546 ## ------------------------ ##
2548 # ac_fn_c_try_compile LINENO
2549 # --------------------------
2550 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2551 ac_fn_c_try_compile
()
2553 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2554 rm -f conftest.
$ac_objext
2555 if { { ac_try
="$ac_compile"
2557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2558 *) ac_try_echo=$ac_try;;
2560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2561 $as_echo "$ac_try_echo"; } >&5
2562 (eval "$ac_compile") 2>conftest.err
2564 if test -s conftest.err; then
2565 grep -v '^ *+' conftest.err >conftest.er1
2566 cat conftest.er1 >&5
2567 mv -f conftest.er1 conftest.err
2569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2570 test $ac_status = 0; } && {
2571 test -z "$ac_c_werror_flag" ||
2572 test ! -s conftest.err
2573 } && test -s conftest.$ac_objext; then :
2576 $as_echo "$as_me: failed program was:" >&5
2577 sed 's/^/| /' conftest.$ac_ext >&5
2581 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2582 as_fn_set_status $ac_retval
2584 } # ac_fn_c_try_compile
2586 # ac_fn_cxx_try_compile LINENO
2587 # ----------------------------
2588 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2589 ac_fn_cxx_try_compile ()
2591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2592 rm -f conftest.$ac_objext
2593 if { { ac_try="$ac_compile"
2595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2596 *) ac_try_echo
=$ac_try;;
2598 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2599 $as_echo "$ac_try_echo"; } >&5
2600 (eval "$ac_compile") 2>conftest.err
2602 if test -s conftest.err
; then
2603 grep -v '^ *+' conftest.err
>conftest.er1
2604 cat conftest.er1
>&5
2605 mv -f conftest.er1 conftest.err
2607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2608 test $ac_status = 0; } && {
2609 test -z "$ac_cxx_werror_flag" ||
2610 test ! -s conftest.err
2611 } && test -s conftest.
$ac_objext; then :
2614 $as_echo "$as_me: failed program was:" >&5
2615 sed 's/^/| /' conftest.
$ac_ext >&5
2619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2620 as_fn_set_status
$ac_retval
2622 } # ac_fn_cxx_try_compile
2624 # ac_fn_c_try_link LINENO
2625 # -----------------------
2626 # Try to link conftest.$ac_ext, and return whether this succeeded.
2629 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2630 rm -f conftest.
$ac_objext conftest
$ac_exeext
2631 if { { ac_try
="$ac_link"
2633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2634 *) ac_try_echo=$ac_try;;
2636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2637 $as_echo "$ac_try_echo"; } >&5
2638 (eval "$ac_link") 2>conftest.err
2640 if test -s conftest.err; then
2641 grep -v '^ *+' conftest.err >conftest.er1
2642 cat conftest.er1 >&5
2643 mv -f conftest.er1 conftest.err
2645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2646 test $ac_status = 0; } && {
2647 test -z "$ac_c_werror_flag" ||
2648 test ! -s conftest.err
2649 } && test -s conftest$ac_exeext && {
2650 test "$cross_compiling" = yes ||
2651 test -x conftest$ac_exeext
2655 $as_echo "$as_me: failed program was:" >&5
2656 sed 's/^/| /' conftest.$ac_ext >&5
2660 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2661 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2662 # interfere with the next link command; also delete a directory that is
2663 # left behind by Apple's compiler. We do this before executing the actions.
2664 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2666 as_fn_set_status $ac_retval
2668 } # ac_fn_c_try_link
2670 # ac_fn_c_try_cpp LINENO
2671 # ----------------------
2672 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2676 if { { ac_try="$ac_cpp conftest.$ac_ext"
2678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2679 *) ac_try_echo
=$ac_try;;
2681 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2682 $as_echo "$ac_try_echo"; } >&5
2683 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2685 if test -s conftest.err
; then
2686 grep -v '^ *+' conftest.err
>conftest.er1
2687 cat conftest.er1
>&5
2688 mv -f conftest.er1 conftest.err
2690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2691 test $ac_status = 0; } > conftest.i
&& {
2692 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2693 test ! -s conftest.err
2697 $as_echo "$as_me: failed program was:" >&5
2698 sed 's/^/| /' conftest.
$ac_ext >&5
2702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2703 as_fn_set_status
$ac_retval
2707 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2708 # -------------------------------------------------------
2709 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2710 # the include files in INCLUDES and setting the cache variable VAR
2712 ac_fn_c_check_header_mongrel
()
2714 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2715 if eval \
${$3+:} false
; then :
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2717 $as_echo_n "checking for $2... " >&6; }
2718 if eval \
${$3+:} false
; then :
2719 $as_echo_n "(cached) " >&6
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2723 $as_echo "$ac_res" >&6; }
2725 # Is the header compilable?
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2727 $as_echo_n "checking $2 usability... " >&6; }
2728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2729 /* end confdefs.h. */
2733 if ac_fn_c_try_compile
"$LINENO"; then :
2734 ac_header_compiler
=yes
2736 ac_header_compiler
=no
2738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2740 $as_echo "$ac_header_compiler" >&6; }
2742 # Is the header present?
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2744 $as_echo_n "checking $2 presence... " >&6; }
2745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2746 /* end confdefs.h. */
2749 if ac_fn_c_try_cpp
"$LINENO"; then :
2750 ac_header_preproc
=yes
2752 ac_header_preproc
=no
2754 rm -f conftest.err conftest.i conftest.
$ac_ext
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2756 $as_echo "$ac_header_preproc" >&6; }
2758 # So? What about this header?
2759 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2762 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2764 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2768 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2770 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2772 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2774 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2776 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2777 ( $as_echo "## ------------------------------------ ##
2778 ## Report this to wine-devel@winehq.org ##
2779 ## ------------------------------------ ##"
2780 ) |
sed "s/^/$as_me: WARNING: /" >&2
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2784 $as_echo_n "checking for $2... " >&6; }
2785 if eval \
${$3+:} false
; then :
2786 $as_echo_n "(cached) " >&6
2788 eval "$3=\$ac_header_compiler"
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2792 $as_echo "$ac_res" >&6; }
2794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2796 } # ac_fn_c_check_header_mongrel
2798 # ac_fn_c_try_run LINENO
2799 # ----------------------
2800 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2801 # that executables *can* be run.
2804 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2805 if { { ac_try
="$ac_link"
2807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2811 $as_echo "$ac_try_echo"; } >&5
2812 (eval "$ac_link") 2>&5
2814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2815 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2816 { { case "(($ac_try" in
2817 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2818 *) ac_try_echo
=$ac_try;;
2820 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2821 $as_echo "$ac_try_echo"; } >&5
2822 (eval "$ac_try") 2>&5
2824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2825 test $ac_status = 0; }; }; then :
2828 $as_echo "$as_me: program exited with status $ac_status" >&5
2829 $as_echo "$as_me: failed program was:" >&5
2830 sed 's/^/| /' conftest.
$ac_ext >&5
2832 ac_retval
=$ac_status
2834 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2836 as_fn_set_status
$ac_retval
2840 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2841 # -------------------------------------------------------
2842 # Tests whether HEADER exists and can be compiled using the include files in
2843 # INCLUDES, setting the cache variable VAR accordingly.
2844 ac_fn_c_check_header_compile
()
2846 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2848 $as_echo_n "checking for $2... " >&6; }
2849 if eval \
${$3+:} false
; then :
2850 $as_echo_n "(cached) " >&6
2852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2853 /* end confdefs.h. */
2857 if ac_fn_c_try_compile
"$LINENO"; then :
2862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2866 $as_echo "$ac_res" >&6; }
2867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2869 } # ac_fn_c_check_header_compile
2871 # ac_fn_c_check_func LINENO FUNC VAR
2872 # ----------------------------------
2873 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2874 ac_fn_c_check_func
()
2876 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2878 $as_echo_n "checking for $2... " >&6; }
2879 if eval \
${$3+:} false
; then :
2880 $as_echo_n "(cached) " >&6
2882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2883 /* end confdefs.h. */
2884 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2886 #define $2 innocuous_$2
2888 /* System header to define __stub macros and hopefully few prototypes,
2889 which can conflict with char $2 (); below.
2890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2891 <limits.h> exists even on freestanding compilers. */
2894 # include <limits.h>
2896 # include <assert.h>
2901 /* Override any GCC internal prototype to avoid an error.
2902 Use char because int might match the return type of a GCC
2903 builtin and then its argument prototype would still apply. */
2908 /* The GNU C library defines this for functions which it implements
2909 to always fail with ENOSYS. Some functions are actually named
2910 something starting with __ and the normal name is an alias. */
2911 #if defined __stub_$2 || defined __stub___$2
2923 if ac_fn_c_try_link
"$LINENO"; then :
2928 rm -f core conftest.err conftest.
$ac_objext \
2929 conftest
$ac_exeext conftest.
$ac_ext
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2933 $as_echo "$ac_res" >&6; }
2934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2936 } # ac_fn_c_check_func
2938 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2939 # ----------------------------------------------------
2940 # Tries to find if the field MEMBER exists in type AGGR, after including
2941 # INCLUDES, setting cache variable VAR accordingly.
2942 ac_fn_c_check_member
()
2944 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2946 $as_echo_n "checking for $2.$3... " >&6; }
2947 if eval \
${$4+:} false
; then :
2948 $as_echo_n "(cached) " >&6
2950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2951 /* end confdefs.h. */
2963 if ac_fn_c_try_compile
"$LINENO"; then :
2966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2967 /* end confdefs.h. */
2973 if (sizeof ac_aggr.$3)
2979 if ac_fn_c_try_compile
"$LINENO"; then :
2984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2990 $as_echo "$ac_res" >&6; }
2991 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2993 } # ac_fn_c_check_member
2995 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2996 # -------------------------------------------
2997 # Tests whether TYPE exists after having included INCLUDES, setting cache
2998 # variable VAR accordingly.
2999 ac_fn_c_check_type
()
3001 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3003 $as_echo_n "checking for $2... " >&6; }
3004 if eval \
${$3+:} false
; then :
3005 $as_echo_n "(cached) " >&6
3008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3009 /* end confdefs.h. */
3020 if ac_fn_c_try_compile
"$LINENO"; then :
3021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3022 /* end confdefs.h. */
3033 if ac_fn_c_try_compile
"$LINENO"; then :
3038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3044 $as_echo "$ac_res" >&6; }
3045 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3047 } # ac_fn_c_check_type
3048 cat >config.log
<<_ACEOF
3049 This file contains any messages produced by compilers while
3050 running configure, to aid debugging if configure makes a mistake.
3052 It was created by Wine $as_me 2.12, which was
3053 generated by GNU Autoconf 2.69. Invocation command line was
3065 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3066 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3067 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3068 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3069 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3071 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3072 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3074 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3075 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3076 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3077 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3078 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3079 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3080 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3088 test -z "$as_dir" && as_dir
=.
3089 $as_echo "PATH: $as_dir"
3105 # Keep a trace of the command line.
3106 # Strip out --no-create and --no-recursion so they do not pile up.
3107 # Strip out --silent because we don't want to record it for future runs.
3108 # Also quote any args containing shell meta-characters.
3109 # Make two passes to allow for proper duplicate-argument suppression.
3113 ac_must_keep_next
=false
3119 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3120 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3121 |
-silent |
--silent |
--silen |
--sile |
--sil)
3124 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3127 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3129 as_fn_append ac_configure_args1
" '$ac_arg'"
3130 if test $ac_must_keep_next = true
; then
3131 ac_must_keep_next
=false
# Got value, back to normal.
3134 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3135 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3136 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3137 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3138 case "$ac_configure_args0 " in
3139 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3142 -* ) ac_must_keep_next
=true
;;
3145 as_fn_append ac_configure_args
" '$ac_arg'"
3150 { ac_configure_args0
=; unset ac_configure_args0
;}
3151 { ac_configure_args1
=; unset ac_configure_args1
;}
3153 # When interrupted or exit'd, cleanup temporary files, and complete
3154 # config.log. We remove comments because anyway the quotes in there
3155 # would cause problems or look ugly.
3156 # WARNING: Use '\'' to represent an apostrophe within the trap.
3157 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3158 trap 'exit_status=$?
3159 # Save into config.log some information that might help in debugging.
3163 $as_echo "## ---------------- ##
3164 ## Cache variables. ##
3165 ## ---------------- ##"
3167 # The following way of writing the cache mishandles newlines in values,
3169 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3170 eval ac_val=\$$ac_var
3174 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3175 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3178 _ | IFS | as_nl) ;; #(
3179 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3180 *) { eval $ac_var=; unset $ac_var;} ;;
3185 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3186 *${as_nl}ac_space=\ *)
3188 "s/'\''/'\''\\\\'\'''\''/g;
3189 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3192 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3199 $as_echo "## ----------------- ##
3200 ## Output variables. ##
3201 ## ----------------- ##"
3203 for ac_var in $ac_subst_vars
3205 eval ac_val=\$$ac_var
3207 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3209 $as_echo "$ac_var='\''$ac_val'\''"
3213 if test -n "$ac_subst_files"; then
3214 $as_echo "## ------------------- ##
3215 ## File substitutions. ##
3216 ## ------------------- ##"
3218 for ac_var
in $ac_subst_files
3220 eval ac_val
=\$
$ac_var
3222 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3224 $as_echo "$ac_var='\''$ac_val'\''"
3229 if test -s confdefs.h; then
3230 $as_echo "## ----------- ##
3237 test "$ac_signal" != 0 &&
3238 $as_echo "$as_me: caught signal $ac_signal"
3239 $as_echo "$as_me: exit $exit_status"
3241 rm -f core *.core core.conftest.* &&
3242 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3245 for ac_signal
in 1 2 13 15; do
3246 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3250 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3251 rm -f -r conftest
* confdefs.h
3253 $as_echo "/* confdefs.h */" > confdefs.h
3255 # Predefined preprocessor variables.
3257 cat >>confdefs.h
<<_ACEOF
3258 #define PACKAGE_NAME "$PACKAGE_NAME"
3261 cat >>confdefs.h
<<_ACEOF
3262 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3265 cat >>confdefs.h
<<_ACEOF
3266 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3269 cat >>confdefs.h
<<_ACEOF
3270 #define PACKAGE_STRING "$PACKAGE_STRING"
3273 cat >>confdefs.h
<<_ACEOF
3274 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3277 cat >>confdefs.h
<<_ACEOF
3278 #define PACKAGE_URL "$PACKAGE_URL"
3282 # Let the site file select an alternate cache file if it wants to.
3283 # Prefer an explicitly selected file to automatically selected ones.
3286 if test -n "$CONFIG_SITE"; then
3287 # We do not want a PATH search for config.site.
3288 case $CONFIG_SITE in #((
3289 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3290 */*) ac_site_file1
=$CONFIG_SITE;;
3291 *) ac_site_file1
=.
/$CONFIG_SITE;;
3293 elif test "x$prefix" != xNONE
; then
3294 ac_site_file1
=$prefix/share
/config.site
3295 ac_site_file2
=$prefix/etc
/config.site
3297 ac_site_file1
=$ac_default_prefix/share
/config.site
3298 ac_site_file2
=$ac_default_prefix/etc
/config.site
3300 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3302 test "x$ac_site_file" = xNONE
&& continue
3303 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3305 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3306 sed 's/^/| /' "$ac_site_file" >&5
3308 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3310 as_fn_error $?
"failed to load site script $ac_site_file
3311 See \`config.log' for more details" "$LINENO" 5; }
3315 if test -r "$cache_file"; then
3316 # Some versions of bash will fail to source /dev/null (special files
3317 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3318 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3320 $as_echo "$as_me: loading cache $cache_file" >&6;}
3322 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3323 *) .
"./$cache_file";;
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3328 $as_echo "$as_me: creating cache $cache_file" >&6;}
3332 # Check that the precious variables saved in the cache have kept the same
3334 ac_cache_corrupted
=false
3335 for ac_var
in $ac_precious_vars; do
3336 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3337 eval ac_new_set
=\
$ac_env_${ac_var}_set
3338 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3339 eval ac_new_val
=\
$ac_env_${ac_var}_value
3340 case $ac_old_set,$ac_new_set in
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3343 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3344 ac_cache_corrupted
=: ;;
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3347 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3348 ac_cache_corrupted
=: ;;
3351 if test "x$ac_old_val" != "x$ac_new_val"; then
3352 # differences in whitespace do not lead to failure.
3353 ac_old_val_w
=`echo x $ac_old_val`
3354 ac_new_val_w
=`echo x $ac_new_val`
3355 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3357 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3358 ac_cache_corrupted
=:
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3361 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3362 eval $ac_var=\
$ac_old_val
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3365 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3367 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3370 # Pass precious variables to config.status.
3371 if test "$ac_new_set" = set; then
3373 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3374 *) ac_arg
=$ac_var=$ac_new_val ;;
3376 case " $ac_configure_args " in
3377 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3378 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3382 if $ac_cache_corrupted; then
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3386 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3387 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3389 ## -------------------- ##
3390 ## Main body of script. ##
3391 ## -------------------- ##
3394 ac_cpp
='$CPP $CPPFLAGS'
3395 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3396 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3397 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3401 ac_config_headers
="$ac_config_headers include/config.h"
3404 for ac_dir
in tools
"$srcdir"/tools
; do
3405 if test -f "$ac_dir/install-sh"; then
3407 ac_install_sh
="$ac_aux_dir/install-sh -c"
3409 elif test -f "$ac_dir/install.sh"; then
3411 ac_install_sh
="$ac_aux_dir/install.sh -c"
3413 elif test -f "$ac_dir/shtool"; then
3415 ac_install_sh
="$ac_aux_dir/shtool install -c"
3419 if test -z "$ac_aux_dir"; then
3420 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3423 # These three variables are undocumented and unsupported,
3424 # and are intended to be withdrawn in a future Autoconf release.
3425 # They can cause serious problems if a builder's source tree is in a directory
3426 # whose full name contains unusual characters.
3427 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3428 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3429 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3433 libwine_version
="1.0"
3437 # Check whether --enable-win16 was given.
3438 if test "${enable_win16+set}" = set; then :
3439 enableval
=$enable_win16;
3442 # Check whether --enable-win64 was given.
3443 if test "${enable_win64+set}" = set; then :
3444 enableval
=$enable_win64;
3447 # Check whether --enable-tests was given.
3448 if test "${enable_tests+set}" = set; then :
3449 enableval
=$enable_tests;
3452 # Check whether --enable-maintainer-mode was given.
3453 if test "${enable_maintainer_mode+set}" = set; then :
3454 enableval
=$enable_maintainer_mode;
3459 # Check whether --with-alsa was given.
3460 if test "${with_alsa+set}" = set; then :
3461 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3465 # Check whether --with-capi was given.
3466 if test "${with_capi+set}" = set; then :
3471 # Check whether --with-cms was given.
3472 if test "${with_cms+set}" = set; then :
3477 # Check whether --with-coreaudio was given.
3478 if test "${with_coreaudio+set}" = set; then :
3479 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3483 # Check whether --with-cups was given.
3484 if test "${with_cups+set}" = set; then :
3489 # Check whether --with-curses was given.
3490 if test "${with_curses+set}" = set; then :
3491 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3495 # Check whether --with-dbus was given.
3496 if test "${with_dbus+set}" = set; then :
3501 # Check whether --with-fontconfig was given.
3502 if test "${with_fontconfig+set}" = set; then :
3503 withval
=$with_fontconfig;
3507 # Check whether --with-freetype was given.
3508 if test "${with_freetype+set}" = set; then :
3509 withval
=$with_freetype;
3513 # Check whether --with-gettext was given.
3514 if test "${with_gettext+set}" = set; then :
3515 withval
=$with_gettext;
3519 # Check whether --with-gettextpo was given.
3520 if test "${with_gettextpo+set}" = set; then :
3521 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3525 # Check whether --with-gphoto was given.
3526 if test "${with_gphoto+set}" = set; then :
3527 withval
=$with_gphoto;
3531 # Check whether --with-glu was given.
3532 if test "${with_glu+set}" = set; then :
3537 # Check whether --with-gnutls was given.
3538 if test "${with_gnutls+set}" = set; then :
3539 withval
=$with_gnutls;
3543 # Check whether --with-gsm was given.
3544 if test "${with_gsm+set}" = set; then :
3545 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3549 # Check whether --with-gstreamer was given.
3550 if test "${with_gstreamer+set}" = set; then :
3551 withval
=$with_gstreamer;
3555 # Check whether --with-hal was given.
3556 if test "${with_hal+set}" = set; then :
3561 # Check whether --with-jpeg was given.
3562 if test "${with_jpeg+set}" = set; then :
3567 # Check whether --with-ldap was given.
3568 if test "${with_ldap+set}" = set; then :
3569 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3573 # Check whether --with-mpg123 was given.
3574 if test "${with_mpg123+set}" = set; then :
3575 withval
=$with_mpg123;
3579 # Check whether --with-netapi was given.
3580 if test "${with_netapi+set}" = set; then :
3581 withval
=$with_netapi;
3585 # Check whether --with-openal was given.
3586 if test "${with_openal+set}" = set; then :
3587 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3591 # Check whether --with-opencl was given.
3592 if test "${with_opencl+set}" = set; then :
3593 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3597 # Check whether --with-opengl was given.
3598 if test "${with_opengl+set}" = set; then :
3599 withval
=$with_opengl;
3603 # Check whether --with-osmesa was given.
3604 if test "${with_osmesa+set}" = set; then :
3605 withval
=$with_osmesa;
3609 # Check whether --with-oss was given.
3610 if test "${with_oss+set}" = set; then :
3615 # Check whether --with-pcap was given.
3616 if test "${with_pcap+set}" = set; then :
3617 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3621 # Check whether --with-png was given.
3622 if test "${with_png+set}" = set; then :
3627 # Check whether --with-pthread was given.
3628 if test "${with_pthread+set}" = set; then :
3629 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3633 # Check whether --with-pulse was given.
3634 if test "${with_pulse+set}" = set; then :
3635 withval
=$with_pulse;
3639 # Check whether --with-sane was given.
3640 if test "${with_sane+set}" = set; then :
3645 # Check whether --with-tiff was given.
3646 if test "${with_tiff+set}" = set; then :
3651 # Check whether --with-udev was given.
3652 if test "${with_udev+set}" = set; then :
3657 # Check whether --with-v4l was given.
3658 if test "${with_v4l+set}" = set; then :
3663 # Check whether --with-xcomposite was given.
3664 if test "${with_xcomposite+set}" = set; then :
3665 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3669 # Check whether --with-xcursor was given.
3670 if test "${with_xcursor+set}" = set; then :
3671 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3675 # Check whether --with-xfixes was given.
3676 if test "${with_xfixes+set}" = set; then :
3677 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
3681 # Check whether --with-xinerama was given.
3682 if test "${with_xinerama+set}" = set; then :
3683 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3687 # Check whether --with-xinput was given.
3688 if test "${with_xinput+set}" = set; then :
3689 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3693 # Check whether --with-xinput2 was given.
3694 if test "${with_xinput2+set}" = set; then :
3695 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3699 # Check whether --with-xml was given.
3700 if test "${with_xml+set}" = set; then :
3705 # Check whether --with-xrandr was given.
3706 if test "${with_xrandr+set}" = set; then :
3707 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3711 # Check whether --with-xrender was given.
3712 if test "${with_xrender+set}" = set; then :
3713 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3717 # Check whether --with-xshape was given.
3718 if test "${with_xshape+set}" = set; then :
3719 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3723 # Check whether --with-xshm was given.
3724 if test "${with_xshm+set}" = set; then :
3725 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3729 # Check whether --with-xslt was given.
3730 if test "${with_xslt+set}" = set; then :
3735 # Check whether --with-xxf86vm was given.
3736 if test "${with_xxf86vm+set}" = set; then :
3737 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
3741 # Check whether --with-zlib was given.
3742 if test "${with_zlib+set}" = set; then :
3743 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3748 # Check whether --with-wine-tools was given.
3749 if test "${with_wine_tools+set}" = set; then :
3750 withval
=$with_wine_tools;
3754 # Check whether --with-wine64 was given.
3755 if test "${with_wine64+set}" = set; then :
3756 withval
=$with_wine64;
3760 # Make sure we can run config.sub.
3761 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3762 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3765 $as_echo_n "checking build system type... " >&6; }
3766 if ${ac_cv_build+:} false
; then :
3767 $as_echo_n "(cached) " >&6
3769 ac_build_alias
=$build_alias
3770 test "x$ac_build_alias" = x
&&
3771 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3772 test "x$ac_build_alias" = x
&&
3773 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3774 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3775 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3779 $as_echo "$ac_cv_build" >&6; }
3780 case $ac_cv_build in
3782 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3785 ac_save_IFS
=$IFS; IFS
='-'
3791 # Remember, the first character of IFS is used to create $*,
3792 # except with old shells:
3795 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3799 $as_echo_n "checking host system type... " >&6; }
3800 if ${ac_cv_host+:} false
; then :
3801 $as_echo_n "(cached) " >&6
3803 if test "x$host_alias" = x
; then
3804 ac_cv_host
=$ac_cv_build
3806 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3807 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3812 $as_echo "$ac_cv_host" >&6; }
3815 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3818 ac_save_IFS
=$IFS; IFS
='-'
3824 # Remember, the first character of IFS is used to create $*,
3825 # except with old shells:
3828 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3834 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3835 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3836 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3842 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3844 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3845 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3846 $as_echo_n "(cached) " >&6
3848 cat >conftest.
make <<\_ACEOF
3851 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3853 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3854 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3856 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3858 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3862 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3864 $as_echo "yes" >&6; }
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3868 $as_echo "no" >&6; }
3869 SET_MAKE
="MAKE=${MAKE-make}"
3873 ac_cpp
='$CPP $CPPFLAGS'
3874 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3875 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3876 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3877 if test -n "$ac_tool_prefix"; then
3878 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3879 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3881 $as_echo_n "checking for $ac_word... " >&6; }
3882 if ${ac_cv_prog_CC+:} false
; then :
3883 $as_echo_n "(cached) " >&6
3885 if test -n "$CC"; then
3886 ac_cv_prog_CC
="$CC" # Let the user override the test.
3888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3892 test -z "$as_dir" && as_dir
=.
3893 for ac_exec_ext
in '' $ac_executable_extensions; do
3894 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3895 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3906 if test -n "$CC"; then
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3908 $as_echo "$CC" >&6; }
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3911 $as_echo "no" >&6; }
3916 if test -z "$ac_cv_prog_CC"; then
3918 # Extract the first word of "gcc", so it can be a program name with args.
3919 set dummy gcc
; ac_word
=$2
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3921 $as_echo_n "checking for $ac_word... " >&6; }
3922 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3923 $as_echo_n "(cached) " >&6
3925 if test -n "$ac_ct_CC"; then
3926 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3932 test -z "$as_dir" && as_dir
=.
3933 for ac_exec_ext
in '' $ac_executable_extensions; do
3934 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3935 ac_cv_prog_ac_ct_CC
="gcc"
3936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3945 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3946 if test -n "$ac_ct_CC"; then
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3948 $as_echo "$ac_ct_CC" >&6; }
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3951 $as_echo "no" >&6; }
3954 if test "x$ac_ct_CC" = x
; then
3957 case $cross_compiling:$ac_tool_warned in
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3961 ac_tool_warned
=yes ;;
3969 if test -z "$CC"; then
3970 if test -n "$ac_tool_prefix"; then
3971 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3972 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3974 $as_echo_n "checking for $ac_word... " >&6; }
3975 if ${ac_cv_prog_CC+:} false
; then :
3976 $as_echo_n "(cached) " >&6
3978 if test -n "$CC"; then
3979 ac_cv_prog_CC
="$CC" # Let the user override the test.
3981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3985 test -z "$as_dir" && as_dir
=.
3986 for ac_exec_ext
in '' $ac_executable_extensions; do
3987 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3988 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3999 if test -n "$CC"; then
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4001 $as_echo "$CC" >&6; }
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4004 $as_echo "no" >&6; }
4010 if test -z "$CC"; then
4011 # Extract the first word of "cc", so it can be a program name with args.
4012 set dummy cc
; ac_word
=$2
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4014 $as_echo_n "checking for $ac_word... " >&6; }
4015 if ${ac_cv_prog_CC+:} false
; then :
4016 $as_echo_n "(cached) " >&6
4018 if test -n "$CC"; then
4019 ac_cv_prog_CC
="$CC" # Let the user override the test.
4022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4026 test -z "$as_dir" && as_dir
=.
4027 for ac_exec_ext
in '' $ac_executable_extensions; do
4028 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4029 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4030 ac_prog_rejected
=yes
4034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4041 if test $ac_prog_rejected = yes; then
4042 # We found a bogon in the path, so make sure we never use it.
4043 set dummy
$ac_cv_prog_CC
4045 if test $# != 0; then
4046 # We chose a different compiler from the bogus one.
4047 # However, it has the same basename, so the bogon will be chosen
4048 # first if we set CC to just the basename; use the full file name.
4050 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4056 if test -n "$CC"; then
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4058 $as_echo "$CC" >&6; }
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4061 $as_echo "no" >&6; }
4066 if test -z "$CC"; then
4067 if test -n "$ac_tool_prefix"; then
4068 for ac_prog
in cl.exe
4070 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4071 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4073 $as_echo_n "checking for $ac_word... " >&6; }
4074 if ${ac_cv_prog_CC+:} false
; then :
4075 $as_echo_n "(cached) " >&6
4077 if test -n "$CC"; then
4078 ac_cv_prog_CC
="$CC" # Let the user override the test.
4080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4084 test -z "$as_dir" && as_dir
=.
4085 for ac_exec_ext
in '' $ac_executable_extensions; do
4086 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4087 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4098 if test -n "$CC"; then
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4100 $as_echo "$CC" >&6; }
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4103 $as_echo "no" >&6; }
4107 test -n "$CC" && break
4110 if test -z "$CC"; then
4112 for ac_prog
in cl.exe
4114 # Extract the first word of "$ac_prog", so it can be a program name with args.
4115 set dummy
$ac_prog; ac_word
=$2
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4117 $as_echo_n "checking for $ac_word... " >&6; }
4118 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4119 $as_echo_n "(cached) " >&6
4121 if test -n "$ac_ct_CC"; then
4122 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4128 test -z "$as_dir" && as_dir
=.
4129 for ac_exec_ext
in '' $ac_executable_extensions; do
4130 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4131 ac_cv_prog_ac_ct_CC
="$ac_prog"
4132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4141 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4142 if test -n "$ac_ct_CC"; then
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4144 $as_echo "$ac_ct_CC" >&6; }
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4147 $as_echo "no" >&6; }
4151 test -n "$ac_ct_CC" && break
4154 if test "x$ac_ct_CC" = x
; then
4157 case $cross_compiling:$ac_tool_warned in
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4161 ac_tool_warned
=yes ;;
4170 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4172 as_fn_error $?
"no acceptable C compiler found in \$PATH
4173 See \`config.log' for more details" "$LINENO" 5; }
4175 # Provide some information about the compiler.
4176 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4179 for ac_option
in --version -v -V -qversion; do
4180 { { ac_try
="$ac_compiler $ac_option >&5"
4182 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4183 *) ac_try_echo=$ac_try;;
4185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4186 $as_echo "$ac_try_echo"; } >&5
4187 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4189 if test -s conftest.err; then
4191 ... rest of stderr output deleted ...
4192 10q' conftest.err >conftest.er1
4193 cat conftest.er1 >&5
4195 rm -f conftest.er1 conftest.err
4196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4197 test $ac_status = 0; }
4200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4201 /* end confdefs.h. */
4211 ac_clean_files_save=$ac_clean_files
4212 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4213 # Try to create an executable without -o first, disregard a.out.
4214 # It will help us diagnose broken compilers, and finding out an intuition
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4217 $as_echo_n "checking whether the C compiler works... " >&6; }
4218 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4220 # The possible output files:
4221 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4224 for ac_file in $ac_files
4227 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4228 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4233 if { { ac_try="$ac_link_default"
4235 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4236 *) ac_try_echo
=$ac_try;;
4238 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4239 $as_echo "$ac_try_echo"; } >&5
4240 (eval "$ac_link_default") 2>&5
4242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4243 test $ac_status = 0; }; then :
4244 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4245 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4246 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4247 # so that the user can short-circuit this test for compilers unknown to
4249 for ac_file
in $ac_files ''
4251 test -f "$ac_file" ||
continue
4253 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4256 # We found the default executable, but exeext='' is most
4260 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4262 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4264 # We set ac_cv_exeext here because the later test for it is not
4265 # safe: cross compilers may not add the suffix if given an `-o'
4266 # argument, so we may need to know it at that point already.
4267 # Even if this section looks crufty: it has the advantage of
4274 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4279 if test -z "$ac_file"; then :
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4281 $as_echo "no" >&6; }
4282 $as_echo "$as_me: failed program was:" >&5
4283 sed 's/^/| /' conftest.
$ac_ext >&5
4285 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4287 as_fn_error
77 "C compiler cannot create executables
4288 See \`config.log' for more details" "$LINENO" 5; }
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4291 $as_echo "yes" >&6; }
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4294 $as_echo_n "checking for C compiler default output file name... " >&6; }
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4296 $as_echo "$ac_file" >&6; }
4297 ac_exeext
=$ac_cv_exeext
4299 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4300 ac_clean_files
=$ac_clean_files_save
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4302 $as_echo_n "checking for suffix of executables... " >&6; }
4303 if { { ac_try
="$ac_link"
4305 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4306 *) ac_try_echo=$ac_try;;
4308 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4309 $as_echo "$ac_try_echo"; } >&5
4310 (eval "$ac_link") 2>&5
4312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4313 test $ac_status = 0; }; then :
4314 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4315 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4316 # work properly (i.e., refer to `conftest.exe'), while it won't with
4318 for ac_file
in conftest.exe conftest conftest.
*; do
4319 test -f "$ac_file" ||
continue
4321 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4322 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4328 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4329 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4330 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4331 See \`config.log' for more details" "$LINENO" 5; }
4333 rm -f conftest conftest
$ac_cv_exeext
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4335 $as_echo "$ac_cv_exeext" >&6; }
4337 rm -f conftest.
$ac_ext
4338 EXEEXT
=$ac_cv_exeext
4340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4346 FILE *f = fopen ("conftest.out", "w");
4347 return ferror (f) || fclose (f) != 0;
4353 ac_clean_files
="$ac_clean_files conftest.out"
4354 # Check that the compiler produces executables we can run. If not, either
4355 # the compiler is broken, or we cross compile.
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4357 $as_echo_n "checking whether we are cross compiling... " >&6; }
4358 if test "$cross_compiling" != yes; then
4359 { { ac_try
="$ac_link"
4361 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4362 *) ac_try_echo=$ac_try;;
4364 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4365 $as_echo "$ac_try_echo"; } >&5
4366 (eval "$ac_link") 2>&5
4368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4369 test $ac_status = 0; }
4370 if { ac_try='./conftest$ac_cv_exeext'
4371 { { case "(($ac_try" in
4372 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4373 *) ac_try_echo
=$ac_try;;
4375 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4376 $as_echo "$ac_try_echo"; } >&5
4377 (eval "$ac_try") 2>&5
4379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4380 test $ac_status = 0; }; }; then
4383 if test "$cross_compiling" = maybe
; then
4386 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4388 as_fn_error $?
"cannot run C compiled programs.
4389 If you meant to cross compile, use \`--host'.
4390 See \`config.log' for more details" "$LINENO" 5; }
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4395 $as_echo "$cross_compiling" >&6; }
4397 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4398 ac_clean_files
=$ac_clean_files_save
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4400 $as_echo_n "checking for suffix of object files... " >&6; }
4401 if ${ac_cv_objext+:} false
; then :
4402 $as_echo_n "(cached) " >&6
4404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4405 /* end confdefs.h. */
4415 rm -f conftest.o conftest.obj
4416 if { { ac_try
="$ac_compile"
4418 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4419 *) ac_try_echo=$ac_try;;
4421 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4422 $as_echo "$ac_try_echo"; } >&5
4423 (eval "$ac_compile") 2>&5
4425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4426 test $ac_status = 0; }; then :
4427 for ac_file in conftest.o conftest.obj conftest.*; do
4428 test -f "$ac_file" || continue;
4430 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4431 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4436 $as_echo "$as_me: failed program was:" >&5
4437 sed 's/^/| /' conftest.$ac_ext >&5
4439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4441 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4442 See \
`config.log' for more details" "$LINENO" 5; }
4444 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4447 $as_echo "$ac_cv_objext" >&6; }
4448 OBJEXT=$ac_cv_objext
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4451 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4452 if ${ac_cv_c_compiler_gnu+:} false; then :
4453 $as_echo_n "(cached) " >&6
4455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4456 /* end confdefs.h. */
4469 if ac_fn_c_try_compile "$LINENO"; then :
4474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4475 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4479 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4480 if test $ac_compiler_gnu = yes; then
4485 ac_test_CFLAGS=${CFLAGS+set}
4486 ac_save_CFLAGS=$CFLAGS
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4488 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4489 if ${ac_cv_prog_cc_g+:} false; then :
4490 $as_echo_n "(cached) " >&6
4492 ac_save_c_werror_flag=$ac_c_werror_flag
4493 ac_c_werror_flag=yes
4496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4497 /* end confdefs.h. */
4507 if ac_fn_c_try_compile "$LINENO"; then :
4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4512 /* end confdefs.h. */
4522 if ac_fn_c_try_compile "$LINENO"; then :
4525 ac_c_werror_flag=$ac_save_c_werror_flag
4527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4538 if ac_fn_c_try_compile "$LINENO"; then :
4541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4546 ac_c_werror_flag=$ac_save_c_werror_flag
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4549 $as_echo "$ac_cv_prog_cc_g" >&6; }
4550 if test "$ac_test_CFLAGS" = set; then
4551 CFLAGS=$ac_save_CFLAGS
4552 elif test $ac_cv_prog_cc_g = yes; then
4553 if test "$GCC" = yes; then
4559 if test "$GCC" = yes; then
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4566 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4567 if ${ac_cv_prog_cc_c89+:} false; then :
4568 $as_echo_n "(cached) " >&6
4570 ac_cv_prog_cc_c89=no
4572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4577 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4578 struct buf { int x; };
4579 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4580 static char *e (p, i)
4586 static char *f (char * (*g) (char **, int), char **p, ...)
4591 s = g (p, va_arg (v,int));
4596 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4597 function prototypes and stuff, but not '\xHH' hex character constants.
4598 These don't provoke an error unfortunately, instead are silently treated
4599 as 'x'. The following induces an error, until -std is added to get
4600 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4601 array size at least. It's necessary to write '\x00'==0 to get something
4602 that's true only with -std. */
4603 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4605 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4606 inside strings and character constants. */
4608 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4610 int test (int i, double x);
4611 struct s1 {int (*f) (int a);};
4612 struct s2 {int (*f) (double a);};
4613 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4619 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4624 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4625 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4627 CC="$ac_save_CC $ac_arg"
4628 if ac_fn_c_try_compile "$LINENO"; then :
4629 ac_cv_prog_cc_c89=$ac_arg
4631 rm -f core conftest.err conftest.$ac_objext
4632 test "x$ac_cv_prog_cc_c89" != "xno" && break
4634 rm -f conftest.$ac_ext
4639 case "x$ac_cv_prog_cc_c89" in
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4642 $as_echo "none needed" >&6; } ;;
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4645 $as_echo "unsupported" >&6; } ;;
4647 CC="$CC $ac_cv_prog_cc_c89"
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4649 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4651 if test "x$ac_cv_prog_cc_c89" != xno; then :
4656 ac_cpp='$CPP $CPPFLAGS'
4657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4662 ac_cpp='$CXXCPP $CPPFLAGS'
4663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4666 if test -z "$CXX"; then
4667 if test -n "$CCC"; then
4670 if test -n "$ac_tool_prefix"; then
4671 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4673 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4674 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4676 $as_echo_n "checking for $ac_word... " >&6; }
4677 if ${ac_cv_prog_CXX+:} false; then :
4678 $as_echo_n "(cached) " >&6
4680 if test -n "$CXX"; then
4681 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4687 test -z "$as_dir" && as_dir=.
4688 for ac_exec_ext in '' $ac_executable_extensions; do
4689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4690 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4701 if test -n "$CXX"; then
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4703 $as_echo "$CXX" >&6; }
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4706 $as_echo "no" >&6; }
4710 test -n "$CXX" && break
4713 if test -z "$CXX"; then
4715 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4717 # Extract the first word of "$ac_prog", so it can be a program name with args.
4718 set dummy $ac_prog; ac_word=$2
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4720 $as_echo_n "checking for $ac_word... " >&6; }
4721 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4722 $as_echo_n "(cached) " >&6
4724 if test -n "$ac_ct_CXX"; then
4725 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4731 test -z "$as_dir" && as_dir=.
4732 for ac_exec_ext in '' $ac_executable_extensions; do
4733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4734 ac_cv_prog_ac_ct_CXX="$ac_prog"
4735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4744 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4745 if test -n "$ac_ct_CXX"; then
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4747 $as_echo "$ac_ct_CXX" >&6; }
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4750 $as_echo "no" >&6; }
4754 test -n "$ac_ct_CXX" && break
4757 if test "x$ac_ct_CXX" = x; then
4760 case $cross_compiling:$ac_tool_warned in
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4763 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4764 ac_tool_warned=yes ;;
4772 # Provide some information about the compiler.
4773 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4776 for ac_option in --version -v -V -qversion; do
4777 { { ac_try="$ac_compiler $ac_option >&5"
4779 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4780 *) ac_try_echo
=$ac_try;;
4782 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4783 $as_echo "$ac_try_echo"; } >&5
4784 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4786 if test -s conftest.err
; then
4788 ... rest of stderr output deleted ...
4789 10q' conftest.err
>conftest.er1
4790 cat conftest.er1
>&5
4792 rm -f conftest.er1 conftest.err
4793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4794 test $ac_status = 0; }
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4798 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4799 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4800 $as_echo_n "(cached) " >&6
4802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4803 /* end confdefs.h. */
4816 if ac_fn_cxx_try_compile
"$LINENO"; then :
4821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4822 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4826 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4827 if test $ac_compiler_gnu = yes; then
4832 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4833 ac_save_CXXFLAGS
=$CXXFLAGS
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4835 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4836 if ${ac_cv_prog_cxx_g+:} false
; then :
4837 $as_echo_n "(cached) " >&6
4839 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4840 ac_cxx_werror_flag
=yes
4843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4844 /* end confdefs.h. */
4854 if ac_fn_cxx_try_compile
"$LINENO"; then :
4855 ac_cv_prog_cxx_g
=yes
4858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4859 /* end confdefs.h. */
4869 if ac_fn_cxx_try_compile
"$LINENO"; then :
4872 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4875 /* end confdefs.h. */
4885 if ac_fn_cxx_try_compile
"$LINENO"; then :
4886 ac_cv_prog_cxx_g
=yes
4888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4893 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4896 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4897 if test "$ac_test_CXXFLAGS" = set; then
4898 CXXFLAGS
=$ac_save_CXXFLAGS
4899 elif test $ac_cv_prog_cxx_g = yes; then
4900 if test "$GXX" = yes; then
4906 if test "$GXX" = yes; then
4913 ac_cpp
='$CPP $CPPFLAGS'
4914 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4915 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4916 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4918 if test -n "$ac_tool_prefix"; then
4919 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4920 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4922 $as_echo_n "checking for $ac_word... " >&6; }
4923 if ${ac_cv_prog_CPPBIN+:} false
; then :
4924 $as_echo_n "(cached) " >&6
4926 if test -n "$CPPBIN"; then
4927 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4933 test -z "$as_dir" && as_dir
=.
4934 for ac_exec_ext
in '' $ac_executable_extensions; do
4935 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4936 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4946 CPPBIN
=$ac_cv_prog_CPPBIN
4947 if test -n "$CPPBIN"; then
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4949 $as_echo "$CPPBIN" >&6; }
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4952 $as_echo "no" >&6; }
4957 if test -z "$ac_cv_prog_CPPBIN"; then
4958 ac_ct_CPPBIN
=$CPPBIN
4959 # Extract the first word of "cpp", so it can be a program name with args.
4960 set dummy cpp
; ac_word
=$2
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4962 $as_echo_n "checking for $ac_word... " >&6; }
4963 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4964 $as_echo_n "(cached) " >&6
4966 if test -n "$ac_ct_CPPBIN"; then
4967 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4973 test -z "$as_dir" && as_dir
=.
4974 for ac_exec_ext
in '' $ac_executable_extensions; do
4975 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4976 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4986 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4987 if test -n "$ac_ct_CPPBIN"; then
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4989 $as_echo "$ac_ct_CPPBIN" >&6; }
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4992 $as_echo "no" >&6; }
4995 if test "x$ac_ct_CPPBIN" = x
; then
4998 case $cross_compiling:$ac_tool_warned in
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5002 ac_tool_warned
=yes ;;
5004 CPPBIN
=$ac_ct_CPPBIN
5007 CPPBIN
="$ac_cv_prog_CPPBIN"
5011 cat >>confdefs.h
<<_ACEOF
5012 #define EXEEXT "$ac_exeext"
5015 if test -n "$ac_tool_prefix"; then
5016 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5017 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 $as_echo_n "checking for $ac_word... " >&6; }
5020 if ${ac_cv_prog_LD+:} false
; then :
5021 $as_echo_n "(cached) " >&6
5023 if test -n "$LD"; then
5024 ac_cv_prog_LD
="$LD" # Let the user override the test.
5026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5030 test -z "$as_dir" && as_dir
=.
5031 for ac_exec_ext
in '' $ac_executable_extensions; do
5032 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5033 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5044 if test -n "$LD"; then
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5046 $as_echo "$LD" >&6; }
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 $as_echo "no" >&6; }
5054 if test -z "$ac_cv_prog_LD"; then
5056 # Extract the first word of "ld", so it can be a program name with args.
5057 set dummy ld
; ac_word
=$2
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5059 $as_echo_n "checking for $ac_word... " >&6; }
5060 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
5061 $as_echo_n "(cached) " >&6
5063 if test -n "$ac_ct_LD"; then
5064 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5070 test -z "$as_dir" && as_dir
=.
5071 for ac_exec_ext
in '' $ac_executable_extensions; do
5072 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5073 ac_cv_prog_ac_ct_LD
="ld"
5074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5084 if test -n "$ac_ct_LD"; then
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5086 $as_echo "$ac_ct_LD" >&6; }
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5089 $as_echo "no" >&6; }
5092 if test "x$ac_ct_LD" = x
; then
5095 case $cross_compiling:$ac_tool_warned in
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5099 ac_tool_warned
=yes ;;
5110 with_fontconfig
=${with_fontconfig:-no}
5112 *-mingw32*|
*-cygwin*)
5113 enable_win16
=${enable_win16:-no}
5114 CFLAGS
="$CFLAGS -D_WIN32"
5120 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5125 $as_echo_n "checking whether $CC works... " >&6; }
5127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5128 /* end confdefs.h. */
5138 if ac_fn_c_try_link
"$LINENO"; then :
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5140 $as_echo "yes" >&6; }
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143 $as_echo "no" >&6; }
5144 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5146 rm -f core conftest.err conftest.
$ac_objext \
5147 conftest
$ac_exeext conftest.
$ac_ext
5149 notice_platform
="32-bit "
5152 PKG_CONFIG_PATH
=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5153 export PKG_CONFIG_PATH
5154 enable_win16
=${enable_win16:-yes}
5156 if test "x${GCC}" = "xyes"
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5159 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5161 /* end confdefs.h. */
5166 void func(__builtin_ms_va_list *args);
5171 if ac_fn_c_try_compile
"$LINENO"; then :
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5173 $as_echo "yes" >&6; }
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5177 as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5184 notice_platform
="64-bit "
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5191 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5193 /* end confdefs.h. */
5194 int ac_test(int i) { return i; }
5198 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5203 if ac_fn_c_try_link
"$LINENO"; then :
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5205 $as_echo "yes" >&6; }
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5208 $as_echo "no" >&6; }
5209 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5211 rm -f core conftest.err conftest.
$ac_objext \
5212 conftest
$ac_exeext conftest.
$ac_ext
5213 CFLAGS
="$CFLAGS -marm"
5218 enable_win16
=${enable_win16:-yes}
5222 enable_win16
=${enable_win16:-no}
5223 enable_win64
=${enable_win64:-no}
5225 enable_winetest
=${enable_winetest:-$enable_tests}
5227 if test -n "$with_wine64"
5229 if test "x$enable_win64" = "xyes"
5231 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5232 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5234 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5235 You should create a separate build directory and run configure from there." "$LINENO" 5
5236 enable_fonts
=${enable_fonts:-no}
5237 enable_server
=${enable_server:-no}
5238 elif test "x$enable_win64" = "xyes"
5240 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5244 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5245 if ${wine_cv_toolsdir+:} false
; then :
5246 $as_echo_n "(cached) " >&6
5248 wine_cv_toolsdir
="$with_wine_tools"
5249 if test -z "$with_wine_tools"; then
5250 if test "$cross_compiling" = "yes"; then
5251 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5252 elif test -n "$with_wine64"; then
5253 wine_cv_toolsdir
="$with_wine64"
5256 if test -z "$wine_cv_toolsdir"; then
5257 wine_makedep
=tools
/makedep
5258 wine_cv_toolsdir
="\$(top_builddir)"
5259 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5260 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5261 case "$wine_cv_toolsdir" in
5263 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5265 enable_tools
=${enable_tools:-no}
5266 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5268 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5272 $as_echo "$wine_cv_toolsdir" >&6; }
5273 TOOLSDIR
=$wine_cv_toolsdir
5275 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5277 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5283 # Extract the first word of "$ac_prog", so it can be a program name with args.
5284 set dummy
$ac_prog; ac_word
=$2
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5286 $as_echo_n "checking for $ac_word... " >&6; }
5287 if ${ac_cv_prog_FLEX+:} false
; then :
5288 $as_echo_n "(cached) " >&6
5290 if test -n "$FLEX"; then
5291 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5297 test -z "$as_dir" && as_dir
=.
5298 for ac_exec_ext
in '' $ac_executable_extensions; do
5299 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5300 ac_cv_prog_FLEX
="$ac_prog"
5301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5310 FLEX
=$ac_cv_prog_FLEX
5311 if test -n "$FLEX"; then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5313 $as_echo "$FLEX" >&6; }
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5316 $as_echo "no" >&6; }
5320 test -n "$FLEX" && break
5322 test -n "$FLEX" || FLEX
="none"
5324 if test "$FLEX" = "none"
5326 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5329 $as_echo_n "checking whether flex is recent enough... " >&6; }
5330 cat >conftest.l
<<EOF
5332 #include "prediluvian.h"
5336 if $FLEX -t conftest.l
>/dev
/null
2>&5
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5339 $as_echo "yes" >&6; }
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5342 $as_echo "no" >&6; }
5343 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5346 for ac_prog
in bison
5348 # Extract the first word of "$ac_prog", so it can be a program name with args.
5349 set dummy
$ac_prog; ac_word
=$2
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5351 $as_echo_n "checking for $ac_word... " >&6; }
5352 if ${ac_cv_prog_BISON+:} false
; then :
5353 $as_echo_n "(cached) " >&6
5355 if test -n "$BISON"; then
5356 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5362 test -z "$as_dir" && as_dir
=.
5363 for ac_exec_ext
in '' $ac_executable_extensions; do
5364 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5365 ac_cv_prog_BISON
="$ac_prog"
5366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5375 BISON
=$ac_cv_prog_BISON
5376 if test -n "$BISON"; then
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5378 $as_echo "$BISON" >&6; }
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5381 $as_echo "no" >&6; }
5385 test -n "$BISON" && break
5387 test -n "$BISON" || BISON
="none"
5389 if test "$BISON" = "none"
5391 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5394 if test -n "$ac_tool_prefix"; then
5395 for ac_prog
in ar gar
5397 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5398 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5400 $as_echo_n "checking for $ac_word... " >&6; }
5401 if ${ac_cv_prog_AR+:} false
; then :
5402 $as_echo_n "(cached) " >&6
5404 if test -n "$AR"; then
5405 ac_cv_prog_AR
="$AR" # Let the user override the test.
5407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5411 test -z "$as_dir" && as_dir
=.
5412 for ac_exec_ext
in '' $ac_executable_extensions; do
5413 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5414 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5425 if test -n "$AR"; then
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5427 $as_echo "$AR" >&6; }
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5430 $as_echo "no" >&6; }
5434 test -n "$AR" && break
5437 if test -z "$AR"; then
5439 for ac_prog
in ar gar
5441 # Extract the first word of "$ac_prog", so it can be a program name with args.
5442 set dummy
$ac_prog; ac_word
=$2
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5444 $as_echo_n "checking for $ac_word... " >&6; }
5445 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5446 $as_echo_n "(cached) " >&6
5448 if test -n "$ac_ct_AR"; then
5449 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5455 test -z "$as_dir" && as_dir
=.
5456 for ac_exec_ext
in '' $ac_executable_extensions; do
5457 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5458 ac_cv_prog_ac_ct_AR
="$ac_prog"
5459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5468 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5469 if test -n "$ac_ct_AR"; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5471 $as_echo "$ac_ct_AR" >&6; }
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5474 $as_echo "no" >&6; }
5478 test -n "$ac_ct_AR" && break
5481 if test "x$ac_ct_AR" = x
; then
5484 case $cross_compiling:$ac_tool_warned in
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5488 ac_tool_warned
=yes ;;
5494 if test -n "$ac_tool_prefix"; then
5495 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5496 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5498 $as_echo_n "checking for $ac_word... " >&6; }
5499 if ${ac_cv_prog_STRIP+:} false
; then :
5500 $as_echo_n "(cached) " >&6
5502 if test -n "$STRIP"; then
5503 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5509 test -z "$as_dir" && as_dir
=.
5510 for ac_exec_ext
in '' $ac_executable_extensions; do
5511 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5512 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5522 STRIP
=$ac_cv_prog_STRIP
5523 if test -n "$STRIP"; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5525 $as_echo "$STRIP" >&6; }
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5528 $as_echo "no" >&6; }
5533 if test -z "$ac_cv_prog_STRIP"; then
5535 # Extract the first word of "strip", so it can be a program name with args.
5536 set dummy strip
; ac_word
=$2
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5538 $as_echo_n "checking for $ac_word... " >&6; }
5539 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5540 $as_echo_n "(cached) " >&6
5542 if test -n "$ac_ct_STRIP"; then
5543 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5549 test -z "$as_dir" && as_dir
=.
5550 for ac_exec_ext
in '' $ac_executable_extensions; do
5551 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5552 ac_cv_prog_ac_ct_STRIP
="strip"
5553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5562 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5563 if test -n "$ac_ct_STRIP"; then
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5565 $as_echo "$ac_ct_STRIP" >&6; }
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5568 $as_echo "no" >&6; }
5571 if test "x$ac_ct_STRIP" = x
; then
5574 case $cross_compiling:$ac_tool_warned in
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5578 ac_tool_warned
=yes ;;
5583 STRIP
="$ac_cv_prog_STRIP"
5588 if test -n "$ac_tool_prefix"; then
5589 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5590 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5592 $as_echo_n "checking for $ac_word... " >&6; }
5593 if ${ac_cv_prog_RANLIB+:} false
; then :
5594 $as_echo_n "(cached) " >&6
5596 if test -n "$RANLIB"; then
5597 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5603 test -z "$as_dir" && as_dir
=.
5604 for ac_exec_ext
in '' $ac_executable_extensions; do
5605 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5606 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5616 RANLIB
=$ac_cv_prog_RANLIB
5617 if test -n "$RANLIB"; then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5619 $as_echo "$RANLIB" >&6; }
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5622 $as_echo "no" >&6; }
5627 if test -z "$ac_cv_prog_RANLIB"; then
5628 ac_ct_RANLIB
=$RANLIB
5629 # Extract the first word of "ranlib", so it can be a program name with args.
5630 set dummy ranlib
; ac_word
=$2
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5632 $as_echo_n "checking for $ac_word... " >&6; }
5633 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5634 $as_echo_n "(cached) " >&6
5636 if test -n "$ac_ct_RANLIB"; then
5637 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5643 test -z "$as_dir" && as_dir
=.
5644 for ac_exec_ext
in '' $ac_executable_extensions; do
5645 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5646 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5656 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5657 if test -n "$ac_ct_RANLIB"; then
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5659 $as_echo "$ac_ct_RANLIB" >&6; }
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5662 $as_echo "no" >&6; }
5665 if test "x$ac_ct_RANLIB" = x
; then
5668 case $cross_compiling:$ac_tool_warned in
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5671 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5672 ac_tool_warned
=yes ;;
5674 RANLIB
=$ac_ct_RANLIB
5677 RANLIB
="$ac_cv_prog_RANLIB"
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5681 $as_echo_n "checking whether ln -s works... " >&6; }
5683 if test "$LN_S" = "ln -s"; then
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5685 $as_echo "yes" >&6; }
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5688 $as_echo "no, using $LN_S" >&6; }
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5692 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5693 if ${ac_cv_path_GREP+:} false
; then :
5694 $as_echo_n "(cached) " >&6
5696 if test -z "$GREP"; then
5697 ac_path_GREP_found
=false
5698 # Loop through the user's path and test for each of PROGNAME-LIST
5699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5700 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5703 test -z "$as_dir" && as_dir
=.
5704 for ac_prog
in grep ggrep
; do
5705 for ac_exec_ext
in '' $ac_executable_extensions; do
5706 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5707 as_fn_executable_p
"$ac_path_GREP" ||
continue
5708 # Check for GNU ac_path_GREP and select it if it is found.
5709 # Check for GNU $ac_path_GREP
5710 case `"$ac_path_GREP" --version 2>&1` in
5712 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5715 $as_echo_n 0123456789 >"conftest.in"
5718 cat "conftest.in" "conftest.in" >"conftest.tmp"
5719 mv "conftest.tmp" "conftest.in"
5720 cp "conftest.in" "conftest.nl"
5721 $as_echo 'GREP' >> "conftest.nl"
5722 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5723 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5724 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5725 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5726 # Best one so far, save it but keep looking for a better one
5727 ac_cv_path_GREP
="$ac_path_GREP"
5728 ac_path_GREP_max
=$ac_count
5730 # 10*(2^10) chars as input seems more than enough
5731 test $ac_count -gt 10 && break
5733 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5736 $ac_path_GREP_found && break 3
5741 if test -z "$ac_cv_path_GREP"; then
5742 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5745 ac_cv_path_GREP
=$GREP
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5750 $as_echo "$ac_cv_path_GREP" >&6; }
5751 GREP
="$ac_cv_path_GREP"
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5755 $as_echo_n "checking for egrep... " >&6; }
5756 if ${ac_cv_path_EGREP+:} false
; then :
5757 $as_echo_n "(cached) " >&6
5759 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5760 then ac_cv_path_EGREP
="$GREP -E"
5762 if test -z "$EGREP"; then
5763 ac_path_EGREP_found
=false
5764 # Loop through the user's path and test for each of PROGNAME-LIST
5765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5766 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5769 test -z "$as_dir" && as_dir
=.
5770 for ac_prog
in egrep; do
5771 for ac_exec_ext
in '' $ac_executable_extensions; do
5772 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5773 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5774 # Check for GNU ac_path_EGREP and select it if it is found.
5775 # Check for GNU $ac_path_EGREP
5776 case `"$ac_path_EGREP" --version 2>&1` in
5778 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5781 $as_echo_n 0123456789 >"conftest.in"
5784 cat "conftest.in" "conftest.in" >"conftest.tmp"
5785 mv "conftest.tmp" "conftest.in"
5786 cp "conftest.in" "conftest.nl"
5787 $as_echo 'EGREP' >> "conftest.nl"
5788 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5789 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5790 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5791 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5792 # Best one so far, save it but keep looking for a better one
5793 ac_cv_path_EGREP
="$ac_path_EGREP"
5794 ac_path_EGREP_max
=$ac_count
5796 # 10*(2^10) chars as input seems more than enough
5797 test $ac_count -gt 10 && break
5799 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5802 $ac_path_EGREP_found && break 3
5807 if test -z "$ac_cv_path_EGREP"; then
5808 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5811 ac_cv_path_EGREP
=$EGREP
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5817 $as_echo "$ac_cv_path_EGREP" >&6; }
5818 EGREP
="$ac_cv_path_EGREP"
5821 # Extract the first word of "ldconfig", so it can be a program name with args.
5822 set dummy ldconfig
; ac_word
=$2
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5824 $as_echo_n "checking for $ac_word... " >&6; }
5825 if ${ac_cv_path_LDCONFIG+:} false
; then :
5826 $as_echo_n "(cached) " >&6
5830 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5834 for as_dir
in /sbin
/usr
/sbin
$PATH
5837 test -z "$as_dir" && as_dir
=.
5838 for ac_exec_ext
in '' $ac_executable_extensions; do
5839 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5840 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5848 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5852 LDCONFIG
=$ac_cv_path_LDCONFIG
5853 if test -n "$LDCONFIG"; then
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5855 $as_echo "$LDCONFIG" >&6; }
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5858 $as_echo "no" >&6; }
5862 for ac_prog
in msgfmt
5864 # Extract the first word of "$ac_prog", so it can be a program name with args.
5865 set dummy
$ac_prog; ac_word
=$2
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5867 $as_echo_n "checking for $ac_word... " >&6; }
5868 if ${ac_cv_prog_MSGFMT+:} false
; then :
5869 $as_echo_n "(cached) " >&6
5871 if test -n "$MSGFMT"; then
5872 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5878 test -z "$as_dir" && as_dir
=.
5879 for ac_exec_ext
in '' $ac_executable_extensions; do
5880 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5881 ac_cv_prog_MSGFMT
="$ac_prog"
5882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5891 MSGFMT
=$ac_cv_prog_MSGFMT
5892 if test -n "$MSGFMT"; then
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5894 $as_echo "$MSGFMT" >&6; }
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897 $as_echo "no" >&6; }
5901 test -n "$MSGFMT" && break
5903 test -n "$MSGFMT" || MSGFMT
="false"
5905 if ${ac_tool_prefix+:} false
; then :
5906 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5907 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5909 $as_echo_n "checking for $ac_word... " >&6; }
5910 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5911 $as_echo_n "(cached) " >&6
5913 if test -n "$PKG_CONFIG"; then
5914 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5920 test -z "$as_dir" && as_dir
=.
5921 for ac_exec_ext
in '' $ac_executable_extensions; do
5922 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5923 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5933 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5934 if test -n "$PKG_CONFIG"; then
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5936 $as_echo "$PKG_CONFIG" >&6; }
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5939 $as_echo "no" >&6; }
5944 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5945 if test "x$cross_compiling" = xyes
; then :
5948 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5949 # Extract the first word of "pkg-config", so it can be a program name with args.
5950 set dummy pkg-config
; ac_word
=$2
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5952 $as_echo_n "checking for $ac_word... " >&6; }
5953 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5954 $as_echo_n "(cached) " >&6
5956 if test -n "$PKG_CONFIG"; then
5957 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5963 test -z "$as_dir" && as_dir
=.
5964 for ac_exec_ext
in '' $ac_executable_extensions; do
5965 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5966 ac_cv_prog_PKG_CONFIG
="pkg-config"
5967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5976 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5977 if test -n "$PKG_CONFIG"; then
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5979 $as_echo "$PKG_CONFIG" >&6; }
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5982 $as_echo "no" >&6; }
5988 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5991 if test "x$enable_maintainer_mode" != "xyes"
5998 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5999 for ac_prog
in fontforge
6001 # Extract the first word of "$ac_prog", so it can be a program name with args.
6002 set dummy
$ac_prog; ac_word
=$2
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6004 $as_echo_n "checking for $ac_word... " >&6; }
6005 if ${ac_cv_prog_FONTFORGE+:} false
; then :
6006 $as_echo_n "(cached) " >&6
6008 if test -n "$FONTFORGE"; then
6009 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6015 test -z "$as_dir" && as_dir
=.
6016 for ac_exec_ext
in '' $ac_executable_extensions; do
6017 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6018 ac_cv_prog_FONTFORGE
="$ac_prog"
6019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6028 FONTFORGE
=$ac_cv_prog_FONTFORGE
6029 if test -n "$FONTFORGE"; then
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6031 $as_echo "$FONTFORGE" >&6; }
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6034 $as_echo "no" >&6; }
6038 test -n "$FONTFORGE" && break
6040 test -n "$FONTFORGE" || FONTFORGE
="false"
6042 for ac_prog
in rsvg-convert rsvg
6044 # Extract the first word of "$ac_prog", so it can be a program name with args.
6045 set dummy
$ac_prog; ac_word
=$2
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6047 $as_echo_n "checking for $ac_word... " >&6; }
6048 if ${ac_cv_prog_RSVG+:} false
; then :
6049 $as_echo_n "(cached) " >&6
6051 if test -n "$RSVG"; then
6052 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
6054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6058 test -z "$as_dir" && as_dir
=.
6059 for ac_exec_ext
in '' $ac_executable_extensions; do
6060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6061 ac_cv_prog_RSVG
="$ac_prog"
6062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6071 RSVG
=$ac_cv_prog_RSVG
6072 if test -n "$RSVG"; then
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6074 $as_echo "$RSVG" >&6; }
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6077 $as_echo "no" >&6; }
6081 test -n "$RSVG" && break
6083 test -n "$RSVG" || RSVG
="false"
6085 for ac_prog
in convert
6087 # Extract the first word of "$ac_prog", so it can be a program name with args.
6088 set dummy
$ac_prog; ac_word
=$2
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6090 $as_echo_n "checking for $ac_word... " >&6; }
6091 if ${ac_cv_prog_CONVERT+:} false
; then :
6092 $as_echo_n "(cached) " >&6
6094 if test -n "$CONVERT"; then
6095 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
6097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6101 test -z "$as_dir" && as_dir
=.
6102 for ac_exec_ext
in '' $ac_executable_extensions; do
6103 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6104 ac_cv_prog_CONVERT
="$ac_prog"
6105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6114 CONVERT
=$ac_cv_prog_CONVERT
6115 if test -n "$CONVERT"; then
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6117 $as_echo "$CONVERT" >&6; }
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6120 $as_echo "no" >&6; }
6124 test -n "$CONVERT" && break
6126 test -n "$CONVERT" || CONVERT
="false"
6128 for ac_prog
in icotool
6130 # Extract the first word of "$ac_prog", so it can be a program name with args.
6131 set dummy
$ac_prog; ac_word
=$2
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6133 $as_echo_n "checking for $ac_word... " >&6; }
6134 if ${ac_cv_prog_ICOTOOL+:} false
; then :
6135 $as_echo_n "(cached) " >&6
6137 if test -n "$ICOTOOL"; then
6138 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6144 test -z "$as_dir" && as_dir
=.
6145 for ac_exec_ext
in '' $ac_executable_extensions; do
6146 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6147 ac_cv_prog_ICOTOOL
="$ac_prog"
6148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6157 ICOTOOL
=$ac_cv_prog_ICOTOOL
6158 if test -n "$ICOTOOL"; then
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6160 $as_echo "$ICOTOOL" >&6; }
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6163 $as_echo "no" >&6; }
6167 test -n "$ICOTOOL" && break
6169 test -n "$ICOTOOL" || ICOTOOL
="false"
6171 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6172 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6174 if test "$CONVERT" = false
6176 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6179 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6180 convert_version
=`convert --version | head -n1`
6181 if test "x$convert_version" != "x"
6183 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6184 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6185 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6190 if test "$CONVERT" = false
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6193 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6194 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6197 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6201 if test "$ICOTOOL" = false
6203 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6206 $as_echo_n "checking for recent enough icotool... " >&6; }
6207 icotool_version
=`icotool --version | head -n1`
6208 if test "x$icotool_version" != "x"
6210 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6211 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6212 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6215 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6218 if test "$ICOTOOL" = false
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6221 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6222 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6225 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6231 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6234 test "x$with_gettext" != xno || MSGFMT
=false
6235 if test "$MSGFMT" != "false"
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6238 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6239 cat >conftest.po
<<EOF
6245 if $MSGFMT -o /dev
/null conftest.po
2>&5
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6248 $as_echo "yes" >&6; }
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6251 $as_echo "no" >&6; }
6255 if test "$MSGFMT" = false
; then :
6256 case "x$with_gettext" in
6257 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6259 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6260 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6262 enable_po
=${enable_po:-no}
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6267 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6268 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6269 $as_echo_n "(cached) " >&6
6271 ac_check_lib_save_LIBS
=$LIBS
6273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6274 /* end confdefs.h. */
6276 /* Override any GCC internal prototype to avoid an error.
6277 Use char because int might match the return type of a GCC
6278 builtin and then its argument prototype would still apply. */
6282 char i386_set_ldt ();
6286 return i386_set_ldt ();
6291 if ac_fn_c_try_link
"$LINENO"; then :
6292 ac_cv_lib_i386_i386_set_ldt
=yes
6294 ac_cv_lib_i386_i386_set_ldt
=no
6296 rm -f core conftest.err conftest.
$ac_objext \
6297 conftest
$ac_exeext conftest.
$ac_ext
6298 LIBS
=$ac_check_lib_save_LIBS
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6301 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6302 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6303 cat >>confdefs.h
<<_ACEOF
6304 #define HAVE_LIBI386 1
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6312 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6313 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6314 $as_echo_n "(cached) " >&6
6316 ac_check_lib_save_LIBS
=$LIBS
6317 LIBS
="-lossaudio $LIBS"
6318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6319 /* end confdefs.h. */
6321 /* Override any GCC internal prototype to avoid an error.
6322 Use char because int might match the return type of a GCC
6323 builtin and then its argument prototype would still apply. */
6331 return _oss_ioctl ();
6336 if ac_fn_c_try_link
"$LINENO"; then :
6337 ac_cv_lib_ossaudio__oss_ioctl
=yes
6339 ac_cv_lib_ossaudio__oss_ioctl
=no
6341 rm -f core conftest.err conftest.
$ac_objext \
6342 conftest
$ac_exeext conftest.
$ac_ext
6343 LIBS
=$ac_check_lib_save_LIBS
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6346 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6347 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6348 cat >>confdefs.h
<<_ACEOF
6349 #define HAVE_LIBOSSAUDIO 1
6352 LIBS
="-lossaudio $LIBS"
6361 # Check whether --enable-largefile was given.
6362 if test "${enable_largefile+set}" = set; then :
6363 enableval
=$enable_largefile;
6366 if test "$enable_largefile" != no
; then
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6369 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6370 if ${ac_cv_sys_largefile_CC+:} false
; then :
6371 $as_echo_n "(cached) " >&6
6373 ac_cv_sys_largefile_CC
=no
6374 if test "$GCC" != yes; then
6377 # IRIX 6.2 and later do not support large files by default,
6378 # so use the C compiler's -n32 option if that helps.
6379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6380 /* end confdefs.h. */
6381 #include <sys/types.h>
6382 /* Check that off_t can represent 2**63 - 1 correctly.
6383 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6384 since some C++ compilers masquerading as C compilers
6385 incorrectly reject 9223372036854775807. */
6386 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6387 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6388 && LARGE_OFF_T % 2147483647 == 1)
6398 if ac_fn_c_try_compile
"$LINENO"; then :
6401 rm -f core conftest.err conftest.
$ac_objext
6403 if ac_fn_c_try_compile
"$LINENO"; then :
6404 ac_cv_sys_largefile_CC
=' -n32'; break
6406 rm -f core conftest.err conftest.
$ac_objext
6410 rm -f conftest.
$ac_ext
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6414 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6415 if test "$ac_cv_sys_largefile_CC" != no
; then
6416 CC
=$CC$ac_cv_sys_largefile_CC
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6420 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6421 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6422 $as_echo_n "(cached) " >&6
6425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6426 /* end confdefs.h. */
6427 #include <sys/types.h>
6428 /* Check that off_t can represent 2**63 - 1 correctly.
6429 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6430 since some C++ compilers masquerading as C compilers
6431 incorrectly reject 9223372036854775807. */
6432 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6433 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6434 && LARGE_OFF_T % 2147483647 == 1)
6444 if ac_fn_c_try_compile
"$LINENO"; then :
6445 ac_cv_sys_file_offset_bits
=no
; break
6447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6449 /* end confdefs.h. */
6450 #define _FILE_OFFSET_BITS 64
6451 #include <sys/types.h>
6452 /* Check that off_t can represent 2**63 - 1 correctly.
6453 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6454 since some C++ compilers masquerading as C compilers
6455 incorrectly reject 9223372036854775807. */
6456 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6457 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6458 && LARGE_OFF_T % 2147483647 == 1)
6468 if ac_fn_c_try_compile
"$LINENO"; then :
6469 ac_cv_sys_file_offset_bits
=64; break
6471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6472 ac_cv_sys_file_offset_bits
=unknown
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6477 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6478 case $ac_cv_sys_file_offset_bits in #(
6481 cat >>confdefs.h
<<_ACEOF
6482 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6487 if test $ac_cv_sys_file_offset_bits = unknown
; then
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6489 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6490 if ${ac_cv_sys_large_files+:} false
; then :
6491 $as_echo_n "(cached) " >&6
6494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6495 /* end confdefs.h. */
6496 #include <sys/types.h>
6497 /* Check that off_t can represent 2**63 - 1 correctly.
6498 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6499 since some C++ compilers masquerading as C compilers
6500 incorrectly reject 9223372036854775807. */
6501 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6502 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6503 && LARGE_OFF_T % 2147483647 == 1)
6513 if ac_fn_c_try_compile
"$LINENO"; then :
6514 ac_cv_sys_large_files
=no
; break
6516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6518 /* end confdefs.h. */
6519 #define _LARGE_FILES 1
6520 #include <sys/types.h>
6521 /* Check that off_t can represent 2**63 - 1 correctly.
6522 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6523 since some C++ compilers masquerading as C compilers
6524 incorrectly reject 9223372036854775807. */
6525 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6526 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6527 && LARGE_OFF_T % 2147483647 == 1)
6537 if ac_fn_c_try_compile
"$LINENO"; then :
6538 ac_cv_sys_large_files
=1; break
6540 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6541 ac_cv_sys_large_files
=unknown
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6546 $as_echo "$ac_cv_sys_large_files" >&6; }
6547 case $ac_cv_sys_large_files in #(
6550 cat >>confdefs.h
<<_ACEOF
6551 #define _LARGE_FILES $ac_cv_sys_large_files
6563 ac_cpp
='$CPP $CPPFLAGS'
6564 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6565 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6566 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6568 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6569 # On Suns, sometimes $CPP names a directory.
6570 if test -n "$CPP" && test -d "$CPP"; then
6573 if test -z "$CPP"; then
6574 if ${ac_cv_prog_CPP+:} false
; then :
6575 $as_echo_n "(cached) " >&6
6577 # Double quotes because CPP needs to be expanded
6578 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6581 for ac_c_preproc_warn_flag
in '' yes
6583 # Use a header file that comes with gcc, so configuring glibc
6584 # with a fresh cross-compiler works.
6585 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6586 # <limits.h> exists even on freestanding compilers.
6587 # On the NeXT, cc -E runs the code through the compiler's parser,
6588 # not just through cpp. "Syntax error" is here to catch this case.
6589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6590 /* end confdefs.h. */
6592 # include <limits.h>
6594 # include <assert.h>
6598 if ac_fn_c_try_cpp
"$LINENO"; then :
6601 # Broken: fails on valid input.
6604 rm -f conftest.err conftest.i conftest.
$ac_ext
6606 # OK, works on sane cases. Now check whether nonexistent headers
6607 # can be detected and how.
6608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6609 /* end confdefs.h. */
6610 #include <ac_nonexistent.h>
6612 if ac_fn_c_try_cpp
"$LINENO"; then :
6613 # Broken: success on invalid input.
6616 # Passes both tests.
6620 rm -f conftest.err conftest.i conftest.
$ac_ext
6623 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6624 rm -f conftest.i conftest.err conftest.
$ac_ext
6625 if $ac_preproc_ok; then :
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6638 $as_echo "$CPP" >&6; }
6640 for ac_c_preproc_warn_flag
in '' yes
6642 # Use a header file that comes with gcc, so configuring glibc
6643 # with a fresh cross-compiler works.
6644 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6645 # <limits.h> exists even on freestanding compilers.
6646 # On the NeXT, cc -E runs the code through the compiler's parser,
6647 # not just through cpp. "Syntax error" is here to catch this case.
6648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6649 /* end confdefs.h. */
6651 # include <limits.h>
6653 # include <assert.h>
6657 if ac_fn_c_try_cpp
"$LINENO"; then :
6660 # Broken: fails on valid input.
6663 rm -f conftest.err conftest.i conftest.
$ac_ext
6665 # OK, works on sane cases. Now check whether nonexistent headers
6666 # can be detected and how.
6667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6668 /* end confdefs.h. */
6669 #include <ac_nonexistent.h>
6671 if ac_fn_c_try_cpp
"$LINENO"; then :
6672 # Broken: success on invalid input.
6675 # Passes both tests.
6679 rm -f conftest.err conftest.i conftest.
$ac_ext
6682 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6683 rm -f conftest.i conftest.err conftest.
$ac_ext
6684 if $ac_preproc_ok; then :
6687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6689 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6690 See \`config.log' for more details" "$LINENO" 5; }
6694 ac_cpp
='$CPP $CPPFLAGS'
6695 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6696 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6697 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6701 $as_echo_n "checking for ANSI C header files... " >&6; }
6702 if ${ac_cv_header_stdc+:} false
; then :
6703 $as_echo_n "(cached) " >&6
6705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6706 /* end confdefs.h. */
6720 if ac_fn_c_try_compile
"$LINENO"; then :
6721 ac_cv_header_stdc
=yes
6723 ac_cv_header_stdc
=no
6725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6727 if test $ac_cv_header_stdc = yes; then
6728 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6730 /* end confdefs.h. */
6734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6735 $EGREP "memchr" >/dev
/null
2>&1; then :
6738 ac_cv_header_stdc
=no
6744 if test $ac_cv_header_stdc = yes; then
6745 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6747 /* end confdefs.h. */
6751 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6752 $EGREP "free" >/dev
/null
2>&1; then :
6755 ac_cv_header_stdc
=no
6761 if test $ac_cv_header_stdc = yes; then
6762 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6763 if test "$cross_compiling" = yes; then :
6766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6767 /* end confdefs.h. */
6770 #if ((' ' & 0x0FF) == 0x020)
6771 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6772 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6774 # define ISLOWER(c) \
6775 (('a' <= (c) && (c) <= 'i') \
6776 || ('j' <= (c) && (c) <= 'r') \
6777 || ('s' <= (c) && (c) <= 'z'))
6778 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6781 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6786 for (i = 0; i < 256; i++)
6787 if (XOR (islower (i), ISLOWER (i))
6788 || toupper (i) != TOUPPER (i))
6793 if ac_fn_c_try_run
"$LINENO"; then :
6796 ac_cv_header_stdc
=no
6798 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6799 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6805 $as_echo "$ac_cv_header_stdc" >&6; }
6806 if test $ac_cv_header_stdc = yes; then
6808 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6812 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6813 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6814 inttypes.h stdint.h unistd.h
6816 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6817 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6819 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6820 cat >>confdefs.h
<<_ACEOF
6821 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6831 ApplicationServices
/ApplicationServices.h \
6832 AudioToolbox
/AudioConverter.h \
6833 AudioUnit
/AudioUnit.h \
6834 AudioUnit
/AudioComponent.h \
6837 CommonCrypto
/CommonDigest.h \
6838 CoreAudio
/CoreAudio.h \
6839 CoreServices
/CoreServices.h \
6840 DiskArbitration
/DiskArbitration.h \
6843 IOKit
/hid
/IOHIDLib.h \
6846 QuickTime
/ImageCompression.h \
6847 Security
/Security.h \
6899 netinet
/in_systm.h \
6964 valgrind
/memcheck.h \
6965 valgrind
/valgrind.h \
6969 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6970 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6971 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6972 cat >>confdefs.h
<<_ACEOF
6973 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6981 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6982 if ${ac_cv_header_sys_types_h_makedev+:} false
; then :
6983 $as_echo_n "(cached) " >&6
6985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6986 /* end confdefs.h. */
6987 #include <sys/types.h>
6991 return makedev(0, 0);
6996 if ac_fn_c_try_link
"$LINENO"; then :
6997 ac_cv_header_sys_types_h_makedev
=yes
6999 ac_cv_header_sys_types_h_makedev
=no
7001 rm -f core conftest.err conftest.
$ac_objext \
7002 conftest
$ac_exeext conftest.
$ac_ext
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7006 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7008 if test $ac_cv_header_sys_types_h_makedev = no
; then
7009 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7010 if test "x$ac_cv_header_sys_mkdev_h" = xyes
; then :
7012 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7018 if test $ac_cv_header_sys_mkdev_h = no
; then
7019 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7020 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
; then :
7022 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7031 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7032 if ${ac_cv_header_stat_broken+:} false
; then :
7033 $as_echo_n "(cached) " >&6
7035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7036 /* end confdefs.h. */
7037 #include <sys/types.h>
7038 #include <sys/stat.h>
7040 #if defined S_ISBLK && defined S_IFDIR
7041 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7044 #if defined S_ISBLK && defined S_IFCHR
7045 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7048 #if defined S_ISLNK && defined S_IFREG
7049 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7052 #if defined S_ISSOCK && defined S_IFREG
7053 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7057 if ac_fn_c_try_compile
"$LINENO"; then :
7058 ac_cv_header_stat_broken
=no
7060 ac_cv_header_stat_broken
=yes
7062 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7065 $as_echo "$ac_cv_header_stat_broken" >&6; }
7066 if test $ac_cv_header_stat_broken = yes; then
7068 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7074 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
7076 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7077 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7078 #ifdef HAVE_SYS_PARAM_H
7079 # include <sys/param.h>
7082 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7083 cat >>confdefs.h
<<_ACEOF
7084 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7099 netinet
/if_ether.h \
7100 netinet
/if_inarp.h \
7109 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7110 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7111 #ifdef HAVE_SYS_SOCKET_H
7112 # include <sys/socket.h>
7114 #ifdef HAVE_SYS_SOCKETVAR_H
7115 # include <sys/socketvar.h>
7117 #ifdef HAVE_NET_ROUTE_H
7118 # include <net/route.h>
7120 #ifdef HAVE_NETINET_IN_H
7121 # include <netinet/in.h>
7123 #ifdef HAVE_NETINET_IN_SYSTM_H
7124 # include <netinet/in_systm.h>
7126 #ifdef HAVE_NET_IF_H
7127 # include <net/if.h>
7129 #ifdef HAVE_NETINET_IP_H
7130 # include <netinet/ip.h>
7133 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7134 cat >>confdefs.h
<<_ACEOF
7135 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7143 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
7145 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7146 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7150 #ifdef HAVE_SYS_SOCKET_H
7151 # include <sys/socket.h>
7153 #ifdef HAVE_SYS_SOCKETVAR_H
7154 # include <sys/socketvar.h>
7156 #ifdef HAVE_SYS_TIMEOUT_H
7157 # include <sys/timeout.h>
7159 #ifdef HAVE_NETINET_IN_H
7160 # include <netinet/in.h>
7162 #ifdef HAVE_NETINET_IN_SYSTM_H
7163 # include <netinet/in_systm.h>
7165 #ifdef HAVE_NETINET_IP_H
7166 # include <netinet/ip.h>
7168 #ifdef HAVE_NETINET_IP_VAR_H
7169 # include <netinet/ip_var.h>
7171 #ifdef HAVE_NETINET_IP_ICMP_H
7172 # include <netinet/ip_icmp.h>
7174 #ifdef HAVE_NETINET_UDP_H
7175 # include <netinet/udp.h>
7177 #ifdef HAVE_NETINET_TCP_H
7178 # include <netinet/tcp.h>
7180 #ifdef HAVE_NETINET_TCP_TIMER_H
7181 #include <netinet/tcp_timer.h>
7184 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7185 cat >>confdefs.h
<<_ACEOF
7186 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7194 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
7196 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7197 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7198 #ifdef HAVE_ASM_TYPES_H
7199 # include <asm/types.h>
7201 #ifdef HAVE_SYS_SOCKET_H
7202 # include <sys/socket.h>
7204 #ifdef HAVE_LINUX_TYPES_H
7205 # include <linux/types.h>
7208 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7209 cat >>confdefs.h
<<_ACEOF
7210 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7218 for ac_header
in mach-o
/dyld_images.h
7220 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7221 # include <stdbool.h>
7223 #ifdef HAVE_STDINT_H
7224 # include <stdint.h>
7227 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7228 cat >>confdefs.h
<<_ACEOF
7229 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7237 for ac_header
in resolv.h
7239 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7240 #ifdef HAVE_SYS_SOCKET_H
7241 # include <sys/socket.h>
7243 #ifdef HAVE_NETINET_IN_H
7244 # include <netinet/in.h>
7246 #ifdef HAVE_ARPA_NAMESER_H
7247 # include <arpa/nameser.h>
7250 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7251 cat >>confdefs.h
<<_ACEOF
7252 #define HAVE_RESOLV_H 1
7260 for ac_header
in ifaddrs.h
7262 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7264 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7265 cat >>confdefs.h
<<_ACEOF
7266 #define HAVE_IFADDRS_H 1
7274 for ac_header
in sys
/ucontext.h
7276 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7278 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7279 cat >>confdefs.h
<<_ACEOF
7280 #define HAVE_SYS_UCONTEXT_H 1
7288 for ac_header
in sys
/thr.h
7290 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7291 #ifdef HAVE_SYS_UCONTEXT_H
7292 #include <sys/ucontext.h>
7295 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7296 cat >>confdefs.h
<<_ACEOF
7297 #define HAVE_SYS_THR_H 1
7305 for ac_header
in pthread_np.h
7307 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7308 #include <pthread.h>
7311 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7312 cat >>confdefs.h
<<_ACEOF
7313 #define HAVE_PTHREAD_NP_H 1
7321 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7323 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7324 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7325 #include <sys/time.h>
7327 #include <sys/types.h>
7328 #ifdef HAVE_ASM_TYPES_H
7329 #include <asm/types.h>
7332 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7333 cat >>confdefs.h
<<_ACEOF
7334 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7342 for ac_header
in libprocstat.h
7344 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7345 #include <sys/param.h>
7347 #ifdef HAVE_SYS_QUEUE_H
7348 #include <sys/queue.h>
7350 #ifdef HAVE_SYS_SOCKET_H
7351 #include <sys/socket.h>
7354 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7355 cat >>confdefs.h
<<_ACEOF
7356 #define HAVE_LIBPROCSTAT_H 1
7365 dlldir
="\${libdir}/wine"
7367 DLLFLAGS
="-D_REENTRANT"
7375 WINELOADER_LDFLAGS
=""
7380 # Extract the first word of "ldd", so it can be a program name with args.
7381 set dummy ldd
; ac_word
=$2
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7383 $as_echo_n "checking for $ac_word... " >&6; }
7384 if ${ac_cv_path_LDD+:} false
; then :
7385 $as_echo_n "(cached) " >&6
7389 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7393 as_dummy
="/sbin:/usr/sbin:$PATH"
7394 for as_dir
in $as_dummy
7397 test -z "$as_dir" && as_dir
=.
7398 for ac_exec_ext
in '' $ac_executable_extensions; do
7399 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7400 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7408 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7413 if test -n "$LDD"; then
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7415 $as_echo "$LDD" >&6; }
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7418 $as_echo "no" >&6; }
7422 if test -n "$ac_tool_prefix"; then
7423 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7424 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7426 $as_echo_n "checking for $ac_word... " >&6; }
7427 if ${ac_cv_prog_OTOOL+:} false
; then :
7428 $as_echo_n "(cached) " >&6
7430 if test -n "$OTOOL"; then
7431 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7437 test -z "$as_dir" && as_dir
=.
7438 for ac_exec_ext
in '' $ac_executable_extensions; do
7439 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7440 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7450 OTOOL
=$ac_cv_prog_OTOOL
7451 if test -n "$OTOOL"; then
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7453 $as_echo "$OTOOL" >&6; }
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7456 $as_echo "no" >&6; }
7461 if test -z "$ac_cv_prog_OTOOL"; then
7463 # Extract the first word of "otool", so it can be a program name with args.
7464 set dummy otool
; ac_word
=$2
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7466 $as_echo_n "checking for $ac_word... " >&6; }
7467 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7468 $as_echo_n "(cached) " >&6
7470 if test -n "$ac_ct_OTOOL"; then
7471 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7477 test -z "$as_dir" && as_dir
=.
7478 for ac_exec_ext
in '' $ac_executable_extensions; do
7479 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7480 ac_cv_prog_ac_ct_OTOOL
="otool"
7481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7491 if test -n "$ac_ct_OTOOL"; then
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7493 $as_echo "$ac_ct_OTOOL" >&6; }
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7496 $as_echo "no" >&6; }
7499 if test "x$ac_ct_OTOOL" = x
; then
7502 case $cross_compiling:$ac_tool_warned in
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7506 ac_tool_warned
=yes ;;
7511 OTOOL
="$ac_cv_prog_OTOOL"
7514 if test -n "$ac_tool_prefix"; then
7515 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7516 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7518 $as_echo_n "checking for $ac_word... " >&6; }
7519 if ${ac_cv_prog_READELF+:} false
; then :
7520 $as_echo_n "(cached) " >&6
7522 if test -n "$READELF"; then
7523 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7529 test -z "$as_dir" && as_dir
=.
7530 for ac_exec_ext
in '' $ac_executable_extensions; do
7531 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7532 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7542 READELF
=$ac_cv_prog_READELF
7543 if test -n "$READELF"; then
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7545 $as_echo "$READELF" >&6; }
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7548 $as_echo "no" >&6; }
7553 if test -z "$ac_cv_prog_READELF"; then
7554 ac_ct_READELF
=$READELF
7555 # Extract the first word of "readelf", so it can be a program name with args.
7556 set dummy readelf
; ac_word
=$2
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7558 $as_echo_n "checking for $ac_word... " >&6; }
7559 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7560 $as_echo_n "(cached) " >&6
7562 if test -n "$ac_ct_READELF"; then
7563 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7569 test -z "$as_dir" && as_dir
=.
7570 for ac_exec_ext
in '' $ac_executable_extensions; do
7571 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7572 ac_cv_prog_ac_ct_READELF
="readelf"
7573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7582 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7583 if test -n "$ac_ct_READELF"; then
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7585 $as_echo "$ac_ct_READELF" >&6; }
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7588 $as_echo "no" >&6; }
7591 if test "x$ac_ct_READELF" = x
; then
7594 case $cross_compiling:$ac_tool_warned in
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7598 ac_tool_warned
=yes ;;
7600 READELF
=$ac_ct_READELF
7603 READELF
="$ac_cv_prog_READELF"
7606 wine_rules_file
=conf$
$rules.
make
7607 rm -f $wine_rules_file
7612 CONFIGURE_TARGETS
=""
7614 ALL_TEST_RESOURCES
=""
7617 wine_fn_append_file
()
7619 as_fn_append
$1 " \\$as_nl $2"
7622 wine_fn_append_rule
()
7624 $as_echo "$1" >>$wine_rules_file
7629 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7632 wine_fn_all_rules
()
7634 wine_fn_append_file SUBDIRS
$ac_dir
7635 wine_fn_append_rule \
7639 @cd $ac_dir && \$(MAKE)"
7642 wine_fn_install_rules
()
7644 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7646 wine_fn_append_rule \
7647 ".PHONY: $ac_dir/install $ac_dir/uninstall
7648 $ac_dir/install:: $ac_dir
7649 @cd $ac_dir && \$(MAKE) install
7651 @cd $ac_dir && \$(MAKE) uninstall
7652 install:: $ac_dir/install
7653 __uninstall__: $ac_dir/uninstall"
7655 if wine_fn_has_flag install-lib
7657 wine_fn_append_rule \
7658 ".PHONY: $ac_dir/install-lib
7659 $ac_dir/install-lib:: $ac_dir
7660 @cd $ac_dir && \$(MAKE) install-lib
7661 install-lib:: $ac_dir/install-lib"
7664 if wine_fn_has_flag install-dev
7666 wine_fn_append_rule \
7667 ".PHONY: $ac_dir/install-dev
7668 $ac_dir/install-dev:: $ac_dir
7669 @cd $ac_dir && \$(MAKE) install-dev
7670 install-dev:: $ac_dir/install-dev"
7674 wine_fn_clean_rules
()
7678 if wine_fn_has_flag clean
7680 wine_fn_append_rule \
7681 "$ac_dir/clean: dummy
7682 @cd $ac_dir && \$(MAKE) clean"
7684 wine_fn_append_rule \
7685 "$ac_dir/clean: dummy
7686 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7688 wine_fn_append_rule \
7689 "__clean__: $ac_dir/clean
7690 .PHONY: $ac_dir/clean"
7693 wine_fn_disabled_rules
()
7697 wine_fn_append_file SUBDIRS
$ac_dir
7698 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7699 wine_fn_append_rule \
7700 "__clean__: $ac_dir/clean
7701 .PHONY: $ac_dir/clean
7702 $ac_dir/clean: dummy
7703 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7706 wine_fn_config_makefile
()
7713 fonts|server
) test -z "$with_wine64" ||
return ;;
7715 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7716 wine_fn_disabled_rules
; return
7719 wine_fn_install_rules
7723 wine_fn_config_lib
()
7727 ac_dir
=dlls
/$ac_name
7730 if test "x$enable_tools" = xno
; then :
7733 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7738 wine_fn_append_rule \
7739 ".PHONY: $ac_dir/install $ac_dir/uninstall
7740 $ac_dir/install:: $ac_dir
7741 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7743 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7744 install install-dev:: $ac_dir/install
7745 __uninstall__: $ac_dir/uninstall
7746 __builddeps__: $ac_dir
7750 wine_fn_config_dll
()
7753 ac_dir
=dlls
/$ac_name
7756 ac_implib
=${4:-$ac_name}
7757 ac_file
=$ac_dir/lib
$ac_implib
7762 if test "x$enable_tools" = xno
; then :
7765 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7768 *.
*16) ac_implibflags
=" -m16" ;;
7770 *) ac_dll
=$ac_dll.dll
;;
7774 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7775 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7777 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7778 if test "$ac_enable" != enable_win16
7780 wine_fn_clean_rules
$ac_clean
7781 wine_fn_append_file SUBDIRS
$ac_dir
7782 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7784 wine_fn_disabled_rules
$ac_clean
7789 wine_fn_clean_rules
$ac_clean
7790 wine_fn_append_rule \
7791 "$ac_dir: __builddeps__
7792 manpages htmlpages sgmlpages xmlpages::
7793 @cd $ac_dir && \$(MAKE) \$@
7794 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7795 install install-lib:: $ac_dir/install-lib
7796 __uninstall__: $ac_dir/uninstall"
7797 if test -n "$DLLEXT"
7799 wine_fn_append_rule \
7800 "$ac_dir/install-lib:: $ac_dir
7801 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7802 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7804 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7806 wine_fn_append_rule \
7807 "$ac_dir/install-lib:: $ac_dir
7808 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7810 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7814 if wine_fn_has_flag staticimplib
7816 wine_fn_append_rule \
7817 "__builddeps__: $ac_file.a
7818 $ac_file.a $ac_file.cross.a: $ac_deps
7820 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7821 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7822 $ac_dir/install-dev:: $ac_file.a
7823 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7825 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7826 install install-dev:: $ac_dir/install-dev
7827 __uninstall__: $ac_dir/uninstall"
7829 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7831 wine_fn_append_rule \
7832 "__builddeps__: $ac_file.cross.a
7833 $ac_file.cross.a: dummy
7834 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7837 elif wine_fn_has_flag implib
7839 wine_fn_append_rule \
7840 "__builddeps__: $ac_file.$IMPLIBEXT
7841 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7842 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7843 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7844 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7845 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7846 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7847 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7849 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7850 install install-dev:: $ac_dir/install-dev
7851 __uninstall__: $ac_dir/uninstall"
7852 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7854 wine_fn_append_rule \
7855 "__builddeps__: $ac_file.cross.a
7856 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7857 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7862 wine_fn_config_program
()
7865 ac_dir
=programs
/$ac_name
7872 *) ac_program
=$ac_program.exe
;;
7876 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7877 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7879 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7880 wine_fn_disabled_rules
$ac_clean; return
7884 wine_fn_clean_rules
$ac_clean
7885 wine_fn_append_rule
"$ac_dir: __builddeps__"
7887 wine_fn_has_flag
install ||
return
7888 wine_fn_append_rule \
7889 ".PHONY: $ac_dir/install $ac_dir/uninstall
7890 install install-lib:: $ac_dir/install
7891 __uninstall__: $ac_dir/uninstall"
7893 if test -n "$DLLEXT"
7895 wine_fn_append_rule \
7896 "$ac_dir/install:: $ac_dir
7897 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7898 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7900 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7902 if test -z "$with_wine64" && wine_fn_has_flag installbin
7904 wine_fn_append_rule \
7905 "$ac_dir/install:: __tooldeps__
7906 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7908 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7911 wine_fn_append_rule \
7912 "$ac_dir/install:: $ac_dir
7913 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7915 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7918 if test -z "$with_wine64" && wine_fn_has_flag manpage
7920 wine_fn_append_rule \
7921 "$ac_dir/install:: $ac_dir
7922 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7924 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7928 wine_fn_config_test
()
7935 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7936 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7938 if test "x$enable_tests" = xno
; then :
7939 wine_fn_disabled_rules
$ac_clean; return
7942 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7944 wine_fn_clean_rules
$ac_clean
7946 wine_fn_append_rule \
7947 "$ac_dir: __builddeps__
7948 programs/winetest: $ac_dir
7949 check test: $ac_dir/test
7950 .PHONY: $ac_dir/test
7952 @cd $ac_dir && \$(MAKE) test
7954 \$(RM) $ac_dir/*.ok"
7956 if test -n "$CROSSTARGET"
7958 wine_fn_append_rule \
7959 "crosstest: $ac_dir/crosstest
7960 .PHONY: $ac_dir/crosstest
7961 $ac_dir/crosstest: __builddeps__ dummy
7962 @cd $ac_dir && \$(MAKE) crosstest"
7966 wine_fn_config_tool
()
7970 if test "x$enable_tools" = xno
; then :
7971 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir; return
7975 wine_fn_install_rules
7978 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7979 wine_fn_append_rule
"$ac_dir: libs/port"
7981 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7985 wine_fn_config_symlink
()
7988 if test "x$1" = "x-d"
7994 wine_fn_append_rule \
7996 @./config.status \$@"
7997 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
7998 test -n "$ac_linkdir" ||
return
7999 wine_fn_append_rule
"$ac_linkdir/depend: $ac_links"
8003 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
8004 WINELOADER_PROGRAMS
="$wine_binary"
8006 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
8010 if test -n "$ac_tool_prefix"; then
8011 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8012 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8014 $as_echo_n "checking for $ac_word... " >&6; }
8015 if ${ac_cv_prog_DLLTOOL+:} false
; then :
8016 $as_echo_n "(cached) " >&6
8018 if test -n "$DLLTOOL"; then
8019 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8025 test -z "$as_dir" && as_dir
=.
8026 for ac_exec_ext
in '' $ac_executable_extensions; do
8027 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8028 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8038 DLLTOOL
=$ac_cv_prog_DLLTOOL
8039 if test -n "$DLLTOOL"; then
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8041 $as_echo "$DLLTOOL" >&6; }
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8044 $as_echo "no" >&6; }
8049 if test -z "$ac_cv_prog_DLLTOOL"; then
8050 ac_ct_DLLTOOL
=$DLLTOOL
8051 # Extract the first word of "dlltool", so it can be a program name with args.
8052 set dummy dlltool
; ac_word
=$2
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8054 $as_echo_n "checking for $ac_word... " >&6; }
8055 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
8056 $as_echo_n "(cached) " >&6
8058 if test -n "$ac_ct_DLLTOOL"; then
8059 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8065 test -z "$as_dir" && as_dir
=.
8066 for ac_exec_ext
in '' $ac_executable_extensions; do
8067 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8068 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8078 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8079 if test -n "$ac_ct_DLLTOOL"; then
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8081 $as_echo "$ac_ct_DLLTOOL" >&6; }
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8084 $as_echo "no" >&6; }
8087 if test "x$ac_ct_DLLTOOL" = x
; then
8090 case $cross_compiling:$ac_tool_warned in
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8094 ac_tool_warned
=yes ;;
8096 DLLTOOL
=$ac_ct_DLLTOOL
8099 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8105 enable_iphlpapi
=${enable_iphlpapi:-no}
8106 enable_kernel32
=${enable_kernel32:-no}
8107 enable_msvcrt
=${enable_msvcrt:-no}
8108 enable_ntdll
=${enable_ntdll:-no}
8109 enable_ws2_32
=${enable_ws2_32:-no}
8110 enable_loader
=${enable_loader:-no}
8111 enable_server
=${enable_server:-no}
8112 with_x
=${with_x:-no}
8113 with_pthread
=${with_pthread:-no}
8119 SOCKET_LIBS
="-lws2_32"
8123 LIBWINE_SHAREDLIB
="libwine.dll"
8125 LIBWINE_IMPORTLIB
="libwine.a"
8127 LIBWINE_INSTALL_LIB
="libwine.dll"
8129 LIBWINE_INSTALL_DEV
="libwine.a"
8131 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
8133 LIBWINE_DEPENDS
="wine.def"
8138 for ac_header
in libunwind.h
8140 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8142 cat >>confdefs.h
<<_ACEOF
8143 #define HAVE_LIBUNWIND_H 1
8151 DLLFLAGS
="$DLLFLAGS -fPIC"
8152 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8153 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8154 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8156 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8158 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8160 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8162 CORESERVICES_LIBS
="-framework CoreServices"
8164 APPKIT_LIBS
="-framework AppKit"
8166 WINELOADER_LDFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8168 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8169 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8170 $as_echo_n "(cached) " >&6
8172 ac_wine_try_cflags_saved
=$CFLAGS
8173 CFLAGS
="$CFLAGS -Wl,-no_pie"
8174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8175 /* end confdefs.h. */
8176 int main(int argc, char **argv) { return 0; }
8178 if ac_fn_c_try_link
"$LINENO"; then :
8179 ac_cv_cflags__Wl__no_pie
=yes
8181 ac_cv_cflags__Wl__no_pie
=no
8183 rm -f core conftest.err conftest.
$ac_objext \
8184 conftest
$ac_exeext conftest.
$ac_ext
8185 CFLAGS
=$ac_wine_try_cflags_saved
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8188 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8189 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8190 WINELOADER_LDFLAGS
="-Wl,-no_pie $WINELOADER_LDFLAGS"
8192 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8194 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8197 if test "$ac_cv_header_Security_Security_h" = "yes"
8199 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8201 ac_save_LIBS
="$LIBS"
8202 LIBS
="$LIBS $SECURITY_LIBS"
8203 for ac_func
in SSLCopyPeerCertificates
8205 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8206 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8207 cat >>confdefs.h
<<_ACEOF
8208 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8214 LIBS
="$ac_save_LIBS"
8215 with_gnutls
=${with_gnutls:-no}
8217 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8219 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8221 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8224 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8227 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8228 ac_save_LIBS
="$LIBS"
8229 LIBS
="$LIBS $COREAUDIO_LIBS"
8230 for ac_func
in AUGraphAddNode
8232 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8233 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8234 cat >>confdefs.h
<<_ACEOF
8235 #define HAVE_AUGRAPHADDNODE 1
8241 LIBS
="$ac_save_LIBS"
8243 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8245 OPENAL_LIBS
="-framework OpenAL"
8248 cat >>confdefs.h
<<_ACEOF
8249 #define HAVE_OPENAL 1
8252 ac_cv_lib_openal
=yes
8254 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8256 OPENCL_LIBS
="-framework OpenCL"
8258 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8260 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8262 ac_save_LIBS
="$LIBS"
8263 LIBS
="$LIBS $IOKIT_LIBS"
8264 for ac_func
in IOHIDManagerCreate
8266 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8267 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8268 cat >>confdefs.h
<<_ACEOF
8269 #define HAVE_IOHIDMANAGERCREATE 1
8275 LIBS
="$ac_save_LIBS"
8277 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8279 ac_save_LIBS
="$LIBS"
8280 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8282 $as_echo_n "checking for the QuickTime framework... " >&6; }
8283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8284 /* end confdefs.h. */
8285 #include <QuickTime/ImageCompression.h>
8289 CodecManagerVersion(NULL);
8294 if ac_fn_c_try_link
"$LINENO"; then :
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8296 $as_echo "yes" >&6; }
8297 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8299 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8302 $as_echo "no" >&6; }
8303 ac_cv_header_QuickTime_ImageCompression_h
=no
8305 rm -f core conftest.err conftest.
$ac_objext \
8306 conftest
$ac_exeext conftest.
$ac_ext
8307 LIBS
="$ac_save_LIBS"
8309 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8311 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8313 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8315 CARBON_LIBS
="-framework Carbon"
8319 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8321 ac_save_LIBS
="$LIBS"
8322 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8323 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8324 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8325 enable_winemac_drv
=${enable_winemac_drv:-yes}
8328 LIBS
="$ac_save_LIBS"
8331 if test "x$enable_win16" = "xyes"
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8334 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8335 if test "$cross_compiling" = yes; then :
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8337 $as_echo "cross-compiling, assuming yes" >&6; }
8339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h. */
8343 "good:\tnop;nop\n\t"
8344 ".globl _testfunc\n"
8345 "_testfunc:\tcallw good");
8346 extern void testfunc();
8350 unsigned short *p = (unsigned short *)testfunc;
8351 return p[0] != 0xe866 || p[1] != 0xfffa
8356 if ac_fn_c_try_run
"$LINENO"; then :
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8358 $as_echo "yes" >&6; }
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8361 $as_echo "no" >&6; }
8362 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
8364 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8365 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8370 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8372 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8374 LIBWINE_INSTALL_DEV
="libwine.dylib"
8376 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8378 WINELOADER_DEPENDS
="wine_info.plist"
8383 DLLFLAGS
="$DLLFLAGS -fPIC"
8384 LDEXECFLAGS
="-Wl,-pie"
8385 enable_wineandroid_drv
=${enable_wineandroid_drv:-yes}
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8387 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8388 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8389 $as_echo_n "(cached) " >&6
8391 ac_wine_try_cflags_saved
=$CFLAGS
8392 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8394 /* end confdefs.h. */
8395 int main(int argc, char **argv) { return 0; }
8397 if ac_fn_c_try_link
"$LINENO"; then :
8398 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8400 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8402 rm -f core conftest.err conftest.
$ac_objext \
8403 conftest
$ac_exeext conftest.
$ac_ext
8404 CFLAGS
=$ac_wine_try_cflags_saved
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8407 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8408 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8409 WINELOADER_LDFLAGS
="-Wl,--export-dynamic"
8411 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8413 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8414 if eval \
${$as_ac_var+:} false
; then :
8415 $as_echo_n "(cached) " >&6
8417 ac_wine_try_cflags_saved
=$CFLAGS
8418 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8420 /* end confdefs.h. */
8421 int main(int argc, char **argv) { return 0; }
8423 if ac_fn_c_try_link
"$LINENO"; then :
8424 eval "$as_ac_var=yes"
8426 eval "$as_ac_var=no"
8428 rm -f core conftest.err conftest.
$ac_objext \
8429 conftest
$ac_exeext conftest.
$ac_ext
8430 CFLAGS
=$ac_wine_try_cflags_saved
8432 eval ac_res
=\$
$as_ac_var
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8434 $as_echo "$ac_res" >&6; }
8435 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8436 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8437 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8439 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8441 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8442 if eval \
${$as_ac_var+:} false
; then :
8443 $as_echo_n "(cached) " >&6
8445 ac_wine_try_cflags_saved
=$CFLAGS
8446 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8448 /* end confdefs.h. */
8449 int main(int argc, char **argv) { return 0; }
8451 if ac_fn_c_try_link
"$LINENO"; then :
8452 eval "$as_ac_var=yes"
8454 eval "$as_ac_var=no"
8456 rm -f core conftest.err conftest.
$ac_objext \
8457 conftest
$ac_exeext conftest.
$ac_ext
8458 CFLAGS
=$ac_wine_try_cflags_saved
8460 eval ac_res
=\$
$as_ac_var
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8462 $as_echo "$ac_res" >&6; }
8463 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8464 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8465 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8469 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8470 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8471 $as_echo_n "(cached) " >&6
8473 ac_wine_try_cflags_saved
=$CFLAGS
8474 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8476 /* end confdefs.h. */
8477 int main(int argc, char **argv) { return 0; }
8479 if ac_fn_c_try_link
"$LINENO"; then :
8480 ac_cv_cflags__Wl___enable_new_dtags
=yes
8482 ac_cv_cflags__Wl___enable_new_dtags
=no
8484 rm -f core conftest.err conftest.
$ac_objext \
8485 conftest
$ac_exeext conftest.
$ac_ext
8486 CFLAGS
=$ac_wine_try_cflags_saved
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8489 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8490 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8491 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8494 LIBWINE_SHAREDLIB
="libwine.so"
8496 LIBWINE_INSTALL_LIB
="libwine.so"
8498 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so"
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8502 $as_echo_n "checking for -lEGL... " >&6; }
8503 if ${ac_cv_lib_soname_EGL+:} false
; then :
8504 $as_echo_n "(cached) " >&6
8506 ac_check_soname_save_LIBS
=$LIBS
8508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8511 /* Override any GCC internal prototype to avoid an error.
8512 Use char because int might match the return type of a GCC
8513 builtin and then its argument prototype would still apply. */
8517 char eglGetProcAddress ();
8521 return eglGetProcAddress ();
8526 if ac_fn_c_try_link
"$LINENO"; then :
8528 dll
) ac_cv_lib_soname_EGL
=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8529 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'` ;;
8530 *) ac_cv_lib_soname_EGL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8531 if ${ac_cv_lib_soname_EGL:+false} :; then :
8532 ac_cv_lib_soname_EGL
=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8536 rm -f core conftest.err conftest.
$ac_objext \
8537 conftest
$ac_exeext conftest.
$ac_ext
8538 LIBS
=$ac_check_soname_save_LIBS
8540 if ${ac_cv_lib_soname_EGL:+false} :; then :
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8542 $as_echo "not found" >&6; }
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8546 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8548 cat >>confdefs.h
<<_ACEOF
8549 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8555 $as_echo_n "checking for -lGLESv2... " >&6; }
8556 if ${ac_cv_lib_soname_GLESv2+:} false
; then :
8557 $as_echo_n "(cached) " >&6
8559 ac_check_soname_save_LIBS
=$LIBS
8560 LIBS
="-lGLESv2 $LIBS"
8561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8562 /* end confdefs.h. */
8564 /* Override any GCC internal prototype to avoid an error.
8565 Use char because int might match the return type of a GCC
8566 builtin and then its argument prototype would still apply. */
8579 if ac_fn_c_try_link
"$LINENO"; then :
8581 dll
) ac_cv_lib_soname_GLESv2
=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8582 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'` ;;
8583 *) ac_cv_lib_soname_GLESv2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8584 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8585 ac_cv_lib_soname_GLESv2
=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8589 rm -f core conftest.err conftest.
$ac_objext \
8590 conftest
$ac_exeext conftest.
$ac_ext
8591 LIBS
=$ac_check_soname_save_LIBS
8593 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8595 $as_echo "not found" >&6; }
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8599 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8601 cat >>confdefs.h
<<_ACEOF
8602 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8608 if test "x$exec_prefix" = xNONE
8611 *i
[3456]86*) exec_prefix
='${prefix}/x86' ;;
8612 *x86_64
*) exec_prefix
='${prefix}/x86_64' ;;
8613 *arm
*) exec_prefix
='${prefix}/armeabi-v7a' ;;
8614 *aarch64
*) exec_prefix
='${prefix}/arm64-v8a' ;;
8620 DLLFLAGS
="$DLLFLAGS -fPIC"
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8622 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8623 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8624 $as_echo_n "(cached) " >&6
8626 ac_wine_try_cflags_saved
=$CFLAGS
8627 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8629 /* end confdefs.h. */
8632 if ac_fn_c_try_link
"$LINENO"; then :
8633 ac_cv_c_dll_gnuelf
="yes"
8635 ac_cv_c_dll_gnuelf
="no"
8637 rm -f core conftest.err conftest.
$ac_objext \
8638 conftest
$ac_exeext conftest.
$ac_ext
8639 CFLAGS
=$ac_wine_try_cflags_saved
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8642 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8643 if test "$ac_cv_c_dll_gnuelf" = "yes"
8645 LIBWINE_LDFLAGS
="-shared"
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8647 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8648 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8649 $as_echo_n "(cached) " >&6
8651 ac_wine_try_cflags_saved
=$CFLAGS
8652 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8654 /* end confdefs.h. */
8655 int main(int argc, char **argv) { return 0; }
8657 if ac_fn_c_try_link
"$LINENO"; then :
8658 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8660 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8662 rm -f core conftest.err conftest.
$ac_objext \
8663 conftest
$ac_exeext conftest.
$ac_ext
8664 CFLAGS
=$ac_wine_try_cflags_saved
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8667 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8668 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8669 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8672 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8673 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8674 $as_echo_n "(cached) " >&6
8676 ac_wine_try_cflags_saved
=$CFLAGS
8677 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8679 /* end confdefs.h. */
8680 int main(int argc, char **argv) { return 0; }
8682 if ac_fn_c_try_link
"$LINENO"; then :
8683 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8685 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8687 rm -f core conftest.err conftest.
$ac_objext \
8688 conftest
$ac_exeext conftest.
$ac_ext
8689 CFLAGS
=$ac_wine_try_cflags_saved
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8692 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8693 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8694 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8698 echo '{ global: *; };' >conftest.map
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8700 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8701 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8702 $as_echo_n "(cached) " >&6
8704 ac_wine_try_cflags_saved
=$CFLAGS
8705 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8707 /* end confdefs.h. */
8708 int main(int argc, char **argv) { return 0; }
8710 if ac_fn_c_try_link
"$LINENO"; then :
8711 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8713 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8715 rm -f core conftest.err conftest.
$ac_objext \
8716 conftest
$ac_exeext conftest.
$ac_ext
8717 CFLAGS
=$ac_wine_try_cflags_saved
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8720 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8721 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8722 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8727 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8728 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8729 $as_echo_n "(cached) " >&6
8731 ac_wine_try_cflags_saved
=$CFLAGS
8732 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8734 /* end confdefs.h. */
8735 int main(int argc, char **argv) { return 0; }
8737 if ac_fn_c_try_link
"$LINENO"; then :
8738 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8740 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8742 rm -f core conftest.err conftest.
$ac_objext \
8743 conftest
$ac_exeext conftest.
$ac_ext
8744 CFLAGS
=$ac_wine_try_cflags_saved
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8747 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8748 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8749 WINELOADER_LDFLAGS
="-Wl,--export-dynamic"
8752 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8754 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8755 if eval \
${$as_ac_var+:} false
; then :
8756 $as_echo_n "(cached) " >&6
8758 ac_wine_try_cflags_saved
=$CFLAGS
8759 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8761 /* end confdefs.h. */
8762 int main(int argc, char **argv) { return 0; }
8764 if ac_fn_c_try_link
"$LINENO"; then :
8765 eval "$as_ac_var=yes"
8767 eval "$as_ac_var=no"
8769 rm -f core conftest.err conftest.
$ac_objext \
8770 conftest
$ac_exeext conftest.
$ac_ext
8771 CFLAGS
=$ac_wine_try_cflags_saved
8773 eval ac_res
=\$
$as_ac_var
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8775 $as_echo "$ac_res" >&6; }
8776 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8777 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8778 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8780 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8782 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8783 if eval \
${$as_ac_var+:} false
; then :
8784 $as_echo_n "(cached) " >&6
8786 ac_wine_try_cflags_saved
=$CFLAGS
8787 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8789 /* end confdefs.h. */
8790 int main(int argc, char **argv) { return 0; }
8792 if ac_fn_c_try_link
"$LINENO"; then :
8793 eval "$as_ac_var=yes"
8795 eval "$as_ac_var=no"
8797 rm -f core conftest.err conftest.
$ac_objext \
8798 conftest
$ac_exeext conftest.
$ac_ext
8799 CFLAGS
=$ac_wine_try_cflags_saved
8801 eval ac_res
=\$
$as_ac_var
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8803 $as_echo "$ac_res" >&6; }
8804 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8805 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8806 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8811 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8812 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8813 $as_echo_n "(cached) " >&6
8815 ac_wine_try_cflags_saved
=$CFLAGS
8816 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8818 /* end confdefs.h. */
8819 int main(int argc, char **argv) { return 0; }
8821 if ac_fn_c_try_link
"$LINENO"; then :
8822 ac_cv_cflags__Wl___enable_new_dtags
=yes
8824 ac_cv_cflags__Wl___enable_new_dtags
=no
8826 rm -f core conftest.err conftest.
$ac_objext \
8827 conftest
$ac_exeext conftest.
$ac_ext
8828 CFLAGS
=$ac_wine_try_cflags_saved
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8831 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8832 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8833 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8837 *i
[3456789]86* | x86_64
)
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8839 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8840 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8841 $as_echo_n "(cached) " >&6
8843 ac_wine_try_cflags_saved
=$CFLAGS
8844 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8846 /* end confdefs.h. */
8847 int main(int argc, char **argv) { return 0; }
8849 if ac_fn_c_try_link
"$LINENO"; then :
8850 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8852 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8854 rm -f core conftest.err conftest.
$ac_objext \
8855 conftest
$ac_exeext conftest.
$ac_ext
8856 CFLAGS
=$ac_wine_try_cflags_saved
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8859 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8860 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8862 freebsd
* | kfreebsd
*-gnu) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8863 *) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8867 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8868 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false
; then :
8869 $as_echo_n "(cached) " >&6
8871 ac_wine_try_cflags_saved
=$CFLAGS
8872 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8874 /* end confdefs.h. */
8875 int main(int argc, char **argv) { return 0; }
8877 if ac_fn_c_try_link
"$LINENO"; then :
8878 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=yes
8880 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=no
8882 rm -f core conftest.err conftest.
$ac_objext \
8883 conftest
$ac_exeext conftest.
$ac_ext
8884 CFLAGS
=$ac_wine_try_cflags_saved
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8887 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8888 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes
; then :
8890 freebsd
* | kfreebsd
*-gnu) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8891 *) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8894 # Extract the first word of "prelink", so it can be a program name with args.
8895 set dummy prelink
; ac_word
=$2
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8897 $as_echo_n "checking for $ac_word... " >&6; }
8898 if ${ac_cv_path_PRELINK+:} false
; then :
8899 $as_echo_n "(cached) " >&6
8903 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8907 for as_dir
in /sbin
/usr
/sbin
$PATH
8910 test -z "$as_dir" && as_dir
=.
8911 for ac_exec_ext
in '' $ac_executable_extensions; do
8912 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8913 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8921 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8925 PRELINK
=$ac_cv_path_PRELINK
8926 if test -n "$PRELINK"; then
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8928 $as_echo "$PRELINK" >&6; }
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8931 $as_echo "no" >&6; }
8935 if test "x$PRELINK" = xfalse
8937 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8941 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8942 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false
; then :
8943 $as_echo_n "(cached) " >&6
8945 ac_wine_try_cflags_saved
=$CFLAGS
8946 CFLAGS
="$CFLAGS -Wl,-z,max-page-size=0x1000"
8947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8948 /* end confdefs.h. */
8949 int main(int argc, char **argv) { return 0; }
8951 if ac_fn_c_try_link
"$LINENO"; then :
8952 ac_cv_cflags__Wl__z_max_page_size_0x1000
=yes
8954 ac_cv_cflags__Wl__z_max_page_size_0x1000
=no
8956 rm -f core conftest.err conftest.
$ac_objext \
8957 conftest
$ac_exeext conftest.
$ac_ext
8958 CFLAGS
=$ac_wine_try_cflags_saved
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8961 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8962 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
; then :
8963 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8970 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8971 if ${ac_cv_c_dll_unixware+:} false
; then :
8972 $as_echo_n "(cached) " >&6
8974 ac_wine_try_cflags_saved
=$CFLAGS
8975 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8977 /* end confdefs.h. */
8980 if ac_fn_c_try_link
"$LINENO"; then :
8981 ac_cv_c_dll_unixware
="yes"
8983 ac_cv_c_dll_unixware
="no"
8985 rm -f core conftest.err conftest.
$ac_objext \
8986 conftest
$ac_exeext conftest.
$ac_ext
8987 CFLAGS
=$ac_wine_try_cflags_saved
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8990 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8991 if test "$ac_cv_c_dll_unixware" = "yes"
8993 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
8996 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
8998 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9000 LIBWINE_INSTALL_DEV
="libwine.so"
9002 LIBWINE_DEPENDS
="wine.map"
9007 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
9008 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
9009 enable_wineandroid_drv
=${enable_wineandroid_drv:-no}
9010 enable_winemac_drv
=${enable_winemac_drv:-no}
9011 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
9015 if test "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
9019 ac_prefix_list
="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9021 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
9022 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9025 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
9026 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9028 ac_prefix_list
="" ;;
9030 for ac_prog
in $ac_prefix_list
9032 # Extract the first word of "$ac_prog", so it can be a program name with args.
9033 set dummy
$ac_prog; ac_word
=$2
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9035 $as_echo_n "checking for $ac_word... " >&6; }
9036 if ${ac_cv_prog_CROSSCC+:} false
; then :
9037 $as_echo_n "(cached) " >&6
9039 if test -n "$CROSSCC"; then
9040 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
9042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9046 test -z "$as_dir" && as_dir
=.
9047 for ac_exec_ext
in '' $ac_executable_extensions; do
9048 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9049 ac_cv_prog_CROSSCC
="$ac_prog"
9050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9059 CROSSCC
=$ac_cv_prog_CROSSCC
9060 if test -n "$CROSSCC"; then
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9062 $as_echo "$CROSSCC" >&6; }
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9065 $as_echo "no" >&6; }
9069 test -n "$CROSSCC" && break
9071 test -n "$CROSSCC" || CROSSCC
="false"
9073 if test "$CROSSCC" != "false"
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9078 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9080 /* end confdefs.h. */
9090 if ac_fn_c_try_compile
"$LINENO"; then :
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9092 $as_echo "yes" >&6; }
9098 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
9099 *-clang) CROSSTARGET
=`expr "$1" : '\(.*\)-clang'` ;;
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9105 $as_echo "no" >&6; }
9107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9109 CROSSCFLAGS
=${CROSSCFLAGS:-$CFLAGS}
9115 if test "$ac_cv_header_pthread_h" = "yes"
9117 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9118 if test "x$ac_cv_func_pthread_create" = xyes
; then :
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9122 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9123 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
9124 $as_echo_n "(cached) " >&6
9126 ac_check_lib_save_LIBS
=$LIBS
9127 LIBS
="-lpthread $LIBS"
9128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9129 /* end confdefs.h. */
9131 /* Override any GCC internal prototype to avoid an error.
9132 Use char because int might match the return type of a GCC
9133 builtin and then its argument prototype would still apply. */
9137 char pthread_create ();
9141 return pthread_create ();
9146 if ac_fn_c_try_link
"$LINENO"; then :
9147 ac_cv_lib_pthread_pthread_create
=yes
9149 ac_cv_lib_pthread_pthread_create
=no
9151 rm -f core conftest.err conftest.
$ac_objext \
9152 conftest
$ac_exeext conftest.
$ac_ext
9153 LIBS
=$ac_check_lib_save_LIBS
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9156 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9157 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
9158 PTHREAD_LIBS
="-lpthread"
9165 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
9166 case "x$with_pthread" in
9168 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
9169 Wine cannot support threads without libpthread.
9170 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9177 $as_echo_n "checking for X... " >&6; }
9180 # Check whether --with-x was given.
9181 if test "${with_x+set}" = set; then :
9185 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9186 if test "x$with_x" = xno
; then
9187 # The user explicitly disabled X.
9190 case $x_includes,$x_libraries in #(
9191 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
9192 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
9193 $as_echo_n "(cached) " >&6
9195 # One or both of the vars are not set, and there is no cached value.
9196 ac_x_includes
=no ac_x_libraries
=no
9197 rm -f -r conftest.dir
9198 if mkdir conftest.dir
; then
9200 cat >Imakefile
<<'_ACEOF'
9202 @echo incroot='${INCROOT}'
9204 @echo usrlibdir='${USRLIBDIR}'
9206 @echo libdir='${LIBDIR}'
9208 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9209 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9210 for ac_var
in incroot usrlibdir libdir
; do
9211 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9213 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9214 for ac_extension
in a so sl dylib la dll
; do
9215 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9216 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9217 ac_im_usrlibdir
=$ac_im_libdir; break
9220 # Screen out bogus values from the imake configuration. They are
9221 # bogus both because they are the default anyway, and because
9222 # using them would break gcc on systems where it needs fixed includes.
9223 case $ac_im_incroot in
9224 /usr
/include
) ac_x_includes
= ;;
9225 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9227 case $ac_im_usrlibdir in
9228 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9229 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9233 rm -f -r conftest.dir
9236 # Standard set of common directories for X headers.
9237 # Check X11 before X11Rn because it is often a symlink to the current release.
9251 /usr/local/X11/include
9252 /usr/local/X11R7/include
9253 /usr/local/X11R6/include
9254 /usr/local/X11R5/include
9255 /usr/local/X11R4/include
9257 /usr/local/include/X11
9258 /usr/local/include/X11R7
9259 /usr/local/include/X11R6
9260 /usr/local/include/X11R5
9261 /usr/local/include/X11R4
9265 /usr/XFree86/include/X11
9269 /usr/unsupported/include
9271 /usr/local/x11r5/include
9272 /usr/lpp/Xamples/include
9274 /usr/openwin/include
9275 /usr/openwin/share/include'
9277 if test "$ac_x_includes" = no
; then
9278 # Guess where to find include files, by looking for Xlib.h.
9279 # First, try using that file with no special directory specified.
9280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9281 /* end confdefs.h. */
9282 #include <X11/Xlib.h>
9284 if ac_fn_c_try_cpp
"$LINENO"; then :
9285 # We can compile using X headers with no special include directory.
9288 for ac_dir
in $ac_x_header_dirs; do
9289 if test -r "$ac_dir/X11/Xlib.h"; then
9290 ac_x_includes
=$ac_dir
9295 rm -f conftest.err conftest.i conftest.
$ac_ext
9296 fi # $ac_x_includes = no
9298 if test "$ac_x_libraries" = no
; then
9299 # Check for the libraries.
9300 # See if we find them without any special options.
9301 # Don't add to $LIBS permanently.
9304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9305 /* end confdefs.h. */
9306 #include <X11/Xlib.h>
9315 if ac_fn_c_try_link
"$LINENO"; then :
9317 # We can link X programs with no special library path.
9321 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9323 # Don't even attempt the hair of trying to link an X program!
9324 for ac_extension
in a so sl dylib la dll
; do
9325 if test -r "$ac_dir/libX11.$ac_extension"; then
9326 ac_x_libraries
=$ac_dir
9332 rm -f core conftest.err conftest.
$ac_objext \
9333 conftest
$ac_exeext conftest.
$ac_ext
9334 fi # $ac_x_libraries = no
9336 case $ac_x_includes,$ac_x_libraries in #(
9338 # Didn't find X, or a directory has "'" in its name.
9339 ac_cv_have_x
="have_x=no";; #(
9341 # Record where we found X for the cache.
9342 ac_cv_have_x
="have_x=yes\
9343 ac_x_includes='$ac_x_includes'\
9344 ac_x_libraries='$ac_x_libraries'"
9350 eval "$ac_cv_have_x"
9353 if test "$have_x" != yes; then
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9355 $as_echo "$have_x" >&6; }
9358 # If each of the values was on the command line, it overrides each guess.
9359 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9360 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9361 # Update the cache value to reflect the command line values.
9362 ac_cv_have_x
="have_x=yes\
9363 ac_x_includes='$x_includes'\
9364 ac_x_libraries='$x_libraries'"
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9366 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9369 if test "$no_x" = yes; then
9370 # Not all programs may use this symbol, but it does not hurt to define it.
9372 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9374 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9376 if test -n "$x_includes"; then
9377 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9380 # It would also be nice to do this for all -L options, not just this one.
9381 if test -n "$x_libraries"; then
9382 X_LIBS
="$X_LIBS -L$x_libraries"
9383 # For Solaris; some versions of Sun CC require a space after -R and
9384 # others require no space. Words are not sufficient . . . .
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9386 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9387 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9388 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9389 ac_c_werror_flag
=yes
9390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9391 /* end confdefs.h. */
9401 if ac_fn_c_try_link
"$LINENO"; then :
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9403 $as_echo "no" >&6; }
9404 X_LIBS
="$X_LIBS -R$x_libraries"
9406 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9408 /* end confdefs.h. */
9418 if ac_fn_c_try_link
"$LINENO"; then :
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9420 $as_echo "yes" >&6; }
9421 X_LIBS
="$X_LIBS -R $x_libraries"
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9424 $as_echo "neither works" >&6; }
9426 rm -f core conftest.err conftest.
$ac_objext \
9427 conftest
$ac_exeext conftest.
$ac_ext
9429 rm -f core conftest.err conftest.
$ac_objext \
9430 conftest
$ac_exeext conftest.
$ac_ext
9431 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9435 # Check for system-dependent libraries X programs must link with.
9436 # Do this before checking for the system-independent R6 libraries
9437 # (-lICE), since we may need -lsocket or whatever for X linking.
9439 if test "$ISC" = yes; then
9440 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9442 # Martyn Johnson says this is needed for Ultrix, if the X
9443 # libraries were built with DECnet support. And Karl Berry says
9444 # the Alpha needs dnet_stub (dnet does not exist).
9445 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9447 /* end confdefs.h. */
9449 /* Override any GCC internal prototype to avoid an error.
9450 Use char because int might match the return type of a GCC
9451 builtin and then its argument prototype would still apply. */
9455 char XOpenDisplay ();
9459 return XOpenDisplay ();
9464 if ac_fn_c_try_link
"$LINENO"; then :
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9468 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9469 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9470 $as_echo_n "(cached) " >&6
9472 ac_check_lib_save_LIBS
=$LIBS
9474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9477 /* Override any GCC internal prototype to avoid an error.
9478 Use char because int might match the return type of a GCC
9479 builtin and then its argument prototype would still apply. */
9487 return dnet_ntoa ();
9492 if ac_fn_c_try_link
"$LINENO"; then :
9493 ac_cv_lib_dnet_dnet_ntoa
=yes
9495 ac_cv_lib_dnet_dnet_ntoa
=no
9497 rm -f core conftest.err conftest.
$ac_objext \
9498 conftest
$ac_exeext conftest.
$ac_ext
9499 LIBS
=$ac_check_lib_save_LIBS
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9502 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9503 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9504 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9507 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9509 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9510 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9511 $as_echo_n "(cached) " >&6
9513 ac_check_lib_save_LIBS
=$LIBS
9514 LIBS
="-ldnet_stub $LIBS"
9515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9516 /* end confdefs.h. */
9518 /* Override any GCC internal prototype to avoid an error.
9519 Use char because int might match the return type of a GCC
9520 builtin and then its argument prototype would still apply. */
9528 return dnet_ntoa ();
9533 if ac_fn_c_try_link
"$LINENO"; then :
9534 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9536 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9538 rm -f core conftest.err conftest.
$ac_objext \
9539 conftest
$ac_exeext conftest.
$ac_ext
9540 LIBS
=$ac_check_lib_save_LIBS
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9543 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9544 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9545 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9550 rm -f core conftest.err conftest.
$ac_objext \
9551 conftest
$ac_exeext conftest.
$ac_ext
9552 LIBS
="$ac_xsave_LIBS"
9554 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9555 # to get the SysV transport functions.
9556 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9558 # The nsl library prevents programs from opening the X display
9559 # on Irix 5.2, according to T.E. Dickey.
9560 # The functions gethostbyname, getservbyname, and inet_addr are
9561 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9562 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9563 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9567 if test $ac_cv_func_gethostbyname = no
; then
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9569 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9570 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9571 $as_echo_n "(cached) " >&6
9573 ac_check_lib_save_LIBS
=$LIBS
9575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9576 /* end confdefs.h. */
9578 /* Override any GCC internal prototype to avoid an error.
9579 Use char because int might match the return type of a GCC
9580 builtin and then its argument prototype would still apply. */
9584 char gethostbyname ();
9588 return gethostbyname ();
9593 if ac_fn_c_try_link
"$LINENO"; then :
9594 ac_cv_lib_nsl_gethostbyname
=yes
9596 ac_cv_lib_nsl_gethostbyname
=no
9598 rm -f core conftest.err conftest.
$ac_objext \
9599 conftest
$ac_exeext conftest.
$ac_ext
9600 LIBS
=$ac_check_lib_save_LIBS
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9603 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9604 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9605 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9608 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9610 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9611 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9612 $as_echo_n "(cached) " >&6
9614 ac_check_lib_save_LIBS
=$LIBS
9616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9617 /* end confdefs.h. */
9619 /* Override any GCC internal prototype to avoid an error.
9620 Use char because int might match the return type of a GCC
9621 builtin and then its argument prototype would still apply. */
9625 char gethostbyname ();
9629 return gethostbyname ();
9634 if ac_fn_c_try_link
"$LINENO"; then :
9635 ac_cv_lib_bsd_gethostbyname
=yes
9637 ac_cv_lib_bsd_gethostbyname
=no
9639 rm -f core conftest.err conftest.
$ac_objext \
9640 conftest
$ac_exeext conftest.
$ac_ext
9641 LIBS
=$ac_check_lib_save_LIBS
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9644 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9645 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9646 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9652 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9653 # socket/setsockopt and other routines are undefined under SCO ODT
9654 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9655 # on later versions), says Simon Leinen: it contains gethostby*
9656 # variants that don't use the name server (or something). -lsocket
9657 # must be given before -lnsl if both are needed. We assume that
9658 # if connect needs -lnsl, so does gethostbyname.
9659 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9660 if test "x$ac_cv_func_connect" = xyes
; then :
9664 if test $ac_cv_func_connect = no
; then
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9666 $as_echo_n "checking for connect in -lsocket... " >&6; }
9667 if ${ac_cv_lib_socket_connect+:} false
; then :
9668 $as_echo_n "(cached) " >&6
9670 ac_check_lib_save_LIBS
=$LIBS
9671 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9673 /* end confdefs.h. */
9675 /* Override any GCC internal prototype to avoid an error.
9676 Use char because int might match the return type of a GCC
9677 builtin and then its argument prototype would still apply. */
9690 if ac_fn_c_try_link
"$LINENO"; then :
9691 ac_cv_lib_socket_connect
=yes
9693 ac_cv_lib_socket_connect
=no
9695 rm -f core conftest.err conftest.
$ac_objext \
9696 conftest
$ac_exeext conftest.
$ac_ext
9697 LIBS
=$ac_check_lib_save_LIBS
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9700 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9701 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9702 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9707 # Guillermo Gomez says -lposix is necessary on A/UX.
9708 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9709 if test "x$ac_cv_func_remove" = xyes
; then :
9713 if test $ac_cv_func_remove = no
; then
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9715 $as_echo_n "checking for remove in -lposix... " >&6; }
9716 if ${ac_cv_lib_posix_remove+:} false
; then :
9717 $as_echo_n "(cached) " >&6
9719 ac_check_lib_save_LIBS
=$LIBS
9720 LIBS
="-lposix $LIBS"
9721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9722 /* end confdefs.h. */
9724 /* Override any GCC internal prototype to avoid an error.
9725 Use char because int might match the return type of a GCC
9726 builtin and then its argument prototype would still apply. */
9739 if ac_fn_c_try_link
"$LINENO"; then :
9740 ac_cv_lib_posix_remove
=yes
9742 ac_cv_lib_posix_remove
=no
9744 rm -f core conftest.err conftest.
$ac_objext \
9745 conftest
$ac_exeext conftest.
$ac_ext
9746 LIBS
=$ac_check_lib_save_LIBS
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9749 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9750 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9751 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9756 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9757 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9758 if test "x$ac_cv_func_shmat" = xyes
; then :
9762 if test $ac_cv_func_shmat = no
; then
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9764 $as_echo_n "checking for shmat in -lipc... " >&6; }
9765 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9766 $as_echo_n "(cached) " >&6
9768 ac_check_lib_save_LIBS
=$LIBS
9770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9771 /* end confdefs.h. */
9773 /* Override any GCC internal prototype to avoid an error.
9774 Use char because int might match the return type of a GCC
9775 builtin and then its argument prototype would still apply. */
9788 if ac_fn_c_try_link
"$LINENO"; then :
9789 ac_cv_lib_ipc_shmat
=yes
9791 ac_cv_lib_ipc_shmat
=no
9793 rm -f core conftest.err conftest.
$ac_objext \
9794 conftest
$ac_exeext conftest.
$ac_ext
9795 LIBS
=$ac_check_lib_save_LIBS
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9798 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9799 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9800 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9806 # Check for libraries that X11R6 Xt/Xaw programs need.
9807 ac_save_LDFLAGS
=$LDFLAGS
9808 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9809 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9810 # check for ICE first), but we must link in the order -lSM -lICE or
9811 # we get undefined symbols. So assume we have SM if we have ICE.
9812 # These have to be linked with before -lX11, unlike the other
9813 # libraries we check for below, so use a different variable.
9814 # John Interrante, Karl Berry
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9816 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9817 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9818 $as_echo_n "(cached) " >&6
9820 ac_check_lib_save_LIBS
=$LIBS
9821 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9823 /* end confdefs.h. */
9825 /* Override any GCC internal prototype to avoid an error.
9826 Use char because int might match the return type of a GCC
9827 builtin and then its argument prototype would still apply. */
9831 char IceConnectionNumber ();
9835 return IceConnectionNumber ();
9840 if ac_fn_c_try_link
"$LINENO"; then :
9841 ac_cv_lib_ICE_IceConnectionNumber
=yes
9843 ac_cv_lib_ICE_IceConnectionNumber
=no
9845 rm -f core conftest.err conftest.
$ac_objext \
9846 conftest
$ac_exeext conftest.
$ac_ext
9847 LIBS
=$ac_check_lib_save_LIBS
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9850 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9851 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9852 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9855 LDFLAGS
=$ac_save_LDFLAGS
9860 if test "$have_x" = "yes"
9862 ac_save_CPPFLAGS
="$CPPFLAGS"
9863 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9866 $as_echo_n "checking for -lX11... " >&6; }
9867 if ${ac_cv_lib_soname_X11+:} false
; then :
9868 $as_echo_n "(cached) " >&6
9870 ac_check_soname_save_LIBS
=$LIBS
9871 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9873 /* end confdefs.h. */
9875 /* Override any GCC internal prototype to avoid an error.
9876 Use char because int might match the return type of a GCC
9877 builtin and then its argument prototype would still apply. */
9881 char XCreateWindow ();
9885 return XCreateWindow ();
9890 if ac_fn_c_try_link
"$LINENO"; then :
9892 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9893 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'` ;;
9894 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9895 if ${ac_cv_lib_soname_X11:+false} :; then :
9896 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9900 rm -f core conftest.err conftest.
$ac_objext \
9901 conftest
$ac_exeext conftest.
$ac_ext
9902 LIBS
=$ac_check_soname_save_LIBS
9904 if ${ac_cv_lib_soname_X11:+false} :; then :
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9906 $as_echo "not found" >&6; }
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9910 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9912 cat >>confdefs.h
<<_ACEOF
9913 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9919 $as_echo_n "checking for -lXext... " >&6; }
9920 if ${ac_cv_lib_soname_Xext+:} false
; then :
9921 $as_echo_n "(cached) " >&6
9923 ac_check_soname_save_LIBS
=$LIBS
9924 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9926 /* end confdefs.h. */
9928 /* Override any GCC internal prototype to avoid an error.
9929 Use char because int might match the return type of a GCC
9930 builtin and then its argument prototype would still apply. */
9934 char XextCreateExtension ();
9938 return XextCreateExtension ();
9943 if ac_fn_c_try_link
"$LINENO"; then :
9945 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9946 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'` ;;
9947 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9948 if ${ac_cv_lib_soname_Xext:+false} :; then :
9949 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9953 rm -f core conftest.err conftest.
$ac_objext \
9954 conftest
$ac_exeext conftest.
$ac_ext
9955 LIBS
=$ac_check_soname_save_LIBS
9957 if ${ac_cv_lib_soname_Xext:+false} :; then :
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9959 $as_echo "not found" >&6; }
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9963 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9965 cat >>confdefs.h
<<_ACEOF
9966 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9969 X_LIBS
="$X_LIBS -lXext"
9971 X_LIBS
="$X_LIBS -lX11"
9973 for ac_header
in X11
/Xlib.h \
9976 X11
/Xcursor
/Xcursor.h \
9977 X11
/extensions
/shape.h \
9978 X11
/extensions
/XInput.h \
9979 X11
/extensions
/XInput2.h \
9980 X11
/extensions
/XShm.h \
9981 X11
/extensions
/Xcomposite.h \
9982 X11
/extensions
/Xfixes.h \
9983 X11
/extensions
/Xinerama.h \
9984 X11
/extensions
/Xrandr.h \
9985 X11
/extensions
/Xrender.h \
9986 X11
/extensions
/xf86vmode.h \
9987 X11
/extensions
/xf86vmproto.h
9989 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9990 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9991 # include <X11/Xlib.h>
9993 #ifdef HAVE_X11_XUTIL_H
9994 # include <X11/Xutil.h>
9997 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9998 cat >>confdefs.h
<<_ACEOF
9999 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10007 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10010 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10011 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
10012 $as_echo_n "(cached) " >&6
10014 ac_check_lib_save_LIBS
=$LIBS
10015 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10017 /* end confdefs.h. */
10019 /* Override any GCC internal prototype to avoid an error.
10020 Use char because int might match the return type of a GCC
10021 builtin and then its argument prototype would still apply. */
10025 char XkbQueryExtension ();
10029 return XkbQueryExtension ();
10034 if ac_fn_c_try_link
"$LINENO"; then :
10035 ac_cv_lib_X11_XkbQueryExtension
=yes
10037 ac_cv_lib_X11_XkbQueryExtension
=no
10039 rm -f core conftest.err conftest.
$ac_objext \
10040 conftest
$ac_exeext conftest.
$ac_ext
10041 LIBS
=$ac_check_lib_save_LIBS
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10044 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10045 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
10047 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10053 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10056 $as_echo_n "checking for -lXcursor... " >&6; }
10057 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
10058 $as_echo_n "(cached) " >&6
10060 ac_check_soname_save_LIBS
=$LIBS
10061 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10063 /* end confdefs.h. */
10065 /* Override any GCC internal prototype to avoid an error.
10066 Use char because int might match the return type of a GCC
10067 builtin and then its argument prototype would still apply. */
10071 char XcursorImageLoadCursor ();
10075 return XcursorImageLoadCursor ();
10080 if ac_fn_c_try_link
"$LINENO"; then :
10082 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10083 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'` ;;
10084 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10085 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10086 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10090 rm -f core conftest.err conftest.
$ac_objext \
10091 conftest
$ac_exeext conftest.
$ac_ext
10092 LIBS
=$ac_check_soname_save_LIBS
10094 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10096 $as_echo "not found" >&6; }
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10100 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10102 cat >>confdefs.h
<<_ACEOF
10103 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10109 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10110 case "x$with_xcursor" in
10111 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10113 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10114 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10119 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10122 $as_echo_n "checking for -lXi... " >&6; }
10123 if ${ac_cv_lib_soname_Xi+:} false
; then :
10124 $as_echo_n "(cached) " >&6
10126 ac_check_soname_save_LIBS
=$LIBS
10127 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10129 /* end confdefs.h. */
10131 /* Override any GCC internal prototype to avoid an error.
10132 Use char because int might match the return type of a GCC
10133 builtin and then its argument prototype would still apply. */
10137 char XOpenDevice ();
10141 return XOpenDevice ();
10146 if ac_fn_c_try_link
"$LINENO"; then :
10148 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10149 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'` ;;
10150 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10151 if ${ac_cv_lib_soname_Xi:+false} :; then :
10152 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10156 rm -f core conftest.err conftest.
$ac_objext \
10157 conftest
$ac_exeext conftest.
$ac_ext
10158 LIBS
=$ac_check_soname_save_LIBS
10160 if ${ac_cv_lib_soname_Xi:+false} :; then :
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10162 $as_echo "not found" >&6; }
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10166 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10168 cat >>confdefs.h
<<_ACEOF
10169 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10175 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10176 case "x$with_xinput" in
10177 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10179 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10180 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10185 if test "x$ac_cv_lib_soname_Xi" != x
10187 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10188 case "x$with_xinput2" in
10189 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10191 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
10192 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10198 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10201 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10202 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
10203 $as_echo_n "(cached) " >&6
10205 ac_check_lib_save_LIBS
=$LIBS
10206 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10208 /* end confdefs.h. */
10210 /* Override any GCC internal prototype to avoid an error.
10211 Use char because int might match the return type of a GCC
10212 builtin and then its argument prototype would still apply. */
10216 char XShmQueryExtension ();
10220 return XShmQueryExtension ();
10225 if ac_fn_c_try_link
"$LINENO"; then :
10226 ac_cv_lib_Xext_XShmQueryExtension
=yes
10228 ac_cv_lib_Xext_XShmQueryExtension
=no
10230 rm -f core conftest.err conftest.
$ac_objext \
10231 conftest
$ac_exeext conftest.
$ac_ext
10232 LIBS
=$ac_check_lib_save_LIBS
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10235 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10236 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10238 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10243 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10244 case "x$with_xshm" in
10245 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10247 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10248 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10253 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10256 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10257 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10258 $as_echo_n "(cached) " >&6
10260 ac_check_lib_save_LIBS
=$LIBS
10261 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10263 /* end confdefs.h. */
10265 /* Override any GCC internal prototype to avoid an error.
10266 Use char because int might match the return type of a GCC
10267 builtin and then its argument prototype would still apply. */
10271 char XShapeQueryExtension ();
10275 return XShapeQueryExtension ();
10280 if ac_fn_c_try_link
"$LINENO"; then :
10281 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10283 ac_cv_lib_Xext_XShapeQueryExtension
=no
10285 rm -f core conftest.err conftest.
$ac_objext \
10286 conftest
$ac_exeext conftest.
$ac_ext
10287 LIBS
=$ac_check_lib_save_LIBS
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10290 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10291 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10293 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10298 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10299 case "x$with_xshape" in
10300 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10302 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10303 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10308 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10311 $as_echo_n "checking for -lXxf86vm... " >&6; }
10312 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10313 $as_echo_n "(cached) " >&6
10315 ac_check_soname_save_LIBS
=$LIBS
10316 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10318 /* end confdefs.h. */
10320 /* Override any GCC internal prototype to avoid an error.
10321 Use char because int might match the return type of a GCC
10322 builtin and then its argument prototype would still apply. */
10326 char XF86VidModeQueryExtension ();
10330 return XF86VidModeQueryExtension ();
10335 if ac_fn_c_try_link
"$LINENO"; then :
10337 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10338 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'` ;;
10339 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10340 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10341 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10345 rm -f core conftest.err conftest.
$ac_objext \
10346 conftest
$ac_exeext conftest.
$ac_ext
10347 LIBS
=$ac_check_soname_save_LIBS
10349 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10351 $as_echo "not found" >&6; }
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10355 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10357 cat >>confdefs.h
<<_ACEOF
10358 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10364 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10365 case "x$with_xxf86vm" in
10366 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10368 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10369 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10374 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10377 $as_echo_n "checking for -lXrender... " >&6; }
10378 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10379 $as_echo_n "(cached) " >&6
10381 ac_check_soname_save_LIBS
=$LIBS
10382 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10384 /* end confdefs.h. */
10386 /* Override any GCC internal prototype to avoid an error.
10387 Use char because int might match the return type of a GCC
10388 builtin and then its argument prototype would still apply. */
10392 char XRenderQueryExtension ();
10396 return XRenderQueryExtension ();
10401 if ac_fn_c_try_link
"$LINENO"; then :
10403 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10404 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'` ;;
10405 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10406 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10407 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10411 rm -f core conftest.err conftest.
$ac_objext \
10412 conftest
$ac_exeext conftest.
$ac_ext
10413 LIBS
=$ac_check_soname_save_LIBS
10415 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10417 $as_echo "not found" >&6; }
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10421 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10423 cat >>confdefs.h
<<_ACEOF
10424 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10428 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10429 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10430 $as_echo_n "(cached) " >&6
10432 ac_check_lib_save_LIBS
=$LIBS
10433 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10435 /* end confdefs.h. */
10437 /* Override any GCC internal prototype to avoid an error.
10438 Use char because int might match the return type of a GCC
10439 builtin and then its argument prototype would still apply. */
10443 char XRenderSetPictureTransform ();
10447 return XRenderSetPictureTransform ();
10452 if ac_fn_c_try_link
"$LINENO"; then :
10453 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10455 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10457 rm -f core conftest.err conftest.
$ac_objext \
10458 conftest
$ac_exeext conftest.
$ac_ext
10459 LIBS
=$ac_check_lib_save_LIBS
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10462 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10463 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10465 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10470 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10471 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10472 $as_echo_n "(cached) " >&6
10474 ac_check_lib_save_LIBS
=$LIBS
10475 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10477 /* end confdefs.h. */
10479 /* Override any GCC internal prototype to avoid an error.
10480 Use char because int might match the return type of a GCC
10481 builtin and then its argument prototype would still apply. */
10485 char XRenderCreateLinearGradient ();
10489 return XRenderCreateLinearGradient ();
10494 if ac_fn_c_try_link
"$LINENO"; then :
10495 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10497 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10499 rm -f core conftest.err conftest.
$ac_objext \
10500 conftest
$ac_exeext conftest.
$ac_ext
10501 LIBS
=$ac_check_lib_save_LIBS
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10504 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10505 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10507 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10514 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10515 case "x$with_xrender" in
10516 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10518 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10519 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10524 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10527 /* end confdefs.h. */
10528 #include <X11/Xlib.h>
10529 #include <X11/extensions/Xrandr.h>
10533 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10538 if ac_fn_c_try_compile
"$LINENO"; then :
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10540 $as_echo_n "checking for -lXrandr... " >&6; }
10541 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10542 $as_echo_n "(cached) " >&6
10544 ac_check_soname_save_LIBS
=$LIBS
10545 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10547 /* end confdefs.h. */
10549 /* Override any GCC internal prototype to avoid an error.
10550 Use char because int might match the return type of a GCC
10551 builtin and then its argument prototype would still apply. */
10555 char XRRQueryExtension ();
10559 return XRRQueryExtension ();
10564 if ac_fn_c_try_link
"$LINENO"; then :
10566 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10567 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'` ;;
10568 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10569 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10570 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10574 rm -f core conftest.err conftest.
$ac_objext \
10575 conftest
$ac_exeext conftest.
$ac_ext
10576 LIBS
=$ac_check_soname_save_LIBS
10578 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10580 $as_echo "not found" >&6; }
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10584 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10586 cat >>confdefs.h
<<_ACEOF
10587 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10591 /* end confdefs.h. */
10592 #include <X11/Xlib.h>
10593 #include <X11/extensions/Xrandr.h>
10597 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10602 if ac_fn_c_try_compile
"$LINENO"; then :
10604 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10612 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10613 case "x$with_xrandr" in
10614 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10616 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10617 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10622 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10625 /* end confdefs.h. */
10626 #include <X11/Xlib.h>
10627 #include <X11/extensions/Xfixes.h>
10631 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10636 if ac_fn_c_try_compile
"$LINENO"; then :
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10638 $as_echo_n "checking for -lXfixes... " >&6; }
10639 if ${ac_cv_lib_soname_Xfixes+:} false
; then :
10640 $as_echo_n "(cached) " >&6
10642 ac_check_soname_save_LIBS
=$LIBS
10643 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10645 /* end confdefs.h. */
10647 /* Override any GCC internal prototype to avoid an error.
10648 Use char because int might match the return type of a GCC
10649 builtin and then its argument prototype would still apply. */
10653 char XFixesQueryVersion ();
10657 return XFixesQueryVersion ();
10662 if ac_fn_c_try_link
"$LINENO"; then :
10664 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10665 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'` ;;
10666 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10667 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10668 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10672 rm -f core conftest.err conftest.
$ac_objext \
10673 conftest
$ac_exeext conftest.
$ac_ext
10674 LIBS
=$ac_check_soname_save_LIBS
10676 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10678 $as_echo "not found" >&6; }
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10682 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10684 cat >>confdefs.h
<<_ACEOF
10685 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10693 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10694 case "x$with_xfixes" in
10695 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10697 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10698 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10703 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10707 #include <X11/Xlib.h>
10708 #include <X11/extensions/Xinerama.h>
10712 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10717 if ac_fn_c_try_compile
"$LINENO"; then :
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10719 $as_echo_n "checking for -lXinerama... " >&6; }
10720 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10721 $as_echo_n "(cached) " >&6
10723 ac_check_soname_save_LIBS
=$LIBS
10724 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10726 /* end confdefs.h. */
10728 /* Override any GCC internal prototype to avoid an error.
10729 Use char because int might match the return type of a GCC
10730 builtin and then its argument prototype would still apply. */
10734 char XineramaQueryScreens ();
10738 return XineramaQueryScreens ();
10743 if ac_fn_c_try_link
"$LINENO"; then :
10745 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10746 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'` ;;
10747 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10748 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10749 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10753 rm -f core conftest.err conftest.
$ac_objext \
10754 conftest
$ac_exeext conftest.
$ac_ext
10755 LIBS
=$ac_check_soname_save_LIBS
10757 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10759 $as_echo "not found" >&6; }
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10763 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10765 cat >>confdefs.h
<<_ACEOF
10766 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10774 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10775 case "x$with_xinerama" in
10776 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10778 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10779 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10784 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10787 $as_echo_n "checking for -lXcomposite... " >&6; }
10788 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10789 $as_echo_n "(cached) " >&6
10791 ac_check_soname_save_LIBS
=$LIBS
10792 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10796 /* Override any GCC internal prototype to avoid an error.
10797 Use char because int might match the return type of a GCC
10798 builtin and then its argument prototype would still apply. */
10802 char XCompositeRedirectWindow ();
10806 return XCompositeRedirectWindow ();
10811 if ac_fn_c_try_link
"$LINENO"; then :
10813 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10814 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'` ;;
10815 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10816 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10817 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10821 rm -f core conftest.err conftest.
$ac_objext \
10822 conftest
$ac_exeext conftest.
$ac_ext
10823 LIBS
=$ac_check_soname_save_LIBS
10825 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10827 $as_echo "not found" >&6; }
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10831 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10833 cat >>confdefs.h
<<_ACEOF
10834 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10840 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10841 case "x$with_xcomposite" in
10842 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10844 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10845 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10850 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10851 #include <X11/Xlib.h>
10854 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10856 cat >>confdefs.h
<<_ACEOF
10857 #define HAVE_XICCALLBACK_CALLBACK 1
10862 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10863 #include <X11/Xlib.h>
10866 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10868 cat >>confdefs.h
<<_ACEOF
10869 #define HAVE_XEVENT_XCOOKIE 1
10878 if test "x$with_opengl" != "xno"
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10881 $as_echo_n "checking for -lGL... " >&6; }
10882 if ${ac_cv_lib_soname_GL+:} false
; then :
10883 $as_echo_n "(cached) " >&6
10885 ac_check_soname_save_LIBS
=$LIBS
10886 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10888 /* end confdefs.h. */
10890 /* Override any GCC internal prototype to avoid an error.
10891 Use char because int might match the return type of a GCC
10892 builtin and then its argument prototype would still apply. */
10896 char glXCreateContext ();
10900 return glXCreateContext ();
10905 if ac_fn_c_try_link
"$LINENO"; then :
10907 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10908 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'` ;;
10909 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10910 if ${ac_cv_lib_soname_GL:+false} :; then :
10911 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10915 rm -f core conftest.err conftest.
$ac_objext \
10916 conftest
$ac_exeext conftest.
$ac_ext
10917 LIBS
=$ac_check_soname_save_LIBS
10919 if ${ac_cv_lib_soname_GL:+false} :; then :
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10921 $as_echo "not found" >&6; }
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10923 $as_echo_n "checking for -lGL... " >&6; }
10924 if ${ac_cv_lib_soname_GL+:} false
; then :
10925 $as_echo_n "(cached) " >&6
10927 ac_check_soname_save_LIBS
=$LIBS
10928 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"
10929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10930 /* end confdefs.h. */
10932 /* Override any GCC internal prototype to avoid an error.
10933 Use char because int might match the return type of a GCC
10934 builtin and then its argument prototype would still apply. */
10938 char glXCreateContext ();
10942 return glXCreateContext ();
10947 if ac_fn_c_try_link
"$LINENO"; then :
10949 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10950 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'` ;;
10951 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10952 if ${ac_cv_lib_soname_GL:+false} :; then :
10953 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10957 rm -f core conftest.err conftest.
$ac_objext \
10958 conftest
$ac_exeext conftest.
$ac_ext
10959 LIBS
=$ac_check_soname_save_LIBS
10961 if ${ac_cv_lib_soname_GL:+false} :; then :
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10963 $as_echo "not found" >&6; }
10964 if test -f /usr
/X11R
6/lib
/libGL.a
10966 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10967 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10969 opengl_msg
="No OpenGL library found on this system."
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10973 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10975 cat >>confdefs.h
<<_ACEOF
10976 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10979 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"
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10983 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10985 cat >>confdefs.h
<<_ACEOF
10986 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10991 if test "x$with_glu" != "xno"
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10994 $as_echo_n "checking for -lGLU... " >&6; }
10995 if ${ac_cv_lib_soname_GLU+:} false
; then :
10996 $as_echo_n "(cached) " >&6
10998 ac_check_soname_save_LIBS
=$LIBS
10999 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11001 /* end confdefs.h. */
11003 /* Override any GCC internal prototype to avoid an error.
11004 Use char because int might match the return type of a GCC
11005 builtin and then its argument prototype would still apply. */
11013 return gluLookAt ();
11018 if ac_fn_c_try_link
"$LINENO"; then :
11020 dll
) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11021 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'` ;;
11022 *) ac_cv_lib_soname_GLU
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11023 if ${ac_cv_lib_soname_GLU:+false} :; then :
11024 ac_cv_lib_soname_GLU
=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11028 rm -f core conftest.err conftest.
$ac_objext \
11029 conftest
$ac_exeext conftest.
$ac_ext
11030 LIBS
=$ac_check_soname_save_LIBS
11032 if ${ac_cv_lib_soname_GLU:+false} :; then :
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11034 $as_echo "not found" >&6; }
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11038 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11040 cat >>confdefs.h
<<_ACEOF
11041 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11046 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11047 case "x$with_glu" in
11048 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11050 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
11051 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11057 if test "x$with_osmesa" != "xno"
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11060 $as_echo_n "checking for -lOSMesa... " >&6; }
11061 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
11062 $as_echo_n "(cached) " >&6
11064 ac_check_soname_save_LIBS
=$LIBS
11065 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11067 /* end confdefs.h. */
11069 /* Override any GCC internal prototype to avoid an error.
11070 Use char because int might match the return type of a GCC
11071 builtin and then its argument prototype would still apply. */
11075 char OSMesaGetProcAddress ();
11079 return OSMesaGetProcAddress ();
11084 if ac_fn_c_try_link
"$LINENO"; then :
11086 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11087 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'` ;;
11088 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11089 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11090 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11094 rm -f core conftest.err conftest.
$ac_objext \
11095 conftest
$ac_exeext conftest.
$ac_ext
11096 LIBS
=$ac_check_soname_save_LIBS
11098 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11100 $as_echo "not found" >&6; }
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11104 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11106 cat >>confdefs.h
<<_ACEOF
11107 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11112 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11113 case "x$with_osmesa" in
11114 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11116 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11117 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11123 if test -n "$opengl_msg"; then :
11124 case "x$with_opengl" in
11125 x
) as_fn_append wine_warnings
"|$opengl_msg
11126 OpenGL and Direct3D won't be supported." ;;
11128 *) as_fn_error $?
"$opengl_msg
11129 OpenGL and Direct3D won't be supported.
11130 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11135 CPPFLAGS
="$ac_save_CPPFLAGS"
11141 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11143 if test "x$X_LIBS" = "x"; then :
11146 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
11147 without X support, which probably isn't what you want. You will need
11148 to install ${notice_platform}development packages of Xlib at the very least.
11149 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11151 enable_winex11_drv
=${enable_winex11_drv:-no}
11154 if test "x$X_LIBS" = "x"; then :
11156 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11158 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
11159 This is an error since --with-x was requested." "$LINENO" 5 ;;
11161 enable_winex11_drv
=${enable_winex11_drv:-no}
11165 if test "$ac_cv_header_CL_cl_h" = "yes"
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11168 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11169 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
11170 $as_echo_n "(cached) " >&6
11172 ac_check_lib_save_LIBS
=$LIBS
11173 LIBS
="-lOpenCL $LIBS"
11174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11175 /* end confdefs.h. */
11177 /* Override any GCC internal prototype to avoid an error.
11178 Use char because int might match the return type of a GCC
11179 builtin and then its argument prototype would still apply. */
11183 char clGetPlatformInfo ();
11187 return clGetPlatformInfo ();
11192 if ac_fn_c_try_link
"$LINENO"; then :
11193 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
11195 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
11197 rm -f core conftest.err conftest.
$ac_objext \
11198 conftest
$ac_exeext conftest.
$ac_ext
11199 LIBS
=$ac_check_lib_save_LIBS
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11202 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11203 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
11204 OPENCL_LIBS
="-lOpenCL"
11209 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
11210 case "x$with_opencl" in
11211 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11213 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11214 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11216 enable_opencl
=${enable_opencl:-no}
11219 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11222 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11223 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
11224 $as_echo_n "(cached) " >&6
11226 ac_check_lib_save_LIBS
=$LIBS
11227 LIBS
="-lpcap $LIBS"
11228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11229 /* end confdefs.h. */
11231 /* Override any GCC internal prototype to avoid an error.
11232 Use char because int might match the return type of a GCC
11233 builtin and then its argument prototype would still apply. */
11237 char pcap_create ();
11241 return pcap_create ();
11246 if ac_fn_c_try_link
"$LINENO"; then :
11247 ac_cv_lib_pcap_pcap_create
=yes
11249 ac_cv_lib_pcap_pcap_create
=no
11251 rm -f core conftest.err conftest.
$ac_objext \
11252 conftest
$ac_exeext conftest.
$ac_ext
11253 LIBS
=$ac_check_lib_save_LIBS
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11256 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11257 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
11263 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
11264 case "x$with_pcap" in
11265 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11267 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
11268 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11270 enable_wpcap
=${enable_wpcap:-no}
11274 if test "x$with_xml" != "xno"
11276 if ${XML2_CFLAGS:+false} :; then :
11277 if ${PKG_CONFIG+:} false
; then :
11278 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11281 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11282 if ${XML2_LIBS:+false} :; then :
11283 if ${PKG_CONFIG+:} false
; then :
11284 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11287 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11288 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
11289 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11290 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11291 ac_save_CPPFLAGS
=$CPPFLAGS
11292 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
11293 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
11295 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11296 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11297 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11298 cat >>confdefs.h
<<_ACEOF
11299 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11306 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"
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11309 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11310 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
11311 $as_echo_n "(cached) " >&6
11313 ac_check_lib_save_LIBS
=$LIBS
11314 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11316 /* end confdefs.h. */
11318 /* Override any GCC internal prototype to avoid an error.
11319 Use char because int might match the return type of a GCC
11320 builtin and then its argument prototype would still apply. */
11324 char xmlParseMemory ();
11328 return xmlParseMemory ();
11333 if ac_fn_c_try_link
"$LINENO"; then :
11334 ac_cv_lib_xml2_xmlParseMemory
=yes
11336 ac_cv_lib_xml2_xmlParseMemory
=no
11338 rm -f core conftest.err conftest.
$ac_objext \
11339 conftest
$ac_exeext conftest.
$ac_ext
11340 LIBS
=$ac_check_lib_save_LIBS
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11343 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11344 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11346 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11353 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11354 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11355 $as_echo_n "(cached) " >&6
11357 ac_check_lib_save_LIBS
=$LIBS
11358 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11360 /* end confdefs.h. */
11362 /* Override any GCC internal prototype to avoid an error.
11363 Use char because int might match the return type of a GCC
11364 builtin and then its argument prototype would still apply. */
11368 char xmlReadMemory ();
11372 return xmlReadMemory ();
11377 if ac_fn_c_try_link
"$LINENO"; then :
11378 ac_cv_lib_xml2_xmlReadMemory
=yes
11380 ac_cv_lib_xml2_xmlReadMemory
=no
11382 rm -f core conftest.err conftest.
$ac_objext \
11383 conftest
$ac_exeext conftest.
$ac_ext
11384 LIBS
=$ac_check_lib_save_LIBS
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11387 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11388 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11390 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11395 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11396 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11397 $as_echo_n "(cached) " >&6
11399 ac_check_lib_save_LIBS
=$LIBS
11400 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11410 char xmlNewDocPI ();
11414 return xmlNewDocPI ();
11419 if ac_fn_c_try_link
"$LINENO"; then :
11420 ac_cv_lib_xml2_xmlNewDocPI
=yes
11422 ac_cv_lib_xml2_xmlNewDocPI
=no
11424 rm -f core conftest.err conftest.
$ac_objext \
11425 conftest
$ac_exeext conftest.
$ac_ext
11426 LIBS
=$ac_check_lib_save_LIBS
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11429 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11430 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11432 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11437 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11438 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11439 $as_echo_n "(cached) " >&6
11441 ac_check_lib_save_LIBS
=$LIBS
11442 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11444 /* end confdefs.h. */
11446 /* Override any GCC internal prototype to avoid an error.
11447 Use char because int might match the return type of a GCC
11448 builtin and then its argument prototype would still apply. */
11452 char xmlSchemaSetParserStructuredErrors ();
11456 return xmlSchemaSetParserStructuredErrors ();
11461 if ac_fn_c_try_link
"$LINENO"; then :
11462 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11464 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11466 rm -f core conftest.err conftest.
$ac_objext \
11467 conftest
$ac_exeext conftest.
$ac_ext
11468 LIBS
=$ac_check_lib_save_LIBS
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11471 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11472 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11474 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11479 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11480 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11481 $as_echo_n "(cached) " >&6
11483 ac_check_lib_save_LIBS
=$LIBS
11484 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11486 /* end confdefs.h. */
11488 /* Override any GCC internal prototype to avoid an error.
11489 Use char because int might match the return type of a GCC
11490 builtin and then its argument prototype would still apply. */
11494 char xmlSchemaSetValidStructuredErrors ();
11498 return xmlSchemaSetValidStructuredErrors ();
11503 if ac_fn_c_try_link
"$LINENO"; then :
11504 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11506 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11508 rm -f core conftest.err conftest.
$ac_objext \
11509 conftest
$ac_exeext conftest.
$ac_ext
11510 LIBS
=$ac_check_lib_save_LIBS
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11513 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11514 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11516 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11521 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11522 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11523 $as_echo_n "(cached) " >&6
11525 ac_check_lib_save_LIBS
=$LIBS
11526 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11528 /* end confdefs.h. */
11530 /* Override any GCC internal prototype to avoid an error.
11531 Use char because int might match the return type of a GCC
11532 builtin and then its argument prototype would still apply. */
11536 char xmlFirstElementChild ();
11540 return xmlFirstElementChild ();
11545 if ac_fn_c_try_link
"$LINENO"; then :
11546 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11548 ac_cv_lib_xml2_xmlFirstElementChild
=no
11550 rm -f core conftest.err conftest.
$ac_objext \
11551 conftest
$ac_exeext conftest.
$ac_ext
11552 LIBS
=$ac_check_lib_save_LIBS
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11555 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11556 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11558 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11562 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11564 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11566 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11574 CPPFLAGS
=$ac_save_CPPFLAGS
11575 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11576 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11579 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11580 case "x$with_xml" in
11581 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11583 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11584 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11589 if test "x$with_xslt" != "xno"
11591 if ${XSLT_CFLAGS:+false} :; then :
11592 if ${PKG_CONFIG+:} false
; then :
11593 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11596 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11597 if ${XSLT_LIBS:+false} :; then :
11598 if ${PKG_CONFIG+:} false
; then :
11599 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11602 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11603 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11604 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11605 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11606 ac_save_CPPFLAGS
=$CPPFLAGS
11607 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11608 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11610 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11611 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11612 # include <libxslt/pattern.h>
11615 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11616 cat >>confdefs.h
<<_ACEOF
11617 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11624 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11627 $as_echo_n "checking for -lxslt... " >&6; }
11628 if ${ac_cv_lib_soname_xslt+:} false
; then :
11629 $as_echo_n "(cached) " >&6
11631 ac_check_soname_save_LIBS
=$LIBS
11632 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11634 /* end confdefs.h. */
11636 /* Override any GCC internal prototype to avoid an error.
11637 Use char because int might match the return type of a GCC
11638 builtin and then its argument prototype would still apply. */
11642 char xsltCompilePattern ();
11646 return xsltCompilePattern ();
11651 if ac_fn_c_try_link
"$LINENO"; then :
11653 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11654 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'` ;;
11655 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11656 if ${ac_cv_lib_soname_xslt:+false} :; then :
11657 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11661 rm -f core conftest.err conftest.
$ac_objext \
11662 conftest
$ac_exeext conftest.
$ac_ext
11663 LIBS
=$ac_check_soname_save_LIBS
11665 if ${ac_cv_lib_soname_xslt:+false} :; then :
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11667 $as_echo "not found" >&6; }
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11671 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11673 cat >>confdefs.h
<<_ACEOF
11674 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11682 CPPFLAGS
=$ac_save_CPPFLAGS
11683 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11684 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11687 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11688 case "x$with_xslt" in
11689 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11691 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11692 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11697 if test "x$with_dbus" != "xno"
11699 if ${DBUS_CFLAGS:+false} :; then :
11700 if ${PKG_CONFIG+:} false
; then :
11701 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11705 if ${DBUS_LIBS:+false} :; then :
11706 if ${PKG_CONFIG+:} false
; then :
11707 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11712 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11713 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11714 ac_save_CPPFLAGS
=$CPPFLAGS
11715 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11716 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11717 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11719 $as_echo_n "checking for -ldbus-1... " >&6; }
11720 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11721 $as_echo_n "(cached) " >&6
11723 ac_check_soname_save_LIBS
=$LIBS
11724 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11726 /* end confdefs.h. */
11728 /* Override any GCC internal prototype to avoid an error.
11729 Use char because int might match the return type of a GCC
11730 builtin and then its argument prototype would still apply. */
11734 char dbus_connection_close ();
11738 return dbus_connection_close ();
11743 if ac_fn_c_try_link
"$LINENO"; then :
11745 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11746 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'` ;;
11747 *) 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'`
11748 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11749 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11753 rm -f core conftest.err conftest.
$ac_objext \
11754 conftest
$ac_exeext conftest.
$ac_ext
11755 LIBS
=$ac_check_soname_save_LIBS
11757 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11759 $as_echo "not found" >&6; }
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11763 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11765 cat >>confdefs.h
<<_ACEOF
11766 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11776 CPPFLAGS
=$ac_save_CPPFLAGS
11777 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11778 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11781 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11782 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11783 case "x$with_dbus" in
11784 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11786 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11787 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11792 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11794 if ${HAL_CFLAGS:+false} :; then :
11795 if ${PKG_CONFIG+:} false
; then :
11796 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11800 if ${HAL_LIBS:+false} :; then :
11801 if ${PKG_CONFIG+:} false
; then :
11802 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11806 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11807 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11808 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11809 ac_save_CPPFLAGS
=$CPPFLAGS
11810 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11811 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11812 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11814 $as_echo_n "checking for -lhal... " >&6; }
11815 if ${ac_cv_lib_soname_hal+:} false
; then :
11816 $as_echo_n "(cached) " >&6
11818 ac_check_soname_save_LIBS
=$LIBS
11819 LIBS
="-lhal $HAL_LIBS $LIBS"
11820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11821 /* end confdefs.h. */
11823 /* Override any GCC internal prototype to avoid an error.
11824 Use char because int might match the return type of a GCC
11825 builtin and then its argument prototype would still apply. */
11829 char libhal_ctx_new ();
11833 return libhal_ctx_new ();
11838 if ac_fn_c_try_link
"$LINENO"; then :
11840 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11841 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'` ;;
11842 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11843 if ${ac_cv_lib_soname_hal:+false} :; then :
11844 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11848 rm -f core conftest.err conftest.
$ac_objext \
11849 conftest
$ac_exeext conftest.
$ac_ext
11850 LIBS
=$ac_check_soname_save_LIBS
11852 if ${ac_cv_lib_soname_hal:+false} :; then :
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11854 $as_echo "not found" >&6; }
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11858 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11860 cat >>confdefs.h
<<_ACEOF
11861 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11871 CPPFLAGS
=$ac_save_CPPFLAGS
11872 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11873 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11875 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11876 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11877 case "x$with_hal" in
11878 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11880 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11881 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11887 if test "x$with_gnutls" != "xno"
11889 if ${GNUTLS_CFLAGS:+false} :; then :
11890 if ${PKG_CONFIG+:} false
; then :
11891 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11895 if ${GNUTLS_LIBS:+false} :; then :
11896 if ${PKG_CONFIG+:} false
; then :
11897 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11902 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11903 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11904 ac_save_CPPFLAGS
=$CPPFLAGS
11905 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11906 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11907 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11910 #include <gnutls/gnutls.h>
11911 #include <gnutls/crypto.h>
11915 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11920 if ac_fn_c_try_compile
"$LINENO"; then :
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11922 $as_echo_n "checking for -lgnutls... " >&6; }
11923 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11924 $as_echo_n "(cached) " >&6
11926 ac_check_soname_save_LIBS
=$LIBS
11927 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11929 /* end confdefs.h. */
11931 /* Override any GCC internal prototype to avoid an error.
11932 Use char because int might match the return type of a GCC
11933 builtin and then its argument prototype would still apply. */
11937 char gnutls_global_init ();
11941 return gnutls_global_init ();
11946 if ac_fn_c_try_link
"$LINENO"; then :
11948 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11949 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'` ;;
11950 *) 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'`
11951 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11952 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'`
11956 rm -f core conftest.err conftest.
$ac_objext \
11957 conftest
$ac_exeext conftest.
$ac_ext
11958 LIBS
=$ac_check_soname_save_LIBS
11960 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11962 $as_echo "not found" >&6; }
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11966 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11968 cat >>confdefs.h
<<_ACEOF
11969 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11974 ac_wine_check_funcs_save_LIBS
="$LIBS"
11975 LIBS
="$LIBS $GNUTLS_LIBS"
11976 for ac_func
in gnutls_hash
11978 ac_fn_c_check_func
"$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11979 if test "x$ac_cv_func_gnutls_hash" = xyes
; then :
11980 cat >>confdefs.h
<<_ACEOF
11981 #define HAVE_GNUTLS_HASH 1
11985 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt hashes won't be supported."
11989 LIBS
="$ac_wine_check_funcs_save_LIBS"
11991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11997 CPPFLAGS
=$ac_save_CPPFLAGS
11998 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11999 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12002 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12003 case "x$with_gnutls" in
12004 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12006 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
12007 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12013 if test "$ac_cv_header_ncurses_h" = "yes"
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12016 $as_echo_n "checking for -lncurses... " >&6; }
12017 if ${ac_cv_lib_soname_ncurses+:} false
; then :
12018 $as_echo_n "(cached) " >&6
12020 ac_check_soname_save_LIBS
=$LIBS
12021 LIBS
="-lncurses $LIBS"
12022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12023 /* end confdefs.h. */
12025 /* Override any GCC internal prototype to avoid an error.
12026 Use char because int might match the return type of a GCC
12027 builtin and then its argument prototype would still apply. */
12040 if ac_fn_c_try_link
"$LINENO"; then :
12042 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12043 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'` ;;
12044 *) 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'`
12045 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12046 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12050 rm -f core conftest.err conftest.
$ac_objext \
12051 conftest
$ac_exeext conftest.
$ac_ext
12052 LIBS
=$ac_check_soname_save_LIBS
12054 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12056 $as_echo "not found" >&6; }
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12060 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12062 cat >>confdefs.h
<<_ACEOF
12063 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12066 CURSES_LIBS
="-lncurses"
12068 elif test "$ac_cv_header_curses_h" = "yes"
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12071 $as_echo_n "checking for -lcurses... " >&6; }
12072 if ${ac_cv_lib_soname_curses+:} false
; then :
12073 $as_echo_n "(cached) " >&6
12075 ac_check_soname_save_LIBS
=$LIBS
12076 LIBS
="-lcurses $LIBS"
12077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12078 /* end confdefs.h. */
12080 /* Override any GCC internal prototype to avoid an error.
12081 Use char because int might match the return type of a GCC
12082 builtin and then its argument prototype would still apply. */
12095 if ac_fn_c_try_link
"$LINENO"; then :
12097 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12098 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'` ;;
12099 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12100 if ${ac_cv_lib_soname_curses:+false} :; then :
12101 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12105 rm -f core conftest.err conftest.
$ac_objext \
12106 conftest
$ac_exeext conftest.
$ac_ext
12107 LIBS
=$ac_check_soname_save_LIBS
12109 if ${ac_cv_lib_soname_curses:+false} :; then :
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12111 $as_echo "not found" >&6; }
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12115 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12117 cat >>confdefs.h
<<_ACEOF
12118 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12121 CURSES_LIBS
="-lcurses"
12124 ac_save_LIBS
="$LIBS"
12125 LIBS
="$LIBS $CURSES_LIBS"
12126 for ac_func
in mousemask
12128 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
12129 if test "x$ac_cv_func_mousemask" = xyes
; then :
12130 cat >>confdefs.h
<<_ACEOF
12131 #define HAVE_MOUSEMASK 1
12137 LIBS
="$ac_save_LIBS"
12138 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12139 case "x$with_curses" in
12140 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12142 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12143 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12148 if test "x$with_sane" != "xno"
12150 if ${SANE_CFLAGS:+false} :; then :
12151 if ${PKG_CONFIG+:} false
; then :
12152 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12155 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12156 if ${SANE_LIBS:+false} :; then :
12157 if ${PKG_CONFIG+:} false
; then :
12158 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
12161 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12163 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12164 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12165 ac_save_CPPFLAGS
=$CPPFLAGS
12166 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
12167 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12168 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12170 $as_echo_n "checking for -lsane... " >&6; }
12171 if ${ac_cv_lib_soname_sane+:} false
; then :
12172 $as_echo_n "(cached) " >&6
12174 ac_check_soname_save_LIBS
=$LIBS
12175 LIBS
="-lsane $SANE_LIBS $LIBS"
12176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12177 /* end confdefs.h. */
12179 /* Override any GCC internal prototype to avoid an error.
12180 Use char because int might match the return type of a GCC
12181 builtin and then its argument prototype would still apply. */
12189 return sane_init ();
12194 if ac_fn_c_try_link
"$LINENO"; then :
12196 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12197 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'` ;;
12198 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12199 if ${ac_cv_lib_soname_sane:+false} :; then :
12200 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12204 rm -f core conftest.err conftest.
$ac_objext \
12205 conftest
$ac_exeext conftest.
$ac_ext
12206 LIBS
=$ac_check_soname_save_LIBS
12208 if ${ac_cv_lib_soname_sane:+false} :; then :
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12210 $as_echo "not found" >&6; }
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12214 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12216 cat >>confdefs.h
<<_ACEOF
12217 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12227 CPPFLAGS
=$ac_save_CPPFLAGS
12228 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12229 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12232 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12233 case "x$with_sane" in
12234 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12236 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
12237 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12242 if test "x$with_v4l" != "xno"
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12245 $as_echo_n "checking for -lv4l1... " >&6; }
12246 if ${ac_cv_lib_soname_v4l1+:} false
; then :
12247 $as_echo_n "(cached) " >&6
12249 ac_check_soname_save_LIBS
=$LIBS
12250 LIBS
="-lv4l1 $LIBS"
12251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12252 /* end confdefs.h. */
12254 /* Override any GCC internal prototype to avoid an error.
12255 Use char because int might match the return type of a GCC
12256 builtin and then its argument prototype would still apply. */
12264 return v4l1_open ();
12269 if ac_fn_c_try_link
"$LINENO"; then :
12271 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12272 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'` ;;
12273 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12274 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12275 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12279 rm -f core conftest.err conftest.
$ac_objext \
12280 conftest
$ac_exeext conftest.
$ac_ext
12281 LIBS
=$ac_check_soname_save_LIBS
12283 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12285 $as_echo "not found" >&6; }
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12289 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12291 cat >>confdefs.h
<<_ACEOF
12292 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12298 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12299 case "x$with_v4l" in
12300 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
12302 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
12303 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12308 if test "x$with_gphoto" != "xno"
12310 if ${GPHOTO2_CFLAGS:+false} :; then :
12311 if ${PKG_CONFIG+:} false
; then :
12312 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12315 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12316 if ${GPHOTO2_LIBS:+false} :; then :
12317 if ${PKG_CONFIG+:} false
; then :
12318 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12321 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12322 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
12323 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12324 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12325 ac_save_CPPFLAGS
=$CPPFLAGS
12326 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
12327 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12328 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12330 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12331 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
12332 $as_echo_n "(cached) " >&6
12334 ac_check_lib_save_LIBS
=$LIBS
12335 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h. */
12339 /* Override any GCC internal prototype to avoid an error.
12340 Use char because int might match the return type of a GCC
12341 builtin and then its argument prototype would still apply. */
12345 char gp_camera_new ();
12349 return gp_camera_new ();
12354 if ac_fn_c_try_link
"$LINENO"; then :
12355 ac_cv_lib_gphoto2_gp_camera_new
=yes
12357 ac_cv_lib_gphoto2_gp_camera_new
=no
12359 rm -f core conftest.err conftest.
$ac_objext \
12360 conftest
$ac_exeext conftest.
$ac_ext
12361 LIBS
=$ac_check_lib_save_LIBS
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12364 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12365 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12367 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12370 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12374 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12378 CPPFLAGS
=$ac_save_CPPFLAGS
12379 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12380 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12382 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12383 if ${PKG_CONFIG+:} false
; then :
12384 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12387 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12388 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12389 if ${PKG_CONFIG+:} false
; then :
12390 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12393 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12394 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12395 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12396 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12397 ac_save_CPPFLAGS
=$CPPFLAGS
12398 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12399 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12400 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12402 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12403 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12404 $as_echo_n "(cached) " >&6
12406 ac_check_lib_save_LIBS
=$LIBS
12407 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12409 /* end confdefs.h. */
12411 /* Override any GCC internal prototype to avoid an error.
12412 Use char because int might match the return type of a GCC
12413 builtin and then its argument prototype would still apply. */
12417 char gp_port_info_list_new ();
12421 return gp_port_info_list_new ();
12426 if ac_fn_c_try_link
"$LINENO"; then :
12427 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12429 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12431 rm -f core conftest.err conftest.
$ac_objext \
12432 conftest
$ac_exeext conftest.
$ac_ext
12433 LIBS
=$ac_check_lib_save_LIBS
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12436 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12437 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12439 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12442 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12446 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12450 CPPFLAGS
=$ac_save_CPPFLAGS
12451 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12452 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12455 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12456 case "x$with_gphoto" in
12457 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12459 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12460 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12464 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12465 case "x$with_gphoto" in
12466 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12468 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12469 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12475 if test "$ac_cv_header_resolv_h" = "yes"
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12478 $as_echo_n "checking for resolver library... " >&6; }
12479 if ${ac_cv_have_resolv+:} false
; then :
12480 $as_echo_n "(cached) " >&6
12482 ac_save_LIBS
="$LIBS"
12483 for lib
in '' -lresolv
12485 LIBS
="$lib $ac_save_LIBS"
12486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12487 /* end confdefs.h. */
12488 #ifdef HAVE_NETINET_IN_H
12489 #include <netinet/in.h>
12491 #include <resolv.h>
12495 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12500 if ac_fn_c_try_link
"$LINENO"; then :
12501 ac_cv_have_resolv
=${lib:-"none required"}
12503 ac_cv_have_resolv
="not found"
12505 rm -f core conftest.err conftest.
$ac_objext \
12506 conftest
$ac_exeext conftest.
$ac_ext
12507 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12509 LIBS
="$ac_save_LIBS"
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12512 $as_echo "$ac_cv_have_resolv" >&6; }
12514 case "$ac_cv_have_resolv" in
12518 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12521 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12523 RESOLV_LIBS
=$ac_cv_have_resolv
12528 if test "x$with_cms" != "xno"
12530 if ${LCMS2_CFLAGS:+false} :; then :
12531 if ${PKG_CONFIG+:} false
; then :
12532 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12536 if ${LCMS2_LIBS:+false} :; then :
12537 if ${PKG_CONFIG+:} false
; then :
12538 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12542 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12543 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12544 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12545 ac_save_CPPFLAGS
=$CPPFLAGS
12546 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12547 for ac_header
in lcms2.h
12549 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12550 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12551 cat >>confdefs.h
<<_ACEOF
12552 #define HAVE_LCMS2_H 1
12559 if test "$ac_cv_header_lcms2_h" = "yes"
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12562 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12563 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12564 $as_echo_n "(cached) " >&6
12566 ac_check_lib_save_LIBS
=$LIBS
12567 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12569 /* end confdefs.h. */
12571 /* Override any GCC internal prototype to avoid an error.
12572 Use char because int might match the return type of a GCC
12573 builtin and then its argument prototype would still apply. */
12577 char cmsOpenProfileFromFile ();
12581 return cmsOpenProfileFromFile ();
12586 if ac_fn_c_try_link
"$LINENO"; then :
12587 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12589 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12591 rm -f core conftest.err conftest.
$ac_objext \
12592 conftest
$ac_exeext conftest.
$ac_ext
12593 LIBS
=$ac_check_lib_save_LIBS
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12596 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12597 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12599 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12609 CPPFLAGS
=$ac_save_CPPFLAGS
12610 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12611 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12614 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12615 case "x$with_cms" in
12616 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12618 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12619 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12624 if test "x$with_freetype" != "xno"
12626 if ${FREETYPE_CFLAGS:+false} :; then :
12627 if ${PKG_CONFIG+:} false
; then :
12628 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12631 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12632 if ${FREETYPE_LIBS:+false} :; then :
12633 if ${PKG_CONFIG+:} false
; then :
12634 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12637 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12638 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12639 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12640 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12641 ac_save_CPPFLAGS
=$CPPFLAGS
12642 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12643 for ac_header
in ft2build.h
12645 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12646 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12647 cat >>confdefs.h
<<_ACEOF
12648 #define HAVE_FT2BUILD_H 1
12655 if test "$ac_cv_header_ft2build_h" = "yes"
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12658 $as_echo_n "checking for -lfreetype... " >&6; }
12659 if ${ac_cv_lib_soname_freetype+:} false
; then :
12660 $as_echo_n "(cached) " >&6
12662 ac_check_soname_save_LIBS
=$LIBS
12663 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12665 /* end confdefs.h. */
12667 /* Override any GCC internal prototype to avoid an error.
12668 Use char because int might match the return type of a GCC
12669 builtin and then its argument prototype would still apply. */
12673 char FT_Init_FreeType ();
12677 return FT_Init_FreeType ();
12682 if ac_fn_c_try_link
"$LINENO"; then :
12684 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12685 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'` ;;
12686 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12687 if ${ac_cv_lib_soname_freetype:+false} :; then :
12688 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12692 rm -f core conftest.err conftest.
$ac_objext \
12693 conftest
$ac_exeext conftest.
$ac_ext
12694 LIBS
=$ac_check_soname_save_LIBS
12696 if ${ac_cv_lib_soname_freetype:+false} :; then :
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12698 $as_echo "not found" >&6; }
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12702 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12704 cat >>confdefs.h
<<_ACEOF
12705 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12709 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12711 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12712 #include FT_MODULE_H
12714 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12716 cat >>confdefs.h
<<_ACEOF
12717 #define HAVE_FT_TRUETYPEENGINETYPE 1
12728 CPPFLAGS
=$ac_save_CPPFLAGS
12729 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12730 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12733 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12734 case "x$with_freetype" in
12736 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12737 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12739 enable_fonts
=${enable_fonts:-no}
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12743 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12744 if ${ac_cv_c_ppdev+:} false
; then :
12745 $as_echo_n "(cached) " >&6
12747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12748 /* end confdefs.h. */
12749 #ifdef HAVE_SYS_IOCTL_H
12750 # include <sys/ioctl.h>
12752 #include <linux/ppdev.h>
12756 ioctl (1,PPCLAIM,0)
12761 if ac_fn_c_try_compile
"$LINENO"; then :
12762 ac_cv_c_ppdev
="yes"
12766 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12769 $as_echo "$ac_cv_c_ppdev" >&6; }
12770 if test "$ac_cv_c_ppdev" = "yes"
12773 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12777 ac_wine_check_funcs_save_LIBS
="$LIBS"
12778 LIBS
="$LIBS $PTHREAD_LIBS"
12780 pthread_attr_get_np \
12781 pthread_getattr_np \
12782 pthread_getthreadid_np \
12783 pthread_get_stackaddr_np \
12784 pthread_get_stacksize_np
12786 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12787 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12788 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12789 cat >>confdefs.h
<<_ACEOF
12790 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12796 LIBS
="$ac_wine_check_funcs_save_LIBS"
12798 if test "$ac_cv_header_zlib_h" = "yes"
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12801 $as_echo_n "checking for inflate in -lz... " >&6; }
12802 if ${ac_cv_lib_z_inflate+:} false
; then :
12803 $as_echo_n "(cached) " >&6
12805 ac_check_lib_save_LIBS
=$LIBS
12807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12808 /* end confdefs.h. */
12810 /* Override any GCC internal prototype to avoid an error.
12811 Use char because int might match the return type of a GCC
12812 builtin and then its argument prototype would still apply. */
12825 if ac_fn_c_try_link
"$LINENO"; then :
12826 ac_cv_lib_z_inflate
=yes
12828 ac_cv_lib_z_inflate
=no
12830 rm -f core conftest.err conftest.
$ac_objext \
12831 conftest
$ac_exeext conftest.
$ac_ext
12832 LIBS
=$ac_check_lib_save_LIBS
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12835 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12836 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12838 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12845 if test "x$Z_LIBS" = "x"; then :
12846 case "x$with_zlib" in
12847 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12849 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12850 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12855 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
12857 if test "$ac_cv_header_gettext_po_h" = "yes"
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12860 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12861 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12862 $as_echo_n "(cached) " >&6
12864 ac_check_lib_save_LIBS
=$LIBS
12865 LIBS
="-lgettextpo $LIBS"
12866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12869 /* Override any GCC internal prototype to avoid an error.
12870 Use char because int might match the return type of a GCC
12871 builtin and then its argument prototype would still apply. */
12875 char po_message_msgctxt ();
12879 return po_message_msgctxt ();
12884 if ac_fn_c_try_link
"$LINENO"; then :
12885 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12887 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12889 rm -f core conftest.err conftest.
$ac_objext \
12890 conftest
$ac_exeext conftest.
$ac_ext
12891 LIBS
=$ac_check_lib_save_LIBS
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12894 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12895 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12897 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12899 GETTEXTPO_LIBS
="-lgettextpo"
12904 if test "x$GETTEXTPO_LIBS" = "x"; then :
12905 case "x$with_gettextpo" in
12906 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12908 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12909 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12913 if test "$srcdir" != .
; then :
12914 case "x$with_gettextpo" in
12915 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
12917 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
12918 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12924 if test "x$with_pulse" != "xno";
12926 if ${PULSE_CFLAGS:+false} :; then :
12927 if ${PKG_CONFIG+:} false
; then :
12928 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12932 if ${PULSE_LIBS:+false} :; then :
12933 if ${PKG_CONFIG+:} false
; then :
12934 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12939 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12940 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12941 ac_save_CPPFLAGS
=$CPPFLAGS
12942 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12943 for ac_header
in pulse
/pulseaudio.h
12945 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12946 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12947 cat >>confdefs.h
<<_ACEOF
12948 #define HAVE_PULSE_PULSEAUDIO_H 1
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12951 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12952 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12953 $as_echo_n "(cached) " >&6
12955 ac_check_lib_save_LIBS
=$LIBS
12956 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12958 /* end confdefs.h. */
12960 /* Override any GCC internal prototype to avoid an error.
12961 Use char because int might match the return type of a GCC
12962 builtin and then its argument prototype would still apply. */
12966 char pa_stream_is_corked ();
12970 return pa_stream_is_corked ();
12975 if ac_fn_c_try_link
"$LINENO"; then :
12976 ac_cv_lib_pulse_pa_stream_is_corked
=yes
12978 ac_cv_lib_pulse_pa_stream_is_corked
=no
12980 rm -f core conftest.err conftest.
$ac_objext \
12981 conftest
$ac_exeext conftest.
$ac_ext
12982 LIBS
=$ac_check_lib_save_LIBS
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12985 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12986 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
12998 CPPFLAGS
=$ac_save_CPPFLAGS
12999 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13000 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13003 if test -z "$PULSE_LIBS"; then :
13004 case "x$with_pulse" in
13005 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13007 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13008 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13010 enable_winepulse_drv
=${enable_winepulse_drv:-no}
13013 if test "x$with_gstreamer" != "xno"
13015 if ${GSTREAMER_CFLAGS:+false} :; then :
13016 if ${PKG_CONFIG+:} false
; then :
13017 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13021 if ${GSTREAMER_LIBS:+false} :; then :
13022 if ${PKG_CONFIG+:} false
; then :
13023 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13028 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13029 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13030 ac_save_CPPFLAGS
=$CPPFLAGS
13031 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
13033 for i
in $GSTREAMER_CFLAGS
13036 -I*) ac_gst_incl
="$ac_gst_incl $i";;
13039 GSTREAMER_CFLAGS
=$ac_gst_incl
13040 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13041 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13042 if test "x$ac_cv_header_gst_gst_h" = xyes
; then :
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13044 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13046 /* end confdefs.h. */
13047 #include <gst/gst.h>
13051 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13056 if ac_fn_c_try_compile
"$LINENO"; then :
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13058 $as_echo "yes" >&6; }
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13060 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13061 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false
; then :
13062 $as_echo_n "(cached) " >&6
13064 ac_check_lib_save_LIBS
=$LIBS
13065 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13067 /* end confdefs.h. */
13069 /* Override any GCC internal prototype to avoid an error.
13070 Use char because int might match the return type of a GCC
13071 builtin and then its argument prototype would still apply. */
13075 char gst_pad_new ();
13079 return gst_pad_new ();
13084 if ac_fn_c_try_link
"$LINENO"; then :
13085 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
13087 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
13089 rm -f core conftest.err conftest.
$ac_objext \
13090 conftest
$ac_exeext conftest.
$ac_ext
13091 LIBS
=$ac_check_lib_save_LIBS
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13094 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13095 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
; then :
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13101 $as_echo "no" >&6; }
13102 ac_glib2_broken
=yes
13103 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13109 CPPFLAGS
=$ac_save_CPPFLAGS
13110 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13111 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13114 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 :
13115 case "x$with_gstreamer" in
13116 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13118 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13119 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13123 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
13127 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13130 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13131 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
13132 $as_echo_n "(cached) " >&6
13134 ac_check_lib_save_LIBS
=$LIBS
13135 LIBS
="-lasound $LIBS"
13136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13137 /* end confdefs.h. */
13139 /* Override any GCC internal prototype to avoid an error.
13140 Use char because int might match the return type of a GCC
13141 builtin and then its argument prototype would still apply. */
13145 char snd_pcm_hw_params_get_access_mask ();
13149 return snd_pcm_hw_params_get_access_mask ();
13154 if ac_fn_c_try_link
"$LINENO"; then :
13155 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
13157 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
13159 rm -f core conftest.err conftest.
$ac_objext \
13160 conftest
$ac_exeext conftest.
$ac_ext
13161 LIBS
=$ac_check_lib_save_LIBS
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13164 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13165 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
13166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13167 /* end confdefs.h. */
13168 #ifdef HAVE_ALSA_ASOUNDLIB_H
13169 #include <alsa/asoundlib.h>
13170 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13171 #include <sys/asoundlib.h>
13176 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13181 if ac_fn_c_try_compile
"$LINENO"; then :
13182 ALSA_LIBS
="-lasound"
13184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13188 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13190 if test "x$with_oss" != xno
13192 ac_save_CPPFLAGS
="$CPPFLAGS"
13193 if test -f /etc
/oss.conf
13197 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13198 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
13199 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13200 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
13201 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13203 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
13205 cat >>confdefs.h
<<_ACEOF
13206 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13209 OSS4_CFLAGS
="$ac_oss_incl"
13216 CPPFLAGS
="$ac_save_CPPFLAGS"
13218 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
; then :
13219 case "x$with_oss" in
13220 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13222 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13223 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13225 enable_wineoss_drv
=${enable_wineoss_drv:-no}
13228 if test "x$with_udev" != "xno"
13230 if ${UDEV_CFLAGS:+false} :; then :
13231 if ${PKG_CONFIG+:} false
; then :
13232 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13236 if ${UDEV_LIBS:+false} :; then :
13237 if ${PKG_CONFIG+:} false
; then :
13238 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
13242 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
13243 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13244 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13245 ac_save_CPPFLAGS
=$CPPFLAGS
13246 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
13247 for ac_header
in libudev.h
13249 ac_fn_c_check_header_mongrel
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13250 if test "x$ac_cv_header_libudev_h" = xyes
; then :
13251 cat >>confdefs.h
<<_ACEOF
13252 #define HAVE_LIBUDEV_H 1
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13255 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13256 if ${ac_cv_lib_udev_udev_new+:} false
; then :
13257 $as_echo_n "(cached) " >&6
13259 ac_check_lib_save_LIBS
=$LIBS
13260 LIBS
="-ludev $UDEV_LIBS $LIBS"
13261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13262 /* end confdefs.h. */
13264 /* Override any GCC internal prototype to avoid an error.
13265 Use char because int might match the return type of a GCC
13266 builtin and then its argument prototype would still apply. */
13274 return udev_new ();
13279 if ac_fn_c_try_link
"$LINENO"; then :
13280 ac_cv_lib_udev_udev_new
=yes
13282 ac_cv_lib_udev_udev_new
=no
13284 rm -f core conftest.err conftest.
$ac_objext \
13285 conftest
$ac_exeext conftest.
$ac_ext
13286 LIBS
=$ac_check_lib_save_LIBS
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13289 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13290 if test "x$ac_cv_lib_udev_udev_new" = xyes
; then :
13292 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13304 CPPFLAGS
=$ac_save_CPPFLAGS
13305 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS
=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13306 test -z "$UDEV_LIBS" || UDEV_LIBS
=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13309 if test "x$UDEV_LIBS" = "x"; then :
13310 case "x$with_udev" in
13311 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13313 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
13314 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13319 if test "x$with_capi" != "xno"
13321 if ${CAPI20_CFLAGS:+false} :; then :
13322 if ${PKG_CONFIG+:} false
; then :
13323 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13327 if ${CAPI20_LIBS:+false} :; then :
13328 if ${PKG_CONFIG+:} false
; then :
13329 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
13334 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13335 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13336 ac_save_CPPFLAGS
=$CPPFLAGS
13337 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
13338 for ac_header
in capi20.h linux
/capi.h
13340 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13341 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13343 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13344 cat >>confdefs.h
<<_ACEOF
13345 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13352 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13355 $as_echo_n "checking for -lcapi20... " >&6; }
13356 if ${ac_cv_lib_soname_capi20+:} false
; then :
13357 $as_echo_n "(cached) " >&6
13359 ac_check_soname_save_LIBS
=$LIBS
13360 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
13361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13362 /* end confdefs.h. */
13364 /* Override any GCC internal prototype to avoid an error.
13365 Use char because int might match the return type of a GCC
13366 builtin and then its argument prototype would still apply. */
13370 char capi20_register ();
13374 return capi20_register ();
13379 if ac_fn_c_try_link
"$LINENO"; then :
13381 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13382 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'` ;;
13383 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13384 if ${ac_cv_lib_soname_capi20:+false} :; then :
13385 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13389 rm -f core conftest.err conftest.
$ac_objext \
13390 conftest
$ac_exeext conftest.
$ac_ext
13391 LIBS
=$ac_check_soname_save_LIBS
13393 if ${ac_cv_lib_soname_capi20:+false} :; then :
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13395 $as_echo "not found" >&6; }
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13399 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13401 cat >>confdefs.h
<<_ACEOF
13402 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13408 CPPFLAGS
=$ac_save_CPPFLAGS
13409 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13410 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13413 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13414 case "x$with_capi" in
13415 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13417 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13418 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13425 if test "x$with_cups" != "xno"
13427 ac_save_CPPFLAGS
="$CPPFLAGS"
13428 ac_cups_cflags
=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13429 ac_cups_libs
=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13430 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
13431 for ac_header
in cups
/cups.h
13433 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13434 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
13435 cat >>confdefs.h
<<_ACEOF
13436 #define HAVE_CUPS_CUPS_H 1
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13439 $as_echo_n "checking for -lcups... " >&6; }
13440 if ${ac_cv_lib_soname_cups+:} false
; then :
13441 $as_echo_n "(cached) " >&6
13443 ac_check_soname_save_LIBS
=$LIBS
13444 LIBS
="-lcups $ac_cups_libs $LIBS"
13445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13446 /* end confdefs.h. */
13448 /* Override any GCC internal prototype to avoid an error.
13449 Use char because int might match the return type of a GCC
13450 builtin and then its argument prototype would still apply. */
13454 char cupsGetDefault ();
13458 return cupsGetDefault ();
13463 if ac_fn_c_try_link
"$LINENO"; then :
13465 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13466 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'` ;;
13467 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13468 if ${ac_cv_lib_soname_cups:+false} :; then :
13469 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13473 rm -f core conftest.err conftest.
$ac_objext \
13474 conftest
$ac_exeext conftest.
$ac_ext
13475 LIBS
=$ac_check_soname_save_LIBS
13477 if ${ac_cv_lib_soname_cups:+false} :; then :
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13479 $as_echo "not found" >&6; }
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13483 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13485 cat >>confdefs.h
<<_ACEOF
13486 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13489 CUPS_CFLAGS
="$ac_cups_cflags"
13491 for ac_header
in cups
/ppd.h
13493 ac_fn_c_check_header_mongrel
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13494 if test "x$ac_cv_header_cups_ppd_h" = xyes
; then :
13495 cat >>confdefs.h
<<_ACEOF
13496 #define HAVE_CUPS_PPD_H 1
13507 CPPFLAGS
="$ac_save_CPPFLAGS"
13509 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13510 case "x$with_cups" in
13511 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13513 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13514 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13519 if test "x$with_fontconfig" != "xno"
13521 if ${FONTCONFIG_CFLAGS:+false} :; then :
13522 if ${PKG_CONFIG+:} false
; then :
13523 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13526 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13527 if ${FONTCONFIG_LIBS:+false} :; then :
13528 if ${PKG_CONFIG+:} false
; then :
13529 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13532 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13534 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13535 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13536 ac_save_CPPFLAGS
=$CPPFLAGS
13537 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13538 for ac_header
in fontconfig
/fontconfig.h
13540 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13541 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13542 cat >>confdefs.h
<<_ACEOF
13543 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13550 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13553 $as_echo_n "checking for -lfontconfig... " >&6; }
13554 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13555 $as_echo_n "(cached) " >&6
13557 ac_check_soname_save_LIBS
=$LIBS
13558 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13560 /* end confdefs.h. */
13562 /* Override any GCC internal prototype to avoid an error.
13563 Use char because int might match the return type of a GCC
13564 builtin and then its argument prototype would still apply. */
13577 if ac_fn_c_try_link
"$LINENO"; then :
13579 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13580 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'` ;;
13581 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13582 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13583 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13587 rm -f core conftest.err conftest.
$ac_objext \
13588 conftest
$ac_exeext conftest.
$ac_ext
13589 LIBS
=$ac_check_soname_save_LIBS
13591 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13593 $as_echo "not found" >&6; }
13594 FONTCONFIG_CFLAGS
=""
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13597 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13599 cat >>confdefs.h
<<_ACEOF
13600 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13606 FONTCONFIG_CFLAGS
=""
13608 CPPFLAGS
=$ac_save_CPPFLAGS
13609 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13610 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13613 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13614 case "x$with_fontconfig" in
13615 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13617 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13618 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13623 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13626 $as_echo_n "checking for -lgsm... " >&6; }
13627 if ${ac_cv_lib_soname_gsm+:} false
; then :
13628 $as_echo_n "(cached) " >&6
13630 ac_check_soname_save_LIBS
=$LIBS
13632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13633 /* end confdefs.h. */
13635 /* Override any GCC internal prototype to avoid an error.
13636 Use char because int might match the return type of a GCC
13637 builtin and then its argument prototype would still apply. */
13641 char gsm_create ();
13645 return gsm_create ();
13650 if ac_fn_c_try_link
"$LINENO"; then :
13652 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13653 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'` ;;
13654 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13655 if ${ac_cv_lib_soname_gsm:+false} :; then :
13656 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13660 rm -f core conftest.err conftest.
$ac_objext \
13661 conftest
$ac_exeext conftest.
$ac_ext
13662 LIBS
=$ac_check_soname_save_LIBS
13664 if ${ac_cv_lib_soname_gsm:+false} :; then :
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13666 $as_echo "not found" >&6; }
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13670 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13672 cat >>confdefs.h
<<_ACEOF
13673 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13679 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13680 case "x$with_gsm" in
13681 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13683 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13684 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13689 if test "x$with_jpeg" != "xno"
13691 if ${JPEG_CFLAGS:+false} :; then :
13692 if ${PKG_CONFIG+:} false
; then :
13693 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13697 if ${JPEG_LIBS:+false} :; then :
13698 if ${PKG_CONFIG+:} false
; then :
13699 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13704 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13705 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13706 ac_save_CPPFLAGS
=$CPPFLAGS
13707 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13708 for ac_header
in jpeglib.h
13710 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13711 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13712 cat >>confdefs.h
<<_ACEOF
13713 #define HAVE_JPEGLIB_H 1
13720 if test "$ac_cv_header_jpeglib_h" = "yes"
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13723 $as_echo_n "checking for -ljpeg... " >&6; }
13724 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13725 $as_echo_n "(cached) " >&6
13727 ac_check_soname_save_LIBS
=$LIBS
13728 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13730 /* end confdefs.h. */
13732 /* Override any GCC internal prototype to avoid an error.
13733 Use char because int might match the return type of a GCC
13734 builtin and then its argument prototype would still apply. */
13738 char jpeg_start_decompress ();
13742 return jpeg_start_decompress ();
13747 if ac_fn_c_try_link
"$LINENO"; then :
13749 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13750 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'` ;;
13751 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13752 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13753 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13757 rm -f core conftest.err conftest.
$ac_objext \
13758 conftest
$ac_exeext conftest.
$ac_ext
13759 LIBS
=$ac_check_soname_save_LIBS
13761 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13763 $as_echo "not found" >&6; }
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13767 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13769 cat >>confdefs.h
<<_ACEOF
13770 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13778 CPPFLAGS
=$ac_save_CPPFLAGS
13779 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13780 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13783 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13784 case "x$with_jpeg" in
13785 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13787 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13788 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13793 if test "x$with_png" != "xno"
13795 if ${PNG_CFLAGS:+false} :; then :
13796 if ${PKG_CONFIG+:} false
; then :
13797 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13800 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13801 if ${PNG_LIBS:+false} :; then :
13802 if ${PKG_CONFIG+:} false
; then :
13803 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13806 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13808 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13809 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13810 ac_save_CPPFLAGS
=$CPPFLAGS
13811 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13812 for ac_header
in png.h
13814 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13815 if test "x$ac_cv_header_png_h" = xyes
; then :
13816 cat >>confdefs.h
<<_ACEOF
13817 #define HAVE_PNG_H 1
13824 if test "$ac_cv_header_png_h" = "yes"
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13827 $as_echo_n "checking for -lpng... " >&6; }
13828 if ${ac_cv_lib_soname_png+:} false
; then :
13829 $as_echo_n "(cached) " >&6
13831 ac_check_soname_save_LIBS
=$LIBS
13832 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13834 /* end confdefs.h. */
13836 /* Override any GCC internal prototype to avoid an error.
13837 Use char because int might match the return type of a GCC
13838 builtin and then its argument prototype would still apply. */
13842 char png_create_read_struct ();
13846 return png_create_read_struct ();
13851 if ac_fn_c_try_link
"$LINENO"; then :
13853 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13854 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'` ;;
13855 *) 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'`
13856 if ${ac_cv_lib_soname_png:+false} :; then :
13857 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13861 rm -f core conftest.err conftest.
$ac_objext \
13862 conftest
$ac_exeext conftest.
$ac_ext
13863 LIBS
=$ac_check_soname_save_LIBS
13865 if ${ac_cv_lib_soname_png:+false} :; then :
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13867 $as_echo "not found" >&6; }
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13871 $as_echo "$ac_cv_lib_soname_png" >&6; }
13873 cat >>confdefs.h
<<_ACEOF
13874 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13878 /* end confdefs.h. */
13883 typeof(png_set_expand_gray_1_2_4_to_8) *p
13888 if ac_fn_c_try_compile
"$LINENO"; then :
13890 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13898 CPPFLAGS
=$ac_save_CPPFLAGS
13899 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13900 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13903 if test "x$ac_cv_lib_soname_png" = "x"; then :
13904 case "x$with_png" in
13905 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13907 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13908 This is an error since --with-png was requested." "$LINENO" 5 ;;
13913 if test "x$with_tiff" != "xno"
13915 if ${TIFF_CFLAGS:+false} :; then :
13916 if ${PKG_CONFIG+:} false
; then :
13917 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13921 if ${TIFF_LIBS:+false} :; then :
13922 if ${PKG_CONFIG+:} false
; then :
13923 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13928 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13929 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13930 ac_save_CPPFLAGS
=$CPPFLAGS
13931 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13932 for ac_header
in tiffio.h
13934 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13935 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13936 cat >>confdefs.h
<<_ACEOF
13937 #define HAVE_TIFFIO_H 1
13944 if test "$ac_cv_header_tiffio_h" = "yes"
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13947 $as_echo_n "checking for -ltiff... " >&6; }
13948 if ${ac_cv_lib_soname_tiff+:} false
; then :
13949 $as_echo_n "(cached) " >&6
13951 ac_check_soname_save_LIBS
=$LIBS
13952 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13954 /* end confdefs.h. */
13956 /* Override any GCC internal prototype to avoid an error.
13957 Use char because int might match the return type of a GCC
13958 builtin and then its argument prototype would still apply. */
13962 char TIFFClientOpen ();
13966 return TIFFClientOpen ();
13971 if ac_fn_c_try_link
"$LINENO"; then :
13973 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13974 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'` ;;
13975 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13976 if ${ac_cv_lib_soname_tiff:+false} :; then :
13977 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13981 rm -f core conftest.err conftest.
$ac_objext \
13982 conftest
$ac_exeext conftest.
$ac_ext
13983 LIBS
=$ac_check_soname_save_LIBS
13985 if ${ac_cv_lib_soname_tiff:+false} :; then :
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13987 $as_echo "not found" >&6; }
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13991 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13993 cat >>confdefs.h
<<_ACEOF
13994 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14000 CPPFLAGS
=$ac_save_CPPFLAGS
14001 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14002 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14005 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14006 case "x$with_tiff" in
14007 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14009 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
14010 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14015 if test "x$with_mpg123" != "xno"
14017 if ${MPG123_CFLAGS:+false} :; then :
14018 if ${PKG_CONFIG+:} false
; then :
14019 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14023 if ${MPG123_LIBS:+false} :; then :
14024 if ${PKG_CONFIG+:} false
; then :
14025 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14029 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
14030 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14031 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14032 ac_save_CPPFLAGS
=$CPPFLAGS
14033 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
14034 for ac_header
in mpg123.h
14036 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14037 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
14038 cat >>confdefs.h
<<_ACEOF
14039 #define HAVE_MPG123_H 1
14046 if test "$ac_cv_header_mpg123_h" = "yes"
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14049 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14050 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
14051 $as_echo_n "(cached) " >&6
14053 ac_check_lib_save_LIBS
=$LIBS
14054 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
14055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14056 /* end confdefs.h. */
14058 /* Override any GCC internal prototype to avoid an error.
14059 Use char because int might match the return type of a GCC
14060 builtin and then its argument prototype would still apply. */
14064 char mpg123_feed ();
14068 return mpg123_feed ();
14073 if ac_fn_c_try_link
"$LINENO"; then :
14074 ac_cv_lib_mpg123_mpg123_feed
=yes
14076 ac_cv_lib_mpg123_mpg123_feed
=no
14078 rm -f core conftest.err conftest.
$ac_objext \
14079 conftest
$ac_exeext conftest.
$ac_ext
14080 LIBS
=$ac_check_lib_save_LIBS
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14083 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14084 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
14094 CPPFLAGS
=$ac_save_CPPFLAGS
14095 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14096 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14099 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
14100 case "x$with_mpg123" in
14101 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14103 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14104 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14106 enable_winemp3_acm
=${enable_winemp3_acm:-no}
14109 if test "$ac_cv_header_AL_al_h" = "yes"
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14112 $as_echo_n "checking for -lopenal... " >&6; }
14113 if ${ac_cv_lib_soname_openal+:} false
; then :
14114 $as_echo_n "(cached) " >&6
14116 ac_check_soname_save_LIBS
=$LIBS
14117 LIBS
="-lopenal $LIBS"
14118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14119 /* end confdefs.h. */
14121 /* Override any GCC internal prototype to avoid an error.
14122 Use char because int might match the return type of a GCC
14123 builtin and then its argument prototype would still apply. */
14127 char alGetSource3i ();
14131 return alGetSource3i ();
14136 if ac_fn_c_try_link
"$LINENO"; then :
14138 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14139 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'` ;;
14140 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14141 if ${ac_cv_lib_soname_openal:+false} :; then :
14142 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14146 rm -f core conftest.err conftest.
$ac_objext \
14147 conftest
$ac_exeext conftest.
$ac_ext
14148 LIBS
=$ac_check_soname_save_LIBS
14150 if ${ac_cv_lib_soname_openal:+false} :; then :
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14152 $as_echo "not found" >&6; }
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14156 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14158 cat >>confdefs.h
<<_ACEOF
14159 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14162 OPENAL_LIBS
="-lopenal"
14164 ac_cv_lib_openal
=yes
14166 cat >>confdefs.h
<<_ACEOF
14167 #define HAVE_OPENAL 1
14172 if test "x$ac_cv_lib_openal" != xyes
; then :
14173 case "x$with_openal" in
14174 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14176 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14177 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14179 enable_openal32
=${enable_openal32:-no}
14182 if test "x$ac_cv_lib_openal" = xyes
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14185 $as_echo_n "checking for openal-soft... " >&6; }
14186 if ${ac_cv_have_openalsoft+:} false
; then :
14187 $as_echo_n "(cached) " >&6
14189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14190 /* end confdefs.h. */
14192 #include <AL/alc.h>
14193 #include <AL/alext.h>
14194 LPALCRENDERSAMPLESSOFT x;
14203 if ac_fn_c_try_compile
"$LINENO"; then :
14204 ac_cv_have_openalsoft
=yes
14206 ac_cv_have_openalsoft
=no
14208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14211 $as_echo "$ac_cv_have_openalsoft" >&6; }
14213 if test "x$ac_cv_have_openalsoft" != xyes
14215 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14216 enable_x3daudio1_0
=${enable_x3daudio1_0:-no}
14217 enable_x3daudio1_1
=${enable_x3daudio1_1:-no}
14218 enable_x3daudio1_2
=${enable_x3daudio1_2:-no}
14219 enable_x3daudio1_3
=${enable_x3daudio1_3:-no}
14220 enable_x3daudio1_4
=${enable_x3daudio1_4:-no}
14221 enable_x3daudio1_5
=${enable_x3daudio1_5:-no}
14222 enable_x3daudio1_6
=${enable_x3daudio1_6:-no}
14223 enable_x3daudio1_7
=${enable_x3daudio1_7:-no}
14224 enable_xapofx1_1
=${enable_xapofx1_1:-no}
14225 enable_xapofx1_2
=${enable_xapofx1_2:-no}
14226 enable_xapofx1_3
=${enable_xapofx1_3:-no}
14227 enable_xapofx1_4
=${enable_xapofx1_4:-no}
14228 enable_xapofx1_5
=${enable_xapofx1_5:-no}
14229 enable_xaudio2_0
=${enable_xaudio2_0:-no}
14230 enable_xaudio2_1
=${enable_xaudio2_1:-no}
14231 enable_xaudio2_2
=${enable_xaudio2_2:-no}
14232 enable_xaudio2_3
=${enable_xaudio2_3:-no}
14233 enable_xaudio2_4
=${enable_xaudio2_4:-no}
14234 enable_xaudio2_5
=${enable_xaudio2_5:-no}
14235 enable_xaudio2_6
=${enable_xaudio2_6:-no}
14236 enable_xaudio2_7
=${enable_xaudio2_7:-no}
14237 enable_xaudio2_8
=${enable_xaudio2_8:-no}
14238 enable_xaudio2_9
=${enable_xaudio2_9:-no}
14241 if test "$ac_cv_header_kstat_h" = "yes"
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14244 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14245 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
14246 $as_echo_n "(cached) " >&6
14248 ac_check_lib_save_LIBS
=$LIBS
14249 LIBS
="-lkstat $LIBS"
14250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14251 /* end confdefs.h. */
14253 /* Override any GCC internal prototype to avoid an error.
14254 Use char because int might match the return type of a GCC
14255 builtin and then its argument prototype would still apply. */
14259 char kstat_open ();
14263 return kstat_open ();
14268 if ac_fn_c_try_link
"$LINENO"; then :
14269 ac_cv_lib_kstat_kstat_open
=yes
14271 ac_cv_lib_kstat_kstat_open
=no
14273 rm -f core conftest.err conftest.
$ac_objext \
14274 conftest
$ac_exeext conftest.
$ac_ext
14275 LIBS
=$ac_check_lib_save_LIBS
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14278 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14279 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
14281 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14283 KSTAT_LIBS
="-lkstat"
14289 if test "$ac_cv_header_libprocstat_h" = "yes"
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14292 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14293 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
14294 $as_echo_n "(cached) " >&6
14296 ac_check_lib_save_LIBS
=$LIBS
14297 LIBS
="-lprocstat $LIBS"
14298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14299 /* end confdefs.h. */
14301 /* Override any GCC internal prototype to avoid an error.
14302 Use char because int might match the return type of a GCC
14303 builtin and then its argument prototype would still apply. */
14307 char procstat_open_sysctl ();
14311 return procstat_open_sysctl ();
14316 if ac_fn_c_try_link
"$LINENO"; then :
14317 ac_cv_lib_procstat_procstat_open_sysctl
=yes
14319 ac_cv_lib_procstat_procstat_open_sysctl
=no
14321 rm -f core conftest.err conftest.
$ac_objext \
14322 conftest
$ac_exeext conftest.
$ac_ext
14323 LIBS
=$ac_check_lib_save_LIBS
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14326 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14327 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
14329 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14331 PROCSTAT_LIBS
="-lprocstat"
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14338 $as_echo_n "checking for -lodbc... " >&6; }
14339 if ${ac_cv_lib_soname_odbc+:} false
; then :
14340 $as_echo_n "(cached) " >&6
14342 ac_check_soname_save_LIBS
=$LIBS
14343 LIBS
="-lodbc $LIBS"
14344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14345 /* end confdefs.h. */
14347 /* Override any GCC internal prototype to avoid an error.
14348 Use char because int might match the return type of a GCC
14349 builtin and then its argument prototype would still apply. */
14353 char SQLConnect ();
14357 return SQLConnect ();
14362 if ac_fn_c_try_link
"$LINENO"; then :
14364 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14365 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'` ;;
14366 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14367 if ${ac_cv_lib_soname_odbc:+false} :; then :
14368 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14372 rm -f core conftest.err conftest.
$ac_objext \
14373 conftest
$ac_exeext conftest.
$ac_ext
14374 LIBS
=$ac_check_soname_save_LIBS
14376 if ${ac_cv_lib_soname_odbc:+false} :; then :
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14378 $as_echo "not found" >&6; }
14379 cat >>confdefs.h
<<_ACEOF
14380 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14385 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14387 cat >>confdefs.h
<<_ACEOF
14388 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14394 if test "x$with_netapi" != "xno"
14396 if ${NETAPI_CFLAGS:+false} :; then :
14397 if ${PKG_CONFIG+:} false
; then :
14398 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14402 if ${NETAPI_LIBS:+false} :; then :
14403 if ${PKG_CONFIG+:} false
; then :
14404 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
14409 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14410 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14411 ac_save_CPPFLAGS
=$CPPFLAGS
14412 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14414 $as_echo_n "checking for -lnetapi... " >&6; }
14415 if ${ac_cv_lib_soname_netapi+:} false
; then :
14416 $as_echo_n "(cached) " >&6
14418 ac_check_soname_save_LIBS
=$LIBS
14419 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
14420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14421 /* end confdefs.h. */
14423 /* Override any GCC internal prototype to avoid an error.
14424 Use char because int might match the return type of a GCC
14425 builtin and then its argument prototype would still apply. */
14429 char libnetapi_init ();
14433 return libnetapi_init ();
14438 if ac_fn_c_try_link
"$LINENO"; then :
14440 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14441 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'` ;;
14442 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14443 if ${ac_cv_lib_soname_netapi:+false} :; then :
14444 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14448 rm -f core conftest.err conftest.
$ac_objext \
14449 conftest
$ac_exeext conftest.
$ac_ext
14450 LIBS
=$ac_check_soname_save_LIBS
14452 if ${ac_cv_lib_soname_netapi:+false} :; then :
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14454 $as_echo "not found" >&6; }
14455 cat >>confdefs.h
<<_ACEOF
14456 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14461 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14463 cat >>confdefs.h
<<_ACEOF
14464 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14469 CPPFLAGS
=$ac_save_CPPFLAGS
14470 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS
=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14471 test -z "$NETAPI_LIBS" || NETAPI_LIBS
=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14475 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
14476 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14478 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
14484 if test "x${GCC}" = "xyes"
14486 EXTRACFLAGS
="-Wall -pipe"
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14489 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14490 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
14491 $as_echo_n "(cached) " >&6
14493 if test "$cross_compiling" = yes; then :
14494 ac_cv_c_gcc_strength_bug
="no"
14496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14497 /* end confdefs.h. */
14498 int L[4] = {0,1,2,3};
14502 static int Array[3];
14503 unsigned int B = 3;
14505 for(i=0; i<B; i++) Array[i] = i - 3;
14506 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14508 return (Array[1] != -2 || L[2] != 3)
14513 if ac_fn_c_try_run
"$LINENO"; then :
14514 ac_cv_c_gcc_strength_bug
="no"
14516 ac_cv_c_gcc_strength_bug
="yes"
14518 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14519 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14524 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14525 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14527 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14531 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14532 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14533 $as_echo_n "(cached) " >&6
14535 ac_wine_try_cflags_saved
=$CFLAGS
14536 CFLAGS
="$CFLAGS -fno-builtin"
14537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14538 /* end confdefs.h. */
14539 int main(int argc, char **argv) { return 0; }
14541 if ac_fn_c_try_link
"$LINENO"; then :
14542 ac_cv_cflags__fno_builtin
=yes
14544 ac_cv_cflags__fno_builtin
=no
14546 rm -f core conftest.err conftest.
$ac_objext \
14547 conftest
$ac_exeext conftest.
$ac_ext
14548 CFLAGS
=$ac_wine_try_cflags_saved
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14551 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14552 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14553 BUILTINFLAG
="-fno-builtin"
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14557 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14558 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14559 $as_echo_n "(cached) " >&6
14561 ac_wine_try_cflags_saved
=$CFLAGS
14562 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14565 int main(int argc, char **argv) { return 0; }
14567 if ac_fn_c_try_link
"$LINENO"; then :
14568 ac_cv_cflags__fno_strict_aliasing
=yes
14570 ac_cv_cflags__fno_strict_aliasing
=no
14572 rm -f core conftest.err conftest.
$ac_objext \
14573 conftest
$ac_exeext conftest.
$ac_ext
14574 CFLAGS
=$ac_wine_try_cflags_saved
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14577 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14578 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14579 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14582 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14583 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14584 $as_echo_n "(cached) " >&6
14586 ac_wine_try_cflags_saved
=$CFLAGS
14587 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14590 int main(int argc, char **argv) { return 0; }
14592 if ac_fn_c_try_link
"$LINENO"; then :
14593 ac_cv_cflags__fexcess_precision_standard
=yes
14595 ac_cv_cflags__fexcess_precision_standard
=no
14597 rm -f core conftest.err conftest.
$ac_objext \
14598 conftest
$ac_exeext conftest.
$ac_ext
14599 CFLAGS
=$ac_wine_try_cflags_saved
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14602 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14603 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14604 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14607 saved_CFLAGS
=$CFLAGS
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14609 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14610 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14611 $as_echo_n "(cached) " >&6
14613 ac_wine_try_cflags_saved
=$CFLAGS
14614 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14616 /* end confdefs.h. */
14617 int main(int argc, char **argv) { return 0; }
14619 if ac_fn_c_try_link
"$LINENO"; then :
14620 ac_cv_cflags__Werror_unknown_warning_option
=yes
14622 ac_cv_cflags__Werror_unknown_warning_option
=no
14624 rm -f core conftest.err conftest.
$ac_objext \
14625 conftest
$ac_exeext conftest.
$ac_ext
14626 CFLAGS
=$ac_wine_try_cflags_saved
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14629 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14630 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14631 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14634 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14635 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14636 $as_echo_n "(cached) " >&6
14638 ac_wine_try_cflags_saved
=$CFLAGS
14639 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14641 /* end confdefs.h. */
14642 int main(int argc, char **argv) { return 0; }
14644 if ac_fn_c_try_link
"$LINENO"; then :
14645 ac_cv_cflags__Wdeclaration_after_statement
=yes
14647 ac_cv_cflags__Wdeclaration_after_statement
=no
14649 rm -f core conftest.err conftest.
$ac_objext \
14650 conftest
$ac_exeext conftest.
$ac_ext
14651 CFLAGS
=$ac_wine_try_cflags_saved
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14654 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14655 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14656 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14659 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14660 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14661 $as_echo_n "(cached) " >&6
14663 ac_wine_try_cflags_saved
=$CFLAGS
14664 CFLAGS
="$CFLAGS -Wempty-body"
14665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14666 /* end confdefs.h. */
14667 int main(int argc, char **argv) { return 0; }
14669 if ac_fn_c_try_link
"$LINENO"; then :
14670 ac_cv_cflags__Wempty_body
=yes
14672 ac_cv_cflags__Wempty_body
=no
14674 rm -f core conftest.err conftest.
$ac_objext \
14675 conftest
$ac_exeext conftest.
$ac_ext
14676 CFLAGS
=$ac_wine_try_cflags_saved
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14679 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14680 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14681 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14684 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14685 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14686 $as_echo_n "(cached) " >&6
14688 ac_wine_try_cflags_saved
=$CFLAGS
14689 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14691 /* end confdefs.h. */
14692 int main(int argc, char **argv) { return 0; }
14694 if ac_fn_c_try_link
"$LINENO"; then :
14695 ac_cv_cflags__Wignored_qualifiers
=yes
14697 ac_cv_cflags__Wignored_qualifiers
=no
14699 rm -f core conftest.err conftest.
$ac_objext \
14700 conftest
$ac_exeext conftest.
$ac_ext
14701 CFLAGS
=$ac_wine_try_cflags_saved
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14704 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14705 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14706 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14709 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14710 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
14711 $as_echo_n "(cached) " >&6
14713 ac_wine_try_cflags_saved
=$CFLAGS
14714 CFLAGS
="$CFLAGS -Wshift-overflow=2"
14715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14716 /* end confdefs.h. */
14717 int main(int argc, char **argv) { return 0; }
14719 if ac_fn_c_try_link
"$LINENO"; then :
14720 ac_cv_cflags__Wshift_overflow_2
=yes
14722 ac_cv_cflags__Wshift_overflow_2
=no
14724 rm -f core conftest.err conftest.
$ac_objext \
14725 conftest
$ac_exeext conftest.
$ac_ext
14726 CFLAGS
=$ac_wine_try_cflags_saved
14728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14729 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14730 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
14731 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14734 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14735 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14736 $as_echo_n "(cached) " >&6
14738 ac_wine_try_cflags_saved
=$CFLAGS
14739 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14741 /* end confdefs.h. */
14742 int main(int argc, char **argv) { return 0; }
14744 if ac_fn_c_try_link
"$LINENO"; then :
14745 ac_cv_cflags__Wstrict_prototypes
=yes
14747 ac_cv_cflags__Wstrict_prototypes
=no
14749 rm -f core conftest.err conftest.
$ac_objext \
14750 conftest
$ac_exeext conftest.
$ac_ext
14751 CFLAGS
=$ac_wine_try_cflags_saved
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14754 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14755 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14756 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14759 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14760 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14761 $as_echo_n "(cached) " >&6
14763 ac_wine_try_cflags_saved
=$CFLAGS
14764 CFLAGS
="$CFLAGS -Wtype-limits"
14765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14766 /* end confdefs.h. */
14767 int main(int argc, char **argv) { return 0; }
14769 if ac_fn_c_try_link
"$LINENO"; then :
14770 ac_cv_cflags__Wtype_limits
=yes
14772 ac_cv_cflags__Wtype_limits
=no
14774 rm -f core conftest.err conftest.
$ac_objext \
14775 conftest
$ac_exeext conftest.
$ac_ext
14776 CFLAGS
=$ac_wine_try_cflags_saved
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14779 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14780 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14781 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14784 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14785 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14786 $as_echo_n "(cached) " >&6
14788 ac_wine_try_cflags_saved
=$CFLAGS
14789 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14791 /* end confdefs.h. */
14792 int main(int argc, char **argv) { return 0; }
14794 if ac_fn_c_try_link
"$LINENO"; then :
14795 ac_cv_cflags__Wunused_but_set_parameter
=yes
14797 ac_cv_cflags__Wunused_but_set_parameter
=no
14799 rm -f core conftest.err conftest.
$ac_objext \
14800 conftest
$ac_exeext conftest.
$ac_ext
14801 CFLAGS
=$ac_wine_try_cflags_saved
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14804 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14805 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14806 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14809 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14810 if ${ac_cv_cflags__Wvla+:} false
; then :
14811 $as_echo_n "(cached) " >&6
14813 ac_wine_try_cflags_saved
=$CFLAGS
14814 CFLAGS
="$CFLAGS -Wvla"
14815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14816 /* end confdefs.h. */
14817 int main(int argc, char **argv) { return 0; }
14819 if ac_fn_c_try_link
"$LINENO"; then :
14820 ac_cv_cflags__Wvla
=yes
14822 ac_cv_cflags__Wvla
=no
14824 rm -f core conftest.err conftest.
$ac_objext \
14825 conftest
$ac_exeext conftest.
$ac_ext
14826 CFLAGS
=$ac_wine_try_cflags_saved
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14829 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14830 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14831 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14834 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14835 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14836 $as_echo_n "(cached) " >&6
14838 ac_wine_try_cflags_saved
=$CFLAGS
14839 CFLAGS
="$CFLAGS -Wwrite-strings"
14840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14841 /* end confdefs.h. */
14842 int main(int argc, char **argv) { return 0; }
14844 if ac_fn_c_try_link
"$LINENO"; then :
14845 ac_cv_cflags__Wwrite_strings
=yes
14847 ac_cv_cflags__Wwrite_strings
=no
14849 rm -f core conftest.err conftest.
$ac_objext \
14850 conftest
$ac_exeext conftest.
$ac_ext
14851 CFLAGS
=$ac_wine_try_cflags_saved
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14854 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14855 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14856 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14860 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14861 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14862 $as_echo_n "(cached) " >&6
14864 ac_wine_try_cflags_saved
=$CFLAGS
14865 CFLAGS
="$CFLAGS -Wpointer-arith"
14866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14867 /* end confdefs.h. */
14868 int main(int argc, char **argv) { return 0; }
14870 if ac_fn_c_try_link
"$LINENO"; then :
14871 ac_cv_cflags__Wpointer_arith
=yes
14873 ac_cv_cflags__Wpointer_arith
=no
14875 rm -f core conftest.err conftest.
$ac_objext \
14876 conftest
$ac_exeext conftest.
$ac_ext
14877 CFLAGS
=$ac_wine_try_cflags_saved
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14880 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14881 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14882 saved_string_h_CFLAGS
=$CFLAGS
14883 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14885 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14886 if ${ac_cv_c_string_h_warnings+:} false
; then :
14887 $as_echo_n "(cached) " >&6
14889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14890 /* end confdefs.h. */
14891 #include <string.h>
14900 if ac_fn_c_try_compile
"$LINENO"; then :
14901 ac_cv_c_string_h_warnings
=no
14903 ac_cv_c_string_h_warnings
=yes
14905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14908 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14909 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14910 CFLAGS
=$saved_string_h_CFLAGS
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14914 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14915 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14916 $as_echo_n "(cached) " >&6
14918 ac_wine_try_cflags_saved
=$CFLAGS
14919 CFLAGS
="$CFLAGS -Wlogical-op"
14920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14921 /* end confdefs.h. */
14922 int main(int argc, char **argv) { return 0; }
14924 if ac_fn_c_try_link
"$LINENO"; then :
14925 ac_cv_cflags__Wlogical_op
=yes
14927 ac_cv_cflags__Wlogical_op
=no
14929 rm -f core conftest.err conftest.
$ac_objext \
14930 conftest
$ac_exeext conftest.
$ac_ext
14931 CFLAGS
=$ac_wine_try_cflags_saved
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14934 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14935 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14936 saved_string_h_CFLAGS
=$CFLAGS
14937 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14939 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14940 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14941 $as_echo_n "(cached) " >&6
14943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14944 /* end confdefs.h. */
14945 #include <string.h>
14946 char*f(const char *h,char n) {return strchr(h,n);}
14955 if ac_fn_c_try_compile
"$LINENO"; then :
14956 ac_cv_c_logicalop_noisy
=no
14958 ac_cv_c_logicalop_noisy
=yes
14960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14963 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14964 CFLAGS
=$saved_string_h_CFLAGS
14965 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14968 CFLAGS
=$saved_CFLAGS
14970 for ac_flag
in $CFLAGS; do
14972 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14973 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14974 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14975 $as_echo_n "(cached) " >&6
14977 ac_wine_try_cflags_saved
=$CFLAGS
14978 CFLAGS
="$CFLAGS -gdwarf-2"
14979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14980 /* end confdefs.h. */
14981 int main(int argc, char **argv) { return 0; }
14983 if ac_fn_c_try_link
"$LINENO"; then :
14984 ac_cv_cflags__gdwarf_2
=yes
14986 ac_cv_cflags__gdwarf_2
=no
14988 rm -f core conftest.err conftest.
$ac_objext \
14989 conftest
$ac_exeext conftest.
$ac_ext
14990 CFLAGS
=$ac_wine_try_cflags_saved
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14993 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14994 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14995 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14998 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14999 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
15000 $as_echo_n "(cached) " >&6
15002 ac_wine_try_cflags_saved
=$CFLAGS
15003 CFLAGS
="$CFLAGS -gstrict-dwarf"
15004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15005 /* end confdefs.h. */
15006 int main(int argc, char **argv) { return 0; }
15008 if ac_fn_c_try_link
"$LINENO"; then :
15009 ac_cv_cflags__gstrict_dwarf
=yes
15011 ac_cv_cflags__gstrict_dwarf
=no
15013 rm -f core conftest.err conftest.
$ac_objext \
15014 conftest
$ac_exeext conftest.
$ac_ext
15015 CFLAGS
=$ac_wine_try_cflags_saved
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15018 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15019 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
15020 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
15026 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15027 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15028 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
15029 $as_echo_n "(cached) " >&6
15031 ac_wine_try_cflags_saved
=$CFLAGS
15032 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
15033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15034 /* end confdefs.h. */
15035 int main(int argc, char **argv) { return 0; }
15037 if ac_fn_c_try_link
"$LINENO"; then :
15038 ac_cv_cflags__fno_omit_frame_pointer
=yes
15040 ac_cv_cflags__fno_omit_frame_pointer
=no
15042 rm -f core conftest.err conftest.
$ac_objext \
15043 conftest
$ac_exeext conftest.
$ac_ext
15044 CFLAGS
=$ac_wine_try_cflags_saved
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15047 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15048 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
15049 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
15054 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15055 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15056 if ${ac_cv_cflags__Wno_format+:} false
; then :
15057 $as_echo_n "(cached) " >&6
15059 ac_wine_try_cflags_saved
=$CFLAGS
15060 CFLAGS
="$CFLAGS -Wno-format"
15061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15062 /* end confdefs.h. */
15063 int main(int argc, char **argv) { return 0; }
15065 if ac_fn_c_try_link
"$LINENO"; then :
15066 ac_cv_cflags__Wno_format
=yes
15068 ac_cv_cflags__Wno_format
=no
15070 rm -f core conftest.err conftest.
$ac_objext \
15071 conftest
$ac_exeext conftest.
$ac_ext
15072 CFLAGS
=$ac_wine_try_cflags_saved
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15075 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15076 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
15077 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
15081 if test "x$enable_maintainer_mode" = "xyes"
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15084 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15085 if ${ac_cv_cflags__Werror+:} false
; then :
15086 $as_echo_n "(cached) " >&6
15088 ac_wine_try_cflags_saved
=$CFLAGS
15089 CFLAGS
="$CFLAGS -Werror"
15090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15091 /* end confdefs.h. */
15092 int main(int argc, char **argv) { return 0; }
15094 if ac_fn_c_try_link
"$LINENO"; then :
15095 ac_cv_cflags__Werror
=yes
15097 ac_cv_cflags__Werror
=no
15099 rm -f core conftest.err conftest.
$ac_objext \
15100 conftest
$ac_exeext conftest.
$ac_ext
15101 CFLAGS
=$ac_wine_try_cflags_saved
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15104 $as_echo "$ac_cv_cflags__Werror" >&6; }
15105 if test "x$ac_cv_cflags__Werror" = xyes
; then :
15106 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
15110 saved_CFLAGS
="$CFLAGS"
15111 CFLAGS
="$CFLAGS -Werror"
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15113 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15114 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
15115 $as_echo_n "(cached) " >&6
15117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15118 /* end confdefs.h. */
15119 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15128 if ac_fn_c_try_compile
"$LINENO"; then :
15129 ac_cv_have_ms_hook_prologue
="yes"
15131 ac_cv_have_ms_hook_prologue
="no"
15133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15136 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15137 CFLAGS
="$saved_CFLAGS"
15138 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15141 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15144 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15151 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15152 if ${ac_cv_c_fortify_enabled+:} false
; then :
15153 $as_echo_n "(cached) " >&6
15155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15156 /* end confdefs.h. */
15157 #include <string.h>
15161 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15162 #error Fortify enabled
15168 if ac_fn_c_try_compile
"$LINENO"; then :
15169 ac_cv_c_fortify_enabled
=no
15171 ac_cv_c_fortify_enabled
=yes
15173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15176 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15177 if test "$ac_cv_c_fortify_enabled" = yes
15179 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15184 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15185 if ${ac_cv_c_extern_prefix+:} false
; then :
15186 $as_echo_n "(cached) " >&6
15188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15189 /* end confdefs.h. */
15190 extern int ac_test;
15194 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15199 if ac_fn_c_try_link
"$LINENO"; then :
15200 ac_cv_c_extern_prefix
="yes"
15202 ac_cv_c_extern_prefix
="no"
15204 rm -f core conftest.err conftest.
$ac_objext \
15205 conftest
$ac_exeext conftest.
$ac_ext
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15208 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15213 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15214 if ${ac_cv_c_stdcall_suffix+:} false
; then :
15215 $as_echo_n "(cached) " >&6
15217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h. */
15220 #define __stdcall __attribute__((__stdcall__))
15222 int __stdcall ac_test(int i) { return i; }
15226 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15231 if ac_fn_c_try_link
"$LINENO"; then :
15232 ac_cv_c_stdcall_suffix
="yes"
15234 ac_cv_c_stdcall_suffix
="no"
15236 rm -f core conftest.err conftest.
$ac_objext \
15237 conftest
$ac_exeext conftest.
$ac_ext
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15240 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15241 *) ac_cv_c_stdcall_suffix
="no" ;;
15245 if test "$ac_cv_c_extern_prefix" = "yes"
15247 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15249 asm_name_prefix
="_"
15251 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15257 if test "$ac_cv_c_stdcall_suffix" = "yes"
15259 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15262 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15268 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15269 if ${ac_cv_asm_func_def+:} false
; then :
15270 $as_echo_n "(cached) " >&6
15272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15273 /* end confdefs.h. */
15278 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15283 if ac_fn_c_try_link
"$LINENO"; then :
15284 ac_cv_asm_func_def
=".def"
15286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15287 /* end confdefs.h. */
15292 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15297 if ac_fn_c_try_link
"$LINENO"; then :
15298 ac_cv_asm_func_def
=".type @function"
15300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15301 /* end confdefs.h. */
15306 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15311 if ac_fn_c_try_link
"$LINENO"; then :
15312 ac_cv_asm_func_def
=".type 2"
15314 ac_cv_asm_func_def
="unknown"
15316 rm -f core conftest.err conftest.
$ac_objext \
15317 conftest
$ac_exeext conftest.
$ac_ext
15319 rm -f core conftest.err conftest.
$ac_objext \
15320 conftest
$ac_exeext conftest.
$ac_ext
15322 rm -f core conftest.err conftest.
$ac_objext \
15323 conftest
$ac_exeext conftest.
$ac_ext
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15326 $as_echo "$ac_cv_asm_func_def" >&6; }
15329 case "$ac_cv_asm_func_def" in
15331 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15333 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15335 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15337 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
15339 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15341 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
15343 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15345 asm_func_header
="" ;;
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15349 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15350 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
15351 $as_echo_n "(cached) " >&6
15353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15354 /* end confdefs.h. */
15355 asm(".text\n\t.long 0");
15364 if ac_fn_c_try_compile
"$LINENO"; then :
15365 ac_cv_c_asm_outside_funcs
="yes"
15367 ac_cv_c_asm_outside_funcs
="no"
15369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15372 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15375 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15376 if ${ac_cv_c_dot_previous+:} false
; then :
15377 $as_echo_n "(cached) " >&6
15379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15380 /* end confdefs.h. */
15385 asm(".text\nac_test:\t.long 0\n\t.previous");
15390 if ac_fn_c_try_link
"$LINENO"; then :
15391 ac_cv_c_dot_previous
="yes"
15393 ac_cv_c_dot_previous
="no"
15395 rm -f core conftest.err conftest.
$ac_objext \
15396 conftest
$ac_exeext conftest.
$ac_ext
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15399 $as_echo "$ac_cv_c_dot_previous" >&6; }
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15402 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15403 if ${ac_cv_c_cfi_support+:} false
; then :
15404 $as_echo_n "(cached) " >&6
15406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15407 /* end confdefs.h. */
15408 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15417 if ac_fn_c_try_compile
"$LINENO"; then :
15418 ac_cv_c_cfi_support
="yes"
15420 ac_cv_c_cfi_support
="no"
15422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15425 $as_echo "$ac_cv_c_cfi_support" >&6; }
15427 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15428 asm_func_trailer
=""
15429 if test "$ac_cv_c_dot_previous" = "yes"
15431 asm_func_trailer
="\\n\\t.previous"
15433 if test "$ac_cv_c_cfi_support" = "yes"
15435 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
15436 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
15438 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15440 UNWINDFLAGS
=-fasynchronous-unwind-tables
15443 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15445 if test "x$enable_win64" = "xyes"
15447 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15451 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
15454 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15456 cat >>confdefs.h
<<_ACEOF
15457 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15461 cat >>confdefs.h
<<_ACEOF
15462 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15467 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15470 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15475 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
15482 *i
[3456789]86*|x86_64
*)
15483 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
15484 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
15491 ac_save_CFLAGS
="$CFLAGS"
15492 CFLAGS
="$CFLAGS $BUILTINFLAG"
15573 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15574 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15575 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15576 cat >>confdefs.h
<<_ACEOF
15577 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15583 CFLAGS
="$ac_save_CFLAGS"
15585 if test "$ac_cv_func_dlopen" = no
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15588 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15589 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15590 $as_echo_n "(cached) " >&6
15592 ac_check_lib_save_LIBS
=$LIBS
15594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15595 /* end confdefs.h. */
15597 /* Override any GCC internal prototype to avoid an error.
15598 Use char because int might match the return type of a GCC
15599 builtin and then its argument prototype would still apply. */
15612 if ac_fn_c_try_link
"$LINENO"; then :
15613 ac_cv_lib_dl_dlopen
=yes
15615 ac_cv_lib_dl_dlopen
=no
15617 rm -f core conftest.err conftest.
$ac_objext \
15618 conftest
$ac_exeext conftest.
$ac_ext
15619 LIBS
=$ac_check_lib_save_LIBS
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15622 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15623 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15624 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15630 ac_wine_check_funcs_save_LIBS
="$LIBS"
15631 LIBS
="$LIBS $DL_LIBS"
15632 for ac_func
in dladdr
15634 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15635 if test "x$ac_cv_func_dladdr" = xyes
; then :
15636 cat >>confdefs.h
<<_ACEOF
15637 #define HAVE_DLADDR 1
15643 LIBS
="$ac_wine_check_funcs_save_LIBS"
15645 if test "$ac_cv_func_poll" = no
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15648 $as_echo_n "checking for poll in -lpoll... " >&6; }
15649 if ${ac_cv_lib_poll_poll+:} false
; then :
15650 $as_echo_n "(cached) " >&6
15652 ac_check_lib_save_LIBS
=$LIBS
15653 LIBS
="-lpoll $LIBS"
15654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15655 /* end confdefs.h. */
15657 /* Override any GCC internal prototype to avoid an error.
15658 Use char because int might match the return type of a GCC
15659 builtin and then its argument prototype would still apply. */
15672 if ac_fn_c_try_link
"$LINENO"; then :
15673 ac_cv_lib_poll_poll
=yes
15675 ac_cv_lib_poll_poll
=no
15677 rm -f core conftest.err conftest.
$ac_objext \
15678 conftest
$ac_exeext conftest.
$ac_ext
15679 LIBS
=$ac_check_lib_save_LIBS
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15682 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15683 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15684 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15692 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15693 if ${ac_cv_search_gethostbyname+:} false
; then :
15694 $as_echo_n "(cached) " >&6
15696 ac_func_search_save_LIBS
=$LIBS
15697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15698 /* end confdefs.h. */
15700 /* Override any GCC internal prototype to avoid an error.
15701 Use char because int might match the return type of a GCC
15702 builtin and then its argument prototype would still apply. */
15706 char gethostbyname ();
15710 return gethostbyname ();
15715 for ac_lib
in '' nsl
; do
15716 if test -z "$ac_lib"; then
15717 ac_res
="none required"
15720 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15722 if ac_fn_c_try_link
"$LINENO"; then :
15723 ac_cv_search_gethostbyname
=$ac_res
15725 rm -f core conftest.err conftest.
$ac_objext \
15727 if ${ac_cv_search_gethostbyname+:} false
; then :
15731 if ${ac_cv_search_gethostbyname+:} false
; then :
15734 ac_cv_search_gethostbyname
=no
15736 rm conftest.
$ac_ext
15737 LIBS
=$ac_func_search_save_LIBS
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15740 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15741 ac_res
=$ac_cv_search_gethostbyname
15742 if test "$ac_res" != no
; then :
15743 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15749 $as_echo_n "checking for library containing connect... " >&6; }
15750 if ${ac_cv_search_connect+:} false
; then :
15751 $as_echo_n "(cached) " >&6
15753 ac_func_search_save_LIBS
=$LIBS
15754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15755 /* end confdefs.h. */
15757 /* Override any GCC internal prototype to avoid an error.
15758 Use char because int might match the return type of a GCC
15759 builtin and then its argument prototype would still apply. */
15772 for ac_lib
in '' socket
; do
15773 if test -z "$ac_lib"; then
15774 ac_res
="none required"
15777 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15779 if ac_fn_c_try_link
"$LINENO"; then :
15780 ac_cv_search_connect
=$ac_res
15782 rm -f core conftest.err conftest.
$ac_objext \
15784 if ${ac_cv_search_connect+:} false
; then :
15788 if ${ac_cv_search_connect+:} false
; then :
15791 ac_cv_search_connect
=no
15793 rm conftest.
$ac_ext
15794 LIBS
=$ac_func_search_save_LIBS
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15797 $as_echo "$ac_cv_search_connect" >&6; }
15798 ac_res
=$ac_cv_search_connect
15799 if test "$ac_res" != no
; then :
15800 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15806 $as_echo_n "checking for library containing inet_aton... " >&6; }
15807 if ${ac_cv_search_inet_aton+:} false
; then :
15808 $as_echo_n "(cached) " >&6
15810 ac_func_search_save_LIBS
=$LIBS
15811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15812 /* end confdefs.h. */
15814 /* Override any GCC internal prototype to avoid an error.
15815 Use char because int might match the return type of a GCC
15816 builtin and then its argument prototype would still apply. */
15824 return inet_aton ();
15829 for ac_lib
in '' resolv
; do
15830 if test -z "$ac_lib"; then
15831 ac_res
="none required"
15834 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15836 if ac_fn_c_try_link
"$LINENO"; then :
15837 ac_cv_search_inet_aton
=$ac_res
15839 rm -f core conftest.err conftest.
$ac_objext \
15841 if ${ac_cv_search_inet_aton+:} false
; then :
15845 if ${ac_cv_search_inet_aton+:} false
; then :
15848 ac_cv_search_inet_aton
=no
15850 rm conftest.
$ac_ext
15851 LIBS
=$ac_func_search_save_LIBS
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15854 $as_echo "$ac_cv_search_inet_aton" >&6; }
15855 ac_res
=$ac_cv_search_inet_aton
15856 if test "$ac_res" != no
; then :
15857 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15877 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15878 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15879 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15880 cat >>confdefs.h
<<_ACEOF
15881 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15890 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15891 if ${ac_cv_search_clock_gettime+:} false
; then :
15892 $as_echo_n "(cached) " >&6
15894 ac_func_search_save_LIBS
=$LIBS
15895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15896 /* end confdefs.h. */
15898 /* Override any GCC internal prototype to avoid an error.
15899 Use char because int might match the return type of a GCC
15900 builtin and then its argument prototype would still apply. */
15904 char clock_gettime ();
15908 return clock_gettime ();
15913 for ac_lib
in '' rt
; do
15914 if test -z "$ac_lib"; then
15915 ac_res
="none required"
15918 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15920 if ac_fn_c_try_link
"$LINENO"; then :
15921 ac_cv_search_clock_gettime
=$ac_res
15923 rm -f core conftest.err conftest.
$ac_objext \
15925 if ${ac_cv_search_clock_gettime+:} false
; then :
15929 if ${ac_cv_search_clock_gettime+:} false
; then :
15932 ac_cv_search_clock_gettime
=no
15934 rm conftest.
$ac_ext
15935 LIBS
=$ac_func_search_save_LIBS
15937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15938 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15939 ac_res
=$ac_cv_search_clock_gettime
15940 if test "$ac_res" != no
; then :
15941 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15943 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15945 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15953 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15955 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15957 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15959 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15960 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15961 $as_echo_n "(cached) " >&6
15963 ac_check_lib_save_LIBS
=$LIBS
15964 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15966 /* end confdefs.h. */
15968 /* Override any GCC internal prototype to avoid an error.
15969 Use char because int might match the return type of a GCC
15970 builtin and then its argument prototype would still apply. */
15974 char ldap_initialize ();
15978 return ldap_initialize ();
15983 if ac_fn_c_try_link
"$LINENO"; then :
15984 ac_cv_lib_ldap_r_ldap_initialize
=yes
15986 ac_cv_lib_ldap_r_ldap_initialize
=no
15988 rm -f core conftest.err conftest.
$ac_objext \
15989 conftest
$ac_exeext conftest.
$ac_ext
15990 LIBS
=$ac_check_lib_save_LIBS
15992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15993 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15994 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15996 $as_echo_n "checking for ber_init in -llber... " >&6; }
15997 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15998 $as_echo_n "(cached) " >&6
16000 ac_check_lib_save_LIBS
=$LIBS
16001 LIBS
="-llber $PTHREAD_LIBS $LIBS"
16002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16003 /* end confdefs.h. */
16005 /* Override any GCC internal prototype to avoid an error.
16006 Use char because int might match the return type of a GCC
16007 builtin and then its argument prototype would still apply. */
16015 return ber_init ();
16020 if ac_fn_c_try_link
"$LINENO"; then :
16021 ac_cv_lib_lber_ber_init
=yes
16023 ac_cv_lib_lber_ber_init
=no
16025 rm -f core conftest.err conftest.
$ac_objext \
16026 conftest
$ac_exeext conftest.
$ac_ext
16027 LIBS
=$ac_check_lib_save_LIBS
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16030 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16031 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
16033 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16035 LDAP_LIBS
="-lldap_r -llber"
16042 ac_wine_check_funcs_save_LIBS
="$LIBS"
16043 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16045 ldap_count_references \
16046 ldap_first_reference \
16047 ldap_next_reference \
16048 ldap_parse_reference \
16049 ldap_parse_sort_control \
16050 ldap_parse_sortresponse_control \
16051 ldap_parse_vlv_control \
16052 ldap_parse_vlvresponse_control
16054 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16055 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16056 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16057 cat >>confdefs.h
<<_ACEOF
16058 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16064 LIBS
="$ac_wine_check_funcs_save_LIBS"
16066 if test "x$LDAP_LIBS" = "x"; then :
16067 case "x$with_ldap" in
16068 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16070 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16071 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16077 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16078 if ${wine_cv_one_arg_mkdir+:} false
; then :
16079 $as_echo_n "(cached) " >&6
16081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16082 /* end confdefs.h. */
16083 #include <sys/stat.h>
16092 if ac_fn_c_try_compile
"$LINENO"; then :
16093 wine_cv_one_arg_mkdir
=yes
16095 wine_cv_one_arg_mkdir
=no
16097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16100 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16101 if test "$wine_cv_one_arg_mkdir" = "yes"
16104 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16109 $as_echo_n "checking for sched_setaffinity... " >&6; }
16110 if ${wine_cv_have_sched_setaffinity+:} false
; then :
16111 $as_echo_n "(cached) " >&6
16113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16114 /* end confdefs.h. */
16115 #define _GNU_SOURCE
16120 sched_setaffinity(0, 0, 0);
16125 if ac_fn_c_try_link
"$LINENO"; then :
16126 wine_cv_have_sched_setaffinity
=yes
16128 wine_cv_have_sched_setaffinity
=no
16130 rm -f core conftest.err conftest.
$ac_objext \
16131 conftest
$ac_exeext conftest.
$ac_ext
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16134 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16135 if test "$wine_cv_have_sched_setaffinity" = "yes"
16138 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16143 $as_echo_n "checking for fallocate... " >&6; }
16144 if ${wine_cv_have_fallocate+:} false
; then :
16145 $as_echo_n "(cached) " >&6
16147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16148 /* end confdefs.h. */
16149 #define _GNU_SOURCE
16154 fallocate(-1, 0, 0, 0);
16159 if ac_fn_c_try_link
"$LINENO"; then :
16160 wine_cv_have_fallocate
=yes
16162 wine_cv_have_fallocate
=no
16164 rm -f core conftest.err conftest.
$ac_objext \
16165 conftest
$ac_exeext conftest.
$ac_ext
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16168 $as_echo "$wine_cv_have_fallocate" >&6; }
16169 if test "$wine_cv_have_fallocate" = "yes"
16172 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16178 $as_echo_n "checking for inline... " >&6; }
16179 if ${ac_cv_c_inline+:} false
; then :
16180 $as_echo_n "(cached) " >&6
16183 for ac_kw
in inline __inline__ __inline
; do
16184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16185 /* end confdefs.h. */
16186 #ifndef __cplusplus
16188 static $ac_kw foo_t static_foo () {return 0; }
16189 $ac_kw foo_t foo () {return 0; }
16193 if ac_fn_c_try_compile
"$LINENO"; then :
16194 ac_cv_c_inline
=$ac_kw
16196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16197 test "$ac_cv_c_inline" != no
&& break
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16202 $as_echo "$ac_cv_c_inline" >&6; }
16204 case $ac_cv_c_inline in
16207 case $ac_cv_c_inline in
16209 *) ac_val
=$ac_cv_c_inline;;
16211 cat >>confdefs.h
<<_ACEOF
16212 #ifndef __cplusplus
16213 #define inline $ac_val
16219 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16220 if test "x$ac_cv_type_mode_t" = xyes
; then :
16222 cat >>confdefs.h
<<_ACEOF
16223 #define HAVE_MODE_T 1
16228 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16229 if test "x$ac_cv_type_off_t" = xyes
; then :
16231 cat >>confdefs.h
<<_ACEOF
16232 #define HAVE_OFF_T 1
16237 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16238 if test "x$ac_cv_type_pid_t" = xyes
; then :
16240 cat >>confdefs.h
<<_ACEOF
16241 #define HAVE_PID_T 1
16246 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16247 if test "x$ac_cv_type_size_t" = xyes
; then :
16249 cat >>confdefs.h
<<_ACEOF
16250 #define HAVE_SIZE_T 1
16255 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16256 if test "x$ac_cv_type_ssize_t" = xyes
; then :
16258 cat >>confdefs.h
<<_ACEOF
16259 #define HAVE_SSIZE_T 1
16264 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16265 if test "x$ac_cv_type_long_long" = xyes
; then :
16267 cat >>confdefs.h
<<_ACEOF
16268 #define HAVE_LONG_LONG 1
16273 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16274 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
16276 cat >>confdefs.h
<<_ACEOF
16277 #define HAVE_FSBLKCNT_T 1
16282 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16283 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
16285 cat >>confdefs.h
<<_ACEOF
16286 #define HAVE_FSFILCNT_T 1
16292 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16293 #include <signal.h>
16295 if test "x$ac_cv_type_sigset_t" = xyes
; then :
16297 cat >>confdefs.h
<<_ACEOF
16298 #define HAVE_SIGSET_T 1
16304 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16306 if test "x$ac_cv_type_request_sense" = xyes
; then :
16308 cat >>confdefs.h
<<_ACEOF
16309 #define HAVE_REQUEST_SENSE 1
16316 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16317 #ifdef HAVE_SYS_SOCKET_H
16318 #include <sys/socket.h>
16320 #ifdef HAVE_SYS_SOCKETVAR_H
16321 #include <sys/socketvar.h>
16323 #ifdef HAVE_NET_ROUTE_H
16324 #include <net/route.h>
16326 #ifdef HAVE_NETINET_IN_H
16327 #include <netinet/in.h>
16329 #ifdef HAVE_NETINET_IN_SYSTM_H
16330 #include <netinet/in_systm.h>
16332 #ifdef HAVE_NETINET_IP_H
16333 #include <netinet/ip.h>
16335 #ifdef HAVE_NETINET_IN_PCB_H
16336 #include <netinet/in_pcb.h>
16339 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
16341 cat >>confdefs.h
<<_ACEOF
16342 #define HAVE_STRUCT_XINPGEN 1
16349 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16352 #ifdef HAVE_SYS_LINK_H
16353 #include <sys/link.h>
16356 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
16358 cat >>confdefs.h
<<_ACEOF
16359 #define HAVE_STRUCT_R_DEBUG 1
16364 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16367 #ifdef HAVE_SYS_LINK_H
16368 #include <sys/link.h>
16371 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
16373 cat >>confdefs.h
<<_ACEOF
16374 #define HAVE_STRUCT_LINK_MAP 1
16381 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16382 #include <linux/input.h>
16385 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
16387 cat >>confdefs.h
<<_ACEOF
16388 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16396 $as_echo_n "checking for if_nameindex... " >&6; }
16397 if ${wine_cv_have_if_nameindex+:} false
; then :
16398 $as_echo_n "(cached) " >&6
16400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16401 /* end confdefs.h. */
16402 #ifdef HAVE_SYS_TYPES_H
16403 #include <sys/types.h>
16405 #ifdef HAVE_NET_IF_H
16406 # include <net/if.h>
16411 struct if_nameindex *p = if_nameindex(); return p->if_index;
16416 if ac_fn_c_try_link
"$LINENO"; then :
16417 wine_cv_have_if_nameindex
=yes
16419 wine_cv_have_if_nameindex
=no
16421 rm -f core conftest.err conftest.
$ac_objext \
16422 conftest
$ac_exeext conftest.
$ac_ext
16424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16425 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16426 if test "$wine_cv_have_if_nameindex" = "yes"
16429 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16434 $as_echo_n "checking for sigaddset... " >&6; }
16435 if ${wine_cv_have_sigaddset+:} false
; then :
16436 $as_echo_n "(cached) " >&6
16438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16439 /* end confdefs.h. */
16440 #include <signal.h>
16444 sigset_t set; sigaddset(&set,SIGTERM);
16449 if ac_fn_c_try_link
"$LINENO"; then :
16450 wine_cv_have_sigaddset
=yes
16452 wine_cv_have_sigaddset
=no
16454 rm -f core conftest.err conftest.
$ac_objext \
16455 conftest
$ac_exeext conftest.
$ac_ext
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16458 $as_echo "$wine_cv_have_sigaddset" >&6; }
16459 if test "$wine_cv_have_sigaddset" = "yes"
16462 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16468 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16469 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
16470 $as_echo_n "(cached) " >&6
16472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16473 /* end confdefs.h. */
16481 struct hostent *result;
16488 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16489 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16495 if ac_fn_c_try_link
"$LINENO"; then :
16496 wine_cv_linux_gethostbyname_r_6
=yes
16498 wine_cv_linux_gethostbyname_r_6
=no
16501 rm -f core conftest.err conftest.
$ac_objext \
16502 conftest
$ac_exeext conftest.
$ac_ext
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16506 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16507 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16510 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16514 if test "$ac_cv_header_linux_joystick_h" = "yes"
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16517 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16518 if ${wine_cv_linux_joystick_22_api+:} false
; then :
16519 $as_echo_n "(cached) " >&6
16521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16522 /* end confdefs.h. */
16524 #include <sys/ioctl.h>
16525 #include <sys/types.h>
16526 #include <linux/joystick.h>
16528 struct js_event blub;
16529 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16530 #error "no 2.2 header"
16541 if ac_fn_c_try_compile
"$LINENO"; then :
16542 wine_cv_linux_joystick_22_api
=yes
16544 wine_cv_linux_joystick_22_api
=no
16546 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16550 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16551 if test "$wine_cv_linux_joystick_22_api" = "yes"
16554 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16560 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16561 #ifdef HAVE_SYS_PARAM_H
16562 # include <sys/param.h>
16564 #ifdef HAVE_SYS_MOUNT_H
16565 # include <sys/mount.h>
16567 #ifdef HAVE_SYS_VFS_H
16568 # include <sys/vfs.h>
16570 #ifdef HAVE_SYS_STATFS_H
16571 # include <sys/statfs.h>
16574 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16576 cat >>confdefs.h
<<_ACEOF
16577 #define HAVE_STRUCT_STATFS_F_BFREE 1
16582 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16583 #ifdef HAVE_SYS_PARAM_H
16584 # include <sys/param.h>
16586 #ifdef HAVE_SYS_MOUNT_H
16587 # include <sys/mount.h>
16589 #ifdef HAVE_SYS_VFS_H
16590 # include <sys/vfs.h>
16592 #ifdef HAVE_SYS_STATFS_H
16593 # include <sys/statfs.h>
16596 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16598 cat >>confdefs.h
<<_ACEOF
16599 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16604 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16605 #ifdef HAVE_SYS_PARAM_H
16606 # include <sys/param.h>
16608 #ifdef HAVE_SYS_MOUNT_H
16609 # include <sys/mount.h>
16611 #ifdef HAVE_SYS_VFS_H
16612 # include <sys/vfs.h>
16614 #ifdef HAVE_SYS_STATFS_H
16615 # include <sys/statfs.h>
16618 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16620 cat >>confdefs.h
<<_ACEOF
16621 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16626 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16627 #ifdef HAVE_SYS_PARAM_H
16628 # include <sys/param.h>
16630 #ifdef HAVE_SYS_MOUNT_H
16631 # include <sys/mount.h>
16633 #ifdef HAVE_SYS_VFS_H
16634 # include <sys/vfs.h>
16636 #ifdef HAVE_SYS_STATFS_H
16637 # include <sys/statfs.h>
16640 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16642 cat >>confdefs.h
<<_ACEOF
16643 #define HAVE_STRUCT_STATFS_F_FFREE 1
16648 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16649 #ifdef HAVE_SYS_PARAM_H
16650 # include <sys/param.h>
16652 #ifdef HAVE_SYS_MOUNT_H
16653 # include <sys/mount.h>
16655 #ifdef HAVE_SYS_VFS_H
16656 # include <sys/vfs.h>
16658 #ifdef HAVE_SYS_STATFS_H
16659 # include <sys/statfs.h>
16662 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16664 cat >>confdefs.h
<<_ACEOF
16665 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16670 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16671 #ifdef HAVE_SYS_PARAM_H
16672 # include <sys/param.h>
16674 #ifdef HAVE_SYS_MOUNT_H
16675 # include <sys/mount.h>
16677 #ifdef HAVE_SYS_VFS_H
16678 # include <sys/vfs.h>
16680 #ifdef HAVE_SYS_STATFS_H
16681 # include <sys/statfs.h>
16684 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16686 cat >>confdefs.h
<<_ACEOF
16687 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16694 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16695 #include <sys/statvfs.h>
16698 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16700 cat >>confdefs.h
<<_ACEOF
16701 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16708 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16709 #include <dirent.h>
16712 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16714 cat >>confdefs.h
<<_ACEOF
16715 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16722 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16723 #ifdef HAVE_SYS_SOCKET_H
16724 # include <sys/socket.h>
16726 #ifdef HAVE_SYS_UN_H
16727 # include <sys/un.h>
16730 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16732 cat >>confdefs.h
<<_ACEOF
16733 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16738 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16739 #ifdef HAVE_SYS_SOCKET_H
16740 # include <sys/socket.h>
16742 #ifdef HAVE_SYS_UN_H
16743 # include <sys/un.h>
16746 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16748 cat >>confdefs.h
<<_ACEOF
16749 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16754 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16755 #ifdef HAVE_SYS_SOCKET_H
16756 # include <sys/socket.h>
16758 #ifdef HAVE_SYS_UN_H
16759 # include <sys/un.h>
16762 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16764 cat >>confdefs.h
<<_ACEOF
16765 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16772 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16773 #ifdef HAVE_SCSI_SG_H
16774 #include <scsi/sg.h>
16777 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16779 cat >>confdefs.h
<<_ACEOF
16780 #define HAVE_SCSIREQ_T_CMD 1
16785 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>
16786 #ifdef HAVE_SCSI_SG_H
16787 #include <scsi/sg.h>
16790 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16792 cat >>confdefs.h
<<_ACEOF
16793 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16800 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16802 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16804 cat >>confdefs.h
<<_ACEOF
16805 #define HAVE_SIGINFO_T_SI_FD 1
16812 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16813 #ifdef HAVE_SYS_MTIO_H
16814 #include <sys/mtio.h>
16817 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16819 cat >>confdefs.h
<<_ACEOF
16820 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16825 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16826 #ifdef HAVE_SYS_MTIO_H
16827 #include <sys/mtio.h>
16830 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16832 cat >>confdefs.h
<<_ACEOF
16833 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16838 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16839 #ifdef HAVE_SYS_MTIO_H
16840 #include <sys/mtio.h>
16843 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16845 cat >>confdefs.h
<<_ACEOF
16846 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16853 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16854 #include <getopt.h>
16857 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16859 cat >>confdefs.h
<<_ACEOF
16860 #define HAVE_STRUCT_OPTION_NAME 1
16867 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16868 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16870 cat >>confdefs.h
<<_ACEOF
16871 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16876 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16877 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16879 cat >>confdefs.h
<<_ACEOF
16880 #define HAVE_STRUCT_STAT_ST_MTIM 1
16885 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16886 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16888 cat >>confdefs.h
<<_ACEOF
16889 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16894 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16895 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16897 cat >>confdefs.h
<<_ACEOF
16898 #define HAVE_STRUCT_STAT_ST_CTIM 1
16903 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16904 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16906 cat >>confdefs.h
<<_ACEOF
16907 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16912 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16913 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16915 cat >>confdefs.h
<<_ACEOF
16916 #define HAVE_STRUCT_STAT_ST_ATIM 1
16921 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16922 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16924 cat >>confdefs.h
<<_ACEOF
16925 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16930 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16931 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16933 cat >>confdefs.h
<<_ACEOF
16934 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16939 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16940 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16942 cat >>confdefs.h
<<_ACEOF
16943 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16948 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16949 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16951 cat >>confdefs.h
<<_ACEOF
16952 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16957 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16958 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16960 cat >>confdefs.h
<<_ACEOF
16961 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16966 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16967 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16969 cat >>confdefs.h
<<_ACEOF
16970 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16977 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
16978 #include <sys/types.h>
16980 #ifdef HAVE_NETINET_IN_H
16981 #include <netinet/in.h>
16984 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16986 cat >>confdefs.h
<<_ACEOF
16987 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16994 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16995 #include <sys/types.h>
16997 #ifdef HAVE_NETINET_IN_H
16998 #include <netinet/in.h>
17000 #ifdef HAVE_RESOLV_H
17001 #include <resolv.h>
17004 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
17006 cat >>confdefs.h
<<_ACEOF
17007 #define HAVE_STRUCT___RES_STATE 1
17014 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
17015 #include <resolv.h>
17018 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
17020 cat >>confdefs.h
<<_ACEOF
17021 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17028 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17029 #include <sys/types.h>
17031 #ifdef HAVE_NETINET_IN_H
17032 # include <netinet/in.h>
17034 #ifdef HAVE_ARPA_NAMESER_H
17035 # include <arpa/nameser.h>
17038 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
17040 cat >>confdefs.h
<<_ACEOF
17041 #define HAVE_NS_MSG__MSG_PTR 1
17048 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17049 #include <sys/types.h>
17051 #ifdef HAVE_NETINET_IN_H
17052 #include <netinet/in.h>
17054 #ifdef HAVE_NETINET_IP_H
17055 #include <netinet/ip.h>
17057 #ifdef HAVE_NETINET_IP_ICMP_H
17058 #include <netinet/ip_icmp.h>
17060 #ifdef HAVE_NETINET_ICMP_VAR_H
17061 #include <netinet/icmp_var.h>
17064 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
17066 cat >>confdefs.h
<<_ACEOF
17067 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17074 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17075 #include <sys/types.h>
17077 #ifdef HAVE_ALIAS_H
17080 #ifdef HAVE_SYS_SOCKET_H
17081 #include <sys/socket.h>
17083 #ifdef HAVE_SYS_SOCKETVAR_H
17084 #include <sys/socketvar.h>
17086 #ifdef HAVE_SYS_TIMEOUT_H
17087 #include <sys/timeout.h>
17089 #ifdef HAVE_NETINET_IN_H
17090 #include <netinet/in.h>
17092 #ifdef HAVE_NETINET_IN_SYSTM_H
17093 #include <netinet/in_systm.h>
17095 #ifdef HAVE_NETINET_IP_H
17096 #include <netinet/ip.h>
17098 #ifdef HAVE_NETINET_IP_VAR_H
17099 #include <netinet/ip_var.h>
17101 #ifdef HAVE_NETINET_IP_ICMP_H
17102 #include <netinet/ip_icmp.h>
17104 #ifdef HAVE_NETINET_ICMP_VAR_H
17105 #include <netinet/icmp_var.h>
17108 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
17110 cat >>confdefs.h
<<_ACEOF
17111 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17118 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17119 #include <sys/types.h>
17121 #ifdef HAVE_SYS_SOCKETVAR_H
17122 #include <sys/socketvar.h>
17124 #ifdef HAVE_NETINET_IN_H
17125 #include <netinet/in.h>
17127 #ifdef HAVE_NETINET_IP_VAR_H
17128 #include <netinet/ip_var.h>
17131 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
17133 cat >>confdefs.h
<<_ACEOF
17134 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17141 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
17142 #include <netinet/ip_var.h>
17145 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
17147 cat >>confdefs.h
<<_ACEOF
17148 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17155 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17156 #include <sys/types.h>
17158 #ifdef HAVE_SYS_SOCKETVAR_H
17159 #include <sys/socketvar.h>
17161 #ifdef HAVE_NETINET_IN_H
17162 #include <netinet/in.h>
17164 #ifdef HAVE_NETINET_TCP_H
17165 #include <netinet/tcp.h>
17167 #ifdef HAVE_NETINET_TCP_VAR_H
17168 #include <netinet/tcp_var.h>
17171 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
17173 cat >>confdefs.h
<<_ACEOF
17174 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17181 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
17182 #include <netinet/tcp_var.h>
17185 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
17187 cat >>confdefs.h
<<_ACEOF
17188 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17195 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17196 #include <sys/types.h>
17198 #ifdef HAVE_NETINET_IN_H
17199 #include <netinet/in.h>
17201 #ifdef HAVE_NETINET_IP_VAR_H
17202 #include <netinet/ip_var.h>
17204 #ifdef HAVE_NETINET_UDP_H
17205 #include <netinet/udp.h>
17207 #ifdef HAVE_NETINET_UDP_VAR_H
17208 #include <netinet/udp_var.h>
17211 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
17213 cat >>confdefs.h
<<_ACEOF
17214 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17221 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17222 #include <sys/types.h>
17224 #ifdef HAVE_NET_IF_H
17225 # include <net/if.h>
17228 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
17230 cat >>confdefs.h
<<_ACEOF
17231 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17239 $as_echo_n "checking for timezone variable... " >&6; }
17240 if ${ac_cv_have_timezone+:} false
; then :
17241 $as_echo_n "(cached) " >&6
17243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17244 /* end confdefs.h. */
17254 if ac_fn_c_try_link
"$LINENO"; then :
17255 ac_cv_have_timezone
="yes"
17257 ac_cv_have_timezone
="no"
17259 rm -f core conftest.err conftest.
$ac_objext \
17260 conftest
$ac_exeext conftest.
$ac_ext
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17263 $as_echo "$ac_cv_have_timezone" >&6; }
17264 if test "$ac_cv_have_timezone" = "yes"
17267 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17271 $as_echo_n "checking for daylight variable... " >&6; }
17272 if ${ac_cv_have_daylight+:} false
; then :
17273 $as_echo_n "(cached) " >&6
17275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17276 /* end confdefs.h. */
17286 if ac_fn_c_try_link
"$LINENO"; then :
17287 ac_cv_have_daylight
="yes"
17289 ac_cv_have_daylight
="no"
17291 rm -f core conftest.err conftest.
$ac_objext \
17292 conftest
$ac_exeext conftest.
$ac_ext
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17295 $as_echo "$ac_cv_have_daylight" >&6; }
17296 if test "$ac_cv_have_daylight" = "yes"
17299 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17303 ac_save_LIBS
="$LIBS"
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17306 $as_echo_n "checking for isfinite... " >&6; }
17307 if ${ac_cv_have_isfinite+:} false
; then :
17308 $as_echo_n "(cached) " >&6
17310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17311 /* end confdefs.h. */
17312 #define _GNU_SOURCE
17317 float f = 0.0; return isfinite(f)
17322 if ac_fn_c_try_link
"$LINENO"; then :
17323 ac_cv_have_isfinite
="yes"
17325 ac_cv_have_isfinite
="no"
17327 rm -f core conftest.err conftest.
$ac_objext \
17328 conftest
$ac_exeext conftest.
$ac_ext
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17331 $as_echo "$ac_cv_have_isfinite" >&6; }
17332 if test "$ac_cv_have_isfinite" = "yes"
17335 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17340 $as_echo_n "checking for isinf... " >&6; }
17341 if ${ac_cv_have_isinf+:} false
; then :
17342 $as_echo_n "(cached) " >&6
17344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17345 /* end confdefs.h. */
17350 float f = 0.0; return isinf(f)
17355 if ac_fn_c_try_link
"$LINENO"; then :
17356 ac_cv_have_isinf
="yes"
17358 ac_cv_have_isinf
="no"
17360 rm -f core conftest.err conftest.
$ac_objext \
17361 conftest
$ac_exeext conftest.
$ac_ext
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17364 $as_echo "$ac_cv_have_isinf" >&6; }
17365 if test "$ac_cv_have_isinf" = "yes"
17368 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17373 $as_echo_n "checking for isnan... " >&6; }
17374 if ${ac_cv_have_isnan+:} false
; then :
17375 $as_echo_n "(cached) " >&6
17377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17378 /* end confdefs.h. */
17383 float f = 0.0; return isnan(f)
17388 if ac_fn_c_try_link
"$LINENO"; then :
17389 ac_cv_have_isnan
="yes"
17391 ac_cv_have_isnan
="no"
17393 rm -f core conftest.err conftest.
$ac_objext \
17394 conftest
$ac_exeext conftest.
$ac_ext
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17397 $as_echo "$ac_cv_have_isnan" >&6; }
17398 if test "$ac_cv_have_isnan" = "yes"
17401 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17439 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17440 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17441 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17442 cat >>confdefs.h
<<_ACEOF
17443 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17449 LIBS
="$ac_save_LIBS"
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17452 $as_echo_n "checking for __builtin_clz... " >&6; }
17453 if ${ac_cv_have___builtin_clz+:} false
; then :
17454 $as_echo_n "(cached) " >&6
17456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17457 /* end confdefs.h. */
17462 return __builtin_clz(1)
17467 if ac_fn_c_try_link
"$LINENO"; then :
17468 ac_cv_have___builtin_clz
="yes"
17470 ac_cv_have___builtin_clz
="no"
17472 rm -f core conftest.err conftest.
$ac_objext \
17473 conftest
$ac_exeext conftest.
$ac_ext
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17476 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17477 if test "$ac_cv_have___builtin_clz" = "yes"
17480 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17485 $as_echo_n "checking for __builtin_popcount... " >&6; }
17486 if ${ac_cv_have___builtin_popcount+:} false
; then :
17487 $as_echo_n "(cached) " >&6
17489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17490 /* end confdefs.h. */
17495 return __builtin_popcount(1)
17500 if ac_fn_c_try_link
"$LINENO"; then :
17501 ac_cv_have___builtin_popcount
="yes"
17503 ac_cv_have___builtin_popcount
="no"
17505 rm -f core conftest.err conftest.
$ac_objext \
17506 conftest
$ac_exeext conftest.
$ac_ext
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17509 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17510 if test "$ac_cv_have___builtin_popcount" = "yes"
17513 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17519 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17520 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17521 if ${ac_cv_cpp_def___i386__+:} false
; then :
17522 $as_echo_n "(cached) " >&6
17524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17525 /* end confdefs.h. */
17530 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17531 $EGREP "yes" >/dev
/null
2>&1; then :
17532 ac_cv_cpp_def___i386__
=yes
17534 ac_cv_cpp_def___i386__
=no
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17540 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17541 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
17542 CFLAGS
="$CFLAGS -D__i386__"
17543 LINTFLAGS
="$LINTFLAGS -D__i386__"
17545 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17546 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17547 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
17548 $as_echo_n "(cached) " >&6
17550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17551 /* end confdefs.h. */
17556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17557 $EGREP "yes" >/dev
/null
2>&1; then :
17558 ac_cv_cpp_def___x86_64__
=yes
17560 ac_cv_cpp_def___x86_64__
=no
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17566 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17567 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
17568 CFLAGS
="$CFLAGS -D__x86_64__"
17569 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
17571 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17572 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17573 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
17574 $as_echo_n "(cached) " >&6
17576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17577 /* end confdefs.h. */
17578 #ifndef __sparc64__
17582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17583 $EGREP "yes" >/dev
/null
2>&1; then :
17584 ac_cv_cpp_def___sparc64__
=yes
17586 ac_cv_cpp_def___sparc64__
=no
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17592 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17593 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
17594 CFLAGS
="$CFLAGS -D__sparc64__"
17595 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
17597 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17598 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17599 if ${ac_cv_cpp_def___sparc__+:} false
; then :
17600 $as_echo_n "(cached) " >&6
17602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17603 /* end confdefs.h. */
17608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17609 $EGREP "yes" >/dev
/null
2>&1; then :
17610 ac_cv_cpp_def___sparc__
=yes
17612 ac_cv_cpp_def___sparc__
=no
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17618 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17619 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
17620 CFLAGS
="$CFLAGS -D__sparc__"
17621 LINTFLAGS
="$LINTFLAGS -D__sparc__"
17623 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17624 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17625 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
17626 $as_echo_n "(cached) " >&6
17628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17629 /* end confdefs.h. */
17630 #ifndef __powerpc64__
17634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17635 $EGREP "yes" >/dev
/null
2>&1; then :
17636 ac_cv_cpp_def___powerpc64__
=yes
17638 ac_cv_cpp_def___powerpc64__
=no
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17644 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17645 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
17646 CFLAGS
="$CFLAGS -D__powerpc64__"
17647 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
17649 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17650 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17651 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
17652 $as_echo_n "(cached) " >&6
17654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17655 /* end confdefs.h. */
17656 #ifndef __powerpc__
17660 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17661 $EGREP "yes" >/dev
/null
2>&1; then :
17662 ac_cv_cpp_def___powerpc__
=yes
17664 ac_cv_cpp_def___powerpc__
=no
17669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17670 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17671 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
17672 CFLAGS
="$CFLAGS -D__powerpc__"
17673 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
17675 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17676 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17677 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
17678 $as_echo_n "(cached) " >&6
17680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17681 /* end confdefs.h. */
17682 #ifndef __aarch64__
17686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17687 $EGREP "yes" >/dev
/null
2>&1; then :
17688 ac_cv_cpp_def___aarch64__
=yes
17690 ac_cv_cpp_def___aarch64__
=no
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17696 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17697 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17698 CFLAGS
="$CFLAGS -D__aarch64__"
17699 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17701 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17702 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17703 if ${ac_cv_cpp_def___arm__+:} false
; then :
17704 $as_echo_n "(cached) " >&6
17706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17707 /* end confdefs.h. */
17712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17713 $EGREP "yes" >/dev
/null
2>&1; then :
17714 ac_cv_cpp_def___arm__
=yes
17716 ac_cv_cpp_def___arm__
=no
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17722 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17723 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17724 CFLAGS
="$CFLAGS -D__arm__"
17725 LINTFLAGS
="$LINTFLAGS -D__arm__"
17729 case $host_vendor in
17730 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17731 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17732 if ${ac_cv_cpp_def___sun__+:} false
; then :
17733 $as_echo_n "(cached) " >&6
17735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17736 /* end confdefs.h. */
17741 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17742 $EGREP "yes" >/dev
/null
2>&1; then :
17743 ac_cv_cpp_def___sun__
=yes
17745 ac_cv_cpp_def___sun__
=no
17750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17751 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17752 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17753 CFLAGS
="$CFLAGS -D__sun__"
17754 LINTFLAGS
="$LINTFLAGS -D__sun__"
17762 ac_config_commands
="$ac_config_commands include/stamp-h"
17764 $as_echo_n "creating Makefile rules..." >&6
17766 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17767 SOCKET_LIBS = $SOCKET_LIBS
17768 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17769 IOKIT_LIBS = $IOKIT_LIBS
17770 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17771 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17772 CORESERVICES_LIBS = $CORESERVICES_LIBS
17773 APPKIT_LIBS = $APPKIT_LIBS
17774 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17775 SECURITY_LIBS = $SECURITY_LIBS
17776 COREAUDIO_LIBS = $COREAUDIO_LIBS
17777 OPENAL_LIBS = $OPENAL_LIBS
17778 OPENCL_LIBS = $OPENCL_LIBS
17779 QUICKTIME_LIBS = $QUICKTIME_LIBS
17780 CARBON_LIBS = $CARBON_LIBS
17781 PTHREAD_LIBS = $PTHREAD_LIBS
17782 X_CFLAGS = $X_CFLAGS
17783 X_PRE_LIBS = $X_PRE_LIBS
17785 X_EXTRA_LIBS = $X_EXTRA_LIBS
17786 PCAP_LIBS = $PCAP_LIBS
17787 XML2_CFLAGS = $XML2_CFLAGS
17788 XML2_LIBS = $XML2_LIBS
17789 XSLT_CFLAGS = $XSLT_CFLAGS
17790 XSLT_LIBS = $XSLT_LIBS
17791 DBUS_CFLAGS = $DBUS_CFLAGS
17792 DBUS_LIBS = $DBUS_LIBS
17793 HAL_CFLAGS = $HAL_CFLAGS
17794 HAL_LIBS = $HAL_LIBS
17795 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17796 GNUTLS_LIBS = $GNUTLS_LIBS
17797 SANE_CFLAGS = $SANE_CFLAGS
17798 SANE_LIBS = $SANE_LIBS
17799 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17800 GPHOTO2_LIBS = $GPHOTO2_LIBS
17801 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17802 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17803 RESOLV_LIBS = $RESOLV_LIBS
17804 LCMS2_CFLAGS = $LCMS2_CFLAGS
17805 LCMS2_LIBS = $LCMS2_LIBS
17806 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17807 FREETYPE_LIBS = $FREETYPE_LIBS
17809 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17810 PULSE_CFLAGS = $PULSE_CFLAGS
17811 PULSE_LIBS = $PULSE_LIBS
17812 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17813 GSTREAMER_LIBS = $GSTREAMER_LIBS
17814 ALSA_LIBS = $ALSA_LIBS
17815 OSS4_CFLAGS = $OSS4_CFLAGS
17816 UDEV_CFLAGS = $UDEV_CFLAGS
17817 UDEV_LIBS = $UDEV_LIBS
17818 CAPI20_CFLAGS = $CAPI20_CFLAGS
17819 CAPI20_LIBS = $CAPI20_LIBS
17820 CUPS_CFLAGS = $CUPS_CFLAGS
17821 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17822 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17823 JPEG_CFLAGS = $JPEG_CFLAGS
17824 JPEG_LIBS = $JPEG_LIBS
17825 PNG_CFLAGS = $PNG_CFLAGS
17826 PNG_LIBS = $PNG_LIBS
17827 TIFF_CFLAGS = $TIFF_CFLAGS
17828 TIFF_LIBS = $TIFF_LIBS
17829 MPG123_CFLAGS = $MPG123_CFLAGS
17830 MPG123_LIBS = $MPG123_LIBS
17831 KSTAT_LIBS = $KSTAT_LIBS
17832 PROCSTAT_LIBS = $PROCSTAT_LIBS
17833 NETAPI_CFLAGS = $NETAPI_CFLAGS
17834 NETAPI_LIBS = $NETAPI_LIBS
17835 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17837 POLL_LIBS = $POLL_LIBS
17839 LDAP_LIBS = $LDAP_LIBS
17844 wine_fn_append_rule
"
17845 # Rules automatically generated by configure
17847 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17852 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17853 @./config.status Make.tmp Makefile
17854 depend: \$(MAKEDEP) dummy
17857 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17858 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17860 if test "x$enable_fonts" != xno
; then
17861 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17862 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17863 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17864 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17865 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17866 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17868 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17869 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17870 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17871 wine_fn_config_symlink wine
17872 if test "x$enable_win64" != xno
; then
17873 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17874 wine_fn_config_symlink wine64
17877 wine_fn_config_dll acledit enable_acledit
17878 wine_fn_config_dll aclui enable_aclui implib
17879 wine_fn_config_dll activeds enable_activeds implib
17880 wine_fn_config_dll actxprxy enable_actxprxy clean
17881 wine_fn_config_lib adsiid
17882 wine_fn_config_dll adsldpc enable_adsldpc
17883 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17884 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17885 wine_fn_config_dll advpack enable_advpack implib
17886 wine_fn_config_test dlls
/advpack
/tests advpack_test
17887 wine_fn_config_dll amstream enable_amstream clean
17888 wine_fn_config_test dlls
/amstream
/tests amstream_test
17889 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17890 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17891 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17892 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17893 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17894 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17895 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17896 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17897 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17898 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17899 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17900 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17901 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
17902 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
17903 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17904 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17905 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17906 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17907 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17908 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17909 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17910 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17911 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17912 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17913 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17914 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17915 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17916 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17917 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17918 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17919 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17920 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17921 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17922 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17923 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17924 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17925 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17926 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17927 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17928 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17929 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17930 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17931 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17932 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17933 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17934 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17935 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17936 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17937 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17938 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17939 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17940 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17941 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17942 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17943 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17944 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17945 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17946 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17947 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17948 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17949 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17950 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17951 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17952 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17953 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17954 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17955 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17956 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17957 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17958 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17959 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17960 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17961 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17962 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17963 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17964 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17965 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17966 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17967 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17968 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17969 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17970 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17971 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17972 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17973 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17974 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17975 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17976 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17977 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17978 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17979 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17980 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17981 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17982 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17983 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17984 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17985 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17986 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17987 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17988 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17989 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17990 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17991 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17992 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17993 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17994 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17995 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17996 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17997 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17998 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
17999 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18000 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18001 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18002 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18003 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18004 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18005 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18006 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18007 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18008 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18009 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18010 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18011 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18012 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18013 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18014 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18015 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18016 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18017 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18018 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18019 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18020 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18021 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18022 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18023 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18024 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18025 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18026 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18027 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18028 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18029 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18030 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18031 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18032 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18033 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18034 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18035 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18036 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18037 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18038 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18039 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18040 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18041 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18042 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18043 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18044 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18045 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18046 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18047 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18048 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18049 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18050 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18051 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18052 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18053 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18054 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18055 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18056 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18057 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18058 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18059 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18060 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18061 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18062 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18063 wine_fn_config_dll apphelp enable_apphelp
18064 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
18065 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18066 wine_fn_config_dll atl enable_atl clean
,implib
18067 wine_fn_config_test dlls
/atl
/tests atl_test
18068 wine_fn_config_dll atl100 enable_atl100 clean
,implib
18069 wine_fn_config_test dlls
/atl100
/tests atl100_test
18070 wine_fn_config_dll atl110 enable_atl110 clean
18071 wine_fn_config_dll atl80 enable_atl80 clean
,implib
18072 wine_fn_config_test dlls
/atl80
/tests atl80_test
18073 wine_fn_config_dll atl90 enable_atl90 clean
18074 wine_fn_config_dll authz enable_authz
18075 wine_fn_config_dll avicap32 enable_avicap32 implib
18076 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
18077 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
18078 wine_fn_config_dll avifile.dll16 enable_win16
18079 wine_fn_config_dll avrt enable_avrt implib
18080 wine_fn_config_dll bcrypt enable_bcrypt implib
18081 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
18082 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18083 wine_fn_config_dll browseui enable_browseui clean
18084 wine_fn_config_test dlls
/browseui
/tests browseui_test
18085 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18086 wine_fn_config_dll cabinet enable_cabinet implib
18087 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
18088 wine_fn_config_dll capi2032 enable_capi2032 implib
18089 wine_fn_config_dll cards enable_cards implib
18090 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18091 wine_fn_config_dll clusapi enable_clusapi implib
18092 wine_fn_config_dll combase enable_combase
18093 wine_fn_config_test dlls
/combase
/tests combase_test
18094 wine_fn_config_dll comcat enable_comcat
18095 wine_fn_config_test dlls
/comcat
/tests comcat_test
18096 wine_fn_config_dll comctl32 enable_comctl32 clean
,implib
18097 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
18098 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
18099 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
18100 wine_fn_config_dll
comm.drv16 enable_win16
18101 wine_fn_config_dll commdlg.dll16 enable_win16
18102 wine_fn_config_dll compobj.dll16 enable_win16
18103 wine_fn_config_dll compstui enable_compstui implib
18104 wine_fn_config_dll comsvcs enable_comsvcs clean
,implib
18105 wine_fn_config_dll concrt140 enable_concrt140
18106 wine_fn_config_dll connect enable_connect
18107 wine_fn_config_dll credui enable_credui clean
,implib
18108 wine_fn_config_test dlls
/credui
/tests credui_test
18109 wine_fn_config_dll crtdll enable_crtdll
18110 wine_fn_config_dll crypt32 enable_crypt32 clean
,implib
18111 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
18112 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18113 wine_fn_config_dll cryptdll enable_cryptdll implib
18114 wine_fn_config_dll cryptext enable_cryptext
18115 wine_fn_config_dll cryptnet enable_cryptnet implib
18116 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
18117 wine_fn_config_dll cryptui enable_cryptui clean
,implib
18118 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
18119 wine_fn_config_dll ctapi32 enable_ctapi32
18120 wine_fn_config_dll ctl3d.dll16 enable_win16
18121 wine_fn_config_dll ctl3d32 enable_ctl3d32
18122 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18123 wine_fn_config_dll d2d1 enable_d2d1 implib
18124 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
18125 wine_fn_config_dll d3d10 enable_d3d10 implib
18126 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
18127 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18128 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
18129 wine_fn_config_dll d3d10core enable_d3d10core implib
18130 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
18131 wine_fn_config_dll d3d11 enable_d3d11 implib
18132 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
18133 wine_fn_config_dll d3d8 enable_d3d8 implib
18134 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
18135 wine_fn_config_dll d3d9 enable_d3d9 implib
18136 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
18137 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18138 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18139 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18140 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18141 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18142 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18143 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18144 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18145 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18146 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18147 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18148 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
18149 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18150 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18151 wine_fn_config_dll d3dim enable_d3dim
18152 wine_fn_config_dll d3drm enable_d3drm implib
18153 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
18154 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18155 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18156 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18157 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18158 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18159 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18160 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18161 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18162 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18163 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18164 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18165 wine_fn_config_test dlls
/d3dx10_43
/tests d3dx10_43_test
18166 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18167 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18168 wine_fn_config_test dlls
/d3dx11_43
/tests d3dx11_43_test
18169 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18170 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18171 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18172 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18173 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18174 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18175 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18176 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18177 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18178 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18179 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18180 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18181 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18182 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
18183 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18184 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18185 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18186 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18187 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18188 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18189 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18190 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
18191 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
18192 wine_fn_config_dll davclnt enable_davclnt
18193 wine_fn_config_dll dbgeng enable_dbgeng implib
18194 wine_fn_config_dll dbghelp enable_dbghelp implib
18195 wine_fn_config_dll dciman32 enable_dciman32 implib
18196 wine_fn_config_dll ddeml.dll16 enable_win16
18197 wine_fn_config_dll ddraw enable_ddraw clean
,implib
18198 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
18199 wine_fn_config_dll ddrawex enable_ddrawex clean
18200 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
18201 wine_fn_config_dll devenum enable_devenum clean
18202 wine_fn_config_test dlls
/devenum
/tests devenum_test
18203 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18204 wine_fn_config_dll difxapi enable_difxapi
18205 wine_fn_config_dll dinput enable_dinput clean
,implib
,staticimplib
18206 wine_fn_config_test dlls
/dinput
/tests dinput_test
18207 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
18208 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
18209 wine_fn_config_dll dispdib.dll16 enable_win16
18210 wine_fn_config_dll dispex enable_dispex clean
18211 wine_fn_config_test dlls
/dispex
/tests dispex_test
18212 wine_fn_config_dll display.drv16 enable_win16
18213 wine_fn_config_dll dmband enable_dmband clean
18214 wine_fn_config_test dlls
/dmband
/tests dmband_test
18215 wine_fn_config_dll dmcompos enable_dmcompos clean
18216 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
18217 wine_fn_config_dll dmime enable_dmime clean
18218 wine_fn_config_test dlls
/dmime
/tests dmime_test
18219 wine_fn_config_dll dmloader enable_dmloader clean
18220 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
18221 wine_fn_config_dll dmscript enable_dmscript clean
18222 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
18223 wine_fn_config_dll dmstyle enable_dmstyle clean
18224 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
18225 wine_fn_config_dll dmsynth enable_dmsynth clean
18226 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
18227 wine_fn_config_dll dmusic enable_dmusic clean
18228 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
18229 wine_fn_config_dll dmusic32 enable_dmusic32
18230 wine_fn_config_dll dnsapi enable_dnsapi implib
18231 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
18232 wine_fn_config_dll dplay enable_dplay
18233 wine_fn_config_dll dplayx enable_dplayx clean
,implib
18234 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
18235 wine_fn_config_dll dpnaddr enable_dpnaddr
18236 wine_fn_config_dll dpnet enable_dpnet clean
,implib
18237 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
18238 wine_fn_config_dll dpnhpast enable_dpnhpast
18239 wine_fn_config_dll dpnlobby enable_dpnlobby
18240 wine_fn_config_dll dpvoice enable_dpvoice clean
18241 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
18242 wine_fn_config_dll dpwsockx enable_dpwsockx
18243 wine_fn_config_dll drmclien enable_drmclien
18244 wine_fn_config_dll dsound enable_dsound clean
,implib
18245 wine_fn_config_test dlls
/dsound
/tests dsound_test
18246 wine_fn_config_dll dssenh enable_dssenh
18247 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
18248 wine_fn_config_dll dswave enable_dswave clean
18249 wine_fn_config_test dlls
/dswave
/tests dswave_test
18250 wine_fn_config_dll dwmapi enable_dwmapi implib
18251 wine_fn_config_dll dwrite enable_dwrite implib
18252 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
18253 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18254 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
18255 wine_fn_config_lib dxerr8
18256 wine_fn_config_lib dxerr9
18257 wine_fn_config_dll dxgi enable_dxgi implib
18258 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
18259 wine_fn_config_lib dxguid
18260 wine_fn_config_dll dxva2 enable_dxva2
18261 wine_fn_config_dll esent enable_esent
18262 wine_fn_config_dll evr enable_evr
18263 wine_fn_config_dll explorerframe enable_explorerframe clean
18264 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
18265 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18266 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18267 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18268 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18269 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18270 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18271 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18272 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18273 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18274 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18275 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18276 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18277 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18278 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18279 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18280 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18281 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18282 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18283 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
18284 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18285 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18286 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18287 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18288 wine_fn_config_dll faultrep enable_faultrep implib
18289 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
18290 wine_fn_config_dll fltlib enable_fltlib
18291 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18292 wine_fn_config_dll fntcache enable_fntcache
18293 wine_fn_config_dll fontsub enable_fontsub
18294 wine_fn_config_dll fusion enable_fusion
18295 wine_fn_config_test dlls
/fusion
/tests fusion_test
18296 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18297 wine_fn_config_dll gameux enable_gameux clean
18298 wine_fn_config_test dlls
/gameux
/tests gameux_test
18299 wine_fn_config_dll gdi.exe16 enable_win16
18300 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
18301 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
18302 wine_fn_config_dll gdiplus enable_gdiplus implib
18303 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
18304 wine_fn_config_dll glu32 enable_glu32 implib
18305 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18306 wine_fn_config_dll gpkcsp enable_gpkcsp
18307 wine_fn_config_dll hal enable_hal
18308 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib htmlhelp
18309 wine_fn_config_dll hid enable_hid implib
18310 wine_fn_config_test dlls
/hid
/tests hid_test
18311 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18312 wine_fn_config_dll hlink enable_hlink clean
,implib
18313 wine_fn_config_test dlls
/hlink
/tests hlink_test
18314 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18315 wine_fn_config_test dlls
/hnetcfg
/tests hnetcfg_test
18316 wine_fn_config_dll httpapi enable_httpapi
18317 wine_fn_config_dll iccvid enable_iccvid clean
18318 wine_fn_config_dll icmp enable_icmp
18319 wine_fn_config_dll ieframe enable_ieframe clean
,implib
18320 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
18321 wine_fn_config_dll ifsmgr.vxd enable_win16
18322 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18323 wine_fn_config_dll imagehlp enable_imagehlp implib
18324 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
18325 wine_fn_config_dll imm.dll16 enable_win16
18326 wine_fn_config_dll imm32 enable_imm32 implib
18327 wine_fn_config_test dlls
/imm32
/tests imm32_test
18328 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
18329 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
18330 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18331 wine_fn_config_dll inetmib1 enable_inetmib1
18332 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
18333 wine_fn_config_dll infosoft enable_infosoft clean
18334 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
18335 wine_fn_config_dll initpki enable_initpki
18336 wine_fn_config_dll inkobj enable_inkobj
18337 wine_fn_config_dll inseng enable_inseng clean
18338 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18339 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
18340 wine_fn_config_dll iprop enable_iprop
18341 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18342 wine_fn_config_dll itircl enable_itircl
18343 wine_fn_config_dll itss enable_itss clean
18344 wine_fn_config_test dlls
/itss
/tests itss_test
18345 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18346 wine_fn_config_dll jscript enable_jscript clean
18347 wine_fn_config_test dlls
/jscript
/tests jscript_test
18348 wine_fn_config_dll jsproxy enable_jsproxy implib
18349 wine_fn_config_test dlls
/jsproxy
/tests jsproxy_test
18350 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
18351 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
18352 wine_fn_config_dll kernelbase enable_kernelbase
18353 wine_fn_config_dll keyboard.drv16 enable_win16
18354 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18355 wine_fn_config_dll ksuser enable_ksuser
18356 wine_fn_config_dll ktmw32 enable_ktmw32
18357 wine_fn_config_dll loadperf enable_loadperf implib
18358 wine_fn_config_dll localspl enable_localspl clean
18359 wine_fn_config_test dlls
/localspl
/tests localspl_test
18360 wine_fn_config_dll localui enable_localui clean
18361 wine_fn_config_test dlls
/localui
/tests localui_test
18362 wine_fn_config_dll lz32 enable_lz32 implib
18363 wine_fn_config_test dlls
/lz32
/tests lz32_test
18364 wine_fn_config_dll lzexpand.dll16 enable_win16
18365 wine_fn_config_dll mapi32 enable_mapi32 clean
,implib
18366 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
18367 wine_fn_config_dll mapistub enable_mapistub
18368 wine_fn_config_dll mciavi32 enable_mciavi32
18369 wine_fn_config_dll mcicda enable_mcicda
18370 wine_fn_config_dll mciqtz32 enable_mciqtz32
18371 wine_fn_config_dll mciseq enable_mciseq
18372 wine_fn_config_dll mciwave enable_mciwave
18373 wine_fn_config_dll mf enable_mf implib
18374 wine_fn_config_test dlls
/mf
/tests mf_test
18375 wine_fn_config_dll mf3216 enable_mf3216
18376 wine_fn_config_dll mfplat enable_mfplat implib
18377 wine_fn_config_test dlls
/mfplat
/tests mfplat_test
18378 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18379 wine_fn_config_dll mgmtapi enable_mgmtapi
18380 wine_fn_config_dll midimap enable_midimap
18381 wine_fn_config_dll mlang enable_mlang clean
,implib
18382 wine_fn_config_test dlls
/mlang
/tests mlang_test
18383 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18384 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
18385 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18386 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
18387 wine_fn_config_dll mmdevldr.vxd enable_win16
18388 wine_fn_config_dll mmsystem.dll16 enable_win16
18389 wine_fn_config_dll monodebg.vxd enable_win16
18390 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18391 wine_fn_config_dll mouse.drv16 enable_win16
18392 wine_fn_config_dll mpr enable_mpr clean
,implib
18393 wine_fn_config_test dlls
/mpr
/tests mpr_test
18394 wine_fn_config_dll mprapi enable_mprapi implib
18395 wine_fn_config_dll msacm.dll16 enable_win16
18396 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18397 wine_fn_config_dll msacm32 enable_msacm32 clean
,implib
18398 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
18399 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18400 wine_fn_config_dll msasn1 enable_msasn1 implib
18401 wine_fn_config_dll mscat32 enable_mscat32
18402 wine_fn_config_dll mscms enable_mscms implib
18403 wine_fn_config_test dlls
/mscms
/tests mscms_test
18404 wine_fn_config_dll mscoree enable_mscoree clean
18405 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
18406 wine_fn_config_dll msctf enable_msctf clean
18407 wine_fn_config_test dlls
/msctf
/tests msctf_test
18408 wine_fn_config_dll msctfp enable_msctfp clean
18409 wine_fn_config_dll msdaps enable_msdaps clean
18410 wine_fn_config_dll msdelta enable_msdelta
18411 wine_fn_config_dll msdmo enable_msdmo implib
18412 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
18413 wine_fn_config_dll msdrm enable_msdrm
18414 wine_fn_config_dll msftedit enable_msftedit
18415 wine_fn_config_dll msg711.acm enable_msg711_acm
18416 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18417 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18418 wine_fn_config_dll mshtml enable_mshtml clean
,implib
18419 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
18420 wine_fn_config_dll msi enable_msi clean
,implib
18421 wine_fn_config_test dlls
/msi
/tests msi_test
18422 wine_fn_config_dll msident enable_msident clean
18423 wine_fn_config_dll msimg32 enable_msimg32 implib
18424 wine_fn_config_dll msimsg enable_msimsg
18425 wine_fn_config_dll msimtf enable_msimtf clean
18426 wine_fn_config_dll msisip enable_msisip
18427 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18428 wine_fn_config_dll msls31 enable_msls31
18429 wine_fn_config_dll msnet32 enable_msnet32
18430 wine_fn_config_dll mspatcha enable_mspatcha implib
18431 wine_fn_config_dll msports enable_msports
18432 wine_fn_config_dll msrle32 enable_msrle32 clean
18433 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
18434 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18435 wine_fn_config_test dlls
/msscript.ocx
/tests msscript.ocx_test clean
18436 wine_fn_config_dll mssign32 enable_mssign32
18437 wine_fn_config_dll mssip32 enable_mssip32
18438 wine_fn_config_dll mstask enable_mstask clean
18439 wine_fn_config_test dlls
/mstask
/tests mstask_test
18440 wine_fn_config_dll msvcirt enable_msvcirt
18441 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
18442 wine_fn_config_dll msvcm80 enable_msvcm80
18443 wine_fn_config_dll msvcm90 enable_msvcm90
18444 wine_fn_config_dll msvcp100 enable_msvcp100
18445 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
18446 wine_fn_config_dll msvcp110 enable_msvcp110
18447 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
18448 wine_fn_config_dll msvcp120 enable_msvcp120
18449 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
18450 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18451 wine_fn_config_dll msvcp140 enable_msvcp140
18452 wine_fn_config_test dlls
/msvcp140
/tests msvcp140_test
18453 wine_fn_config_dll msvcp60 enable_msvcp60
18454 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
18455 wine_fn_config_dll msvcp70 enable_msvcp70
18456 wine_fn_config_dll msvcp71 enable_msvcp71
18457 wine_fn_config_dll msvcp80 enable_msvcp80
18458 wine_fn_config_dll msvcp90 enable_msvcp90
18459 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
18460 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18461 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
18462 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18463 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18464 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
18465 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18466 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18467 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18468 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18469 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18470 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
18471 wine_fn_config_dll msvcrt enable_msvcrt implib
18472 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
18473 wine_fn_config_dll msvcrt20 enable_msvcrt20
18474 wine_fn_config_dll msvcrt40 enable_msvcrt40
18475 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18476 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
18477 wine_fn_config_dll msvfw32 enable_msvfw32 clean
,implib
18478 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
18479 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18480 wine_fn_config_dll msvideo.dll16 enable_win16
18481 wine_fn_config_dll mswsock enable_mswsock implib
18482 wine_fn_config_dll msxml enable_msxml clean
18483 wine_fn_config_dll msxml2 enable_msxml2 clean
18484 wine_fn_config_dll msxml3 enable_msxml3 clean
18485 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
18486 wine_fn_config_dll msxml4 enable_msxml4 clean
18487 wine_fn_config_dll msxml6 enable_msxml6 clean
18488 wine_fn_config_dll mtxdm enable_mtxdm
18489 wine_fn_config_dll ncrypt enable_ncrypt
18490 wine_fn_config_dll nddeapi enable_nddeapi implib
18491 wine_fn_config_dll ndis.sys enable_ndis_sys
18492 wine_fn_config_dll netapi32 enable_netapi32 implib
18493 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
18494 wine_fn_config_dll netcfgx enable_netcfgx clean
18495 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
18496 wine_fn_config_dll netprofm enable_netprofm clean
18497 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
18498 wine_fn_config_dll newdev enable_newdev implib
18499 wine_fn_config_dll normaliz enable_normaliz implib
18500 wine_fn_config_dll npmshtml enable_npmshtml
18501 wine_fn_config_dll npptools enable_npptools
18502 wine_fn_config_dll ntdll enable_ntdll implib
18503 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
18504 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18505 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
18506 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18507 wine_fn_config_dll ntprint enable_ntprint
18508 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
18509 wine_fn_config_dll objsel enable_objsel clean
18510 wine_fn_config_dll odbc32 enable_odbc32 implib
18511 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18512 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
18513 wine_fn_config_dll odbccu32 enable_odbccu32
18514 wine_fn_config_dll ole2.dll16 enable_win16
18515 wine_fn_config_dll ole2conv.dll16 enable_win16
18516 wine_fn_config_dll ole2disp.dll16 enable_win16
18517 wine_fn_config_dll ole2nls.dll16 enable_win16
18518 wine_fn_config_dll ole2prox.dll16 enable_win16
18519 wine_fn_config_dll ole2thk.dll16 enable_win16
18520 wine_fn_config_dll ole32 enable_ole32 clean
,implib
18521 wine_fn_config_test dlls
/ole32
/tests ole32_test
18522 wine_fn_config_dll oleacc enable_oleacc clean
,implib
18523 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
18524 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
18525 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
18526 wine_fn_config_dll olecli.dll16 enable_win16
18527 wine_fn_config_dll olecli32 enable_olecli32 implib
18528 wine_fn_config_dll oledb32 enable_oledb32 clean
18529 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
18530 wine_fn_config_dll oledlg enable_oledlg clean
,implib
18531 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
18532 wine_fn_config_dll olepro32 enable_olepro32 clean
,implib
18533 wine_fn_config_dll olesvr.dll16 enable_win16
18534 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18535 wine_fn_config_dll olethk32 enable_olethk32
18536 wine_fn_config_dll openal32 enable_openal32
18537 wine_fn_config_dll opencl enable_opencl
18538 wine_fn_config_dll opengl32 enable_opengl32 implib
18539 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
18540 wine_fn_config_dll packager enable_packager clean
18541 wine_fn_config_test dlls
/packager
/tests packager_test
18542 wine_fn_config_dll pdh enable_pdh implib
18543 wine_fn_config_test dlls
/pdh
/tests pdh_test
18544 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18545 wine_fn_config_dll pidgen enable_pidgen
18546 wine_fn_config_dll powrprof enable_powrprof implib
18547 wine_fn_config_dll printui enable_printui
18548 wine_fn_config_dll prntvpt enable_prntvpt
18549 wine_fn_config_dll propsys enable_propsys clean
,implib
18550 wine_fn_config_test dlls
/propsys
/tests propsys_test
18551 wine_fn_config_dll psapi enable_psapi implib
18552 wine_fn_config_test dlls
/psapi
/tests psapi_test
18553 wine_fn_config_dll pstorec enable_pstorec clean
18554 wine_fn_config_test dlls
/pstorec
/tests pstorec_test
18555 wine_fn_config_dll qcap enable_qcap
18556 wine_fn_config_test dlls
/qcap
/tests qcap_test
18557 wine_fn_config_dll qedit enable_qedit clean
18558 wine_fn_config_test dlls
/qedit
/tests qedit_test
18559 wine_fn_config_dll qmgr enable_qmgr clean
18560 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
18561 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18562 wine_fn_config_dll quartz enable_quartz clean
,implib
18563 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
18564 wine_fn_config_dll query enable_query
18565 wine_fn_config_dll rasapi16.dll16 enable_win16
18566 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18567 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
18568 wine_fn_config_dll rasdlg enable_rasdlg implib
18569 wine_fn_config_dll regapi enable_regapi
18570 wine_fn_config_dll resutils enable_resutils implib
18571 wine_fn_config_dll riched20 enable_riched20 clean
,implib
18572 wine_fn_config_test dlls
/riched20
/tests riched20_test
18573 wine_fn_config_dll riched32 enable_riched32
18574 wine_fn_config_test dlls
/riched32
/tests riched32_test
18575 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
18576 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
18577 wine_fn_config_dll rsabase enable_rsabase
18578 wine_fn_config_dll rsaenh enable_rsaenh implib
18579 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
18580 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18581 wine_fn_config_dll rtutils enable_rtutils implib
18582 wine_fn_config_dll samlib enable_samlib
18583 wine_fn_config_dll sane.ds enable_sane_ds clean
18584 wine_fn_config_dll scarddlg enable_scarddlg
18585 wine_fn_config_dll sccbase enable_sccbase
18586 wine_fn_config_dll schannel enable_schannel
18587 wine_fn_config_test dlls
/schannel
/tests schannel_test
18588 wine_fn_config_dll schedsvc enable_schedsvc clean
18589 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
18590 wine_fn_config_dll scrobj enable_scrobj clean
18591 wine_fn_config_dll scrrun enable_scrrun clean
18592 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
18593 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18594 wine_fn_config_dll secur32 enable_secur32 implib
18595 wine_fn_config_test dlls
/secur32
/tests secur32_test
18596 wine_fn_config_dll security enable_security
18597 wine_fn_config_dll sensapi enable_sensapi implib
18598 wine_fn_config_dll serialui enable_serialui clean
18599 wine_fn_config_test dlls
/serialui
/tests serialui_test
18600 wine_fn_config_dll setupapi enable_setupapi clean
,implib
18601 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
18602 wine_fn_config_dll setupx.dll16 enable_win16
18603 wine_fn_config_dll sfc enable_sfc implib
18604 wine_fn_config_dll sfc_os enable_sfc_os implib
18605 wine_fn_config_dll shdoclc enable_shdoclc clean
18606 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
18607 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
18608 wine_fn_config_dll shell.dll16 enable_win16
18609 wine_fn_config_dll shell32 enable_shell32 clean
,implib
18610 wine_fn_config_test dlls
/shell32
/tests shell32_test
18611 wine_fn_config_dll shfolder enable_shfolder implib
18612 wine_fn_config_dll shlwapi enable_shlwapi clean
,implib
18613 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
18614 wine_fn_config_dll slbcsp enable_slbcsp
18615 wine_fn_config_dll slc enable_slc implib
18616 wine_fn_config_test dlls
/slc
/tests slc_test
18617 wine_fn_config_dll snmpapi enable_snmpapi implib
18618 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
18619 wine_fn_config_dll softpub enable_softpub
18620 wine_fn_config_dll sound.drv16 enable_win16
18621 wine_fn_config_dll spoolss enable_spoolss implib
18622 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
18623 wine_fn_config_dll sspicli enable_sspicli
18624 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18625 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18626 wine_fn_config_dll sti enable_sti clean
,implib
18627 wine_fn_config_test dlls
/sti
/tests sti_test
18628 wine_fn_config_dll storage.dll16 enable_win16
18629 wine_fn_config_dll stress.dll16 enable_win16
18630 wine_fn_config_lib strmbase
18631 wine_fn_config_lib strmiids
18632 wine_fn_config_dll svrapi enable_svrapi
18633 wine_fn_config_dll sxs enable_sxs implib
18634 wine_fn_config_test dlls
/sxs
/tests sxs_test
18635 wine_fn_config_dll system.drv16 enable_win16
18636 wine_fn_config_dll t2embed enable_t2embed implib
18637 wine_fn_config_test dlls
/t2embed
/tests t2embed_test
18638 wine_fn_config_dll tapi32 enable_tapi32 implib
18639 wine_fn_config_dll taskschd enable_taskschd clean
18640 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
18641 wine_fn_config_dll tdh enable_tdh
18642 wine_fn_config_dll tdi.sys enable_tdi_sys
18643 wine_fn_config_dll toolhelp.dll16 enable_win16
18644 wine_fn_config_dll traffic enable_traffic
18645 wine_fn_config_dll twain.dll16 enable_win16
18646 wine_fn_config_dll twain_32 enable_twain_32
18647 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
18648 wine_fn_config_dll typelib.dll16 enable_win16
18649 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18650 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
18651 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18652 wine_fn_config_dll unicows enable_unicows implib
18653 wine_fn_config_dll updspapi enable_updspapi
18654 wine_fn_config_dll url enable_url implib
18655 wine_fn_config_dll urlmon enable_urlmon clean
,implib
18656 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
18657 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18658 wine_fn_config_dll user.exe16 enable_win16
18659 wine_fn_config_dll user32 enable_user32 clean
,implib
18660 wine_fn_config_test dlls
/user32
/tests user32_test
18661 wine_fn_config_dll userenv enable_userenv implib
18662 wine_fn_config_test dlls
/userenv
/tests userenv_test
18663 wine_fn_config_dll usp10 enable_usp10 implib
18664 wine_fn_config_test dlls
/usp10
/tests usp10_test
18665 wine_fn_config_lib uuid
18666 wine_fn_config_dll uxtheme enable_uxtheme implib
18667 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
18668 wine_fn_config_dll vbscript enable_vbscript clean
18669 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
18670 wine_fn_config_dll vcomp enable_vcomp
18671 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
18672 wine_fn_config_dll vcomp100 enable_vcomp100
18673 wine_fn_config_dll vcomp110 enable_vcomp110
18674 wine_fn_config_dll vcomp120 enable_vcomp120
18675 wine_fn_config_dll vcomp140 enable_vcomp140
18676 wine_fn_config_dll vcomp90 enable_vcomp90
18677 wine_fn_config_dll vcruntime140 enable_vcruntime140
18678 wine_fn_config_dll vdhcp.vxd enable_win16
18679 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18680 wine_fn_config_dll ver.dll16 enable_win16
18681 wine_fn_config_dll version enable_version implib
18682 wine_fn_config_test dlls
/version
/tests version_test
18683 wine_fn_config_dll virtdisk enable_virtdisk
18684 wine_fn_config_dll vmm.vxd enable_win16
18685 wine_fn_config_dll vnbt.vxd enable_win16
18686 wine_fn_config_dll vnetbios.vxd enable_win16
18687 wine_fn_config_dll vssapi enable_vssapi
18688 wine_fn_config_dll vtdapi.vxd enable_win16
18689 wine_fn_config_dll vwin32.vxd enable_win16
18690 wine_fn_config_dll w32skrnl enable_win16
18691 wine_fn_config_dll w32sys.dll16 enable_win16
18692 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18693 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
18694 wine_fn_config_dll wbemprox enable_wbemprox clean
18695 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
18696 wine_fn_config_dll webservices enable_webservices implib
18697 wine_fn_config_test dlls
/webservices
/tests webservices_test
18698 wine_fn_config_dll wer enable_wer implib
18699 wine_fn_config_test dlls
/wer
/tests wer_test
18700 wine_fn_config_dll wevtapi enable_wevtapi
18701 wine_fn_config_dll wiaservc enable_wiaservc clean
18702 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
18703 wine_fn_config_dll wimgapi enable_wimgapi
18704 wine_fn_config_dll win32s16.dll16 enable_win16
18705 wine_fn_config_dll win87em.dll16 enable_win16
18706 wine_fn_config_dll winaspi.dll16 enable_win16
18707 wine_fn_config_dll windebug.dll16 enable_win16
18708 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
18709 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
18710 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18711 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
18712 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18713 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18714 wine_fn_config_dll winebus.sys enable_winebus_sys
18715 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18716 wine_fn_config_lib winecrt0
18717 wine_fn_config_dll wined3d enable_wined3d implib
18718 wine_fn_config_dll winegstreamer enable_winegstreamer
18719 wine_fn_config_dll winehid.sys enable_winehid_sys
18720 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18721 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18722 wine_fn_config_dll winemapi enable_winemapi
18723 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18724 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18725 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18726 wine_fn_config_dll wineps16.drv16 enable_win16
18727 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18728 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18729 wine_fn_config_dll winex11.drv enable_winex11_drv
18730 wine_fn_config_dll wing.dll16 enable_win16
18731 wine_fn_config_dll wing32 enable_wing32
18732 wine_fn_config_dll winhttp enable_winhttp clean
,implib
18733 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
18734 wine_fn_config_dll wininet enable_wininet clean
,implib
18735 wine_fn_config_test dlls
/wininet
/tests wininet_test
18736 wine_fn_config_dll winmm enable_winmm clean
,implib
18737 wine_fn_config_test dlls
/winmm
/tests winmm_test
18738 wine_fn_config_dll winnls.dll16 enable_win16
18739 wine_fn_config_dll winnls32 enable_winnls32 implib
18740 wine_fn_config_dll winscard enable_winscard implib
18741 wine_fn_config_dll winsock.dll16 enable_win16
18742 wine_fn_config_dll winspool.drv enable_winspool_drv clean
,implib winspool
18743 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
18744 wine_fn_config_dll winsta enable_winsta
18745 wine_fn_config_dll wintab.dll16 enable_win16
18746 wine_fn_config_dll wintab32 enable_wintab32 implib
18747 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
18748 wine_fn_config_dll wintrust enable_wintrust implib
18749 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
18750 wine_fn_config_dll winusb enable_winusb
18751 wine_fn_config_dll wlanapi enable_wlanapi implib
18752 wine_fn_config_test dlls
/wlanapi
/tests wlanapi_test
18753 wine_fn_config_dll wldap32 enable_wldap32 clean
,implib
18754 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
18755 wine_fn_config_dll wmasf enable_wmasf
18756 wine_fn_config_dll wmi enable_wmi
18757 wine_fn_config_dll wmiutils enable_wmiutils clean
18758 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
18759 wine_fn_config_dll wmp enable_wmp clean
18760 wine_fn_config_test dlls
/wmp
/tests wmp_test
18761 wine_fn_config_dll wmvcore enable_wmvcore implib
18762 wine_fn_config_test dlls
/wmvcore
/tests wmvcore_test
18763 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18764 wine_fn_config_dll wow32 enable_win16 implib
18765 wine_fn_config_dll wpc enable_wpc clean
18766 wine_fn_config_test dlls
/wpc
/tests wpc_test
18767 wine_fn_config_dll wpcap enable_wpcap
18768 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18769 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
18770 wine_fn_config_dll wsdapi enable_wsdapi implib
18771 wine_fn_config_test dlls
/wsdapi
/tests wsdapi_test
18772 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18773 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
18774 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18775 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
18776 wine_fn_config_dll wsock32 enable_wsock32 implib
18777 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18778 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
18779 wine_fn_config_dll wuapi enable_wuapi clean
18780 wine_fn_config_dll wuaueng enable_wuaueng
18781 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18782 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18783 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18784 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18785 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18786 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18787 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18788 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18789 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18790 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18791 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18792 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18793 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18794 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18795 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18796 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18797 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18798 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18799 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18800 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18801 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18802 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
18803 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18804 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18805 wine_fn_config_dll xinput1_1 enable_xinput1_1
18806 wine_fn_config_dll xinput1_2 enable_xinput1_2
18807 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18808 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
18809 wine_fn_config_dll xinput1_4 enable_xinput1_4
18810 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18811 wine_fn_config_dll xmllite enable_xmllite implib
18812 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
18813 wine_fn_config_dll xolehlp enable_xolehlp
18814 wine_fn_config_dll xpsprint enable_xpsprint
18815 wine_fn_config_dll xpssvcs enable_xpssvcs
18816 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
18817 wine_fn_config_makefile include enable_include clean
,install-dev
18818 wine_fn_config_makefile libs
/port enable_libs_port
18819 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,implib
,install-dev
,install-lib
18820 wine_fn_config_makefile libs
/wpp enable_libs_wpp
18821 wine_fn_config_makefile loader enable_loader clean
,install-lib
18822 wine_fn_config_makefile po enable_po clean
18823 wine_fn_config_program arp enable_arp
install
18824 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
18825 wine_fn_config_program attrib enable_attrib clean
,install
18826 wine_fn_config_program cabarc enable_cabarc
install
18827 wine_fn_config_program cacls enable_cacls
install
18828 wine_fn_config_program
clock enable_clock clean
,install
18829 wine_fn_config_program cmd enable_cmd clean
,install
18830 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
18831 wine_fn_config_program conhost enable_conhost
install
18832 wine_fn_config_program control enable_control
install
18833 wine_fn_config_program cscript enable_cscript clean
,install
18834 wine_fn_config_program dpnsvr enable_dpnsvr
install
18835 wine_fn_config_program dxdiag enable_dxdiag clean
,install
18836 wine_fn_config_program eject enable_eject
install
18837 wine_fn_config_program
expand enable_expand
install
18838 wine_fn_config_program explorer enable_explorer clean
,install
18839 wine_fn_config_program extrac32 enable_extrac32
install
18840 wine_fn_config_program findstr enable_findstr
install
18841 wine_fn_config_program fsutil enable_fsutil
install
18842 wine_fn_config_program hh enable_hh
install
18843 wine_fn_config_program hostname enable_hostname clean
,install
18844 wine_fn_config_program icacls enable_icacls
install
18845 wine_fn_config_program icinfo enable_icinfo
install
18846 wine_fn_config_program iexplore enable_iexplore
install
18847 wine_fn_config_program ipconfig enable_ipconfig clean
,install
18848 wine_fn_config_program lodctr enable_lodctr
install
18849 wine_fn_config_program mofcomp enable_mofcomp
install
18850 wine_fn_config_program mshta enable_mshta
install
18851 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18852 wine_fn_config_program msinfo32 enable_msinfo32 clean
,install
18853 wine_fn_config_program net enable_net clean
,install
18854 wine_fn_config_program netsh enable_netsh
install
18855 wine_fn_config_program netstat enable_netstat clean
,install
18856 wine_fn_config_program ngen enable_ngen
install
18857 wine_fn_config_program notepad enable_notepad clean
,install,installbin
,manpage
18858 wine_fn_config_program oleview enable_oleview clean
,install
18859 wine_fn_config_program
ping enable_ping
install
18860 wine_fn_config_program plugplay enable_plugplay
install
18861 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18862 wine_fn_config_program progman enable_progman clean
,install
18863 wine_fn_config_program reg enable_reg clean
,install
18864 wine_fn_config_test programs
/reg
/tests reg.exe_test
18865 wine_fn_config_program regasm enable_regasm
install
18866 wine_fn_config_program regedit enable_regedit clean
,install,installbin
,manpage
18867 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18868 wine_fn_config_program regsvcs enable_regsvcs
install
18869 wine_fn_config_program regsvr32 enable_regsvr32 clean
,install,installbin
,manpage
18870 wine_fn_config_program rpcss enable_rpcss clean
,install
18871 wine_fn_config_program rundll.exe16 enable_win16
install
18872 wine_fn_config_program rundll32 enable_rundll32
install
18873 wine_fn_config_program sc enable_sc
install
18874 wine_fn_config_program schtasks enable_schtasks
install
18875 wine_fn_config_program sdbinst enable_sdbinst
install
18876 wine_fn_config_program secedit enable_secedit
install
18877 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18878 wine_fn_config_program services enable_services clean
,install
18879 wine_fn_config_test programs
/services
/tests services.exe_test
18880 wine_fn_config_program shutdown enable_shutdown
install
18881 wine_fn_config_program spoolsv enable_spoolsv
install
18882 wine_fn_config_program start enable_start clean
,install
18883 wine_fn_config_program subst enable_subst
install
18884 wine_fn_config_program svchost enable_svchost
install
18885 wine_fn_config_program systeminfo enable_systeminfo
install
18886 wine_fn_config_program taskkill enable_taskkill clean
,install
18887 wine_fn_config_program tasklist enable_tasklist
install
18888 wine_fn_config_program taskmgr enable_taskmgr clean
,install
18889 wine_fn_config_program termsv enable_termsv
install
18890 wine_fn_config_program uninstaller enable_uninstaller clean
,install
18891 wine_fn_config_program unlodctr enable_unlodctr
install
18892 wine_fn_config_program view enable_view clean
,install
18893 wine_fn_config_program wevtutil enable_wevtutil
install
18894 wine_fn_config_program wineboot enable_wineboot clean
,install,installbin
,manpage
18895 wine_fn_config_program winebrowser enable_winebrowser
install
18896 wine_fn_config_program winecfg enable_winecfg clean
,install,installbin
,manpage
18897 wine_fn_config_program wineconsole enable_wineconsole clean
,install,installbin
,manpage
18898 wine_fn_config_program winedbg enable_winedbg clean
,install,installbin
,manpage
18899 wine_fn_config_program winedevice enable_winedevice
install
18900 wine_fn_config_program winefile enable_winefile clean
,install,installbin
,manpage
18901 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18902 wine_fn_config_program winemine enable_winemine clean
,install,installbin
,manpage
18903 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18904 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18905 wine_fn_config_program winetest enable_winetest clean
18906 wine_fn_config_program winevdm enable_win16
install
18907 wine_fn_config_program winhelp.exe16 enable_win16
install
18908 wine_fn_config_program winhlp32 enable_winhlp32 clean
,install
18909 wine_fn_config_program winoldap.mod16 enable_win16
install
18910 wine_fn_config_program winver enable_winver
install
18911 wine_fn_config_program wmic enable_wmic clean
,install
18912 wine_fn_config_program wmplayer enable_wmplayer
install
18913 wine_fn_config_program wordpad enable_wordpad clean
,install
18914 wine_fn_config_program
write enable_write clean
,install
18915 wine_fn_config_program wscript enable_wscript clean
,install
18916 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18917 wine_fn_config_program wusa enable_wusa
install
18918 wine_fn_config_program xcopy enable_xcopy clean
,install
18919 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18920 wine_fn_config_makefile server enable_server clean
,install-lib
18921 wine_fn_config_tool tools clean
18922 wine_fn_config_tool tools
/sfnt2fon clean
18923 wine_fn_config_tool tools
/widl clean
,install-dev
18924 wine_fn_config_tool tools
/winebuild clean
,install-dev
18925 wine_fn_config_tool tools
/winedump clean
,install-dev
18926 wine_fn_config_tool tools
/winegcc clean
,install-dev
18927 wine_fn_config_tool tools
/winemaker clean
,install-dev
18928 wine_fn_config_tool tools
/wmc clean
,install-dev
18929 wine_fn_config_tool tools
/wrc clean
,install-dev
18932 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
18933 wine_fn_append_file CONFIGURE_TARGETS
"tags"
18934 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
18935 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
18936 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
18937 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
18938 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
18939 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
18941 if test "x$enable_tools" != xno
18943 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
18944 ac_config_commands
="$ac_config_commands tools/makedep"
18948 ac_config_commands
="$ac_config_commands Makefile"
18951 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
18955 if test "x$enable_maintainer_mode" = xyes
18957 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18958 autoconf --warnings=all
18959 include/config.h.in: include/stamp-h.in
18960 include/stamp-h.in: configure.ac aclocal.m4
18961 autoheader --warnings=all
18962 @echo timestamp > \$@"
18965 if test "x$enable_tools" != xno
18967 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18968 @./config.status tools/makedep
18969 Makefile: tools/makedep$ac_exeext"
18971 wine_fn_append_rule
"\$(MAKEDEP):
18972 @echo \"You need to run make in $TOOLSDIR first\" && false"
18975 if test -n "$with_wine64"
18977 wine_fn_append_rule
"all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18979 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18980 $with_wine64/loader/wine:
18981 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18982 $with_wine64/loader/wine-preloader:
18983 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18985 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18987 WINELOADER_INSTALL
="wine.inf"
18989 wine_fn_append_rule
"install install-lib::
18990 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18992 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18994 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
18995 *) wine_fn_append_rule
"install install-lib::
18996 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18998 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19002 $as_echo " done" >&6
19003 cat >confcache
<<\_ACEOF
19004 # This file is a shell script that caches the results of configure
19005 # tests run on this system so they can be shared between configure
19006 # scripts and configure runs, see configure's option --config-cache.
19007 # It is not useful on other systems. If it contains results you don't
19008 # want to keep, you may remove or edit it.
19010 # config.status only pays attention to the cache file if you give it
19011 # the --recheck option to rerun configure.
19013 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19014 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19015 # following values.
19019 # The following way of writing the cache mishandles newlines in values,
19020 # but we know of no workaround that is simple, portable, and efficient.
19021 # So, we kill variables containing newlines.
19022 # Ultrix sh set writes to stderr and can't be redirected directly,
19023 # and sets the high bit in the cache file unless we assign to the vars.
19025 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19026 eval ac_val
=\$
$ac_var
19030 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19031 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19034 _ | IFS | as_nl
) ;; #(
19035 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19036 *) { eval $ac_var=; unset $ac_var;} ;;
19042 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19043 *${as_nl}ac_space
=\
*)
19044 # `set' does not quote correctly, so add quotes: double-quote
19045 # substitution turns \\\\ into \\, and sed turns \\ into \.
19048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19051 # `set' quotes correctly as required by POSIX, so do not add quotes.
19052 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19061 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19063 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19065 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19066 if test -w "$cache_file"; then
19067 if test "x$cache_file" != "x/dev/null"; then
19068 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19069 $as_echo "$as_me: updating cache $cache_file" >&6;}
19070 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
19071 cat confcache
>"$cache_file"
19073 case $cache_file in #(
19075 mv -f confcache
"$cache_file"$$
&&
19076 mv -f "$cache_file"$$
"$cache_file" ;; #(
19078 mv -f confcache
"$cache_file" ;;
19083 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19084 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19089 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19090 # Let make expand exec_prefix.
19091 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19093 DEFS
=-DHAVE_CONFIG_H
19098 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19099 # 1. Remove the extension, and $U if already installed.
19100 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19101 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19102 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19103 # will be set to the directory where LIBOBJS objects are built.
19104 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19105 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19107 LIBOBJS
=$ac_libobjs
19109 LTLIBOBJS
=$ac_ltlibobjs
19113 : "${CONFIG_STATUS=./config.status}"
19115 ac_clean_files_save
=$ac_clean_files
19116 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19117 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19118 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19120 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19122 # Generated by $as_me.
19123 # Run this file to recreate the current configuration.
19124 # Compiler output produced by configure, useful for debugging
19125 # configure, is in config.log if it exists.
19128 ac_cs_recheck=false
19131 SHELL=\${CONFIG_SHELL-$SHELL}
19134 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19135 ## -------------------- ##
19136 ## M4sh Initialization. ##
19137 ## -------------------- ##
19139 # Be more Bourne compatible
19140 DUALCASE
=1; export DUALCASE
# for MKS sh
19141 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19144 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19145 # is contrary to our usage. Disable this feature.
19146 alias -g '${1+"$@"}'='"$@"'
19147 setopt NO_GLOB_SUBST
19149 case `(set -o) 2>/dev/null` in #(
19161 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19162 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19163 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19164 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19165 # Prefer a ksh shell builtin over an external printf program on Solaris,
19166 # but without wasting forks for bash or zsh.
19167 if test -z "$BASH_VERSION$ZSH_VERSION" \
19168 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19169 as_echo='print
-r --'
19170 as_echo_n='print
-rn --'
19171 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19172 as_echo='printf %s
\n'
19173 as_echo_n='printf %s
'
19175 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19176 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19177 as_echo_n='/usr
/ucb
/echo -n'
19179 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19180 as_echo_n_body='eval
19184 expr "X$arg" : "X\\(.*\\)$as_nl";
19185 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19187 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19189 export as_echo_n_body
19190 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19192 export as_echo_body
19193 as_echo='sh
-c $as_echo_body as_echo
'
19196 # The user is always right.
19197 if test "${PATH_SEPARATOR+set}" != set; then
19199 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19200 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19207 # We need space, tab and new line, in precisely that order. Quoting is
19208 # there to prevent editors from complaining about space-tab.
19209 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19210 # splitting by setting IFS to empty value.)
19213 # Find who we are. Look in the path if we contain no directory separator.
19216 *[\\/]* ) as_myself=$0 ;;
19217 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19218 for as_dir in $PATH
19221 test -z "$as_dir" && as_dir=.
19222 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19228 # We did not find ourselves, most probably we were run as `sh COMMAND'
19229 # in which case we are not to be found in the path.
19230 if test "x$as_myself" = x
; then
19233 if test ! -f "$as_myself"; then
19234 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19238 # Unset variables that we do not need and which cause bugs (e.g. in
19239 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19240 # suppresses any "Segmentation fault" message there. '((' could
19241 # trigger a bug in pdksh 5.2.14.
19242 for as_var
in BASH_ENV ENV MAIL MAILPATH
19243 do eval test x\
${$as_var+set} = xset \
19244 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19257 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19260 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19261 # ----------------------------------------
19262 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19263 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19264 # script with STATUS, using 1 if that was 0.
19267 as_status
=$1; test $as_status -eq 0 && as_status
=1
19269 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19270 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19272 $as_echo "$as_me: error: $2" >&2
19273 as_fn_exit
$as_status
19277 # as_fn_set_status STATUS
19278 # -----------------------
19279 # Set $? to STATUS, without forking.
19280 as_fn_set_status
()
19283 } # as_fn_set_status
19285 # as_fn_exit STATUS
19286 # -----------------
19287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19291 as_fn_set_status
$1
19297 # Portably unset VAR.
19300 { eval $1=; unset $1;}
19302 as_unset
=as_fn_unset
19303 # as_fn_append VAR VALUE
19304 # ----------------------
19305 # Append the text in VALUE to the end of the definition contained in VAR. Take
19306 # advantage of any shell optimizations that allow amortized linear growth over
19307 # repeated appends, instead of the typical quadratic growth present in naive
19309 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19310 eval 'as_fn_append ()
19321 # as_fn_arith ARG...
19322 # ------------------
19323 # Perform arithmetic evaluation on the ARGs, and store the result in the
19324 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19325 # must be portable across $(()) and expr.
19326 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19327 eval 'as_fn_arith ()
19334 as_val
=`expr "$@" || test $? -eq 1`
19339 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19340 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19346 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19347 as_basename
=basename
19352 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19358 as_me
=`$as_basename -- "$0" ||
19359 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19360 X"$0" : 'X\(//\)$' \| \
19361 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19363 sed '/^.*\/\([^/][^/]*\)\/*$/{
19377 # Avoid depending upon Character Ranges.
19378 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19379 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19380 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19381 as_cr_digits
='0123456789'
19382 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19384 ECHO_C
= ECHO_N
= ECHO_T
=
19385 case `echo -n x` in #(((((
19387 case `echo 'xy\c'` in
19388 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19390 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19397 rm -f conf$$ conf$$.exe conf$$.
file
19398 if test -d conf$$.dir
; then
19399 rm -f conf$$.dir
/conf$$.
file
19402 mkdir conf$$.dir
2>/dev
/null
19404 if (echo >conf$$.
file) 2>/dev
/null
; then
19405 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19407 # ... but there are two gotchas:
19408 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19409 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19410 # In both cases, we have to default to `cp -pR'.
19411 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19413 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19421 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19422 rmdir conf$$.dir
2>/dev
/null
19427 # Create "$as_dir" as a directory, including parents if necessary.
19432 -*) as_dir
=.
/$as_dir;;
19434 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19438 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19439 *) as_qdir
=$as_dir;;
19441 as_dirs
="'$as_qdir' $as_dirs"
19442 as_dir
=`$as_dirname -- "$as_dir" ||
19443 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19444 X"$as_dir" : 'X\(//\)[^/]' \| \
19445 X"$as_dir" : 'X\(//\)$' \| \
19446 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19447 $as_echo X"$as_dir" |
19448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19452 /^X\(\/\/\)[^/].*/{
19465 test -d "$as_dir" && break
19467 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19468 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19472 if mkdir
-p .
2>/dev
/null
; then
19473 as_mkdir_p
='mkdir -p "$as_dir"'
19475 test -d .
/-p && rmdir .
/-p
19480 # as_fn_executable_p FILE
19481 # -----------------------
19482 # Test if FILE is an executable regular file.
19483 as_fn_executable_p
()
19485 test -f "$1" && test -x "$1"
19486 } # as_fn_executable_p
19487 as_test_x
='test -x'
19488 as_executable_p
=as_fn_executable_p
19490 # Sed expression to map a string onto a valid CPP name.
19491 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19493 # Sed expression to map a string onto a valid variable name.
19494 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19498 ## ----------------------------------- ##
19499 ## Main body of $CONFIG_STATUS script. ##
19500 ## ----------------------------------- ##
19502 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19505 # Save the log message, to keep $0 and so on meaningful, and to
19506 # report actual input values of CONFIG_FILES etc. instead of their
19507 # values after options handling.
19509 This file was extended by Wine $as_me 2.12, which was
19510 generated by GNU Autoconf 2.69. Invocation command line was
19512 CONFIG_FILES = $CONFIG_FILES
19513 CONFIG_HEADERS = $CONFIG_HEADERS
19514 CONFIG_LINKS = $CONFIG_LINKS
19515 CONFIG_COMMANDS = $CONFIG_COMMANDS
19518 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19523 case $ac_config_files in *"
19524 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19527 case $ac_config_headers in *"
19528 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19533 # Files that config.status was made for.
19534 config_files="$ac_config_files"
19535 config_headers="$ac_config_headers"
19536 config_links="$ac_config_links"
19537 config_commands="$ac_config_commands"
19541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19543 \`$as_me' instantiates files and other configuration actions
19544 from templates according to the current configuration. Unless the files
19545 and actions are specified as TAGs, all are instantiated by default.
19547 Usage: $0 [OPTION]... [TAG]...
19549 -h, --help print this help, then exit
19550 -V, --version print version number and configuration settings, then exit
19551 --config print configuration, then exit
19552 -q, --quiet, --silent
19553 do not print progress messages
19554 -d, --debug don't remove temporary files
19555 --recheck update $as_me by reconfiguring in the same conditions
19556 --file=FILE[:TEMPLATE]
19557 instantiate the configuration file FILE
19558 --header=FILE[:TEMPLATE]
19559 instantiate the configuration header FILE
19561 Configuration files:
19564 Configuration headers:
19567 Configuration links:
19570 Configuration commands:
19573 Report bugs to <wine-devel@winehq.org>.
19574 Wine home page: <http://www.winehq.org>."
19577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19578 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19580 Wine config.status 2.12
19581 configured by $0, generated by GNU Autoconf 2.69,
19582 with options \\"\$ac_cs_config\\"
19584 Copyright (C) 2012 Free Software Foundation, Inc.
19585 This config.status script is free software; the Free Software Foundation
19586 gives unlimited permission to copy, distribute and modify it."
19590 test -n "\$AWK" || AWK=awk
19593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19594 # The default lists apply if the user does not specify any file.
19600 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19601 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19605 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19617 # Handling of the options.
19618 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19620 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19621 $as_echo "$ac_cs_version"; exit ;;
19622 --config |
--confi |
--conf |
--con |
--co |
--c )
19623 $as_echo "$ac_cs_config"; exit ;;
19624 --debug |
--debu |
--deb |
--de |
--d |
-d )
19626 --file |
--fil |
--fi |
--f )
19629 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19630 '') as_fn_error $?
"missing file argument" ;;
19632 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19633 ac_need_defaults
=false
;;
19634 --header |
--heade |
--head |
--hea )
19637 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19639 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19640 ac_need_defaults
=false
;;
19642 # Conflict between --help and --header
19643 as_fn_error $?
"ambiguous option: \`$1'
19644 Try \`$0 --help' for more information.";;
19645 --help |
--hel |
-h )
19646 $as_echo "$ac_cs_usage"; exit ;;
19647 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19648 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19651 # This is an error.
19652 -*) as_fn_error $?
"unrecognized option: \`$1'
19653 Try \`$0 --help' for more information." ;;
19655 *) as_fn_append ac_config_targets
" $1"
19656 ac_need_defaults
=false
;;
19662 ac_configure_extra_args
=
19664 if $ac_cs_silent; then
19666 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19670 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19671 if \$ac_cs_recheck; then
19672 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19674 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19675 CONFIG_SHELL='$SHELL'
19676 export CONFIG_SHELL
19681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19685 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19686 ## Running $as_me. ##
19692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19696 wine_fn_output_makedep ()
19698 as_dir=tools; as_fn_mkdir_p
19699 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19701 wine_fn_output_makefile ()
19703 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19704 `cat $wine_rules_file`
19706 as_fn_error $? "could not create Makefile" "$LINENO" 5
19711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19713 # Handling of arguments.
19714 for ac_config_target
in $ac_config_targets
19716 case $ac_config_target in
19717 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19718 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
19719 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19720 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19721 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19722 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19723 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19724 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19725 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
19726 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19727 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
19728 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
19729 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19731 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19736 # If the user did not use the arguments to specify the items to instantiate,
19737 # then the envvar interface is used. Set only those that are not.
19738 # We use the long form for the default assignment because of an extremely
19739 # bizarre bug on SunOS 4.1.3.
19740 if $ac_need_defaults; then
19741 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19742 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19743 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19744 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19747 # Have a temporary directory for convenience. Make it in the build tree
19748 # simply because there is no reason against having it here, and in addition,
19749 # creating and moving files from /tmp can sometimes cause problems.
19750 # Hook for its removal unless debugging.
19751 # Note that there is a small window in which the directory will not be cleaned:
19752 # after its creation but before its name has been assigned to `$tmp'.
19756 trap 'exit_status=$?
19757 : "${ac_tmp:=$tmp}"
19758 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19760 trap 'as_fn_exit 1' 1 2 13 15
19762 # Create a (secure) tmp directory for tmp files.
19765 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19769 tmp
=.
/conf$$
-$RANDOM
19770 (umask 077 && mkdir
"$tmp")
19771 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19774 # Set up the scripts for CONFIG_FILES section.
19775 # No need to generate them if there are no CONFIG_FILES.
19776 # This happens for instance with `./config.status config.h'.
19777 if test -n "$CONFIG_FILES"; then
19780 ac_cr
=`echo X | tr X '\015'`
19781 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19782 # But we know of no other shell where ac_cr would be empty at this
19783 # point, so we can use a bashism as a fallback.
19784 if test "x$ac_cr" = x
; then
19785 eval ac_cr
=\$
\'\\r
\'
19787 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19788 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19791 ac_cs_awk_cr
=$ac_cr
19794 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19799 echo "cat >conf$$subs.awk <<_ACEOF" &&
19800 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19802 } >conf$$subs.sh ||
19803 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19804 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19806 for ac_last_try in false false false false false :; do
19807 . ./conf$$subs.sh ||
19808 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19810 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19811 if test $ac_delim_n = $ac_delim_num; then
19813 elif $ac_last_try; then
19814 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19816 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19819 rm -f conf$$subs.sh
19821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19822 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19826 s/^/S["/; s
/!.
*/"]=/
19836 s/\(.\{148\}\)..*/\1/
19838 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19843 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19850 s/\(.\{148\}\)..*/\1/
19852 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19856 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19861 ' <conf$$subs.awk | sed '
19866 ' >>$CONFIG_STATUS || ac_write_fail=1
19867 rm -f conf$$subs.awk
19868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19870 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19871 for (key in S) S_is_set[key] = 1
19877 nfields = split(line, field, "@
")
19879 len = length(field[1])
19880 for (i = 2; i < nfields; i++) {
19882 keylen = length(key)
19883 if (S_is_set[key]) {
19885 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19886 len += length(value) + length(field[++i])
19897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19898 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19899 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19902 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19903 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19906 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19907 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19908 # trailing colons and then remove the whole line if VPATH becomes empty
19909 # (actually we leave an empty line to preserve line numbers).
19910 if test "x
$srcdir" = x.; then
19911 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19930 fi # test -n "$CONFIG_FILES"
19932 # Set up the scripts for CONFIG_HEADERS section.
19933 # No need to generate them if there are no CONFIG_HEADERS.
19934 # This happens for instance with `./config.status Makefile'.
19935 if test -n "$CONFIG_HEADERS"; then
19936 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19940 # Transform confdefs.h into an awk script `defines.awk', embedded as
19941 # here-document in config.status, that substitutes the proper values into
19942 # config.h.in to produce config.h.
19944 # Create a delimiter string that does not exist in confdefs.h, to ease
19945 # handling of long lines.
19947 for ac_last_try in false false :; do
19948 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19949 if test -z "$ac_tt"; then
19951 elif $ac_last_try; then
19952 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19954 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19958 # For the awk script, D is an array of macro values keyed by name,
19959 # likewise P contains macro parameters if any. Preserve backslash
19960 # newline sequences.
19962 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19964 s/.\{148\}/&'"$ac_delim"'/g
19967 s/^[ ]*#[ ]*define[ ][ ]*/ /
19974 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19976 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19980 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19981 D["\
1"]=" \
3\\\\\\n
"\\/p
19983 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19988 s/.\{148\}/&'"$ac_delim"'/g
19993 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19996 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19998 ' <confdefs.h | sed '
19999 s/'"$ac_delim"'/"\\\
20000 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20003 for (key in D) D_is_set[key] = 1
20006 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20008 split(line, arg, " ")
20009 if (arg[1] == "#") {
20013 defundef
= substr
(arg
[1], 2)
20016 split(mac1
, mac2
, "(") #)
20018 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
20019 if (D_is_set
[macro
]) {
20020 # Preserve the white space surrounding the "#".
20021 print prefix
"define", macro P
[macro
] D
[macro
]
20024 # Replace #undef with comments. This is necessary, for example,
20025 # in the case of _POSIX_SOURCE, which is predefined and required
20026 # on some systems where configure will not decide to define it.
20027 if (defundef
== "undef") {
20028 print
"/*", prefix defundef
, macro
, "*/"
20036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20037 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
20038 fi # test -n "$CONFIG_HEADERS"
20041 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20046 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20048 case $ac_mode$ac_tag in
20050 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
20051 :[FH
]-) ac_tag
=-:-;;
20052 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20069 -) ac_f
="$ac_tmp/stdin";;
20070 *) # Look for the file first in the build tree, then in the source tree
20071 # (if the path is not absolute). The absolute path cannot be DOS-style,
20072 # because $ac_f cannot contain `:'.
20076 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20078 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20080 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20081 as_fn_append ac_file_inputs
" '$ac_f'"
20084 # Let's still pretend it is `configure' which instantiates (i.e., don't
20085 # use $as_me), people would be surprised to read:
20086 # /* config.h. Generated by config.status. */
20087 configure_input
='Generated from '`
20088 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20090 if test x
"$ac_file" != x-
; then
20091 configure_input
="$ac_file. $configure_input"
20092 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20093 $as_echo "$as_me: creating $ac_file" >&6;}
20095 # Neutralize special characters interpreted by sed in replacement strings.
20096 case $configure_input in #(
20097 *\
&* |
*\|
* |
*\\* )
20098 ac_sed_conf_input
=`$as_echo "$configure_input" |
20099 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20100 *) ac_sed_conf_input
=$configure_input;;
20104 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
20105 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
20110 ac_dir
=`$as_dirname -- "$ac_file" ||
20111 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20112 X"$ac_file" : 'X\(//\)[^/]' \| \
20113 X"$ac_file" : 'X\(//\)$' \| \
20114 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20115 $as_echo X"$ac_file" |
20116 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20120 /^X\(\/\/\)[^/].*/{
20133 as_dir
="$ac_dir"; as_fn_mkdir_p
20137 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20139 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20140 # A ".." for each directory in $ac_dir_suffix.
20141 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20142 case $ac_top_builddir_sub in
20143 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20144 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20147 ac_abs_top_builddir
=$ac_pwd
20148 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20149 # for backward compatibility:
20150 ac_top_builddir
=$ac_top_build_prefix
20153 .
) # We are building in place.
20155 ac_top_srcdir
=$ac_top_builddir_sub
20156 ac_abs_top_srcdir
=$ac_pwd ;;
20157 [\\/]* | ?
:[\\/]* ) # Absolute name.
20158 ac_srcdir
=$srcdir$ac_dir_suffix;
20159 ac_top_srcdir
=$srcdir
20160 ac_abs_top_srcdir
=$srcdir ;;
20161 *) # Relative name.
20162 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20163 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20164 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20166 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20178 # If the template does not know about datarootdir, expand it.
20179 # FIXME: This hack should be removed a few years after 2.60.
20180 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20191 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20192 *datarootdir
*) ac_datarootdir_seen
=yes;;
20193 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20195 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20198 ac_datarootdir_hack='
20199 s&@datadir@&$datadir&g
20200 s&@docdir@&$docdir&g
20201 s&@infodir@&$infodir&g
20202 s&@localedir@&$localedir&g
20203 s&@mandir@&$mandir&g
20204 s&\\\${datarootdir}&$datarootdir&g' ;;
20208 # Neutralize VPATH when `$srcdir' = `.'.
20209 # Shell code in configure.ac might set extrasub.
20210 # FIXME: do we really want to maintain this feature?
20211 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20212 ac_sed_extra="$ac_vpsub
20215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20217 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20218 s|@configure_input@|
$ac_sed_conf_input|
;t t
20219 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20220 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
20221 s
&@srcdir@
&$ac_srcdir&;t t
20222 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20223 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20224 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20225 s
&@builddir@
&$ac_builddir&;t t
20226 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20227 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20228 $ac_datarootdir_hack
20230 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
20231 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
20233 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20234 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
20235 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20236 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
20237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20238 which seems to be undefined. Please make sure it is defined" >&5
20239 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20240 which seems to be undefined. Please make sure it is defined" >&2;}
20242 rm -f "$ac_tmp/stdin"
20244 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20245 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20247 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20253 if test x"$ac_file" != x-; then
20255 $as_echo "/* $configure_input */" \
20256 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20257 } >"$ac_tmp/config.h" \
20258 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20259 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20260 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20261 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20264 mv "$ac_tmp/config.h" "$ac_file" \
20265 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20268 $as_echo "/* $configure_input */" \
20269 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20270 || as_fn_error $? "could not create -" "$LINENO" 5
20278 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
20281 # Prefer the file from the source tree if names are identical.
20282 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20283 ac_source=$srcdir/$ac_source
20286 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20287 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20289 if test ! -r "$ac_source"; then
20290 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20294 # Try a relative symlink, then a hard link, then a copy.
20296 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20297 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20299 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20300 ln "$ac_source" "$ac_file" 2>/dev/null ||
20301 cp -p "$ac_source" "$ac_file" ||
20302 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20305 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20306 $as_echo "$as_me: executing $ac_file commands" >&6;}
20311 case $ac_file$ac_mode in
20312 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20313 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20314 "Makefile":C) wine_fn_output_makefile Makefile ;;
20322 ac_clean_files=$ac_clean_files_save
20324 test $ac_write_fail = 0 ||
20325 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20328 # configure is writing to config.log, and then calls config.status.
20329 # config.status does its own redirection, appending to config.log.
20330 # Unfortunately, on DOS this fails, as config.log is still kept open
20331 # by configure, so config.status won't be able to
write to it
; its
20332 # output is simply discarded. So we exec the FD to /dev/null,
20333 # effectively closing config.log, so it can be properly (re)opened and
20334 # appended to by config.status. When coming back to configure, we
20335 # need to make the FD available again.
20336 if test "$no_create" != yes; then
20338 ac_config_status_args
=
20339 test "$silent" = yes &&
20340 ac_config_status_args
="$ac_config_status_args --quiet"
20342 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20344 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20345 # would make configure fail if this is the last instruction.
20346 $ac_cs_success || as_fn_exit
1
20348 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20350 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20354 if test "$no_create" = "yes"
20360 if test "x$wine_notices" != x
; then
20363 for msg
in $wine_notices; do
20365 if ${msg:+false} :; then :
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20369 $as_echo "$as_me: $msg" >&6;}
20374 for msg
in $wine_warnings; do
20376 if ${msg:+false} :; then :
20380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20381 $as_echo "$as_me: WARNING: $msg" >&2;}
20387 $as_me: Finished. Do '${ac_make}' to compile Wine.