2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.17.
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.17'
584 PACKAGE_STRING
='Wine 2.17'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
636 EXCESS_PRECISION_CFLAGS
708 APPLICATIONSERVICES_LIBS
804 program_transform_name
817 enable_option_checking
821 enable_maintainer_mode
882 enable_api_ms_win_appmodel_identity_l1_1_0
883 enable_api_ms_win_appmodel_runtime_l1_1_1
884 enable_api_ms_win_core_apiquery_l1_1_0
885 enable_api_ms_win_core_appcompat_l1_1_1
886 enable_api_ms_win_core_appinit_l1_1_0
887 enable_api_ms_win_core_atoms_l1_1_0
888 enable_api_ms_win_core_bem_l1_1_0
889 enable_api_ms_win_core_com_l1_1_0
890 enable_api_ms_win_core_com_l1_1_1
891 enable_api_ms_win_core_com_private_l1_1_0
892 enable_api_ms_win_core_console_l1_1_0
893 enable_api_ms_win_core_console_l2_1_0
894 enable_api_ms_win_core_crt_l1_1_0
895 enable_api_ms_win_core_crt_l2_1_0
896 enable_api_ms_win_core_datetime_l1_1_0
897 enable_api_ms_win_core_datetime_l1_1_1
898 enable_api_ms_win_core_debug_l1_1_0
899 enable_api_ms_win_core_debug_l1_1_1
900 enable_api_ms_win_core_delayload_l1_1_0
901 enable_api_ms_win_core_delayload_l1_1_1
902 enable_api_ms_win_core_errorhandling_l1_1_0
903 enable_api_ms_win_core_errorhandling_l1_1_1
904 enable_api_ms_win_core_errorhandling_l1_1_2
905 enable_api_ms_win_core_errorhandling_l1_1_3
906 enable_api_ms_win_core_fibers_l1_1_0
907 enable_api_ms_win_core_fibers_l1_1_1
908 enable_api_ms_win_core_file_l1_1_0
909 enable_api_ms_win_core_file_l1_2_0
910 enable_api_ms_win_core_file_l1_2_1
911 enable_api_ms_win_core_file_l2_1_0
912 enable_api_ms_win_core_file_l2_1_1
913 enable_api_ms_win_core_file_l2_1_2
914 enable_api_ms_win_core_handle_l1_1_0
915 enable_api_ms_win_core_heap_l1_1_0
916 enable_api_ms_win_core_heap_l1_2_0
917 enable_api_ms_win_core_heap_l2_1_0
918 enable_api_ms_win_core_heap_obsolete_l1_1_0
919 enable_api_ms_win_core_interlocked_l1_1_0
920 enable_api_ms_win_core_interlocked_l1_2_0
921 enable_api_ms_win_core_io_l1_1_0
922 enable_api_ms_win_core_io_l1_1_1
923 enable_api_ms_win_core_job_l1_1_0
924 enable_api_ms_win_core_job_l2_1_0
925 enable_api_ms_win_core_kernel32_legacy_l1_1_0
926 enable_api_ms_win_core_kernel32_legacy_l1_1_1
927 enable_api_ms_win_core_kernel32_private_l1_1_1
928 enable_api_ms_win_core_libraryloader_l1_1_0
929 enable_api_ms_win_core_libraryloader_l1_1_1
930 enable_api_ms_win_core_libraryloader_l1_2_0
931 enable_api_ms_win_core_libraryloader_l1_2_2
932 enable_api_ms_win_core_localization_l1_1_0
933 enable_api_ms_win_core_localization_l1_2_0
934 enable_api_ms_win_core_localization_l1_2_1
935 enable_api_ms_win_core_localization_l2_1_0
936 enable_api_ms_win_core_localization_obsolete_l1_1_0
937 enable_api_ms_win_core_localization_obsolete_l1_2_0
938 enable_api_ms_win_core_localization_obsolete_l1_3_0
939 enable_api_ms_win_core_localization_private_l1_1_0
940 enable_api_ms_win_core_localregistry_l1_1_0
941 enable_api_ms_win_core_memory_l1_1_0
942 enable_api_ms_win_core_memory_l1_1_1
943 enable_api_ms_win_core_memory_l1_1_2
944 enable_api_ms_win_core_misc_l1_1_0
945 enable_api_ms_win_core_namedpipe_l1_1_0
946 enable_api_ms_win_core_namedpipe_l1_2_0
947 enable_api_ms_win_core_namespace_l1_1_0
948 enable_api_ms_win_core_normalization_l1_1_0
949 enable_api_ms_win_core_path_l1_1_0
950 enable_api_ms_win_core_privateprofile_l1_1_1
951 enable_api_ms_win_core_processenvironment_l1_1_0
952 enable_api_ms_win_core_processenvironment_l1_2_0
953 enable_api_ms_win_core_processthreads_l1_1_0
954 enable_api_ms_win_core_processthreads_l1_1_1
955 enable_api_ms_win_core_processthreads_l1_1_2
956 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
957 enable_api_ms_win_core_profile_l1_1_0
958 enable_api_ms_win_core_psapi_ansi_l1_1_0
959 enable_api_ms_win_core_psapi_l1_1_0
960 enable_api_ms_win_core_psapi_obsolete_l1_1_0
961 enable_api_ms_win_core_quirks_l1_1_0
962 enable_api_ms_win_core_realtime_l1_1_0
963 enable_api_ms_win_core_registry_l1_1_0
964 enable_api_ms_win_core_registry_l2_1_0
965 enable_api_ms_win_core_registryuserspecific_l1_1_0
966 enable_api_ms_win_core_rtlsupport_l1_1_0
967 enable_api_ms_win_core_rtlsupport_l1_2_0
968 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
969 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
970 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
971 enable_api_ms_win_core_sidebyside_l1_1_0
972 enable_api_ms_win_core_string_l1_1_0
973 enable_api_ms_win_core_string_l2_1_0
974 enable_api_ms_win_core_string_obsolete_l1_1_0
975 enable_api_ms_win_core_stringansi_l1_1_0
976 enable_api_ms_win_core_synch_l1_1_0
977 enable_api_ms_win_core_synch_l1_2_0
978 enable_api_ms_win_core_synch_l1_2_1
979 enable_api_ms_win_core_sysinfo_l1_1_0
980 enable_api_ms_win_core_sysinfo_l1_2_0
981 enable_api_ms_win_core_sysinfo_l1_2_1
982 enable_api_ms_win_core_threadpool_l1_1_0
983 enable_api_ms_win_core_threadpool_l1_2_0
984 enable_api_ms_win_core_threadpool_legacy_l1_1_0
985 enable_api_ms_win_core_threadpool_private_l1_1_0
986 enable_api_ms_win_core_timezone_l1_1_0
987 enable_api_ms_win_core_toolhelp_l1_1_0
988 enable_api_ms_win_core_url_l1_1_0
989 enable_api_ms_win_core_util_l1_1_0
990 enable_api_ms_win_core_version_l1_1_0
991 enable_api_ms_win_core_version_l1_1_1
992 enable_api_ms_win_core_version_private_l1_1_0
993 enable_api_ms_win_core_versionansi_l1_1_0
994 enable_api_ms_win_core_windowserrorreporting_l1_1_0
995 enable_api_ms_win_core_winrt_error_l1_1_0
996 enable_api_ms_win_core_winrt_error_l1_1_1
997 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
998 enable_api_ms_win_core_winrt_l1_1_0
999 enable_api_ms_win_core_winrt_registration_l1_1_0
1000 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1001 enable_api_ms_win_core_winrt_string_l1_1_0
1002 enable_api_ms_win_core_wow64_l1_1_0
1003 enable_api_ms_win_core_wow64_l1_1_1
1004 enable_api_ms_win_core_xstate_l1_1_0
1005 enable_api_ms_win_core_xstate_l2_1_0
1006 enable_api_ms_win_crt_conio_l1_1_0
1007 enable_api_ms_win_crt_convert_l1_1_0
1008 enable_api_ms_win_crt_environment_l1_1_0
1009 enable_api_ms_win_crt_filesystem_l1_1_0
1010 enable_api_ms_win_crt_heap_l1_1_0
1011 enable_api_ms_win_crt_locale_l1_1_0
1012 enable_api_ms_win_crt_math_l1_1_0
1013 enable_api_ms_win_crt_multibyte_l1_1_0
1014 enable_api_ms_win_crt_private_l1_1_0
1015 enable_api_ms_win_crt_process_l1_1_0
1016 enable_api_ms_win_crt_runtime_l1_1_0
1017 enable_api_ms_win_crt_stdio_l1_1_0
1018 enable_api_ms_win_crt_string_l1_1_0
1019 enable_api_ms_win_crt_time_l1_1_0
1020 enable_api_ms_win_crt_utility_l1_1_0
1021 enable_api_ms_win_devices_config_l1_1_1
1022 enable_api_ms_win_devices_query_l1_1_1
1023 enable_api_ms_win_downlevel_advapi32_l1_1_0
1024 enable_api_ms_win_downlevel_advapi32_l2_1_0
1025 enable_api_ms_win_downlevel_normaliz_l1_1_0
1026 enable_api_ms_win_downlevel_ole32_l1_1_0
1027 enable_api_ms_win_downlevel_shell32_l1_1_0
1028 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1029 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1030 enable_api_ms_win_downlevel_user32_l1_1_0
1031 enable_api_ms_win_downlevel_version_l1_1_0
1032 enable_api_ms_win_dx_d3dkmt_l1_1_0
1033 enable_api_ms_win_eventing_classicprovider_l1_1_0
1034 enable_api_ms_win_eventing_consumer_l1_1_0
1035 enable_api_ms_win_eventing_controller_l1_1_0
1036 enable_api_ms_win_eventing_legacy_l1_1_0
1037 enable_api_ms_win_eventing_provider_l1_1_0
1038 enable_api_ms_win_eventlog_legacy_l1_1_0
1039 enable_api_ms_win_mm_joystick_l1_1_0
1040 enable_api_ms_win_mm_misc_l1_1_1
1041 enable_api_ms_win_mm_mme_l1_1_0
1042 enable_api_ms_win_mm_time_l1_1_0
1043 enable_api_ms_win_ntuser_dc_access_l1_1_0
1044 enable_api_ms_win_ntuser_rectangle_l1_1_0
1045 enable_api_ms_win_power_base_l1_1_0
1046 enable_api_ms_win_power_setting_l1_1_0
1047 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1048 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1049 enable_api_ms_win_security_audit_l1_1_1
1050 enable_api_ms_win_security_base_l1_1_0
1051 enable_api_ms_win_security_base_l1_2_0
1052 enable_api_ms_win_security_base_private_l1_1_1
1053 enable_api_ms_win_security_credentials_l1_1_0
1054 enable_api_ms_win_security_grouppolicy_l1_1_0
1055 enable_api_ms_win_security_lsalookup_l1_1_0
1056 enable_api_ms_win_security_lsalookup_l1_1_1
1057 enable_api_ms_win_security_lsalookup_l2_1_1
1058 enable_api_ms_win_security_lsapolicy_l1_1_0
1059 enable_api_ms_win_security_provider_l1_1_0
1060 enable_api_ms_win_security_sddl_l1_1_0
1061 enable_api_ms_win_security_systemfunctions_l1_1_0
1062 enable_api_ms_win_service_core_l1_1_0
1063 enable_api_ms_win_service_core_l1_1_1
1064 enable_api_ms_win_service_management_l1_1_0
1065 enable_api_ms_win_service_management_l2_1_0
1066 enable_api_ms_win_service_private_l1_1_1
1067 enable_api_ms_win_service_winsvc_l1_1_0
1068 enable_api_ms_win_service_winsvc_l1_2_0
1069 enable_api_ms_win_shell_shellcom_l1_1_0
1070 enable_api_ms_win_shell_shellfolders_l1_1_0
1083 enable_bluetoothapis
1116 enable_d3dcompiler_33
1117 enable_d3dcompiler_34
1118 enable_d3dcompiler_35
1119 enable_d3dcompiler_36
1120 enable_d3dcompiler_37
1121 enable_d3dcompiler_38
1122 enable_d3dcompiler_39
1123 enable_d3dcompiler_40
1124 enable_d3dcompiler_41
1125 enable_d3dcompiler_42
1126 enable_d3dcompiler_43
1127 enable_d3dcompiler_46
1128 enable_d3dcompiler_47
1207 enable_explorerframe
1208 enable_ext_ms_win_authz_context_l1_1_0
1209 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1210 enable_ext_ms_win_gdi_dc_create_l1_1_1
1211 enable_ext_ms_win_gdi_dc_l1_2_0
1212 enable_ext_ms_win_gdi_devcaps_l1_1_0
1213 enable_ext_ms_win_gdi_draw_l1_1_1
1214 enable_ext_ms_win_gdi_render_l1_1_0
1215 enable_ext_ms_win_kernel32_package_current_l1_1_0
1216 enable_ext_ms_win_kernel32_package_l1_1_1
1217 enable_ext_ms_win_ntuser_message_l1_1_1
1218 enable_ext_ms_win_ntuser_private_l1_1_1
1219 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1220 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1221 enable_ext_ms_win_ntuser_window_l1_1_1
1222 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1223 enable_ext_ms_win_ras_rasapi32_l1_1_0
1224 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1225 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1226 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1227 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1228 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1229 enable_ext_ms_win_security_credui_l1_1_0
1230 enable_ext_ms_win_security_cryptui_l1_1_0
1400 enable_photometadatahandler
1465 enable_uiautomationcore
1495 enable_windowscodecs
1496 enable_windowscodecsext
1498 enable_wineandroid_drv
1500 enable_winecoreaudio_drv
1502 enable_winegstreamer
1504 enable_winejoystick_drv
1510 enable_winepulse_drv
1511 enable_wineqtdecoder
1583 enable_aspnet_regiis
1620 enable_presentationfontcache
1633 enable_servicemodelreg
1656 enable_winemenubuilder
1658 enable_winemsibuilder
1673 ac_precious_vars
='build_alias
1730 # Initialize some variables set by options.
1732 ac_init_version
=false
1733 ac_unrecognized_opts
=
1734 ac_unrecognized_sep
=
1735 # The variables have the same names as the options, with
1736 # dashes changed to underlines.
1737 cache_file
=/dev
/null
1744 program_transform_name
=s
,x
,x
,
1752 # Installation directory options.
1753 # These are left unexpanded so users can "make install exec_prefix=/foo"
1754 # and all the variables that are supposed to be based on exec_prefix
1755 # by default will actually change.
1756 # Use braces instead of parens because sh, perl, etc. also accept them.
1757 # (The list follows the same order as the GNU Coding Standards.)
1758 bindir
='${exec_prefix}/bin'
1759 sbindir
='${exec_prefix}/sbin'
1760 libexecdir
='${exec_prefix}/libexec'
1761 datarootdir
='${prefix}/share'
1762 datadir
='${datarootdir}'
1763 sysconfdir
='${prefix}/etc'
1764 sharedstatedir
='${prefix}/com'
1765 localstatedir
='${prefix}/var'
1766 runstatedir
='${localstatedir}/run'
1767 includedir
='${prefix}/include'
1768 oldincludedir
='/usr/include'
1769 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1770 infodir
='${datarootdir}/info'
1775 libdir
='${exec_prefix}/lib'
1776 localedir
='${datarootdir}/locale'
1777 mandir
='${datarootdir}/man'
1783 # If the previous option needs an argument, assign it.
1784 if test -n "$ac_prev"; then
1785 eval $ac_prev=\
$ac_option
1791 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1796 # Accept the important Cygnus configure options, so we can diagnose typos.
1798 case $ac_dashdash$ac_option in
1802 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1804 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1805 bindir
=$ac_optarg ;;
1807 -build |
--build |
--buil |
--bui |
--bu)
1808 ac_prev
=build_alias
;;
1809 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1810 build_alias
=$ac_optarg ;;
1812 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1813 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1814 ac_prev
=cache_file
;;
1815 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1816 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1817 cache_file
=$ac_optarg ;;
1819 --config-cache |
-C)
1820 cache_file
=config.cache
;;
1822 -datadir |
--datadir |
--datadi |
--datad)
1824 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1825 datadir
=$ac_optarg ;;
1827 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1828 |
--dataroo |
--dataro |
--datar)
1829 ac_prev
=datarootdir
;;
1830 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1831 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1832 datarootdir
=$ac_optarg ;;
1834 -disable-* |
--disable-*)
1835 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1836 # Reject names that are not valid shell variable names.
1837 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1838 as_fn_error $?
"invalid feature name: $ac_useropt"
1839 ac_useropt_orig
=$ac_useropt
1840 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1841 case $ac_user_opts in
1843 "enable_
$ac_useropt"
1845 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1846 ac_unrecognized_sep
=', ';;
1848 eval enable_
$ac_useropt=no
;;
1850 -docdir |
--docdir |
--docdi |
--doc |
--do)
1852 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1853 docdir
=$ac_optarg ;;
1855 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1857 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1858 dvidir
=$ac_optarg ;;
1860 -enable-* |
--enable-*)
1861 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1862 # Reject names that are not valid shell variable names.
1863 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1864 as_fn_error $?
"invalid feature name: $ac_useropt"
1865 ac_useropt_orig
=$ac_useropt
1866 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1867 case $ac_user_opts in
1869 "enable_
$ac_useropt"
1871 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1872 ac_unrecognized_sep
=', ';;
1874 eval enable_
$ac_useropt=\
$ac_optarg ;;
1876 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1877 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1878 |
--exec |
--exe |
--ex)
1879 ac_prev
=exec_prefix
;;
1880 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1881 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1882 |
--exec=* |
--exe=* |
--ex=*)
1883 exec_prefix
=$ac_optarg ;;
1885 -gas |
--gas |
--ga |
--g)
1886 # Obsolete; use --with-gas.
1889 -help |
--help |
--hel |
--he |
-h)
1890 ac_init_help
=long
;;
1891 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1892 ac_init_help
=recursive
;;
1893 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1894 ac_init_help
=short
;;
1896 -host |
--host |
--hos |
--ho)
1897 ac_prev
=host_alias
;;
1898 -host=* |
--host=* |
--hos=* |
--ho=*)
1899 host_alias
=$ac_optarg ;;
1901 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1903 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1905 htmldir
=$ac_optarg ;;
1907 -includedir |
--includedir |
--includedi |
--included |
--include \
1908 |
--includ |
--inclu |
--incl |
--inc)
1909 ac_prev
=includedir
;;
1910 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1911 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1912 includedir
=$ac_optarg ;;
1914 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1916 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1917 infodir
=$ac_optarg ;;
1919 -libdir |
--libdir |
--libdi |
--libd)
1921 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1922 libdir
=$ac_optarg ;;
1924 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1925 |
--libexe |
--libex |
--libe)
1926 ac_prev
=libexecdir
;;
1927 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1928 |
--libexe=* |
--libex=* |
--libe=*)
1929 libexecdir
=$ac_optarg ;;
1931 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1932 ac_prev
=localedir
;;
1933 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1934 localedir
=$ac_optarg ;;
1936 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1937 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1938 ac_prev
=localstatedir
;;
1939 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1940 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1941 localstatedir
=$ac_optarg ;;
1943 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1945 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1946 mandir
=$ac_optarg ;;
1948 -nfp |
--nfp |
--nf)
1949 # Obsolete; use --without-fp.
1952 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1953 |
--no-cr |
--no-c |
-n)
1956 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1957 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1960 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1961 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1962 |
--oldin |
--oldi |
--old |
--ol |
--o)
1963 ac_prev
=oldincludedir
;;
1964 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1965 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1966 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1967 oldincludedir
=$ac_optarg ;;
1969 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1971 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1972 prefix
=$ac_optarg ;;
1974 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1975 |
--program-pre |
--program-pr |
--program-p)
1976 ac_prev
=program_prefix
;;
1977 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1978 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1979 program_prefix
=$ac_optarg ;;
1981 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1982 |
--program-suf |
--program-su |
--program-s)
1983 ac_prev
=program_suffix
;;
1984 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1985 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1986 program_suffix
=$ac_optarg ;;
1988 -program-transform-name |
--program-transform-name \
1989 |
--program-transform-nam |
--program-transform-na \
1990 |
--program-transform-n |
--program-transform- \
1991 |
--program-transform |
--program-transfor \
1992 |
--program-transfo |
--program-transf \
1993 |
--program-trans |
--program-tran \
1994 |
--progr-tra |
--program-tr |
--program-t)
1995 ac_prev
=program_transform_name
;;
1996 -program-transform-name=* |
--program-transform-name=* \
1997 |
--program-transform-nam=* |
--program-transform-na=* \
1998 |
--program-transform-n=* |
--program-transform-=* \
1999 |
--program-transform=* |
--program-transfor=* \
2000 |
--program-transfo=* |
--program-transf=* \
2001 |
--program-trans=* |
--program-tran=* \
2002 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2003 program_transform_name
=$ac_optarg ;;
2005 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2007 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2008 pdfdir
=$ac_optarg ;;
2010 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2012 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2015 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2016 |
-silent |
--silent |
--silen |
--sile |
--sil)
2019 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2020 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2021 |
--run |
--ru |
--r)
2022 ac_prev
=runstatedir
;;
2023 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2024 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2025 |
--run=* |
--ru=* |
--r=*)
2026 runstatedir
=$ac_optarg ;;
2028 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2030 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2032 sbindir
=$ac_optarg ;;
2034 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2035 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2036 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2038 ac_prev
=sharedstatedir
;;
2039 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2040 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2041 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2043 sharedstatedir
=$ac_optarg ;;
2045 -site |
--site |
--sit)
2047 -site=* |
--site=* |
--sit=*)
2050 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2052 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2053 srcdir
=$ac_optarg ;;
2055 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2056 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2057 ac_prev
=sysconfdir
;;
2058 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2059 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2060 sysconfdir
=$ac_optarg ;;
2062 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2063 ac_prev
=target_alias
;;
2064 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2065 target_alias
=$ac_optarg ;;
2067 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2070 -version |
--version |
--versio |
--versi |
--vers |
-V)
2071 ac_init_version
=: ;;
2074 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2075 # Reject names that are not valid shell variable names.
2076 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2077 as_fn_error $?
"invalid package name: $ac_useropt"
2078 ac_useropt_orig
=$ac_useropt
2079 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2080 case $ac_user_opts in
2084 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2085 ac_unrecognized_sep
=', ';;
2087 eval with_
$ac_useropt=\
$ac_optarg ;;
2089 -without-* |
--without-*)
2090 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2091 # Reject names that are not valid shell variable names.
2092 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2093 as_fn_error $?
"invalid package name: $ac_useropt"
2094 ac_useropt_orig
=$ac_useropt
2095 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2096 case $ac_user_opts in
2100 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2101 ac_unrecognized_sep
=', ';;
2103 eval with_
$ac_useropt=no
;;
2106 # Obsolete; use --with-x.
2109 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2110 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2111 ac_prev
=x_includes
;;
2112 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2113 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2114 x_includes
=$ac_optarg ;;
2116 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2117 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2118 ac_prev
=x_libraries
;;
2119 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2120 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2121 x_libraries
=$ac_optarg ;;
2123 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2124 Try \`$0 --help' for more information"
2128 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2129 # Reject names that are not valid shell variable names.
2130 case $ac_envvar in #(
2131 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2132 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2134 eval $ac_envvar=\
$ac_optarg
2135 export $ac_envvar ;;
2138 # FIXME: should be removed in autoconf 3.0.
2139 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2140 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2141 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2142 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2148 if test -n "$ac_prev"; then
2149 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2150 as_fn_error $?
"missing argument to $ac_option"
2153 if test -n "$ac_unrecognized_opts"; then
2154 case $enable_option_checking in
2156 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2157 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2161 # Check all directory arguments for consistency.
2162 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2163 datadir sysconfdir sharedstatedir localstatedir includedir \
2164 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2165 libdir localedir mandir runstatedir
2167 eval ac_val
=\$
$ac_var
2168 # Remove trailing slashes.
2171 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2172 eval $ac_var=\
$ac_val;;
2174 # Be sure to have absolute directory names.
2176 [\\/$
]* | ?
:[\\/]* ) continue;;
2177 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2179 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2182 # There might be people who depend on the old broken behavior: `$host'
2183 # used to hold the argument of --host etc.
2184 # FIXME: To remove some day.
2187 target
=$target_alias
2189 # FIXME: To remove some day.
2190 if test "x$host_alias" != x
; then
2191 if test "x$build_alias" = x
; then
2192 cross_compiling
=maybe
2193 elif test "x$build_alias" != "x$host_alias"; then
2199 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2201 test "$silent" = yes && exec 6>/dev
/null
2204 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2205 ac_ls_di
=`ls -di .` &&
2206 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2207 as_fn_error $?
"working directory cannot be determined"
2208 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2209 as_fn_error $?
"pwd does not report name of working directory"
2212 # Find the source files, if location was not specified.
2213 if test -z "$srcdir"; then
2214 ac_srcdir_defaulted
=yes
2215 # Try the directory containing this script, then the parent directory.
2216 ac_confdir
=`$as_dirname -- "$as_myself" ||
2217 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2218 X"$as_myself" : 'X\(//\)[^/]' \| \
2219 X"$as_myself" : 'X\(//\)$' \| \
2220 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2221 $as_echo X"$as_myself" |
2222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2240 if test ! -r "$srcdir/$ac_unique_file"; then
2244 ac_srcdir_defaulted
=no
2246 if test ! -r "$srcdir/$ac_unique_file"; then
2247 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2248 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2250 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2252 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2254 # When building in place, set srcdir=.
2255 if test "$ac_abs_confdir" = "$ac_pwd"; then
2258 # Remove unnecessary trailing slashes from srcdir.
2259 # Double slashes in file names in object file debugging info
2260 # mess up M-x gdb in Emacs.
2262 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2264 for ac_var
in $ac_precious_vars; do
2265 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2266 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2267 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2268 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2272 # Report the --help message.
2274 if test "$ac_init_help" = "long"; then
2275 # Omit some internal or obsolete options to make the list less imposing.
2276 # This message is too long to be a string in the A/UX 3.1 sh.
2278 \`configure' configures Wine 2.17 to adapt to many kinds of systems.
2280 Usage: $0 [OPTION]... [VAR=VALUE]...
2282 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2283 VAR=VALUE. See below for descriptions of some of the useful variables.
2285 Defaults for the options are specified in brackets.
2288 -h, --help display this help and exit
2289 --help=short display options specific to this package
2290 --help=recursive display the short help of all the included packages
2291 -V, --version display version information and exit
2292 -q, --quiet, --silent do not print \`checking ...' messages
2293 --cache-file=FILE cache test results in FILE [disabled]
2294 -C, --config-cache alias for \`--cache-file=config.cache'
2295 -n, --no-create do not create output files
2296 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2298 Installation directories:
2299 --prefix=PREFIX install architecture-independent files in PREFIX
2300 [$ac_default_prefix]
2301 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2304 By default, \`make install' will install all the files in
2305 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2306 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2307 for instance \`--prefix=\$HOME'.
2309 For better control, use the options below.
2311 Fine tuning of the installation directories:
2312 --bindir=DIR user executables [EPREFIX/bin]
2313 --sbindir=DIR system admin executables [EPREFIX/sbin]
2314 --libexecdir=DIR program executables [EPREFIX/libexec]
2315 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2316 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2317 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2318 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2319 --libdir=DIR object code libraries [EPREFIX/lib]
2320 --includedir=DIR C header files [PREFIX/include]
2321 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2322 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2323 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2324 --infodir=DIR info documentation [DATAROOTDIR/info]
2325 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2326 --mandir=DIR man documentation [DATAROOTDIR/man]
2327 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2328 --htmldir=DIR html documentation [DOCDIR]
2329 --dvidir=DIR dvi documentation [DOCDIR]
2330 --pdfdir=DIR pdf documentation [DOCDIR]
2331 --psdir=DIR ps documentation [DOCDIR]
2337 --x-includes=DIR X include files are
in DIR
2338 --x-libraries=DIR X library files are
in DIR
2341 --build=BUILD configure
for building on BUILD
[guessed
]
2342 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2346 if test -n "$ac_init_help"; then
2347 case $ac_init_help in
2348 short | recursive
) echo "Configuration of Wine 2.17:";;
2353 --disable-option-checking ignore unrecognized
--enable/--with options
2354 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2355 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2356 --disable-win16 do not include Win16 support
2357 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2359 --disable-tests do not build the regression tests
2360 --enable-maintainer-mode
2361 enable maintainer-specific build rules
2362 --disable-largefile omit support for large files
2365 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2366 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2367 --without-alsa do not use the Alsa sound support
2368 --without-capi do not use CAPI (ISDN support)
2369 --without-cms do not use CMS (color management support)
2370 --without-coreaudio do not use the CoreAudio sound support
2371 --without-cups do not use CUPS
2372 --without-curses do not use (n)curses
2373 --without-dbus do not use DBus (dynamic device support)
2374 --without-fontconfig do not use fontconfig
2375 --without-freetype do not use the FreeType library
2376 --without-gettext do not use gettext
2377 --with-gettextpo use the GetTextPO library to rebuild po files
2378 --without-gphoto do not use gphoto (Digital Camera support)
2379 --without-glu do not use the GLU library
2380 --without-gnutls do not use GnuTLS (schannel support)
2381 --without-gsm do not use libgsm (GSM 06.10 codec support)
2382 --without-gstreamer do not use GStreamer (codecs support)
2383 --without-hal do not use HAL (dynamic device support)
2384 --without-jpeg do not use JPEG
2385 --without-ldap do not use LDAP
2386 --without-mpg123 do not use the mpg123 library
2387 --without-netapi do not use the Samba NetAPI library
2388 --without-openal do not use OpenAL
2389 --without-opencl do not use OpenCL
2390 --without-opengl do not use OpenGL
2391 --without-osmesa do not use the OSMesa library
2392 --without-oss do not use the OSS sound support
2393 --without-pcap do not use the Packet Capture library
2394 --without-png do not use PNG
2395 --without-pthread do not use the pthread library
2396 --without-pulse do not use PulseAudio sound support
2397 --without-sane do not use SANE (scanner support)
2398 --without-tiff do not use TIFF
2399 --without-udev do not use udev (plug and play support)
2400 --without-v4l do not use v4l1 (v4l support)
2401 --without-xcomposite do not use the Xcomposite extension
2402 --without-xcursor do not use the Xcursor extension
2403 --without-xfixes do not use Xfixes for clipboard change notifications
2404 --without-xinerama do not use Xinerama (multi-monitor support)
2405 --without-xinput do not use the Xinput extension
2406 --without-xinput2 do not use the Xinput 2 extension
2407 --without-xml do not use XML
2408 --without-xrandr do not use Xrandr (resolution changes)
2409 --without-xrender do not use the Xrender extension
2410 --without-xshape do not use the Xshape extension
2411 --without-xshm do not use XShm (shared memory extension)
2412 --without-xslt do not use XSLT
2413 --without-xxf86vm do not use XFree video mode extension
2414 --without-zlib do not use Zlib (data compression)
2415 --with-wine-tools=DIR use Wine tools from directory DIR
2416 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2417 --with-x use the X Window System
2419 Some influential environment variables:
2420 CC C compiler command
2421 CFLAGS C compiler flags
2422 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2423 nonstandard directory <lib dir>
2424 LIBS libraries to pass to the linker, e.g. -l<library>
2425 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2426 you have headers in a nonstandard directory <include dir>
2427 CXX C++ compiler command
2428 CXXFLAGS C++ compiler flags
2430 XMKMF Path to xmkmf, Makefile generator for X Window System
2431 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2432 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2433 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2434 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2435 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2436 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2437 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2438 HAL_LIBS Linker flags for hal, overriding pkg-config
2440 C compiler flags for gnutls, overriding pkg-config
2441 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2442 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2443 SANE_LIBS Linker flags for libsane, overriding pkg-config
2445 C compiler flags for libgphoto2, overriding pkg-config
2447 Linker flags for libgphoto2, overriding pkg-config
2449 C compiler flags for libgphoto2_port, overriding pkg-config
2451 Linker flags for libgphoto2_port, overriding pkg-config
2453 C compiler flags for lcms2, overriding pkg-config
2454 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2456 C compiler flags for freetype2, overriding pkg-config
2458 Linker flags for freetype2, overriding pkg-config
2460 C compiler flags for libpulse, overriding pkg-config
2461 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2463 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2464 gstreamer-audio-1.0, overriding pkg-config
2466 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2467 gstreamer-audio-1.0, overriding pkg-config
2468 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2469 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2471 C compiler flags for capi20, overriding pkg-config
2472 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2474 C compiler flags for fontconfig, overriding pkg-config
2476 Linker flags for fontconfig, overriding pkg-config
2477 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2478 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2479 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2480 PNG_LIBS Linker flags for libpng, overriding pkg-config
2481 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2482 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2484 C compiler flags for libmpg123, overriding pkg-config
2485 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2487 C compiler flags for netapi, overriding pkg-config
2488 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2489 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2490 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2492 Use these variables to override the choices made by `configure' or to
help
2493 it to
find libraries and programs with nonstandard names
/locations.
2495 Report bugs to
<wine-devel@winehq.org
>.
2496 Wine home page
: <http
://www.winehq.org
>.
2501 if test "$ac_init_help" = "recursive"; then
2502 # If there are subdirs, report their specific --help.
2503 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2504 test -d "$ac_dir" ||
2505 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2510 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2512 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2513 # A ".." for each directory in $ac_dir_suffix.
2514 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2515 case $ac_top_builddir_sub in
2516 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2517 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2520 ac_abs_top_builddir
=$ac_pwd
2521 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2522 # for backward compatibility:
2523 ac_top_builddir
=$ac_top_build_prefix
2526 .
) # We are building in place.
2528 ac_top_srcdir
=$ac_top_builddir_sub
2529 ac_abs_top_srcdir
=$ac_pwd ;;
2530 [\\/]* | ?
:[\\/]* ) # Absolute name.
2531 ac_srcdir
=$srcdir$ac_dir_suffix;
2532 ac_top_srcdir
=$srcdir
2533 ac_abs_top_srcdir
=$srcdir ;;
2535 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2536 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2537 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2539 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2541 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2542 # Check for guested configure.
2543 if test -f "$ac_srcdir/configure.gnu"; then
2545 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2546 elif test -f "$ac_srcdir/configure"; then
2548 $SHELL "$ac_srcdir/configure" --help=recursive
2550 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2552 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2556 test -n "$ac_init_help" && exit $ac_status
2557 if $ac_init_version; then
2560 generated by GNU Autoconf
2.69
2562 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2563 This configure
script is free software
; the Free Software Foundation
2564 gives unlimited permission to copy
, distribute and modify it.
2569 ## ------------------------ ##
2570 ## Autoconf initialization. ##
2571 ## ------------------------ ##
2573 # ac_fn_c_try_compile LINENO
2574 # --------------------------
2575 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2576 ac_fn_c_try_compile
()
2578 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2579 rm -f conftest.
$ac_objext
2580 if { { ac_try
="$ac_compile"
2582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2583 *) ac_try_echo=$ac_try;;
2585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2586 $as_echo "$ac_try_echo"; } >&5
2587 (eval "$ac_compile") 2>conftest.err
2589 if test -s conftest.err; then
2590 grep -v '^ *+' conftest.err >conftest.er1
2591 cat conftest.er1 >&5
2592 mv -f conftest.er1 conftest.err
2594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2595 test $ac_status = 0; } && {
2596 test -z "$ac_c_werror_flag" ||
2597 test ! -s conftest.err
2598 } && test -s conftest.$ac_objext; then :
2601 $as_echo "$as_me: failed program was:" >&5
2602 sed 's/^/| /' conftest.$ac_ext >&5
2606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2607 as_fn_set_status $ac_retval
2609 } # ac_fn_c_try_compile
2611 # ac_fn_cxx_try_compile LINENO
2612 # ----------------------------
2613 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2614 ac_fn_cxx_try_compile ()
2616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2617 rm -f conftest.$ac_objext
2618 if { { ac_try="$ac_compile"
2620 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2621 *) ac_try_echo
=$ac_try;;
2623 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2624 $as_echo "$ac_try_echo"; } >&5
2625 (eval "$ac_compile") 2>conftest.err
2627 if test -s conftest.err
; then
2628 grep -v '^ *+' conftest.err
>conftest.er1
2629 cat conftest.er1
>&5
2630 mv -f conftest.er1 conftest.err
2632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2633 test $ac_status = 0; } && {
2634 test -z "$ac_cxx_werror_flag" ||
2635 test ! -s conftest.err
2636 } && test -s conftest.
$ac_objext; then :
2639 $as_echo "$as_me: failed program was:" >&5
2640 sed 's/^/| /' conftest.
$ac_ext >&5
2644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2645 as_fn_set_status
$ac_retval
2647 } # ac_fn_cxx_try_compile
2649 # ac_fn_c_try_link LINENO
2650 # -----------------------
2651 # Try to link conftest.$ac_ext, and return whether this succeeded.
2654 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2655 rm -f conftest.
$ac_objext conftest
$ac_exeext
2656 if { { ac_try
="$ac_link"
2658 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2659 *) ac_try_echo=$ac_try;;
2661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2662 $as_echo "$ac_try_echo"; } >&5
2663 (eval "$ac_link") 2>conftest.err
2665 if test -s conftest.err; then
2666 grep -v '^ *+' conftest.err >conftest.er1
2667 cat conftest.er1 >&5
2668 mv -f conftest.er1 conftest.err
2670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2671 test $ac_status = 0; } && {
2672 test -z "$ac_c_werror_flag" ||
2673 test ! -s conftest.err
2674 } && test -s conftest$ac_exeext && {
2675 test "$cross_compiling" = yes ||
2676 test -x conftest$ac_exeext
2680 $as_echo "$as_me: failed program was:" >&5
2681 sed 's/^/| /' conftest.$ac_ext >&5
2685 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2686 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2687 # interfere with the next link command; also delete a directory that is
2688 # left behind by Apple's compiler. We do this before executing the actions.
2689 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2690 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2691 as_fn_set_status $ac_retval
2693 } # ac_fn_c_try_link
2695 # ac_fn_c_try_cpp LINENO
2696 # ----------------------
2697 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2701 if { { ac_try="$ac_cpp conftest.$ac_ext"
2703 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2704 *) ac_try_echo
=$ac_try;;
2706 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2707 $as_echo "$ac_try_echo"; } >&5
2708 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2710 if test -s conftest.err
; then
2711 grep -v '^ *+' conftest.err
>conftest.er1
2712 cat conftest.er1
>&5
2713 mv -f conftest.er1 conftest.err
2715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2716 test $ac_status = 0; } > conftest.i
&& {
2717 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2718 test ! -s conftest.err
2722 $as_echo "$as_me: failed program was:" >&5
2723 sed 's/^/| /' conftest.
$ac_ext >&5
2727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2728 as_fn_set_status
$ac_retval
2732 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2733 # -------------------------------------------------------
2734 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2735 # the include files in INCLUDES and setting the cache variable VAR
2737 ac_fn_c_check_header_mongrel
()
2739 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2740 if eval \
${$3+:} false
; then :
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2742 $as_echo_n "checking for $2... " >&6; }
2743 if eval \
${$3+:} false
; then :
2744 $as_echo_n "(cached) " >&6
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2748 $as_echo "$ac_res" >&6; }
2750 # Is the header compilable?
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2752 $as_echo_n "checking $2 usability... " >&6; }
2753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2754 /* end confdefs.h. */
2758 if ac_fn_c_try_compile
"$LINENO"; then :
2759 ac_header_compiler
=yes
2761 ac_header_compiler
=no
2763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2765 $as_echo "$ac_header_compiler" >&6; }
2767 # Is the header present?
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2769 $as_echo_n "checking $2 presence... " >&6; }
2770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2771 /* end confdefs.h. */
2774 if ac_fn_c_try_cpp
"$LINENO"; then :
2775 ac_header_preproc
=yes
2777 ac_header_preproc
=no
2779 rm -f conftest.err conftest.i conftest.
$ac_ext
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2781 $as_echo "$ac_header_preproc" >&6; }
2783 # So? What about this header?
2784 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2787 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2789 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2793 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2795 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2797 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2799 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2801 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2802 ( $as_echo "## ------------------------------------ ##
2803 ## Report this to wine-devel@winehq.org ##
2804 ## ------------------------------------ ##"
2805 ) |
sed "s/^/$as_me: WARNING: /" >&2
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2809 $as_echo_n "checking for $2... " >&6; }
2810 if eval \
${$3+:} false
; then :
2811 $as_echo_n "(cached) " >&6
2813 eval "$3=\$ac_header_compiler"
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2817 $as_echo "$ac_res" >&6; }
2819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2821 } # ac_fn_c_check_header_mongrel
2823 # ac_fn_c_try_run LINENO
2824 # ----------------------
2825 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2826 # that executables *can* be run.
2829 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2830 if { { ac_try
="$ac_link"
2832 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2833 *) ac_try_echo=$ac_try;;
2835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2836 $as_echo "$ac_try_echo"; } >&5
2837 (eval "$ac_link") 2>&5
2839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2840 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2841 { { case "(($ac_try" in
2842 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2843 *) ac_try_echo
=$ac_try;;
2845 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2846 $as_echo "$ac_try_echo"; } >&5
2847 (eval "$ac_try") 2>&5
2849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2850 test $ac_status = 0; }; }; then :
2853 $as_echo "$as_me: program exited with status $ac_status" >&5
2854 $as_echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.
$ac_ext >&5
2857 ac_retval
=$ac_status
2859 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2861 as_fn_set_status
$ac_retval
2865 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2866 # -------------------------------------------------------
2867 # Tests whether HEADER exists and can be compiled using the include files in
2868 # INCLUDES, setting the cache variable VAR accordingly.
2869 ac_fn_c_check_header_compile
()
2871 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2873 $as_echo_n "checking for $2... " >&6; }
2874 if eval \
${$3+:} false
; then :
2875 $as_echo_n "(cached) " >&6
2877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2878 /* end confdefs.h. */
2882 if ac_fn_c_try_compile
"$LINENO"; then :
2887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2891 $as_echo "$ac_res" >&6; }
2892 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2894 } # ac_fn_c_check_header_compile
2896 # ac_fn_c_check_func LINENO FUNC VAR
2897 # ----------------------------------
2898 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2899 ac_fn_c_check_func
()
2901 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2903 $as_echo_n "checking for $2... " >&6; }
2904 if eval \
${$3+:} false
; then :
2905 $as_echo_n "(cached) " >&6
2907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2908 /* end confdefs.h. */
2909 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2911 #define $2 innocuous_$2
2913 /* System header to define __stub macros and hopefully few prototypes,
2914 which can conflict with char $2 (); below.
2915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2916 <limits.h> exists even on freestanding compilers. */
2919 # include <limits.h>
2921 # include <assert.h>
2926 /* Override any GCC internal prototype to avoid an error.
2927 Use char because int might match the return type of a GCC
2928 builtin and then its argument prototype would still apply. */
2933 /* The GNU C library defines this for functions which it implements
2934 to always fail with ENOSYS. Some functions are actually named
2935 something starting with __ and the normal name is an alias. */
2936 #if defined __stub_$2 || defined __stub___$2
2948 if ac_fn_c_try_link
"$LINENO"; then :
2953 rm -f core conftest.err conftest.
$ac_objext \
2954 conftest
$ac_exeext conftest.
$ac_ext
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2958 $as_echo "$ac_res" >&6; }
2959 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2961 } # ac_fn_c_check_func
2963 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2964 # ----------------------------------------------------
2965 # Tries to find if the field MEMBER exists in type AGGR, after including
2966 # INCLUDES, setting cache variable VAR accordingly.
2967 ac_fn_c_check_member
()
2969 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2971 $as_echo_n "checking for $2.$3... " >&6; }
2972 if eval \
${$4+:} false
; then :
2973 $as_echo_n "(cached) " >&6
2975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2976 /* end confdefs.h. */
2988 if ac_fn_c_try_compile
"$LINENO"; then :
2991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2992 /* end confdefs.h. */
2998 if (sizeof ac_aggr.$3)
3004 if ac_fn_c_try_compile
"$LINENO"; then :
3009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3015 $as_echo "$ac_res" >&6; }
3016 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3018 } # ac_fn_c_check_member
3020 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3021 # -------------------------------------------
3022 # Tests whether TYPE exists after having included INCLUDES, setting cache
3023 # variable VAR accordingly.
3024 ac_fn_c_check_type
()
3026 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3028 $as_echo_n "checking for $2... " >&6; }
3029 if eval \
${$3+:} false
; then :
3030 $as_echo_n "(cached) " >&6
3033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3034 /* end confdefs.h. */
3045 if ac_fn_c_try_compile
"$LINENO"; then :
3046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3047 /* end confdefs.h. */
3058 if ac_fn_c_try_compile
"$LINENO"; then :
3063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3069 $as_echo "$ac_res" >&6; }
3070 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3072 } # ac_fn_c_check_type
3073 cat >config.log
<<_ACEOF
3074 This file contains any messages produced by compilers while
3075 running configure, to aid debugging if configure makes a mistake.
3077 It was created by Wine $as_me 2.17, which was
3078 generated by GNU Autoconf 2.69. Invocation command line was
3090 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3091 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3092 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3093 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3094 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3096 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3097 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3099 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3100 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3101 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3102 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3103 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3104 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3105 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3113 test -z "$as_dir" && as_dir
=.
3114 $as_echo "PATH: $as_dir"
3130 # Keep a trace of the command line.
3131 # Strip out --no-create and --no-recursion so they do not pile up.
3132 # Strip out --silent because we don't want to record it for future runs.
3133 # Also quote any args containing shell meta-characters.
3134 # Make two passes to allow for proper duplicate-argument suppression.
3138 ac_must_keep_next
=false
3144 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3145 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3146 |
-silent |
--silent |
--silen |
--sile |
--sil)
3149 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3152 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3154 as_fn_append ac_configure_args1
" '$ac_arg'"
3155 if test $ac_must_keep_next = true
; then
3156 ac_must_keep_next
=false
# Got value, back to normal.
3159 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3160 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3161 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3162 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3163 case "$ac_configure_args0 " in
3164 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3167 -* ) ac_must_keep_next
=true
;;
3170 as_fn_append ac_configure_args
" '$ac_arg'"
3175 { ac_configure_args0
=; unset ac_configure_args0
;}
3176 { ac_configure_args1
=; unset ac_configure_args1
;}
3178 # When interrupted or exit'd, cleanup temporary files, and complete
3179 # config.log. We remove comments because anyway the quotes in there
3180 # would cause problems or look ugly.
3181 # WARNING: Use '\'' to represent an apostrophe within the trap.
3182 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3183 trap 'exit_status=$?
3184 # Save into config.log some information that might help in debugging.
3188 $as_echo "## ---------------- ##
3189 ## Cache variables. ##
3190 ## ---------------- ##"
3192 # The following way of writing the cache mishandles newlines in values,
3194 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3195 eval ac_val=\$$ac_var
3199 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3200 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3203 _ | IFS | as_nl) ;; #(
3204 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3205 *) { eval $ac_var=; unset $ac_var;} ;;
3210 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3211 *${as_nl}ac_space=\ *)
3213 "s/'\''/'\''\\\\'\'''\''/g;
3214 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3217 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3224 $as_echo "## ----------------- ##
3225 ## Output variables. ##
3226 ## ----------------- ##"
3228 for ac_var in $ac_subst_vars
3230 eval ac_val=\$$ac_var
3232 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3234 $as_echo "$ac_var='\''$ac_val'\''"
3238 if test -n "$ac_subst_files"; then
3239 $as_echo "## ------------------- ##
3240 ## File substitutions. ##
3241 ## ------------------- ##"
3243 for ac_var
in $ac_subst_files
3245 eval ac_val
=\$
$ac_var
3247 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3249 $as_echo "$ac_var='\''$ac_val'\''"
3254 if test -s confdefs.h; then
3255 $as_echo "## ----------- ##
3262 test "$ac_signal" != 0 &&
3263 $as_echo "$as_me: caught signal $ac_signal"
3264 $as_echo "$as_me: exit $exit_status"
3266 rm -f core *.core core.conftest.* &&
3267 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3270 for ac_signal
in 1 2 13 15; do
3271 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3275 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3276 rm -f -r conftest
* confdefs.h
3278 $as_echo "/* confdefs.h */" > confdefs.h
3280 # Predefined preprocessor variables.
3282 cat >>confdefs.h
<<_ACEOF
3283 #define PACKAGE_NAME "$PACKAGE_NAME"
3286 cat >>confdefs.h
<<_ACEOF
3287 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3290 cat >>confdefs.h
<<_ACEOF
3291 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3294 cat >>confdefs.h
<<_ACEOF
3295 #define PACKAGE_STRING "$PACKAGE_STRING"
3298 cat >>confdefs.h
<<_ACEOF
3299 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3302 cat >>confdefs.h
<<_ACEOF
3303 #define PACKAGE_URL "$PACKAGE_URL"
3307 # Let the site file select an alternate cache file if it wants to.
3308 # Prefer an explicitly selected file to automatically selected ones.
3311 if test -n "$CONFIG_SITE"; then
3312 # We do not want a PATH search for config.site.
3313 case $CONFIG_SITE in #((
3314 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3315 */*) ac_site_file1
=$CONFIG_SITE;;
3316 *) ac_site_file1
=.
/$CONFIG_SITE;;
3318 elif test "x$prefix" != xNONE
; then
3319 ac_site_file1
=$prefix/share
/config.site
3320 ac_site_file2
=$prefix/etc
/config.site
3322 ac_site_file1
=$ac_default_prefix/share
/config.site
3323 ac_site_file2
=$ac_default_prefix/etc
/config.site
3325 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3327 test "x$ac_site_file" = xNONE
&& continue
3328 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3330 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3331 sed 's/^/| /' "$ac_site_file" >&5
3333 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3335 as_fn_error $?
"failed to load site script $ac_site_file
3336 See \`config.log' for more details" "$LINENO" 5; }
3340 if test -r "$cache_file"; then
3341 # Some versions of bash will fail to source /dev/null (special files
3342 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3343 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3345 $as_echo "$as_me: loading cache $cache_file" >&6;}
3347 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3348 *) .
"./$cache_file";;
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3353 $as_echo "$as_me: creating cache $cache_file" >&6;}
3357 # Check that the precious variables saved in the cache have kept the same
3359 ac_cache_corrupted
=false
3360 for ac_var
in $ac_precious_vars; do
3361 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3362 eval ac_new_set
=\
$ac_env_${ac_var}_set
3363 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3364 eval ac_new_val
=\
$ac_env_${ac_var}_value
3365 case $ac_old_set,$ac_new_set in
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3368 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3369 ac_cache_corrupted
=: ;;
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3372 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3373 ac_cache_corrupted
=: ;;
3376 if test "x$ac_old_val" != "x$ac_new_val"; then
3377 # differences in whitespace do not lead to failure.
3378 ac_old_val_w
=`echo x $ac_old_val`
3379 ac_new_val_w
=`echo x $ac_new_val`
3380 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3382 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3383 ac_cache_corrupted
=:
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3386 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3387 eval $ac_var=\
$ac_old_val
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3390 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3392 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3395 # Pass precious variables to config.status.
3396 if test "$ac_new_set" = set; then
3398 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3399 *) ac_arg
=$ac_var=$ac_new_val ;;
3401 case " $ac_configure_args " in
3402 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3403 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3407 if $ac_cache_corrupted; then
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3411 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3412 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3414 ## -------------------- ##
3415 ## Main body of script. ##
3416 ## -------------------- ##
3419 ac_cpp
='$CPP $CPPFLAGS'
3420 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3421 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3422 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3426 ac_config_headers
="$ac_config_headers include/config.h"
3429 for ac_dir
in tools
"$srcdir"/tools
; do
3430 if test -f "$ac_dir/install-sh"; then
3432 ac_install_sh
="$ac_aux_dir/install-sh -c"
3434 elif test -f "$ac_dir/install.sh"; then
3436 ac_install_sh
="$ac_aux_dir/install.sh -c"
3438 elif test -f "$ac_dir/shtool"; then
3440 ac_install_sh
="$ac_aux_dir/shtool install -c"
3444 if test -z "$ac_aux_dir"; then
3445 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3448 # These three variables are undocumented and unsupported,
3449 # and are intended to be withdrawn in a future Autoconf release.
3450 # They can cause serious problems if a builder's source tree is in a directory
3451 # whose full name contains unusual characters.
3452 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3453 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3454 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3458 libwine_version
="1.0"
3462 # Check whether --enable-win16 was given.
3463 if test "${enable_win16+set}" = set; then :
3464 enableval
=$enable_win16;
3467 # Check whether --enable-win64 was given.
3468 if test "${enable_win64+set}" = set; then :
3469 enableval
=$enable_win64;
3472 # Check whether --enable-tests was given.
3473 if test "${enable_tests+set}" = set; then :
3474 enableval
=$enable_tests;
3477 # Check whether --enable-maintainer-mode was given.
3478 if test "${enable_maintainer_mode+set}" = set; then :
3479 enableval
=$enable_maintainer_mode;
3484 # Check whether --with-alsa was given.
3485 if test "${with_alsa+set}" = set; then :
3486 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3490 # Check whether --with-capi was given.
3491 if test "${with_capi+set}" = set; then :
3496 # Check whether --with-cms was given.
3497 if test "${with_cms+set}" = set; then :
3502 # Check whether --with-coreaudio was given.
3503 if test "${with_coreaudio+set}" = set; then :
3504 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3508 # Check whether --with-cups was given.
3509 if test "${with_cups+set}" = set; then :
3514 # Check whether --with-curses was given.
3515 if test "${with_curses+set}" = set; then :
3516 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3520 # Check whether --with-dbus was given.
3521 if test "${with_dbus+set}" = set; then :
3526 # Check whether --with-fontconfig was given.
3527 if test "${with_fontconfig+set}" = set; then :
3528 withval
=$with_fontconfig;
3532 # Check whether --with-freetype was given.
3533 if test "${with_freetype+set}" = set; then :
3534 withval
=$with_freetype;
3538 # Check whether --with-gettext was given.
3539 if test "${with_gettext+set}" = set; then :
3540 withval
=$with_gettext;
3544 # Check whether --with-gettextpo was given.
3545 if test "${with_gettextpo+set}" = set; then :
3546 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3550 # Check whether --with-gphoto was given.
3551 if test "${with_gphoto+set}" = set; then :
3552 withval
=$with_gphoto;
3556 # Check whether --with-glu was given.
3557 if test "${with_glu+set}" = set; then :
3562 # Check whether --with-gnutls was given.
3563 if test "${with_gnutls+set}" = set; then :
3564 withval
=$with_gnutls;
3568 # Check whether --with-gsm was given.
3569 if test "${with_gsm+set}" = set; then :
3570 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3574 # Check whether --with-gstreamer was given.
3575 if test "${with_gstreamer+set}" = set; then :
3576 withval
=$with_gstreamer;
3580 # Check whether --with-hal was given.
3581 if test "${with_hal+set}" = set; then :
3586 # Check whether --with-jpeg was given.
3587 if test "${with_jpeg+set}" = set; then :
3592 # Check whether --with-ldap was given.
3593 if test "${with_ldap+set}" = set; then :
3594 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3598 # Check whether --with-mpg123 was given.
3599 if test "${with_mpg123+set}" = set; then :
3600 withval
=$with_mpg123;
3604 # Check whether --with-netapi was given.
3605 if test "${with_netapi+set}" = set; then :
3606 withval
=$with_netapi;
3610 # Check whether --with-openal was given.
3611 if test "${with_openal+set}" = set; then :
3612 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3616 # Check whether --with-opencl was given.
3617 if test "${with_opencl+set}" = set; then :
3618 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3622 # Check whether --with-opengl was given.
3623 if test "${with_opengl+set}" = set; then :
3624 withval
=$with_opengl;
3628 # Check whether --with-osmesa was given.
3629 if test "${with_osmesa+set}" = set; then :
3630 withval
=$with_osmesa;
3634 # Check whether --with-oss was given.
3635 if test "${with_oss+set}" = set; then :
3640 # Check whether --with-pcap was given.
3641 if test "${with_pcap+set}" = set; then :
3642 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3646 # Check whether --with-png was given.
3647 if test "${with_png+set}" = set; then :
3652 # Check whether --with-pthread was given.
3653 if test "${with_pthread+set}" = set; then :
3654 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3658 # Check whether --with-pulse was given.
3659 if test "${with_pulse+set}" = set; then :
3660 withval
=$with_pulse;
3664 # Check whether --with-sane was given.
3665 if test "${with_sane+set}" = set; then :
3670 # Check whether --with-tiff was given.
3671 if test "${with_tiff+set}" = set; then :
3676 # Check whether --with-udev was given.
3677 if test "${with_udev+set}" = set; then :
3682 # Check whether --with-v4l was given.
3683 if test "${with_v4l+set}" = set; then :
3688 # Check whether --with-xcomposite was given.
3689 if test "${with_xcomposite+set}" = set; then :
3690 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3694 # Check whether --with-xcursor was given.
3695 if test "${with_xcursor+set}" = set; then :
3696 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3700 # Check whether --with-xfixes was given.
3701 if test "${with_xfixes+set}" = set; then :
3702 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
3706 # Check whether --with-xinerama was given.
3707 if test "${with_xinerama+set}" = set; then :
3708 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3712 # Check whether --with-xinput was given.
3713 if test "${with_xinput+set}" = set; then :
3714 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3718 # Check whether --with-xinput2 was given.
3719 if test "${with_xinput2+set}" = set; then :
3720 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3724 # Check whether --with-xml was given.
3725 if test "${with_xml+set}" = set; then :
3730 # Check whether --with-xrandr was given.
3731 if test "${with_xrandr+set}" = set; then :
3732 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3736 # Check whether --with-xrender was given.
3737 if test "${with_xrender+set}" = set; then :
3738 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3742 # Check whether --with-xshape was given.
3743 if test "${with_xshape+set}" = set; then :
3744 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3748 # Check whether --with-xshm was given.
3749 if test "${with_xshm+set}" = set; then :
3750 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3754 # Check whether --with-xslt was given.
3755 if test "${with_xslt+set}" = set; then :
3760 # Check whether --with-xxf86vm was given.
3761 if test "${with_xxf86vm+set}" = set; then :
3762 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
3766 # Check whether --with-zlib was given.
3767 if test "${with_zlib+set}" = set; then :
3768 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3773 # Check whether --with-wine-tools was given.
3774 if test "${with_wine_tools+set}" = set; then :
3775 withval
=$with_wine_tools;
3779 # Check whether --with-wine64 was given.
3780 if test "${with_wine64+set}" = set; then :
3781 withval
=$with_wine64;
3785 # Make sure we can run config.sub.
3786 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3787 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3790 $as_echo_n "checking build system type... " >&6; }
3791 if ${ac_cv_build+:} false
; then :
3792 $as_echo_n "(cached) " >&6
3794 ac_build_alias
=$build_alias
3795 test "x$ac_build_alias" = x
&&
3796 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3797 test "x$ac_build_alias" = x
&&
3798 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3799 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3800 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3804 $as_echo "$ac_cv_build" >&6; }
3805 case $ac_cv_build in
3807 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3810 ac_save_IFS
=$IFS; IFS
='-'
3816 # Remember, the first character of IFS is used to create $*,
3817 # except with old shells:
3820 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3824 $as_echo_n "checking host system type... " >&6; }
3825 if ${ac_cv_host+:} false
; then :
3826 $as_echo_n "(cached) " >&6
3828 if test "x$host_alias" = x
; then
3829 ac_cv_host
=$ac_cv_build
3831 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3832 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3837 $as_echo "$ac_cv_host" >&6; }
3840 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3843 ac_save_IFS
=$IFS; IFS
='-'
3849 # Remember, the first character of IFS is used to create $*,
3850 # except with old shells:
3853 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3859 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3860 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3861 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3867 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3869 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3870 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3871 $as_echo_n "(cached) " >&6
3873 cat >conftest.
make <<\_ACEOF
3876 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3878 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3879 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3881 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3883 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3887 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3889 $as_echo "yes" >&6; }
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3893 $as_echo "no" >&6; }
3894 SET_MAKE
="MAKE=${MAKE-make}"
3898 ac_cpp
='$CPP $CPPFLAGS'
3899 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3900 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3901 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3902 if test -n "$ac_tool_prefix"; then
3903 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3904 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3906 $as_echo_n "checking for $ac_word... " >&6; }
3907 if ${ac_cv_prog_CC+:} false
; then :
3908 $as_echo_n "(cached) " >&6
3910 if test -n "$CC"; then
3911 ac_cv_prog_CC
="$CC" # Let the user override the test.
3913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3917 test -z "$as_dir" && as_dir
=.
3918 for ac_exec_ext
in '' $ac_executable_extensions; do
3919 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3920 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3931 if test -n "$CC"; then
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3933 $as_echo "$CC" >&6; }
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3936 $as_echo "no" >&6; }
3941 if test -z "$ac_cv_prog_CC"; then
3943 # Extract the first word of "gcc", so it can be a program name with args.
3944 set dummy gcc
; ac_word
=$2
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3946 $as_echo_n "checking for $ac_word... " >&6; }
3947 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3948 $as_echo_n "(cached) " >&6
3950 if test -n "$ac_ct_CC"; then
3951 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3957 test -z "$as_dir" && as_dir
=.
3958 for ac_exec_ext
in '' $ac_executable_extensions; do
3959 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3960 ac_cv_prog_ac_ct_CC
="gcc"
3961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3970 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3971 if test -n "$ac_ct_CC"; then
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3973 $as_echo "$ac_ct_CC" >&6; }
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3976 $as_echo "no" >&6; }
3979 if test "x$ac_ct_CC" = x
; then
3982 case $cross_compiling:$ac_tool_warned in
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3985 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3986 ac_tool_warned
=yes ;;
3994 if test -z "$CC"; then
3995 if test -n "$ac_tool_prefix"; then
3996 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3997 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3999 $as_echo_n "checking for $ac_word... " >&6; }
4000 if ${ac_cv_prog_CC+:} false
; then :
4001 $as_echo_n "(cached) " >&6
4003 if test -n "$CC"; then
4004 ac_cv_prog_CC
="$CC" # Let the user override the test.
4006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4010 test -z "$as_dir" && as_dir
=.
4011 for ac_exec_ext
in '' $ac_executable_extensions; do
4012 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4013 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4024 if test -n "$CC"; then
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4026 $as_echo "$CC" >&6; }
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4029 $as_echo "no" >&6; }
4035 if test -z "$CC"; then
4036 # Extract the first word of "cc", so it can be a program name with args.
4037 set dummy cc
; ac_word
=$2
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4039 $as_echo_n "checking for $ac_word... " >&6; }
4040 if ${ac_cv_prog_CC+:} false
; then :
4041 $as_echo_n "(cached) " >&6
4043 if test -n "$CC"; then
4044 ac_cv_prog_CC
="$CC" # Let the user override the test.
4047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4051 test -z "$as_dir" && as_dir
=.
4052 for ac_exec_ext
in '' $ac_executable_extensions; do
4053 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4054 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4055 ac_prog_rejected
=yes
4059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4066 if test $ac_prog_rejected = yes; then
4067 # We found a bogon in the path, so make sure we never use it.
4068 set dummy
$ac_cv_prog_CC
4070 if test $# != 0; then
4071 # We chose a different compiler from the bogus one.
4072 # However, it has the same basename, so the bogon will be chosen
4073 # first if we set CC to just the basename; use the full file name.
4075 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4081 if test -n "$CC"; then
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4083 $as_echo "$CC" >&6; }
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4086 $as_echo "no" >&6; }
4091 if test -z "$CC"; then
4092 if test -n "$ac_tool_prefix"; then
4093 for ac_prog
in cl.exe
4095 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4096 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4098 $as_echo_n "checking for $ac_word... " >&6; }
4099 if ${ac_cv_prog_CC+:} false
; then :
4100 $as_echo_n "(cached) " >&6
4102 if test -n "$CC"; then
4103 ac_cv_prog_CC
="$CC" # Let the user override the test.
4105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4109 test -z "$as_dir" && as_dir
=.
4110 for ac_exec_ext
in '' $ac_executable_extensions; do
4111 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4112 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4123 if test -n "$CC"; then
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4125 $as_echo "$CC" >&6; }
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4128 $as_echo "no" >&6; }
4132 test -n "$CC" && break
4135 if test -z "$CC"; then
4137 for ac_prog
in cl.exe
4139 # Extract the first word of "$ac_prog", so it can be a program name with args.
4140 set dummy
$ac_prog; ac_word
=$2
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4142 $as_echo_n "checking for $ac_word... " >&6; }
4143 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4144 $as_echo_n "(cached) " >&6
4146 if test -n "$ac_ct_CC"; then
4147 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4153 test -z "$as_dir" && as_dir
=.
4154 for ac_exec_ext
in '' $ac_executable_extensions; do
4155 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4156 ac_cv_prog_ac_ct_CC
="$ac_prog"
4157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4166 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4167 if test -n "$ac_ct_CC"; then
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4169 $as_echo "$ac_ct_CC" >&6; }
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4172 $as_echo "no" >&6; }
4176 test -n "$ac_ct_CC" && break
4179 if test "x$ac_ct_CC" = x
; then
4182 case $cross_compiling:$ac_tool_warned in
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4186 ac_tool_warned
=yes ;;
4195 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4197 as_fn_error $?
"no acceptable C compiler found in \$PATH
4198 See \`config.log' for more details" "$LINENO" 5; }
4200 # Provide some information about the compiler.
4201 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4204 for ac_option
in --version -v -V -qversion; do
4205 { { ac_try
="$ac_compiler $ac_option >&5"
4207 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4208 *) ac_try_echo=$ac_try;;
4210 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4211 $as_echo "$ac_try_echo"; } >&5
4212 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4214 if test -s conftest.err; then
4216 ... rest of stderr output deleted ...
4217 10q' conftest.err >conftest.er1
4218 cat conftest.er1 >&5
4220 rm -f conftest.er1 conftest.err
4221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4222 test $ac_status = 0; }
4225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4226 /* end confdefs.h. */
4236 ac_clean_files_save=$ac_clean_files
4237 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4238 # Try to create an executable without -o first, disregard a.out.
4239 # It will help us diagnose broken compilers, and finding out an intuition
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4242 $as_echo_n "checking whether the C compiler works... " >&6; }
4243 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4245 # The possible output files:
4246 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4249 for ac_file in $ac_files
4252 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4253 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4258 if { { ac_try="$ac_link_default"
4260 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4261 *) ac_try_echo
=$ac_try;;
4263 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4264 $as_echo "$ac_try_echo"; } >&5
4265 (eval "$ac_link_default") 2>&5
4267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4268 test $ac_status = 0; }; then :
4269 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4270 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4271 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4272 # so that the user can short-circuit this test for compilers unknown to
4274 for ac_file
in $ac_files ''
4276 test -f "$ac_file" ||
continue
4278 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4281 # We found the default executable, but exeext='' is most
4285 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4287 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4289 # We set ac_cv_exeext here because the later test for it is not
4290 # safe: cross compilers may not add the suffix if given an `-o'
4291 # argument, so we may need to know it at that point already.
4292 # Even if this section looks crufty: it has the advantage of
4299 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4304 if test -z "$ac_file"; then :
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4306 $as_echo "no" >&6; }
4307 $as_echo "$as_me: failed program was:" >&5
4308 sed 's/^/| /' conftest.
$ac_ext >&5
4310 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4312 as_fn_error
77 "C compiler cannot create executables
4313 See \`config.log' for more details" "$LINENO" 5; }
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4316 $as_echo "yes" >&6; }
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4319 $as_echo_n "checking for C compiler default output file name... " >&6; }
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4321 $as_echo "$ac_file" >&6; }
4322 ac_exeext
=$ac_cv_exeext
4324 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4325 ac_clean_files
=$ac_clean_files_save
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4327 $as_echo_n "checking for suffix of executables... " >&6; }
4328 if { { ac_try
="$ac_link"
4330 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4331 *) ac_try_echo=$ac_try;;
4333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4334 $as_echo "$ac_try_echo"; } >&5
4335 (eval "$ac_link") 2>&5
4337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4338 test $ac_status = 0; }; then :
4339 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4340 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4341 # work properly (i.e., refer to `conftest.exe'), while it won't with
4343 for ac_file
in conftest.exe conftest conftest.
*; do
4344 test -f "$ac_file" ||
continue
4346 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4347 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4355 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4356 See \`config.log' for more details" "$LINENO" 5; }
4358 rm -f conftest conftest
$ac_cv_exeext
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4360 $as_echo "$ac_cv_exeext" >&6; }
4362 rm -f conftest.
$ac_ext
4363 EXEEXT
=$ac_cv_exeext
4365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4366 /* end confdefs.h. */
4371 FILE *f = fopen ("conftest.out", "w");
4372 return ferror (f) || fclose (f) != 0;
4378 ac_clean_files
="$ac_clean_files conftest.out"
4379 # Check that the compiler produces executables we can run. If not, either
4380 # the compiler is broken, or we cross compile.
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4382 $as_echo_n "checking whether we are cross compiling... " >&6; }
4383 if test "$cross_compiling" != yes; then
4384 { { ac_try
="$ac_link"
4386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4387 *) ac_try_echo=$ac_try;;
4389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4390 $as_echo "$ac_try_echo"; } >&5
4391 (eval "$ac_link") 2>&5
4393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4394 test $ac_status = 0; }
4395 if { ac_try='./conftest$ac_cv_exeext'
4396 { { case "(($ac_try" in
4397 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4398 *) ac_try_echo
=$ac_try;;
4400 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4401 $as_echo "$ac_try_echo"; } >&5
4402 (eval "$ac_try") 2>&5
4404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4405 test $ac_status = 0; }; }; then
4408 if test "$cross_compiling" = maybe
; then
4411 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4413 as_fn_error $?
"cannot run C compiled programs.
4414 If you meant to cross compile, use \`--host'.
4415 See \`config.log' for more details" "$LINENO" 5; }
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4420 $as_echo "$cross_compiling" >&6; }
4422 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4423 ac_clean_files
=$ac_clean_files_save
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4425 $as_echo_n "checking for suffix of object files... " >&6; }
4426 if ${ac_cv_objext+:} false
; then :
4427 $as_echo_n "(cached) " >&6
4429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4430 /* end confdefs.h. */
4440 rm -f conftest.o conftest.obj
4441 if { { ac_try
="$ac_compile"
4443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4444 *) ac_try_echo=$ac_try;;
4446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4447 $as_echo "$ac_try_echo"; } >&5
4448 (eval "$ac_compile") 2>&5
4450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4451 test $ac_status = 0; }; then :
4452 for ac_file in conftest.o conftest.obj conftest.*; do
4453 test -f "$ac_file" || continue;
4455 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4456 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4461 $as_echo "$as_me: failed program was:" >&5
4462 sed 's/^/| /' conftest.$ac_ext >&5
4464 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4466 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4467 See \
`config.log' for more details" "$LINENO" 5; }
4469 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4472 $as_echo "$ac_cv_objext" >&6; }
4473 OBJEXT=$ac_cv_objext
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4476 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4477 if ${ac_cv_c_compiler_gnu+:} false; then :
4478 $as_echo_n "(cached) " >&6
4480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4481 /* end confdefs.h. */
4494 if ac_fn_c_try_compile "$LINENO"; then :
4499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4500 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4504 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4505 if test $ac_compiler_gnu = yes; then
4510 ac_test_CFLAGS=${CFLAGS+set}
4511 ac_save_CFLAGS=$CFLAGS
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4513 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4514 if ${ac_cv_prog_cc_g+:} false; then :
4515 $as_echo_n "(cached) " >&6
4517 ac_save_c_werror_flag=$ac_c_werror_flag
4518 ac_c_werror_flag=yes
4521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4522 /* end confdefs.h. */
4532 if ac_fn_c_try_compile "$LINENO"; then :
4536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4537 /* end confdefs.h. */
4547 if ac_fn_c_try_compile "$LINENO"; then :
4550 ac_c_werror_flag=$ac_save_c_werror_flag
4552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4553 /* end confdefs.h. */
4563 if ac_fn_c_try_compile "$LINENO"; then :
4566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4571 ac_c_werror_flag=$ac_save_c_werror_flag
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4574 $as_echo "$ac_cv_prog_cc_g" >&6; }
4575 if test "$ac_test_CFLAGS" = set; then
4576 CFLAGS=$ac_save_CFLAGS
4577 elif test $ac_cv_prog_cc_g = yes; then
4578 if test "$GCC" = yes; then
4584 if test "$GCC" = yes; then
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4591 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4592 if ${ac_cv_prog_cc_c89+:} false; then :
4593 $as_echo_n "(cached) " >&6
4595 ac_cv_prog_cc_c89=no
4597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4598 /* end confdefs.h. */
4602 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4603 struct buf { int x; };
4604 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4605 static char *e (p, i)
4611 static char *f (char * (*g) (char **, int), char **p, ...)
4616 s = g (p, va_arg (v,int));
4621 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4622 function prototypes and stuff, but not '\xHH' hex character constants.
4623 These don't provoke an error unfortunately, instead are silently treated
4624 as 'x'. The following induces an error, until -std is added to get
4625 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4626 array size at least. It's necessary to write '\x00'==0 to get something
4627 that's true only with -std. */
4628 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4630 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4631 inside strings and character constants. */
4633 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4635 int test (int i, double x);
4636 struct s1 {int (*f) (int a);};
4637 struct s2 {int (*f) (double a);};
4638 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4644 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4649 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4650 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4652 CC="$ac_save_CC $ac_arg"
4653 if ac_fn_c_try_compile "$LINENO"; then :
4654 ac_cv_prog_cc_c89=$ac_arg
4656 rm -f core conftest.err conftest.$ac_objext
4657 test "x$ac_cv_prog_cc_c89" != "xno" && break
4659 rm -f conftest.$ac_ext
4664 case "x$ac_cv_prog_cc_c89" in
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4667 $as_echo "none needed" >&6; } ;;
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4670 $as_echo "unsupported" >&6; } ;;
4672 CC="$CC $ac_cv_prog_cc_c89"
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4674 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4676 if test "x$ac_cv_prog_cc_c89" != xno; then :
4681 ac_cpp='$CPP $CPPFLAGS'
4682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4687 ac_cpp='$CXXCPP $CPPFLAGS'
4688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4691 if test -z "$CXX"; then
4692 if test -n "$CCC"; then
4695 if test -n "$ac_tool_prefix"; then
4696 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4698 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4699 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4701 $as_echo_n "checking for $ac_word... " >&6; }
4702 if ${ac_cv_prog_CXX+:} false; then :
4703 $as_echo_n "(cached) " >&6
4705 if test -n "$CXX"; then
4706 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4712 test -z "$as_dir" && as_dir=.
4713 for ac_exec_ext in '' $ac_executable_extensions; do
4714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4715 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4726 if test -n "$CXX"; then
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4728 $as_echo "$CXX" >&6; }
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4731 $as_echo "no" >&6; }
4735 test -n "$CXX" && break
4738 if test -z "$CXX"; then
4740 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4742 # Extract the first word of "$ac_prog", so it can be a program name with args.
4743 set dummy $ac_prog; ac_word=$2
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4745 $as_echo_n "checking for $ac_word... " >&6; }
4746 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4747 $as_echo_n "(cached) " >&6
4749 if test -n "$ac_ct_CXX"; then
4750 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4756 test -z "$as_dir" && as_dir=.
4757 for ac_exec_ext in '' $ac_executable_extensions; do
4758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4759 ac_cv_prog_ac_ct_CXX="$ac_prog"
4760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4769 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4770 if test -n "$ac_ct_CXX"; then
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4772 $as_echo "$ac_ct_CXX" >&6; }
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4775 $as_echo "no" >&6; }
4779 test -n "$ac_ct_CXX" && break
4782 if test "x$ac_ct_CXX" = x; then
4785 case $cross_compiling:$ac_tool_warned in
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4789 ac_tool_warned=yes ;;
4797 # Provide some information about the compiler.
4798 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4801 for ac_option in --version -v -V -qversion; do
4802 { { ac_try="$ac_compiler $ac_option >&5"
4804 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4805 *) ac_try_echo
=$ac_try;;
4807 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4808 $as_echo "$ac_try_echo"; } >&5
4809 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4811 if test -s conftest.err
; then
4813 ... rest of stderr output deleted ...
4814 10q' conftest.err
>conftest.er1
4815 cat conftest.er1
>&5
4817 rm -f conftest.er1 conftest.err
4818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4819 test $ac_status = 0; }
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4823 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4824 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4825 $as_echo_n "(cached) " >&6
4827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4828 /* end confdefs.h. */
4841 if ac_fn_cxx_try_compile
"$LINENO"; then :
4846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4847 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4851 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4852 if test $ac_compiler_gnu = yes; then
4857 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4858 ac_save_CXXFLAGS
=$CXXFLAGS
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4860 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4861 if ${ac_cv_prog_cxx_g+:} false
; then :
4862 $as_echo_n "(cached) " >&6
4864 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4865 ac_cxx_werror_flag
=yes
4868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4869 /* end confdefs.h. */
4879 if ac_fn_cxx_try_compile
"$LINENO"; then :
4880 ac_cv_prog_cxx_g
=yes
4883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4884 /* end confdefs.h. */
4894 if ac_fn_cxx_try_compile
"$LINENO"; then :
4897 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4900 /* end confdefs.h. */
4910 if ac_fn_cxx_try_compile
"$LINENO"; then :
4911 ac_cv_prog_cxx_g
=yes
4913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4918 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4921 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4922 if test "$ac_test_CXXFLAGS" = set; then
4923 CXXFLAGS
=$ac_save_CXXFLAGS
4924 elif test $ac_cv_prog_cxx_g = yes; then
4925 if test "$GXX" = yes; then
4931 if test "$GXX" = yes; then
4938 ac_cpp
='$CPP $CPPFLAGS'
4939 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4940 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4941 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4943 if test -n "$ac_tool_prefix"; then
4944 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4945 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4947 $as_echo_n "checking for $ac_word... " >&6; }
4948 if ${ac_cv_prog_CPPBIN+:} false
; then :
4949 $as_echo_n "(cached) " >&6
4951 if test -n "$CPPBIN"; then
4952 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4958 test -z "$as_dir" && as_dir
=.
4959 for ac_exec_ext
in '' $ac_executable_extensions; do
4960 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4961 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4971 CPPBIN
=$ac_cv_prog_CPPBIN
4972 if test -n "$CPPBIN"; then
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4974 $as_echo "$CPPBIN" >&6; }
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4977 $as_echo "no" >&6; }
4982 if test -z "$ac_cv_prog_CPPBIN"; then
4983 ac_ct_CPPBIN
=$CPPBIN
4984 # Extract the first word of "cpp", so it can be a program name with args.
4985 set dummy cpp
; ac_word
=$2
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987 $as_echo_n "checking for $ac_word... " >&6; }
4988 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4989 $as_echo_n "(cached) " >&6
4991 if test -n "$ac_ct_CPPBIN"; then
4992 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4998 test -z "$as_dir" && as_dir
=.
4999 for ac_exec_ext
in '' $ac_executable_extensions; do
5000 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5001 ac_cv_prog_ac_ct_CPPBIN
="cpp"
5002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
5012 if test -n "$ac_ct_CPPBIN"; then
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5014 $as_echo "$ac_ct_CPPBIN" >&6; }
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5017 $as_echo "no" >&6; }
5020 if test "x$ac_ct_CPPBIN" = x
; then
5023 case $cross_compiling:$ac_tool_warned in
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5027 ac_tool_warned
=yes ;;
5029 CPPBIN
=$ac_ct_CPPBIN
5032 CPPBIN
="$ac_cv_prog_CPPBIN"
5036 cat >>confdefs.h
<<_ACEOF
5037 #define EXEEXT "$ac_exeext"
5040 if test -n "$ac_tool_prefix"; then
5041 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5042 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5044 $as_echo_n "checking for $ac_word... " >&6; }
5045 if ${ac_cv_prog_LD+:} false
; then :
5046 $as_echo_n "(cached) " >&6
5048 if test -n "$LD"; then
5049 ac_cv_prog_LD
="$LD" # Let the user override the test.
5051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5055 test -z "$as_dir" && as_dir
=.
5056 for ac_exec_ext
in '' $ac_executable_extensions; do
5057 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5058 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 if test -n "$LD"; then
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5071 $as_echo "$LD" >&6; }
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5074 $as_echo "no" >&6; }
5079 if test -z "$ac_cv_prog_LD"; then
5081 # Extract the first word of "ld", so it can be a program name with args.
5082 set dummy ld
; ac_word
=$2
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5084 $as_echo_n "checking for $ac_word... " >&6; }
5085 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
5086 $as_echo_n "(cached) " >&6
5088 if test -n "$ac_ct_LD"; then
5089 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5095 test -z "$as_dir" && as_dir
=.
5096 for ac_exec_ext
in '' $ac_executable_extensions; do
5097 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5098 ac_cv_prog_ac_ct_LD
="ld"
5099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5108 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5109 if test -n "$ac_ct_LD"; then
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5111 $as_echo "$ac_ct_LD" >&6; }
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5114 $as_echo "no" >&6; }
5117 if test "x$ac_ct_LD" = x
; then
5120 case $cross_compiling:$ac_tool_warned in
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5124 ac_tool_warned
=yes ;;
5135 with_fontconfig
=${with_fontconfig:-no}
5137 *-mingw32*|
*-cygwin*)
5138 enable_win16
=${enable_win16:-no}
5139 CFLAGS
="$CFLAGS -D_WIN32"
5145 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5150 $as_echo_n "checking whether $CC works... " >&6; }
5152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5153 /* end confdefs.h. */
5163 if ac_fn_c_try_link
"$LINENO"; then :
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5165 $as_echo "yes" >&6; }
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 $as_echo "no" >&6; }
5169 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5171 rm -f core conftest.err conftest.
$ac_objext \
5172 conftest
$ac_exeext conftest.
$ac_ext
5174 notice_platform
="32-bit "
5177 PKG_CONFIG_PATH
=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5178 export PKG_CONFIG_PATH
5179 enable_win16
=${enable_win16:-yes}
5181 if test "x${GCC}" = "xyes"
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5184 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5186 /* end confdefs.h. */
5191 void func(__builtin_ms_va_list *args);
5196 if ac_fn_c_try_compile
"$LINENO"; then :
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5198 $as_echo "yes" >&6; }
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201 $as_echo "no" >&6; }
5202 as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5204 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5209 notice_platform
="64-bit "
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5216 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5218 /* end confdefs.h. */
5219 int ac_test(int i) { return i; }
5223 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5228 if ac_fn_c_try_link
"$LINENO"; then :
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5230 $as_echo "yes" >&6; }
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5233 $as_echo "no" >&6; }
5234 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5236 rm -f core conftest.err conftest.
$ac_objext \
5237 conftest
$ac_exeext conftest.
$ac_ext
5238 CFLAGS
="$CFLAGS -marm"
5243 enable_win16
=${enable_win16:-yes}
5247 enable_win16
=${enable_win16:-no}
5248 enable_win64
=${enable_win64:-no}
5250 enable_winetest
=${enable_winetest:-$enable_tests}
5252 if test -n "$with_wine64"
5254 if test "x$enable_win64" = "xyes"
5256 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5257 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5259 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5260 You should create a separate build directory and run configure from there." "$LINENO" 5
5261 enable_fonts
=${enable_fonts:-no}
5262 enable_server
=${enable_server:-no}
5263 elif test "x$enable_win64" = "xyes"
5265 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5269 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5270 if ${wine_cv_toolsdir+:} false
; then :
5271 $as_echo_n "(cached) " >&6
5273 wine_cv_toolsdir
="$with_wine_tools"
5274 if test -z "$with_wine_tools"; then
5275 if test "$cross_compiling" = "yes"; then
5276 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5277 elif test -n "$with_wine64"; then
5278 wine_cv_toolsdir
="$with_wine64"
5281 if test -z "$wine_cv_toolsdir"; then
5282 wine_makedep
=tools
/makedep
5283 wine_cv_toolsdir
="\$(top_builddir)"
5284 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5285 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5286 case "$wine_cv_toolsdir" in
5288 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5290 enable_tools
=${enable_tools:-no}
5291 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5293 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5297 $as_echo "$wine_cv_toolsdir" >&6; }
5298 TOOLSDIR
=$wine_cv_toolsdir
5300 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5302 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5308 # Extract the first word of "$ac_prog", so it can be a program name with args.
5309 set dummy
$ac_prog; ac_word
=$2
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5311 $as_echo_n "checking for $ac_word... " >&6; }
5312 if ${ac_cv_prog_FLEX+:} false
; then :
5313 $as_echo_n "(cached) " >&6
5315 if test -n "$FLEX"; then
5316 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5322 test -z "$as_dir" && as_dir
=.
5323 for ac_exec_ext
in '' $ac_executable_extensions; do
5324 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5325 ac_cv_prog_FLEX
="$ac_prog"
5326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5335 FLEX
=$ac_cv_prog_FLEX
5336 if test -n "$FLEX"; then
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5338 $as_echo "$FLEX" >&6; }
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5341 $as_echo "no" >&6; }
5345 test -n "$FLEX" && break
5347 test -n "$FLEX" || FLEX
="none"
5349 if test "$FLEX" = "none"
5351 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5354 $as_echo_n "checking whether flex is recent enough... " >&6; }
5355 cat >conftest.l
<<EOF
5357 #include "prediluvian.h"
5361 if $FLEX -t conftest.l
>/dev
/null
2>&5
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5364 $as_echo "yes" >&6; }
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5367 $as_echo "no" >&6; }
5368 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5371 for ac_prog
in bison
5373 # Extract the first word of "$ac_prog", so it can be a program name with args.
5374 set dummy
$ac_prog; ac_word
=$2
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5376 $as_echo_n "checking for $ac_word... " >&6; }
5377 if ${ac_cv_prog_BISON+:} false
; then :
5378 $as_echo_n "(cached) " >&6
5380 if test -n "$BISON"; then
5381 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5387 test -z "$as_dir" && as_dir
=.
5388 for ac_exec_ext
in '' $ac_executable_extensions; do
5389 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5390 ac_cv_prog_BISON
="$ac_prog"
5391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5400 BISON
=$ac_cv_prog_BISON
5401 if test -n "$BISON"; then
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5403 $as_echo "$BISON" >&6; }
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5406 $as_echo "no" >&6; }
5410 test -n "$BISON" && break
5412 test -n "$BISON" || BISON
="none"
5414 if test "$BISON" = "none"
5416 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5419 if test -n "$ac_tool_prefix"; then
5420 for ac_prog
in ar gar
5422 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5423 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5425 $as_echo_n "checking for $ac_word... " >&6; }
5426 if ${ac_cv_prog_AR+:} false
; then :
5427 $as_echo_n "(cached) " >&6
5429 if test -n "$AR"; then
5430 ac_cv_prog_AR
="$AR" # Let the user override the test.
5432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5436 test -z "$as_dir" && as_dir
=.
5437 for ac_exec_ext
in '' $ac_executable_extensions; do
5438 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5439 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 if test -n "$AR"; then
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5452 $as_echo "$AR" >&6; }
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5455 $as_echo "no" >&6; }
5459 test -n "$AR" && break
5462 if test -z "$AR"; then
5464 for ac_prog
in ar gar
5466 # Extract the first word of "$ac_prog", so it can be a program name with args.
5467 set dummy
$ac_prog; ac_word
=$2
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469 $as_echo_n "checking for $ac_word... " >&6; }
5470 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5471 $as_echo_n "(cached) " >&6
5473 if test -n "$ac_ct_AR"; then
5474 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5480 test -z "$as_dir" && as_dir
=.
5481 for ac_exec_ext
in '' $ac_executable_extensions; do
5482 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5483 ac_cv_prog_ac_ct_AR
="$ac_prog"
5484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5494 if test -n "$ac_ct_AR"; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5496 $as_echo "$ac_ct_AR" >&6; }
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499 $as_echo "no" >&6; }
5503 test -n "$ac_ct_AR" && break
5506 if test "x$ac_ct_AR" = x
; then
5509 case $cross_compiling:$ac_tool_warned in
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5513 ac_tool_warned
=yes ;;
5519 if test -n "$ac_tool_prefix"; then
5520 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5521 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5523 $as_echo_n "checking for $ac_word... " >&6; }
5524 if ${ac_cv_prog_STRIP+:} false
; then :
5525 $as_echo_n "(cached) " >&6
5527 if test -n "$STRIP"; then
5528 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5534 test -z "$as_dir" && as_dir
=.
5535 for ac_exec_ext
in '' $ac_executable_extensions; do
5536 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5537 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5547 STRIP
=$ac_cv_prog_STRIP
5548 if test -n "$STRIP"; then
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5550 $as_echo "$STRIP" >&6; }
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5553 $as_echo "no" >&6; }
5558 if test -z "$ac_cv_prog_STRIP"; then
5560 # Extract the first word of "strip", so it can be a program name with args.
5561 set dummy strip
; ac_word
=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5563 $as_echo_n "checking for $ac_word... " >&6; }
5564 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5565 $as_echo_n "(cached) " >&6
5567 if test -n "$ac_ct_STRIP"; then
5568 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5574 test -z "$as_dir" && as_dir
=.
5575 for ac_exec_ext
in '' $ac_executable_extensions; do
5576 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5577 ac_cv_prog_ac_ct_STRIP
="strip"
5578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5587 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5588 if test -n "$ac_ct_STRIP"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5590 $as_echo "$ac_ct_STRIP" >&6; }
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5593 $as_echo "no" >&6; }
5596 if test "x$ac_ct_STRIP" = x
; then
5599 case $cross_compiling:$ac_tool_warned in
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5603 ac_tool_warned
=yes ;;
5608 STRIP
="$ac_cv_prog_STRIP"
5613 if test -n "$ac_tool_prefix"; then
5614 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5615 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5617 $as_echo_n "checking for $ac_word... " >&6; }
5618 if ${ac_cv_prog_RANLIB+:} false
; then :
5619 $as_echo_n "(cached) " >&6
5621 if test -n "$RANLIB"; then
5622 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5628 test -z "$as_dir" && as_dir
=.
5629 for ac_exec_ext
in '' $ac_executable_extensions; do
5630 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5631 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 RANLIB
=$ac_cv_prog_RANLIB
5642 if test -n "$RANLIB"; then
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5644 $as_echo "$RANLIB" >&6; }
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647 $as_echo "no" >&6; }
5652 if test -z "$ac_cv_prog_RANLIB"; then
5653 ac_ct_RANLIB
=$RANLIB
5654 # Extract the first word of "ranlib", so it can be a program name with args.
5655 set dummy ranlib
; ac_word
=$2
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5657 $as_echo_n "checking for $ac_word... " >&6; }
5658 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5659 $as_echo_n "(cached) " >&6
5661 if test -n "$ac_ct_RANLIB"; then
5662 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5668 test -z "$as_dir" && as_dir
=.
5669 for ac_exec_ext
in '' $ac_executable_extensions; do
5670 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5671 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5681 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5682 if test -n "$ac_ct_RANLIB"; then
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5684 $as_echo "$ac_ct_RANLIB" >&6; }
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5687 $as_echo "no" >&6; }
5690 if test "x$ac_ct_RANLIB" = x
; then
5693 case $cross_compiling:$ac_tool_warned in
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5697 ac_tool_warned
=yes ;;
5699 RANLIB
=$ac_ct_RANLIB
5702 RANLIB
="$ac_cv_prog_RANLIB"
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5706 $as_echo_n "checking whether ln -s works... " >&6; }
5708 if test "$LN_S" = "ln -s"; then
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5710 $as_echo "yes" >&6; }
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5713 $as_echo "no, using $LN_S" >&6; }
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5717 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5718 if ${ac_cv_path_GREP+:} false
; then :
5719 $as_echo_n "(cached) " >&6
5721 if test -z "$GREP"; then
5722 ac_path_GREP_found
=false
5723 # Loop through the user's path and test for each of PROGNAME-LIST
5724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5725 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5728 test -z "$as_dir" && as_dir
=.
5729 for ac_prog
in grep ggrep
; do
5730 for ac_exec_ext
in '' $ac_executable_extensions; do
5731 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5732 as_fn_executable_p
"$ac_path_GREP" ||
continue
5733 # Check for GNU ac_path_GREP and select it if it is found.
5734 # Check for GNU $ac_path_GREP
5735 case `"$ac_path_GREP" --version 2>&1` in
5737 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5740 $as_echo_n 0123456789 >"conftest.in"
5743 cat "conftest.in" "conftest.in" >"conftest.tmp"
5744 mv "conftest.tmp" "conftest.in"
5745 cp "conftest.in" "conftest.nl"
5746 $as_echo 'GREP' >> "conftest.nl"
5747 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5748 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5749 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5750 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5751 # Best one so far, save it but keep looking for a better one
5752 ac_cv_path_GREP
="$ac_path_GREP"
5753 ac_path_GREP_max
=$ac_count
5755 # 10*(2^10) chars as input seems more than enough
5756 test $ac_count -gt 10 && break
5758 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5761 $ac_path_GREP_found && break 3
5766 if test -z "$ac_cv_path_GREP"; then
5767 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5770 ac_cv_path_GREP
=$GREP
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5775 $as_echo "$ac_cv_path_GREP" >&6; }
5776 GREP
="$ac_cv_path_GREP"
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5780 $as_echo_n "checking for egrep... " >&6; }
5781 if ${ac_cv_path_EGREP+:} false
; then :
5782 $as_echo_n "(cached) " >&6
5784 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5785 then ac_cv_path_EGREP
="$GREP -E"
5787 if test -z "$EGREP"; then
5788 ac_path_EGREP_found
=false
5789 # Loop through the user's path and test for each of PROGNAME-LIST
5790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5791 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5794 test -z "$as_dir" && as_dir
=.
5795 for ac_prog
in egrep; do
5796 for ac_exec_ext
in '' $ac_executable_extensions; do
5797 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5798 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5799 # Check for GNU ac_path_EGREP and select it if it is found.
5800 # Check for GNU $ac_path_EGREP
5801 case `"$ac_path_EGREP" --version 2>&1` in
5803 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5806 $as_echo_n 0123456789 >"conftest.in"
5809 cat "conftest.in" "conftest.in" >"conftest.tmp"
5810 mv "conftest.tmp" "conftest.in"
5811 cp "conftest.in" "conftest.nl"
5812 $as_echo 'EGREP' >> "conftest.nl"
5813 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5814 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5815 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5816 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5817 # Best one so far, save it but keep looking for a better one
5818 ac_cv_path_EGREP
="$ac_path_EGREP"
5819 ac_path_EGREP_max
=$ac_count
5821 # 10*(2^10) chars as input seems more than enough
5822 test $ac_count -gt 10 && break
5824 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5827 $ac_path_EGREP_found && break 3
5832 if test -z "$ac_cv_path_EGREP"; then
5833 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5836 ac_cv_path_EGREP
=$EGREP
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5842 $as_echo "$ac_cv_path_EGREP" >&6; }
5843 EGREP
="$ac_cv_path_EGREP"
5846 # Extract the first word of "ldconfig", so it can be a program name with args.
5847 set dummy ldconfig
; ac_word
=$2
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5849 $as_echo_n "checking for $ac_word... " >&6; }
5850 if ${ac_cv_path_LDCONFIG+:} false
; then :
5851 $as_echo_n "(cached) " >&6
5855 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5859 for as_dir
in /sbin
/usr
/sbin
$PATH
5862 test -z "$as_dir" && as_dir
=.
5863 for ac_exec_ext
in '' $ac_executable_extensions; do
5864 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5865 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5873 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5877 LDCONFIG
=$ac_cv_path_LDCONFIG
5878 if test -n "$LDCONFIG"; then
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5880 $as_echo "$LDCONFIG" >&6; }
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5883 $as_echo "no" >&6; }
5887 for ac_prog
in msgfmt
5889 # Extract the first word of "$ac_prog", so it can be a program name with args.
5890 set dummy
$ac_prog; ac_word
=$2
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5892 $as_echo_n "checking for $ac_word... " >&6; }
5893 if ${ac_cv_prog_MSGFMT+:} false
; then :
5894 $as_echo_n "(cached) " >&6
5896 if test -n "$MSGFMT"; then
5897 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5903 test -z "$as_dir" && as_dir
=.
5904 for ac_exec_ext
in '' $ac_executable_extensions; do
5905 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5906 ac_cv_prog_MSGFMT
="$ac_prog"
5907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5916 MSGFMT
=$ac_cv_prog_MSGFMT
5917 if test -n "$MSGFMT"; then
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5919 $as_echo "$MSGFMT" >&6; }
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5922 $as_echo "no" >&6; }
5926 test -n "$MSGFMT" && break
5928 test -n "$MSGFMT" || MSGFMT
="false"
5930 if ${ac_tool_prefix+:} false
; then :
5931 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5932 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5934 $as_echo_n "checking for $ac_word... " >&6; }
5935 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5936 $as_echo_n "(cached) " >&6
5938 if test -n "$PKG_CONFIG"; then
5939 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5945 test -z "$as_dir" && as_dir
=.
5946 for ac_exec_ext
in '' $ac_executable_extensions; do
5947 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5948 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5958 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5959 if test -n "$PKG_CONFIG"; then
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5961 $as_echo "$PKG_CONFIG" >&6; }
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5964 $as_echo "no" >&6; }
5969 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5970 if test "x$cross_compiling" = xyes
; then :
5973 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5974 # Extract the first word of "pkg-config", so it can be a program name with args.
5975 set dummy pkg-config
; ac_word
=$2
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5977 $as_echo_n "checking for $ac_word... " >&6; }
5978 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5979 $as_echo_n "(cached) " >&6
5981 if test -n "$PKG_CONFIG"; then
5982 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5988 test -z "$as_dir" && as_dir
=.
5989 for ac_exec_ext
in '' $ac_executable_extensions; do
5990 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5991 ac_cv_prog_PKG_CONFIG
="pkg-config"
5992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6001 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6002 if test -n "$PKG_CONFIG"; then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6004 $as_echo "$PKG_CONFIG" >&6; }
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6007 $as_echo "no" >&6; }
6013 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6016 if test "x$enable_maintainer_mode" != "xyes"
6023 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
6024 for ac_prog
in fontforge
6026 # Extract the first word of "$ac_prog", so it can be a program name with args.
6027 set dummy
$ac_prog; ac_word
=$2
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6029 $as_echo_n "checking for $ac_word... " >&6; }
6030 if ${ac_cv_prog_FONTFORGE+:} false
; then :
6031 $as_echo_n "(cached) " >&6
6033 if test -n "$FONTFORGE"; then
6034 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6040 test -z "$as_dir" && as_dir
=.
6041 for ac_exec_ext
in '' $ac_executable_extensions; do
6042 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6043 ac_cv_prog_FONTFORGE
="$ac_prog"
6044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6053 FONTFORGE
=$ac_cv_prog_FONTFORGE
6054 if test -n "$FONTFORGE"; then
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6056 $as_echo "$FONTFORGE" >&6; }
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6059 $as_echo "no" >&6; }
6063 test -n "$FONTFORGE" && break
6065 test -n "$FONTFORGE" || FONTFORGE
="false"
6067 for ac_prog
in rsvg-convert rsvg
6069 # Extract the first word of "$ac_prog", so it can be a program name with args.
6070 set dummy
$ac_prog; ac_word
=$2
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6072 $as_echo_n "checking for $ac_word... " >&6; }
6073 if ${ac_cv_prog_RSVG+:} false
; then :
6074 $as_echo_n "(cached) " >&6
6076 if test -n "$RSVG"; then
6077 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
6079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6083 test -z "$as_dir" && as_dir
=.
6084 for ac_exec_ext
in '' $ac_executable_extensions; do
6085 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6086 ac_cv_prog_RSVG
="$ac_prog"
6087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6096 RSVG
=$ac_cv_prog_RSVG
6097 if test -n "$RSVG"; then
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6099 $as_echo "$RSVG" >&6; }
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6102 $as_echo "no" >&6; }
6106 test -n "$RSVG" && break
6108 test -n "$RSVG" || RSVG
="false"
6110 for ac_prog
in convert
6112 # Extract the first word of "$ac_prog", so it can be a program name with args.
6113 set dummy
$ac_prog; ac_word
=$2
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if ${ac_cv_prog_CONVERT+:} false
; then :
6117 $as_echo_n "(cached) " >&6
6119 if test -n "$CONVERT"; then
6120 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
6122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6126 test -z "$as_dir" && as_dir
=.
6127 for ac_exec_ext
in '' $ac_executable_extensions; do
6128 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6129 ac_cv_prog_CONVERT
="$ac_prog"
6130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6139 CONVERT
=$ac_cv_prog_CONVERT
6140 if test -n "$CONVERT"; then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6142 $as_echo "$CONVERT" >&6; }
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 $as_echo "no" >&6; }
6149 test -n "$CONVERT" && break
6151 test -n "$CONVERT" || CONVERT
="false"
6153 for ac_prog
in icotool
6155 # Extract the first word of "$ac_prog", so it can be a program name with args.
6156 set dummy
$ac_prog; ac_word
=$2
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6158 $as_echo_n "checking for $ac_word... " >&6; }
6159 if ${ac_cv_prog_ICOTOOL+:} false
; then :
6160 $as_echo_n "(cached) " >&6
6162 if test -n "$ICOTOOL"; then
6163 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6169 test -z "$as_dir" && as_dir
=.
6170 for ac_exec_ext
in '' $ac_executable_extensions; do
6171 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6172 ac_cv_prog_ICOTOOL
="$ac_prog"
6173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6182 ICOTOOL
=$ac_cv_prog_ICOTOOL
6183 if test -n "$ICOTOOL"; then
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6185 $as_echo "$ICOTOOL" >&6; }
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6188 $as_echo "no" >&6; }
6192 test -n "$ICOTOOL" && break
6194 test -n "$ICOTOOL" || ICOTOOL
="false"
6196 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6197 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6199 if test "$CONVERT" = false
6201 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6204 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6205 convert_version
=`convert --version | head -n1`
6206 if test "x$convert_version" != "x"
6208 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6209 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6210 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6215 if test "$CONVERT" = false
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6218 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6219 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6222 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6226 if test "$ICOTOOL" = false
6228 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6231 $as_echo_n "checking for recent enough icotool... " >&6; }
6232 icotool_version
=`icotool --version | head -n1`
6233 if test "x$icotool_version" != "x"
6235 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6236 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6237 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6240 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6243 if test "$ICOTOOL" = false
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6246 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6247 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6250 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6256 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6259 test "x$with_gettext" != xno || MSGFMT
=false
6260 if test "$MSGFMT" != "false"
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6263 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6264 cat >conftest.po
<<EOF
6270 if $MSGFMT -o /dev
/null conftest.po
2>&5
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6273 $as_echo "yes" >&6; }
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6276 $as_echo "no" >&6; }
6280 if test "$MSGFMT" = false
; then :
6281 case "x$with_gettext" in
6282 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6284 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6285 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6287 enable_po
=${enable_po:-no}
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6292 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6293 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6294 $as_echo_n "(cached) " >&6
6296 ac_check_lib_save_LIBS
=$LIBS
6298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6299 /* end confdefs.h. */
6301 /* Override any GCC internal prototype to avoid an error.
6302 Use char because int might match the return type of a GCC
6303 builtin and then its argument prototype would still apply. */
6307 char i386_set_ldt ();
6311 return i386_set_ldt ();
6316 if ac_fn_c_try_link
"$LINENO"; then :
6317 ac_cv_lib_i386_i386_set_ldt
=yes
6319 ac_cv_lib_i386_i386_set_ldt
=no
6321 rm -f core conftest.err conftest.
$ac_objext \
6322 conftest
$ac_exeext conftest.
$ac_ext
6323 LIBS
=$ac_check_lib_save_LIBS
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6326 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6327 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6328 cat >>confdefs.h
<<_ACEOF
6329 #define HAVE_LIBI386 1
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6337 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6338 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6339 $as_echo_n "(cached) " >&6
6341 ac_check_lib_save_LIBS
=$LIBS
6342 LIBS
="-lossaudio $LIBS"
6343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6344 /* end confdefs.h. */
6346 /* Override any GCC internal prototype to avoid an error.
6347 Use char because int might match the return type of a GCC
6348 builtin and then its argument prototype would still apply. */
6356 return _oss_ioctl ();
6361 if ac_fn_c_try_link
"$LINENO"; then :
6362 ac_cv_lib_ossaudio__oss_ioctl
=yes
6364 ac_cv_lib_ossaudio__oss_ioctl
=no
6366 rm -f core conftest.err conftest.
$ac_objext \
6367 conftest
$ac_exeext conftest.
$ac_ext
6368 LIBS
=$ac_check_lib_save_LIBS
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6371 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6372 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6373 cat >>confdefs.h
<<_ACEOF
6374 #define HAVE_LIBOSSAUDIO 1
6377 LIBS
="-lossaudio $LIBS"
6386 # Check whether --enable-largefile was given.
6387 if test "${enable_largefile+set}" = set; then :
6388 enableval
=$enable_largefile;
6391 if test "$enable_largefile" != no
; then
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6394 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6395 if ${ac_cv_sys_largefile_CC+:} false
; then :
6396 $as_echo_n "(cached) " >&6
6398 ac_cv_sys_largefile_CC
=no
6399 if test "$GCC" != yes; then
6402 # IRIX 6.2 and later do not support large files by default,
6403 # so use the C compiler's -n32 option if that helps.
6404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6405 /* end confdefs.h. */
6406 #include <sys/types.h>
6407 /* Check that off_t can represent 2**63 - 1 correctly.
6408 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6409 since some C++ compilers masquerading as C compilers
6410 incorrectly reject 9223372036854775807. */
6411 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6412 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6413 && LARGE_OFF_T % 2147483647 == 1)
6423 if ac_fn_c_try_compile
"$LINENO"; then :
6426 rm -f core conftest.err conftest.
$ac_objext
6428 if ac_fn_c_try_compile
"$LINENO"; then :
6429 ac_cv_sys_largefile_CC
=' -n32'; break
6431 rm -f core conftest.err conftest.
$ac_objext
6435 rm -f conftest.
$ac_ext
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6439 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6440 if test "$ac_cv_sys_largefile_CC" != no
; then
6441 CC
=$CC$ac_cv_sys_largefile_CC
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6445 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6446 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6447 $as_echo_n "(cached) " >&6
6450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6451 /* end confdefs.h. */
6452 #include <sys/types.h>
6453 /* Check that off_t can represent 2**63 - 1 correctly.
6454 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6455 since some C++ compilers masquerading as C compilers
6456 incorrectly reject 9223372036854775807. */
6457 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6458 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6459 && LARGE_OFF_T % 2147483647 == 1)
6469 if ac_fn_c_try_compile
"$LINENO"; then :
6470 ac_cv_sys_file_offset_bits
=no
; break
6472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6474 /* end confdefs.h. */
6475 #define _FILE_OFFSET_BITS 64
6476 #include <sys/types.h>
6477 /* Check that off_t can represent 2**63 - 1 correctly.
6478 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6479 since some C++ compilers masquerading as C compilers
6480 incorrectly reject 9223372036854775807. */
6481 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6482 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6483 && LARGE_OFF_T % 2147483647 == 1)
6493 if ac_fn_c_try_compile
"$LINENO"; then :
6494 ac_cv_sys_file_offset_bits
=64; break
6496 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6497 ac_cv_sys_file_offset_bits
=unknown
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6502 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6503 case $ac_cv_sys_file_offset_bits in #(
6506 cat >>confdefs.h
<<_ACEOF
6507 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6512 if test $ac_cv_sys_file_offset_bits = unknown
; then
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6514 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6515 if ${ac_cv_sys_large_files+:} false
; then :
6516 $as_echo_n "(cached) " >&6
6519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6520 /* end confdefs.h. */
6521 #include <sys/types.h>
6522 /* Check that off_t can represent 2**63 - 1 correctly.
6523 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6524 since some C++ compilers masquerading as C compilers
6525 incorrectly reject 9223372036854775807. */
6526 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6527 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6528 && LARGE_OFF_T % 2147483647 == 1)
6538 if ac_fn_c_try_compile
"$LINENO"; then :
6539 ac_cv_sys_large_files
=no
; break
6541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6543 /* end confdefs.h. */
6544 #define _LARGE_FILES 1
6545 #include <sys/types.h>
6546 /* Check that off_t can represent 2**63 - 1 correctly.
6547 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6548 since some C++ compilers masquerading as C compilers
6549 incorrectly reject 9223372036854775807. */
6550 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6551 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6552 && LARGE_OFF_T % 2147483647 == 1)
6562 if ac_fn_c_try_compile
"$LINENO"; then :
6563 ac_cv_sys_large_files
=1; break
6565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6566 ac_cv_sys_large_files
=unknown
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6571 $as_echo "$ac_cv_sys_large_files" >&6; }
6572 case $ac_cv_sys_large_files in #(
6575 cat >>confdefs.h
<<_ACEOF
6576 #define _LARGE_FILES $ac_cv_sys_large_files
6588 ac_cpp
='$CPP $CPPFLAGS'
6589 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6590 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6591 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6593 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6594 # On Suns, sometimes $CPP names a directory.
6595 if test -n "$CPP" && test -d "$CPP"; then
6598 if test -z "$CPP"; then
6599 if ${ac_cv_prog_CPP+:} false
; then :
6600 $as_echo_n "(cached) " >&6
6602 # Double quotes because CPP needs to be expanded
6603 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6606 for ac_c_preproc_warn_flag
in '' yes
6608 # Use a header file that comes with gcc, so configuring glibc
6609 # with a fresh cross-compiler works.
6610 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6611 # <limits.h> exists even on freestanding compilers.
6612 # On the NeXT, cc -E runs the code through the compiler's parser,
6613 # not just through cpp. "Syntax error" is here to catch this case.
6614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6615 /* end confdefs.h. */
6617 # include <limits.h>
6619 # include <assert.h>
6623 if ac_fn_c_try_cpp
"$LINENO"; then :
6626 # Broken: fails on valid input.
6629 rm -f conftest.err conftest.i conftest.
$ac_ext
6631 # OK, works on sane cases. Now check whether nonexistent headers
6632 # can be detected and how.
6633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6634 /* end confdefs.h. */
6635 #include <ac_nonexistent.h>
6637 if ac_fn_c_try_cpp
"$LINENO"; then :
6638 # Broken: success on invalid input.
6641 # Passes both tests.
6645 rm -f conftest.err conftest.i conftest.
$ac_ext
6648 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6649 rm -f conftest.i conftest.err conftest.
$ac_ext
6650 if $ac_preproc_ok; then :
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6663 $as_echo "$CPP" >&6; }
6665 for ac_c_preproc_warn_flag
in '' yes
6667 # Use a header file that comes with gcc, so configuring glibc
6668 # with a fresh cross-compiler works.
6669 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6670 # <limits.h> exists even on freestanding compilers.
6671 # On the NeXT, cc -E runs the code through the compiler's parser,
6672 # not just through cpp. "Syntax error" is here to catch this case.
6673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6674 /* end confdefs.h. */
6676 # include <limits.h>
6678 # include <assert.h>
6682 if ac_fn_c_try_cpp
"$LINENO"; then :
6685 # Broken: fails on valid input.
6688 rm -f conftest.err conftest.i conftest.
$ac_ext
6690 # OK, works on sane cases. Now check whether nonexistent headers
6691 # can be detected and how.
6692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6693 /* end confdefs.h. */
6694 #include <ac_nonexistent.h>
6696 if ac_fn_c_try_cpp
"$LINENO"; then :
6697 # Broken: success on invalid input.
6700 # Passes both tests.
6704 rm -f conftest.err conftest.i conftest.
$ac_ext
6707 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6708 rm -f conftest.i conftest.err conftest.
$ac_ext
6709 if $ac_preproc_ok; then :
6712 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6714 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6715 See \`config.log' for more details" "$LINENO" 5; }
6719 ac_cpp
='$CPP $CPPFLAGS'
6720 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6721 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6722 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6726 $as_echo_n "checking for ANSI C header files... " >&6; }
6727 if ${ac_cv_header_stdc+:} false
; then :
6728 $as_echo_n "(cached) " >&6
6730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6731 /* end confdefs.h. */
6745 if ac_fn_c_try_compile
"$LINENO"; then :
6746 ac_cv_header_stdc
=yes
6748 ac_cv_header_stdc
=no
6750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6752 if test $ac_cv_header_stdc = yes; then
6753 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6755 /* end confdefs.h. */
6759 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6760 $EGREP "memchr" >/dev
/null
2>&1; then :
6763 ac_cv_header_stdc
=no
6769 if test $ac_cv_header_stdc = yes; then
6770 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6772 /* end confdefs.h. */
6776 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6777 $EGREP "free" >/dev
/null
2>&1; then :
6780 ac_cv_header_stdc
=no
6786 if test $ac_cv_header_stdc = yes; then
6787 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6788 if test "$cross_compiling" = yes; then :
6791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6792 /* end confdefs.h. */
6795 #if ((' ' & 0x0FF) == 0x020)
6796 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6797 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6799 # define ISLOWER(c) \
6800 (('a' <= (c) && (c) <= 'i') \
6801 || ('j' <= (c) && (c) <= 'r') \
6802 || ('s' <= (c) && (c) <= 'z'))
6803 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6806 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6811 for (i = 0; i < 256; i++)
6812 if (XOR (islower (i), ISLOWER (i))
6813 || toupper (i) != TOUPPER (i))
6818 if ac_fn_c_try_run
"$LINENO"; then :
6821 ac_cv_header_stdc
=no
6823 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6824 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6830 $as_echo "$ac_cv_header_stdc" >&6; }
6831 if test $ac_cv_header_stdc = yes; then
6833 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6837 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6838 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6839 inttypes.h stdint.h unistd.h
6841 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6842 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6844 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6845 cat >>confdefs.h
<<_ACEOF
6846 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6856 ApplicationServices
/ApplicationServices.h \
6857 AudioToolbox
/AudioConverter.h \
6858 AudioUnit
/AudioUnit.h \
6859 AudioUnit
/AudioComponent.h \
6862 CommonCrypto
/CommonDigest.h \
6863 CoreAudio
/CoreAudio.h \
6864 CoreServices
/CoreServices.h \
6865 DiskArbitration
/DiskArbitration.h \
6868 IOKit
/hid
/IOHIDLib.h \
6871 QuickTime
/ImageCompression.h \
6872 Security
/Security.h \
6922 netinet
/in_systm.h \
6987 valgrind
/memcheck.h \
6988 valgrind
/valgrind.h \
6992 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6993 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6994 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6995 cat >>confdefs.h
<<_ACEOF
6996 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
7004 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
7005 if ${ac_cv_header_sys_types_h_makedev+:} false
; then :
7006 $as_echo_n "(cached) " >&6
7008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7009 /* end confdefs.h. */
7010 #include <sys/types.h>
7014 return makedev(0, 0);
7019 if ac_fn_c_try_link
"$LINENO"; then :
7020 ac_cv_header_sys_types_h_makedev
=yes
7022 ac_cv_header_sys_types_h_makedev
=no
7024 rm -f core conftest.err conftest.
$ac_objext \
7025 conftest
$ac_exeext conftest.
$ac_ext
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7029 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7031 if test $ac_cv_header_sys_types_h_makedev = no
; then
7032 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7033 if test "x$ac_cv_header_sys_mkdev_h" = xyes
; then :
7035 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7041 if test $ac_cv_header_sys_mkdev_h = no
; then
7042 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7043 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
; then :
7045 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7054 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7055 if ${ac_cv_header_stat_broken+:} false
; then :
7056 $as_echo_n "(cached) " >&6
7058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7059 /* end confdefs.h. */
7060 #include <sys/types.h>
7061 #include <sys/stat.h>
7063 #if defined S_ISBLK && defined S_IFDIR
7064 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7067 #if defined S_ISBLK && defined S_IFCHR
7068 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7071 #if defined S_ISLNK && defined S_IFREG
7072 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7075 #if defined S_ISSOCK && defined S_IFREG
7076 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7080 if ac_fn_c_try_compile
"$LINENO"; then :
7081 ac_cv_header_stat_broken
=no
7083 ac_cv_header_stat_broken
=yes
7085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7088 $as_echo "$ac_cv_header_stat_broken" >&6; }
7089 if test $ac_cv_header_stat_broken = yes; then
7091 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7097 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
7099 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7100 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7101 #ifdef HAVE_SYS_PARAM_H
7102 # include <sys/param.h>
7105 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7106 cat >>confdefs.h
<<_ACEOF
7107 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7122 netinet
/if_ether.h \
7123 netinet
/if_inarp.h \
7132 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7133 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7134 #ifdef HAVE_SYS_SOCKET_H
7135 # include <sys/socket.h>
7137 #ifdef HAVE_SYS_SOCKETVAR_H
7138 # include <sys/socketvar.h>
7140 #ifdef HAVE_NET_ROUTE_H
7141 # include <net/route.h>
7143 #ifdef HAVE_NETINET_IN_H
7144 # include <netinet/in.h>
7146 #ifdef HAVE_NETINET_IN_SYSTM_H
7147 # include <netinet/in_systm.h>
7149 #ifdef HAVE_NET_IF_H
7150 # include <net/if.h>
7152 #ifdef HAVE_NETINET_IP_H
7153 # include <netinet/ip.h>
7156 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7157 cat >>confdefs.h
<<_ACEOF
7158 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7166 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
7168 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7169 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7173 #ifdef HAVE_SYS_SOCKET_H
7174 # include <sys/socket.h>
7176 #ifdef HAVE_SYS_SOCKETVAR_H
7177 # include <sys/socketvar.h>
7179 #ifdef HAVE_SYS_TIMEOUT_H
7180 # include <sys/timeout.h>
7182 #ifdef HAVE_NETINET_IN_H
7183 # include <netinet/in.h>
7185 #ifdef HAVE_NETINET_IN_SYSTM_H
7186 # include <netinet/in_systm.h>
7188 #ifdef HAVE_NETINET_IP_H
7189 # include <netinet/ip.h>
7191 #ifdef HAVE_NETINET_IP_VAR_H
7192 # include <netinet/ip_var.h>
7194 #ifdef HAVE_NETINET_IP_ICMP_H
7195 # include <netinet/ip_icmp.h>
7197 #ifdef HAVE_NETINET_UDP_H
7198 # include <netinet/udp.h>
7200 #ifdef HAVE_NETINET_TCP_H
7201 # include <netinet/tcp.h>
7203 #ifdef HAVE_NETINET_TCP_TIMER_H
7204 #include <netinet/tcp_timer.h>
7207 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7208 cat >>confdefs.h
<<_ACEOF
7209 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7217 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
7219 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7220 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7221 #ifdef HAVE_ASM_TYPES_H
7222 # include <asm/types.h>
7224 #ifdef HAVE_SYS_SOCKET_H
7225 # include <sys/socket.h>
7227 #ifdef HAVE_LINUX_TYPES_H
7228 # include <linux/types.h>
7231 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7232 cat >>confdefs.h
<<_ACEOF
7233 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7241 for ac_header
in mach-o
/dyld_images.h
7243 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7244 # include <stdbool.h>
7246 #ifdef HAVE_STDINT_H
7247 # include <stdint.h>
7250 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7251 cat >>confdefs.h
<<_ACEOF
7252 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7260 for ac_header
in resolv.h
7262 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7263 #ifdef HAVE_SYS_SOCKET_H
7264 # include <sys/socket.h>
7266 #ifdef HAVE_NETINET_IN_H
7267 # include <netinet/in.h>
7269 #ifdef HAVE_ARPA_NAMESER_H
7270 # include <arpa/nameser.h>
7273 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7274 cat >>confdefs.h
<<_ACEOF
7275 #define HAVE_RESOLV_H 1
7283 for ac_header
in ifaddrs.h
7285 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7287 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7288 cat >>confdefs.h
<<_ACEOF
7289 #define HAVE_IFADDRS_H 1
7297 for ac_header
in sys
/ucontext.h
7299 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7301 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7302 cat >>confdefs.h
<<_ACEOF
7303 #define HAVE_SYS_UCONTEXT_H 1
7311 for ac_header
in sys
/thr.h
7313 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7314 #ifdef HAVE_SYS_UCONTEXT_H
7315 #include <sys/ucontext.h>
7318 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7319 cat >>confdefs.h
<<_ACEOF
7320 #define HAVE_SYS_THR_H 1
7328 for ac_header
in pthread_np.h
7330 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7331 #include <pthread.h>
7334 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7335 cat >>confdefs.h
<<_ACEOF
7336 #define HAVE_PTHREAD_NP_H 1
7344 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7346 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7347 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7348 #include <sys/time.h>
7350 #include <sys/types.h>
7351 #ifdef HAVE_ASM_TYPES_H
7352 #include <asm/types.h>
7355 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7356 cat >>confdefs.h
<<_ACEOF
7357 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7365 for ac_header
in libprocstat.h
7367 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7368 #include <sys/param.h>
7370 #ifdef HAVE_SYS_QUEUE_H
7371 #include <sys/queue.h>
7373 #ifdef HAVE_SYS_SOCKET_H
7374 #include <sys/socket.h>
7377 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7378 cat >>confdefs.h
<<_ACEOF
7379 #define HAVE_LIBPROCSTAT_H 1
7388 dlldir
="\${libdir}/wine"
7390 DLLFLAGS
="-D_REENTRANT"
7398 WINELOADER_LDFLAGS
=""
7403 # Extract the first word of "ldd", so it can be a program name with args.
7404 set dummy ldd
; ac_word
=$2
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7406 $as_echo_n "checking for $ac_word... " >&6; }
7407 if ${ac_cv_path_LDD+:} false
; then :
7408 $as_echo_n "(cached) " >&6
7412 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7416 as_dummy
="/sbin:/usr/sbin:$PATH"
7417 for as_dir
in $as_dummy
7420 test -z "$as_dir" && as_dir
=.
7421 for ac_exec_ext
in '' $ac_executable_extensions; do
7422 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7423 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7431 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7436 if test -n "$LDD"; then
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7438 $as_echo "$LDD" >&6; }
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7441 $as_echo "no" >&6; }
7445 if test -n "$ac_tool_prefix"; then
7446 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7447 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7449 $as_echo_n "checking for $ac_word... " >&6; }
7450 if ${ac_cv_prog_OTOOL+:} false
; then :
7451 $as_echo_n "(cached) " >&6
7453 if test -n "$OTOOL"; then
7454 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7460 test -z "$as_dir" && as_dir
=.
7461 for ac_exec_ext
in '' $ac_executable_extensions; do
7462 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7463 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7473 OTOOL
=$ac_cv_prog_OTOOL
7474 if test -n "$OTOOL"; then
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7476 $as_echo "$OTOOL" >&6; }
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7479 $as_echo "no" >&6; }
7484 if test -z "$ac_cv_prog_OTOOL"; then
7486 # Extract the first word of "otool", so it can be a program name with args.
7487 set dummy otool
; ac_word
=$2
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7489 $as_echo_n "checking for $ac_word... " >&6; }
7490 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7491 $as_echo_n "(cached) " >&6
7493 if test -n "$ac_ct_OTOOL"; then
7494 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7500 test -z "$as_dir" && as_dir
=.
7501 for ac_exec_ext
in '' $ac_executable_extensions; do
7502 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7503 ac_cv_prog_ac_ct_OTOOL
="otool"
7504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7513 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7514 if test -n "$ac_ct_OTOOL"; then
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7516 $as_echo "$ac_ct_OTOOL" >&6; }
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7519 $as_echo "no" >&6; }
7522 if test "x$ac_ct_OTOOL" = x
; then
7525 case $cross_compiling:$ac_tool_warned in
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7529 ac_tool_warned
=yes ;;
7534 OTOOL
="$ac_cv_prog_OTOOL"
7537 if test -n "$ac_tool_prefix"; then
7538 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7539 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7541 $as_echo_n "checking for $ac_word... " >&6; }
7542 if ${ac_cv_prog_READELF+:} false
; then :
7543 $as_echo_n "(cached) " >&6
7545 if test -n "$READELF"; then
7546 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7552 test -z "$as_dir" && as_dir
=.
7553 for ac_exec_ext
in '' $ac_executable_extensions; do
7554 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7555 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7565 READELF
=$ac_cv_prog_READELF
7566 if test -n "$READELF"; then
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7568 $as_echo "$READELF" >&6; }
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7571 $as_echo "no" >&6; }
7576 if test -z "$ac_cv_prog_READELF"; then
7577 ac_ct_READELF
=$READELF
7578 # Extract the first word of "readelf", so it can be a program name with args.
7579 set dummy readelf
; ac_word
=$2
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7581 $as_echo_n "checking for $ac_word... " >&6; }
7582 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7583 $as_echo_n "(cached) " >&6
7585 if test -n "$ac_ct_READELF"; then
7586 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7592 test -z "$as_dir" && as_dir
=.
7593 for ac_exec_ext
in '' $ac_executable_extensions; do
7594 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7595 ac_cv_prog_ac_ct_READELF
="readelf"
7596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7605 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7606 if test -n "$ac_ct_READELF"; then
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7608 $as_echo "$ac_ct_READELF" >&6; }
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7611 $as_echo "no" >&6; }
7614 if test "x$ac_ct_READELF" = x
; then
7617 case $cross_compiling:$ac_tool_warned in
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7621 ac_tool_warned
=yes ;;
7623 READELF
=$ac_ct_READELF
7626 READELF
="$ac_cv_prog_READELF"
7629 wine_rules_file
=conf$
$rules.
make
7630 rm -f $wine_rules_file
7635 CONFIGURE_TARGETS
=""
7637 ALL_TEST_RESOURCES
=""
7640 wine_fn_append_file
()
7642 as_fn_append
$1 " \\$as_nl $2"
7645 wine_fn_append_rule
()
7647 $as_echo "$1" >>$wine_rules_file
7652 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7655 wine_fn_all_rules
()
7657 wine_fn_append_file SUBDIRS
$ac_dir
7658 wine_fn_append_rule \
7662 @cd $ac_dir && \$(MAKE)"
7665 wine_fn_install_rules
()
7667 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7669 wine_fn_append_rule \
7670 ".PHONY: $ac_dir/install $ac_dir/uninstall
7671 $ac_dir/install:: $ac_dir
7672 @cd $ac_dir && \$(MAKE) install
7674 @cd $ac_dir && \$(MAKE) uninstall
7675 install:: $ac_dir/install
7676 __uninstall__: $ac_dir/uninstall"
7678 if wine_fn_has_flag install-lib
7680 wine_fn_append_rule \
7681 ".PHONY: $ac_dir/install-lib
7682 $ac_dir/install-lib:: $ac_dir
7683 @cd $ac_dir && \$(MAKE) install-lib
7684 install-lib:: $ac_dir/install-lib"
7687 if wine_fn_has_flag install-dev
7689 wine_fn_append_rule \
7690 ".PHONY: $ac_dir/install-dev
7691 $ac_dir/install-dev:: $ac_dir
7692 @cd $ac_dir && \$(MAKE) install-dev
7693 install-dev:: $ac_dir/install-dev"
7697 wine_fn_clean_rules
()
7701 if wine_fn_has_flag clean
7703 wine_fn_append_rule \
7704 "$ac_dir/clean: dummy
7705 @cd $ac_dir && \$(MAKE) clean"
7707 wine_fn_append_rule \
7708 "$ac_dir/clean: dummy
7709 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7711 wine_fn_append_rule \
7712 "__clean__: $ac_dir/clean
7713 .PHONY: $ac_dir/clean"
7716 wine_fn_disabled_rules
()
7720 wine_fn_append_file SUBDIRS
$ac_dir
7721 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7722 wine_fn_append_rule \
7723 "__clean__: $ac_dir/clean
7724 .PHONY: $ac_dir/clean
7725 $ac_dir/clean: dummy
7726 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7729 wine_fn_config_makefile
()
7736 fonts|server
) test -z "$with_wine64" ||
return ;;
7738 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7739 wine_fn_disabled_rules
; return
7742 wine_fn_install_rules
7746 wine_fn_config_lib
()
7750 ac_dir
=dlls
/$ac_name
7753 if test "x$enable_tools" = xno
; then :
7756 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7761 wine_fn_append_rule \
7762 ".PHONY: $ac_dir/install $ac_dir/uninstall
7763 $ac_dir/install:: $ac_dir
7764 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7766 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7767 install install-dev:: $ac_dir/install
7768 __uninstall__: $ac_dir/uninstall
7769 __builddeps__: $ac_dir
7773 wine_fn_config_dll
()
7776 ac_dir
=dlls
/$ac_name
7779 ac_implib
=${4:-$ac_name}
7780 ac_file
=$ac_dir/lib
$ac_implib
7785 if test "x$enable_tools" = xno
; then :
7788 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7791 *.
*16) ac_implibflags
=" -m16" ;;
7793 *) ac_dll
=$ac_dll.dll
;;
7797 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7798 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7800 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7801 if test "$ac_enable" != enable_win16
7803 wine_fn_clean_rules
$ac_clean
7804 wine_fn_append_file SUBDIRS
$ac_dir
7805 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7807 wine_fn_disabled_rules
$ac_clean
7812 wine_fn_clean_rules
$ac_clean
7813 wine_fn_append_rule \
7814 "$ac_dir: __builddeps__
7815 manpages htmlpages sgmlpages xmlpages::
7816 @cd $ac_dir && \$(MAKE) \$@
7817 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7818 install install-lib:: $ac_dir/install-lib
7819 __uninstall__: $ac_dir/uninstall"
7820 if test -n "$DLLEXT"
7822 wine_fn_append_rule \
7823 "$ac_dir/install-lib:: $ac_dir
7824 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7825 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7827 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7829 wine_fn_append_rule \
7830 "$ac_dir/install-lib:: $ac_dir
7831 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7833 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7837 if wine_fn_has_flag staticimplib
7839 wine_fn_append_rule \
7840 "__builddeps__: $ac_file.a
7841 $ac_file.a $ac_file.cross.a: $ac_deps
7843 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7844 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7845 $ac_dir/install-dev:: $ac_file.a
7846 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7848 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7849 install install-dev:: $ac_dir/install-dev
7850 __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: dummy
7857 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7860 elif wine_fn_has_flag implib
7862 wine_fn_append_rule \
7863 "__builddeps__: $ac_file.$IMPLIBEXT
7864 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7865 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7866 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7867 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7868 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7869 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7870 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7872 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7873 install install-dev:: $ac_dir/install-dev
7874 __uninstall__: $ac_dir/uninstall"
7875 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7877 wine_fn_append_rule \
7878 "__builddeps__: $ac_file.cross.a
7879 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7880 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7885 wine_fn_config_program
()
7888 ac_dir
=programs
/$ac_name
7895 *) ac_program
=$ac_program.exe
;;
7899 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7900 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7902 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7903 wine_fn_disabled_rules
$ac_clean; return
7907 wine_fn_clean_rules
$ac_clean
7908 wine_fn_append_rule
"$ac_dir: __builddeps__"
7910 wine_fn_has_flag
install ||
return
7911 wine_fn_append_rule \
7912 ".PHONY: $ac_dir/install $ac_dir/uninstall
7913 install install-lib:: $ac_dir/install
7914 __uninstall__: $ac_dir/uninstall"
7916 if test -n "$DLLEXT"
7918 wine_fn_append_rule \
7919 "$ac_dir/install:: $ac_dir
7920 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7921 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7923 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7925 if test -z "$with_wine64" && wine_fn_has_flag installbin
7927 wine_fn_append_rule \
7928 "$ac_dir/install:: __tooldeps__
7929 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7931 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7934 wine_fn_append_rule \
7935 "$ac_dir/install:: $ac_dir
7936 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7938 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7941 if test -z "$with_wine64" && wine_fn_has_flag manpage
7943 wine_fn_append_rule \
7944 "$ac_dir/install:: $ac_dir
7945 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7947 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7951 wine_fn_config_test
()
7958 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7959 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7961 if test "x$enable_tests" = xno
; then :
7962 wine_fn_disabled_rules
$ac_clean; return
7965 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7967 wine_fn_clean_rules
$ac_clean
7969 wine_fn_append_rule \
7970 "$ac_dir: __builddeps__
7971 programs/winetest: $ac_dir
7972 check test: $ac_dir/test
7973 .PHONY: $ac_dir/test
7975 @cd $ac_dir && \$(MAKE) test
7977 \$(RM) $ac_dir/*.ok"
7979 if test -n "$CROSSTARGET"
7981 wine_fn_append_rule \
7982 "crosstest: $ac_dir/crosstest
7983 .PHONY: $ac_dir/crosstest
7984 $ac_dir/crosstest: __builddeps__ dummy
7985 @cd $ac_dir && \$(MAKE) crosstest"
7989 wine_fn_config_tool
()
7993 if test "x$enable_tools" = xno
; then :
7994 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir; return
7998 wine_fn_install_rules
8001 wine_fn_append_rule
"__tooldeps__: $ac_dir"
8002 wine_fn_append_rule
"$ac_dir: libs/port"
8004 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
8008 wine_fn_config_symlink
()
8011 if test "x$1" = "x-d"
8017 wine_fn_append_rule \
8019 @./config.status \$@"
8020 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
8021 test -n "$ac_linkdir" ||
return
8022 wine_fn_append_rule
"$ac_linkdir/depend: $ac_links"
8026 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
8027 WINELOADER_PROGRAMS
="$wine_binary"
8029 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
8033 if test -n "$ac_tool_prefix"; then
8034 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8035 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8037 $as_echo_n "checking for $ac_word... " >&6; }
8038 if ${ac_cv_prog_DLLTOOL+:} false
; then :
8039 $as_echo_n "(cached) " >&6
8041 if test -n "$DLLTOOL"; then
8042 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8048 test -z "$as_dir" && as_dir
=.
8049 for ac_exec_ext
in '' $ac_executable_extensions; do
8050 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8051 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8061 DLLTOOL
=$ac_cv_prog_DLLTOOL
8062 if test -n "$DLLTOOL"; then
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8064 $as_echo "$DLLTOOL" >&6; }
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8067 $as_echo "no" >&6; }
8072 if test -z "$ac_cv_prog_DLLTOOL"; then
8073 ac_ct_DLLTOOL
=$DLLTOOL
8074 # Extract the first word of "dlltool", so it can be a program name with args.
8075 set dummy dlltool
; ac_word
=$2
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8077 $as_echo_n "checking for $ac_word... " >&6; }
8078 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
8079 $as_echo_n "(cached) " >&6
8081 if test -n "$ac_ct_DLLTOOL"; then
8082 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8088 test -z "$as_dir" && as_dir
=.
8089 for ac_exec_ext
in '' $ac_executable_extensions; do
8090 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8091 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8101 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8102 if test -n "$ac_ct_DLLTOOL"; then
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8104 $as_echo "$ac_ct_DLLTOOL" >&6; }
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8107 $as_echo "no" >&6; }
8110 if test "x$ac_ct_DLLTOOL" = x
; then
8113 case $cross_compiling:$ac_tool_warned in
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8117 ac_tool_warned
=yes ;;
8119 DLLTOOL
=$ac_ct_DLLTOOL
8122 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8128 enable_iphlpapi
=${enable_iphlpapi:-no}
8129 enable_kernel32
=${enable_kernel32:-no}
8130 enable_msvcrt
=${enable_msvcrt:-no}
8131 enable_ntdll
=${enable_ntdll:-no}
8132 enable_ws2_32
=${enable_ws2_32:-no}
8133 enable_loader
=${enable_loader:-no}
8134 enable_server
=${enable_server:-no}
8135 with_x
=${with_x:-no}
8136 with_pthread
=${with_pthread:-no}
8142 SOCKET_LIBS
="-lws2_32"
8146 LIBWINE_SHAREDLIB
="libwine.dll"
8148 LIBWINE_IMPORTLIB
="libwine.a"
8150 LIBWINE_INSTALL_LIB
="libwine.dll"
8152 LIBWINE_INSTALL_DEV
="libwine.a"
8154 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
8156 LIBWINE_DEPENDS
="wine.def"
8161 for ac_header
in libunwind.h
8163 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8164 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8165 cat >>confdefs.h
<<_ACEOF
8166 #define HAVE_LIBUNWIND_H 1
8174 DLLFLAGS
="$DLLFLAGS -fPIC"
8175 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8176 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8177 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8179 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8181 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8183 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8185 CORESERVICES_LIBS
="-framework CoreServices"
8187 APPKIT_LIBS
="-framework AppKit"
8189 WINELOADER_LDFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8191 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8192 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8193 $as_echo_n "(cached) " >&6
8195 ac_wine_try_cflags_saved
=$CFLAGS
8196 CFLAGS
="$CFLAGS -Wl,-no_pie"
8197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8198 /* end confdefs.h. */
8199 int main(int argc, char **argv) { return 0; }
8201 if ac_fn_c_try_link
"$LINENO"; then :
8202 ac_cv_cflags__Wl__no_pie
=yes
8204 ac_cv_cflags__Wl__no_pie
=no
8206 rm -f core conftest.err conftest.
$ac_objext \
8207 conftest
$ac_exeext conftest.
$ac_ext
8208 CFLAGS
=$ac_wine_try_cflags_saved
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8211 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8212 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8213 WINELOADER_LDFLAGS
="-Wl,-no_pie $WINELOADER_LDFLAGS"
8215 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8217 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8220 if test "$ac_cv_header_Security_Security_h" = "yes"
8222 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8224 ac_save_LIBS
="$LIBS"
8225 LIBS
="$LIBS $SECURITY_LIBS"
8226 for ac_func
in SSLCopyPeerCertificates
8228 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8229 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8230 cat >>confdefs.h
<<_ACEOF
8231 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8237 LIBS
="$ac_save_LIBS"
8238 with_gnutls
=${with_gnutls:-no}
8240 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8242 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8244 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8247 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8250 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8251 ac_save_LIBS
="$LIBS"
8252 LIBS
="$LIBS $COREAUDIO_LIBS"
8253 for ac_func
in AUGraphAddNode
8255 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8256 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8257 cat >>confdefs.h
<<_ACEOF
8258 #define HAVE_AUGRAPHADDNODE 1
8264 LIBS
="$ac_save_LIBS"
8266 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8268 OPENAL_LIBS
="-framework OpenAL"
8271 cat >>confdefs.h
<<_ACEOF
8272 #define HAVE_OPENAL 1
8275 ac_cv_lib_openal
=yes
8277 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8279 OPENCL_LIBS
="-framework OpenCL"
8281 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8283 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8285 ac_save_LIBS
="$LIBS"
8286 LIBS
="$LIBS $IOKIT_LIBS"
8287 for ac_func
in IOHIDManagerCreate
8289 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8290 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8291 cat >>confdefs.h
<<_ACEOF
8292 #define HAVE_IOHIDMANAGERCREATE 1
8298 LIBS
="$ac_save_LIBS"
8300 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8302 ac_save_LIBS
="$LIBS"
8303 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8305 $as_echo_n "checking for the QuickTime framework... " >&6; }
8306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8307 /* end confdefs.h. */
8308 #include <QuickTime/ImageCompression.h>
8312 CodecManagerVersion(NULL);
8317 if ac_fn_c_try_link
"$LINENO"; then :
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8319 $as_echo "yes" >&6; }
8320 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8322 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8325 $as_echo "no" >&6; }
8326 ac_cv_header_QuickTime_ImageCompression_h
=no
8328 rm -f core conftest.err conftest.
$ac_objext \
8329 conftest
$ac_exeext conftest.
$ac_ext
8330 LIBS
="$ac_save_LIBS"
8332 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8334 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8336 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8338 CARBON_LIBS
="-framework Carbon"
8342 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8344 ac_save_LIBS
="$LIBS"
8345 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8346 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8347 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8348 enable_winemac_drv
=${enable_winemac_drv:-yes}
8351 LIBS
="$ac_save_LIBS"
8354 if test "x$enable_win16" = "xyes"
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8357 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8358 if test "$cross_compiling" = yes; then :
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8360 $as_echo "cross-compiling, assuming yes" >&6; }
8362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8363 /* end confdefs.h. */
8366 "good:\tnop;nop\n\t"
8367 ".globl _testfunc\n"
8368 "_testfunc:\tcallw good");
8369 extern void testfunc();
8373 unsigned short *p = (unsigned short *)testfunc;
8374 return p[0] != 0xe866 || p[1] != 0xfffa
8379 if ac_fn_c_try_run
"$LINENO"; then :
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8381 $as_echo "yes" >&6; }
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8384 $as_echo "no" >&6; }
8385 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
8387 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8388 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8393 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8395 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8397 LIBWINE_INSTALL_DEV
="libwine.dylib"
8399 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8401 WINELOADER_DEPENDS
="wine_info.plist"
8406 DLLFLAGS
="$DLLFLAGS -fPIC"
8407 LDEXECFLAGS
="-Wl,-pie"
8408 enable_wineandroid_drv
=${enable_wineandroid_drv:-yes}
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8410 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8411 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8412 $as_echo_n "(cached) " >&6
8414 ac_wine_try_cflags_saved
=$CFLAGS
8415 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8417 /* end confdefs.h. */
8418 int main(int argc, char **argv) { return 0; }
8420 if ac_fn_c_try_link
"$LINENO"; then :
8421 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8423 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8425 rm -f core conftest.err conftest.
$ac_objext \
8426 conftest
$ac_exeext conftest.
$ac_ext
8427 CFLAGS
=$ac_wine_try_cflags_saved
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8430 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8431 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8432 WINELOADER_LDFLAGS
="-Wl,--export-dynamic"
8434 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8436 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8437 if eval \
${$as_ac_var+:} false
; then :
8438 $as_echo_n "(cached) " >&6
8440 ac_wine_try_cflags_saved
=$CFLAGS
8441 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8443 /* end confdefs.h. */
8444 int main(int argc, char **argv) { return 0; }
8446 if ac_fn_c_try_link
"$LINENO"; then :
8447 eval "$as_ac_var=yes"
8449 eval "$as_ac_var=no"
8451 rm -f core conftest.err conftest.
$ac_objext \
8452 conftest
$ac_exeext conftest.
$ac_ext
8453 CFLAGS
=$ac_wine_try_cflags_saved
8455 eval ac_res
=\$
$as_ac_var
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8457 $as_echo "$ac_res" >&6; }
8458 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8459 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8460 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8462 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8464 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8465 if eval \
${$as_ac_var+:} false
; then :
8466 $as_echo_n "(cached) " >&6
8468 ac_wine_try_cflags_saved
=$CFLAGS
8469 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8471 /* end confdefs.h. */
8472 int main(int argc, char **argv) { return 0; }
8474 if ac_fn_c_try_link
"$LINENO"; then :
8475 eval "$as_ac_var=yes"
8477 eval "$as_ac_var=no"
8479 rm -f core conftest.err conftest.
$ac_objext \
8480 conftest
$ac_exeext conftest.
$ac_ext
8481 CFLAGS
=$ac_wine_try_cflags_saved
8483 eval ac_res
=\$
$as_ac_var
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8485 $as_echo "$ac_res" >&6; }
8486 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8487 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8488 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8492 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8493 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8494 $as_echo_n "(cached) " >&6
8496 ac_wine_try_cflags_saved
=$CFLAGS
8497 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8499 /* end confdefs.h. */
8500 int main(int argc, char **argv) { return 0; }
8502 if ac_fn_c_try_link
"$LINENO"; then :
8503 ac_cv_cflags__Wl___enable_new_dtags
=yes
8505 ac_cv_cflags__Wl___enable_new_dtags
=no
8507 rm -f core conftest.err conftest.
$ac_objext \
8508 conftest
$ac_exeext conftest.
$ac_ext
8509 CFLAGS
=$ac_wine_try_cflags_saved
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8512 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8513 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8514 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8517 LIBWINE_SHAREDLIB
="libwine.so"
8519 LIBWINE_INSTALL_LIB
="libwine.so"
8521 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so"
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8525 $as_echo_n "checking for -lEGL... " >&6; }
8526 if ${ac_cv_lib_soname_EGL+:} false
; then :
8527 $as_echo_n "(cached) " >&6
8529 ac_check_soname_save_LIBS
=$LIBS
8531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8532 /* end confdefs.h. */
8534 /* Override any GCC internal prototype to avoid an error.
8535 Use char because int might match the return type of a GCC
8536 builtin and then its argument prototype would still apply. */
8540 char eglGetProcAddress ();
8544 return eglGetProcAddress ();
8549 if ac_fn_c_try_link
"$LINENO"; then :
8551 dll
) ac_cv_lib_soname_EGL
=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8552 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'` ;;
8553 *) ac_cv_lib_soname_EGL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8554 if ${ac_cv_lib_soname_EGL:+false} :; then :
8555 ac_cv_lib_soname_EGL
=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8559 rm -f core conftest.err conftest.
$ac_objext \
8560 conftest
$ac_exeext conftest.
$ac_ext
8561 LIBS
=$ac_check_soname_save_LIBS
8563 if ${ac_cv_lib_soname_EGL:+false} :; then :
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8565 $as_echo "not found" >&6; }
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8569 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8571 cat >>confdefs.h
<<_ACEOF
8572 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8578 $as_echo_n "checking for -lGLESv2... " >&6; }
8579 if ${ac_cv_lib_soname_GLESv2+:} false
; then :
8580 $as_echo_n "(cached) " >&6
8582 ac_check_soname_save_LIBS
=$LIBS
8583 LIBS
="-lGLESv2 $LIBS"
8584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8585 /* end confdefs.h. */
8587 /* Override any GCC internal prototype to avoid an error.
8588 Use char because int might match the return type of a GCC
8589 builtin and then its argument prototype would still apply. */
8602 if ac_fn_c_try_link
"$LINENO"; then :
8604 dll
) ac_cv_lib_soname_GLESv2
=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8605 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'` ;;
8606 *) ac_cv_lib_soname_GLESv2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8607 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8608 ac_cv_lib_soname_GLESv2
=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8612 rm -f core conftest.err conftest.
$ac_objext \
8613 conftest
$ac_exeext conftest.
$ac_ext
8614 LIBS
=$ac_check_soname_save_LIBS
8616 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8618 $as_echo "not found" >&6; }
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8622 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8624 cat >>confdefs.h
<<_ACEOF
8625 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8631 if test "x$exec_prefix" = xNONE
8634 *i
[3456]86*) exec_prefix
='${prefix}/x86' ;;
8635 *x86_64
*) exec_prefix
='${prefix}/x86_64' ;;
8636 *arm
*) exec_prefix
='${prefix}/armeabi-v7a' ;;
8637 *aarch64
*) exec_prefix
='${prefix}/arm64-v8a' ;;
8643 DLLFLAGS
="$DLLFLAGS -fPIC"
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8645 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8646 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8647 $as_echo_n "(cached) " >&6
8649 ac_wine_try_cflags_saved
=$CFLAGS
8650 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8652 /* end confdefs.h. */
8655 if ac_fn_c_try_link
"$LINENO"; then :
8656 ac_cv_c_dll_gnuelf
="yes"
8658 ac_cv_c_dll_gnuelf
="no"
8660 rm -f core conftest.err conftest.
$ac_objext \
8661 conftest
$ac_exeext conftest.
$ac_ext
8662 CFLAGS
=$ac_wine_try_cflags_saved
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8665 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8666 if test "$ac_cv_c_dll_gnuelf" = "yes"
8668 LIBWINE_LDFLAGS
="-shared"
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8670 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8671 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8672 $as_echo_n "(cached) " >&6
8674 ac_wine_try_cflags_saved
=$CFLAGS
8675 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8677 /* end confdefs.h. */
8678 int main(int argc, char **argv) { return 0; }
8680 if ac_fn_c_try_link
"$LINENO"; then :
8681 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8683 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8685 rm -f core conftest.err conftest.
$ac_objext \
8686 conftest
$ac_exeext conftest.
$ac_ext
8687 CFLAGS
=$ac_wine_try_cflags_saved
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8690 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8691 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8692 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8695 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8696 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8697 $as_echo_n "(cached) " >&6
8699 ac_wine_try_cflags_saved
=$CFLAGS
8700 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8702 /* end confdefs.h. */
8703 int main(int argc, char **argv) { return 0; }
8705 if ac_fn_c_try_link
"$LINENO"; then :
8706 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8708 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8710 rm -f core conftest.err conftest.
$ac_objext \
8711 conftest
$ac_exeext conftest.
$ac_ext
8712 CFLAGS
=$ac_wine_try_cflags_saved
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8715 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8716 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8717 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8721 echo '{ global: *; };' >conftest.map
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8723 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8724 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8725 $as_echo_n "(cached) " >&6
8727 ac_wine_try_cflags_saved
=$CFLAGS
8728 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8730 /* end confdefs.h. */
8731 int main(int argc, char **argv) { return 0; }
8733 if ac_fn_c_try_link
"$LINENO"; then :
8734 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8736 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8738 rm -f core conftest.err conftest.
$ac_objext \
8739 conftest
$ac_exeext conftest.
$ac_ext
8740 CFLAGS
=$ac_wine_try_cflags_saved
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8743 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8744 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8745 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8750 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8751 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8752 $as_echo_n "(cached) " >&6
8754 ac_wine_try_cflags_saved
=$CFLAGS
8755 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8757 /* end confdefs.h. */
8758 int main(int argc, char **argv) { return 0; }
8760 if ac_fn_c_try_link
"$LINENO"; then :
8761 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8763 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8765 rm -f core conftest.err conftest.
$ac_objext \
8766 conftest
$ac_exeext conftest.
$ac_ext
8767 CFLAGS
=$ac_wine_try_cflags_saved
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8770 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8771 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8772 WINELOADER_LDFLAGS
="-Wl,--export-dynamic"
8775 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8777 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8778 if eval \
${$as_ac_var+:} false
; then :
8779 $as_echo_n "(cached) " >&6
8781 ac_wine_try_cflags_saved
=$CFLAGS
8782 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8784 /* end confdefs.h. */
8785 int main(int argc, char **argv) { return 0; }
8787 if ac_fn_c_try_link
"$LINENO"; then :
8788 eval "$as_ac_var=yes"
8790 eval "$as_ac_var=no"
8792 rm -f core conftest.err conftest.
$ac_objext \
8793 conftest
$ac_exeext conftest.
$ac_ext
8794 CFLAGS
=$ac_wine_try_cflags_saved
8796 eval ac_res
=\$
$as_ac_var
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8798 $as_echo "$ac_res" >&6; }
8799 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8800 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8801 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8803 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8805 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8806 if eval \
${$as_ac_var+:} false
; then :
8807 $as_echo_n "(cached) " >&6
8809 ac_wine_try_cflags_saved
=$CFLAGS
8810 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8812 /* end confdefs.h. */
8813 int main(int argc, char **argv) { return 0; }
8815 if ac_fn_c_try_link
"$LINENO"; then :
8816 eval "$as_ac_var=yes"
8818 eval "$as_ac_var=no"
8820 rm -f core conftest.err conftest.
$ac_objext \
8821 conftest
$ac_exeext conftest.
$ac_ext
8822 CFLAGS
=$ac_wine_try_cflags_saved
8824 eval ac_res
=\$
$as_ac_var
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8826 $as_echo "$ac_res" >&6; }
8827 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8828 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8829 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8834 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8835 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8836 $as_echo_n "(cached) " >&6
8838 ac_wine_try_cflags_saved
=$CFLAGS
8839 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8841 /* end confdefs.h. */
8842 int main(int argc, char **argv) { return 0; }
8844 if ac_fn_c_try_link
"$LINENO"; then :
8845 ac_cv_cflags__Wl___enable_new_dtags
=yes
8847 ac_cv_cflags__Wl___enable_new_dtags
=no
8849 rm -f core conftest.err conftest.
$ac_objext \
8850 conftest
$ac_exeext conftest.
$ac_ext
8851 CFLAGS
=$ac_wine_try_cflags_saved
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8854 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8855 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8856 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8860 *i
[3456789]86* | x86_64
)
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8862 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8863 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8864 $as_echo_n "(cached) " >&6
8866 ac_wine_try_cflags_saved
=$CFLAGS
8867 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8869 /* end confdefs.h. */
8870 int main(int argc, char **argv) { return 0; }
8872 if ac_fn_c_try_link
"$LINENO"; then :
8873 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8875 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8877 rm -f core conftest.err conftest.
$ac_objext \
8878 conftest
$ac_exeext conftest.
$ac_ext
8879 CFLAGS
=$ac_wine_try_cflags_saved
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8882 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8883 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8885 freebsd
* | kfreebsd
*-gnu) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8886 *) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8890 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8891 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false
; then :
8892 $as_echo_n "(cached) " >&6
8894 ac_wine_try_cflags_saved
=$CFLAGS
8895 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8897 /* end confdefs.h. */
8898 int main(int argc, char **argv) { return 0; }
8900 if ac_fn_c_try_link
"$LINENO"; then :
8901 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=yes
8903 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=no
8905 rm -f core conftest.err conftest.
$ac_objext \
8906 conftest
$ac_exeext conftest.
$ac_ext
8907 CFLAGS
=$ac_wine_try_cflags_saved
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8910 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8911 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes
; then :
8913 freebsd
* | kfreebsd
*-gnu) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8914 *) WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8917 # Extract the first word of "prelink", so it can be a program name with args.
8918 set dummy prelink
; ac_word
=$2
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8920 $as_echo_n "checking for $ac_word... " >&6; }
8921 if ${ac_cv_path_PRELINK+:} false
; then :
8922 $as_echo_n "(cached) " >&6
8926 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8930 for as_dir
in /sbin
/usr
/sbin
$PATH
8933 test -z "$as_dir" && as_dir
=.
8934 for ac_exec_ext
in '' $ac_executable_extensions; do
8935 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8936 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8944 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8948 PRELINK
=$ac_cv_path_PRELINK
8949 if test -n "$PRELINK"; then
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8951 $as_echo "$PRELINK" >&6; }
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8954 $as_echo "no" >&6; }
8958 if test "x$PRELINK" = xfalse
8960 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8964 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8965 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false
; then :
8966 $as_echo_n "(cached) " >&6
8968 ac_wine_try_cflags_saved
=$CFLAGS
8969 CFLAGS
="$CFLAGS -Wl,-z,max-page-size=0x1000"
8970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8971 /* end confdefs.h. */
8972 int main(int argc, char **argv) { return 0; }
8974 if ac_fn_c_try_link
"$LINENO"; then :
8975 ac_cv_cflags__Wl__z_max_page_size_0x1000
=yes
8977 ac_cv_cflags__Wl__z_max_page_size_0x1000
=no
8979 rm -f core conftest.err conftest.
$ac_objext \
8980 conftest
$ac_exeext conftest.
$ac_ext
8981 CFLAGS
=$ac_wine_try_cflags_saved
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8984 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8985 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
; then :
8986 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8993 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8994 if ${ac_cv_c_dll_unixware+:} false
; then :
8995 $as_echo_n "(cached) " >&6
8997 ac_wine_try_cflags_saved
=$CFLAGS
8998 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9000 /* end confdefs.h. */
9003 if ac_fn_c_try_link
"$LINENO"; then :
9004 ac_cv_c_dll_unixware
="yes"
9006 ac_cv_c_dll_unixware
="no"
9008 rm -f core conftest.err conftest.
$ac_objext \
9009 conftest
$ac_exeext conftest.
$ac_ext
9010 CFLAGS
=$ac_wine_try_cflags_saved
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9013 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9014 if test "$ac_cv_c_dll_unixware" = "yes"
9016 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
9019 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
9021 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9023 LIBWINE_INSTALL_DEV
="libwine.so"
9025 LIBWINE_DEPENDS
="wine.map"
9030 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
9031 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
9032 enable_wineandroid_drv
=${enable_wineandroid_drv:-no}
9033 enable_winemac_drv
=${enable_winemac_drv:-no}
9034 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
9038 if test "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
9042 ac_prefix_list
="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9044 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
9045 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9048 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
9049 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9051 ac_prefix_list
="" ;;
9053 for ac_prog
in $ac_prefix_list
9055 # Extract the first word of "$ac_prog", so it can be a program name with args.
9056 set dummy
$ac_prog; ac_word
=$2
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9058 $as_echo_n "checking for $ac_word... " >&6; }
9059 if ${ac_cv_prog_CROSSCC+:} false
; then :
9060 $as_echo_n "(cached) " >&6
9062 if test -n "$CROSSCC"; then
9063 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
9065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9069 test -z "$as_dir" && as_dir
=.
9070 for ac_exec_ext
in '' $ac_executable_extensions; do
9071 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9072 ac_cv_prog_CROSSCC
="$ac_prog"
9073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9082 CROSSCC
=$ac_cv_prog_CROSSCC
9083 if test -n "$CROSSCC"; then
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9085 $as_echo "$CROSSCC" >&6; }
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9088 $as_echo "no" >&6; }
9092 test -n "$CROSSCC" && break
9094 test -n "$CROSSCC" || CROSSCC
="false"
9096 if test "$CROSSCC" != "false"
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9101 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9103 /* end confdefs.h. */
9113 if ac_fn_c_try_compile
"$LINENO"; then :
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9115 $as_echo "yes" >&6; }
9121 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
9122 *-clang) CROSSTARGET
=`expr "$1" : '\(.*\)-clang'` ;;
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9128 $as_echo "no" >&6; }
9130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9132 CROSSCFLAGS
=${CROSSCFLAGS:-$CFLAGS}
9138 if test "$ac_cv_header_pthread_h" = "yes"
9140 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9141 if test "x$ac_cv_func_pthread_create" = xyes
; then :
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9145 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9146 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
9147 $as_echo_n "(cached) " >&6
9149 ac_check_lib_save_LIBS
=$LIBS
9150 LIBS
="-lpthread $LIBS"
9151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9152 /* end confdefs.h. */
9154 /* Override any GCC internal prototype to avoid an error.
9155 Use char because int might match the return type of a GCC
9156 builtin and then its argument prototype would still apply. */
9160 char pthread_create ();
9164 return pthread_create ();
9169 if ac_fn_c_try_link
"$LINENO"; then :
9170 ac_cv_lib_pthread_pthread_create
=yes
9172 ac_cv_lib_pthread_pthread_create
=no
9174 rm -f core conftest.err conftest.
$ac_objext \
9175 conftest
$ac_exeext conftest.
$ac_ext
9176 LIBS
=$ac_check_lib_save_LIBS
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9179 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9180 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
9181 PTHREAD_LIBS
="-lpthread"
9188 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
9189 case "x$with_pthread" in
9191 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
9192 Wine cannot support threads without libpthread.
9193 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9200 $as_echo_n "checking for X... " >&6; }
9203 # Check whether --with-x was given.
9204 if test "${with_x+set}" = set; then :
9208 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9209 if test "x$with_x" = xno
; then
9210 # The user explicitly disabled X.
9213 case $x_includes,$x_libraries in #(
9214 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
9215 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
9216 $as_echo_n "(cached) " >&6
9218 # One or both of the vars are not set, and there is no cached value.
9219 ac_x_includes
=no ac_x_libraries
=no
9220 rm -f -r conftest.dir
9221 if mkdir conftest.dir
; then
9223 cat >Imakefile
<<'_ACEOF'
9225 @echo incroot='${INCROOT}'
9227 @echo usrlibdir='${USRLIBDIR}'
9229 @echo libdir='${LIBDIR}'
9231 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9232 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9233 for ac_var
in incroot usrlibdir libdir
; do
9234 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9236 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9237 for ac_extension
in a so sl dylib la dll
; do
9238 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9239 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9240 ac_im_usrlibdir
=$ac_im_libdir; break
9243 # Screen out bogus values from the imake configuration. They are
9244 # bogus both because they are the default anyway, and because
9245 # using them would break gcc on systems where it needs fixed includes.
9246 case $ac_im_incroot in
9247 /usr
/include
) ac_x_includes
= ;;
9248 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9250 case $ac_im_usrlibdir in
9251 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9252 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9256 rm -f -r conftest.dir
9259 # Standard set of common directories for X headers.
9260 # Check X11 before X11Rn because it is often a symlink to the current release.
9274 /usr/local/X11/include
9275 /usr/local/X11R7/include
9276 /usr/local/X11R6/include
9277 /usr/local/X11R5/include
9278 /usr/local/X11R4/include
9280 /usr/local/include/X11
9281 /usr/local/include/X11R7
9282 /usr/local/include/X11R6
9283 /usr/local/include/X11R5
9284 /usr/local/include/X11R4
9288 /usr/XFree86/include/X11
9292 /usr/unsupported/include
9294 /usr/local/x11r5/include
9295 /usr/lpp/Xamples/include
9297 /usr/openwin/include
9298 /usr/openwin/share/include'
9300 if test "$ac_x_includes" = no
; then
9301 # Guess where to find include files, by looking for Xlib.h.
9302 # First, try using that file with no special directory specified.
9303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9304 /* end confdefs.h. */
9305 #include <X11/Xlib.h>
9307 if ac_fn_c_try_cpp
"$LINENO"; then :
9308 # We can compile using X headers with no special include directory.
9311 for ac_dir
in $ac_x_header_dirs; do
9312 if test -r "$ac_dir/X11/Xlib.h"; then
9313 ac_x_includes
=$ac_dir
9318 rm -f conftest.err conftest.i conftest.
$ac_ext
9319 fi # $ac_x_includes = no
9321 if test "$ac_x_libraries" = no
; then
9322 # Check for the libraries.
9323 # See if we find them without any special options.
9324 # Don't add to $LIBS permanently.
9327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9328 /* end confdefs.h. */
9329 #include <X11/Xlib.h>
9338 if ac_fn_c_try_link
"$LINENO"; then :
9340 # We can link X programs with no special library path.
9344 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9346 # Don't even attempt the hair of trying to link an X program!
9347 for ac_extension
in a so sl dylib la dll
; do
9348 if test -r "$ac_dir/libX11.$ac_extension"; then
9349 ac_x_libraries
=$ac_dir
9355 rm -f core conftest.err conftest.
$ac_objext \
9356 conftest
$ac_exeext conftest.
$ac_ext
9357 fi # $ac_x_libraries = no
9359 case $ac_x_includes,$ac_x_libraries in #(
9361 # Didn't find X, or a directory has "'" in its name.
9362 ac_cv_have_x
="have_x=no";; #(
9364 # Record where we found X for the cache.
9365 ac_cv_have_x
="have_x=yes\
9366 ac_x_includes='$ac_x_includes'\
9367 ac_x_libraries='$ac_x_libraries'"
9373 eval "$ac_cv_have_x"
9376 if test "$have_x" != yes; then
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9378 $as_echo "$have_x" >&6; }
9381 # If each of the values was on the command line, it overrides each guess.
9382 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9383 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9384 # Update the cache value to reflect the command line values.
9385 ac_cv_have_x
="have_x=yes\
9386 ac_x_includes='$x_includes'\
9387 ac_x_libraries='$x_libraries'"
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9389 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9392 if test "$no_x" = yes; then
9393 # Not all programs may use this symbol, but it does not hurt to define it.
9395 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9397 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9399 if test -n "$x_includes"; then
9400 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9403 # It would also be nice to do this for all -L options, not just this one.
9404 if test -n "$x_libraries"; then
9405 X_LIBS
="$X_LIBS -L$x_libraries"
9406 # For Solaris; some versions of Sun CC require a space after -R and
9407 # others require no space. Words are not sufficient . . . .
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9409 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9410 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9411 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9412 ac_c_werror_flag
=yes
9413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9414 /* end confdefs.h. */
9424 if ac_fn_c_try_link
"$LINENO"; then :
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9426 $as_echo "no" >&6; }
9427 X_LIBS
="$X_LIBS -R$x_libraries"
9429 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9431 /* end confdefs.h. */
9441 if ac_fn_c_try_link
"$LINENO"; then :
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9443 $as_echo "yes" >&6; }
9444 X_LIBS
="$X_LIBS -R $x_libraries"
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9447 $as_echo "neither works" >&6; }
9449 rm -f core conftest.err conftest.
$ac_objext \
9450 conftest
$ac_exeext conftest.
$ac_ext
9452 rm -f core conftest.err conftest.
$ac_objext \
9453 conftest
$ac_exeext conftest.
$ac_ext
9454 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9458 # Check for system-dependent libraries X programs must link with.
9459 # Do this before checking for the system-independent R6 libraries
9460 # (-lICE), since we may need -lsocket or whatever for X linking.
9462 if test "$ISC" = yes; then
9463 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9465 # Martyn Johnson says this is needed for Ultrix, if the X
9466 # libraries were built with DECnet support. And Karl Berry says
9467 # the Alpha needs dnet_stub (dnet does not exist).
9468 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9470 /* end confdefs.h. */
9472 /* Override any GCC internal prototype to avoid an error.
9473 Use char because int might match the return type of a GCC
9474 builtin and then its argument prototype would still apply. */
9478 char XOpenDisplay ();
9482 return XOpenDisplay ();
9487 if ac_fn_c_try_link
"$LINENO"; then :
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9491 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9492 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9493 $as_echo_n "(cached) " >&6
9495 ac_check_lib_save_LIBS
=$LIBS
9497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9498 /* end confdefs.h. */
9500 /* Override any GCC internal prototype to avoid an error.
9501 Use char because int might match the return type of a GCC
9502 builtin and then its argument prototype would still apply. */
9510 return dnet_ntoa ();
9515 if ac_fn_c_try_link
"$LINENO"; then :
9516 ac_cv_lib_dnet_dnet_ntoa
=yes
9518 ac_cv_lib_dnet_dnet_ntoa
=no
9520 rm -f core conftest.err conftest.
$ac_objext \
9521 conftest
$ac_exeext conftest.
$ac_ext
9522 LIBS
=$ac_check_lib_save_LIBS
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9525 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9526 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9527 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9530 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9532 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9533 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9534 $as_echo_n "(cached) " >&6
9536 ac_check_lib_save_LIBS
=$LIBS
9537 LIBS
="-ldnet_stub $LIBS"
9538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9539 /* end confdefs.h. */
9541 /* Override any GCC internal prototype to avoid an error.
9542 Use char because int might match the return type of a GCC
9543 builtin and then its argument prototype would still apply. */
9551 return dnet_ntoa ();
9556 if ac_fn_c_try_link
"$LINENO"; then :
9557 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9559 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9561 rm -f core conftest.err conftest.
$ac_objext \
9562 conftest
$ac_exeext conftest.
$ac_ext
9563 LIBS
=$ac_check_lib_save_LIBS
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9566 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9567 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9568 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9573 rm -f core conftest.err conftest.
$ac_objext \
9574 conftest
$ac_exeext conftest.
$ac_ext
9575 LIBS
="$ac_xsave_LIBS"
9577 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9578 # to get the SysV transport functions.
9579 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9581 # The nsl library prevents programs from opening the X display
9582 # on Irix 5.2, according to T.E. Dickey.
9583 # The functions gethostbyname, getservbyname, and inet_addr are
9584 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9585 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9586 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9590 if test $ac_cv_func_gethostbyname = no
; then
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9592 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9593 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9594 $as_echo_n "(cached) " >&6
9596 ac_check_lib_save_LIBS
=$LIBS
9598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9599 /* end confdefs.h. */
9601 /* Override any GCC internal prototype to avoid an error.
9602 Use char because int might match the return type of a GCC
9603 builtin and then its argument prototype would still apply. */
9607 char gethostbyname ();
9611 return gethostbyname ();
9616 if ac_fn_c_try_link
"$LINENO"; then :
9617 ac_cv_lib_nsl_gethostbyname
=yes
9619 ac_cv_lib_nsl_gethostbyname
=no
9621 rm -f core conftest.err conftest.
$ac_objext \
9622 conftest
$ac_exeext conftest.
$ac_ext
9623 LIBS
=$ac_check_lib_save_LIBS
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9626 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9627 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9628 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9631 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9633 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9634 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9635 $as_echo_n "(cached) " >&6
9637 ac_check_lib_save_LIBS
=$LIBS
9639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9640 /* end confdefs.h. */
9642 /* Override any GCC internal prototype to avoid an error.
9643 Use char because int might match the return type of a GCC
9644 builtin and then its argument prototype would still apply. */
9648 char gethostbyname ();
9652 return gethostbyname ();
9657 if ac_fn_c_try_link
"$LINENO"; then :
9658 ac_cv_lib_bsd_gethostbyname
=yes
9660 ac_cv_lib_bsd_gethostbyname
=no
9662 rm -f core conftest.err conftest.
$ac_objext \
9663 conftest
$ac_exeext conftest.
$ac_ext
9664 LIBS
=$ac_check_lib_save_LIBS
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9667 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9668 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9669 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9675 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9676 # socket/setsockopt and other routines are undefined under SCO ODT
9677 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9678 # on later versions), says Simon Leinen: it contains gethostby*
9679 # variants that don't use the name server (or something). -lsocket
9680 # must be given before -lnsl if both are needed. We assume that
9681 # if connect needs -lnsl, so does gethostbyname.
9682 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9683 if test "x$ac_cv_func_connect" = xyes
; then :
9687 if test $ac_cv_func_connect = no
; then
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9689 $as_echo_n "checking for connect in -lsocket... " >&6; }
9690 if ${ac_cv_lib_socket_connect+:} false
; then :
9691 $as_echo_n "(cached) " >&6
9693 ac_check_lib_save_LIBS
=$LIBS
9694 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9696 /* end confdefs.h. */
9698 /* Override any GCC internal prototype to avoid an error.
9699 Use char because int might match the return type of a GCC
9700 builtin and then its argument prototype would still apply. */
9713 if ac_fn_c_try_link
"$LINENO"; then :
9714 ac_cv_lib_socket_connect
=yes
9716 ac_cv_lib_socket_connect
=no
9718 rm -f core conftest.err conftest.
$ac_objext \
9719 conftest
$ac_exeext conftest.
$ac_ext
9720 LIBS
=$ac_check_lib_save_LIBS
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9723 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9724 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9725 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9730 # Guillermo Gomez says -lposix is necessary on A/UX.
9731 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9732 if test "x$ac_cv_func_remove" = xyes
; then :
9736 if test $ac_cv_func_remove = no
; then
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9738 $as_echo_n "checking for remove in -lposix... " >&6; }
9739 if ${ac_cv_lib_posix_remove+:} false
; then :
9740 $as_echo_n "(cached) " >&6
9742 ac_check_lib_save_LIBS
=$LIBS
9743 LIBS
="-lposix $LIBS"
9744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9745 /* end confdefs.h. */
9747 /* Override any GCC internal prototype to avoid an error.
9748 Use char because int might match the return type of a GCC
9749 builtin and then its argument prototype would still apply. */
9762 if ac_fn_c_try_link
"$LINENO"; then :
9763 ac_cv_lib_posix_remove
=yes
9765 ac_cv_lib_posix_remove
=no
9767 rm -f core conftest.err conftest.
$ac_objext \
9768 conftest
$ac_exeext conftest.
$ac_ext
9769 LIBS
=$ac_check_lib_save_LIBS
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9772 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9773 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9774 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9779 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9780 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9781 if test "x$ac_cv_func_shmat" = xyes
; then :
9785 if test $ac_cv_func_shmat = no
; then
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9787 $as_echo_n "checking for shmat in -lipc... " >&6; }
9788 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9789 $as_echo_n "(cached) " >&6
9791 ac_check_lib_save_LIBS
=$LIBS
9793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9794 /* end confdefs.h. */
9796 /* Override any GCC internal prototype to avoid an error.
9797 Use char because int might match the return type of a GCC
9798 builtin and then its argument prototype would still apply. */
9811 if ac_fn_c_try_link
"$LINENO"; then :
9812 ac_cv_lib_ipc_shmat
=yes
9814 ac_cv_lib_ipc_shmat
=no
9816 rm -f core conftest.err conftest.
$ac_objext \
9817 conftest
$ac_exeext conftest.
$ac_ext
9818 LIBS
=$ac_check_lib_save_LIBS
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9821 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9822 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9823 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9829 # Check for libraries that X11R6 Xt/Xaw programs need.
9830 ac_save_LDFLAGS
=$LDFLAGS
9831 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9832 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9833 # check for ICE first), but we must link in the order -lSM -lICE or
9834 # we get undefined symbols. So assume we have SM if we have ICE.
9835 # These have to be linked with before -lX11, unlike the other
9836 # libraries we check for below, so use a different variable.
9837 # John Interrante, Karl Berry
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9839 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9840 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9841 $as_echo_n "(cached) " >&6
9843 ac_check_lib_save_LIBS
=$LIBS
9844 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9846 /* end confdefs.h. */
9848 /* Override any GCC internal prototype to avoid an error.
9849 Use char because int might match the return type of a GCC
9850 builtin and then its argument prototype would still apply. */
9854 char IceConnectionNumber ();
9858 return IceConnectionNumber ();
9863 if ac_fn_c_try_link
"$LINENO"; then :
9864 ac_cv_lib_ICE_IceConnectionNumber
=yes
9866 ac_cv_lib_ICE_IceConnectionNumber
=no
9868 rm -f core conftest.err conftest.
$ac_objext \
9869 conftest
$ac_exeext conftest.
$ac_ext
9870 LIBS
=$ac_check_lib_save_LIBS
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9873 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9874 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9875 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9878 LDFLAGS
=$ac_save_LDFLAGS
9883 if test "$have_x" = "yes"
9885 ac_save_CPPFLAGS
="$CPPFLAGS"
9886 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9889 $as_echo_n "checking for -lX11... " >&6; }
9890 if ${ac_cv_lib_soname_X11+:} false
; then :
9891 $as_echo_n "(cached) " >&6
9893 ac_check_soname_save_LIBS
=$LIBS
9894 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9896 /* end confdefs.h. */
9898 /* Override any GCC internal prototype to avoid an error.
9899 Use char because int might match the return type of a GCC
9900 builtin and then its argument prototype would still apply. */
9904 char XCreateWindow ();
9908 return XCreateWindow ();
9913 if ac_fn_c_try_link
"$LINENO"; then :
9915 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9916 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'` ;;
9917 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9918 if ${ac_cv_lib_soname_X11:+false} :; then :
9919 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9923 rm -f core conftest.err conftest.
$ac_objext \
9924 conftest
$ac_exeext conftest.
$ac_ext
9925 LIBS
=$ac_check_soname_save_LIBS
9927 if ${ac_cv_lib_soname_X11:+false} :; then :
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9929 $as_echo "not found" >&6; }
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9933 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9935 cat >>confdefs.h
<<_ACEOF
9936 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9942 $as_echo_n "checking for -lXext... " >&6; }
9943 if ${ac_cv_lib_soname_Xext+:} false
; then :
9944 $as_echo_n "(cached) " >&6
9946 ac_check_soname_save_LIBS
=$LIBS
9947 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9949 /* end confdefs.h. */
9951 /* Override any GCC internal prototype to avoid an error.
9952 Use char because int might match the return type of a GCC
9953 builtin and then its argument prototype would still apply. */
9957 char XextCreateExtension ();
9961 return XextCreateExtension ();
9966 if ac_fn_c_try_link
"$LINENO"; then :
9968 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9969 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'` ;;
9970 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9971 if ${ac_cv_lib_soname_Xext:+false} :; then :
9972 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9976 rm -f core conftest.err conftest.
$ac_objext \
9977 conftest
$ac_exeext conftest.
$ac_ext
9978 LIBS
=$ac_check_soname_save_LIBS
9980 if ${ac_cv_lib_soname_Xext:+false} :; then :
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9982 $as_echo "not found" >&6; }
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9986 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9988 cat >>confdefs.h
<<_ACEOF
9989 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9992 X_LIBS
="$X_LIBS -lXext"
9994 X_LIBS
="$X_LIBS -lX11"
9996 for ac_header
in X11
/Xlib.h \
9999 X11
/Xcursor
/Xcursor.h \
10000 X11
/extensions
/shape.h \
10001 X11
/extensions
/XInput.h \
10002 X11
/extensions
/XInput2.h \
10003 X11
/extensions
/XShm.h \
10004 X11
/extensions
/Xcomposite.h \
10005 X11
/extensions
/Xfixes.h \
10006 X11
/extensions
/Xinerama.h \
10007 X11
/extensions
/Xrandr.h \
10008 X11
/extensions
/Xrender.h \
10009 X11
/extensions
/xf86vmode.h \
10010 X11
/extensions
/xf86vmproto.h
10012 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10013 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10014 # include <X11/Xlib.h>
10016 #ifdef HAVE_X11_XUTIL_H
10017 # include <X11/Xutil.h>
10020 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10021 cat >>confdefs.h
<<_ACEOF
10022 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10030 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10033 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10034 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
10035 $as_echo_n "(cached) " >&6
10037 ac_check_lib_save_LIBS
=$LIBS
10038 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10040 /* end confdefs.h. */
10042 /* Override any GCC internal prototype to avoid an error.
10043 Use char because int might match the return type of a GCC
10044 builtin and then its argument prototype would still apply. */
10048 char XkbQueryExtension ();
10052 return XkbQueryExtension ();
10057 if ac_fn_c_try_link
"$LINENO"; then :
10058 ac_cv_lib_X11_XkbQueryExtension
=yes
10060 ac_cv_lib_X11_XkbQueryExtension
=no
10062 rm -f core conftest.err conftest.
$ac_objext \
10063 conftest
$ac_exeext conftest.
$ac_ext
10064 LIBS
=$ac_check_lib_save_LIBS
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10067 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10068 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
10070 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10076 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10079 $as_echo_n "checking for -lXcursor... " >&6; }
10080 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
10081 $as_echo_n "(cached) " >&6
10083 ac_check_soname_save_LIBS
=$LIBS
10084 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10086 /* end confdefs.h. */
10088 /* Override any GCC internal prototype to avoid an error.
10089 Use char because int might match the return type of a GCC
10090 builtin and then its argument prototype would still apply. */
10094 char XcursorImageLoadCursor ();
10098 return XcursorImageLoadCursor ();
10103 if ac_fn_c_try_link
"$LINENO"; then :
10105 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10106 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'` ;;
10107 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10108 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10109 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10113 rm -f core conftest.err conftest.
$ac_objext \
10114 conftest
$ac_exeext conftest.
$ac_ext
10115 LIBS
=$ac_check_soname_save_LIBS
10117 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10119 $as_echo "not found" >&6; }
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10123 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10125 cat >>confdefs.h
<<_ACEOF
10126 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10132 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10133 case "x$with_xcursor" in
10134 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10136 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10137 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10142 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10145 $as_echo_n "checking for -lXi... " >&6; }
10146 if ${ac_cv_lib_soname_Xi+:} false
; then :
10147 $as_echo_n "(cached) " >&6
10149 ac_check_soname_save_LIBS
=$LIBS
10150 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10152 /* end confdefs.h. */
10154 /* Override any GCC internal prototype to avoid an error.
10155 Use char because int might match the return type of a GCC
10156 builtin and then its argument prototype would still apply. */
10160 char XOpenDevice ();
10164 return XOpenDevice ();
10169 if ac_fn_c_try_link
"$LINENO"; then :
10171 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10172 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'` ;;
10173 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10174 if ${ac_cv_lib_soname_Xi:+false} :; then :
10175 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10179 rm -f core conftest.err conftest.
$ac_objext \
10180 conftest
$ac_exeext conftest.
$ac_ext
10181 LIBS
=$ac_check_soname_save_LIBS
10183 if ${ac_cv_lib_soname_Xi:+false} :; then :
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10185 $as_echo "not found" >&6; }
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10189 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10191 cat >>confdefs.h
<<_ACEOF
10192 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10198 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10199 case "x$with_xinput" in
10200 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10202 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10203 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10208 if test "x$ac_cv_lib_soname_Xi" != x
10210 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10211 case "x$with_xinput2" in
10212 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10214 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
10215 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10221 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10224 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10225 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
10226 $as_echo_n "(cached) " >&6
10228 ac_check_lib_save_LIBS
=$LIBS
10229 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10231 /* end confdefs.h. */
10233 /* Override any GCC internal prototype to avoid an error.
10234 Use char because int might match the return type of a GCC
10235 builtin and then its argument prototype would still apply. */
10239 char XShmQueryExtension ();
10243 return XShmQueryExtension ();
10248 if ac_fn_c_try_link
"$LINENO"; then :
10249 ac_cv_lib_Xext_XShmQueryExtension
=yes
10251 ac_cv_lib_Xext_XShmQueryExtension
=no
10253 rm -f core conftest.err conftest.
$ac_objext \
10254 conftest
$ac_exeext conftest.
$ac_ext
10255 LIBS
=$ac_check_lib_save_LIBS
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10258 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10259 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10261 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10266 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10267 case "x$with_xshm" in
10268 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10270 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10271 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10276 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10279 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10280 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10281 $as_echo_n "(cached) " >&6
10283 ac_check_lib_save_LIBS
=$LIBS
10284 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10286 /* end confdefs.h. */
10288 /* Override any GCC internal prototype to avoid an error.
10289 Use char because int might match the return type of a GCC
10290 builtin and then its argument prototype would still apply. */
10294 char XShapeQueryExtension ();
10298 return XShapeQueryExtension ();
10303 if ac_fn_c_try_link
"$LINENO"; then :
10304 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10306 ac_cv_lib_Xext_XShapeQueryExtension
=no
10308 rm -f core conftest.err conftest.
$ac_objext \
10309 conftest
$ac_exeext conftest.
$ac_ext
10310 LIBS
=$ac_check_lib_save_LIBS
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10313 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10314 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10316 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10321 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10322 case "x$with_xshape" in
10323 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10325 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10326 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10331 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10334 $as_echo_n "checking for -lXxf86vm... " >&6; }
10335 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10336 $as_echo_n "(cached) " >&6
10338 ac_check_soname_save_LIBS
=$LIBS
10339 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10341 /* end confdefs.h. */
10343 /* Override any GCC internal prototype to avoid an error.
10344 Use char because int might match the return type of a GCC
10345 builtin and then its argument prototype would still apply. */
10349 char XF86VidModeQueryExtension ();
10353 return XF86VidModeQueryExtension ();
10358 if ac_fn_c_try_link
"$LINENO"; then :
10360 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10361 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'` ;;
10362 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10363 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10364 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10368 rm -f core conftest.err conftest.
$ac_objext \
10369 conftest
$ac_exeext conftest.
$ac_ext
10370 LIBS
=$ac_check_soname_save_LIBS
10372 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10374 $as_echo "not found" >&6; }
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10378 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10380 cat >>confdefs.h
<<_ACEOF
10381 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10387 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10388 case "x$with_xxf86vm" in
10389 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10391 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10392 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10397 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10400 $as_echo_n "checking for -lXrender... " >&6; }
10401 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10402 $as_echo_n "(cached) " >&6
10404 ac_check_soname_save_LIBS
=$LIBS
10405 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10407 /* end confdefs.h. */
10409 /* Override any GCC internal prototype to avoid an error.
10410 Use char because int might match the return type of a GCC
10411 builtin and then its argument prototype would still apply. */
10415 char XRenderQueryExtension ();
10419 return XRenderQueryExtension ();
10424 if ac_fn_c_try_link
"$LINENO"; then :
10426 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10427 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'` ;;
10428 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10429 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10430 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10434 rm -f core conftest.err conftest.
$ac_objext \
10435 conftest
$ac_exeext conftest.
$ac_ext
10436 LIBS
=$ac_check_soname_save_LIBS
10438 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10440 $as_echo "not found" >&6; }
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10444 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10446 cat >>confdefs.h
<<_ACEOF
10447 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10451 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10452 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10453 $as_echo_n "(cached) " >&6
10455 ac_check_lib_save_LIBS
=$LIBS
10456 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10458 /* end confdefs.h. */
10460 /* Override any GCC internal prototype to avoid an error.
10461 Use char because int might match the return type of a GCC
10462 builtin and then its argument prototype would still apply. */
10466 char XRenderSetPictureTransform ();
10470 return XRenderSetPictureTransform ();
10475 if ac_fn_c_try_link
"$LINENO"; then :
10476 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10478 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10480 rm -f core conftest.err conftest.
$ac_objext \
10481 conftest
$ac_exeext conftest.
$ac_ext
10482 LIBS
=$ac_check_lib_save_LIBS
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10485 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10486 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10488 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10493 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10494 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10495 $as_echo_n "(cached) " >&6
10497 ac_check_lib_save_LIBS
=$LIBS
10498 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10500 /* end confdefs.h. */
10502 /* Override any GCC internal prototype to avoid an error.
10503 Use char because int might match the return type of a GCC
10504 builtin and then its argument prototype would still apply. */
10508 char XRenderCreateLinearGradient ();
10512 return XRenderCreateLinearGradient ();
10517 if ac_fn_c_try_link
"$LINENO"; then :
10518 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10520 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10522 rm -f core conftest.err conftest.
$ac_objext \
10523 conftest
$ac_exeext conftest.
$ac_ext
10524 LIBS
=$ac_check_lib_save_LIBS
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10527 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10528 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10530 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10537 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10538 case "x$with_xrender" in
10539 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10541 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10542 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10547 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10550 /* end confdefs.h. */
10551 #include <X11/Xlib.h>
10552 #include <X11/extensions/Xrandr.h>
10556 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10561 if ac_fn_c_try_compile
"$LINENO"; then :
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10563 $as_echo_n "checking for -lXrandr... " >&6; }
10564 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10565 $as_echo_n "(cached) " >&6
10567 ac_check_soname_save_LIBS
=$LIBS
10568 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10570 /* end confdefs.h. */
10572 /* Override any GCC internal prototype to avoid an error.
10573 Use char because int might match the return type of a GCC
10574 builtin and then its argument prototype would still apply. */
10578 char XRRQueryExtension ();
10582 return XRRQueryExtension ();
10587 if ac_fn_c_try_link
"$LINENO"; then :
10589 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10590 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'` ;;
10591 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10592 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10593 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10597 rm -f core conftest.err conftest.
$ac_objext \
10598 conftest
$ac_exeext conftest.
$ac_ext
10599 LIBS
=$ac_check_soname_save_LIBS
10601 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10603 $as_echo "not found" >&6; }
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10607 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10609 cat >>confdefs.h
<<_ACEOF
10610 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10614 /* end confdefs.h. */
10615 #include <X11/Xlib.h>
10616 #include <X11/extensions/Xrandr.h>
10620 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10625 if ac_fn_c_try_compile
"$LINENO"; then :
10627 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10635 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10636 case "x$with_xrandr" in
10637 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10639 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10640 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10645 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10648 /* end confdefs.h. */
10649 #include <X11/Xlib.h>
10650 #include <X11/extensions/Xfixes.h>
10654 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10659 if ac_fn_c_try_compile
"$LINENO"; then :
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10661 $as_echo_n "checking for -lXfixes... " >&6; }
10662 if ${ac_cv_lib_soname_Xfixes+:} false
; then :
10663 $as_echo_n "(cached) " >&6
10665 ac_check_soname_save_LIBS
=$LIBS
10666 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10668 /* end confdefs.h. */
10670 /* Override any GCC internal prototype to avoid an error.
10671 Use char because int might match the return type of a GCC
10672 builtin and then its argument prototype would still apply. */
10676 char XFixesQueryVersion ();
10680 return XFixesQueryVersion ();
10685 if ac_fn_c_try_link
"$LINENO"; then :
10687 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10688 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'` ;;
10689 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10690 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10691 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10695 rm -f core conftest.err conftest.
$ac_objext \
10696 conftest
$ac_exeext conftest.
$ac_ext
10697 LIBS
=$ac_check_soname_save_LIBS
10699 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10701 $as_echo "not found" >&6; }
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10705 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10707 cat >>confdefs.h
<<_ACEOF
10708 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10716 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10717 case "x$with_xfixes" in
10718 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10720 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10721 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10726 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10729 /* end confdefs.h. */
10730 #include <X11/Xlib.h>
10731 #include <X11/extensions/Xinerama.h>
10735 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10740 if ac_fn_c_try_compile
"$LINENO"; then :
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10742 $as_echo_n "checking for -lXinerama... " >&6; }
10743 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10744 $as_echo_n "(cached) " >&6
10746 ac_check_soname_save_LIBS
=$LIBS
10747 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10749 /* end confdefs.h. */
10751 /* Override any GCC internal prototype to avoid an error.
10752 Use char because int might match the return type of a GCC
10753 builtin and then its argument prototype would still apply. */
10757 char XineramaQueryScreens ();
10761 return XineramaQueryScreens ();
10766 if ac_fn_c_try_link
"$LINENO"; then :
10768 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10769 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'` ;;
10770 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10771 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10772 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10776 rm -f core conftest.err conftest.
$ac_objext \
10777 conftest
$ac_exeext conftest.
$ac_ext
10778 LIBS
=$ac_check_soname_save_LIBS
10780 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10782 $as_echo "not found" >&6; }
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10786 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10788 cat >>confdefs.h
<<_ACEOF
10789 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10797 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10798 case "x$with_xinerama" in
10799 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10801 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10802 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10807 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10810 $as_echo_n "checking for -lXcomposite... " >&6; }
10811 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10812 $as_echo_n "(cached) " >&6
10814 ac_check_soname_save_LIBS
=$LIBS
10815 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10817 /* end confdefs.h. */
10819 /* Override any GCC internal prototype to avoid an error.
10820 Use char because int might match the return type of a GCC
10821 builtin and then its argument prototype would still apply. */
10825 char XCompositeRedirectWindow ();
10829 return XCompositeRedirectWindow ();
10834 if ac_fn_c_try_link
"$LINENO"; then :
10836 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10837 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'` ;;
10838 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10839 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10840 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10844 rm -f core conftest.err conftest.
$ac_objext \
10845 conftest
$ac_exeext conftest.
$ac_ext
10846 LIBS
=$ac_check_soname_save_LIBS
10848 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10850 $as_echo "not found" >&6; }
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10854 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10856 cat >>confdefs.h
<<_ACEOF
10857 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10863 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10864 case "x$with_xcomposite" in
10865 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10867 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10868 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10873 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10874 #include <X11/Xlib.h>
10877 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10879 cat >>confdefs.h
<<_ACEOF
10880 #define HAVE_XICCALLBACK_CALLBACK 1
10885 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10886 #include <X11/Xlib.h>
10889 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10891 cat >>confdefs.h
<<_ACEOF
10892 #define HAVE_XEVENT_XCOOKIE 1
10901 if test "x$with_opengl" != "xno"
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10904 $as_echo_n "checking for -lGL... " >&6; }
10905 if ${ac_cv_lib_soname_GL+:} false
; then :
10906 $as_echo_n "(cached) " >&6
10908 ac_check_soname_save_LIBS
=$LIBS
10909 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10911 /* end confdefs.h. */
10913 /* Override any GCC internal prototype to avoid an error.
10914 Use char because int might match the return type of a GCC
10915 builtin and then its argument prototype would still apply. */
10919 char glXCreateContext ();
10923 return glXCreateContext ();
10928 if ac_fn_c_try_link
"$LINENO"; then :
10930 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10931 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'` ;;
10932 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10933 if ${ac_cv_lib_soname_GL:+false} :; then :
10934 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10938 rm -f core conftest.err conftest.
$ac_objext \
10939 conftest
$ac_exeext conftest.
$ac_ext
10940 LIBS
=$ac_check_soname_save_LIBS
10942 if ${ac_cv_lib_soname_GL:+false} :; then :
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10944 $as_echo "not found" >&6; }
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10946 $as_echo_n "checking for -lGL... " >&6; }
10947 if ${ac_cv_lib_soname_GL+:} false
; then :
10948 $as_echo_n "(cached) " >&6
10950 ac_check_soname_save_LIBS
=$LIBS
10951 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"
10952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10953 /* end confdefs.h. */
10955 /* Override any GCC internal prototype to avoid an error.
10956 Use char because int might match the return type of a GCC
10957 builtin and then its argument prototype would still apply. */
10961 char glXCreateContext ();
10965 return glXCreateContext ();
10970 if ac_fn_c_try_link
"$LINENO"; then :
10972 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10973 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'` ;;
10974 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10975 if ${ac_cv_lib_soname_GL:+false} :; then :
10976 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10980 rm -f core conftest.err conftest.
$ac_objext \
10981 conftest
$ac_exeext conftest.
$ac_ext
10982 LIBS
=$ac_check_soname_save_LIBS
10984 if ${ac_cv_lib_soname_GL:+false} :; then :
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10986 $as_echo "not found" >&6; }
10987 if test -f /usr
/X11R
6/lib
/libGL.a
10989 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10990 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10992 opengl_msg
="No OpenGL library found on this system."
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10996 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10998 cat >>confdefs.h
<<_ACEOF
10999 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11002 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"
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11006 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11008 cat >>confdefs.h
<<_ACEOF
11009 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11014 if test "x$with_glu" != "xno"
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11017 $as_echo_n "checking for -lGLU... " >&6; }
11018 if ${ac_cv_lib_soname_GLU+:} false
; then :
11019 $as_echo_n "(cached) " >&6
11021 ac_check_soname_save_LIBS
=$LIBS
11022 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11024 /* end confdefs.h. */
11026 /* Override any GCC internal prototype to avoid an error.
11027 Use char because int might match the return type of a GCC
11028 builtin and then its argument prototype would still apply. */
11036 return gluLookAt ();
11041 if ac_fn_c_try_link
"$LINENO"; then :
11043 dll
) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11044 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'` ;;
11045 *) ac_cv_lib_soname_GLU
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11046 if ${ac_cv_lib_soname_GLU:+false} :; then :
11047 ac_cv_lib_soname_GLU
=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11051 rm -f core conftest.err conftest.
$ac_objext \
11052 conftest
$ac_exeext conftest.
$ac_ext
11053 LIBS
=$ac_check_soname_save_LIBS
11055 if ${ac_cv_lib_soname_GLU:+false} :; then :
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11057 $as_echo "not found" >&6; }
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11061 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11063 cat >>confdefs.h
<<_ACEOF
11064 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11069 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11070 case "x$with_glu" in
11071 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11073 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
11074 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11080 if test "x$with_osmesa" != "xno"
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11083 $as_echo_n "checking for -lOSMesa... " >&6; }
11084 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
11085 $as_echo_n "(cached) " >&6
11087 ac_check_soname_save_LIBS
=$LIBS
11088 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11090 /* end confdefs.h. */
11092 /* Override any GCC internal prototype to avoid an error.
11093 Use char because int might match the return type of a GCC
11094 builtin and then its argument prototype would still apply. */
11098 char OSMesaGetProcAddress ();
11102 return OSMesaGetProcAddress ();
11107 if ac_fn_c_try_link
"$LINENO"; then :
11109 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11110 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'` ;;
11111 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11112 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11113 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11117 rm -f core conftest.err conftest.
$ac_objext \
11118 conftest
$ac_exeext conftest.
$ac_ext
11119 LIBS
=$ac_check_soname_save_LIBS
11121 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11123 $as_echo "not found" >&6; }
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11127 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11129 cat >>confdefs.h
<<_ACEOF
11130 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11135 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11136 case "x$with_osmesa" in
11137 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11139 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11140 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11146 if test -n "$opengl_msg"; then :
11147 case "x$with_opengl" in
11148 x
) as_fn_append wine_warnings
"|$opengl_msg
11149 OpenGL and Direct3D won't be supported." ;;
11151 *) as_fn_error $?
"$opengl_msg
11152 OpenGL and Direct3D won't be supported.
11153 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11158 CPPFLAGS
="$ac_save_CPPFLAGS"
11164 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11166 if test "x$X_LIBS" = "x"; then :
11169 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
11170 without X support, which probably isn't what you want. You will need
11171 to install ${notice_platform}development packages of Xlib at the very least.
11172 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11174 enable_winex11_drv
=${enable_winex11_drv:-no}
11177 if test "x$X_LIBS" = "x"; then :
11179 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11181 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
11182 This is an error since --with-x was requested." "$LINENO" 5 ;;
11184 enable_winex11_drv
=${enable_winex11_drv:-no}
11188 if test "$ac_cv_header_CL_cl_h" = "yes"
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11191 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11192 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
11193 $as_echo_n "(cached) " >&6
11195 ac_check_lib_save_LIBS
=$LIBS
11196 LIBS
="-lOpenCL $LIBS"
11197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11198 /* end confdefs.h. */
11200 /* Override any GCC internal prototype to avoid an error.
11201 Use char because int might match the return type of a GCC
11202 builtin and then its argument prototype would still apply. */
11206 char clGetPlatformInfo ();
11210 return clGetPlatformInfo ();
11215 if ac_fn_c_try_link
"$LINENO"; then :
11216 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
11218 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
11220 rm -f core conftest.err conftest.
$ac_objext \
11221 conftest
$ac_exeext conftest.
$ac_ext
11222 LIBS
=$ac_check_lib_save_LIBS
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11225 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11226 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
11227 OPENCL_LIBS
="-lOpenCL"
11232 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
11233 case "x$with_opencl" in
11234 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11236 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11237 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11239 enable_opencl
=${enable_opencl:-no}
11242 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11245 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11246 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
11247 $as_echo_n "(cached) " >&6
11249 ac_check_lib_save_LIBS
=$LIBS
11250 LIBS
="-lpcap $LIBS"
11251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h. */
11254 /* Override any GCC internal prototype to avoid an error.
11255 Use char because int might match the return type of a GCC
11256 builtin and then its argument prototype would still apply. */
11260 char pcap_create ();
11264 return pcap_create ();
11269 if ac_fn_c_try_link
"$LINENO"; then :
11270 ac_cv_lib_pcap_pcap_create
=yes
11272 ac_cv_lib_pcap_pcap_create
=no
11274 rm -f core conftest.err conftest.
$ac_objext \
11275 conftest
$ac_exeext conftest.
$ac_ext
11276 LIBS
=$ac_check_lib_save_LIBS
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11279 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11280 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
11286 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
11287 case "x$with_pcap" in
11288 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11290 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
11291 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11293 enable_wpcap
=${enable_wpcap:-no}
11297 if test "x$with_xml" != "xno"
11299 if ${XML2_CFLAGS:+false} :; then :
11300 if ${PKG_CONFIG+:} false
; then :
11301 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11304 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11305 if ${XML2_LIBS:+false} :; then :
11306 if ${PKG_CONFIG+:} false
; then :
11307 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11310 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11311 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
11312 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11313 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11314 ac_save_CPPFLAGS
=$CPPFLAGS
11315 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
11316 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
11318 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11319 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11320 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11321 cat >>confdefs.h
<<_ACEOF
11322 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11329 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"
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11332 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11333 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
11334 $as_echo_n "(cached) " >&6
11336 ac_check_lib_save_LIBS
=$LIBS
11337 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11339 /* end confdefs.h. */
11341 /* Override any GCC internal prototype to avoid an error.
11342 Use char because int might match the return type of a GCC
11343 builtin and then its argument prototype would still apply. */
11347 char xmlParseMemory ();
11351 return xmlParseMemory ();
11356 if ac_fn_c_try_link
"$LINENO"; then :
11357 ac_cv_lib_xml2_xmlParseMemory
=yes
11359 ac_cv_lib_xml2_xmlParseMemory
=no
11361 rm -f core conftest.err conftest.
$ac_objext \
11362 conftest
$ac_exeext conftest.
$ac_ext
11363 LIBS
=$ac_check_lib_save_LIBS
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11366 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11367 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11369 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11376 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11377 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11378 $as_echo_n "(cached) " >&6
11380 ac_check_lib_save_LIBS
=$LIBS
11381 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11383 /* end confdefs.h. */
11385 /* Override any GCC internal prototype to avoid an error.
11386 Use char because int might match the return type of a GCC
11387 builtin and then its argument prototype would still apply. */
11391 char xmlReadMemory ();
11395 return xmlReadMemory ();
11400 if ac_fn_c_try_link
"$LINENO"; then :
11401 ac_cv_lib_xml2_xmlReadMemory
=yes
11403 ac_cv_lib_xml2_xmlReadMemory
=no
11405 rm -f core conftest.err conftest.
$ac_objext \
11406 conftest
$ac_exeext conftest.
$ac_ext
11407 LIBS
=$ac_check_lib_save_LIBS
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11410 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11411 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11413 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11418 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11419 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11420 $as_echo_n "(cached) " >&6
11422 ac_check_lib_save_LIBS
=$LIBS
11423 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11425 /* end confdefs.h. */
11427 /* Override any GCC internal prototype to avoid an error.
11428 Use char because int might match the return type of a GCC
11429 builtin and then its argument prototype would still apply. */
11433 char xmlNewDocPI ();
11437 return xmlNewDocPI ();
11442 if ac_fn_c_try_link
"$LINENO"; then :
11443 ac_cv_lib_xml2_xmlNewDocPI
=yes
11445 ac_cv_lib_xml2_xmlNewDocPI
=no
11447 rm -f core conftest.err conftest.
$ac_objext \
11448 conftest
$ac_exeext conftest.
$ac_ext
11449 LIBS
=$ac_check_lib_save_LIBS
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11452 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11453 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11455 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11460 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11461 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11462 $as_echo_n "(cached) " >&6
11464 ac_check_lib_save_LIBS
=$LIBS
11465 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11467 /* end confdefs.h. */
11469 /* Override any GCC internal prototype to avoid an error.
11470 Use char because int might match the return type of a GCC
11471 builtin and then its argument prototype would still apply. */
11475 char xmlSchemaSetParserStructuredErrors ();
11479 return xmlSchemaSetParserStructuredErrors ();
11484 if ac_fn_c_try_link
"$LINENO"; then :
11485 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11487 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11489 rm -f core conftest.err conftest.
$ac_objext \
11490 conftest
$ac_exeext conftest.
$ac_ext
11491 LIBS
=$ac_check_lib_save_LIBS
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11494 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11495 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11497 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11502 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11503 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11504 $as_echo_n "(cached) " >&6
11506 ac_check_lib_save_LIBS
=$LIBS
11507 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11509 /* end confdefs.h. */
11511 /* Override any GCC internal prototype to avoid an error.
11512 Use char because int might match the return type of a GCC
11513 builtin and then its argument prototype would still apply. */
11517 char xmlSchemaSetValidStructuredErrors ();
11521 return xmlSchemaSetValidStructuredErrors ();
11526 if ac_fn_c_try_link
"$LINENO"; then :
11527 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11529 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11531 rm -f core conftest.err conftest.
$ac_objext \
11532 conftest
$ac_exeext conftest.
$ac_ext
11533 LIBS
=$ac_check_lib_save_LIBS
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11536 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11537 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11539 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11544 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11545 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11546 $as_echo_n "(cached) " >&6
11548 ac_check_lib_save_LIBS
=$LIBS
11549 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11551 /* end confdefs.h. */
11553 /* Override any GCC internal prototype to avoid an error.
11554 Use char because int might match the return type of a GCC
11555 builtin and then its argument prototype would still apply. */
11559 char xmlFirstElementChild ();
11563 return xmlFirstElementChild ();
11568 if ac_fn_c_try_link
"$LINENO"; then :
11569 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11571 ac_cv_lib_xml2_xmlFirstElementChild
=no
11573 rm -f core conftest.err conftest.
$ac_objext \
11574 conftest
$ac_exeext conftest.
$ac_ext
11575 LIBS
=$ac_check_lib_save_LIBS
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11578 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11579 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11581 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11585 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11587 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11589 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11597 CPPFLAGS
=$ac_save_CPPFLAGS
11598 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11599 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11602 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11603 case "x$with_xml" in
11604 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11606 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11607 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11612 if test "x$with_xslt" != "xno"
11614 if ${XSLT_CFLAGS:+false} :; then :
11615 if ${PKG_CONFIG+:} false
; then :
11616 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11619 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11620 if ${XSLT_LIBS:+false} :; then :
11621 if ${PKG_CONFIG+:} false
; then :
11622 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11625 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11626 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11627 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11628 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11629 ac_save_CPPFLAGS
=$CPPFLAGS
11630 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11631 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11633 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11634 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11635 # include <libxslt/pattern.h>
11638 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11639 cat >>confdefs.h
<<_ACEOF
11640 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11647 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11650 $as_echo_n "checking for -lxslt... " >&6; }
11651 if ${ac_cv_lib_soname_xslt+:} false
; then :
11652 $as_echo_n "(cached) " >&6
11654 ac_check_soname_save_LIBS
=$LIBS
11655 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11657 /* end confdefs.h. */
11659 /* Override any GCC internal prototype to avoid an error.
11660 Use char because int might match the return type of a GCC
11661 builtin and then its argument prototype would still apply. */
11665 char xsltCompilePattern ();
11669 return xsltCompilePattern ();
11674 if ac_fn_c_try_link
"$LINENO"; then :
11676 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11677 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'` ;;
11678 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11679 if ${ac_cv_lib_soname_xslt:+false} :; then :
11680 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11684 rm -f core conftest.err conftest.
$ac_objext \
11685 conftest
$ac_exeext conftest.
$ac_ext
11686 LIBS
=$ac_check_soname_save_LIBS
11688 if ${ac_cv_lib_soname_xslt:+false} :; then :
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11690 $as_echo "not found" >&6; }
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11694 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11696 cat >>confdefs.h
<<_ACEOF
11697 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11705 CPPFLAGS
=$ac_save_CPPFLAGS
11706 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11707 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11710 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11711 case "x$with_xslt" in
11712 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11714 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11715 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11720 if test "x$with_dbus" != "xno"
11722 if ${DBUS_CFLAGS:+false} :; then :
11723 if ${PKG_CONFIG+:} false
; then :
11724 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11728 if ${DBUS_LIBS:+false} :; then :
11729 if ${PKG_CONFIG+:} false
; then :
11730 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11735 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11736 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11737 ac_save_CPPFLAGS
=$CPPFLAGS
11738 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11739 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11740 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11742 $as_echo_n "checking for -ldbus-1... " >&6; }
11743 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11744 $as_echo_n "(cached) " >&6
11746 ac_check_soname_save_LIBS
=$LIBS
11747 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11749 /* end confdefs.h. */
11751 /* Override any GCC internal prototype to avoid an error.
11752 Use char because int might match the return type of a GCC
11753 builtin and then its argument prototype would still apply. */
11757 char dbus_connection_close ();
11761 return dbus_connection_close ();
11766 if ac_fn_c_try_link
"$LINENO"; then :
11768 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11769 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'` ;;
11770 *) 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'`
11771 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11772 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11776 rm -f core conftest.err conftest.
$ac_objext \
11777 conftest
$ac_exeext conftest.
$ac_ext
11778 LIBS
=$ac_check_soname_save_LIBS
11780 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11782 $as_echo "not found" >&6; }
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11786 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11788 cat >>confdefs.h
<<_ACEOF
11789 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11799 CPPFLAGS
=$ac_save_CPPFLAGS
11800 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11801 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11804 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11805 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11806 case "x$with_dbus" in
11807 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11809 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11810 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11815 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11817 if ${HAL_CFLAGS:+false} :; then :
11818 if ${PKG_CONFIG+:} false
; then :
11819 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11823 if ${HAL_LIBS:+false} :; then :
11824 if ${PKG_CONFIG+:} false
; then :
11825 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11829 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11830 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11831 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11832 ac_save_CPPFLAGS
=$CPPFLAGS
11833 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11834 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11835 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11837 $as_echo_n "checking for -lhal... " >&6; }
11838 if ${ac_cv_lib_soname_hal+:} false
; then :
11839 $as_echo_n "(cached) " >&6
11841 ac_check_soname_save_LIBS
=$LIBS
11842 LIBS
="-lhal $HAL_LIBS $LIBS"
11843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11844 /* end confdefs.h. */
11846 /* Override any GCC internal prototype to avoid an error.
11847 Use char because int might match the return type of a GCC
11848 builtin and then its argument prototype would still apply. */
11852 char libhal_ctx_new ();
11856 return libhal_ctx_new ();
11861 if ac_fn_c_try_link
"$LINENO"; then :
11863 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11864 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'` ;;
11865 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11866 if ${ac_cv_lib_soname_hal:+false} :; then :
11867 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11871 rm -f core conftest.err conftest.
$ac_objext \
11872 conftest
$ac_exeext conftest.
$ac_ext
11873 LIBS
=$ac_check_soname_save_LIBS
11875 if ${ac_cv_lib_soname_hal:+false} :; then :
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11877 $as_echo "not found" >&6; }
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11881 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11883 cat >>confdefs.h
<<_ACEOF
11884 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11894 CPPFLAGS
=$ac_save_CPPFLAGS
11895 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11896 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11898 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11899 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11900 case "x$with_hal" in
11901 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11903 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11904 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11910 if test "x$with_gnutls" != "xno"
11912 if ${GNUTLS_CFLAGS:+false} :; then :
11913 if ${PKG_CONFIG+:} false
; then :
11914 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11918 if ${GNUTLS_LIBS:+false} :; then :
11919 if ${PKG_CONFIG+:} false
; then :
11920 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11925 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11926 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11927 ac_save_CPPFLAGS
=$CPPFLAGS
11928 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11929 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11930 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11932 /* end confdefs.h. */
11933 #include <gnutls/gnutls.h>
11934 #include <gnutls/crypto.h>
11938 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11943 if ac_fn_c_try_compile
"$LINENO"; then :
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11945 $as_echo_n "checking for -lgnutls... " >&6; }
11946 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11947 $as_echo_n "(cached) " >&6
11949 ac_check_soname_save_LIBS
=$LIBS
11950 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11952 /* end confdefs.h. */
11954 /* Override any GCC internal prototype to avoid an error.
11955 Use char because int might match the return type of a GCC
11956 builtin and then its argument prototype would still apply. */
11960 char gnutls_global_init ();
11964 return gnutls_global_init ();
11969 if ac_fn_c_try_link
"$LINENO"; then :
11971 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11972 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'` ;;
11973 *) 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'`
11974 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11975 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'`
11979 rm -f core conftest.err conftest.
$ac_objext \
11980 conftest
$ac_exeext conftest.
$ac_ext
11981 LIBS
=$ac_check_soname_save_LIBS
11983 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11985 $as_echo "not found" >&6; }
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11989 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11991 cat >>confdefs.h
<<_ACEOF
11992 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11997 ac_wine_check_funcs_save_LIBS
="$LIBS"
11998 LIBS
="$LIBS $GNUTLS_LIBS"
11999 for ac_func
in gnutls_cipher_init
12001 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12002 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
; then :
12003 cat >>confdefs.h
<<_ACEOF
12004 #define HAVE_GNUTLS_CIPHER_INIT 1
12008 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12012 LIBS
="$ac_wine_check_funcs_save_LIBS"
12014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12020 CPPFLAGS
=$ac_save_CPPFLAGS
12021 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12022 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12025 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12026 case "x$with_gnutls" in
12027 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12029 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
12030 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12036 if test "$ac_cv_header_ncurses_h" = "yes"
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12039 $as_echo_n "checking for -lncurses... " >&6; }
12040 if ${ac_cv_lib_soname_ncurses+:} false
; then :
12041 $as_echo_n "(cached) " >&6
12043 ac_check_soname_save_LIBS
=$LIBS
12044 LIBS
="-lncurses $LIBS"
12045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12046 /* end confdefs.h. */
12048 /* Override any GCC internal prototype to avoid an error.
12049 Use char because int might match the return type of a GCC
12050 builtin and then its argument prototype would still apply. */
12063 if ac_fn_c_try_link
"$LINENO"; then :
12065 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12066 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'` ;;
12067 *) 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'`
12068 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12069 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12073 rm -f core conftest.err conftest.
$ac_objext \
12074 conftest
$ac_exeext conftest.
$ac_ext
12075 LIBS
=$ac_check_soname_save_LIBS
12077 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12079 $as_echo "not found" >&6; }
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12083 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12085 cat >>confdefs.h
<<_ACEOF
12086 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12089 CURSES_LIBS
="-lncurses"
12091 elif test "$ac_cv_header_curses_h" = "yes"
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12094 $as_echo_n "checking for -lcurses... " >&6; }
12095 if ${ac_cv_lib_soname_curses+:} false
; then :
12096 $as_echo_n "(cached) " >&6
12098 ac_check_soname_save_LIBS
=$LIBS
12099 LIBS
="-lcurses $LIBS"
12100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12101 /* end confdefs.h. */
12103 /* Override any GCC internal prototype to avoid an error.
12104 Use char because int might match the return type of a GCC
12105 builtin and then its argument prototype would still apply. */
12118 if ac_fn_c_try_link
"$LINENO"; then :
12120 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12121 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'` ;;
12122 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12123 if ${ac_cv_lib_soname_curses:+false} :; then :
12124 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12128 rm -f core conftest.err conftest.
$ac_objext \
12129 conftest
$ac_exeext conftest.
$ac_ext
12130 LIBS
=$ac_check_soname_save_LIBS
12132 if ${ac_cv_lib_soname_curses:+false} :; then :
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12134 $as_echo "not found" >&6; }
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12138 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12140 cat >>confdefs.h
<<_ACEOF
12141 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12144 CURSES_LIBS
="-lcurses"
12147 ac_save_LIBS
="$LIBS"
12148 LIBS
="$LIBS $CURSES_LIBS"
12149 for ac_func
in mousemask
12151 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
12152 if test "x$ac_cv_func_mousemask" = xyes
; then :
12153 cat >>confdefs.h
<<_ACEOF
12154 #define HAVE_MOUSEMASK 1
12160 LIBS
="$ac_save_LIBS"
12161 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12162 case "x$with_curses" in
12163 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12165 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12166 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12171 if test "x$with_sane" != "xno"
12173 if ${SANE_CFLAGS:+false} :; then :
12174 if ${PKG_CONFIG+:} false
; then :
12175 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12178 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12179 if ${SANE_LIBS:+false} :; then :
12180 if ${PKG_CONFIG+:} false
; then :
12181 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
12184 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12186 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12187 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12188 ac_save_CPPFLAGS
=$CPPFLAGS
12189 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
12190 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12191 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12193 $as_echo_n "checking for -lsane... " >&6; }
12194 if ${ac_cv_lib_soname_sane+:} false
; then :
12195 $as_echo_n "(cached) " >&6
12197 ac_check_soname_save_LIBS
=$LIBS
12198 LIBS
="-lsane $SANE_LIBS $LIBS"
12199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12200 /* end confdefs.h. */
12202 /* Override any GCC internal prototype to avoid an error.
12203 Use char because int might match the return type of a GCC
12204 builtin and then its argument prototype would still apply. */
12212 return sane_init ();
12217 if ac_fn_c_try_link
"$LINENO"; then :
12219 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12220 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'` ;;
12221 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12222 if ${ac_cv_lib_soname_sane:+false} :; then :
12223 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12227 rm -f core conftest.err conftest.
$ac_objext \
12228 conftest
$ac_exeext conftest.
$ac_ext
12229 LIBS
=$ac_check_soname_save_LIBS
12231 if ${ac_cv_lib_soname_sane:+false} :; then :
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12233 $as_echo "not found" >&6; }
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12237 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12239 cat >>confdefs.h
<<_ACEOF
12240 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12250 CPPFLAGS
=$ac_save_CPPFLAGS
12251 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12252 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12255 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12256 case "x$with_sane" in
12257 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12259 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
12260 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12265 if test "x$with_v4l" != "xno"
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12268 $as_echo_n "checking for -lv4l1... " >&6; }
12269 if ${ac_cv_lib_soname_v4l1+:} false
; then :
12270 $as_echo_n "(cached) " >&6
12272 ac_check_soname_save_LIBS
=$LIBS
12273 LIBS
="-lv4l1 $LIBS"
12274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12275 /* end confdefs.h. */
12277 /* Override any GCC internal prototype to avoid an error.
12278 Use char because int might match the return type of a GCC
12279 builtin and then its argument prototype would still apply. */
12287 return v4l1_open ();
12292 if ac_fn_c_try_link
"$LINENO"; then :
12294 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12295 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'` ;;
12296 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12297 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12298 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12302 rm -f core conftest.err conftest.
$ac_objext \
12303 conftest
$ac_exeext conftest.
$ac_ext
12304 LIBS
=$ac_check_soname_save_LIBS
12306 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12308 $as_echo "not found" >&6; }
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12312 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12314 cat >>confdefs.h
<<_ACEOF
12315 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12321 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12322 case "x$with_v4l" in
12323 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
12325 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
12326 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12331 if test "x$with_gphoto" != "xno"
12333 if ${GPHOTO2_CFLAGS:+false} :; then :
12334 if ${PKG_CONFIG+:} false
; then :
12335 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12338 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12339 if ${GPHOTO2_LIBS:+false} :; then :
12340 if ${PKG_CONFIG+:} false
; then :
12341 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12344 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12345 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
12346 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12347 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12348 ac_save_CPPFLAGS
=$CPPFLAGS
12349 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
12350 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12351 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12353 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12354 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
12355 $as_echo_n "(cached) " >&6
12357 ac_check_lib_save_LIBS
=$LIBS
12358 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12360 /* end confdefs.h. */
12362 /* Override any GCC internal prototype to avoid an error.
12363 Use char because int might match the return type of a GCC
12364 builtin and then its argument prototype would still apply. */
12368 char gp_camera_new ();
12372 return gp_camera_new ();
12377 if ac_fn_c_try_link
"$LINENO"; then :
12378 ac_cv_lib_gphoto2_gp_camera_new
=yes
12380 ac_cv_lib_gphoto2_gp_camera_new
=no
12382 rm -f core conftest.err conftest.
$ac_objext \
12383 conftest
$ac_exeext conftest.
$ac_ext
12384 LIBS
=$ac_check_lib_save_LIBS
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12387 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12388 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12390 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12393 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12397 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12401 CPPFLAGS
=$ac_save_CPPFLAGS
12402 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12403 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12405 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12406 if ${PKG_CONFIG+:} false
; then :
12407 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12410 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12411 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12412 if ${PKG_CONFIG+:} false
; then :
12413 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12416 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12417 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12418 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12419 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12420 ac_save_CPPFLAGS
=$CPPFLAGS
12421 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12422 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12423 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12425 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12426 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12427 $as_echo_n "(cached) " >&6
12429 ac_check_lib_save_LIBS
=$LIBS
12430 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12432 /* end confdefs.h. */
12434 /* Override any GCC internal prototype to avoid an error.
12435 Use char because int might match the return type of a GCC
12436 builtin and then its argument prototype would still apply. */
12440 char gp_port_info_list_new ();
12444 return gp_port_info_list_new ();
12449 if ac_fn_c_try_link
"$LINENO"; then :
12450 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12452 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12454 rm -f core conftest.err conftest.
$ac_objext \
12455 conftest
$ac_exeext conftest.
$ac_ext
12456 LIBS
=$ac_check_lib_save_LIBS
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12459 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12460 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12462 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12465 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12469 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12473 CPPFLAGS
=$ac_save_CPPFLAGS
12474 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12475 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12478 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12479 case "x$with_gphoto" in
12480 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12482 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12483 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12487 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12488 case "x$with_gphoto" in
12489 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12491 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12492 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12498 if test "$ac_cv_header_resolv_h" = "yes"
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12501 $as_echo_n "checking for resolver library... " >&6; }
12502 if ${ac_cv_have_resolv+:} false
; then :
12503 $as_echo_n "(cached) " >&6
12505 ac_save_LIBS
="$LIBS"
12506 for lib
in '' -lresolv
12508 LIBS
="$lib $ac_save_LIBS"
12509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12510 /* end confdefs.h. */
12511 #ifdef HAVE_NETINET_IN_H
12512 #include <netinet/in.h>
12514 #include <resolv.h>
12518 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12523 if ac_fn_c_try_link
"$LINENO"; then :
12524 ac_cv_have_resolv
=${lib:-"none required"}
12526 ac_cv_have_resolv
="not found"
12528 rm -f core conftest.err conftest.
$ac_objext \
12529 conftest
$ac_exeext conftest.
$ac_ext
12530 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12532 LIBS
="$ac_save_LIBS"
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12535 $as_echo "$ac_cv_have_resolv" >&6; }
12537 case "$ac_cv_have_resolv" in
12541 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12544 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12546 RESOLV_LIBS
=$ac_cv_have_resolv
12551 if test "x$with_cms" != "xno"
12553 if ${LCMS2_CFLAGS:+false} :; then :
12554 if ${PKG_CONFIG+:} false
; then :
12555 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12559 if ${LCMS2_LIBS:+false} :; then :
12560 if ${PKG_CONFIG+:} false
; then :
12561 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12565 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12566 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12567 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12568 ac_save_CPPFLAGS
=$CPPFLAGS
12569 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12570 for ac_header
in lcms2.h
12572 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12573 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12574 cat >>confdefs.h
<<_ACEOF
12575 #define HAVE_LCMS2_H 1
12582 if test "$ac_cv_header_lcms2_h" = "yes"
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12585 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12586 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12587 $as_echo_n "(cached) " >&6
12589 ac_check_lib_save_LIBS
=$LIBS
12590 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12592 /* end confdefs.h. */
12594 /* Override any GCC internal prototype to avoid an error.
12595 Use char because int might match the return type of a GCC
12596 builtin and then its argument prototype would still apply. */
12600 char cmsOpenProfileFromFile ();
12604 return cmsOpenProfileFromFile ();
12609 if ac_fn_c_try_link
"$LINENO"; then :
12610 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12612 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12614 rm -f core conftest.err conftest.
$ac_objext \
12615 conftest
$ac_exeext conftest.
$ac_ext
12616 LIBS
=$ac_check_lib_save_LIBS
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12619 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12620 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12622 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12632 CPPFLAGS
=$ac_save_CPPFLAGS
12633 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12634 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12637 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12638 case "x$with_cms" in
12639 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12641 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12642 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12647 if test "x$with_freetype" != "xno"
12649 if ${FREETYPE_CFLAGS:+false} :; then :
12650 if ${PKG_CONFIG+:} false
; then :
12651 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12654 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12655 if ${FREETYPE_LIBS:+false} :; then :
12656 if ${PKG_CONFIG+:} false
; then :
12657 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12660 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12661 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12662 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12663 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12664 ac_save_CPPFLAGS
=$CPPFLAGS
12665 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12666 for ac_header
in ft2build.h
12668 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12669 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12670 cat >>confdefs.h
<<_ACEOF
12671 #define HAVE_FT2BUILD_H 1
12678 if test "$ac_cv_header_ft2build_h" = "yes"
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12681 $as_echo_n "checking for -lfreetype... " >&6; }
12682 if ${ac_cv_lib_soname_freetype+:} false
; then :
12683 $as_echo_n "(cached) " >&6
12685 ac_check_soname_save_LIBS
=$LIBS
12686 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12688 /* end confdefs.h. */
12690 /* Override any GCC internal prototype to avoid an error.
12691 Use char because int might match the return type of a GCC
12692 builtin and then its argument prototype would still apply. */
12696 char FT_Init_FreeType ();
12700 return FT_Init_FreeType ();
12705 if ac_fn_c_try_link
"$LINENO"; then :
12707 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12708 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'` ;;
12709 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12710 if ${ac_cv_lib_soname_freetype:+false} :; then :
12711 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12715 rm -f core conftest.err conftest.
$ac_objext \
12716 conftest
$ac_exeext conftest.
$ac_ext
12717 LIBS
=$ac_check_soname_save_LIBS
12719 if ${ac_cv_lib_soname_freetype:+false} :; then :
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12721 $as_echo "not found" >&6; }
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12725 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12727 cat >>confdefs.h
<<_ACEOF
12728 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12732 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12734 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12735 #include FT_MODULE_H
12737 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12739 cat >>confdefs.h
<<_ACEOF
12740 #define HAVE_FT_TRUETYPEENGINETYPE 1
12751 CPPFLAGS
=$ac_save_CPPFLAGS
12752 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12753 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12756 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12757 case "x$with_freetype" in
12759 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12760 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12762 enable_fonts
=${enable_fonts:-no}
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12766 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12767 if ${ac_cv_c_ppdev+:} false
; then :
12768 $as_echo_n "(cached) " >&6
12770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12771 /* end confdefs.h. */
12772 #ifdef HAVE_SYS_IOCTL_H
12773 # include <sys/ioctl.h>
12775 #include <linux/ppdev.h>
12779 ioctl (1,PPCLAIM,0)
12784 if ac_fn_c_try_compile
"$LINENO"; then :
12785 ac_cv_c_ppdev
="yes"
12789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12792 $as_echo "$ac_cv_c_ppdev" >&6; }
12793 if test "$ac_cv_c_ppdev" = "yes"
12796 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12800 ac_wine_check_funcs_save_LIBS
="$LIBS"
12801 LIBS
="$LIBS $PTHREAD_LIBS"
12803 pthread_attr_get_np \
12804 pthread_getattr_np \
12805 pthread_getthreadid_np \
12806 pthread_get_stackaddr_np \
12807 pthread_get_stacksize_np
12809 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12810 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12811 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12812 cat >>confdefs.h
<<_ACEOF
12813 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12819 LIBS
="$ac_wine_check_funcs_save_LIBS"
12821 if test "$ac_cv_header_zlib_h" = "yes"
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12824 $as_echo_n "checking for inflate in -lz... " >&6; }
12825 if ${ac_cv_lib_z_inflate+:} false
; then :
12826 $as_echo_n "(cached) " >&6
12828 ac_check_lib_save_LIBS
=$LIBS
12830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12831 /* end confdefs.h. */
12833 /* Override any GCC internal prototype to avoid an error.
12834 Use char because int might match the return type of a GCC
12835 builtin and then its argument prototype would still apply. */
12848 if ac_fn_c_try_link
"$LINENO"; then :
12849 ac_cv_lib_z_inflate
=yes
12851 ac_cv_lib_z_inflate
=no
12853 rm -f core conftest.err conftest.
$ac_objext \
12854 conftest
$ac_exeext conftest.
$ac_ext
12855 LIBS
=$ac_check_lib_save_LIBS
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12858 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12859 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12861 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12868 if test "x$Z_LIBS" = "x"; then :
12869 case "x$with_zlib" in
12870 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12872 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12873 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12878 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
12880 if test "$ac_cv_header_gettext_po_h" = "yes"
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12883 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12884 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12885 $as_echo_n "(cached) " >&6
12887 ac_check_lib_save_LIBS
=$LIBS
12888 LIBS
="-lgettextpo $LIBS"
12889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12890 /* end confdefs.h. */
12892 /* Override any GCC internal prototype to avoid an error.
12893 Use char because int might match the return type of a GCC
12894 builtin and then its argument prototype would still apply. */
12898 char po_message_msgctxt ();
12902 return po_message_msgctxt ();
12907 if ac_fn_c_try_link
"$LINENO"; then :
12908 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12910 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12912 rm -f core conftest.err conftest.
$ac_objext \
12913 conftest
$ac_exeext conftest.
$ac_ext
12914 LIBS
=$ac_check_lib_save_LIBS
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12917 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12918 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12920 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12922 GETTEXTPO_LIBS
="-lgettextpo"
12927 if test "x$GETTEXTPO_LIBS" = "x"; then :
12928 case "x$with_gettextpo" in
12929 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12931 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12932 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12936 if test "$srcdir" != .
; then :
12937 case "x$with_gettextpo" in
12938 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
12940 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
12941 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12947 if test "x$with_pulse" != "xno";
12949 if ${PULSE_CFLAGS:+false} :; then :
12950 if ${PKG_CONFIG+:} false
; then :
12951 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12955 if ${PULSE_LIBS:+false} :; then :
12956 if ${PKG_CONFIG+:} false
; then :
12957 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12962 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12963 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12964 ac_save_CPPFLAGS
=$CPPFLAGS
12965 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12966 for ac_header
in pulse
/pulseaudio.h
12968 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12969 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12970 cat >>confdefs.h
<<_ACEOF
12971 #define HAVE_PULSE_PULSEAUDIO_H 1
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12974 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12975 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12976 $as_echo_n "(cached) " >&6
12978 ac_check_lib_save_LIBS
=$LIBS
12979 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12981 /* end confdefs.h. */
12983 /* Override any GCC internal prototype to avoid an error.
12984 Use char because int might match the return type of a GCC
12985 builtin and then its argument prototype would still apply. */
12989 char pa_stream_is_corked ();
12993 return pa_stream_is_corked ();
12998 if ac_fn_c_try_link
"$LINENO"; then :
12999 ac_cv_lib_pulse_pa_stream_is_corked
=yes
13001 ac_cv_lib_pulse_pa_stream_is_corked
=no
13003 rm -f core conftest.err conftest.
$ac_objext \
13004 conftest
$ac_exeext conftest.
$ac_ext
13005 LIBS
=$ac_check_lib_save_LIBS
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13008 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13009 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
13021 CPPFLAGS
=$ac_save_CPPFLAGS
13022 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13023 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13026 if test -z "$PULSE_LIBS"; then :
13027 case "x$with_pulse" in
13028 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13030 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13031 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13033 enable_winepulse_drv
=${enable_winepulse_drv:-no}
13036 if test "x$with_gstreamer" != "xno"
13038 if ${GSTREAMER_CFLAGS:+false} :; then :
13039 if ${PKG_CONFIG+:} false
; then :
13040 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13044 if ${GSTREAMER_LIBS:+false} :; then :
13045 if ${PKG_CONFIG+:} false
; then :
13046 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13051 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13052 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13053 ac_save_CPPFLAGS
=$CPPFLAGS
13054 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
13056 for i
in $GSTREAMER_CFLAGS
13059 -I*) ac_gst_incl
="$ac_gst_incl $i";;
13062 GSTREAMER_CFLAGS
=$ac_gst_incl
13063 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13064 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13065 if test "x$ac_cv_header_gst_gst_h" = xyes
; then :
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13067 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13069 /* end confdefs.h. */
13070 #include <gst/gst.h>
13074 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13079 if ac_fn_c_try_compile
"$LINENO"; then :
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13081 $as_echo "yes" >&6; }
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13083 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13084 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false
; then :
13085 $as_echo_n "(cached) " >&6
13087 ac_check_lib_save_LIBS
=$LIBS
13088 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13090 /* end confdefs.h. */
13092 /* Override any GCC internal prototype to avoid an error.
13093 Use char because int might match the return type of a GCC
13094 builtin and then its argument prototype would still apply. */
13098 char gst_pad_new ();
13102 return gst_pad_new ();
13107 if ac_fn_c_try_link
"$LINENO"; then :
13108 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
13110 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
13112 rm -f core conftest.err conftest.
$ac_objext \
13113 conftest
$ac_exeext conftest.
$ac_ext
13114 LIBS
=$ac_check_lib_save_LIBS
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13117 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13118 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
; then :
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13124 $as_echo "no" >&6; }
13125 ac_glib2_broken
=yes
13126 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13132 CPPFLAGS
=$ac_save_CPPFLAGS
13133 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13134 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13137 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 :
13138 case "x$with_gstreamer" in
13139 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13141 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13142 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13146 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
13150 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13153 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13154 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
13155 $as_echo_n "(cached) " >&6
13157 ac_check_lib_save_LIBS
=$LIBS
13158 LIBS
="-lasound $LIBS"
13159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13160 /* end confdefs.h. */
13162 /* Override any GCC internal prototype to avoid an error.
13163 Use char because int might match the return type of a GCC
13164 builtin and then its argument prototype would still apply. */
13168 char snd_pcm_hw_params_get_access_mask ();
13172 return snd_pcm_hw_params_get_access_mask ();
13177 if ac_fn_c_try_link
"$LINENO"; then :
13178 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
13180 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
13182 rm -f core conftest.err conftest.
$ac_objext \
13183 conftest
$ac_exeext conftest.
$ac_ext
13184 LIBS
=$ac_check_lib_save_LIBS
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13187 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13188 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
13189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13190 /* end confdefs.h. */
13191 #ifdef HAVE_ALSA_ASOUNDLIB_H
13192 #include <alsa/asoundlib.h>
13193 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13194 #include <sys/asoundlib.h>
13199 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13204 if ac_fn_c_try_compile
"$LINENO"; then :
13205 ALSA_LIBS
="-lasound"
13207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13211 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13213 if test "x$with_oss" != xno
13215 ac_save_CPPFLAGS
="$CPPFLAGS"
13216 if test -f /etc
/oss.conf
13220 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13221 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
13222 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13223 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
13224 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13226 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
13228 cat >>confdefs.h
<<_ACEOF
13229 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13232 OSS4_CFLAGS
="$ac_oss_incl"
13239 CPPFLAGS
="$ac_save_CPPFLAGS"
13241 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
; then :
13242 case "x$with_oss" in
13243 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13245 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13246 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13248 enable_wineoss_drv
=${enable_wineoss_drv:-no}
13251 if test "x$with_udev" != "xno"
13253 if ${UDEV_CFLAGS:+false} :; then :
13254 if ${PKG_CONFIG+:} false
; then :
13255 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13259 if ${UDEV_LIBS:+false} :; then :
13260 if ${PKG_CONFIG+:} false
; then :
13261 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
13265 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
13266 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13267 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13268 ac_save_CPPFLAGS
=$CPPFLAGS
13269 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
13270 for ac_header
in libudev.h
13272 ac_fn_c_check_header_mongrel
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13273 if test "x$ac_cv_header_libudev_h" = xyes
; then :
13274 cat >>confdefs.h
<<_ACEOF
13275 #define HAVE_LIBUDEV_H 1
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13278 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13279 if ${ac_cv_lib_udev_udev_new+:} false
; then :
13280 $as_echo_n "(cached) " >&6
13282 ac_check_lib_save_LIBS
=$LIBS
13283 LIBS
="-ludev $UDEV_LIBS $LIBS"
13284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13285 /* end confdefs.h. */
13287 /* Override any GCC internal prototype to avoid an error.
13288 Use char because int might match the return type of a GCC
13289 builtin and then its argument prototype would still apply. */
13297 return udev_new ();
13302 if ac_fn_c_try_link
"$LINENO"; then :
13303 ac_cv_lib_udev_udev_new
=yes
13305 ac_cv_lib_udev_udev_new
=no
13307 rm -f core conftest.err conftest.
$ac_objext \
13308 conftest
$ac_exeext conftest.
$ac_ext
13309 LIBS
=$ac_check_lib_save_LIBS
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13312 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13313 if test "x$ac_cv_lib_udev_udev_new" = xyes
; then :
13315 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13327 CPPFLAGS
=$ac_save_CPPFLAGS
13328 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS
=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13329 test -z "$UDEV_LIBS" || UDEV_LIBS
=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13332 if test "x$UDEV_LIBS" = "x"; then :
13333 case "x$with_udev" in
13334 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13336 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
13337 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13342 if test "x$with_capi" != "xno"
13344 if ${CAPI20_CFLAGS:+false} :; then :
13345 if ${PKG_CONFIG+:} false
; then :
13346 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13350 if ${CAPI20_LIBS:+false} :; then :
13351 if ${PKG_CONFIG+:} false
; then :
13352 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
13357 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13358 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13359 ac_save_CPPFLAGS
=$CPPFLAGS
13360 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
13361 for ac_header
in capi20.h linux
/capi.h
13363 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13364 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13366 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13367 cat >>confdefs.h
<<_ACEOF
13368 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13375 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13378 $as_echo_n "checking for -lcapi20... " >&6; }
13379 if ${ac_cv_lib_soname_capi20+:} false
; then :
13380 $as_echo_n "(cached) " >&6
13382 ac_check_soname_save_LIBS
=$LIBS
13383 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
13384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13385 /* end confdefs.h. */
13387 /* Override any GCC internal prototype to avoid an error.
13388 Use char because int might match the return type of a GCC
13389 builtin and then its argument prototype would still apply. */
13393 char capi20_register ();
13397 return capi20_register ();
13402 if ac_fn_c_try_link
"$LINENO"; then :
13404 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13405 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'` ;;
13406 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13407 if ${ac_cv_lib_soname_capi20:+false} :; then :
13408 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13412 rm -f core conftest.err conftest.
$ac_objext \
13413 conftest
$ac_exeext conftest.
$ac_ext
13414 LIBS
=$ac_check_soname_save_LIBS
13416 if ${ac_cv_lib_soname_capi20:+false} :; then :
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13418 $as_echo "not found" >&6; }
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13422 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13424 cat >>confdefs.h
<<_ACEOF
13425 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13431 CPPFLAGS
=$ac_save_CPPFLAGS
13432 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13433 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13436 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13437 case "x$with_capi" in
13438 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13440 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13441 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13448 if test "x$with_cups" != "xno"
13450 ac_save_CPPFLAGS
="$CPPFLAGS"
13451 ac_cups_cflags
=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13452 ac_cups_libs
=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13453 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
13454 for ac_header
in cups
/cups.h
13456 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13457 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
13458 cat >>confdefs.h
<<_ACEOF
13459 #define HAVE_CUPS_CUPS_H 1
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13462 $as_echo_n "checking for -lcups... " >&6; }
13463 if ${ac_cv_lib_soname_cups+:} false
; then :
13464 $as_echo_n "(cached) " >&6
13466 ac_check_soname_save_LIBS
=$LIBS
13467 LIBS
="-lcups $ac_cups_libs $LIBS"
13468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13469 /* end confdefs.h. */
13471 /* Override any GCC internal prototype to avoid an error.
13472 Use char because int might match the return type of a GCC
13473 builtin and then its argument prototype would still apply. */
13477 char cupsGetDefault ();
13481 return cupsGetDefault ();
13486 if ac_fn_c_try_link
"$LINENO"; then :
13488 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13489 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'` ;;
13490 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13491 if ${ac_cv_lib_soname_cups:+false} :; then :
13492 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13496 rm -f core conftest.err conftest.
$ac_objext \
13497 conftest
$ac_exeext conftest.
$ac_ext
13498 LIBS
=$ac_check_soname_save_LIBS
13500 if ${ac_cv_lib_soname_cups:+false} :; then :
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13502 $as_echo "not found" >&6; }
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13506 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13508 cat >>confdefs.h
<<_ACEOF
13509 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13512 CUPS_CFLAGS
="$ac_cups_cflags"
13514 for ac_header
in cups
/ppd.h
13516 ac_fn_c_check_header_mongrel
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13517 if test "x$ac_cv_header_cups_ppd_h" = xyes
; then :
13518 cat >>confdefs.h
<<_ACEOF
13519 #define HAVE_CUPS_PPD_H 1
13530 CPPFLAGS
="$ac_save_CPPFLAGS"
13532 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13533 case "x$with_cups" in
13534 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13536 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13537 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13542 if test "x$with_fontconfig" != "xno"
13544 if ${FONTCONFIG_CFLAGS:+false} :; then :
13545 if ${PKG_CONFIG+:} false
; then :
13546 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13549 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13550 if ${FONTCONFIG_LIBS:+false} :; then :
13551 if ${PKG_CONFIG+:} false
; then :
13552 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13555 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13557 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13558 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13559 ac_save_CPPFLAGS
=$CPPFLAGS
13560 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13561 for ac_header
in fontconfig
/fontconfig.h
13563 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13564 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13565 cat >>confdefs.h
<<_ACEOF
13566 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13573 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13576 $as_echo_n "checking for -lfontconfig... " >&6; }
13577 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13578 $as_echo_n "(cached) " >&6
13580 ac_check_soname_save_LIBS
=$LIBS
13581 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13583 /* end confdefs.h. */
13585 /* Override any GCC internal prototype to avoid an error.
13586 Use char because int might match the return type of a GCC
13587 builtin and then its argument prototype would still apply. */
13600 if ac_fn_c_try_link
"$LINENO"; then :
13602 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13603 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'` ;;
13604 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13605 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13606 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13610 rm -f core conftest.err conftest.
$ac_objext \
13611 conftest
$ac_exeext conftest.
$ac_ext
13612 LIBS
=$ac_check_soname_save_LIBS
13614 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13616 $as_echo "not found" >&6; }
13617 FONTCONFIG_CFLAGS
=""
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13620 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13622 cat >>confdefs.h
<<_ACEOF
13623 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13629 FONTCONFIG_CFLAGS
=""
13631 CPPFLAGS
=$ac_save_CPPFLAGS
13632 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13633 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13636 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13637 case "x$with_fontconfig" in
13638 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13640 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13641 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13646 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13649 $as_echo_n "checking for -lgsm... " >&6; }
13650 if ${ac_cv_lib_soname_gsm+:} false
; then :
13651 $as_echo_n "(cached) " >&6
13653 ac_check_soname_save_LIBS
=$LIBS
13655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13656 /* end confdefs.h. */
13658 /* Override any GCC internal prototype to avoid an error.
13659 Use char because int might match the return type of a GCC
13660 builtin and then its argument prototype would still apply. */
13664 char gsm_create ();
13668 return gsm_create ();
13673 if ac_fn_c_try_link
"$LINENO"; then :
13675 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13676 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'` ;;
13677 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13678 if ${ac_cv_lib_soname_gsm:+false} :; then :
13679 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13683 rm -f core conftest.err conftest.
$ac_objext \
13684 conftest
$ac_exeext conftest.
$ac_ext
13685 LIBS
=$ac_check_soname_save_LIBS
13687 if ${ac_cv_lib_soname_gsm:+false} :; then :
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13689 $as_echo "not found" >&6; }
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13693 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13695 cat >>confdefs.h
<<_ACEOF
13696 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13702 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13703 case "x$with_gsm" in
13704 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13706 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13707 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13712 if test "x$with_jpeg" != "xno"
13714 if ${JPEG_CFLAGS:+false} :; then :
13715 if ${PKG_CONFIG+:} false
; then :
13716 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13720 if ${JPEG_LIBS:+false} :; then :
13721 if ${PKG_CONFIG+:} false
; then :
13722 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13727 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13728 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13729 ac_save_CPPFLAGS
=$CPPFLAGS
13730 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13731 for ac_header
in jpeglib.h
13733 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13734 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13735 cat >>confdefs.h
<<_ACEOF
13736 #define HAVE_JPEGLIB_H 1
13743 if test "$ac_cv_header_jpeglib_h" = "yes"
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13746 $as_echo_n "checking for -ljpeg... " >&6; }
13747 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13748 $as_echo_n "(cached) " >&6
13750 ac_check_soname_save_LIBS
=$LIBS
13751 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13753 /* end confdefs.h. */
13755 /* Override any GCC internal prototype to avoid an error.
13756 Use char because int might match the return type of a GCC
13757 builtin and then its argument prototype would still apply. */
13761 char jpeg_start_decompress ();
13765 return jpeg_start_decompress ();
13770 if ac_fn_c_try_link
"$LINENO"; then :
13772 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13773 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'` ;;
13774 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13775 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13776 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13780 rm -f core conftest.err conftest.
$ac_objext \
13781 conftest
$ac_exeext conftest.
$ac_ext
13782 LIBS
=$ac_check_soname_save_LIBS
13784 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13786 $as_echo "not found" >&6; }
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13790 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13792 cat >>confdefs.h
<<_ACEOF
13793 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13801 CPPFLAGS
=$ac_save_CPPFLAGS
13802 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13803 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13806 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13807 case "x$with_jpeg" in
13808 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13810 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13811 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13816 if test "x$with_png" != "xno"
13818 if ${PNG_CFLAGS:+false} :; then :
13819 if ${PKG_CONFIG+:} false
; then :
13820 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13823 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13824 if ${PNG_LIBS:+false} :; then :
13825 if ${PKG_CONFIG+:} false
; then :
13826 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13829 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13831 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13832 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13833 ac_save_CPPFLAGS
=$CPPFLAGS
13834 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13835 for ac_header
in png.h
13837 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13838 if test "x$ac_cv_header_png_h" = xyes
; then :
13839 cat >>confdefs.h
<<_ACEOF
13840 #define HAVE_PNG_H 1
13847 if test "$ac_cv_header_png_h" = "yes"
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13850 $as_echo_n "checking for -lpng... " >&6; }
13851 if ${ac_cv_lib_soname_png+:} false
; then :
13852 $as_echo_n "(cached) " >&6
13854 ac_check_soname_save_LIBS
=$LIBS
13855 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13857 /* end confdefs.h. */
13859 /* Override any GCC internal prototype to avoid an error.
13860 Use char because int might match the return type of a GCC
13861 builtin and then its argument prototype would still apply. */
13865 char png_create_read_struct ();
13869 return png_create_read_struct ();
13874 if ac_fn_c_try_link
"$LINENO"; then :
13876 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13877 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'` ;;
13878 *) 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'`
13879 if ${ac_cv_lib_soname_png:+false} :; then :
13880 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13884 rm -f core conftest.err conftest.
$ac_objext \
13885 conftest
$ac_exeext conftest.
$ac_ext
13886 LIBS
=$ac_check_soname_save_LIBS
13888 if ${ac_cv_lib_soname_png:+false} :; then :
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13890 $as_echo "not found" >&6; }
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13894 $as_echo "$ac_cv_lib_soname_png" >&6; }
13896 cat >>confdefs.h
<<_ACEOF
13897 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13905 CPPFLAGS
=$ac_save_CPPFLAGS
13906 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13907 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13910 if test "x$ac_cv_lib_soname_png" = "x"; then :
13911 case "x$with_png" in
13912 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13914 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13915 This is an error since --with-png was requested." "$LINENO" 5 ;;
13920 if test "x$with_tiff" != "xno"
13922 if ${TIFF_CFLAGS:+false} :; then :
13923 if ${PKG_CONFIG+:} false
; then :
13924 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13928 if ${TIFF_LIBS:+false} :; then :
13929 if ${PKG_CONFIG+:} false
; then :
13930 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13935 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13936 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13937 ac_save_CPPFLAGS
=$CPPFLAGS
13938 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13939 for ac_header
in tiffio.h
13941 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13942 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13943 cat >>confdefs.h
<<_ACEOF
13944 #define HAVE_TIFFIO_H 1
13951 if test "$ac_cv_header_tiffio_h" = "yes"
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13954 $as_echo_n "checking for -ltiff... " >&6; }
13955 if ${ac_cv_lib_soname_tiff+:} false
; then :
13956 $as_echo_n "(cached) " >&6
13958 ac_check_soname_save_LIBS
=$LIBS
13959 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13961 /* end confdefs.h. */
13963 /* Override any GCC internal prototype to avoid an error.
13964 Use char because int might match the return type of a GCC
13965 builtin and then its argument prototype would still apply. */
13969 char TIFFClientOpen ();
13973 return TIFFClientOpen ();
13978 if ac_fn_c_try_link
"$LINENO"; then :
13980 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13981 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'` ;;
13982 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13983 if ${ac_cv_lib_soname_tiff:+false} :; then :
13984 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13988 rm -f core conftest.err conftest.
$ac_objext \
13989 conftest
$ac_exeext conftest.
$ac_ext
13990 LIBS
=$ac_check_soname_save_LIBS
13992 if ${ac_cv_lib_soname_tiff:+false} :; then :
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13994 $as_echo "not found" >&6; }
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13998 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14000 cat >>confdefs.h
<<_ACEOF
14001 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14007 CPPFLAGS
=$ac_save_CPPFLAGS
14008 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14009 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14012 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14013 case "x$with_tiff" in
14014 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14016 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
14017 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14022 if test "x$with_mpg123" != "xno"
14024 if ${MPG123_CFLAGS:+false} :; then :
14025 if ${PKG_CONFIG+:} false
; then :
14026 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14030 if ${MPG123_LIBS:+false} :; then :
14031 if ${PKG_CONFIG+:} false
; then :
14032 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14036 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
14037 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14038 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14039 ac_save_CPPFLAGS
=$CPPFLAGS
14040 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
14041 for ac_header
in mpg123.h
14043 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14044 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
14045 cat >>confdefs.h
<<_ACEOF
14046 #define HAVE_MPG123_H 1
14053 if test "$ac_cv_header_mpg123_h" = "yes"
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14056 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14057 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
14058 $as_echo_n "(cached) " >&6
14060 ac_check_lib_save_LIBS
=$LIBS
14061 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
14062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14063 /* end confdefs.h. */
14065 /* Override any GCC internal prototype to avoid an error.
14066 Use char because int might match the return type of a GCC
14067 builtin and then its argument prototype would still apply. */
14071 char mpg123_feed ();
14075 return mpg123_feed ();
14080 if ac_fn_c_try_link
"$LINENO"; then :
14081 ac_cv_lib_mpg123_mpg123_feed
=yes
14083 ac_cv_lib_mpg123_mpg123_feed
=no
14085 rm -f core conftest.err conftest.
$ac_objext \
14086 conftest
$ac_exeext conftest.
$ac_ext
14087 LIBS
=$ac_check_lib_save_LIBS
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14090 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14091 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
14101 CPPFLAGS
=$ac_save_CPPFLAGS
14102 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14103 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14106 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
14107 case "x$with_mpg123" in
14108 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14110 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14111 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14113 enable_winemp3_acm
=${enable_winemp3_acm:-no}
14116 if test "$ac_cv_header_AL_al_h" = "yes"
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14119 $as_echo_n "checking for -lopenal... " >&6; }
14120 if ${ac_cv_lib_soname_openal+:} false
; then :
14121 $as_echo_n "(cached) " >&6
14123 ac_check_soname_save_LIBS
=$LIBS
14124 LIBS
="-lopenal $LIBS"
14125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14128 /* Override any GCC internal prototype to avoid an error.
14129 Use char because int might match the return type of a GCC
14130 builtin and then its argument prototype would still apply. */
14134 char alGetSource3i ();
14138 return alGetSource3i ();
14143 if ac_fn_c_try_link
"$LINENO"; then :
14145 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14146 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'` ;;
14147 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14148 if ${ac_cv_lib_soname_openal:+false} :; then :
14149 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14153 rm -f core conftest.err conftest.
$ac_objext \
14154 conftest
$ac_exeext conftest.
$ac_ext
14155 LIBS
=$ac_check_soname_save_LIBS
14157 if ${ac_cv_lib_soname_openal:+false} :; then :
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14159 $as_echo "not found" >&6; }
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14163 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14165 cat >>confdefs.h
<<_ACEOF
14166 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14169 OPENAL_LIBS
="-lopenal"
14171 ac_cv_lib_openal
=yes
14173 cat >>confdefs.h
<<_ACEOF
14174 #define HAVE_OPENAL 1
14179 if test "x$ac_cv_lib_openal" != xyes
; then :
14180 case "x$with_openal" in
14181 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14183 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14184 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14186 enable_openal32
=${enable_openal32:-no}
14189 if test "x$ac_cv_lib_openal" = xyes
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14192 $as_echo_n "checking for openal-soft... " >&6; }
14193 if ${ac_cv_have_openalsoft+:} false
; then :
14194 $as_echo_n "(cached) " >&6
14196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14197 /* end confdefs.h. */
14199 #include <AL/alc.h>
14200 #include <AL/alext.h>
14201 LPALCRENDERSAMPLESSOFT x;
14210 if ac_fn_c_try_compile
"$LINENO"; then :
14211 ac_cv_have_openalsoft
=yes
14213 ac_cv_have_openalsoft
=no
14215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14218 $as_echo "$ac_cv_have_openalsoft" >&6; }
14220 if test "x$ac_cv_have_openalsoft" != xyes
14222 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14223 enable_x3daudio1_0
=${enable_x3daudio1_0:-no}
14224 enable_x3daudio1_1
=${enable_x3daudio1_1:-no}
14225 enable_x3daudio1_2
=${enable_x3daudio1_2:-no}
14226 enable_x3daudio1_3
=${enable_x3daudio1_3:-no}
14227 enable_x3daudio1_4
=${enable_x3daudio1_4:-no}
14228 enable_x3daudio1_5
=${enable_x3daudio1_5:-no}
14229 enable_x3daudio1_6
=${enable_x3daudio1_6:-no}
14230 enable_x3daudio1_7
=${enable_x3daudio1_7:-no}
14231 enable_xapofx1_1
=${enable_xapofx1_1:-no}
14232 enable_xapofx1_2
=${enable_xapofx1_2:-no}
14233 enable_xapofx1_3
=${enable_xapofx1_3:-no}
14234 enable_xapofx1_4
=${enable_xapofx1_4:-no}
14235 enable_xapofx1_5
=${enable_xapofx1_5:-no}
14236 enable_xaudio2_0
=${enable_xaudio2_0:-no}
14237 enable_xaudio2_1
=${enable_xaudio2_1:-no}
14238 enable_xaudio2_2
=${enable_xaudio2_2:-no}
14239 enable_xaudio2_3
=${enable_xaudio2_3:-no}
14240 enable_xaudio2_4
=${enable_xaudio2_4:-no}
14241 enable_xaudio2_5
=${enable_xaudio2_5:-no}
14242 enable_xaudio2_6
=${enable_xaudio2_6:-no}
14243 enable_xaudio2_7
=${enable_xaudio2_7:-no}
14244 enable_xaudio2_8
=${enable_xaudio2_8:-no}
14245 enable_xaudio2_9
=${enable_xaudio2_9:-no}
14248 if test "$ac_cv_header_kstat_h" = "yes"
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14251 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14252 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
14253 $as_echo_n "(cached) " >&6
14255 ac_check_lib_save_LIBS
=$LIBS
14256 LIBS
="-lkstat $LIBS"
14257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14260 /* Override any GCC internal prototype to avoid an error.
14261 Use char because int might match the return type of a GCC
14262 builtin and then its argument prototype would still apply. */
14266 char kstat_open ();
14270 return kstat_open ();
14275 if ac_fn_c_try_link
"$LINENO"; then :
14276 ac_cv_lib_kstat_kstat_open
=yes
14278 ac_cv_lib_kstat_kstat_open
=no
14280 rm -f core conftest.err conftest.
$ac_objext \
14281 conftest
$ac_exeext conftest.
$ac_ext
14282 LIBS
=$ac_check_lib_save_LIBS
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14285 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14286 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
14288 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14290 KSTAT_LIBS
="-lkstat"
14296 if test "$ac_cv_header_libprocstat_h" = "yes"
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14299 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14300 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
14301 $as_echo_n "(cached) " >&6
14303 ac_check_lib_save_LIBS
=$LIBS
14304 LIBS
="-lprocstat $LIBS"
14305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14306 /* end confdefs.h. */
14308 /* Override any GCC internal prototype to avoid an error.
14309 Use char because int might match the return type of a GCC
14310 builtin and then its argument prototype would still apply. */
14314 char procstat_open_sysctl ();
14318 return procstat_open_sysctl ();
14323 if ac_fn_c_try_link
"$LINENO"; then :
14324 ac_cv_lib_procstat_procstat_open_sysctl
=yes
14326 ac_cv_lib_procstat_procstat_open_sysctl
=no
14328 rm -f core conftest.err conftest.
$ac_objext \
14329 conftest
$ac_exeext conftest.
$ac_ext
14330 LIBS
=$ac_check_lib_save_LIBS
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14333 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14334 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
14336 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14338 PROCSTAT_LIBS
="-lprocstat"
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14345 $as_echo_n "checking for -lodbc... " >&6; }
14346 if ${ac_cv_lib_soname_odbc+:} false
; then :
14347 $as_echo_n "(cached) " >&6
14349 ac_check_soname_save_LIBS
=$LIBS
14350 LIBS
="-lodbc $LIBS"
14351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14352 /* end confdefs.h. */
14354 /* Override any GCC internal prototype to avoid an error.
14355 Use char because int might match the return type of a GCC
14356 builtin and then its argument prototype would still apply. */
14360 char SQLConnect ();
14364 return SQLConnect ();
14369 if ac_fn_c_try_link
"$LINENO"; then :
14371 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14372 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'` ;;
14373 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14374 if ${ac_cv_lib_soname_odbc:+false} :; then :
14375 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14379 rm -f core conftest.err conftest.
$ac_objext \
14380 conftest
$ac_exeext conftest.
$ac_ext
14381 LIBS
=$ac_check_soname_save_LIBS
14383 if ${ac_cv_lib_soname_odbc:+false} :; then :
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14385 $as_echo "not found" >&6; }
14386 cat >>confdefs.h
<<_ACEOF
14387 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14392 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14394 cat >>confdefs.h
<<_ACEOF
14395 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14401 if test "x$with_netapi" != "xno"
14403 if ${NETAPI_CFLAGS:+false} :; then :
14404 if ${PKG_CONFIG+:} false
; then :
14405 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14409 if ${NETAPI_LIBS:+false} :; then :
14410 if ${PKG_CONFIG+:} false
; then :
14411 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
14416 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14417 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14418 ac_save_CPPFLAGS
=$CPPFLAGS
14419 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14421 $as_echo_n "checking for -lnetapi... " >&6; }
14422 if ${ac_cv_lib_soname_netapi+:} false
; then :
14423 $as_echo_n "(cached) " >&6
14425 ac_check_soname_save_LIBS
=$LIBS
14426 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
14427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14428 /* end confdefs.h. */
14430 /* Override any GCC internal prototype to avoid an error.
14431 Use char because int might match the return type of a GCC
14432 builtin and then its argument prototype would still apply. */
14436 char libnetapi_init ();
14440 return libnetapi_init ();
14445 if ac_fn_c_try_link
"$LINENO"; then :
14447 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14448 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'` ;;
14449 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14450 if ${ac_cv_lib_soname_netapi:+false} :; then :
14451 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14455 rm -f core conftest.err conftest.
$ac_objext \
14456 conftest
$ac_exeext conftest.
$ac_ext
14457 LIBS
=$ac_check_soname_save_LIBS
14459 if ${ac_cv_lib_soname_netapi:+false} :; then :
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14461 $as_echo "not found" >&6; }
14462 cat >>confdefs.h
<<_ACEOF
14463 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14468 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14470 cat >>confdefs.h
<<_ACEOF
14471 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14476 CPPFLAGS
=$ac_save_CPPFLAGS
14477 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS
=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14478 test -z "$NETAPI_LIBS" || NETAPI_LIBS
=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14482 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
14483 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14485 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
14491 if test "x${GCC}" = "xyes"
14493 EXTRACFLAGS
="-Wall -pipe"
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14496 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14497 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
14498 $as_echo_n "(cached) " >&6
14500 if test "$cross_compiling" = yes; then :
14501 ac_cv_c_gcc_strength_bug
="no"
14503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14504 /* end confdefs.h. */
14505 int L[4] = {0,1,2,3};
14509 static int Array[3];
14510 unsigned int B = 3;
14512 for(i=0; i<B; i++) Array[i] = i - 3;
14513 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14515 return (Array[1] != -2 || L[2] != 3)
14520 if ac_fn_c_try_run
"$LINENO"; then :
14521 ac_cv_c_gcc_strength_bug
="no"
14523 ac_cv_c_gcc_strength_bug
="yes"
14525 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14526 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14531 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14532 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14534 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14538 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14539 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14540 $as_echo_n "(cached) " >&6
14542 ac_wine_try_cflags_saved
=$CFLAGS
14543 CFLAGS
="$CFLAGS -fno-builtin"
14544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14545 /* end confdefs.h. */
14546 int main(int argc, char **argv) { return 0; }
14548 if ac_fn_c_try_link
"$LINENO"; then :
14549 ac_cv_cflags__fno_builtin
=yes
14551 ac_cv_cflags__fno_builtin
=no
14553 rm -f core conftest.err conftest.
$ac_objext \
14554 conftest
$ac_exeext conftest.
$ac_ext
14555 CFLAGS
=$ac_wine_try_cflags_saved
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14558 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14559 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14560 BUILTINFLAG
="-fno-builtin"
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14564 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14565 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14566 $as_echo_n "(cached) " >&6
14568 ac_wine_try_cflags_saved
=$CFLAGS
14569 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14571 /* end confdefs.h. */
14572 int main(int argc, char **argv) { return 0; }
14574 if ac_fn_c_try_link
"$LINENO"; then :
14575 ac_cv_cflags__fno_strict_aliasing
=yes
14577 ac_cv_cflags__fno_strict_aliasing
=no
14579 rm -f core conftest.err conftest.
$ac_objext \
14580 conftest
$ac_exeext conftest.
$ac_ext
14581 CFLAGS
=$ac_wine_try_cflags_saved
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14584 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14585 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14586 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14589 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14590 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14591 $as_echo_n "(cached) " >&6
14593 ac_wine_try_cflags_saved
=$CFLAGS
14594 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14596 /* end confdefs.h. */
14597 int main(int argc, char **argv) { return 0; }
14599 if ac_fn_c_try_link
"$LINENO"; then :
14600 ac_cv_cflags__fexcess_precision_standard
=yes
14602 ac_cv_cflags__fexcess_precision_standard
=no
14604 rm -f core conftest.err conftest.
$ac_objext \
14605 conftest
$ac_exeext conftest.
$ac_ext
14606 CFLAGS
=$ac_wine_try_cflags_saved
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14609 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14610 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14611 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14614 saved_CFLAGS
=$CFLAGS
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14616 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14617 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14618 $as_echo_n "(cached) " >&6
14620 ac_wine_try_cflags_saved
=$CFLAGS
14621 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14623 /* end confdefs.h. */
14624 int main(int argc, char **argv) { return 0; }
14626 if ac_fn_c_try_link
"$LINENO"; then :
14627 ac_cv_cflags__Werror_unknown_warning_option
=yes
14629 ac_cv_cflags__Werror_unknown_warning_option
=no
14631 rm -f core conftest.err conftest.
$ac_objext \
14632 conftest
$ac_exeext conftest.
$ac_ext
14633 CFLAGS
=$ac_wine_try_cflags_saved
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14636 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14637 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14638 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14641 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14642 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14643 $as_echo_n "(cached) " >&6
14645 ac_wine_try_cflags_saved
=$CFLAGS
14646 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14648 /* end confdefs.h. */
14649 int main(int argc, char **argv) { return 0; }
14651 if ac_fn_c_try_link
"$LINENO"; then :
14652 ac_cv_cflags__Wdeclaration_after_statement
=yes
14654 ac_cv_cflags__Wdeclaration_after_statement
=no
14656 rm -f core conftest.err conftest.
$ac_objext \
14657 conftest
$ac_exeext conftest.
$ac_ext
14658 CFLAGS
=$ac_wine_try_cflags_saved
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14661 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14662 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14663 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14666 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14667 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14668 $as_echo_n "(cached) " >&6
14670 ac_wine_try_cflags_saved
=$CFLAGS
14671 CFLAGS
="$CFLAGS -Wempty-body"
14672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14673 /* end confdefs.h. */
14674 int main(int argc, char **argv) { return 0; }
14676 if ac_fn_c_try_link
"$LINENO"; then :
14677 ac_cv_cflags__Wempty_body
=yes
14679 ac_cv_cflags__Wempty_body
=no
14681 rm -f core conftest.err conftest.
$ac_objext \
14682 conftest
$ac_exeext conftest.
$ac_ext
14683 CFLAGS
=$ac_wine_try_cflags_saved
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14686 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14687 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14688 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14691 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14692 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14693 $as_echo_n "(cached) " >&6
14695 ac_wine_try_cflags_saved
=$CFLAGS
14696 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14698 /* end confdefs.h. */
14699 int main(int argc, char **argv) { return 0; }
14701 if ac_fn_c_try_link
"$LINENO"; then :
14702 ac_cv_cflags__Wignored_qualifiers
=yes
14704 ac_cv_cflags__Wignored_qualifiers
=no
14706 rm -f core conftest.err conftest.
$ac_objext \
14707 conftest
$ac_exeext conftest.
$ac_ext
14708 CFLAGS
=$ac_wine_try_cflags_saved
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14711 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14712 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14713 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14716 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14717 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
14718 $as_echo_n "(cached) " >&6
14720 ac_wine_try_cflags_saved
=$CFLAGS
14721 CFLAGS
="$CFLAGS -Wshift-overflow=2"
14722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14723 /* end confdefs.h. */
14724 int main(int argc, char **argv) { return 0; }
14726 if ac_fn_c_try_link
"$LINENO"; then :
14727 ac_cv_cflags__Wshift_overflow_2
=yes
14729 ac_cv_cflags__Wshift_overflow_2
=no
14731 rm -f core conftest.err conftest.
$ac_objext \
14732 conftest
$ac_exeext conftest.
$ac_ext
14733 CFLAGS
=$ac_wine_try_cflags_saved
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14736 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14737 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
14738 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14741 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14742 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14743 $as_echo_n "(cached) " >&6
14745 ac_wine_try_cflags_saved
=$CFLAGS
14746 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14748 /* end confdefs.h. */
14749 int main(int argc, char **argv) { return 0; }
14751 if ac_fn_c_try_link
"$LINENO"; then :
14752 ac_cv_cflags__Wstrict_prototypes
=yes
14754 ac_cv_cflags__Wstrict_prototypes
=no
14756 rm -f core conftest.err conftest.
$ac_objext \
14757 conftest
$ac_exeext conftest.
$ac_ext
14758 CFLAGS
=$ac_wine_try_cflags_saved
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14761 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14762 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14763 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14766 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14767 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14768 $as_echo_n "(cached) " >&6
14770 ac_wine_try_cflags_saved
=$CFLAGS
14771 CFLAGS
="$CFLAGS -Wtype-limits"
14772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14773 /* end confdefs.h. */
14774 int main(int argc, char **argv) { return 0; }
14776 if ac_fn_c_try_link
"$LINENO"; then :
14777 ac_cv_cflags__Wtype_limits
=yes
14779 ac_cv_cflags__Wtype_limits
=no
14781 rm -f core conftest.err conftest.
$ac_objext \
14782 conftest
$ac_exeext conftest.
$ac_ext
14783 CFLAGS
=$ac_wine_try_cflags_saved
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14786 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14787 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14788 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14791 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14792 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14793 $as_echo_n "(cached) " >&6
14795 ac_wine_try_cflags_saved
=$CFLAGS
14796 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14798 /* end confdefs.h. */
14799 int main(int argc, char **argv) { return 0; }
14801 if ac_fn_c_try_link
"$LINENO"; then :
14802 ac_cv_cflags__Wunused_but_set_parameter
=yes
14804 ac_cv_cflags__Wunused_but_set_parameter
=no
14806 rm -f core conftest.err conftest.
$ac_objext \
14807 conftest
$ac_exeext conftest.
$ac_ext
14808 CFLAGS
=$ac_wine_try_cflags_saved
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14811 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14812 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14813 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14816 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14817 if ${ac_cv_cflags__Wvla+:} false
; then :
14818 $as_echo_n "(cached) " >&6
14820 ac_wine_try_cflags_saved
=$CFLAGS
14821 CFLAGS
="$CFLAGS -Wvla"
14822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14823 /* end confdefs.h. */
14824 int main(int argc, char **argv) { return 0; }
14826 if ac_fn_c_try_link
"$LINENO"; then :
14827 ac_cv_cflags__Wvla
=yes
14829 ac_cv_cflags__Wvla
=no
14831 rm -f core conftest.err conftest.
$ac_objext \
14832 conftest
$ac_exeext conftest.
$ac_ext
14833 CFLAGS
=$ac_wine_try_cflags_saved
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14836 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14837 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14838 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14841 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14842 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14843 $as_echo_n "(cached) " >&6
14845 ac_wine_try_cflags_saved
=$CFLAGS
14846 CFLAGS
="$CFLAGS -Wwrite-strings"
14847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14848 /* end confdefs.h. */
14849 int main(int argc, char **argv) { return 0; }
14851 if ac_fn_c_try_link
"$LINENO"; then :
14852 ac_cv_cflags__Wwrite_strings
=yes
14854 ac_cv_cflags__Wwrite_strings
=no
14856 rm -f core conftest.err conftest.
$ac_objext \
14857 conftest
$ac_exeext conftest.
$ac_ext
14858 CFLAGS
=$ac_wine_try_cflags_saved
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14861 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14862 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14863 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14867 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14868 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14869 $as_echo_n "(cached) " >&6
14871 ac_wine_try_cflags_saved
=$CFLAGS
14872 CFLAGS
="$CFLAGS -Wpointer-arith"
14873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14874 /* end confdefs.h. */
14875 int main(int argc, char **argv) { return 0; }
14877 if ac_fn_c_try_link
"$LINENO"; then :
14878 ac_cv_cflags__Wpointer_arith
=yes
14880 ac_cv_cflags__Wpointer_arith
=no
14882 rm -f core conftest.err conftest.
$ac_objext \
14883 conftest
$ac_exeext conftest.
$ac_ext
14884 CFLAGS
=$ac_wine_try_cflags_saved
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14887 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14888 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14889 saved_string_h_CFLAGS
=$CFLAGS
14890 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14892 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14893 if ${ac_cv_c_string_h_warnings+:} false
; then :
14894 $as_echo_n "(cached) " >&6
14896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14897 /* end confdefs.h. */
14898 #include <string.h>
14907 if ac_fn_c_try_compile
"$LINENO"; then :
14908 ac_cv_c_string_h_warnings
=no
14910 ac_cv_c_string_h_warnings
=yes
14912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14915 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14916 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14917 CFLAGS
=$saved_string_h_CFLAGS
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14921 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14922 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14923 $as_echo_n "(cached) " >&6
14925 ac_wine_try_cflags_saved
=$CFLAGS
14926 CFLAGS
="$CFLAGS -Wlogical-op"
14927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14928 /* end confdefs.h. */
14929 int main(int argc, char **argv) { return 0; }
14931 if ac_fn_c_try_link
"$LINENO"; then :
14932 ac_cv_cflags__Wlogical_op
=yes
14934 ac_cv_cflags__Wlogical_op
=no
14936 rm -f core conftest.err conftest.
$ac_objext \
14937 conftest
$ac_exeext conftest.
$ac_ext
14938 CFLAGS
=$ac_wine_try_cflags_saved
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14941 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14942 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14943 saved_string_h_CFLAGS
=$CFLAGS
14944 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14946 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14947 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14948 $as_echo_n "(cached) " >&6
14950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14951 /* end confdefs.h. */
14952 #include <string.h>
14953 char*f(const char *h,char n) {return strchr(h,n);}
14962 if ac_fn_c_try_compile
"$LINENO"; then :
14963 ac_cv_c_logicalop_noisy
=no
14965 ac_cv_c_logicalop_noisy
=yes
14967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14970 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14971 CFLAGS
=$saved_string_h_CFLAGS
14972 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14975 CFLAGS
=$saved_CFLAGS
14977 for ac_flag
in $CFLAGS; do
14979 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14980 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14981 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14982 $as_echo_n "(cached) " >&6
14984 ac_wine_try_cflags_saved
=$CFLAGS
14985 CFLAGS
="$CFLAGS -gdwarf-2"
14986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14987 /* end confdefs.h. */
14988 int main(int argc, char **argv) { return 0; }
14990 if ac_fn_c_try_link
"$LINENO"; then :
14991 ac_cv_cflags__gdwarf_2
=yes
14993 ac_cv_cflags__gdwarf_2
=no
14995 rm -f core conftest.err conftest.
$ac_objext \
14996 conftest
$ac_exeext conftest.
$ac_ext
14997 CFLAGS
=$ac_wine_try_cflags_saved
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15000 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15001 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
15002 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15005 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15006 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
15007 $as_echo_n "(cached) " >&6
15009 ac_wine_try_cflags_saved
=$CFLAGS
15010 CFLAGS
="$CFLAGS -gstrict-dwarf"
15011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15012 /* end confdefs.h. */
15013 int main(int argc, char **argv) { return 0; }
15015 if ac_fn_c_try_link
"$LINENO"; then :
15016 ac_cv_cflags__gstrict_dwarf
=yes
15018 ac_cv_cflags__gstrict_dwarf
=no
15020 rm -f core conftest.err conftest.
$ac_objext \
15021 conftest
$ac_exeext conftest.
$ac_ext
15022 CFLAGS
=$ac_wine_try_cflags_saved
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15025 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15026 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
15027 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
15033 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15034 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15035 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
15036 $as_echo_n "(cached) " >&6
15038 ac_wine_try_cflags_saved
=$CFLAGS
15039 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
15040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15041 /* end confdefs.h. */
15042 int main(int argc, char **argv) { return 0; }
15044 if ac_fn_c_try_link
"$LINENO"; then :
15045 ac_cv_cflags__fno_omit_frame_pointer
=yes
15047 ac_cv_cflags__fno_omit_frame_pointer
=no
15049 rm -f core conftest.err conftest.
$ac_objext \
15050 conftest
$ac_exeext conftest.
$ac_ext
15051 CFLAGS
=$ac_wine_try_cflags_saved
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15054 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15055 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
15056 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
15061 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15062 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15063 if ${ac_cv_cflags__Wno_format+:} false
; then :
15064 $as_echo_n "(cached) " >&6
15066 ac_wine_try_cflags_saved
=$CFLAGS
15067 CFLAGS
="$CFLAGS -Wno-format"
15068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15069 /* end confdefs.h. */
15070 int main(int argc, char **argv) { return 0; }
15072 if ac_fn_c_try_link
"$LINENO"; then :
15073 ac_cv_cflags__Wno_format
=yes
15075 ac_cv_cflags__Wno_format
=no
15077 rm -f core conftest.err conftest.
$ac_objext \
15078 conftest
$ac_exeext conftest.
$ac_ext
15079 CFLAGS
=$ac_wine_try_cflags_saved
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15082 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15083 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
15084 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
15088 if test "x$enable_maintainer_mode" = "xyes"
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15091 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15092 if ${ac_cv_cflags__Werror+:} false
; then :
15093 $as_echo_n "(cached) " >&6
15095 ac_wine_try_cflags_saved
=$CFLAGS
15096 CFLAGS
="$CFLAGS -Werror"
15097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15098 /* end confdefs.h. */
15099 int main(int argc, char **argv) { return 0; }
15101 if ac_fn_c_try_link
"$LINENO"; then :
15102 ac_cv_cflags__Werror
=yes
15104 ac_cv_cflags__Werror
=no
15106 rm -f core conftest.err conftest.
$ac_objext \
15107 conftest
$ac_exeext conftest.
$ac_ext
15108 CFLAGS
=$ac_wine_try_cflags_saved
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15111 $as_echo "$ac_cv_cflags__Werror" >&6; }
15112 if test "x$ac_cv_cflags__Werror" = xyes
; then :
15113 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
15117 saved_CFLAGS
="$CFLAGS"
15118 CFLAGS
="$CFLAGS -Werror"
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15120 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15121 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
15122 $as_echo_n "(cached) " >&6
15124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15126 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15135 if ac_fn_c_try_compile
"$LINENO"; then :
15136 ac_cv_have_ms_hook_prologue
="yes"
15138 ac_cv_have_ms_hook_prologue
="no"
15140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15143 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15144 CFLAGS
="$saved_CFLAGS"
15145 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15148 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15151 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15158 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15159 if ${ac_cv_c_fortify_enabled+:} false
; then :
15160 $as_echo_n "(cached) " >&6
15162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15163 /* end confdefs.h. */
15164 #include <string.h>
15168 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15169 #error Fortify enabled
15175 if ac_fn_c_try_compile
"$LINENO"; then :
15176 ac_cv_c_fortify_enabled
=no
15178 ac_cv_c_fortify_enabled
=yes
15180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15183 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15184 if test "$ac_cv_c_fortify_enabled" = yes
15186 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15191 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15192 if ${ac_cv_c_extern_prefix+:} false
; then :
15193 $as_echo_n "(cached) " >&6
15195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15196 /* end confdefs.h. */
15197 extern int ac_test;
15201 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15206 if ac_fn_c_try_link
"$LINENO"; then :
15207 ac_cv_c_extern_prefix
="yes"
15209 ac_cv_c_extern_prefix
="no"
15211 rm -f core conftest.err conftest.
$ac_objext \
15212 conftest
$ac_exeext conftest.
$ac_ext
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15215 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15220 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15221 if ${ac_cv_c_stdcall_suffix+:} false
; then :
15222 $as_echo_n "(cached) " >&6
15224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15225 /* end confdefs.h. */
15227 #define __stdcall __attribute__((__stdcall__))
15229 int __stdcall ac_test(int i) { return i; }
15233 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15238 if ac_fn_c_try_link
"$LINENO"; then :
15239 ac_cv_c_stdcall_suffix
="yes"
15241 ac_cv_c_stdcall_suffix
="no"
15243 rm -f core conftest.err conftest.
$ac_objext \
15244 conftest
$ac_exeext conftest.
$ac_ext
15246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15247 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15248 *) ac_cv_c_stdcall_suffix
="no" ;;
15252 if test "$ac_cv_c_extern_prefix" = "yes"
15254 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15256 asm_name_prefix
="_"
15258 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15264 if test "$ac_cv_c_stdcall_suffix" = "yes"
15266 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15269 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15275 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15276 if ${ac_cv_asm_func_def+:} false
; then :
15277 $as_echo_n "(cached) " >&6
15279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15280 /* end confdefs.h. */
15285 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15290 if ac_fn_c_try_link
"$LINENO"; then :
15291 ac_cv_asm_func_def
=".def"
15293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15294 /* end confdefs.h. */
15299 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15304 if ac_fn_c_try_link
"$LINENO"; then :
15305 ac_cv_asm_func_def
=".type @function"
15307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h. */
15313 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15318 if ac_fn_c_try_link
"$LINENO"; then :
15319 ac_cv_asm_func_def
=".type 2"
15321 ac_cv_asm_func_def
="unknown"
15323 rm -f core conftest.err conftest.
$ac_objext \
15324 conftest
$ac_exeext conftest.
$ac_ext
15326 rm -f core conftest.err conftest.
$ac_objext \
15327 conftest
$ac_exeext conftest.
$ac_ext
15329 rm -f core conftest.err conftest.
$ac_objext \
15330 conftest
$ac_exeext conftest.
$ac_ext
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15333 $as_echo "$ac_cv_asm_func_def" >&6; }
15336 case "$ac_cv_asm_func_def" in
15338 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15340 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15342 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15344 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
15346 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15348 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
15350 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15352 asm_func_header
="" ;;
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15356 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15357 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
15358 $as_echo_n "(cached) " >&6
15360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15361 /* end confdefs.h. */
15362 asm(".text\n\t.long 0");
15371 if ac_fn_c_try_compile
"$LINENO"; then :
15372 ac_cv_c_asm_outside_funcs
="yes"
15374 ac_cv_c_asm_outside_funcs
="no"
15376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15379 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15382 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15383 if ${ac_cv_c_dot_previous+:} false
; then :
15384 $as_echo_n "(cached) " >&6
15386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15387 /* end confdefs.h. */
15392 asm(".text\nac_test:\t.long 0\n\t.previous");
15397 if ac_fn_c_try_link
"$LINENO"; then :
15398 ac_cv_c_dot_previous
="yes"
15400 ac_cv_c_dot_previous
="no"
15402 rm -f core conftest.err conftest.
$ac_objext \
15403 conftest
$ac_exeext conftest.
$ac_ext
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15406 $as_echo "$ac_cv_c_dot_previous" >&6; }
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15409 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15410 if ${ac_cv_c_cfi_support+:} false
; then :
15411 $as_echo_n "(cached) " >&6
15413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15414 /* end confdefs.h. */
15415 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15424 if ac_fn_c_try_compile
"$LINENO"; then :
15425 ac_cv_c_cfi_support
="yes"
15427 ac_cv_c_cfi_support
="no"
15429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15432 $as_echo "$ac_cv_c_cfi_support" >&6; }
15434 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15435 asm_func_trailer
=""
15436 if test "$ac_cv_c_dot_previous" = "yes"
15438 asm_func_trailer
="\\n\\t.previous"
15440 if test "$ac_cv_c_cfi_support" = "yes"
15442 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
15443 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
15445 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15447 UNWINDFLAGS
=-fasynchronous-unwind-tables
15450 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15452 if test "x$enable_win64" = "xyes"
15454 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15458 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
15461 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15463 cat >>confdefs.h
<<_ACEOF
15464 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15468 cat >>confdefs.h
<<_ACEOF
15469 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15474 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15477 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15482 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
15489 *i
[3456789]86*|x86_64
*)
15490 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
15491 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
15498 ac_save_CFLAGS
="$CFLAGS"
15499 CFLAGS
="$CFLAGS $BUILTINFLAG"
15580 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15581 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15582 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15583 cat >>confdefs.h
<<_ACEOF
15584 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15590 CFLAGS
="$ac_save_CFLAGS"
15592 if test "$ac_cv_func_dlopen" = no
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15595 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15596 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15597 $as_echo_n "(cached) " >&6
15599 ac_check_lib_save_LIBS
=$LIBS
15601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15602 /* end confdefs.h. */
15604 /* Override any GCC internal prototype to avoid an error.
15605 Use char because int might match the return type of a GCC
15606 builtin and then its argument prototype would still apply. */
15619 if ac_fn_c_try_link
"$LINENO"; then :
15620 ac_cv_lib_dl_dlopen
=yes
15622 ac_cv_lib_dl_dlopen
=no
15624 rm -f core conftest.err conftest.
$ac_objext \
15625 conftest
$ac_exeext conftest.
$ac_ext
15626 LIBS
=$ac_check_lib_save_LIBS
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15629 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15630 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15631 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15637 ac_wine_check_funcs_save_LIBS
="$LIBS"
15638 LIBS
="$LIBS $DL_LIBS"
15639 for ac_func
in dladdr
15641 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15642 if test "x$ac_cv_func_dladdr" = xyes
; then :
15643 cat >>confdefs.h
<<_ACEOF
15644 #define HAVE_DLADDR 1
15650 LIBS
="$ac_wine_check_funcs_save_LIBS"
15652 if test "$ac_cv_func_poll" = no
15654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15655 $as_echo_n "checking for poll in -lpoll... " >&6; }
15656 if ${ac_cv_lib_poll_poll+:} false
; then :
15657 $as_echo_n "(cached) " >&6
15659 ac_check_lib_save_LIBS
=$LIBS
15660 LIBS
="-lpoll $LIBS"
15661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15662 /* end confdefs.h. */
15664 /* Override any GCC internal prototype to avoid an error.
15665 Use char because int might match the return type of a GCC
15666 builtin and then its argument prototype would still apply. */
15679 if ac_fn_c_try_link
"$LINENO"; then :
15680 ac_cv_lib_poll_poll
=yes
15682 ac_cv_lib_poll_poll
=no
15684 rm -f core conftest.err conftest.
$ac_objext \
15685 conftest
$ac_exeext conftest.
$ac_ext
15686 LIBS
=$ac_check_lib_save_LIBS
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15689 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15690 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15691 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15699 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15700 if ${ac_cv_search_gethostbyname+:} false
; then :
15701 $as_echo_n "(cached) " >&6
15703 ac_func_search_save_LIBS
=$LIBS
15704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15705 /* end confdefs.h. */
15707 /* Override any GCC internal prototype to avoid an error.
15708 Use char because int might match the return type of a GCC
15709 builtin and then its argument prototype would still apply. */
15713 char gethostbyname ();
15717 return gethostbyname ();
15722 for ac_lib
in '' nsl
; do
15723 if test -z "$ac_lib"; then
15724 ac_res
="none required"
15727 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15729 if ac_fn_c_try_link
"$LINENO"; then :
15730 ac_cv_search_gethostbyname
=$ac_res
15732 rm -f core conftest.err conftest.
$ac_objext \
15734 if ${ac_cv_search_gethostbyname+:} false
; then :
15738 if ${ac_cv_search_gethostbyname+:} false
; then :
15741 ac_cv_search_gethostbyname
=no
15743 rm conftest.
$ac_ext
15744 LIBS
=$ac_func_search_save_LIBS
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15747 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15748 ac_res
=$ac_cv_search_gethostbyname
15749 if test "$ac_res" != no
; then :
15750 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15756 $as_echo_n "checking for library containing connect... " >&6; }
15757 if ${ac_cv_search_connect+:} false
; then :
15758 $as_echo_n "(cached) " >&6
15760 ac_func_search_save_LIBS
=$LIBS
15761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15762 /* end confdefs.h. */
15764 /* Override any GCC internal prototype to avoid an error.
15765 Use char because int might match the return type of a GCC
15766 builtin and then its argument prototype would still apply. */
15779 for ac_lib
in '' socket
; do
15780 if test -z "$ac_lib"; then
15781 ac_res
="none required"
15784 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15786 if ac_fn_c_try_link
"$LINENO"; then :
15787 ac_cv_search_connect
=$ac_res
15789 rm -f core conftest.err conftest.
$ac_objext \
15791 if ${ac_cv_search_connect+:} false
; then :
15795 if ${ac_cv_search_connect+:} false
; then :
15798 ac_cv_search_connect
=no
15800 rm conftest.
$ac_ext
15801 LIBS
=$ac_func_search_save_LIBS
15803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15804 $as_echo "$ac_cv_search_connect" >&6; }
15805 ac_res
=$ac_cv_search_connect
15806 if test "$ac_res" != no
; then :
15807 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15813 $as_echo_n "checking for library containing inet_aton... " >&6; }
15814 if ${ac_cv_search_inet_aton+:} false
; then :
15815 $as_echo_n "(cached) " >&6
15817 ac_func_search_save_LIBS
=$LIBS
15818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15819 /* end confdefs.h. */
15821 /* Override any GCC internal prototype to avoid an error.
15822 Use char because int might match the return type of a GCC
15823 builtin and then its argument prototype would still apply. */
15831 return inet_aton ();
15836 for ac_lib
in '' resolv
; do
15837 if test -z "$ac_lib"; then
15838 ac_res
="none required"
15841 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15843 if ac_fn_c_try_link
"$LINENO"; then :
15844 ac_cv_search_inet_aton
=$ac_res
15846 rm -f core conftest.err conftest.
$ac_objext \
15848 if ${ac_cv_search_inet_aton+:} false
; then :
15852 if ${ac_cv_search_inet_aton+:} false
; then :
15855 ac_cv_search_inet_aton
=no
15857 rm conftest.
$ac_ext
15858 LIBS
=$ac_func_search_save_LIBS
15860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15861 $as_echo "$ac_cv_search_inet_aton" >&6; }
15862 ac_res
=$ac_cv_search_inet_aton
15863 if test "$ac_res" != no
; then :
15864 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15884 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15885 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15886 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15887 cat >>confdefs.h
<<_ACEOF
15888 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15897 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15898 if ${ac_cv_search_clock_gettime+:} false
; then :
15899 $as_echo_n "(cached) " >&6
15901 ac_func_search_save_LIBS
=$LIBS
15902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15903 /* end confdefs.h. */
15905 /* Override any GCC internal prototype to avoid an error.
15906 Use char because int might match the return type of a GCC
15907 builtin and then its argument prototype would still apply. */
15911 char clock_gettime ();
15915 return clock_gettime ();
15920 for ac_lib
in '' rt
; do
15921 if test -z "$ac_lib"; then
15922 ac_res
="none required"
15925 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15927 if ac_fn_c_try_link
"$LINENO"; then :
15928 ac_cv_search_clock_gettime
=$ac_res
15930 rm -f core conftest.err conftest.
$ac_objext \
15932 if ${ac_cv_search_clock_gettime+:} false
; then :
15936 if ${ac_cv_search_clock_gettime+:} false
; then :
15939 ac_cv_search_clock_gettime
=no
15941 rm conftest.
$ac_ext
15942 LIBS
=$ac_func_search_save_LIBS
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15945 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15946 ac_res
=$ac_cv_search_clock_gettime
15947 if test "$ac_res" != no
; then :
15948 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15950 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15952 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15958 if test "x$with_ldap" != "xno"
15960 if ${LDAP_CFLAGS:+false} :; then :
15961 if ${PKG_CONFIG+:} false
; then :
15962 LDAP_CFLAGS
=`$PKG_CONFIG --cflags openldap 2>/dev/null`
15966 if ${LDAP_LIBS:+false} :; then :
15967 if ${PKG_CONFIG+:} false
; then :
15968 LDAP_LIBS
=`$PKG_CONFIG --libs openldap 2>/dev/null`
15972 LDAP_LIBS
=${LDAP_LIBS:-"-lldap_r -llber"}
15973 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
15974 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
15975 ac_save_CPPFLAGS
=$CPPFLAGS
15976 CPPFLAGS
="$CPPFLAGS $LDAP_CFLAGS"
15977 for ac_header
in ldap.h lber.h
15979 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15980 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15981 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15982 cat >>confdefs.h
<<_ACEOF
15983 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15990 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15992 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15994 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15996 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15997 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15998 $as_echo_n "(cached) " >&6
16000 ac_check_lib_save_LIBS
=$LIBS
16001 LIBS
="-lldap_r $PTHREAD_LIBS $LDAP_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. */
16011 char ldap_initialize ();
16015 return ldap_initialize ();
16020 if ac_fn_c_try_link
"$LINENO"; then :
16021 ac_cv_lib_ldap_r_ldap_initialize
=yes
16023 ac_cv_lib_ldap_r_ldap_initialize
=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_ldap_r_ldap_initialize" >&5
16030 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16031 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16033 $as_echo_n "checking for ber_init in -llber... " >&6; }
16034 if ${ac_cv_lib_lber_ber_init+:} false
; then :
16035 $as_echo_n "(cached) " >&6
16037 ac_check_lib_save_LIBS
=$LIBS
16038 LIBS
="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16040 /* end confdefs.h. */
16042 /* Override any GCC internal prototype to avoid an error.
16043 Use char because int might match the return type of a GCC
16044 builtin and then its argument prototype would still apply. */
16052 return ber_init ();
16057 if ac_fn_c_try_link
"$LINENO"; then :
16058 ac_cv_lib_lber_ber_init
=yes
16060 ac_cv_lib_lber_ber_init
=no
16062 rm -f core conftest.err conftest.
$ac_objext \
16063 conftest
$ac_exeext conftest.
$ac_ext
16064 LIBS
=$ac_check_lib_save_LIBS
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16067 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16068 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
16070 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16084 ac_wine_check_funcs_save_LIBS
="$LIBS"
16085 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16087 ldap_count_references \
16088 ldap_first_reference \
16089 ldap_next_reference \
16090 ldap_parse_reference \
16091 ldap_parse_sort_control \
16092 ldap_parse_sortresponse_control \
16093 ldap_parse_vlv_control \
16094 ldap_parse_vlvresponse_control
16096 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16097 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16098 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16099 cat >>confdefs.h
<<_ACEOF
16100 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16106 LIBS
="$ac_wine_check_funcs_save_LIBS"
16110 CPPFLAGS
=$ac_save_CPPFLAGS
16111 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS
=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16112 test -z "$LDAP_LIBS" || LDAP_LIBS
=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16115 if test "x$LDAP_LIBS" = "x"; then :
16116 case "x$with_ldap" in
16117 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16119 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16120 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16126 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16127 if ${wine_cv_one_arg_mkdir+:} false
; then :
16128 $as_echo_n "(cached) " >&6
16130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16131 /* end confdefs.h. */
16132 #include <sys/stat.h>
16141 if ac_fn_c_try_compile
"$LINENO"; then :
16142 wine_cv_one_arg_mkdir
=yes
16144 wine_cv_one_arg_mkdir
=no
16146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16149 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16150 if test "$wine_cv_one_arg_mkdir" = "yes"
16153 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16158 $as_echo_n "checking for sched_setaffinity... " >&6; }
16159 if ${wine_cv_have_sched_setaffinity+:} false
; then :
16160 $as_echo_n "(cached) " >&6
16162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16163 /* end confdefs.h. */
16164 #define _GNU_SOURCE
16169 sched_setaffinity(0, 0, 0);
16174 if ac_fn_c_try_link
"$LINENO"; then :
16175 wine_cv_have_sched_setaffinity
=yes
16177 wine_cv_have_sched_setaffinity
=no
16179 rm -f core conftest.err conftest.
$ac_objext \
16180 conftest
$ac_exeext conftest.
$ac_ext
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16183 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16184 if test "$wine_cv_have_sched_setaffinity" = "yes"
16187 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16192 $as_echo_n "checking for fallocate... " >&6; }
16193 if ${wine_cv_have_fallocate+:} false
; then :
16194 $as_echo_n "(cached) " >&6
16196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16197 /* end confdefs.h. */
16198 #define _GNU_SOURCE
16203 fallocate(-1, 0, 0, 0);
16208 if ac_fn_c_try_link
"$LINENO"; then :
16209 wine_cv_have_fallocate
=yes
16211 wine_cv_have_fallocate
=no
16213 rm -f core conftest.err conftest.
$ac_objext \
16214 conftest
$ac_exeext conftest.
$ac_ext
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16217 $as_echo "$wine_cv_have_fallocate" >&6; }
16218 if test "$wine_cv_have_fallocate" = "yes"
16221 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16227 $as_echo_n "checking for inline... " >&6; }
16228 if ${ac_cv_c_inline+:} false
; then :
16229 $as_echo_n "(cached) " >&6
16232 for ac_kw
in inline __inline__ __inline
; do
16233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16234 /* end confdefs.h. */
16235 #ifndef __cplusplus
16237 static $ac_kw foo_t static_foo () {return 0; }
16238 $ac_kw foo_t foo () {return 0; }
16242 if ac_fn_c_try_compile
"$LINENO"; then :
16243 ac_cv_c_inline
=$ac_kw
16245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16246 test "$ac_cv_c_inline" != no
&& break
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16251 $as_echo "$ac_cv_c_inline" >&6; }
16253 case $ac_cv_c_inline in
16256 case $ac_cv_c_inline in
16258 *) ac_val
=$ac_cv_c_inline;;
16260 cat >>confdefs.h
<<_ACEOF
16261 #ifndef __cplusplus
16262 #define inline $ac_val
16268 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16269 if test "x$ac_cv_type_mode_t" = xyes
; then :
16271 cat >>confdefs.h
<<_ACEOF
16272 #define HAVE_MODE_T 1
16277 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16278 if test "x$ac_cv_type_off_t" = xyes
; then :
16280 cat >>confdefs.h
<<_ACEOF
16281 #define HAVE_OFF_T 1
16286 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16287 if test "x$ac_cv_type_pid_t" = xyes
; then :
16289 cat >>confdefs.h
<<_ACEOF
16290 #define HAVE_PID_T 1
16295 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16296 if test "x$ac_cv_type_size_t" = xyes
; then :
16298 cat >>confdefs.h
<<_ACEOF
16299 #define HAVE_SIZE_T 1
16304 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16305 if test "x$ac_cv_type_ssize_t" = xyes
; then :
16307 cat >>confdefs.h
<<_ACEOF
16308 #define HAVE_SSIZE_T 1
16313 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16314 if test "x$ac_cv_type_long_long" = xyes
; then :
16316 cat >>confdefs.h
<<_ACEOF
16317 #define HAVE_LONG_LONG 1
16322 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16323 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
16325 cat >>confdefs.h
<<_ACEOF
16326 #define HAVE_FSBLKCNT_T 1
16331 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16332 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
16334 cat >>confdefs.h
<<_ACEOF
16335 #define HAVE_FSFILCNT_T 1
16341 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16342 #include <signal.h>
16344 if test "x$ac_cv_type_sigset_t" = xyes
; then :
16346 cat >>confdefs.h
<<_ACEOF
16347 #define HAVE_SIGSET_T 1
16353 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16355 if test "x$ac_cv_type_request_sense" = xyes
; then :
16357 cat >>confdefs.h
<<_ACEOF
16358 #define HAVE_REQUEST_SENSE 1
16365 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16366 #ifdef HAVE_SYS_SOCKET_H
16367 #include <sys/socket.h>
16369 #ifdef HAVE_SYS_SOCKETVAR_H
16370 #include <sys/socketvar.h>
16372 #ifdef HAVE_NET_ROUTE_H
16373 #include <net/route.h>
16375 #ifdef HAVE_NETINET_IN_H
16376 #include <netinet/in.h>
16378 #ifdef HAVE_NETINET_IN_SYSTM_H
16379 #include <netinet/in_systm.h>
16381 #ifdef HAVE_NETINET_IP_H
16382 #include <netinet/ip.h>
16384 #ifdef HAVE_NETINET_IN_PCB_H
16385 #include <netinet/in_pcb.h>
16388 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
16390 cat >>confdefs.h
<<_ACEOF
16391 #define HAVE_STRUCT_XINPGEN 1
16398 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16401 #ifdef HAVE_SYS_LINK_H
16402 #include <sys/link.h>
16405 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
16407 cat >>confdefs.h
<<_ACEOF
16408 #define HAVE_STRUCT_R_DEBUG 1
16413 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16416 #ifdef HAVE_SYS_LINK_H
16417 #include <sys/link.h>
16420 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
16422 cat >>confdefs.h
<<_ACEOF
16423 #define HAVE_STRUCT_LINK_MAP 1
16430 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16431 #include <linux/input.h>
16434 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
16436 cat >>confdefs.h
<<_ACEOF
16437 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16445 $as_echo_n "checking for if_nameindex... " >&6; }
16446 if ${wine_cv_have_if_nameindex+:} false
; then :
16447 $as_echo_n "(cached) " >&6
16449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16450 /* end confdefs.h. */
16451 #ifdef HAVE_SYS_TYPES_H
16452 #include <sys/types.h>
16454 #ifdef HAVE_SYS_SOCKET_H
16455 #include <sys/socket.h>
16457 #ifdef HAVE_NET_IF_H
16458 # include <net/if.h>
16463 struct if_nameindex *p = if_nameindex(); return p->if_index;
16468 if ac_fn_c_try_link
"$LINENO"; then :
16469 wine_cv_have_if_nameindex
=yes
16471 wine_cv_have_if_nameindex
=no
16473 rm -f core conftest.err conftest.
$ac_objext \
16474 conftest
$ac_exeext conftest.
$ac_ext
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16477 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16478 if test "$wine_cv_have_if_nameindex" = "yes"
16481 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16486 $as_echo_n "checking for sigaddset... " >&6; }
16487 if ${wine_cv_have_sigaddset+:} false
; then :
16488 $as_echo_n "(cached) " >&6
16490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16491 /* end confdefs.h. */
16492 #include <signal.h>
16496 sigset_t set; sigaddset(&set,SIGTERM);
16501 if ac_fn_c_try_link
"$LINENO"; then :
16502 wine_cv_have_sigaddset
=yes
16504 wine_cv_have_sigaddset
=no
16506 rm -f core conftest.err conftest.
$ac_objext \
16507 conftest
$ac_exeext conftest.
$ac_ext
16509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16510 $as_echo "$wine_cv_have_sigaddset" >&6; }
16511 if test "$wine_cv_have_sigaddset" = "yes"
16514 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16520 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16521 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
16522 $as_echo_n "(cached) " >&6
16524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16525 /* end confdefs.h. */
16533 struct hostent *result;
16540 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16541 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16547 if ac_fn_c_try_link
"$LINENO"; then :
16548 wine_cv_linux_gethostbyname_r_6
=yes
16550 wine_cv_linux_gethostbyname_r_6
=no
16553 rm -f core conftest.err conftest.
$ac_objext \
16554 conftest
$ac_exeext conftest.
$ac_ext
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16558 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16559 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16562 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16566 if test "$ac_cv_header_linux_joystick_h" = "yes"
16568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16569 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16570 if ${wine_cv_linux_joystick_22_api+:} false
; then :
16571 $as_echo_n "(cached) " >&6
16573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16574 /* end confdefs.h. */
16576 #include <sys/ioctl.h>
16577 #include <sys/types.h>
16578 #include <linux/joystick.h>
16580 struct js_event blub;
16581 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16582 #error "no 2.2 header"
16593 if ac_fn_c_try_compile
"$LINENO"; then :
16594 wine_cv_linux_joystick_22_api
=yes
16596 wine_cv_linux_joystick_22_api
=no
16598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16602 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16603 if test "$wine_cv_linux_joystick_22_api" = "yes"
16606 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16612 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16613 #ifdef HAVE_SYS_PARAM_H
16614 # include <sys/param.h>
16616 #ifdef HAVE_SYS_MOUNT_H
16617 # include <sys/mount.h>
16619 #ifdef HAVE_SYS_VFS_H
16620 # include <sys/vfs.h>
16622 #ifdef HAVE_SYS_STATFS_H
16623 # include <sys/statfs.h>
16626 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16628 cat >>confdefs.h
<<_ACEOF
16629 #define HAVE_STRUCT_STATFS_F_BFREE 1
16634 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16635 #ifdef HAVE_SYS_PARAM_H
16636 # include <sys/param.h>
16638 #ifdef HAVE_SYS_MOUNT_H
16639 # include <sys/mount.h>
16641 #ifdef HAVE_SYS_VFS_H
16642 # include <sys/vfs.h>
16644 #ifdef HAVE_SYS_STATFS_H
16645 # include <sys/statfs.h>
16648 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16650 cat >>confdefs.h
<<_ACEOF
16651 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16656 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16657 #ifdef HAVE_SYS_PARAM_H
16658 # include <sys/param.h>
16660 #ifdef HAVE_SYS_MOUNT_H
16661 # include <sys/mount.h>
16663 #ifdef HAVE_SYS_VFS_H
16664 # include <sys/vfs.h>
16666 #ifdef HAVE_SYS_STATFS_H
16667 # include <sys/statfs.h>
16670 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16672 cat >>confdefs.h
<<_ACEOF
16673 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16678 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16679 #ifdef HAVE_SYS_PARAM_H
16680 # include <sys/param.h>
16682 #ifdef HAVE_SYS_MOUNT_H
16683 # include <sys/mount.h>
16685 #ifdef HAVE_SYS_VFS_H
16686 # include <sys/vfs.h>
16688 #ifdef HAVE_SYS_STATFS_H
16689 # include <sys/statfs.h>
16692 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16694 cat >>confdefs.h
<<_ACEOF
16695 #define HAVE_STRUCT_STATFS_F_FFREE 1
16700 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16701 #ifdef HAVE_SYS_PARAM_H
16702 # include <sys/param.h>
16704 #ifdef HAVE_SYS_MOUNT_H
16705 # include <sys/mount.h>
16707 #ifdef HAVE_SYS_VFS_H
16708 # include <sys/vfs.h>
16710 #ifdef HAVE_SYS_STATFS_H
16711 # include <sys/statfs.h>
16714 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16716 cat >>confdefs.h
<<_ACEOF
16717 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16722 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16723 #ifdef HAVE_SYS_PARAM_H
16724 # include <sys/param.h>
16726 #ifdef HAVE_SYS_MOUNT_H
16727 # include <sys/mount.h>
16729 #ifdef HAVE_SYS_VFS_H
16730 # include <sys/vfs.h>
16732 #ifdef HAVE_SYS_STATFS_H
16733 # include <sys/statfs.h>
16736 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16738 cat >>confdefs.h
<<_ACEOF
16739 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16746 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16747 #include <sys/statvfs.h>
16750 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16752 cat >>confdefs.h
<<_ACEOF
16753 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16760 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16761 #include <dirent.h>
16764 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16766 cat >>confdefs.h
<<_ACEOF
16767 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16774 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16775 #ifdef HAVE_SYS_SOCKET_H
16776 # include <sys/socket.h>
16778 #ifdef HAVE_SYS_UN_H
16779 # include <sys/un.h>
16782 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16784 cat >>confdefs.h
<<_ACEOF
16785 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16790 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16791 #ifdef HAVE_SYS_SOCKET_H
16792 # include <sys/socket.h>
16794 #ifdef HAVE_SYS_UN_H
16795 # include <sys/un.h>
16798 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16800 cat >>confdefs.h
<<_ACEOF
16801 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16806 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16807 #ifdef HAVE_SYS_SOCKET_H
16808 # include <sys/socket.h>
16810 #ifdef HAVE_SYS_UN_H
16811 # include <sys/un.h>
16814 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16816 cat >>confdefs.h
<<_ACEOF
16817 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16824 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16825 #ifdef HAVE_SCSI_SG_H
16826 #include <scsi/sg.h>
16829 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16831 cat >>confdefs.h
<<_ACEOF
16832 #define HAVE_SCSIREQ_T_CMD 1
16837 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>
16838 #ifdef HAVE_SCSI_SG_H
16839 #include <scsi/sg.h>
16842 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16844 cat >>confdefs.h
<<_ACEOF
16845 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16852 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16854 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16856 cat >>confdefs.h
<<_ACEOF
16857 #define HAVE_SIGINFO_T_SI_FD 1
16864 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16865 #ifdef HAVE_SYS_MTIO_H
16866 #include <sys/mtio.h>
16869 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16871 cat >>confdefs.h
<<_ACEOF
16872 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16877 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16878 #ifdef HAVE_SYS_MTIO_H
16879 #include <sys/mtio.h>
16882 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16884 cat >>confdefs.h
<<_ACEOF
16885 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16890 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16891 #ifdef HAVE_SYS_MTIO_H
16892 #include <sys/mtio.h>
16895 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16897 cat >>confdefs.h
<<_ACEOF
16898 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16905 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16906 #include <getopt.h>
16909 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16911 cat >>confdefs.h
<<_ACEOF
16912 #define HAVE_STRUCT_OPTION_NAME 1
16919 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16920 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16922 cat >>confdefs.h
<<_ACEOF
16923 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16928 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16929 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16931 cat >>confdefs.h
<<_ACEOF
16932 #define HAVE_STRUCT_STAT_ST_MTIM 1
16937 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16938 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16940 cat >>confdefs.h
<<_ACEOF
16941 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16946 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16947 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16949 cat >>confdefs.h
<<_ACEOF
16950 #define HAVE_STRUCT_STAT_ST_CTIM 1
16955 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16956 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16958 cat >>confdefs.h
<<_ACEOF
16959 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16964 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16965 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16967 cat >>confdefs.h
<<_ACEOF
16968 #define HAVE_STRUCT_STAT_ST_ATIM 1
16973 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16974 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16976 cat >>confdefs.h
<<_ACEOF
16977 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16982 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16983 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16985 cat >>confdefs.h
<<_ACEOF
16986 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16991 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16992 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16994 cat >>confdefs.h
<<_ACEOF
16995 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17000 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17001 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
17003 cat >>confdefs.h
<<_ACEOF
17004 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17009 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17010 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
17012 cat >>confdefs.h
<<_ACEOF
17013 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17018 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17019 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
17021 cat >>confdefs.h
<<_ACEOF
17022 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17029 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
17030 #include <sys/types.h>
17032 #ifdef HAVE_NETINET_IN_H
17033 #include <netinet/in.h>
17036 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
17038 cat >>confdefs.h
<<_ACEOF
17039 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17046 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17047 #include <sys/types.h>
17049 #ifdef HAVE_NETINET_IN_H
17050 #include <netinet/in.h>
17052 #ifdef HAVE_RESOLV_H
17053 #include <resolv.h>
17056 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
17058 cat >>confdefs.h
<<_ACEOF
17059 #define HAVE_STRUCT___RES_STATE 1
17066 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
17067 #include <resolv.h>
17070 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
17072 cat >>confdefs.h
<<_ACEOF
17073 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17080 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17081 #include <sys/types.h>
17083 #ifdef HAVE_NETINET_IN_H
17084 # include <netinet/in.h>
17086 #ifdef HAVE_ARPA_NAMESER_H
17087 # include <arpa/nameser.h>
17090 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
17092 cat >>confdefs.h
<<_ACEOF
17093 #define HAVE_NS_MSG__MSG_PTR 1
17100 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17101 #include <sys/types.h>
17103 #ifdef HAVE_NETINET_IN_H
17104 #include <netinet/in.h>
17106 #ifdef HAVE_NETINET_IP_H
17107 #include <netinet/ip.h>
17109 #ifdef HAVE_NETINET_IP_ICMP_H
17110 #include <netinet/ip_icmp.h>
17112 #ifdef HAVE_NETINET_ICMP_VAR_H
17113 #include <netinet/icmp_var.h>
17116 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
17118 cat >>confdefs.h
<<_ACEOF
17119 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17126 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17127 #include <sys/types.h>
17129 #ifdef HAVE_ALIAS_H
17132 #ifdef HAVE_SYS_SOCKET_H
17133 #include <sys/socket.h>
17135 #ifdef HAVE_SYS_SOCKETVAR_H
17136 #include <sys/socketvar.h>
17138 #ifdef HAVE_SYS_TIMEOUT_H
17139 #include <sys/timeout.h>
17141 #ifdef HAVE_NETINET_IN_H
17142 #include <netinet/in.h>
17144 #ifdef HAVE_NETINET_IN_SYSTM_H
17145 #include <netinet/in_systm.h>
17147 #ifdef HAVE_NETINET_IP_H
17148 #include <netinet/ip.h>
17150 #ifdef HAVE_NETINET_IP_VAR_H
17151 #include <netinet/ip_var.h>
17153 #ifdef HAVE_NETINET_IP_ICMP_H
17154 #include <netinet/ip_icmp.h>
17156 #ifdef HAVE_NETINET_ICMP_VAR_H
17157 #include <netinet/icmp_var.h>
17160 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
17162 cat >>confdefs.h
<<_ACEOF
17163 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17170 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17171 #include <sys/types.h>
17173 #ifdef HAVE_SYS_SOCKETVAR_H
17174 #include <sys/socketvar.h>
17176 #ifdef HAVE_NETINET_IN_H
17177 #include <netinet/in.h>
17179 #ifdef HAVE_NETINET_IP_VAR_H
17180 #include <netinet/ip_var.h>
17183 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
17185 cat >>confdefs.h
<<_ACEOF
17186 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17193 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
17194 #include <netinet/ip_var.h>
17197 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
17199 cat >>confdefs.h
<<_ACEOF
17200 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17207 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17208 #include <sys/types.h>
17210 #ifdef HAVE_SYS_SOCKETVAR_H
17211 #include <sys/socketvar.h>
17213 #ifdef HAVE_NETINET_IN_H
17214 #include <netinet/in.h>
17216 #ifdef HAVE_NETINET_TCP_H
17217 #include <netinet/tcp.h>
17219 #ifdef HAVE_NETINET_TCP_VAR_H
17220 #include <netinet/tcp_var.h>
17223 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
17225 cat >>confdefs.h
<<_ACEOF
17226 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17233 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
17234 #include <netinet/tcp_var.h>
17237 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
17239 cat >>confdefs.h
<<_ACEOF
17240 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17247 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17248 #include <sys/types.h>
17250 #ifdef HAVE_NETINET_IN_H
17251 #include <netinet/in.h>
17253 #ifdef HAVE_NETINET_IP_VAR_H
17254 #include <netinet/ip_var.h>
17256 #ifdef HAVE_NETINET_UDP_H
17257 #include <netinet/udp.h>
17259 #ifdef HAVE_NETINET_UDP_VAR_H
17260 #include <netinet/udp_var.h>
17263 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
17265 cat >>confdefs.h
<<_ACEOF
17266 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17273 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17274 #include <sys/types.h>
17276 #ifdef HAVE_NET_IF_H
17277 # include <net/if.h>
17280 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
17282 cat >>confdefs.h
<<_ACEOF
17283 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17291 $as_echo_n "checking for timezone variable... " >&6; }
17292 if ${ac_cv_have_timezone+:} false
; then :
17293 $as_echo_n "(cached) " >&6
17295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17296 /* end confdefs.h. */
17306 if ac_fn_c_try_link
"$LINENO"; then :
17307 ac_cv_have_timezone
="yes"
17309 ac_cv_have_timezone
="no"
17311 rm -f core conftest.err conftest.
$ac_objext \
17312 conftest
$ac_exeext conftest.
$ac_ext
17314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17315 $as_echo "$ac_cv_have_timezone" >&6; }
17316 if test "$ac_cv_have_timezone" = "yes"
17319 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17323 $as_echo_n "checking for daylight variable... " >&6; }
17324 if ${ac_cv_have_daylight+:} false
; then :
17325 $as_echo_n "(cached) " >&6
17327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17328 /* end confdefs.h. */
17338 if ac_fn_c_try_link
"$LINENO"; then :
17339 ac_cv_have_daylight
="yes"
17341 ac_cv_have_daylight
="no"
17343 rm -f core conftest.err conftest.
$ac_objext \
17344 conftest
$ac_exeext conftest.
$ac_ext
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17347 $as_echo "$ac_cv_have_daylight" >&6; }
17348 if test "$ac_cv_have_daylight" = "yes"
17351 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17355 ac_save_LIBS
="$LIBS"
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17358 $as_echo_n "checking for isfinite... " >&6; }
17359 if ${ac_cv_have_isfinite+:} false
; then :
17360 $as_echo_n "(cached) " >&6
17362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17364 #define _GNU_SOURCE
17369 float f = 0.0; return isfinite(f)
17374 if ac_fn_c_try_link
"$LINENO"; then :
17375 ac_cv_have_isfinite
="yes"
17377 ac_cv_have_isfinite
="no"
17379 rm -f core conftest.err conftest.
$ac_objext \
17380 conftest
$ac_exeext conftest.
$ac_ext
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17383 $as_echo "$ac_cv_have_isfinite" >&6; }
17384 if test "$ac_cv_have_isfinite" = "yes"
17387 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17392 $as_echo_n "checking for isinf... " >&6; }
17393 if ${ac_cv_have_isinf+:} false
; then :
17394 $as_echo_n "(cached) " >&6
17396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17397 /* end confdefs.h. */
17402 float f = 0.0; return isinf(f)
17407 if ac_fn_c_try_link
"$LINENO"; then :
17408 ac_cv_have_isinf
="yes"
17410 ac_cv_have_isinf
="no"
17412 rm -f core conftest.err conftest.
$ac_objext \
17413 conftest
$ac_exeext conftest.
$ac_ext
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17416 $as_echo "$ac_cv_have_isinf" >&6; }
17417 if test "$ac_cv_have_isinf" = "yes"
17420 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17425 $as_echo_n "checking for isnan... " >&6; }
17426 if ${ac_cv_have_isnan+:} false
; then :
17427 $as_echo_n "(cached) " >&6
17429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17430 /* end confdefs.h. */
17435 float f = 0.0; return isnan(f)
17440 if ac_fn_c_try_link
"$LINENO"; then :
17441 ac_cv_have_isnan
="yes"
17443 ac_cv_have_isnan
="no"
17445 rm -f core conftest.err conftest.
$ac_objext \
17446 conftest
$ac_exeext conftest.
$ac_ext
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17449 $as_echo "$ac_cv_have_isnan" >&6; }
17450 if test "$ac_cv_have_isnan" = "yes"
17453 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17501 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17502 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17503 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17504 cat >>confdefs.h
<<_ACEOF
17505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17511 LIBS
="$ac_save_LIBS"
17513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17514 $as_echo_n "checking for __builtin_clz... " >&6; }
17515 if ${ac_cv_have___builtin_clz+:} false
; then :
17516 $as_echo_n "(cached) " >&6
17518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17519 /* end confdefs.h. */
17524 return __builtin_clz(1)
17529 if ac_fn_c_try_link
"$LINENO"; then :
17530 ac_cv_have___builtin_clz
="yes"
17532 ac_cv_have___builtin_clz
="no"
17534 rm -f core conftest.err conftest.
$ac_objext \
17535 conftest
$ac_exeext conftest.
$ac_ext
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17538 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17539 if test "$ac_cv_have___builtin_clz" = "yes"
17542 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17547 $as_echo_n "checking for __builtin_popcount... " >&6; }
17548 if ${ac_cv_have___builtin_popcount+:} false
; then :
17549 $as_echo_n "(cached) " >&6
17551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17552 /* end confdefs.h. */
17557 return __builtin_popcount(1)
17562 if ac_fn_c_try_link
"$LINENO"; then :
17563 ac_cv_have___builtin_popcount
="yes"
17565 ac_cv_have___builtin_popcount
="no"
17567 rm -f core conftest.err conftest.
$ac_objext \
17568 conftest
$ac_exeext conftest.
$ac_ext
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17571 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17572 if test "$ac_cv_have___builtin_popcount" = "yes"
17575 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17581 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17582 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17583 if ${ac_cv_cpp_def___i386__+:} false
; then :
17584 $as_echo_n "(cached) " >&6
17586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17593 $EGREP "yes" >/dev
/null
2>&1; then :
17594 ac_cv_cpp_def___i386__
=yes
17596 ac_cv_cpp_def___i386__
=no
17601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17602 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17603 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
17604 CFLAGS
="$CFLAGS -D__i386__"
17605 LINTFLAGS
="$LINTFLAGS -D__i386__"
17607 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17608 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17609 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
17610 $as_echo_n "(cached) " >&6
17612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17613 /* end confdefs.h. */
17618 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17619 $EGREP "yes" >/dev
/null
2>&1; then :
17620 ac_cv_cpp_def___x86_64__
=yes
17622 ac_cv_cpp_def___x86_64__
=no
17627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17628 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17629 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
17630 CFLAGS
="$CFLAGS -D__x86_64__"
17631 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
17633 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17634 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17635 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
17636 $as_echo_n "(cached) " >&6
17638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h. */
17640 #ifndef __sparc64__
17644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17645 $EGREP "yes" >/dev
/null
2>&1; then :
17646 ac_cv_cpp_def___sparc64__
=yes
17648 ac_cv_cpp_def___sparc64__
=no
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17654 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17655 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
17656 CFLAGS
="$CFLAGS -D__sparc64__"
17657 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
17659 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17660 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17661 if ${ac_cv_cpp_def___sparc__+:} false
; then :
17662 $as_echo_n "(cached) " >&6
17664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17665 /* end confdefs.h. */
17670 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17671 $EGREP "yes" >/dev
/null
2>&1; then :
17672 ac_cv_cpp_def___sparc__
=yes
17674 ac_cv_cpp_def___sparc__
=no
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17680 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17681 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
17682 CFLAGS
="$CFLAGS -D__sparc__"
17683 LINTFLAGS
="$LINTFLAGS -D__sparc__"
17685 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17686 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17687 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
17688 $as_echo_n "(cached) " >&6
17690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17691 /* end confdefs.h. */
17692 #ifndef __powerpc64__
17696 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17697 $EGREP "yes" >/dev
/null
2>&1; then :
17698 ac_cv_cpp_def___powerpc64__
=yes
17700 ac_cv_cpp_def___powerpc64__
=no
17705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17706 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17707 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
17708 CFLAGS
="$CFLAGS -D__powerpc64__"
17709 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
17711 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17712 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17713 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
17714 $as_echo_n "(cached) " >&6
17716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17717 /* end confdefs.h. */
17718 #ifndef __powerpc__
17722 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17723 $EGREP "yes" >/dev
/null
2>&1; then :
17724 ac_cv_cpp_def___powerpc__
=yes
17726 ac_cv_cpp_def___powerpc__
=no
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17732 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17733 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
17734 CFLAGS
="$CFLAGS -D__powerpc__"
17735 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
17737 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17738 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17739 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
17740 $as_echo_n "(cached) " >&6
17742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17743 /* end confdefs.h. */
17744 #ifndef __aarch64__
17748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17749 $EGREP "yes" >/dev
/null
2>&1; then :
17750 ac_cv_cpp_def___aarch64__
=yes
17752 ac_cv_cpp_def___aarch64__
=no
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17758 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17759 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17760 CFLAGS
="$CFLAGS -D__aarch64__"
17761 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17763 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17764 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17765 if ${ac_cv_cpp_def___arm__+:} false
; then :
17766 $as_echo_n "(cached) " >&6
17768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17769 /* end confdefs.h. */
17774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17775 $EGREP "yes" >/dev
/null
2>&1; then :
17776 ac_cv_cpp_def___arm__
=yes
17778 ac_cv_cpp_def___arm__
=no
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17784 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17785 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17786 CFLAGS
="$CFLAGS -D__arm__"
17787 LINTFLAGS
="$LINTFLAGS -D__arm__"
17791 case $host_vendor in
17792 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17793 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17794 if ${ac_cv_cpp_def___sun__+:} false
; then :
17795 $as_echo_n "(cached) " >&6
17797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17798 /* end confdefs.h. */
17803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17804 $EGREP "yes" >/dev
/null
2>&1; then :
17805 ac_cv_cpp_def___sun__
=yes
17807 ac_cv_cpp_def___sun__
=no
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17813 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17814 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17815 CFLAGS
="$CFLAGS -D__sun__"
17816 LINTFLAGS
="$LINTFLAGS -D__sun__"
17824 ac_config_commands
="$ac_config_commands include/stamp-h"
17826 $as_echo_n "creating Makefile rules..." >&6
17828 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17829 SOCKET_LIBS = $SOCKET_LIBS
17830 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17831 IOKIT_LIBS = $IOKIT_LIBS
17832 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17833 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17834 CORESERVICES_LIBS = $CORESERVICES_LIBS
17835 APPKIT_LIBS = $APPKIT_LIBS
17836 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17837 SECURITY_LIBS = $SECURITY_LIBS
17838 COREAUDIO_LIBS = $COREAUDIO_LIBS
17839 OPENAL_LIBS = $OPENAL_LIBS
17840 OPENCL_LIBS = $OPENCL_LIBS
17841 QUICKTIME_LIBS = $QUICKTIME_LIBS
17842 CARBON_LIBS = $CARBON_LIBS
17843 PTHREAD_LIBS = $PTHREAD_LIBS
17844 X_CFLAGS = $X_CFLAGS
17845 X_PRE_LIBS = $X_PRE_LIBS
17847 X_EXTRA_LIBS = $X_EXTRA_LIBS
17848 PCAP_LIBS = $PCAP_LIBS
17849 XML2_CFLAGS = $XML2_CFLAGS
17850 XML2_LIBS = $XML2_LIBS
17851 XSLT_CFLAGS = $XSLT_CFLAGS
17852 XSLT_LIBS = $XSLT_LIBS
17853 DBUS_CFLAGS = $DBUS_CFLAGS
17854 DBUS_LIBS = $DBUS_LIBS
17855 HAL_CFLAGS = $HAL_CFLAGS
17856 HAL_LIBS = $HAL_LIBS
17857 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17858 GNUTLS_LIBS = $GNUTLS_LIBS
17859 SANE_CFLAGS = $SANE_CFLAGS
17860 SANE_LIBS = $SANE_LIBS
17861 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17862 GPHOTO2_LIBS = $GPHOTO2_LIBS
17863 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17864 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17865 RESOLV_LIBS = $RESOLV_LIBS
17866 LCMS2_CFLAGS = $LCMS2_CFLAGS
17867 LCMS2_LIBS = $LCMS2_LIBS
17868 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17869 FREETYPE_LIBS = $FREETYPE_LIBS
17871 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17872 PULSE_CFLAGS = $PULSE_CFLAGS
17873 PULSE_LIBS = $PULSE_LIBS
17874 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17875 GSTREAMER_LIBS = $GSTREAMER_LIBS
17876 ALSA_LIBS = $ALSA_LIBS
17877 OSS4_CFLAGS = $OSS4_CFLAGS
17878 UDEV_CFLAGS = $UDEV_CFLAGS
17879 UDEV_LIBS = $UDEV_LIBS
17880 CAPI20_CFLAGS = $CAPI20_CFLAGS
17881 CAPI20_LIBS = $CAPI20_LIBS
17882 CUPS_CFLAGS = $CUPS_CFLAGS
17883 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17884 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17885 JPEG_CFLAGS = $JPEG_CFLAGS
17886 JPEG_LIBS = $JPEG_LIBS
17887 PNG_CFLAGS = $PNG_CFLAGS
17888 PNG_LIBS = $PNG_LIBS
17889 TIFF_CFLAGS = $TIFF_CFLAGS
17890 TIFF_LIBS = $TIFF_LIBS
17891 MPG123_CFLAGS = $MPG123_CFLAGS
17892 MPG123_LIBS = $MPG123_LIBS
17893 KSTAT_LIBS = $KSTAT_LIBS
17894 PROCSTAT_LIBS = $PROCSTAT_LIBS
17895 NETAPI_CFLAGS = $NETAPI_CFLAGS
17896 NETAPI_LIBS = $NETAPI_LIBS
17897 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17899 POLL_LIBS = $POLL_LIBS
17901 LDAP_CFLAGS = $LDAP_CFLAGS
17902 LDAP_LIBS = $LDAP_LIBS
17907 wine_fn_append_rule
"
17908 # Rules automatically generated by configure
17910 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17915 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17916 @./config.status Make.tmp Makefile
17917 depend: \$(MAKEDEP) dummy
17920 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17921 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17923 if test "x$enable_fonts" != xno
; then
17924 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17925 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17926 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17927 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17928 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17929 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17931 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17932 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17933 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17934 wine_fn_config_symlink wine
17935 if test "x$enable_win64" != xno
; then
17936 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17937 wine_fn_config_symlink wine64
17940 wine_fn_config_dll acledit enable_acledit
17941 wine_fn_config_dll aclui enable_aclui implib
17942 wine_fn_config_dll activeds enable_activeds implib
17943 wine_fn_config_dll actxprxy enable_actxprxy clean
17944 wine_fn_config_lib adsiid
17945 wine_fn_config_dll adsldpc enable_adsldpc
17946 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17947 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17948 wine_fn_config_dll advpack enable_advpack implib
17949 wine_fn_config_test dlls
/advpack
/tests advpack_test
17950 wine_fn_config_dll amstream enable_amstream clean
17951 wine_fn_config_test dlls
/amstream
/tests amstream_test
17952 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17953 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17954 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17955 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17956 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17957 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17958 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17959 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17960 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17961 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17962 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17963 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17964 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
17965 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
17966 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17967 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17968 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17969 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17970 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17971 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17972 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17973 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17974 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17975 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
17976 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17977 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17978 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17979 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17980 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17981 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17982 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17983 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
17984 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17985 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17986 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17987 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
17988 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17989 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17990 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17991 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17992 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17993 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17994 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17995 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17996 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17997 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17998 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17999 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18000 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18001 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18002 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18003 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18004 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18005 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18006 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18007 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18008 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18009 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18010 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18011 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18012 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18013 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18014 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18015 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18016 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18017 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18018 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18019 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18020 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18021 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18022 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18023 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18024 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18025 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18026 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18027 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18028 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18029 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18030 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18031 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18032 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18033 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18034 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18035 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18036 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18037 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18038 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18039 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18040 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18041 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18042 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18043 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18044 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18045 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18046 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18047 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18048 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18049 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18050 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18051 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18052 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18053 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18054 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18055 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18056 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18057 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18058 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18059 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18060 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18061 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18062 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18063 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18064 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18065 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18066 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18067 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18068 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18069 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18070 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18071 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18072 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18073 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18074 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18075 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18076 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18077 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18078 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18079 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18080 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18081 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18082 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18083 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18084 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18085 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18086 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18087 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18088 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18089 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18090 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18091 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18092 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18093 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18094 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18095 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18096 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18097 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18098 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18099 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18100 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18101 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18102 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18103 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18104 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18105 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18106 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18107 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18108 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18109 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18110 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18111 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18112 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18113 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18114 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18115 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18116 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18117 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18118 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18119 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18120 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18121 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18122 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18123 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18124 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18125 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18126 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18127 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18128 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18129 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18130 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18131 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18132 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18133 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18134 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18135 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18136 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18137 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18138 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18139 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18140 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18141 wine_fn_config_dll apphelp enable_apphelp
18142 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
18143 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18144 wine_fn_config_dll atl enable_atl clean
,implib
18145 wine_fn_config_test dlls
/atl
/tests atl_test
18146 wine_fn_config_dll atl100 enable_atl100 clean
,implib
18147 wine_fn_config_test dlls
/atl100
/tests atl100_test
18148 wine_fn_config_dll atl110 enable_atl110 clean
18149 wine_fn_config_dll atl80 enable_atl80 clean
,implib
18150 wine_fn_config_test dlls
/atl80
/tests atl80_test
18151 wine_fn_config_dll atl90 enable_atl90 clean
18152 wine_fn_config_dll authz enable_authz
18153 wine_fn_config_dll avicap32 enable_avicap32 implib
18154 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
18155 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
18156 wine_fn_config_dll avifile.dll16 enable_win16
18157 wine_fn_config_dll avrt enable_avrt implib
18158 wine_fn_config_dll bcrypt enable_bcrypt implib
18159 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
18160 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18161 wine_fn_config_dll browseui enable_browseui clean
18162 wine_fn_config_test dlls
/browseui
/tests browseui_test
18163 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18164 wine_fn_config_dll cabinet enable_cabinet implib
18165 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
18166 wine_fn_config_dll capi2032 enable_capi2032 implib
18167 wine_fn_config_dll cards enable_cards implib
18168 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18169 wine_fn_config_dll clusapi enable_clusapi implib
18170 wine_fn_config_dll combase enable_combase
18171 wine_fn_config_test dlls
/combase
/tests combase_test
18172 wine_fn_config_dll comcat enable_comcat
18173 wine_fn_config_test dlls
/comcat
/tests comcat_test
18174 wine_fn_config_dll comctl32 enable_comctl32 clean
,implib
18175 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
18176 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
18177 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
18178 wine_fn_config_dll
comm.drv16 enable_win16
18179 wine_fn_config_dll commdlg.dll16 enable_win16
18180 wine_fn_config_dll compobj.dll16 enable_win16
18181 wine_fn_config_dll compstui enable_compstui implib
18182 wine_fn_config_dll comsvcs enable_comsvcs clean
,implib
18183 wine_fn_config_dll concrt140 enable_concrt140
18184 wine_fn_config_dll connect enable_connect
18185 wine_fn_config_dll credui enable_credui clean
,implib
18186 wine_fn_config_test dlls
/credui
/tests credui_test
18187 wine_fn_config_dll crtdll enable_crtdll
18188 wine_fn_config_dll crypt32 enable_crypt32 clean
,implib
18189 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
18190 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18191 wine_fn_config_dll cryptdll enable_cryptdll implib
18192 wine_fn_config_dll cryptext enable_cryptext
18193 wine_fn_config_dll cryptnet enable_cryptnet implib
18194 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
18195 wine_fn_config_dll cryptui enable_cryptui clean
,implib
18196 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
18197 wine_fn_config_dll ctapi32 enable_ctapi32
18198 wine_fn_config_dll ctl3d.dll16 enable_win16
18199 wine_fn_config_dll ctl3d32 enable_ctl3d32
18200 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18201 wine_fn_config_dll d2d1 enable_d2d1 implib
18202 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
18203 wine_fn_config_dll d3d10 enable_d3d10 implib
18204 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
18205 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18206 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
18207 wine_fn_config_dll d3d10core enable_d3d10core implib
18208 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
18209 wine_fn_config_dll d3d11 enable_d3d11 implib
18210 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
18211 wine_fn_config_dll d3d8 enable_d3d8 implib
18212 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
18213 wine_fn_config_dll d3d9 enable_d3d9 implib
18214 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
18215 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18216 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18217 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18218 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18219 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18220 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18221 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18222 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18223 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18224 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18225 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18226 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
18227 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18228 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18229 wine_fn_config_dll d3dim enable_d3dim
18230 wine_fn_config_dll d3drm enable_d3drm implib
18231 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
18232 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18233 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18234 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18235 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18236 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18237 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18238 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18239 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18240 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18241 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18242 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18243 wine_fn_config_test dlls
/d3dx10_43
/tests d3dx10_43_test
18244 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18245 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18246 wine_fn_config_test dlls
/d3dx11_43
/tests d3dx11_43_test
18247 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18248 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18249 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18250 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18251 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18252 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18253 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18254 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18255 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18256 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18257 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18258 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18259 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18260 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
18261 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18262 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18263 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18264 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18265 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18266 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18267 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18268 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
18269 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
18270 wine_fn_config_dll davclnt enable_davclnt
18271 wine_fn_config_dll dbgeng enable_dbgeng implib
18272 wine_fn_config_dll dbghelp enable_dbghelp implib
18273 wine_fn_config_dll dciman32 enable_dciman32 implib
18274 wine_fn_config_dll ddeml.dll16 enable_win16
18275 wine_fn_config_dll ddraw enable_ddraw clean
,implib
18276 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
18277 wine_fn_config_dll ddrawex enable_ddrawex clean
18278 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
18279 wine_fn_config_dll devenum enable_devenum clean
18280 wine_fn_config_test dlls
/devenum
/tests devenum_test
18281 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18282 wine_fn_config_dll difxapi enable_difxapi
18283 wine_fn_config_dll dinput enable_dinput clean
,implib
,staticimplib
18284 wine_fn_config_test dlls
/dinput
/tests dinput_test
18285 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
18286 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
18287 wine_fn_config_dll dispdib.dll16 enable_win16
18288 wine_fn_config_dll dispex enable_dispex clean
18289 wine_fn_config_test dlls
/dispex
/tests dispex_test
18290 wine_fn_config_dll display.drv16 enable_win16
18291 wine_fn_config_dll dmband enable_dmband clean
18292 wine_fn_config_test dlls
/dmband
/tests dmband_test
18293 wine_fn_config_dll dmcompos enable_dmcompos clean
18294 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
18295 wine_fn_config_dll dmime enable_dmime clean
18296 wine_fn_config_test dlls
/dmime
/tests dmime_test
18297 wine_fn_config_dll dmloader enable_dmloader clean
18298 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
18299 wine_fn_config_dll dmscript enable_dmscript clean
18300 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
18301 wine_fn_config_dll dmstyle enable_dmstyle clean
18302 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
18303 wine_fn_config_dll dmsynth enable_dmsynth clean
18304 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
18305 wine_fn_config_dll dmusic enable_dmusic clean
18306 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
18307 wine_fn_config_dll dmusic32 enable_dmusic32
18308 wine_fn_config_dll dnsapi enable_dnsapi implib
18309 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
18310 wine_fn_config_dll dplay enable_dplay
18311 wine_fn_config_dll dplayx enable_dplayx clean
,implib
18312 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
18313 wine_fn_config_dll dpnaddr enable_dpnaddr
18314 wine_fn_config_dll dpnet enable_dpnet clean
,implib
18315 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
18316 wine_fn_config_dll dpnhpast enable_dpnhpast
18317 wine_fn_config_dll dpnlobby enable_dpnlobby
18318 wine_fn_config_dll dpvoice enable_dpvoice clean
18319 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
18320 wine_fn_config_dll dpwsockx enable_dpwsockx
18321 wine_fn_config_dll drmclien enable_drmclien
18322 wine_fn_config_dll dsound enable_dsound clean
,implib
18323 wine_fn_config_test dlls
/dsound
/tests dsound_test
18324 wine_fn_config_dll dsquery enable_dsquery clean
18325 wine_fn_config_dll dssenh enable_dssenh
18326 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
18327 wine_fn_config_dll dswave enable_dswave clean
18328 wine_fn_config_test dlls
/dswave
/tests dswave_test
18329 wine_fn_config_dll dwmapi enable_dwmapi implib
18330 wine_fn_config_dll dwrite enable_dwrite implib
18331 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
18332 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18333 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
18334 wine_fn_config_lib dxerr8
18335 wine_fn_config_lib dxerr9
18336 wine_fn_config_dll dxgi enable_dxgi implib
18337 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
18338 wine_fn_config_lib dxguid
18339 wine_fn_config_dll dxva2 enable_dxva2
18340 wine_fn_config_dll esent enable_esent
18341 wine_fn_config_dll evr enable_evr
18342 wine_fn_config_test dlls
/evr
/tests evr_test
18343 wine_fn_config_dll explorerframe enable_explorerframe clean
18344 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
18345 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18346 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18347 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18348 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18349 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18350 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18351 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18352 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18353 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18354 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18355 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18356 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18357 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18358 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18359 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18360 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18361 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18362 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18363 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
18364 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18365 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18366 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18367 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18368 wine_fn_config_dll faultrep enable_faultrep implib
18369 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
18370 wine_fn_config_dll fltlib enable_fltlib
18371 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18372 wine_fn_config_dll fntcache enable_fntcache
18373 wine_fn_config_dll fontsub enable_fontsub
18374 wine_fn_config_dll fusion enable_fusion
18375 wine_fn_config_test dlls
/fusion
/tests fusion_test
18376 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18377 wine_fn_config_dll gameux enable_gameux clean
18378 wine_fn_config_test dlls
/gameux
/tests gameux_test
18379 wine_fn_config_dll gdi.exe16 enable_win16
18380 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
18381 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
18382 wine_fn_config_dll gdiplus enable_gdiplus implib
18383 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
18384 wine_fn_config_dll glu32 enable_glu32 implib
18385 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18386 wine_fn_config_dll gpkcsp enable_gpkcsp
18387 wine_fn_config_dll hal enable_hal
18388 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib htmlhelp
18389 wine_fn_config_dll hid enable_hid implib
18390 wine_fn_config_test dlls
/hid
/tests hid_test
18391 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18392 wine_fn_config_dll hlink enable_hlink clean
,implib
18393 wine_fn_config_test dlls
/hlink
/tests hlink_test
18394 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18395 wine_fn_config_test dlls
/hnetcfg
/tests hnetcfg_test
18396 wine_fn_config_dll httpapi enable_httpapi
18397 wine_fn_config_dll iccvid enable_iccvid clean
18398 wine_fn_config_dll icmp enable_icmp
18399 wine_fn_config_dll ieframe enable_ieframe clean
,implib
18400 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
18401 wine_fn_config_dll ieproxy enable_ieproxy clean
18402 wine_fn_config_dll ifsmgr.vxd enable_win16
18403 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18404 wine_fn_config_dll imagehlp enable_imagehlp implib
18405 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
18406 wine_fn_config_dll imm.dll16 enable_win16
18407 wine_fn_config_dll imm32 enable_imm32 implib
18408 wine_fn_config_test dlls
/imm32
/tests imm32_test
18409 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
18410 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
18411 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18412 wine_fn_config_dll inetmib1 enable_inetmib1
18413 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
18414 wine_fn_config_dll infosoft enable_infosoft clean
18415 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
18416 wine_fn_config_dll initpki enable_initpki
18417 wine_fn_config_dll inkobj enable_inkobj
18418 wine_fn_config_dll inseng enable_inseng clean
18419 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18420 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
18421 wine_fn_config_dll iprop enable_iprop
18422 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18423 wine_fn_config_dll itircl enable_itircl
18424 wine_fn_config_dll itss enable_itss clean
18425 wine_fn_config_test dlls
/itss
/tests itss_test
18426 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18427 wine_fn_config_dll jscript enable_jscript clean
18428 wine_fn_config_test dlls
/jscript
/tests jscript_test
18429 wine_fn_config_dll jsproxy enable_jsproxy implib
18430 wine_fn_config_test dlls
/jsproxy
/tests jsproxy_test
18431 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
18432 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
18433 wine_fn_config_dll kernelbase enable_kernelbase
18434 wine_fn_config_dll keyboard.drv16 enable_win16
18435 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18436 wine_fn_config_dll ksuser enable_ksuser
18437 wine_fn_config_dll ktmw32 enable_ktmw32
18438 wine_fn_config_dll loadperf enable_loadperf implib
18439 wine_fn_config_dll localspl enable_localspl clean
18440 wine_fn_config_test dlls
/localspl
/tests localspl_test
18441 wine_fn_config_dll localui enable_localui clean
18442 wine_fn_config_test dlls
/localui
/tests localui_test
18443 wine_fn_config_dll lz32 enable_lz32 implib
18444 wine_fn_config_test dlls
/lz32
/tests lz32_test
18445 wine_fn_config_dll lzexpand.dll16 enable_win16
18446 wine_fn_config_dll mapi32 enable_mapi32 clean
,implib
18447 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
18448 wine_fn_config_dll mapistub enable_mapistub
18449 wine_fn_config_dll mciavi32 enable_mciavi32
18450 wine_fn_config_dll mcicda enable_mcicda
18451 wine_fn_config_dll mciqtz32 enable_mciqtz32
18452 wine_fn_config_dll mciseq enable_mciseq
18453 wine_fn_config_dll mciwave enable_mciwave
18454 wine_fn_config_dll mf enable_mf implib
18455 wine_fn_config_test dlls
/mf
/tests mf_test
18456 wine_fn_config_dll mf3216 enable_mf3216
18457 wine_fn_config_dll mfplat enable_mfplat implib
18458 wine_fn_config_test dlls
/mfplat
/tests mfplat_test
18459 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18460 wine_fn_config_lib mfuuid
18461 wine_fn_config_dll mgmtapi enable_mgmtapi
18462 wine_fn_config_dll midimap enable_midimap
18463 wine_fn_config_dll mlang enable_mlang clean
,implib
18464 wine_fn_config_test dlls
/mlang
/tests mlang_test
18465 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18466 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
18467 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18468 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
18469 wine_fn_config_dll mmdevldr.vxd enable_win16
18470 wine_fn_config_dll mmsystem.dll16 enable_win16
18471 wine_fn_config_dll monodebg.vxd enable_win16
18472 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18473 wine_fn_config_dll mouse.drv16 enable_win16
18474 wine_fn_config_dll mpr enable_mpr clean
,implib
18475 wine_fn_config_test dlls
/mpr
/tests mpr_test
18476 wine_fn_config_dll mprapi enable_mprapi implib
18477 wine_fn_config_dll msacm.dll16 enable_win16
18478 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18479 wine_fn_config_dll msacm32 enable_msacm32 clean
,implib
18480 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
18481 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18482 wine_fn_config_dll msasn1 enable_msasn1 implib
18483 wine_fn_config_dll mscat32 enable_mscat32
18484 wine_fn_config_dll mscms enable_mscms implib
18485 wine_fn_config_test dlls
/mscms
/tests mscms_test
18486 wine_fn_config_dll mscoree enable_mscoree clean
18487 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
18488 wine_fn_config_dll msctf enable_msctf clean
18489 wine_fn_config_test dlls
/msctf
/tests msctf_test
18490 wine_fn_config_dll msctfp enable_msctfp clean
18491 wine_fn_config_dll msdaps enable_msdaps clean
18492 wine_fn_config_dll msdelta enable_msdelta
18493 wine_fn_config_dll msdmo enable_msdmo implib
18494 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
18495 wine_fn_config_dll msdrm enable_msdrm
18496 wine_fn_config_dll msftedit enable_msftedit
18497 wine_fn_config_dll msg711.acm enable_msg711_acm
18498 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18499 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18500 wine_fn_config_dll mshtml enable_mshtml clean
,implib
18501 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
18502 wine_fn_config_dll msi enable_msi clean
,implib
18503 wine_fn_config_test dlls
/msi
/tests msi_test
18504 wine_fn_config_dll msident enable_msident clean
18505 wine_fn_config_dll msimg32 enable_msimg32 implib
18506 wine_fn_config_dll msimsg enable_msimsg
18507 wine_fn_config_dll msimtf enable_msimtf clean
18508 wine_fn_config_dll msisip enable_msisip
18509 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18510 wine_fn_config_dll msls31 enable_msls31
18511 wine_fn_config_dll msnet32 enable_msnet32
18512 wine_fn_config_dll mspatcha enable_mspatcha implib
18513 wine_fn_config_dll msports enable_msports
18514 wine_fn_config_dll msrle32 enable_msrle32 clean
18515 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
18516 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18517 wine_fn_config_test dlls
/msscript.ocx
/tests msscript.ocx_test clean
18518 wine_fn_config_dll mssign32 enable_mssign32
18519 wine_fn_config_dll mssip32 enable_mssip32
18520 wine_fn_config_dll mstask enable_mstask clean
18521 wine_fn_config_test dlls
/mstask
/tests mstask_test
18522 wine_fn_config_dll msvcirt enable_msvcirt
18523 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
18524 wine_fn_config_dll msvcm80 enable_msvcm80
18525 wine_fn_config_dll msvcm90 enable_msvcm90
18526 wine_fn_config_dll msvcp100 enable_msvcp100
18527 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
18528 wine_fn_config_dll msvcp110 enable_msvcp110
18529 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
18530 wine_fn_config_dll msvcp120 enable_msvcp120
18531 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
18532 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18533 wine_fn_config_dll msvcp140 enable_msvcp140
18534 wine_fn_config_test dlls
/msvcp140
/tests msvcp140_test
18535 wine_fn_config_dll msvcp60 enable_msvcp60
18536 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
18537 wine_fn_config_dll msvcp70 enable_msvcp70
18538 wine_fn_config_dll msvcp71 enable_msvcp71
18539 wine_fn_config_dll msvcp80 enable_msvcp80
18540 wine_fn_config_dll msvcp90 enable_msvcp90
18541 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
18542 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18543 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
18544 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18545 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18546 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
18547 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18548 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18549 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18550 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18551 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18552 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
18553 wine_fn_config_dll msvcrt enable_msvcrt implib
18554 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
18555 wine_fn_config_dll msvcrt20 enable_msvcrt20
18556 wine_fn_config_dll msvcrt40 enable_msvcrt40
18557 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18558 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
18559 wine_fn_config_dll msvfw32 enable_msvfw32 clean
,implib
18560 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
18561 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18562 wine_fn_config_dll msvideo.dll16 enable_win16
18563 wine_fn_config_dll mswsock enable_mswsock implib
18564 wine_fn_config_dll msxml enable_msxml clean
18565 wine_fn_config_dll msxml2 enable_msxml2 clean
18566 wine_fn_config_dll msxml3 enable_msxml3 clean
18567 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
18568 wine_fn_config_dll msxml4 enable_msxml4 clean
18569 wine_fn_config_dll msxml6 enable_msxml6 clean
18570 wine_fn_config_dll mtxdm enable_mtxdm
18571 wine_fn_config_dll ncrypt enable_ncrypt
18572 wine_fn_config_dll nddeapi enable_nddeapi implib
18573 wine_fn_config_dll ndis.sys enable_ndis_sys
18574 wine_fn_config_dll netapi32 enable_netapi32 implib
18575 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
18576 wine_fn_config_dll netcfgx enable_netcfgx clean
18577 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
18578 wine_fn_config_dll netprofm enable_netprofm clean
18579 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
18580 wine_fn_config_dll newdev enable_newdev implib
18581 wine_fn_config_dll normaliz enable_normaliz implib
18582 wine_fn_config_dll npmshtml enable_npmshtml
18583 wine_fn_config_dll npptools enable_npptools
18584 wine_fn_config_dll ntdll enable_ntdll implib
18585 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
18586 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18587 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
18588 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18589 wine_fn_config_dll ntprint enable_ntprint
18590 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
18591 wine_fn_config_dll objsel enable_objsel clean
18592 wine_fn_config_dll odbc32 enable_odbc32 implib
18593 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18594 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
18595 wine_fn_config_dll odbccu32 enable_odbccu32
18596 wine_fn_config_dll ole2.dll16 enable_win16
18597 wine_fn_config_dll ole2conv.dll16 enable_win16
18598 wine_fn_config_dll ole2disp.dll16 enable_win16
18599 wine_fn_config_dll ole2nls.dll16 enable_win16
18600 wine_fn_config_dll ole2prox.dll16 enable_win16
18601 wine_fn_config_dll ole2thk.dll16 enable_win16
18602 wine_fn_config_dll ole32 enable_ole32 clean
,implib
18603 wine_fn_config_test dlls
/ole32
/tests ole32_test
18604 wine_fn_config_dll oleacc enable_oleacc clean
,implib
18605 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
18606 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
18607 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
18608 wine_fn_config_dll olecli.dll16 enable_win16
18609 wine_fn_config_dll olecli32 enable_olecli32 implib
18610 wine_fn_config_dll oledb32 enable_oledb32 clean
18611 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
18612 wine_fn_config_dll oledlg enable_oledlg clean
,implib
18613 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
18614 wine_fn_config_dll olepro32 enable_olepro32 clean
,implib
18615 wine_fn_config_dll olesvr.dll16 enable_win16
18616 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18617 wine_fn_config_dll olethk32 enable_olethk32
18618 wine_fn_config_dll openal32 enable_openal32
18619 wine_fn_config_dll opencl enable_opencl
18620 wine_fn_config_dll opengl32 enable_opengl32 implib
18621 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
18622 wine_fn_config_dll packager enable_packager clean
18623 wine_fn_config_test dlls
/packager
/tests packager_test
18624 wine_fn_config_dll pdh enable_pdh implib
18625 wine_fn_config_test dlls
/pdh
/tests pdh_test
18626 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18627 wine_fn_config_dll pidgen enable_pidgen
18628 wine_fn_config_dll powrprof enable_powrprof implib
18629 wine_fn_config_dll printui enable_printui
18630 wine_fn_config_dll prntvpt enable_prntvpt
18631 wine_fn_config_dll propsys enable_propsys clean
,implib
18632 wine_fn_config_test dlls
/propsys
/tests propsys_test
18633 wine_fn_config_dll psapi enable_psapi implib
18634 wine_fn_config_test dlls
/psapi
/tests psapi_test
18635 wine_fn_config_dll pstorec enable_pstorec clean
18636 wine_fn_config_test dlls
/pstorec
/tests pstorec_test
18637 wine_fn_config_dll qcap enable_qcap
18638 wine_fn_config_test dlls
/qcap
/tests qcap_test
18639 wine_fn_config_dll qedit enable_qedit clean
18640 wine_fn_config_test dlls
/qedit
/tests qedit_test
18641 wine_fn_config_dll qmgr enable_qmgr clean
18642 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
18643 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18644 wine_fn_config_dll quartz enable_quartz clean
,implib
18645 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
18646 wine_fn_config_dll query enable_query
18647 wine_fn_config_dll rasapi16.dll16 enable_win16
18648 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18649 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
18650 wine_fn_config_dll rasdlg enable_rasdlg implib
18651 wine_fn_config_dll regapi enable_regapi
18652 wine_fn_config_dll resutils enable_resutils implib
18653 wine_fn_config_dll riched20 enable_riched20 clean
,implib
18654 wine_fn_config_test dlls
/riched20
/tests riched20_test
18655 wine_fn_config_dll riched32 enable_riched32
18656 wine_fn_config_test dlls
/riched32
/tests riched32_test
18657 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
18658 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
18659 wine_fn_config_dll rsabase enable_rsabase
18660 wine_fn_config_dll rsaenh enable_rsaenh implib
18661 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
18662 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18663 wine_fn_config_dll rtutils enable_rtutils implib
18664 wine_fn_config_dll samlib enable_samlib
18665 wine_fn_config_dll sane.ds enable_sane_ds clean
18666 wine_fn_config_dll scarddlg enable_scarddlg
18667 wine_fn_config_dll sccbase enable_sccbase
18668 wine_fn_config_dll schannel enable_schannel
18669 wine_fn_config_test dlls
/schannel
/tests schannel_test
18670 wine_fn_config_dll schedsvc enable_schedsvc clean
18671 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
18672 wine_fn_config_dll scrobj enable_scrobj clean
18673 wine_fn_config_dll scrrun enable_scrrun clean
18674 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
18675 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18676 wine_fn_config_dll secur32 enable_secur32 implib
18677 wine_fn_config_test dlls
/secur32
/tests secur32_test
18678 wine_fn_config_dll security enable_security
18679 wine_fn_config_dll sensapi enable_sensapi implib
18680 wine_fn_config_dll serialui enable_serialui clean
18681 wine_fn_config_test dlls
/serialui
/tests serialui_test
18682 wine_fn_config_dll setupapi enable_setupapi clean
,implib
18683 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
18684 wine_fn_config_dll setupx.dll16 enable_win16
18685 wine_fn_config_dll sfc enable_sfc implib
18686 wine_fn_config_dll sfc_os enable_sfc_os implib
18687 wine_fn_config_dll shdoclc enable_shdoclc clean
18688 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
18689 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
18690 wine_fn_config_dll shell.dll16 enable_win16
18691 wine_fn_config_dll shell32 enable_shell32 clean
,implib
18692 wine_fn_config_test dlls
/shell32
/tests shell32_test
18693 wine_fn_config_dll shfolder enable_shfolder implib
18694 wine_fn_config_dll shlwapi enable_shlwapi clean
,implib
18695 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
18696 wine_fn_config_dll slbcsp enable_slbcsp
18697 wine_fn_config_dll slc enable_slc implib
18698 wine_fn_config_test dlls
/slc
/tests slc_test
18699 wine_fn_config_dll snmpapi enable_snmpapi implib
18700 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
18701 wine_fn_config_dll softpub enable_softpub
18702 wine_fn_config_dll sound.drv16 enable_win16
18703 wine_fn_config_dll spoolss enable_spoolss implib
18704 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
18705 wine_fn_config_dll sspicli enable_sspicli
18706 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18707 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18708 wine_fn_config_dll sti enable_sti clean
,implib
18709 wine_fn_config_test dlls
/sti
/tests sti_test
18710 wine_fn_config_dll storage.dll16 enable_win16
18711 wine_fn_config_dll stress.dll16 enable_win16
18712 wine_fn_config_lib strmbase
18713 wine_fn_config_lib strmiids
18714 wine_fn_config_dll svrapi enable_svrapi
18715 wine_fn_config_dll sxs enable_sxs implib
18716 wine_fn_config_test dlls
/sxs
/tests sxs_test
18717 wine_fn_config_dll system.drv16 enable_win16
18718 wine_fn_config_dll t2embed enable_t2embed implib
18719 wine_fn_config_test dlls
/t2embed
/tests t2embed_test
18720 wine_fn_config_dll tapi32 enable_tapi32 implib
18721 wine_fn_config_dll taskschd enable_taskschd clean
18722 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
18723 wine_fn_config_dll tdh enable_tdh
18724 wine_fn_config_dll tdi.sys enable_tdi_sys
18725 wine_fn_config_dll toolhelp.dll16 enable_win16
18726 wine_fn_config_dll traffic enable_traffic
18727 wine_fn_config_dll twain.dll16 enable_win16
18728 wine_fn_config_dll twain_32 enable_twain_32
18729 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
18730 wine_fn_config_dll typelib.dll16 enable_win16
18731 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18732 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
18733 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18734 wine_fn_config_dll uiribbon enable_uiribbon clean
18735 wine_fn_config_dll unicows enable_unicows implib
18736 wine_fn_config_dll updspapi enable_updspapi
18737 wine_fn_config_dll url enable_url implib
18738 wine_fn_config_dll urlmon enable_urlmon clean
,implib
18739 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
18740 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18741 wine_fn_config_dll user.exe16 enable_win16
18742 wine_fn_config_dll user32 enable_user32 clean
,implib
18743 wine_fn_config_test dlls
/user32
/tests user32_test
18744 wine_fn_config_dll userenv enable_userenv implib
18745 wine_fn_config_test dlls
/userenv
/tests userenv_test
18746 wine_fn_config_dll usp10 enable_usp10 implib
18747 wine_fn_config_test dlls
/usp10
/tests usp10_test
18748 wine_fn_config_lib uuid
18749 wine_fn_config_dll uxtheme enable_uxtheme implib
18750 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
18751 wine_fn_config_dll vbscript enable_vbscript clean
18752 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
18753 wine_fn_config_dll vcomp enable_vcomp
18754 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
18755 wine_fn_config_dll vcomp100 enable_vcomp100
18756 wine_fn_config_dll vcomp110 enable_vcomp110
18757 wine_fn_config_dll vcomp120 enable_vcomp120
18758 wine_fn_config_dll vcomp140 enable_vcomp140
18759 wine_fn_config_dll vcomp90 enable_vcomp90
18760 wine_fn_config_dll vcruntime140 enable_vcruntime140
18761 wine_fn_config_dll vdhcp.vxd enable_win16
18762 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18763 wine_fn_config_dll ver.dll16 enable_win16
18764 wine_fn_config_dll version enable_version implib
18765 wine_fn_config_test dlls
/version
/tests version_test
18766 wine_fn_config_dll virtdisk enable_virtdisk
18767 wine_fn_config_dll vmm.vxd enable_win16
18768 wine_fn_config_dll vnbt.vxd enable_win16
18769 wine_fn_config_dll vnetbios.vxd enable_win16
18770 wine_fn_config_dll vssapi enable_vssapi
18771 wine_fn_config_dll vtdapi.vxd enable_win16
18772 wine_fn_config_dll vwin32.vxd enable_win16
18773 wine_fn_config_dll w32skrnl enable_win16
18774 wine_fn_config_dll w32sys.dll16 enable_win16
18775 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18776 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
18777 wine_fn_config_dll wbemprox enable_wbemprox clean
18778 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
18779 wine_fn_config_dll webservices enable_webservices implib
18780 wine_fn_config_test dlls
/webservices
/tests webservices_test
18781 wine_fn_config_dll wer enable_wer implib
18782 wine_fn_config_test dlls
/wer
/tests wer_test
18783 wine_fn_config_dll wevtapi enable_wevtapi
18784 wine_fn_config_dll wiaservc enable_wiaservc clean
18785 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
18786 wine_fn_config_dll wimgapi enable_wimgapi
18787 wine_fn_config_dll win32s16.dll16 enable_win16
18788 wine_fn_config_dll win87em.dll16 enable_win16
18789 wine_fn_config_dll winaspi.dll16 enable_win16
18790 wine_fn_config_dll windebug.dll16 enable_win16
18791 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
18792 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
18793 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18794 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
18795 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18796 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18797 wine_fn_config_dll winebus.sys enable_winebus_sys
18798 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18799 wine_fn_config_lib winecrt0
18800 wine_fn_config_dll wined3d enable_wined3d implib
18801 wine_fn_config_dll winegstreamer enable_winegstreamer
18802 wine_fn_config_dll winehid.sys enable_winehid_sys
18803 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18804 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18805 wine_fn_config_dll winemapi enable_winemapi
18806 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18807 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18808 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18809 wine_fn_config_dll wineps16.drv16 enable_win16
18810 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18811 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18812 wine_fn_config_dll winex11.drv enable_winex11_drv
18813 wine_fn_config_dll wing.dll16 enable_win16
18814 wine_fn_config_dll wing32 enable_wing32
18815 wine_fn_config_dll winhttp enable_winhttp clean
,implib
18816 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
18817 wine_fn_config_dll wininet enable_wininet clean
,implib
18818 wine_fn_config_test dlls
/wininet
/tests wininet_test
18819 wine_fn_config_dll winmm enable_winmm clean
,implib
18820 wine_fn_config_test dlls
/winmm
/tests winmm_test
18821 wine_fn_config_dll winnls.dll16 enable_win16
18822 wine_fn_config_dll winnls32 enable_winnls32 implib
18823 wine_fn_config_dll winscard enable_winscard implib
18824 wine_fn_config_dll winsock.dll16 enable_win16
18825 wine_fn_config_dll winspool.drv enable_winspool_drv clean
,implib winspool
18826 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
18827 wine_fn_config_dll winsta enable_winsta
18828 wine_fn_config_dll wintab.dll16 enable_win16
18829 wine_fn_config_dll wintab32 enable_wintab32 implib
18830 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
18831 wine_fn_config_dll wintrust enable_wintrust implib
18832 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
18833 wine_fn_config_dll winusb enable_winusb
18834 wine_fn_config_dll wlanapi enable_wlanapi implib
18835 wine_fn_config_test dlls
/wlanapi
/tests wlanapi_test
18836 wine_fn_config_dll wldap32 enable_wldap32 clean
,implib
18837 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
18838 wine_fn_config_dll wmasf enable_wmasf
18839 wine_fn_config_dll wmi enable_wmi
18840 wine_fn_config_dll wmiutils enable_wmiutils clean
18841 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
18842 wine_fn_config_dll wmp enable_wmp clean
18843 wine_fn_config_test dlls
/wmp
/tests wmp_test
18844 wine_fn_config_dll wmphoto enable_wmphoto clean
18845 wine_fn_config_dll wmvcore enable_wmvcore implib
18846 wine_fn_config_test dlls
/wmvcore
/tests wmvcore_test
18847 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18848 wine_fn_config_dll wow32 enable_win16 implib
18849 wine_fn_config_dll wpc enable_wpc clean
18850 wine_fn_config_test dlls
/wpc
/tests wpc_test
18851 wine_fn_config_dll wpcap enable_wpcap
18852 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18853 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
18854 wine_fn_config_dll wsdapi enable_wsdapi implib
18855 wine_fn_config_test dlls
/wsdapi
/tests wsdapi_test
18856 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18857 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
18858 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18859 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
18860 wine_fn_config_dll wsock32 enable_wsock32 implib
18861 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18862 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
18863 wine_fn_config_dll wuapi enable_wuapi clean
18864 wine_fn_config_dll wuaueng enable_wuaueng
18865 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18866 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18867 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18868 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18869 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18870 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18871 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18872 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18873 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18874 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18875 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18876 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18877 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18878 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18879 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18880 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18881 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18882 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18883 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18884 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18885 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18886 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
18887 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18888 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18889 wine_fn_config_dll xinput1_1 enable_xinput1_1
18890 wine_fn_config_dll xinput1_2 enable_xinput1_2
18891 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18892 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
18893 wine_fn_config_dll xinput1_4 enable_xinput1_4
18894 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18895 wine_fn_config_dll xmllite enable_xmllite implib
18896 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
18897 wine_fn_config_dll xolehlp enable_xolehlp
18898 wine_fn_config_dll xpsprint enable_xpsprint
18899 wine_fn_config_dll xpssvcs enable_xpssvcs
18900 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
18901 wine_fn_config_makefile include enable_include clean
,install-dev
18902 wine_fn_config_makefile libs
/port enable_libs_port
18903 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,implib
,install-dev
,install-lib
18904 wine_fn_config_makefile libs
/wpp enable_libs_wpp
18905 wine_fn_config_makefile loader enable_loader clean
,install-lib
18906 wine_fn_config_makefile po enable_po clean
18907 wine_fn_config_program arp enable_arp
install
18908 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
18909 wine_fn_config_program attrib enable_attrib clean
,install
18910 wine_fn_config_program cabarc enable_cabarc
install
18911 wine_fn_config_program cacls enable_cacls
install
18912 wine_fn_config_program
clock enable_clock clean
,install
18913 wine_fn_config_program cmd enable_cmd clean
,install
18914 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
18915 wine_fn_config_program conhost enable_conhost
install
18916 wine_fn_config_program control enable_control
install
18917 wine_fn_config_program cscript enable_cscript clean
,install
18918 wine_fn_config_program dpnsvr enable_dpnsvr
install
18919 wine_fn_config_program dxdiag enable_dxdiag clean
,install
18920 wine_fn_config_program eject enable_eject
install
18921 wine_fn_config_program
expand enable_expand
install
18922 wine_fn_config_program explorer enable_explorer clean
,install
18923 wine_fn_config_program extrac32 enable_extrac32
install
18924 wine_fn_config_program findstr enable_findstr
install
18925 wine_fn_config_program fsutil enable_fsutil
install
18926 wine_fn_config_program hh enable_hh
install
18927 wine_fn_config_program hostname enable_hostname clean
,install
18928 wine_fn_config_program icacls enable_icacls
install
18929 wine_fn_config_program icinfo enable_icinfo
install
18930 wine_fn_config_program iexplore enable_iexplore
install
18931 wine_fn_config_program ipconfig enable_ipconfig clean
,install
18932 wine_fn_config_program lodctr enable_lodctr
install
18933 wine_fn_config_program mofcomp enable_mofcomp
install
18934 wine_fn_config_program mshta enable_mshta
install
18935 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18936 wine_fn_config_program msinfo32 enable_msinfo32 clean
,install
18937 wine_fn_config_program net enable_net clean
,install
18938 wine_fn_config_program netsh enable_netsh
install
18939 wine_fn_config_program netstat enable_netstat clean
,install
18940 wine_fn_config_program ngen enable_ngen
install
18941 wine_fn_config_program notepad enable_notepad clean
,install,installbin
,manpage
18942 wine_fn_config_program oleview enable_oleview clean
,install
18943 wine_fn_config_program
ping enable_ping
install
18944 wine_fn_config_program plugplay enable_plugplay
install
18945 wine_fn_config_program powershell enable_powershell
install
18946 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18947 wine_fn_config_program progman enable_progman clean
,install
18948 wine_fn_config_program reg enable_reg clean
,install
18949 wine_fn_config_test programs
/reg
/tests reg.exe_test
18950 wine_fn_config_program regasm enable_regasm
install
18951 wine_fn_config_program regedit enable_regedit clean
,install,installbin
,manpage
18952 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18953 wine_fn_config_program regsvcs enable_regsvcs
install
18954 wine_fn_config_program regsvr32 enable_regsvr32 clean
,install,installbin
,manpage
18955 wine_fn_config_program rpcss enable_rpcss clean
,install
18956 wine_fn_config_program rundll.exe16 enable_win16
install
18957 wine_fn_config_program rundll32 enable_rundll32
install
18958 wine_fn_config_program sc enable_sc
install
18959 wine_fn_config_program schtasks enable_schtasks
install
18960 wine_fn_config_program sdbinst enable_sdbinst
install
18961 wine_fn_config_program secedit enable_secedit
install
18962 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18963 wine_fn_config_program services enable_services clean
,install
18964 wine_fn_config_test programs
/services
/tests services.exe_test
18965 wine_fn_config_program shutdown enable_shutdown
install
18966 wine_fn_config_program spoolsv enable_spoolsv
install
18967 wine_fn_config_program start enable_start clean
,install
18968 wine_fn_config_program subst enable_subst
install
18969 wine_fn_config_program svchost enable_svchost
install
18970 wine_fn_config_program systeminfo enable_systeminfo
install
18971 wine_fn_config_program taskkill enable_taskkill clean
,install
18972 wine_fn_config_program tasklist enable_tasklist
install
18973 wine_fn_config_program taskmgr enable_taskmgr clean
,install
18974 wine_fn_config_program termsv enable_termsv
install
18975 wine_fn_config_program uninstaller enable_uninstaller clean
,install
18976 wine_fn_config_program unlodctr enable_unlodctr
install
18977 wine_fn_config_program view enable_view clean
,install
18978 wine_fn_config_program wevtutil enable_wevtutil
install
18979 wine_fn_config_program wineboot enable_wineboot clean
,install,installbin
,manpage
18980 wine_fn_config_program winebrowser enable_winebrowser
install
18981 wine_fn_config_program winecfg enable_winecfg clean
,install,installbin
,manpage
18982 wine_fn_config_program wineconsole enable_wineconsole clean
,install,installbin
,manpage
18983 wine_fn_config_program winedbg enable_winedbg clean
,install,installbin
,manpage
18984 wine_fn_config_program winedevice enable_winedevice
install
18985 wine_fn_config_program winefile enable_winefile clean
,install,installbin
,manpage
18986 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18987 wine_fn_config_program winemine enable_winemine clean
,install,installbin
,manpage
18988 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18989 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18990 wine_fn_config_program winetest enable_winetest clean
18991 wine_fn_config_program winevdm enable_win16
install
18992 wine_fn_config_program winhelp.exe16 enable_win16
install
18993 wine_fn_config_program winhlp32 enable_winhlp32 clean
,install
18994 wine_fn_config_program winoldap.mod16 enable_win16
install
18995 wine_fn_config_program winver enable_winver
install
18996 wine_fn_config_program wmic enable_wmic clean
,install
18997 wine_fn_config_program wmplayer enable_wmplayer
install
18998 wine_fn_config_program wordpad enable_wordpad clean
,install
18999 wine_fn_config_program
write enable_write clean
,install
19000 wine_fn_config_program wscript enable_wscript clean
,install
19001 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
19002 wine_fn_config_program wusa enable_wusa
install
19003 wine_fn_config_program xcopy enable_xcopy clean
,install
19004 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
19005 wine_fn_config_makefile server enable_server clean
,install-lib
19006 wine_fn_config_tool tools clean
19007 wine_fn_config_tool tools
/sfnt2fon clean
19008 wine_fn_config_tool tools
/widl clean
,install-dev
19009 wine_fn_config_tool tools
/winebuild clean
,install-dev
19010 wine_fn_config_tool tools
/winedump clean
,install-dev
19011 wine_fn_config_tool tools
/winegcc clean
,install-dev
19012 wine_fn_config_tool tools
/winemaker clean
,install-dev
19013 wine_fn_config_tool tools
/wmc clean
,install-dev
19014 wine_fn_config_tool tools
/wrc clean
,install-dev
19017 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
19018 wine_fn_append_file CONFIGURE_TARGETS
"tags"
19019 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
19020 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
19021 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
19022 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
19023 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
19024 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
19026 if test "x$enable_tools" != xno
19028 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
19029 ac_config_commands
="$ac_config_commands tools/makedep"
19033 ac_config_commands
="$ac_config_commands Makefile"
19036 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
19040 if test "x$enable_maintainer_mode" = xyes
19042 wine_fn_append_rule
"configure: configure.ac aclocal.m4
19043 autoconf --warnings=all
19044 include/config.h.in: include/stamp-h.in
19045 include/stamp-h.in: configure.ac aclocal.m4
19046 autoheader --warnings=all
19047 @echo timestamp > \$@"
19050 if test "x$enable_tools" != xno
19052 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19053 @./config.status tools/makedep
19054 Makefile: tools/makedep$ac_exeext"
19056 wine_fn_append_rule
"\$(MAKEDEP):
19057 @echo \"You need to run make in $TOOLSDIR first\" && false"
19060 if test -n "$with_wine64"
19062 wine_fn_append_rule
"all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19064 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19065 $with_wine64/loader/wine:
19066 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19067 $with_wine64/loader/wine-preloader:
19068 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19070 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19072 WINELOADER_INSTALL
="wine.inf"
19074 wine_fn_append_rule
"install install-lib::
19075 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19077 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
19079 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
19080 *) wine_fn_append_rule
"install install-lib::
19081 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19083 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19087 $as_echo " done" >&6
19088 cat >confcache
<<\_ACEOF
19089 # This file is a shell script that caches the results of configure
19090 # tests run on this system so they can be shared between configure
19091 # scripts and configure runs, see configure's option --config-cache.
19092 # It is not useful on other systems. If it contains results you don't
19093 # want to keep, you may remove or edit it.
19095 # config.status only pays attention to the cache file if you give it
19096 # the --recheck option to rerun configure.
19098 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19099 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19100 # following values.
19104 # The following way of writing the cache mishandles newlines in values,
19105 # but we know of no workaround that is simple, portable, and efficient.
19106 # So, we kill variables containing newlines.
19107 # Ultrix sh set writes to stderr and can't be redirected directly,
19108 # and sets the high bit in the cache file unless we assign to the vars.
19110 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19111 eval ac_val
=\$
$ac_var
19115 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19116 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19119 _ | IFS | as_nl
) ;; #(
19120 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19121 *) { eval $ac_var=; unset $ac_var;} ;;
19127 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19128 *${as_nl}ac_space
=\
*)
19129 # `set' does not quote correctly, so add quotes: double-quote
19130 # substitution turns \\\\ into \\, and sed turns \\ into \.
19133 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19136 # `set' quotes correctly as required by POSIX, so do not add quotes.
19137 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19146 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19148 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19150 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19151 if test -w "$cache_file"; then
19152 if test "x$cache_file" != "x/dev/null"; then
19153 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19154 $as_echo "$as_me: updating cache $cache_file" >&6;}
19155 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
19156 cat confcache
>"$cache_file"
19158 case $cache_file in #(
19160 mv -f confcache
"$cache_file"$$
&&
19161 mv -f "$cache_file"$$
"$cache_file" ;; #(
19163 mv -f confcache
"$cache_file" ;;
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19169 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19174 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19175 # Let make expand exec_prefix.
19176 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19178 DEFS
=-DHAVE_CONFIG_H
19183 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19184 # 1. Remove the extension, and $U if already installed.
19185 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19186 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19187 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19188 # will be set to the directory where LIBOBJS objects are built.
19189 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19190 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19192 LIBOBJS
=$ac_libobjs
19194 LTLIBOBJS
=$ac_ltlibobjs
19198 : "${CONFIG_STATUS=./config.status}"
19200 ac_clean_files_save
=$ac_clean_files
19201 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19202 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19203 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19205 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19207 # Generated by $as_me.
19208 # Run this file to recreate the current configuration.
19209 # Compiler output produced by configure, useful for debugging
19210 # configure, is in config.log if it exists.
19213 ac_cs_recheck=false
19216 SHELL=\${CONFIG_SHELL-$SHELL}
19219 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19220 ## -------------------- ##
19221 ## M4sh Initialization. ##
19222 ## -------------------- ##
19224 # Be more Bourne compatible
19225 DUALCASE
=1; export DUALCASE
# for MKS sh
19226 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19229 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19230 # is contrary to our usage. Disable this feature.
19231 alias -g '${1+"$@"}'='"$@"'
19232 setopt NO_GLOB_SUBST
19234 case `(set -o) 2>/dev/null` in #(
19246 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19247 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19248 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19249 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19250 # Prefer a ksh shell builtin over an external printf program on Solaris,
19251 # but without wasting forks for bash or zsh.
19252 if test -z "$BASH_VERSION$ZSH_VERSION" \
19253 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19254 as_echo='print
-r --'
19255 as_echo_n='print
-rn --'
19256 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19257 as_echo='printf %s
\n'
19258 as_echo_n='printf %s
'
19260 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19261 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19262 as_echo_n='/usr
/ucb
/echo -n'
19264 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19265 as_echo_n_body='eval
19269 expr "X$arg" : "X\\(.*\\)$as_nl";
19270 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19272 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19274 export as_echo_n_body
19275 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19277 export as_echo_body
19278 as_echo='sh
-c $as_echo_body as_echo
'
19281 # The user is always right.
19282 if test "${PATH_SEPARATOR+set}" != set; then
19284 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19285 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19292 # We need space, tab and new line, in precisely that order. Quoting is
19293 # there to prevent editors from complaining about space-tab.
19294 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19295 # splitting by setting IFS to empty value.)
19298 # Find who we are. Look in the path if we contain no directory separator.
19301 *[\\/]* ) as_myself=$0 ;;
19302 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19303 for as_dir in $PATH
19306 test -z "$as_dir" && as_dir=.
19307 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19313 # We did not find ourselves, most probably we were run as `sh COMMAND'
19314 # in which case we are not to be found in the path.
19315 if test "x$as_myself" = x
; then
19318 if test ! -f "$as_myself"; then
19319 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19323 # Unset variables that we do not need and which cause bugs (e.g. in
19324 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19325 # suppresses any "Segmentation fault" message there. '((' could
19326 # trigger a bug in pdksh 5.2.14.
19327 for as_var
in BASH_ENV ENV MAIL MAILPATH
19328 do eval test x\
${$as_var+set} = xset \
19329 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19342 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19345 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19346 # ----------------------------------------
19347 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19348 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19349 # script with STATUS, using 1 if that was 0.
19352 as_status
=$1; test $as_status -eq 0 && as_status
=1
19354 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19355 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19357 $as_echo "$as_me: error: $2" >&2
19358 as_fn_exit
$as_status
19362 # as_fn_set_status STATUS
19363 # -----------------------
19364 # Set $? to STATUS, without forking.
19365 as_fn_set_status
()
19368 } # as_fn_set_status
19370 # as_fn_exit STATUS
19371 # -----------------
19372 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19376 as_fn_set_status
$1
19382 # Portably unset VAR.
19385 { eval $1=; unset $1;}
19387 as_unset
=as_fn_unset
19388 # as_fn_append VAR VALUE
19389 # ----------------------
19390 # Append the text in VALUE to the end of the definition contained in VAR. Take
19391 # advantage of any shell optimizations that allow amortized linear growth over
19392 # repeated appends, instead of the typical quadratic growth present in naive
19394 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19395 eval 'as_fn_append ()
19406 # as_fn_arith ARG...
19407 # ------------------
19408 # Perform arithmetic evaluation on the ARGs, and store the result in the
19409 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19410 # must be portable across $(()) and expr.
19411 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19412 eval 'as_fn_arith ()
19419 as_val
=`expr "$@" || test $? -eq 1`
19424 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19425 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19431 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19432 as_basename
=basename
19437 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19443 as_me
=`$as_basename -- "$0" ||
19444 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19445 X"$0" : 'X\(//\)$' \| \
19446 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19448 sed '/^.*\/\([^/][^/]*\)\/*$/{
19462 # Avoid depending upon Character Ranges.
19463 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19464 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19465 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19466 as_cr_digits
='0123456789'
19467 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19469 ECHO_C
= ECHO_N
= ECHO_T
=
19470 case `echo -n x` in #(((((
19472 case `echo 'xy\c'` in
19473 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19475 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19482 rm -f conf$$ conf$$.exe conf$$.
file
19483 if test -d conf$$.dir
; then
19484 rm -f conf$$.dir
/conf$$.
file
19487 mkdir conf$$.dir
2>/dev
/null
19489 if (echo >conf$$.
file) 2>/dev
/null
; then
19490 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19492 # ... but there are two gotchas:
19493 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19494 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19495 # In both cases, we have to default to `cp -pR'.
19496 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19498 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19506 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19507 rmdir conf$$.dir
2>/dev
/null
19512 # Create "$as_dir" as a directory, including parents if necessary.
19517 -*) as_dir
=.
/$as_dir;;
19519 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19523 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19524 *) as_qdir
=$as_dir;;
19526 as_dirs
="'$as_qdir' $as_dirs"
19527 as_dir
=`$as_dirname -- "$as_dir" ||
19528 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19529 X"$as_dir" : 'X\(//\)[^/]' \| \
19530 X"$as_dir" : 'X\(//\)$' \| \
19531 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19532 $as_echo X"$as_dir" |
19533 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19537 /^X\(\/\/\)[^/].*/{
19550 test -d "$as_dir" && break
19552 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19553 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19557 if mkdir
-p .
2>/dev
/null
; then
19558 as_mkdir_p
='mkdir -p "$as_dir"'
19560 test -d .
/-p && rmdir .
/-p
19565 # as_fn_executable_p FILE
19566 # -----------------------
19567 # Test if FILE is an executable regular file.
19568 as_fn_executable_p
()
19570 test -f "$1" && test -x "$1"
19571 } # as_fn_executable_p
19572 as_test_x
='test -x'
19573 as_executable_p
=as_fn_executable_p
19575 # Sed expression to map a string onto a valid CPP name.
19576 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19578 # Sed expression to map a string onto a valid variable name.
19579 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19583 ## ----------------------------------- ##
19584 ## Main body of $CONFIG_STATUS script. ##
19585 ## ----------------------------------- ##
19587 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19590 # Save the log message, to keep $0 and so on meaningful, and to
19591 # report actual input values of CONFIG_FILES etc. instead of their
19592 # values after options handling.
19594 This file was extended by Wine $as_me 2.17, which was
19595 generated by GNU Autoconf 2.69. Invocation command line was
19597 CONFIG_FILES = $CONFIG_FILES
19598 CONFIG_HEADERS = $CONFIG_HEADERS
19599 CONFIG_LINKS = $CONFIG_LINKS
19600 CONFIG_COMMANDS = $CONFIG_COMMANDS
19603 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19608 case $ac_config_files in *"
19609 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19612 case $ac_config_headers in *"
19613 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19618 # Files that config.status was made for.
19619 config_files="$ac_config_files"
19620 config_headers="$ac_config_headers"
19621 config_links="$ac_config_links"
19622 config_commands="$ac_config_commands"
19626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19628 \`$as_me' instantiates files and other configuration actions
19629 from templates according to the current configuration. Unless the files
19630 and actions are specified as TAGs, all are instantiated by default.
19632 Usage: $0 [OPTION]... [TAG]...
19634 -h, --help print this help, then exit
19635 -V, --version print version number and configuration settings, then exit
19636 --config print configuration, then exit
19637 -q, --quiet, --silent
19638 do not print progress messages
19639 -d, --debug don't remove temporary files
19640 --recheck update $as_me by reconfiguring in the same conditions
19641 --file=FILE[:TEMPLATE]
19642 instantiate the configuration file FILE
19643 --header=FILE[:TEMPLATE]
19644 instantiate the configuration header FILE
19646 Configuration files:
19649 Configuration headers:
19652 Configuration links:
19655 Configuration commands:
19658 Report bugs to <wine-devel@winehq.org>.
19659 Wine home page: <http://www.winehq.org>."
19662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19663 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19665 Wine config.status 2.17
19666 configured by $0, generated by GNU Autoconf 2.69,
19667 with options \\"\$ac_cs_config\\"
19669 Copyright (C) 2012 Free Software Foundation, Inc.
19670 This config.status script is free software; the Free Software Foundation
19671 gives unlimited permission to copy, distribute and modify it."
19675 test -n "\$AWK" || AWK=awk
19678 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19679 # The default lists apply if the user does not specify any file.
19685 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19686 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19690 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19702 # Handling of the options.
19703 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19705 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19706 $as_echo "$ac_cs_version"; exit ;;
19707 --config |
--confi |
--conf |
--con |
--co |
--c )
19708 $as_echo "$ac_cs_config"; exit ;;
19709 --debug |
--debu |
--deb |
--de |
--d |
-d )
19711 --file |
--fil |
--fi |
--f )
19714 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19715 '') as_fn_error $?
"missing file argument" ;;
19717 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19718 ac_need_defaults
=false
;;
19719 --header |
--heade |
--head |
--hea )
19722 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19724 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19725 ac_need_defaults
=false
;;
19727 # Conflict between --help and --header
19728 as_fn_error $?
"ambiguous option: \`$1'
19729 Try \`$0 --help' for more information.";;
19730 --help |
--hel |
-h )
19731 $as_echo "$ac_cs_usage"; exit ;;
19732 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19733 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19736 # This is an error.
19737 -*) as_fn_error $?
"unrecognized option: \`$1'
19738 Try \`$0 --help' for more information." ;;
19740 *) as_fn_append ac_config_targets
" $1"
19741 ac_need_defaults
=false
;;
19747 ac_configure_extra_args
=
19749 if $ac_cs_silent; then
19751 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19756 if \$ac_cs_recheck; then
19757 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19759 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19760 CONFIG_SHELL='$SHELL'
19761 export CONFIG_SHELL
19766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19770 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19771 ## Running $as_me. ##
19777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19781 wine_fn_output_makedep ()
19783 as_dir=tools; as_fn_mkdir_p
19784 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19786 wine_fn_output_makefile ()
19788 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19789 `cat $wine_rules_file`
19791 as_fn_error $? "could not create Makefile" "$LINENO" 5
19796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19798 # Handling of arguments.
19799 for ac_config_target
in $ac_config_targets
19801 case $ac_config_target in
19802 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19803 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
19804 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19805 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19806 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19807 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19808 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19809 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19810 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
19811 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19812 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
19813 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
19814 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19816 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19821 # If the user did not use the arguments to specify the items to instantiate,
19822 # then the envvar interface is used. Set only those that are not.
19823 # We use the long form for the default assignment because of an extremely
19824 # bizarre bug on SunOS 4.1.3.
19825 if $ac_need_defaults; then
19826 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19827 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19828 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19829 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19832 # Have a temporary directory for convenience. Make it in the build tree
19833 # simply because there is no reason against having it here, and in addition,
19834 # creating and moving files from /tmp can sometimes cause problems.
19835 # Hook for its removal unless debugging.
19836 # Note that there is a small window in which the directory will not be cleaned:
19837 # after its creation but before its name has been assigned to `$tmp'.
19841 trap 'exit_status=$?
19842 : "${ac_tmp:=$tmp}"
19843 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19845 trap 'as_fn_exit 1' 1 2 13 15
19847 # Create a (secure) tmp directory for tmp files.
19850 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19854 tmp
=.
/conf$$
-$RANDOM
19855 (umask 077 && mkdir
"$tmp")
19856 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19859 # Set up the scripts for CONFIG_FILES section.
19860 # No need to generate them if there are no CONFIG_FILES.
19861 # This happens for instance with `./config.status config.h'.
19862 if test -n "$CONFIG_FILES"; then
19865 ac_cr
=`echo X | tr X '\015'`
19866 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19867 # But we know of no other shell where ac_cr would be empty at this
19868 # point, so we can use a bashism as a fallback.
19869 if test "x$ac_cr" = x
; then
19870 eval ac_cr
=\$
\'\\r
\'
19872 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19873 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19876 ac_cs_awk_cr
=$ac_cr
19879 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19884 echo "cat >conf$$subs.awk <<_ACEOF" &&
19885 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19887 } >conf$$subs.sh ||
19888 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19889 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19891 for ac_last_try in false false false false false :; do
19892 . ./conf$$subs.sh ||
19893 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19895 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19896 if test $ac_delim_n = $ac_delim_num; then
19898 elif $ac_last_try; then
19899 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19901 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19904 rm -f conf$$subs.sh
19906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19907 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19911 s/^/S["/; s
/!.
*/"]=/
19921 s/\(.\{148\}\)..*/\1/
19923 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19928 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19935 s/\(.\{148\}\)..*/\1/
19937 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19941 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19946 ' <conf$$subs.awk | sed '
19951 ' >>$CONFIG_STATUS || ac_write_fail=1
19952 rm -f conf$$subs.awk
19953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19955 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19956 for (key in S) S_is_set[key] = 1
19962 nfields = split(line, field, "@
")
19964 len = length(field[1])
19965 for (i = 2; i < nfields; i++) {
19967 keylen = length(key)
19968 if (S_is_set[key]) {
19970 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19971 len += length(value) + length(field[++i])
19982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19983 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19984 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19987 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19988 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19991 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19992 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19993 # trailing colons and then remove the whole line if VPATH becomes empty
19994 # (actually we leave an empty line to preserve line numbers).
19995 if test "x
$srcdir" = x.; then
19996 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20015 fi # test -n "$CONFIG_FILES"
20017 # Set up the scripts for CONFIG_HEADERS section.
20018 # No need to generate them if there are no CONFIG_HEADERS.
20019 # This happens for instance with `./config.status Makefile'.
20020 if test -n "$CONFIG_HEADERS"; then
20021 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
20025 # Transform confdefs.h into an awk script `defines.awk', embedded as
20026 # here-document in config.status, that substitutes the proper values into
20027 # config.h.in to produce config.h.
20029 # Create a delimiter string that does not exist in confdefs.h, to ease
20030 # handling of long lines.
20032 for ac_last_try in false false :; do
20033 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
20034 if test -z "$ac_tt"; then
20036 elif $ac_last_try; then
20037 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
20039 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20043 # For the awk script, D is an array of macro values keyed by name,
20044 # likewise P contains macro parameters if any. Preserve backslash
20045 # newline sequences.
20047 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20049 s/.\{148\}/&'"$ac_delim"'/g
20052 s/^[ ]*#[ ]*define[ ][ ]*/ /
20059 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20061 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20065 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20066 D["\
1"]=" \
3\\\\\\n
"\\/p
20068 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20073 s/.\{148\}/&'"$ac_delim"'/g
20078 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
20081 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
20083 ' <confdefs.h | sed '
20084 s/'"$ac_delim"'/"\\\
20085 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20088 for (key in D) D_is_set[key] = 1
20091 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20093 split(line, arg, " ")
20094 if (arg[1] == "#") {
20098 defundef
= substr
(arg
[1], 2)
20101 split(mac1
, mac2
, "(") #)
20103 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
20104 if (D_is_set
[macro
]) {
20105 # Preserve the white space surrounding the "#".
20106 print prefix
"define", macro P
[macro
] D
[macro
]
20109 # Replace #undef with comments. This is necessary, for example,
20110 # in the case of _POSIX_SOURCE, which is predefined and required
20111 # on some systems where configure will not decide to define it.
20112 if (defundef
== "undef") {
20113 print
"/*", prefix defundef
, macro
, "*/"
20121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20122 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
20123 fi # test -n "$CONFIG_HEADERS"
20126 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20131 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20133 case $ac_mode$ac_tag in
20135 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
20136 :[FH
]-) ac_tag
=-:-;;
20137 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20154 -) ac_f
="$ac_tmp/stdin";;
20155 *) # Look for the file first in the build tree, then in the source tree
20156 # (if the path is not absolute). The absolute path cannot be DOS-style,
20157 # because $ac_f cannot contain `:'.
20161 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20163 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20165 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20166 as_fn_append ac_file_inputs
" '$ac_f'"
20169 # Let's still pretend it is `configure' which instantiates (i.e., don't
20170 # use $as_me), people would be surprised to read:
20171 # /* config.h. Generated by config.status. */
20172 configure_input
='Generated from '`
20173 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20175 if test x
"$ac_file" != x-
; then
20176 configure_input
="$ac_file. $configure_input"
20177 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20178 $as_echo "$as_me: creating $ac_file" >&6;}
20180 # Neutralize special characters interpreted by sed in replacement strings.
20181 case $configure_input in #(
20182 *\
&* |
*\|
* |
*\\* )
20183 ac_sed_conf_input
=`$as_echo "$configure_input" |
20184 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20185 *) ac_sed_conf_input
=$configure_input;;
20189 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
20190 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
20195 ac_dir
=`$as_dirname -- "$ac_file" ||
20196 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20197 X"$ac_file" : 'X\(//\)[^/]' \| \
20198 X"$ac_file" : 'X\(//\)$' \| \
20199 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20200 $as_echo X"$ac_file" |
20201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20205 /^X\(\/\/\)[^/].*/{
20218 as_dir
="$ac_dir"; as_fn_mkdir_p
20222 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20224 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20225 # A ".." for each directory in $ac_dir_suffix.
20226 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20227 case $ac_top_builddir_sub in
20228 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20229 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20232 ac_abs_top_builddir
=$ac_pwd
20233 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20234 # for backward compatibility:
20235 ac_top_builddir
=$ac_top_build_prefix
20238 .
) # We are building in place.
20240 ac_top_srcdir
=$ac_top_builddir_sub
20241 ac_abs_top_srcdir
=$ac_pwd ;;
20242 [\\/]* | ?
:[\\/]* ) # Absolute name.
20243 ac_srcdir
=$srcdir$ac_dir_suffix;
20244 ac_top_srcdir
=$srcdir
20245 ac_abs_top_srcdir
=$srcdir ;;
20246 *) # Relative name.
20247 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20248 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20249 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20251 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20263 # If the template does not know about datarootdir, expand it.
20264 # FIXME: This hack should be removed a few years after 2.60.
20265 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20276 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20277 *datarootdir
*) ac_datarootdir_seen
=yes;;
20278 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20280 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20283 ac_datarootdir_hack='
20284 s&@datadir@&$datadir&g
20285 s&@docdir@&$docdir&g
20286 s&@infodir@&$infodir&g
20287 s&@localedir@&$localedir&g
20288 s&@mandir@&$mandir&g
20289 s&\\\${datarootdir}&$datarootdir&g' ;;
20293 # Neutralize VPATH when `$srcdir' = `.'.
20294 # Shell code in configure.ac might set extrasub.
20295 # FIXME: do we really want to maintain this feature?
20296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20297 ac_sed_extra="$ac_vpsub
20300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20302 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20303 s|@configure_input@|
$ac_sed_conf_input|
;t t
20304 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20305 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
20306 s
&@srcdir@
&$ac_srcdir&;t t
20307 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20308 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20309 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20310 s
&@builddir@
&$ac_builddir&;t t
20311 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20312 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20313 $ac_datarootdir_hack
20315 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
20316 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
20318 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20319 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
20320 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20321 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
20322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20323 which seems to be undefined. Please make sure it is defined" >&5
20324 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20325 which seems to be undefined. Please make sure it is defined" >&2;}
20327 rm -f "$ac_tmp/stdin"
20329 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20330 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20332 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20338 if test x"$ac_file" != x-; then
20340 $as_echo "/* $configure_input */" \
20341 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20342 } >"$ac_tmp/config.h" \
20343 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20344 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20346 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20349 mv "$ac_tmp/config.h" "$ac_file" \
20350 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20353 $as_echo "/* $configure_input */" \
20354 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20355 || as_fn_error $? "could not create -" "$LINENO" 5
20363 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
20366 # Prefer the file from the source tree if names are identical.
20367 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20368 ac_source=$srcdir/$ac_source
20371 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20372 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20374 if test ! -r "$ac_source"; then
20375 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20379 # Try a relative symlink, then a hard link, then a copy.
20381 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20382 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20384 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20385 ln "$ac_source" "$ac_file" 2>/dev/null ||
20386 cp -p "$ac_source" "$ac_file" ||
20387 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20390 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20391 $as_echo "$as_me: executing $ac_file commands" >&6;}
20396 case $ac_file$ac_mode in
20397 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20398 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20399 "Makefile":C) wine_fn_output_makefile Makefile ;;
20407 ac_clean_files=$ac_clean_files_save
20409 test $ac_write_fail = 0 ||
20410 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20413 # configure is writing to config.log, and then calls config.status.
20414 # config.status does its own redirection, appending to config.log.
20415 # Unfortunately, on DOS this fails, as config.log is still kept open
20416 # by configure, so config.status won't be able to
write to it
; its
20417 # output is simply discarded. So we exec the FD to /dev/null,
20418 # effectively closing config.log, so it can be properly (re)opened and
20419 # appended to by config.status. When coming back to configure, we
20420 # need to make the FD available again.
20421 if test "$no_create" != yes; then
20423 ac_config_status_args
=
20424 test "$silent" = yes &&
20425 ac_config_status_args
="$ac_config_status_args --quiet"
20427 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20429 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20430 # would make configure fail if this is the last instruction.
20431 $ac_cs_success || as_fn_exit
1
20433 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20435 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20439 if test "$no_create" = "yes"
20445 if test "x$wine_notices" != x
; then
20448 for msg
in $wine_notices; do
20450 if ${msg:+false} :; then :
20453 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20454 $as_echo "$as_me: $msg" >&6;}
20459 for msg
in $wine_warnings; do
20461 if ${msg:+false} :; then :
20465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20466 $as_echo "$as_me: WARNING: $msg" >&2;}
20472 $as_me: Finished. Do '${ac_make}' to compile Wine.