2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.19.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='1.9.19'
584 PACKAGE_STRING
='Wine 1.9.19'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
635 EXCESS_PRECISION_CFLAGS
706 APPLICATIONSERVICES_LIBS
801 program_transform_name
814 enable_option_checking
818 enable_maintainer_mode
877 enable_api_ms_win_core_apiquery_l1_1_0
878 enable_api_ms_win_core_atoms_l1_1_0
879 enable_api_ms_win_core_com_l1_1_0
880 enable_api_ms_win_core_com_l1_1_1
881 enable_api_ms_win_core_console_l1_1_0
882 enable_api_ms_win_core_console_l2_1_0
883 enable_api_ms_win_core_datetime_l1_1_0
884 enable_api_ms_win_core_datetime_l1_1_1
885 enable_api_ms_win_core_debug_l1_1_0
886 enable_api_ms_win_core_debug_l1_1_1
887 enable_api_ms_win_core_delayload_l1_1_0
888 enable_api_ms_win_core_delayload_l1_1_1
889 enable_api_ms_win_core_errorhandling_l1_1_0
890 enable_api_ms_win_core_errorhandling_l1_1_1
891 enable_api_ms_win_core_errorhandling_l1_1_2
892 enable_api_ms_win_core_fibers_l1_1_0
893 enable_api_ms_win_core_fibers_l1_1_1
894 enable_api_ms_win_core_file_l1_1_0
895 enable_api_ms_win_core_file_l1_2_0
896 enable_api_ms_win_core_file_l1_2_1
897 enable_api_ms_win_core_file_l2_1_0
898 enable_api_ms_win_core_file_l2_1_1
899 enable_api_ms_win_core_handle_l1_1_0
900 enable_api_ms_win_core_heap_l1_1_0
901 enable_api_ms_win_core_heap_l1_2_0
902 enable_api_ms_win_core_heap_obsolete_l1_1_0
903 enable_api_ms_win_core_interlocked_l1_1_0
904 enable_api_ms_win_core_interlocked_l1_2_0
905 enable_api_ms_win_core_io_l1_1_1
906 enable_api_ms_win_core_job_l1_1_0
907 enable_api_ms_win_core_job_l2_1_0
908 enable_api_ms_win_core_kernel32_legacy_l1_1_0
909 enable_api_ms_win_core_kernel32_legacy_l1_1_1
910 enable_api_ms_win_core_kernel32_private_l1_1_1
911 enable_api_ms_win_core_libraryloader_l1_1_0
912 enable_api_ms_win_core_libraryloader_l1_1_1
913 enable_api_ms_win_core_libraryloader_l1_2_0
914 enable_api_ms_win_core_localization_l1_1_0
915 enable_api_ms_win_core_localization_l1_2_0
916 enable_api_ms_win_core_localization_l1_2_1
917 enable_api_ms_win_core_localization_l2_1_0
918 enable_api_ms_win_core_localization_obsolete_l1_1_0
919 enable_api_ms_win_core_localization_obsolete_l1_2_0
920 enable_api_ms_win_core_localization_private_l1_1_0
921 enable_api_ms_win_core_localregistry_l1_1_0
922 enable_api_ms_win_core_memory_l1_1_0
923 enable_api_ms_win_core_memory_l1_1_1
924 enable_api_ms_win_core_memory_l1_1_2
925 enable_api_ms_win_core_misc_l1_1_0
926 enable_api_ms_win_core_namedpipe_l1_1_0
927 enable_api_ms_win_core_namedpipe_l1_2_0
928 enable_api_ms_win_core_namespace_l1_1_0
929 enable_api_ms_win_core_normalization_l1_1_0
930 enable_api_ms_win_core_path_l1_1_0
931 enable_api_ms_win_core_privateprofile_l1_1_1
932 enable_api_ms_win_core_processenvironment_l1_1_0
933 enable_api_ms_win_core_processenvironment_l1_2_0
934 enable_api_ms_win_core_processthreads_l1_1_0
935 enable_api_ms_win_core_processthreads_l1_1_1
936 enable_api_ms_win_core_processthreads_l1_1_2
937 enable_api_ms_win_core_profile_l1_1_0
938 enable_api_ms_win_core_psapi_l1_1_0
939 enable_api_ms_win_core_realtime_l1_1_0
940 enable_api_ms_win_core_registry_l1_1_0
941 enable_api_ms_win_core_registryuserspecific_l1_1_0
942 enable_api_ms_win_core_rtlsupport_l1_1_0
943 enable_api_ms_win_core_rtlsupport_l1_2_0
944 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
945 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
946 enable_api_ms_win_core_sidebyside_l1_1_0
947 enable_api_ms_win_core_string_l1_1_0
948 enable_api_ms_win_core_string_l2_1_0
949 enable_api_ms_win_core_string_obsolete_l1_1_0
950 enable_api_ms_win_core_stringansi_l1_1_0
951 enable_api_ms_win_core_synch_l1_1_0
952 enable_api_ms_win_core_synch_l1_2_0
953 enable_api_ms_win_core_sysinfo_l1_1_0
954 enable_api_ms_win_core_sysinfo_l1_2_0
955 enable_api_ms_win_core_sysinfo_l1_2_1
956 enable_api_ms_win_core_threadpool_l1_1_0
957 enable_api_ms_win_core_threadpool_l1_2_0
958 enable_api_ms_win_core_threadpool_legacy_l1_1_0
959 enable_api_ms_win_core_timezone_l1_1_0
960 enable_api_ms_win_core_toolhelp_l1_1_0
961 enable_api_ms_win_core_url_l1_1_0
962 enable_api_ms_win_core_util_l1_1_0
963 enable_api_ms_win_core_version_l1_1_0
964 enable_api_ms_win_core_versionansi_l1_1_0
965 enable_api_ms_win_core_windowserrorreporting_l1_1_0
966 enable_api_ms_win_core_winrt_error_l1_1_0
967 enable_api_ms_win_core_winrt_error_l1_1_1
968 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
969 enable_api_ms_win_core_winrt_l1_1_0
970 enable_api_ms_win_core_winrt_registration_l1_1_0
971 enable_api_ms_win_core_winrt_string_l1_1_0
972 enable_api_ms_win_core_wow64_l1_1_0
973 enable_api_ms_win_core_xstate_l2_1_0
974 enable_api_ms_win_crt_conio_l1_1_0
975 enable_api_ms_win_crt_convert_l1_1_0
976 enable_api_ms_win_crt_environment_l1_1_0
977 enable_api_ms_win_crt_filesystem_l1_1_0
978 enable_api_ms_win_crt_heap_l1_1_0
979 enable_api_ms_win_crt_locale_l1_1_0
980 enable_api_ms_win_crt_math_l1_1_0
981 enable_api_ms_win_crt_multibyte_l1_1_0
982 enable_api_ms_win_crt_private_l1_1_0
983 enable_api_ms_win_crt_process_l1_1_0
984 enable_api_ms_win_crt_runtime_l1_1_0
985 enable_api_ms_win_crt_stdio_l1_1_0
986 enable_api_ms_win_crt_string_l1_1_0
987 enable_api_ms_win_crt_time_l1_1_0
988 enable_api_ms_win_crt_utility_l1_1_0
989 enable_api_ms_win_downlevel_advapi32_l1_1_0
990 enable_api_ms_win_downlevel_advapi32_l2_1_0
991 enable_api_ms_win_downlevel_normaliz_l1_1_0
992 enable_api_ms_win_downlevel_ole32_l1_1_0
993 enable_api_ms_win_downlevel_shell32_l1_1_0
994 enable_api_ms_win_downlevel_shlwapi_l1_1_0
995 enable_api_ms_win_downlevel_shlwapi_l2_1_0
996 enable_api_ms_win_downlevel_user32_l1_1_0
997 enable_api_ms_win_downlevel_version_l1_1_0
998 enable_api_ms_win_eventing_classicprovider_l1_1_0
999 enable_api_ms_win_eventing_provider_l1_1_0
1000 enable_api_ms_win_eventlog_legacy_l1_1_0
1001 enable_api_ms_win_ntuser_dc_access_l1_1_0
1002 enable_api_ms_win_security_base_l1_1_0
1003 enable_api_ms_win_security_base_l1_2_0
1004 enable_api_ms_win_security_lsalookup_l1_1_0
1005 enable_api_ms_win_security_lsalookup_l1_1_1
1006 enable_api_ms_win_security_sddl_l1_1_0
1007 enable_api_ms_win_service_core_l1_1_1
1008 enable_api_ms_win_service_management_l1_1_0
1009 enable_api_ms_win_service_winsvc_l1_2_0
1010 enable_api_ms_win_shell_shellcom_l1_1_0
1011 enable_api_ms_win_shell_shellfolders_l1_1_0
1024 enable_bluetoothapis
1057 enable_d3dcompiler_33
1058 enable_d3dcompiler_34
1059 enable_d3dcompiler_35
1060 enable_d3dcompiler_36
1061 enable_d3dcompiler_37
1062 enable_d3dcompiler_38
1063 enable_d3dcompiler_39
1064 enable_d3dcompiler_40
1065 enable_d3dcompiler_41
1066 enable_d3dcompiler_42
1067 enable_d3dcompiler_43
1068 enable_d3dcompiler_46
1069 enable_d3dcompiler_47
1147 enable_explorerframe
1148 enable_ext_ms_win_gdi_devcaps_l1_1_0
1315 enable_photometadatahandler
1405 enable_windowscodecs
1406 enable_windowscodecsext
1409 enable_winecoreaudio_drv
1411 enable_winegstreamer
1412 enable_winejoystick_drv
1418 enable_winepulse_drv
1419 enable_wineqtdecoder
1488 enable_aspnet_regiis
1524 enable_presentationfontcache
1537 enable_servicemodelreg
1559 enable_winemenubuilder
1561 enable_winemsibuilder
1576 ac_precious_vars
='build_alias
1631 # Initialize some variables set by options.
1633 ac_init_version
=false
1634 ac_unrecognized_opts
=
1635 ac_unrecognized_sep
=
1636 # The variables have the same names as the options, with
1637 # dashes changed to underlines.
1638 cache_file
=/dev
/null
1645 program_transform_name
=s
,x
,x
,
1653 # Installation directory options.
1654 # These are left unexpanded so users can "make install exec_prefix=/foo"
1655 # and all the variables that are supposed to be based on exec_prefix
1656 # by default will actually change.
1657 # Use braces instead of parens because sh, perl, etc. also accept them.
1658 # (The list follows the same order as the GNU Coding Standards.)
1659 bindir
='${exec_prefix}/bin'
1660 sbindir
='${exec_prefix}/sbin'
1661 libexecdir
='${exec_prefix}/libexec'
1662 datarootdir
='${prefix}/share'
1663 datadir
='${datarootdir}'
1664 sysconfdir
='${prefix}/etc'
1665 sharedstatedir
='${prefix}/com'
1666 localstatedir
='${prefix}/var'
1667 runstatedir
='${localstatedir}/run'
1668 includedir
='${prefix}/include'
1669 oldincludedir
='/usr/include'
1670 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1671 infodir
='${datarootdir}/info'
1676 libdir
='${exec_prefix}/lib'
1677 localedir
='${datarootdir}/locale'
1678 mandir
='${datarootdir}/man'
1684 # If the previous option needs an argument, assign it.
1685 if test -n "$ac_prev"; then
1686 eval $ac_prev=\
$ac_option
1692 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1697 # Accept the important Cygnus configure options, so we can diagnose typos.
1699 case $ac_dashdash$ac_option in
1703 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1705 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1706 bindir
=$ac_optarg ;;
1708 -build |
--build |
--buil |
--bui |
--bu)
1709 ac_prev
=build_alias
;;
1710 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1711 build_alias
=$ac_optarg ;;
1713 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1714 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1715 ac_prev
=cache_file
;;
1716 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1717 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1718 cache_file
=$ac_optarg ;;
1720 --config-cache |
-C)
1721 cache_file
=config.cache
;;
1723 -datadir |
--datadir |
--datadi |
--datad)
1725 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1726 datadir
=$ac_optarg ;;
1728 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1729 |
--dataroo |
--dataro |
--datar)
1730 ac_prev
=datarootdir
;;
1731 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1732 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1733 datarootdir
=$ac_optarg ;;
1735 -disable-* |
--disable-*)
1736 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1737 # Reject names that are not valid shell variable names.
1738 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1739 as_fn_error $?
"invalid feature name: $ac_useropt"
1740 ac_useropt_orig
=$ac_useropt
1741 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1742 case $ac_user_opts in
1744 "enable_
$ac_useropt"
1746 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1747 ac_unrecognized_sep
=', ';;
1749 eval enable_
$ac_useropt=no
;;
1751 -docdir |
--docdir |
--docdi |
--doc |
--do)
1753 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1754 docdir
=$ac_optarg ;;
1756 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1758 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1759 dvidir
=$ac_optarg ;;
1761 -enable-* |
--enable-*)
1762 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1763 # Reject names that are not valid shell variable names.
1764 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1765 as_fn_error $?
"invalid feature name: $ac_useropt"
1766 ac_useropt_orig
=$ac_useropt
1767 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1768 case $ac_user_opts in
1770 "enable_
$ac_useropt"
1772 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1773 ac_unrecognized_sep
=', ';;
1775 eval enable_
$ac_useropt=\
$ac_optarg ;;
1777 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1778 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1779 |
--exec |
--exe |
--ex)
1780 ac_prev
=exec_prefix
;;
1781 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1782 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1783 |
--exec=* |
--exe=* |
--ex=*)
1784 exec_prefix
=$ac_optarg ;;
1786 -gas |
--gas |
--ga |
--g)
1787 # Obsolete; use --with-gas.
1790 -help |
--help |
--hel |
--he |
-h)
1791 ac_init_help
=long
;;
1792 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1793 ac_init_help
=recursive
;;
1794 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1795 ac_init_help
=short
;;
1797 -host |
--host |
--hos |
--ho)
1798 ac_prev
=host_alias
;;
1799 -host=* |
--host=* |
--hos=* |
--ho=*)
1800 host_alias
=$ac_optarg ;;
1802 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1804 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1806 htmldir
=$ac_optarg ;;
1808 -includedir |
--includedir |
--includedi |
--included |
--include \
1809 |
--includ |
--inclu |
--incl |
--inc)
1810 ac_prev
=includedir
;;
1811 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1812 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1813 includedir
=$ac_optarg ;;
1815 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1817 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1818 infodir
=$ac_optarg ;;
1820 -libdir |
--libdir |
--libdi |
--libd)
1822 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1823 libdir
=$ac_optarg ;;
1825 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1826 |
--libexe |
--libex |
--libe)
1827 ac_prev
=libexecdir
;;
1828 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1829 |
--libexe=* |
--libex=* |
--libe=*)
1830 libexecdir
=$ac_optarg ;;
1832 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1833 ac_prev
=localedir
;;
1834 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1835 localedir
=$ac_optarg ;;
1837 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1838 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1839 ac_prev
=localstatedir
;;
1840 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1841 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1842 localstatedir
=$ac_optarg ;;
1844 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1846 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1847 mandir
=$ac_optarg ;;
1849 -nfp |
--nfp |
--nf)
1850 # Obsolete; use --without-fp.
1853 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1854 |
--no-cr |
--no-c |
-n)
1857 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1858 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1861 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1862 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1863 |
--oldin |
--oldi |
--old |
--ol |
--o)
1864 ac_prev
=oldincludedir
;;
1865 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1866 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1867 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1868 oldincludedir
=$ac_optarg ;;
1870 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1872 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1873 prefix
=$ac_optarg ;;
1875 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1876 |
--program-pre |
--program-pr |
--program-p)
1877 ac_prev
=program_prefix
;;
1878 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1879 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1880 program_prefix
=$ac_optarg ;;
1882 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1883 |
--program-suf |
--program-su |
--program-s)
1884 ac_prev
=program_suffix
;;
1885 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1886 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1887 program_suffix
=$ac_optarg ;;
1889 -program-transform-name |
--program-transform-name \
1890 |
--program-transform-nam |
--program-transform-na \
1891 |
--program-transform-n |
--program-transform- \
1892 |
--program-transform |
--program-transfor \
1893 |
--program-transfo |
--program-transf \
1894 |
--program-trans |
--program-tran \
1895 |
--progr-tra |
--program-tr |
--program-t)
1896 ac_prev
=program_transform_name
;;
1897 -program-transform-name=* |
--program-transform-name=* \
1898 |
--program-transform-nam=* |
--program-transform-na=* \
1899 |
--program-transform-n=* |
--program-transform-=* \
1900 |
--program-transform=* |
--program-transfor=* \
1901 |
--program-transfo=* |
--program-transf=* \
1902 |
--program-trans=* |
--program-tran=* \
1903 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1904 program_transform_name
=$ac_optarg ;;
1906 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1908 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1909 pdfdir
=$ac_optarg ;;
1911 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1913 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1916 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1917 |
-silent |
--silent |
--silen |
--sile |
--sil)
1920 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1921 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1922 |
--run |
--ru |
--r)
1923 ac_prev
=runstatedir
;;
1924 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1925 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1926 |
--run=* |
--ru=* |
--r=*)
1927 runstatedir
=$ac_optarg ;;
1929 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1931 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1933 sbindir
=$ac_optarg ;;
1935 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1936 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1937 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1939 ac_prev
=sharedstatedir
;;
1940 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1941 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1942 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1944 sharedstatedir
=$ac_optarg ;;
1946 -site |
--site |
--sit)
1948 -site=* |
--site=* |
--sit=*)
1951 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1953 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1954 srcdir
=$ac_optarg ;;
1956 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1957 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1958 ac_prev
=sysconfdir
;;
1959 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1960 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1961 sysconfdir
=$ac_optarg ;;
1963 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1964 ac_prev
=target_alias
;;
1965 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1966 target_alias
=$ac_optarg ;;
1968 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1971 -version |
--version |
--versio |
--versi |
--vers |
-V)
1972 ac_init_version
=: ;;
1975 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1976 # Reject names that are not valid shell variable names.
1977 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1978 as_fn_error $?
"invalid package name: $ac_useropt"
1979 ac_useropt_orig
=$ac_useropt
1980 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1981 case $ac_user_opts in
1985 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1986 ac_unrecognized_sep
=', ';;
1988 eval with_
$ac_useropt=\
$ac_optarg ;;
1990 -without-* |
--without-*)
1991 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1992 # Reject names that are not valid shell variable names.
1993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1994 as_fn_error $?
"invalid package name: $ac_useropt"
1995 ac_useropt_orig
=$ac_useropt
1996 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1997 case $ac_user_opts in
2001 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2002 ac_unrecognized_sep
=', ';;
2004 eval with_
$ac_useropt=no
;;
2007 # Obsolete; use --with-x.
2010 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2011 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2012 ac_prev
=x_includes
;;
2013 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2014 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2015 x_includes
=$ac_optarg ;;
2017 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2018 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2019 ac_prev
=x_libraries
;;
2020 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2021 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2022 x_libraries
=$ac_optarg ;;
2024 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2025 Try \`$0 --help' for more information"
2029 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2030 # Reject names that are not valid shell variable names.
2031 case $ac_envvar in #(
2032 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2033 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2035 eval $ac_envvar=\
$ac_optarg
2036 export $ac_envvar ;;
2039 # FIXME: should be removed in autoconf 3.0.
2040 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2041 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2042 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2043 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2049 if test -n "$ac_prev"; then
2050 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2051 as_fn_error $?
"missing argument to $ac_option"
2054 if test -n "$ac_unrecognized_opts"; then
2055 case $enable_option_checking in
2057 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2058 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2062 # Check all directory arguments for consistency.
2063 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2064 datadir sysconfdir sharedstatedir localstatedir includedir \
2065 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2066 libdir localedir mandir runstatedir
2068 eval ac_val
=\$
$ac_var
2069 # Remove trailing slashes.
2072 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2073 eval $ac_var=\
$ac_val;;
2075 # Be sure to have absolute directory names.
2077 [\\/$
]* | ?
:[\\/]* ) continue;;
2078 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2080 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2083 # There might be people who depend on the old broken behavior: `$host'
2084 # used to hold the argument of --host etc.
2085 # FIXME: To remove some day.
2088 target
=$target_alias
2090 # FIXME: To remove some day.
2091 if test "x$host_alias" != x
; then
2092 if test "x$build_alias" = x
; then
2093 cross_compiling
=maybe
2094 elif test "x$build_alias" != "x$host_alias"; then
2100 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2102 test "$silent" = yes && exec 6>/dev
/null
2105 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2106 ac_ls_di
=`ls -di .` &&
2107 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2108 as_fn_error $?
"working directory cannot be determined"
2109 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2110 as_fn_error $?
"pwd does not report name of working directory"
2113 # Find the source files, if location was not specified.
2114 if test -z "$srcdir"; then
2115 ac_srcdir_defaulted
=yes
2116 # Try the directory containing this script, then the parent directory.
2117 ac_confdir
=`$as_dirname -- "$as_myself" ||
2118 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2119 X"$as_myself" : 'X\(//\)[^/]' \| \
2120 X"$as_myself" : 'X\(//\)$' \| \
2121 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2122 $as_echo X"$as_myself" |
2123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2141 if test ! -r "$srcdir/$ac_unique_file"; then
2145 ac_srcdir_defaulted
=no
2147 if test ! -r "$srcdir/$ac_unique_file"; then
2148 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2149 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2151 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2153 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2155 # When building in place, set srcdir=.
2156 if test "$ac_abs_confdir" = "$ac_pwd"; then
2159 # Remove unnecessary trailing slashes from srcdir.
2160 # Double slashes in file names in object file debugging info
2161 # mess up M-x gdb in Emacs.
2163 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2165 for ac_var
in $ac_precious_vars; do
2166 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2167 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2168 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2169 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2173 # Report the --help message.
2175 if test "$ac_init_help" = "long"; then
2176 # Omit some internal or obsolete options to make the list less imposing.
2177 # This message is too long to be a string in the A/UX 3.1 sh.
2179 \`configure' configures Wine 1.9.19 to adapt to many kinds of systems.
2181 Usage: $0 [OPTION]... [VAR=VALUE]...
2183 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2184 VAR=VALUE. See below for descriptions of some of the useful variables.
2186 Defaults for the options are specified in brackets.
2189 -h, --help display this help and exit
2190 --help=short display options specific to this package
2191 --help=recursive display the short help of all the included packages
2192 -V, --version display version information and exit
2193 -q, --quiet, --silent do not print \`checking ...' messages
2194 --cache-file=FILE cache test results in FILE [disabled]
2195 -C, --config-cache alias for \`--cache-file=config.cache'
2196 -n, --no-create do not create output files
2197 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2199 Installation directories:
2200 --prefix=PREFIX install architecture-independent files in PREFIX
2201 [$ac_default_prefix]
2202 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2205 By default, \`make install' will install all the files in
2206 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2207 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2208 for instance \`--prefix=\$HOME'.
2210 For better control, use the options below.
2212 Fine tuning of the installation directories:
2213 --bindir=DIR user executables [EPREFIX/bin]
2214 --sbindir=DIR system admin executables [EPREFIX/sbin]
2215 --libexecdir=DIR program executables [EPREFIX/libexec]
2216 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2217 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2218 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2219 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2220 --libdir=DIR object code libraries [EPREFIX/lib]
2221 --includedir=DIR C header files [PREFIX/include]
2222 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2223 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2224 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2225 --infodir=DIR info documentation [DATAROOTDIR/info]
2226 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2227 --mandir=DIR man documentation [DATAROOTDIR/man]
2228 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2229 --htmldir=DIR html documentation [DOCDIR]
2230 --dvidir=DIR dvi documentation [DOCDIR]
2231 --pdfdir=DIR pdf documentation [DOCDIR]
2232 --psdir=DIR ps documentation [DOCDIR]
2238 --x-includes=DIR X include files are
in DIR
2239 --x-libraries=DIR X library files are
in DIR
2242 --build=BUILD configure
for building on BUILD
[guessed
]
2243 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2247 if test -n "$ac_init_help"; then
2248 case $ac_init_help in
2249 short | recursive
) echo "Configuration of Wine 1.9.19:";;
2254 --disable-option-checking ignore unrecognized
--enable/--with options
2255 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2256 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2257 --disable-win16 do not include Win16 support
2258 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2260 --disable-tests do not build the regression tests
2261 --enable-maintainer-mode
2262 enable maintainer-specific build rules
2263 --disable-largefile omit support for large files
2266 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2267 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2268 --without-alsa do not use the Alsa sound support
2269 --without-capi do not use CAPI (ISDN support)
2270 --without-cms do not use CMS (color management support)
2271 --without-coreaudio do not use the CoreAudio sound support
2272 --without-cups do not use CUPS
2273 --without-curses do not use (n)curses
2274 --without-dbus do not use DBus (dynamic device support)
2275 --without-fontconfig do not use fontconfig
2276 --without-freetype do not use the FreeType library
2277 --without-gettext do not use gettext
2278 --with-gettextpo use the GetTextPO library to rebuild po files
2279 --without-gphoto do not use gphoto (Digital Camera support)
2280 --without-glu do not use the GLU library
2281 --without-gnutls do not use GnuTLS (schannel support)
2282 --without-gsm do not use libgsm (GSM 06.10 codec support)
2283 --without-gstreamer do not use GStreamer (codecs support)
2284 --without-hal do not use HAL (dynamic device support)
2285 --without-jpeg do not use JPEG
2286 --without-ldap do not use LDAP
2287 --without-mpg123 do not use the mpg123 library
2288 --without-netapi do not use the Samba NetAPI library
2289 --without-openal do not use OpenAL
2290 --without-opencl do not use OpenCL
2291 --without-opengl do not use OpenGL
2292 --without-osmesa do not use the OSMesa library
2293 --without-oss do not use the OSS sound support
2294 --without-pcap do not use the Packet Capture library
2295 --without-png do not use PNG
2296 --without-pthread do not use the pthread library
2297 --without-pulse do not use PulseAudio sound support
2298 --without-sane do not use SANE (scanner support)
2299 --without-tiff do not use TIFF
2300 --without-udev do not use udev (plug and play support)
2301 --without-v4l do not use v4l1 (v4l support)
2302 --without-xcomposite do not use the Xcomposite extension
2303 --without-xcursor do not use the Xcursor extension
2304 --without-xinerama do not use Xinerama (multi-monitor support)
2305 --without-xinput do not use the Xinput extension
2306 --without-xinput2 do not use the Xinput 2 extension
2307 --without-xml do not use XML
2308 --without-xrandr do not use Xrandr (resolution changes)
2309 --without-xrender do not use the Xrender extension
2310 --without-xshape do not use the Xshape extension
2311 --without-xshm do not use XShm (shared memory extension)
2312 --without-xslt do not use XSLT
2313 --without-xxf86vm do not use XFree video mode extension
2314 --without-zlib do not use Zlib (data compression)
2315 --with-wine-tools=DIR use Wine tools from directory DIR
2316 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2317 --with-x use the X Window System
2319 Some influential environment variables:
2320 CC C compiler command
2321 CFLAGS C compiler flags
2322 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2323 nonstandard directory <lib dir>
2324 LIBS libraries to pass to the linker, e.g. -l<library>
2325 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2326 you have headers in a nonstandard directory <include dir>
2327 CXX C++ compiler command
2328 CXXFLAGS C++ compiler flags
2330 XMKMF Path to xmkmf, Makefile generator for X Window System
2331 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2332 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2333 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2334 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2335 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2336 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2337 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2338 HAL_LIBS Linker flags for hal, overriding pkg-config
2340 C compiler flags for gnutls, overriding pkg-config
2341 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2342 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2343 SANE_LIBS Linker flags for libsane, overriding pkg-config
2345 C compiler flags for libgphoto2, overriding pkg-config
2347 Linker flags for libgphoto2, overriding pkg-config
2349 C compiler flags for libgphoto2_port, overriding pkg-config
2351 Linker flags for libgphoto2_port, overriding pkg-config
2353 C compiler flags for lcms2, overriding pkg-config
2354 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2356 C compiler flags for freetype2, overriding pkg-config
2358 Linker flags for freetype2, overriding pkg-config
2360 C compiler flags for libpulse, overriding pkg-config
2361 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2363 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2364 gstreamer-audio-1.0, overriding pkg-config
2366 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2367 gstreamer-audio-1.0, overriding pkg-config
2368 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2369 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2371 C compiler flags for capi20, overriding pkg-config
2372 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2374 C compiler flags for fontconfig, overriding pkg-config
2376 Linker flags for fontconfig, overriding pkg-config
2377 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2378 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2379 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2380 PNG_LIBS Linker flags for libpng, overriding pkg-config
2381 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2382 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2384 C compiler flags for libmpg123, overriding pkg-config
2385 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2387 C compiler flags for netapi, overriding pkg-config
2388 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2390 Use these variables to override the choices made by `configure' or to
help
2391 it to
find libraries and programs with nonstandard names
/locations.
2393 Report bugs to
<wine-devel@winehq.org
>.
2394 Wine home page
: <http
://www.winehq.org
>.
2399 if test "$ac_init_help" = "recursive"; then
2400 # If there are subdirs, report their specific --help.
2401 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2402 test -d "$ac_dir" ||
2403 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2408 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2410 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2411 # A ".." for each directory in $ac_dir_suffix.
2412 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2413 case $ac_top_builddir_sub in
2414 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2415 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2418 ac_abs_top_builddir
=$ac_pwd
2419 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2420 # for backward compatibility:
2421 ac_top_builddir
=$ac_top_build_prefix
2424 .
) # We are building in place.
2426 ac_top_srcdir
=$ac_top_builddir_sub
2427 ac_abs_top_srcdir
=$ac_pwd ;;
2428 [\\/]* | ?
:[\\/]* ) # Absolute name.
2429 ac_srcdir
=$srcdir$ac_dir_suffix;
2430 ac_top_srcdir
=$srcdir
2431 ac_abs_top_srcdir
=$srcdir ;;
2433 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2434 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2435 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2437 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2439 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2440 # Check for guested configure.
2441 if test -f "$ac_srcdir/configure.gnu"; then
2443 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2444 elif test -f "$ac_srcdir/configure"; then
2446 $SHELL "$ac_srcdir/configure" --help=recursive
2448 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2450 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2454 test -n "$ac_init_help" && exit $ac_status
2455 if $ac_init_version; then
2457 Wine configure
1.9.19
2458 generated by GNU Autoconf
2.69
2460 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2461 This configure
script is free software
; the Free Software Foundation
2462 gives unlimited permission to copy
, distribute and modify it.
2467 ## ------------------------ ##
2468 ## Autoconf initialization. ##
2469 ## ------------------------ ##
2471 # ac_fn_c_try_compile LINENO
2472 # --------------------------
2473 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2474 ac_fn_c_try_compile
()
2476 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2477 rm -f conftest.
$ac_objext
2478 if { { ac_try
="$ac_compile"
2480 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2481 *) ac_try_echo=$ac_try;;
2483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2484 $as_echo "$ac_try_echo"; } >&5
2485 (eval "$ac_compile") 2>conftest.err
2487 if test -s conftest.err; then
2488 grep -v '^ *+' conftest.err >conftest.er1
2489 cat conftest.er1 >&5
2490 mv -f conftest.er1 conftest.err
2492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2493 test $ac_status = 0; } && {
2494 test -z "$ac_c_werror_flag" ||
2495 test ! -s conftest.err
2496 } && test -s conftest.$ac_objext; then :
2499 $as_echo "$as_me: failed program was:" >&5
2500 sed 's/^/| /' conftest.$ac_ext >&5
2504 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2505 as_fn_set_status $ac_retval
2507 } # ac_fn_c_try_compile
2509 # ac_fn_cxx_try_compile LINENO
2510 # ----------------------------
2511 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2512 ac_fn_cxx_try_compile ()
2514 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2515 rm -f conftest.$ac_objext
2516 if { { ac_try="$ac_compile"
2518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2519 *) ac_try_echo
=$ac_try;;
2521 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2522 $as_echo "$ac_try_echo"; } >&5
2523 (eval "$ac_compile") 2>conftest.err
2525 if test -s conftest.err
; then
2526 grep -v '^ *+' conftest.err
>conftest.er1
2527 cat conftest.er1
>&5
2528 mv -f conftest.er1 conftest.err
2530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2531 test $ac_status = 0; } && {
2532 test -z "$ac_cxx_werror_flag" ||
2533 test ! -s conftest.err
2534 } && test -s conftest.
$ac_objext; then :
2537 $as_echo "$as_me: failed program was:" >&5
2538 sed 's/^/| /' conftest.
$ac_ext >&5
2542 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2543 as_fn_set_status
$ac_retval
2545 } # ac_fn_cxx_try_compile
2547 # ac_fn_c_try_link LINENO
2548 # -----------------------
2549 # Try to link conftest.$ac_ext, and return whether this succeeded.
2552 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2553 rm -f conftest.
$ac_objext conftest
$ac_exeext
2554 if { { ac_try
="$ac_link"
2556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2557 *) ac_try_echo=$ac_try;;
2559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2560 $as_echo "$ac_try_echo"; } >&5
2561 (eval "$ac_link") 2>conftest.err
2563 if test -s conftest.err; then
2564 grep -v '^ *+' conftest.err >conftest.er1
2565 cat conftest.er1 >&5
2566 mv -f conftest.er1 conftest.err
2568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2569 test $ac_status = 0; } && {
2570 test -z "$ac_c_werror_flag" ||
2571 test ! -s conftest.err
2572 } && test -s conftest$ac_exeext && {
2573 test "$cross_compiling" = yes ||
2574 test -x conftest$ac_exeext
2578 $as_echo "$as_me: failed program was:" >&5
2579 sed 's/^/| /' conftest.$ac_ext >&5
2583 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2584 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2585 # interfere with the next link command; also delete a directory that is
2586 # left behind by Apple's compiler. We do this before executing the actions.
2587 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2588 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2589 as_fn_set_status $ac_retval
2591 } # ac_fn_c_try_link
2593 # ac_fn_c_try_cpp LINENO
2594 # ----------------------
2595 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2599 if { { ac_try="$ac_cpp conftest.$ac_ext"
2601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2602 *) ac_try_echo
=$ac_try;;
2604 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2605 $as_echo "$ac_try_echo"; } >&5
2606 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2608 if test -s conftest.err
; then
2609 grep -v '^ *+' conftest.err
>conftest.er1
2610 cat conftest.er1
>&5
2611 mv -f conftest.er1 conftest.err
2613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2614 test $ac_status = 0; } > conftest.i
&& {
2615 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2616 test ! -s conftest.err
2620 $as_echo "$as_me: failed program was:" >&5
2621 sed 's/^/| /' conftest.
$ac_ext >&5
2625 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2626 as_fn_set_status
$ac_retval
2630 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2631 # -------------------------------------------------------
2632 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2633 # the include files in INCLUDES and setting the cache variable VAR
2635 ac_fn_c_check_header_mongrel
()
2637 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2638 if eval \
${$3+:} false
; then :
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2640 $as_echo_n "checking for $2... " >&6; }
2641 if eval \
${$3+:} false
; then :
2642 $as_echo_n "(cached) " >&6
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2646 $as_echo "$ac_res" >&6; }
2648 # Is the header compilable?
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2650 $as_echo_n "checking $2 usability... " >&6; }
2651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2652 /* end confdefs.h. */
2656 if ac_fn_c_try_compile
"$LINENO"; then :
2657 ac_header_compiler
=yes
2659 ac_header_compiler
=no
2661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2663 $as_echo "$ac_header_compiler" >&6; }
2665 # Is the header present?
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2667 $as_echo_n "checking $2 presence... " >&6; }
2668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2669 /* end confdefs.h. */
2672 if ac_fn_c_try_cpp
"$LINENO"; then :
2673 ac_header_preproc
=yes
2675 ac_header_preproc
=no
2677 rm -f conftest.err conftest.i conftest.
$ac_ext
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2679 $as_echo "$ac_header_preproc" >&6; }
2681 # So? What about this header?
2682 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2685 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2687 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2691 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2693 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2695 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2697 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2699 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2700 ( $as_echo "## ------------------------------------ ##
2701 ## Report this to wine-devel@winehq.org ##
2702 ## ------------------------------------ ##"
2703 ) |
sed "s/^/$as_me: WARNING: /" >&2
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2707 $as_echo_n "checking for $2... " >&6; }
2708 if eval \
${$3+:} false
; then :
2709 $as_echo_n "(cached) " >&6
2711 eval "$3=\$ac_header_compiler"
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2715 $as_echo "$ac_res" >&6; }
2717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2719 } # ac_fn_c_check_header_mongrel
2721 # ac_fn_c_try_run LINENO
2722 # ----------------------
2723 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2724 # that executables *can* be run.
2727 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2728 if { { ac_try
="$ac_link"
2730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2731 *) ac_try_echo=$ac_try;;
2733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2734 $as_echo "$ac_try_echo"; } >&5
2735 (eval "$ac_link") 2>&5
2737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2738 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2739 { { case "(($ac_try" in
2740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2741 *) ac_try_echo
=$ac_try;;
2743 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2744 $as_echo "$ac_try_echo"; } >&5
2745 (eval "$ac_try") 2>&5
2747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2748 test $ac_status = 0; }; }; then :
2751 $as_echo "$as_me: program exited with status $ac_status" >&5
2752 $as_echo "$as_me: failed program was:" >&5
2753 sed 's/^/| /' conftest.
$ac_ext >&5
2755 ac_retval
=$ac_status
2757 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2759 as_fn_set_status
$ac_retval
2763 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2764 # -------------------------------------------------------
2765 # Tests whether HEADER exists and can be compiled using the include files in
2766 # INCLUDES, setting the cache variable VAR accordingly.
2767 ac_fn_c_check_header_compile
()
2769 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2771 $as_echo_n "checking for $2... " >&6; }
2772 if eval \
${$3+:} false
; then :
2773 $as_echo_n "(cached) " >&6
2775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2776 /* end confdefs.h. */
2780 if ac_fn_c_try_compile
"$LINENO"; then :
2785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2789 $as_echo "$ac_res" >&6; }
2790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2792 } # ac_fn_c_check_header_compile
2794 # ac_fn_c_check_func LINENO FUNC VAR
2795 # ----------------------------------
2796 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2797 ac_fn_c_check_func
()
2799 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2801 $as_echo_n "checking for $2... " >&6; }
2802 if eval \
${$3+:} false
; then :
2803 $as_echo_n "(cached) " >&6
2805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2806 /* end confdefs.h. */
2807 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2809 #define $2 innocuous_$2
2811 /* System header to define __stub macros and hopefully few prototypes,
2812 which can conflict with char $2 (); below.
2813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2814 <limits.h> exists even on freestanding compilers. */
2817 # include <limits.h>
2819 # include <assert.h>
2824 /* Override any GCC internal prototype to avoid an error.
2825 Use char because int might match the return type of a GCC
2826 builtin and then its argument prototype would still apply. */
2831 /* The GNU C library defines this for functions which it implements
2832 to always fail with ENOSYS. Some functions are actually named
2833 something starting with __ and the normal name is an alias. */
2834 #if defined __stub_$2 || defined __stub___$2
2846 if ac_fn_c_try_link
"$LINENO"; then :
2851 rm -f core conftest.err conftest.
$ac_objext \
2852 conftest
$ac_exeext conftest.
$ac_ext
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2856 $as_echo "$ac_res" >&6; }
2857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2859 } # ac_fn_c_check_func
2861 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2862 # ----------------------------------------------------
2863 # Tries to find if the field MEMBER exists in type AGGR, after including
2864 # INCLUDES, setting cache variable VAR accordingly.
2865 ac_fn_c_check_member
()
2867 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2869 $as_echo_n "checking for $2.$3... " >&6; }
2870 if eval \
${$4+:} false
; then :
2871 $as_echo_n "(cached) " >&6
2873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2874 /* end confdefs.h. */
2886 if ac_fn_c_try_compile
"$LINENO"; then :
2889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2890 /* end confdefs.h. */
2896 if (sizeof ac_aggr.$3)
2902 if ac_fn_c_try_compile
"$LINENO"; then :
2907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2913 $as_echo "$ac_res" >&6; }
2914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2916 } # ac_fn_c_check_member
2918 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2919 # -------------------------------------------
2920 # Tests whether TYPE exists after having included INCLUDES, setting cache
2921 # variable VAR accordingly.
2922 ac_fn_c_check_type
()
2924 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2926 $as_echo_n "checking for $2... " >&6; }
2927 if eval \
${$3+:} false
; then :
2928 $as_echo_n "(cached) " >&6
2931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2932 /* end confdefs.h. */
2943 if ac_fn_c_try_compile
"$LINENO"; then :
2944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2945 /* end confdefs.h. */
2956 if ac_fn_c_try_compile
"$LINENO"; then :
2961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2967 $as_echo "$ac_res" >&6; }
2968 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2970 } # ac_fn_c_check_type
2971 cat >config.log
<<_ACEOF
2972 This file contains any messages produced by compilers while
2973 running configure, to aid debugging if configure makes a mistake.
2975 It was created by Wine $as_me 1.9.19, which was
2976 generated by GNU Autoconf 2.69. Invocation command line was
2988 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2989 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2990 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2991 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2992 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2994 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2995 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2997 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2998 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2999 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3000 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3001 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3002 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3003 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3011 test -z "$as_dir" && as_dir
=.
3012 $as_echo "PATH: $as_dir"
3028 # Keep a trace of the command line.
3029 # Strip out --no-create and --no-recursion so they do not pile up.
3030 # Strip out --silent because we don't want to record it for future runs.
3031 # Also quote any args containing shell meta-characters.
3032 # Make two passes to allow for proper duplicate-argument suppression.
3036 ac_must_keep_next
=false
3042 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3043 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3044 |
-silent |
--silent |
--silen |
--sile |
--sil)
3047 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3050 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3052 as_fn_append ac_configure_args1
" '$ac_arg'"
3053 if test $ac_must_keep_next = true
; then
3054 ac_must_keep_next
=false
# Got value, back to normal.
3057 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3058 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3059 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3060 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3061 case "$ac_configure_args0 " in
3062 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3065 -* ) ac_must_keep_next
=true
;;
3068 as_fn_append ac_configure_args
" '$ac_arg'"
3073 { ac_configure_args0
=; unset ac_configure_args0
;}
3074 { ac_configure_args1
=; unset ac_configure_args1
;}
3076 # When interrupted or exit'd, cleanup temporary files, and complete
3077 # config.log. We remove comments because anyway the quotes in there
3078 # would cause problems or look ugly.
3079 # WARNING: Use '\'' to represent an apostrophe within the trap.
3080 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3081 trap 'exit_status=$?
3082 # Save into config.log some information that might help in debugging.
3086 $as_echo "## ---------------- ##
3087 ## Cache variables. ##
3088 ## ---------------- ##"
3090 # The following way of writing the cache mishandles newlines in values,
3092 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3093 eval ac_val=\$$ac_var
3097 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3098 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3101 _ | IFS | as_nl) ;; #(
3102 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3103 *) { eval $ac_var=; unset $ac_var;} ;;
3108 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3109 *${as_nl}ac_space=\ *)
3111 "s/'\''/'\''\\\\'\'''\''/g;
3112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3115 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3122 $as_echo "## ----------------- ##
3123 ## Output variables. ##
3124 ## ----------------- ##"
3126 for ac_var in $ac_subst_vars
3128 eval ac_val=\$$ac_var
3130 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3132 $as_echo "$ac_var='\''$ac_val'\''"
3136 if test -n "$ac_subst_files"; then
3137 $as_echo "## ------------------- ##
3138 ## File substitutions. ##
3139 ## ------------------- ##"
3141 for ac_var
in $ac_subst_files
3143 eval ac_val
=\$
$ac_var
3145 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3147 $as_echo "$ac_var='\''$ac_val'\''"
3152 if test -s confdefs.h; then
3153 $as_echo "## ----------- ##
3160 test "$ac_signal" != 0 &&
3161 $as_echo "$as_me: caught signal $ac_signal"
3162 $as_echo "$as_me: exit $exit_status"
3164 rm -f core *.core core.conftest.* &&
3165 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3168 for ac_signal
in 1 2 13 15; do
3169 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3173 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3174 rm -f -r conftest
* confdefs.h
3176 $as_echo "/* confdefs.h */" > confdefs.h
3178 # Predefined preprocessor variables.
3180 cat >>confdefs.h
<<_ACEOF
3181 #define PACKAGE_NAME "$PACKAGE_NAME"
3184 cat >>confdefs.h
<<_ACEOF
3185 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3188 cat >>confdefs.h
<<_ACEOF
3189 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3192 cat >>confdefs.h
<<_ACEOF
3193 #define PACKAGE_STRING "$PACKAGE_STRING"
3196 cat >>confdefs.h
<<_ACEOF
3197 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3200 cat >>confdefs.h
<<_ACEOF
3201 #define PACKAGE_URL "$PACKAGE_URL"
3205 # Let the site file select an alternate cache file if it wants to.
3206 # Prefer an explicitly selected file to automatically selected ones.
3209 if test -n "$CONFIG_SITE"; then
3210 # We do not want a PATH search for config.site.
3211 case $CONFIG_SITE in #((
3212 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3213 */*) ac_site_file1
=$CONFIG_SITE;;
3214 *) ac_site_file1
=.
/$CONFIG_SITE;;
3216 elif test "x$prefix" != xNONE
; then
3217 ac_site_file1
=$prefix/share
/config.site
3218 ac_site_file2
=$prefix/etc
/config.site
3220 ac_site_file1
=$ac_default_prefix/share
/config.site
3221 ac_site_file2
=$ac_default_prefix/etc
/config.site
3223 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3225 test "x$ac_site_file" = xNONE
&& continue
3226 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3228 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3229 sed 's/^/| /' "$ac_site_file" >&5
3231 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3233 as_fn_error $?
"failed to load site script $ac_site_file
3234 See \`config.log' for more details" "$LINENO" 5; }
3238 if test -r "$cache_file"; then
3239 # Some versions of bash will fail to source /dev/null (special files
3240 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3241 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3243 $as_echo "$as_me: loading cache $cache_file" >&6;}
3245 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3246 *) .
"./$cache_file";;
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3251 $as_echo "$as_me: creating cache $cache_file" >&6;}
3255 # Check that the precious variables saved in the cache have kept the same
3257 ac_cache_corrupted
=false
3258 for ac_var
in $ac_precious_vars; do
3259 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3260 eval ac_new_set
=\
$ac_env_${ac_var}_set
3261 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3262 eval ac_new_val
=\
$ac_env_${ac_var}_value
3263 case $ac_old_set,$ac_new_set in
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3266 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3267 ac_cache_corrupted
=: ;;
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3270 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3271 ac_cache_corrupted
=: ;;
3274 if test "x$ac_old_val" != "x$ac_new_val"; then
3275 # differences in whitespace do not lead to failure.
3276 ac_old_val_w
=`echo x $ac_old_val`
3277 ac_new_val_w
=`echo x $ac_new_val`
3278 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3280 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3281 ac_cache_corrupted
=:
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3284 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3285 eval $ac_var=\
$ac_old_val
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3288 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3290 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3293 # Pass precious variables to config.status.
3294 if test "$ac_new_set" = set; then
3296 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3297 *) ac_arg
=$ac_var=$ac_new_val ;;
3299 case " $ac_configure_args " in
3300 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3301 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3305 if $ac_cache_corrupted; then
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3309 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3310 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3312 ## -------------------- ##
3313 ## Main body of script. ##
3314 ## -------------------- ##
3317 ac_cpp
='$CPP $CPPFLAGS'
3318 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3319 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3320 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3324 ac_config_headers
="$ac_config_headers include/config.h"
3327 for ac_dir
in tools
"$srcdir"/tools
; do
3328 if test -f "$ac_dir/install-sh"; then
3330 ac_install_sh
="$ac_aux_dir/install-sh -c"
3332 elif test -f "$ac_dir/install.sh"; then
3334 ac_install_sh
="$ac_aux_dir/install.sh -c"
3336 elif test -f "$ac_dir/shtool"; then
3338 ac_install_sh
="$ac_aux_dir/shtool install -c"
3342 if test -z "$ac_aux_dir"; then
3343 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3346 # These three variables are undocumented and unsupported,
3347 # and are intended to be withdrawn in a future Autoconf release.
3348 # They can cause serious problems if a builder's source tree is in a directory
3349 # whose full name contains unusual characters.
3350 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3351 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3352 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3356 libwine_version
="1.0"
3360 # Check whether --enable-win16 was given.
3361 if test "${enable_win16+set}" = set; then :
3362 enableval
=$enable_win16;
3365 # Check whether --enable-win64 was given.
3366 if test "${enable_win64+set}" = set; then :
3367 enableval
=$enable_win64;
3370 # Check whether --enable-tests was given.
3371 if test "${enable_tests+set}" = set; then :
3372 enableval
=$enable_tests;
3375 # Check whether --enable-maintainer-mode was given.
3376 if test "${enable_maintainer_mode+set}" = set; then :
3377 enableval
=$enable_maintainer_mode;
3382 # Check whether --with-alsa was given.
3383 if test "${with_alsa+set}" = set; then :
3384 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3388 # Check whether --with-capi was given.
3389 if test "${with_capi+set}" = set; then :
3394 # Check whether --with-cms was given.
3395 if test "${with_cms+set}" = set; then :
3400 # Check whether --with-coreaudio was given.
3401 if test "${with_coreaudio+set}" = set; then :
3402 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3406 # Check whether --with-cups was given.
3407 if test "${with_cups+set}" = set; then :
3412 # Check whether --with-curses was given.
3413 if test "${with_curses+set}" = set; then :
3414 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3418 # Check whether --with-dbus was given.
3419 if test "${with_dbus+set}" = set; then :
3424 # Check whether --with-fontconfig was given.
3425 if test "${with_fontconfig+set}" = set; then :
3426 withval
=$with_fontconfig;
3430 # Check whether --with-freetype was given.
3431 if test "${with_freetype+set}" = set; then :
3432 withval
=$with_freetype;
3436 # Check whether --with-gettext was given.
3437 if test "${with_gettext+set}" = set; then :
3438 withval
=$with_gettext;
3442 # Check whether --with-gettextpo was given.
3443 if test "${with_gettextpo+set}" = set; then :
3444 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3448 # Check whether --with-gphoto was given.
3449 if test "${with_gphoto+set}" = set; then :
3450 withval
=$with_gphoto;
3454 # Check whether --with-glu was given.
3455 if test "${with_glu+set}" = set; then :
3460 # Check whether --with-gnutls was given.
3461 if test "${with_gnutls+set}" = set; then :
3462 withval
=$with_gnutls;
3466 # Check whether --with-gsm was given.
3467 if test "${with_gsm+set}" = set; then :
3468 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3472 # Check whether --with-gstreamer was given.
3473 if test "${with_gstreamer+set}" = set; then :
3474 withval
=$with_gstreamer;
3478 # Check whether --with-hal was given.
3479 if test "${with_hal+set}" = set; then :
3484 # Check whether --with-jpeg was given.
3485 if test "${with_jpeg+set}" = set; then :
3490 # Check whether --with-ldap was given.
3491 if test "${with_ldap+set}" = set; then :
3492 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3496 # Check whether --with-mpg123 was given.
3497 if test "${with_mpg123+set}" = set; then :
3498 withval
=$with_mpg123;
3502 # Check whether --with-netapi was given.
3503 if test "${with_netapi+set}" = set; then :
3504 withval
=$with_netapi;
3508 # Check whether --with-openal was given.
3509 if test "${with_openal+set}" = set; then :
3510 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3514 # Check whether --with-opencl was given.
3515 if test "${with_opencl+set}" = set; then :
3516 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3520 # Check whether --with-opengl was given.
3521 if test "${with_opengl+set}" = set; then :
3522 withval
=$with_opengl;
3526 # Check whether --with-osmesa was given.
3527 if test "${with_osmesa+set}" = set; then :
3528 withval
=$with_osmesa;
3532 # Check whether --with-oss was given.
3533 if test "${with_oss+set}" = set; then :
3538 # Check whether --with-pcap was given.
3539 if test "${with_pcap+set}" = set; then :
3540 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3544 # Check whether --with-png was given.
3545 if test "${with_png+set}" = set; then :
3550 # Check whether --with-pthread was given.
3551 if test "${with_pthread+set}" = set; then :
3552 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3556 # Check whether --with-pulse was given.
3557 if test "${with_pulse+set}" = set; then :
3558 withval
=$with_pulse;
3562 # Check whether --with-sane was given.
3563 if test "${with_sane+set}" = set; then :
3568 # Check whether --with-tiff was given.
3569 if test "${with_tiff+set}" = set; then :
3574 # Check whether --with-udev was given.
3575 if test "${with_udev+set}" = set; then :
3580 # Check whether --with-v4l was given.
3581 if test "${with_v4l+set}" = set; then :
3586 # Check whether --with-xcomposite was given.
3587 if test "${with_xcomposite+set}" = set; then :
3588 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3592 # Check whether --with-xcursor was given.
3593 if test "${with_xcursor+set}" = set; then :
3594 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3598 # Check whether --with-xinerama was given.
3599 if test "${with_xinerama+set}" = set; then :
3600 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3604 # Check whether --with-xinput was given.
3605 if test "${with_xinput+set}" = set; then :
3606 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3610 # Check whether --with-xinput2 was given.
3611 if test "${with_xinput2+set}" = set; then :
3612 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3616 # Check whether --with-xml was given.
3617 if test "${with_xml+set}" = set; then :
3622 # Check whether --with-xrandr was given.
3623 if test "${with_xrandr+set}" = set; then :
3624 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3628 # Check whether --with-xrender was given.
3629 if test "${with_xrender+set}" = set; then :
3630 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3634 # Check whether --with-xshape was given.
3635 if test "${with_xshape+set}" = set; then :
3636 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3640 # Check whether --with-xshm was given.
3641 if test "${with_xshm+set}" = set; then :
3642 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3646 # Check whether --with-xslt was given.
3647 if test "${with_xslt+set}" = set; then :
3652 # Check whether --with-xxf86vm was given.
3653 if test "${with_xxf86vm+set}" = set; then :
3654 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
3658 # Check whether --with-zlib was given.
3659 if test "${with_zlib+set}" = set; then :
3660 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3665 # Check whether --with-wine-tools was given.
3666 if test "${with_wine_tools+set}" = set; then :
3667 withval
=$with_wine_tools;
3671 # Check whether --with-wine64 was given.
3672 if test "${with_wine64+set}" = set; then :
3673 withval
=$with_wine64;
3677 # Make sure we can run config.sub.
3678 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3679 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3682 $as_echo_n "checking build system type... " >&6; }
3683 if ${ac_cv_build+:} false
; then :
3684 $as_echo_n "(cached) " >&6
3686 ac_build_alias
=$build_alias
3687 test "x$ac_build_alias" = x
&&
3688 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3689 test "x$ac_build_alias" = x
&&
3690 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3691 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3692 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3696 $as_echo "$ac_cv_build" >&6; }
3697 case $ac_cv_build in
3699 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3702 ac_save_IFS
=$IFS; IFS
='-'
3708 # Remember, the first character of IFS is used to create $*,
3709 # except with old shells:
3712 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3716 $as_echo_n "checking host system type... " >&6; }
3717 if ${ac_cv_host+:} false
; then :
3718 $as_echo_n "(cached) " >&6
3720 if test "x$host_alias" = x
; then
3721 ac_cv_host
=$ac_cv_build
3723 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3724 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3729 $as_echo "$ac_cv_host" >&6; }
3732 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3735 ac_save_IFS
=$IFS; IFS
='-'
3741 # Remember, the first character of IFS is used to create $*,
3742 # except with old shells:
3745 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3751 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3752 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3753 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3759 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3761 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3762 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3763 $as_echo_n "(cached) " >&6
3765 cat >conftest.
make <<\_ACEOF
3768 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3770 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3771 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3773 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3775 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3779 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3781 $as_echo "yes" >&6; }
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3785 $as_echo "no" >&6; }
3786 SET_MAKE
="MAKE=${MAKE-make}"
3790 ac_cpp
='$CPP $CPPFLAGS'
3791 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3792 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3793 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3794 if test -n "$ac_tool_prefix"; then
3795 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3796 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3798 $as_echo_n "checking for $ac_word... " >&6; }
3799 if ${ac_cv_prog_CC+:} false
; then :
3800 $as_echo_n "(cached) " >&6
3802 if test -n "$CC"; then
3803 ac_cv_prog_CC
="$CC" # Let the user override the test.
3805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3809 test -z "$as_dir" && as_dir
=.
3810 for ac_exec_ext
in '' $ac_executable_extensions; do
3811 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3812 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3823 if test -n "$CC"; then
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3825 $as_echo "$CC" >&6; }
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828 $as_echo "no" >&6; }
3833 if test -z "$ac_cv_prog_CC"; then
3835 # Extract the first word of "gcc", so it can be a program name with args.
3836 set dummy gcc
; ac_word
=$2
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3838 $as_echo_n "checking for $ac_word... " >&6; }
3839 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3840 $as_echo_n "(cached) " >&6
3842 if test -n "$ac_ct_CC"; then
3843 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3849 test -z "$as_dir" && as_dir
=.
3850 for ac_exec_ext
in '' $ac_executable_extensions; do
3851 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3852 ac_cv_prog_ac_ct_CC
="gcc"
3853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3862 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3863 if test -n "$ac_ct_CC"; then
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3865 $as_echo "$ac_ct_CC" >&6; }
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3868 $as_echo "no" >&6; }
3871 if test "x$ac_ct_CC" = x
; then
3874 case $cross_compiling:$ac_tool_warned in
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3878 ac_tool_warned
=yes ;;
3886 if test -z "$CC"; then
3887 if test -n "$ac_tool_prefix"; then
3888 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3889 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3891 $as_echo_n "checking for $ac_word... " >&6; }
3892 if ${ac_cv_prog_CC+:} false
; then :
3893 $as_echo_n "(cached) " >&6
3895 if test -n "$CC"; then
3896 ac_cv_prog_CC
="$CC" # Let the user override the test.
3898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3902 test -z "$as_dir" && as_dir
=.
3903 for ac_exec_ext
in '' $ac_executable_extensions; do
3904 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3905 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3916 if test -n "$CC"; then
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3918 $as_echo "$CC" >&6; }
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3921 $as_echo "no" >&6; }
3927 if test -z "$CC"; then
3928 # Extract the first word of "cc", so it can be a program name with args.
3929 set dummy cc
; ac_word
=$2
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3931 $as_echo_n "checking for $ac_word... " >&6; }
3932 if ${ac_cv_prog_CC+:} false
; then :
3933 $as_echo_n "(cached) " >&6
3935 if test -n "$CC"; then
3936 ac_cv_prog_CC
="$CC" # Let the user override the test.
3939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3943 test -z "$as_dir" && as_dir
=.
3944 for ac_exec_ext
in '' $ac_executable_extensions; do
3945 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3946 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3947 ac_prog_rejected
=yes
3951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 if test $ac_prog_rejected = yes; then
3959 # We found a bogon in the path, so make sure we never use it.
3960 set dummy
$ac_cv_prog_CC
3962 if test $# != 0; then
3963 # We chose a different compiler from the bogus one.
3964 # However, it has the same basename, so the bogon will be chosen
3965 # first if we set CC to just the basename; use the full file name.
3967 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3973 if test -n "$CC"; then
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3975 $as_echo "$CC" >&6; }
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3978 $as_echo "no" >&6; }
3983 if test -z "$CC"; then
3984 if test -n "$ac_tool_prefix"; then
3985 for ac_prog
in cl.exe
3987 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3988 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3990 $as_echo_n "checking for $ac_word... " >&6; }
3991 if ${ac_cv_prog_CC+:} false
; then :
3992 $as_echo_n "(cached) " >&6
3994 if test -n "$CC"; then
3995 ac_cv_prog_CC
="$CC" # Let the user override the test.
3997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4001 test -z "$as_dir" && as_dir
=.
4002 for ac_exec_ext
in '' $ac_executable_extensions; do
4003 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4004 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4015 if test -n "$CC"; then
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4017 $as_echo "$CC" >&6; }
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4020 $as_echo "no" >&6; }
4024 test -n "$CC" && break
4027 if test -z "$CC"; then
4029 for ac_prog
in cl.exe
4031 # Extract the first word of "$ac_prog", so it can be a program name with args.
4032 set dummy
$ac_prog; ac_word
=$2
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4034 $as_echo_n "checking for $ac_word... " >&6; }
4035 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4036 $as_echo_n "(cached) " >&6
4038 if test -n "$ac_ct_CC"; then
4039 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4045 test -z "$as_dir" && as_dir
=.
4046 for ac_exec_ext
in '' $ac_executable_extensions; do
4047 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4048 ac_cv_prog_ac_ct_CC
="$ac_prog"
4049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4058 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4059 if test -n "$ac_ct_CC"; then
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4061 $as_echo "$ac_ct_CC" >&6; }
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4064 $as_echo "no" >&6; }
4068 test -n "$ac_ct_CC" && break
4071 if test "x$ac_ct_CC" = x
; then
4074 case $cross_compiling:$ac_tool_warned in
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4078 ac_tool_warned
=yes ;;
4087 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4089 as_fn_error $?
"no acceptable C compiler found in \$PATH
4090 See \`config.log' for more details" "$LINENO" 5; }
4092 # Provide some information about the compiler.
4093 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4096 for ac_option
in --version -v -V -qversion; do
4097 { { ac_try
="$ac_compiler $ac_option >&5"
4099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4100 *) ac_try_echo=$ac_try;;
4102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4103 $as_echo "$ac_try_echo"; } >&5
4104 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4106 if test -s conftest.err; then
4108 ... rest of stderr output deleted ...
4109 10q' conftest.err >conftest.er1
4110 cat conftest.er1 >&5
4112 rm -f conftest.er1 conftest.err
4113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4114 test $ac_status = 0; }
4117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4118 /* end confdefs.h. */
4128 ac_clean_files_save=$ac_clean_files
4129 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4130 # Try to create an executable without -o first, disregard a.out.
4131 # It will help us diagnose broken compilers, and finding out an intuition
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4134 $as_echo_n "checking whether the C compiler works... " >&6; }
4135 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4137 # The possible output files:
4138 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4141 for ac_file in $ac_files
4144 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4145 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4150 if { { ac_try="$ac_link_default"
4152 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4153 *) ac_try_echo
=$ac_try;;
4155 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4156 $as_echo "$ac_try_echo"; } >&5
4157 (eval "$ac_link_default") 2>&5
4159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4160 test $ac_status = 0; }; then :
4161 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4162 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4163 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4164 # so that the user can short-circuit this test for compilers unknown to
4166 for ac_file
in $ac_files ''
4168 test -f "$ac_file" ||
continue
4170 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4173 # We found the default executable, but exeext='' is most
4177 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4179 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4181 # We set ac_cv_exeext here because the later test for it is not
4182 # safe: cross compilers may not add the suffix if given an `-o'
4183 # argument, so we may need to know it at that point already.
4184 # Even if this section looks crufty: it has the advantage of
4191 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4196 if test -z "$ac_file"; then :
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4198 $as_echo "no" >&6; }
4199 $as_echo "$as_me: failed program was:" >&5
4200 sed 's/^/| /' conftest.
$ac_ext >&5
4202 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4204 as_fn_error
77 "C compiler cannot create executables
4205 See \`config.log' for more details" "$LINENO" 5; }
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4208 $as_echo "yes" >&6; }
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4211 $as_echo_n "checking for C compiler default output file name... " >&6; }
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4213 $as_echo "$ac_file" >&6; }
4214 ac_exeext
=$ac_cv_exeext
4216 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4217 ac_clean_files
=$ac_clean_files_save
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4219 $as_echo_n "checking for suffix of executables... " >&6; }
4220 if { { ac_try
="$ac_link"
4222 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4223 *) ac_try_echo=$ac_try;;
4225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4226 $as_echo "$ac_try_echo"; } >&5
4227 (eval "$ac_link") 2>&5
4229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4230 test $ac_status = 0; }; then :
4231 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4232 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4233 # work properly (i.e., refer to `conftest.exe'), while it won't with
4235 for ac_file
in conftest.exe conftest conftest.
*; do
4236 test -f "$ac_file" ||
continue
4238 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4239 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4247 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4248 See \`config.log' for more details" "$LINENO" 5; }
4250 rm -f conftest conftest
$ac_cv_exeext
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4252 $as_echo "$ac_cv_exeext" >&6; }
4254 rm -f conftest.
$ac_ext
4255 EXEEXT
=$ac_cv_exeext
4257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4258 /* end confdefs.h. */
4263 FILE *f = fopen ("conftest.out", "w");
4264 return ferror (f) || fclose (f) != 0;
4270 ac_clean_files
="$ac_clean_files conftest.out"
4271 # Check that the compiler produces executables we can run. If not, either
4272 # the compiler is broken, or we cross compile.
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4274 $as_echo_n "checking whether we are cross compiling... " >&6; }
4275 if test "$cross_compiling" != yes; then
4276 { { ac_try
="$ac_link"
4278 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4279 *) ac_try_echo=$ac_try;;
4281 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4282 $as_echo "$ac_try_echo"; } >&5
4283 (eval "$ac_link") 2>&5
4285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4286 test $ac_status = 0; }
4287 if { ac_try='./conftest$ac_cv_exeext'
4288 { { case "(($ac_try" in
4289 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4290 *) ac_try_echo
=$ac_try;;
4292 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4293 $as_echo "$ac_try_echo"; } >&5
4294 (eval "$ac_try") 2>&5
4296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4297 test $ac_status = 0; }; }; then
4300 if test "$cross_compiling" = maybe
; then
4303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4305 as_fn_error $?
"cannot run C compiled programs.
4306 If you meant to cross compile, use \`--host'.
4307 See \`config.log' for more details" "$LINENO" 5; }
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4312 $as_echo "$cross_compiling" >&6; }
4314 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4315 ac_clean_files
=$ac_clean_files_save
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4317 $as_echo_n "checking for suffix of object files... " >&6; }
4318 if ${ac_cv_objext+:} false
; then :
4319 $as_echo_n "(cached) " >&6
4321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4322 /* end confdefs.h. */
4332 rm -f conftest.o conftest.obj
4333 if { { ac_try
="$ac_compile"
4335 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4336 *) ac_try_echo=$ac_try;;
4338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4339 $as_echo "$ac_try_echo"; } >&5
4340 (eval "$ac_compile") 2>&5
4342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4343 test $ac_status = 0; }; then :
4344 for ac_file in conftest.o conftest.obj conftest.*; do
4345 test -f "$ac_file" || continue;
4347 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4348 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4353 $as_echo "$as_me: failed program was:" >&5
4354 sed 's/^/| /' conftest.$ac_ext >&5
4356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4358 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4359 See \
`config.log' for more details" "$LINENO" 5; }
4361 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4364 $as_echo "$ac_cv_objext" >&6; }
4365 OBJEXT=$ac_cv_objext
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4368 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4369 if ${ac_cv_c_compiler_gnu+:} false; then :
4370 $as_echo_n "(cached) " >&6
4372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4373 /* end confdefs.h. */
4386 if ac_fn_c_try_compile "$LINENO"; then :
4391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4392 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4396 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4397 if test $ac_compiler_gnu = yes; then
4402 ac_test_CFLAGS=${CFLAGS+set}
4403 ac_save_CFLAGS=$CFLAGS
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4405 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4406 if ${ac_cv_prog_cc_g+:} false; then :
4407 $as_echo_n "(cached) " >&6
4409 ac_save_c_werror_flag=$ac_c_werror_flag
4410 ac_c_werror_flag=yes
4413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4414 /* end confdefs.h. */
4424 if ac_fn_c_try_compile "$LINENO"; then :
4428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4429 /* end confdefs.h. */
4439 if ac_fn_c_try_compile "$LINENO"; then :
4442 ac_c_werror_flag=$ac_save_c_werror_flag
4444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4445 /* end confdefs.h. */
4455 if ac_fn_c_try_compile "$LINENO"; then :
4458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4463 ac_c_werror_flag=$ac_save_c_werror_flag
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4466 $as_echo "$ac_cv_prog_cc_g" >&6; }
4467 if test "$ac_test_CFLAGS" = set; then
4468 CFLAGS=$ac_save_CFLAGS
4469 elif test $ac_cv_prog_cc_g = yes; then
4470 if test "$GCC" = yes; then
4476 if test "$GCC" = yes; then
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4483 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4484 if ${ac_cv_prog_cc_c89+:} false; then :
4485 $as_echo_n "(cached) " >&6
4487 ac_cv_prog_cc_c89=no
4489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4490 /* end confdefs.h. */
4494 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4495 struct buf { int x; };
4496 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4497 static char *e (p, i)
4503 static char *f (char * (*g) (char **, int), char **p, ...)
4508 s = g (p, va_arg (v,int));
4513 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4514 function prototypes and stuff, but not '\xHH' hex character constants.
4515 These don't provoke an error unfortunately, instead are silently treated
4516 as 'x'. The following induces an error, until -std is added to get
4517 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4518 array size at least. It's necessary to write '\x00'==0 to get something
4519 that's true only with -std. */
4520 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4522 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4523 inside strings and character constants. */
4525 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4527 int test (int i, double x);
4528 struct s1 {int (*f) (int a);};
4529 struct s2 {int (*f) (double a);};
4530 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4536 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4541 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4542 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4544 CC="$ac_save_CC $ac_arg"
4545 if ac_fn_c_try_compile "$LINENO"; then :
4546 ac_cv_prog_cc_c89=$ac_arg
4548 rm -f core conftest.err conftest.$ac_objext
4549 test "x$ac_cv_prog_cc_c89" != "xno" && break
4551 rm -f conftest.$ac_ext
4556 case "x$ac_cv_prog_cc_c89" in
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4559 $as_echo "none needed" >&6; } ;;
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4562 $as_echo "unsupported" >&6; } ;;
4564 CC="$CC $ac_cv_prog_cc_c89"
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4566 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4568 if test "x$ac_cv_prog_cc_c89" != xno; then :
4573 ac_cpp='$CPP $CPPFLAGS'
4574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4579 ac_cpp='$CXXCPP $CPPFLAGS'
4580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4583 if test -z "$CXX"; then
4584 if test -n "$CCC"; then
4587 if test -n "$ac_tool_prefix"; then
4588 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4590 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4591 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4593 $as_echo_n "checking for $ac_word... " >&6; }
4594 if ${ac_cv_prog_CXX+:} false; then :
4595 $as_echo_n "(cached) " >&6
4597 if test -n "$CXX"; then
4598 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4604 test -z "$as_dir" && as_dir=.
4605 for ac_exec_ext in '' $ac_executable_extensions; do
4606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4607 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4618 if test -n "$CXX"; then
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4620 $as_echo "$CXX" >&6; }
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4623 $as_echo "no" >&6; }
4627 test -n "$CXX" && break
4630 if test -z "$CXX"; then
4632 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4634 # Extract the first word of "$ac_prog", so it can be a program name with args.
4635 set dummy $ac_prog; ac_word=$2
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4637 $as_echo_n "checking for $ac_word... " >&6; }
4638 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4639 $as_echo_n "(cached) " >&6
4641 if test -n "$ac_ct_CXX"; then
4642 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4648 test -z "$as_dir" && as_dir=.
4649 for ac_exec_ext in '' $ac_executable_extensions; do
4650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4651 ac_cv_prog_ac_ct_CXX="$ac_prog"
4652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4661 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4662 if test -n "$ac_ct_CXX"; then
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4664 $as_echo "$ac_ct_CXX" >&6; }
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4667 $as_echo "no" >&6; }
4671 test -n "$ac_ct_CXX" && break
4674 if test "x$ac_ct_CXX" = x; then
4677 case $cross_compiling:$ac_tool_warned in
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4681 ac_tool_warned=yes ;;
4689 # Provide some information about the compiler.
4690 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4693 for ac_option in --version -v -V -qversion; do
4694 { { ac_try="$ac_compiler $ac_option >&5"
4696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4697 *) ac_try_echo
=$ac_try;;
4699 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4700 $as_echo "$ac_try_echo"; } >&5
4701 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4703 if test -s conftest.err
; then
4705 ... rest of stderr output deleted ...
4706 10q' conftest.err
>conftest.er1
4707 cat conftest.er1
>&5
4709 rm -f conftest.er1 conftest.err
4710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4711 test $ac_status = 0; }
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4715 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4716 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4717 $as_echo_n "(cached) " >&6
4719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h. */
4733 if ac_fn_cxx_try_compile
"$LINENO"; then :
4738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4739 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4743 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4744 if test $ac_compiler_gnu = yes; then
4749 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4750 ac_save_CXXFLAGS
=$CXXFLAGS
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4752 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4753 if ${ac_cv_prog_cxx_g+:} false
; then :
4754 $as_echo_n "(cached) " >&6
4756 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4757 ac_cxx_werror_flag
=yes
4760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4771 if ac_fn_cxx_try_compile
"$LINENO"; then :
4772 ac_cv_prog_cxx_g
=yes
4775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4786 if ac_fn_cxx_try_compile
"$LINENO"; then :
4789 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4792 /* end confdefs.h. */
4802 if ac_fn_cxx_try_compile
"$LINENO"; then :
4803 ac_cv_prog_cxx_g
=yes
4805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4809 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4810 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4813 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4814 if test "$ac_test_CXXFLAGS" = set; then
4815 CXXFLAGS
=$ac_save_CXXFLAGS
4816 elif test $ac_cv_prog_cxx_g = yes; then
4817 if test "$GXX" = yes; then
4823 if test "$GXX" = yes; then
4830 ac_cpp
='$CPP $CPPFLAGS'
4831 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4832 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4833 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4835 if test -n "$ac_tool_prefix"; then
4836 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4837 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4839 $as_echo_n "checking for $ac_word... " >&6; }
4840 if ${ac_cv_prog_CPPBIN+:} false
; then :
4841 $as_echo_n "(cached) " >&6
4843 if test -n "$CPPBIN"; then
4844 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4850 test -z "$as_dir" && as_dir
=.
4851 for ac_exec_ext
in '' $ac_executable_extensions; do
4852 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4853 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4863 CPPBIN
=$ac_cv_prog_CPPBIN
4864 if test -n "$CPPBIN"; then
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4866 $as_echo "$CPPBIN" >&6; }
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4869 $as_echo "no" >&6; }
4874 if test -z "$ac_cv_prog_CPPBIN"; then
4875 ac_ct_CPPBIN
=$CPPBIN
4876 # Extract the first word of "cpp", so it can be a program name with args.
4877 set dummy cpp
; ac_word
=$2
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4879 $as_echo_n "checking for $ac_word... " >&6; }
4880 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4881 $as_echo_n "(cached) " >&6
4883 if test -n "$ac_ct_CPPBIN"; then
4884 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4890 test -z "$as_dir" && as_dir
=.
4891 for ac_exec_ext
in '' $ac_executable_extensions; do
4892 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4893 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4903 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4904 if test -n "$ac_ct_CPPBIN"; then
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4906 $as_echo "$ac_ct_CPPBIN" >&6; }
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4909 $as_echo "no" >&6; }
4912 if test "x$ac_ct_CPPBIN" = x
; then
4915 case $cross_compiling:$ac_tool_warned in
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4919 ac_tool_warned
=yes ;;
4921 CPPBIN
=$ac_ct_CPPBIN
4924 CPPBIN
="$ac_cv_prog_CPPBIN"
4928 cat >>confdefs.h
<<_ACEOF
4929 #define EXEEXT "$ac_exeext"
4932 if test -n "$ac_tool_prefix"; then
4933 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4934 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4936 $as_echo_n "checking for $ac_word... " >&6; }
4937 if ${ac_cv_prog_LD+:} false
; then :
4938 $as_echo_n "(cached) " >&6
4940 if test -n "$LD"; then
4941 ac_cv_prog_LD
="$LD" # Let the user override the test.
4943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4947 test -z "$as_dir" && as_dir
=.
4948 for ac_exec_ext
in '' $ac_executable_extensions; do
4949 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4950 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4961 if test -n "$LD"; then
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4963 $as_echo "$LD" >&6; }
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966 $as_echo "no" >&6; }
4971 if test -z "$ac_cv_prog_LD"; then
4973 # Extract the first word of "ld", so it can be a program name with args.
4974 set dummy ld
; ac_word
=$2
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4976 $as_echo_n "checking for $ac_word... " >&6; }
4977 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4978 $as_echo_n "(cached) " >&6
4980 if test -n "$ac_ct_LD"; then
4981 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4987 test -z "$as_dir" && as_dir
=.
4988 for ac_exec_ext
in '' $ac_executable_extensions; do
4989 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4990 ac_cv_prog_ac_ct_LD
="ld"
4991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5000 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5001 if test -n "$ac_ct_LD"; then
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5003 $as_echo "$ac_ct_LD" >&6; }
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5006 $as_echo "no" >&6; }
5009 if test "x$ac_ct_LD" = x
; then
5012 case $cross_compiling:$ac_tool_warned in
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5016 ac_tool_warned
=yes ;;
5027 with_fontconfig
=${with_fontconfig:-no}
5029 *-mingw32*|
*-cygwin*)
5030 enable_win16
=${enable_win16:-no}
5031 CFLAGS
="$CFLAGS -D_WIN32"
5037 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5042 $as_echo_n "checking whether $CC works... " >&6; }
5044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5045 /* end confdefs.h. */
5055 if ac_fn_c_try_link
"$LINENO"; then :
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5057 $as_echo "yes" >&6; }
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060 $as_echo "no" >&6; }
5061 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5063 rm -f core conftest.err conftest.
$ac_objext \
5064 conftest
$ac_exeext conftest.
$ac_ext
5066 notice_platform
="32-bit "
5069 enable_win16
=${enable_win16:-yes}
5071 if test "x${GCC}" = "xyes"
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5074 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5076 /* end confdefs.h. */
5081 void func(__builtin_ms_va_list *args);
5086 if ac_fn_c_try_compile
"$LINENO"; then :
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5088 $as_echo "yes" >&6; }
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5091 $as_echo "no" >&6; }
5092 as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5099 notice_platform
="64-bit "
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5106 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5108 /* end confdefs.h. */
5109 int ac_test(int i) { return i; }
5113 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5118 if ac_fn_c_try_link
"$LINENO"; then :
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5120 $as_echo "yes" >&6; }
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5123 $as_echo "no" >&6; }
5124 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5126 rm -f core conftest.err conftest.
$ac_objext \
5127 conftest
$ac_exeext conftest.
$ac_ext
5128 CFLAGS
="$CFLAGS -marm"
5133 enable_win16
=${enable_win16:-yes}
5137 enable_win16
=${enable_win16:-no}
5138 enable_win64
=${enable_win64:-no}
5140 enable_winetest
=${enable_winetest:-$enable_tests}
5142 if test -n "$with_wine64"
5144 if test "x$enable_win64" = "xyes"
5146 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5147 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5149 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5150 You should create a separate build directory and run configure from there." "$LINENO" 5
5151 enable_fonts
=${enable_fonts:-no}
5152 enable_server
=${enable_server:-no}
5153 elif test "x$enable_win64" = "xyes"
5155 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5159 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5160 if ${wine_cv_toolsdir+:} false
; then :
5161 $as_echo_n "(cached) " >&6
5163 wine_cv_toolsdir
="$with_wine_tools"
5164 if test -z "$with_wine_tools"; then
5165 if test "$cross_compiling" = "yes"; then
5166 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5167 elif test -n "$with_wine64"; then
5168 wine_cv_toolsdir
="$with_wine64"
5171 if test -z "$wine_cv_toolsdir"; then
5172 wine_makedep
=tools
/makedep
5173 wine_cv_toolsdir
="\$(top_builddir)"
5174 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5175 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5176 case "$wine_cv_toolsdir" in
5178 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5180 enable_tools
=${enable_tools:-no}
5181 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5183 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5187 $as_echo "$wine_cv_toolsdir" >&6; }
5188 TOOLSDIR
=$wine_cv_toolsdir
5190 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5192 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5198 # Extract the first word of "$ac_prog", so it can be a program name with args.
5199 set dummy
$ac_prog; ac_word
=$2
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5201 $as_echo_n "checking for $ac_word... " >&6; }
5202 if ${ac_cv_prog_FLEX+:} false
; then :
5203 $as_echo_n "(cached) " >&6
5205 if test -n "$FLEX"; then
5206 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5212 test -z "$as_dir" && as_dir
=.
5213 for ac_exec_ext
in '' $ac_executable_extensions; do
5214 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5215 ac_cv_prog_FLEX
="$ac_prog"
5216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5225 FLEX
=$ac_cv_prog_FLEX
5226 if test -n "$FLEX"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5228 $as_echo "$FLEX" >&6; }
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 $as_echo "no" >&6; }
5235 test -n "$FLEX" && break
5237 test -n "$FLEX" || FLEX
="none"
5239 if test "$FLEX" = "none"
5241 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5244 $as_echo_n "checking whether flex is recent enough... " >&6; }
5245 cat >conftest.l
<<EOF
5247 #include "prediluvian.h"
5251 if $FLEX -t conftest.l
>/dev
/null
2>&5
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5254 $as_echo "yes" >&6; }
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5258 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5261 for ac_prog
in bison
5263 # Extract the first word of "$ac_prog", so it can be a program name with args.
5264 set dummy
$ac_prog; ac_word
=$2
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5266 $as_echo_n "checking for $ac_word... " >&6; }
5267 if ${ac_cv_prog_BISON+:} false
; then :
5268 $as_echo_n "(cached) " >&6
5270 if test -n "$BISON"; then
5271 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5277 test -z "$as_dir" && as_dir
=.
5278 for ac_exec_ext
in '' $ac_executable_extensions; do
5279 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5280 ac_cv_prog_BISON
="$ac_prog"
5281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5290 BISON
=$ac_cv_prog_BISON
5291 if test -n "$BISON"; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5293 $as_echo "$BISON" >&6; }
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5300 test -n "$BISON" && break
5302 test -n "$BISON" || BISON
="none"
5304 if test "$BISON" = "none"
5306 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5309 if test -n "$ac_tool_prefix"; then
5310 for ac_prog
in ar gar
5312 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5313 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5315 $as_echo_n "checking for $ac_word... " >&6; }
5316 if ${ac_cv_prog_AR+:} false
; then :
5317 $as_echo_n "(cached) " >&6
5319 if test -n "$AR"; then
5320 ac_cv_prog_AR
="$AR" # Let the user override the test.
5322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5326 test -z "$as_dir" && as_dir
=.
5327 for ac_exec_ext
in '' $ac_executable_extensions; do
5328 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5329 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5340 if test -n "$AR"; then
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5342 $as_echo "$AR" >&6; }
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5345 $as_echo "no" >&6; }
5349 test -n "$AR" && break
5352 if test -z "$AR"; then
5354 for ac_prog
in ar gar
5356 # Extract the first word of "$ac_prog", so it can be a program name with args.
5357 set dummy
$ac_prog; ac_word
=$2
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5359 $as_echo_n "checking for $ac_word... " >&6; }
5360 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5361 $as_echo_n "(cached) " >&6
5363 if test -n "$ac_ct_AR"; then
5364 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5370 test -z "$as_dir" && as_dir
=.
5371 for ac_exec_ext
in '' $ac_executable_extensions; do
5372 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5373 ac_cv_prog_ac_ct_AR
="$ac_prog"
5374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5383 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5384 if test -n "$ac_ct_AR"; then
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5386 $as_echo "$ac_ct_AR" >&6; }
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5389 $as_echo "no" >&6; }
5393 test -n "$ac_ct_AR" && break
5396 if test "x$ac_ct_AR" = x
; then
5399 case $cross_compiling:$ac_tool_warned in
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5403 ac_tool_warned
=yes ;;
5409 if test -n "$ac_tool_prefix"; then
5410 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5411 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5413 $as_echo_n "checking for $ac_word... " >&6; }
5414 if ${ac_cv_prog_STRIP+:} false
; then :
5415 $as_echo_n "(cached) " >&6
5417 if test -n "$STRIP"; then
5418 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5424 test -z "$as_dir" && as_dir
=.
5425 for ac_exec_ext
in '' $ac_executable_extensions; do
5426 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5427 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 STRIP
=$ac_cv_prog_STRIP
5438 if test -n "$STRIP"; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5440 $as_echo "$STRIP" >&6; }
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5443 $as_echo "no" >&6; }
5448 if test -z "$ac_cv_prog_STRIP"; then
5450 # Extract the first word of "strip", so it can be a program name with args.
5451 set dummy strip
; ac_word
=$2
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5453 $as_echo_n "checking for $ac_word... " >&6; }
5454 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5455 $as_echo_n "(cached) " >&6
5457 if test -n "$ac_ct_STRIP"; then
5458 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5464 test -z "$as_dir" && as_dir
=.
5465 for ac_exec_ext
in '' $ac_executable_extensions; do
5466 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5467 ac_cv_prog_ac_ct_STRIP
="strip"
5468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5477 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5478 if test -n "$ac_ct_STRIP"; then
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5480 $as_echo "$ac_ct_STRIP" >&6; }
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5483 $as_echo "no" >&6; }
5486 if test "x$ac_ct_STRIP" = x
; then
5489 case $cross_compiling:$ac_tool_warned in
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5492 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5493 ac_tool_warned
=yes ;;
5498 STRIP
="$ac_cv_prog_STRIP"
5503 if test -n "$ac_tool_prefix"; then
5504 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5505 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5507 $as_echo_n "checking for $ac_word... " >&6; }
5508 if ${ac_cv_prog_RANLIB+:} false
; then :
5509 $as_echo_n "(cached) " >&6
5511 if test -n "$RANLIB"; then
5512 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5518 test -z "$as_dir" && as_dir
=.
5519 for ac_exec_ext
in '' $ac_executable_extensions; do
5520 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5521 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5531 RANLIB
=$ac_cv_prog_RANLIB
5532 if test -n "$RANLIB"; then
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5534 $as_echo "$RANLIB" >&6; }
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5537 $as_echo "no" >&6; }
5542 if test -z "$ac_cv_prog_RANLIB"; then
5543 ac_ct_RANLIB
=$RANLIB
5544 # Extract the first word of "ranlib", so it can be a program name with args.
5545 set dummy ranlib
; ac_word
=$2
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5547 $as_echo_n "checking for $ac_word... " >&6; }
5548 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5549 $as_echo_n "(cached) " >&6
5551 if test -n "$ac_ct_RANLIB"; then
5552 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5558 test -z "$as_dir" && as_dir
=.
5559 for ac_exec_ext
in '' $ac_executable_extensions; do
5560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5561 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5571 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5572 if test -n "$ac_ct_RANLIB"; then
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5574 $as_echo "$ac_ct_RANLIB" >&6; }
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5577 $as_echo "no" >&6; }
5580 if test "x$ac_ct_RANLIB" = x
; then
5583 case $cross_compiling:$ac_tool_warned in
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5587 ac_tool_warned
=yes ;;
5589 RANLIB
=$ac_ct_RANLIB
5592 RANLIB
="$ac_cv_prog_RANLIB"
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5596 $as_echo_n "checking whether ln -s works... " >&6; }
5598 if test "$LN_S" = "ln -s"; then
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5600 $as_echo "yes" >&6; }
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5603 $as_echo "no, using $LN_S" >&6; }
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5607 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5608 if ${ac_cv_path_GREP+:} false
; then :
5609 $as_echo_n "(cached) " >&6
5611 if test -z "$GREP"; then
5612 ac_path_GREP_found
=false
5613 # Loop through the user's path and test for each of PROGNAME-LIST
5614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5615 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5618 test -z "$as_dir" && as_dir
=.
5619 for ac_prog
in grep ggrep
; do
5620 for ac_exec_ext
in '' $ac_executable_extensions; do
5621 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5622 as_fn_executable_p
"$ac_path_GREP" ||
continue
5623 # Check for GNU ac_path_GREP and select it if it is found.
5624 # Check for GNU $ac_path_GREP
5625 case `"$ac_path_GREP" --version 2>&1` in
5627 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5630 $as_echo_n 0123456789 >"conftest.in"
5633 cat "conftest.in" "conftest.in" >"conftest.tmp"
5634 mv "conftest.tmp" "conftest.in"
5635 cp "conftest.in" "conftest.nl"
5636 $as_echo 'GREP' >> "conftest.nl"
5637 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5638 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5639 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5640 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5641 # Best one so far, save it but keep looking for a better one
5642 ac_cv_path_GREP
="$ac_path_GREP"
5643 ac_path_GREP_max
=$ac_count
5645 # 10*(2^10) chars as input seems more than enough
5646 test $ac_count -gt 10 && break
5648 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5651 $ac_path_GREP_found && break 3
5656 if test -z "$ac_cv_path_GREP"; then
5657 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5660 ac_cv_path_GREP
=$GREP
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5665 $as_echo "$ac_cv_path_GREP" >&6; }
5666 GREP
="$ac_cv_path_GREP"
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5670 $as_echo_n "checking for egrep... " >&6; }
5671 if ${ac_cv_path_EGREP+:} false
; then :
5672 $as_echo_n "(cached) " >&6
5674 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5675 then ac_cv_path_EGREP
="$GREP -E"
5677 if test -z "$EGREP"; then
5678 ac_path_EGREP_found
=false
5679 # Loop through the user's path and test for each of PROGNAME-LIST
5680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5681 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5684 test -z "$as_dir" && as_dir
=.
5685 for ac_prog
in egrep; do
5686 for ac_exec_ext
in '' $ac_executable_extensions; do
5687 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5688 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5689 # Check for GNU ac_path_EGREP and select it if it is found.
5690 # Check for GNU $ac_path_EGREP
5691 case `"$ac_path_EGREP" --version 2>&1` in
5693 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5696 $as_echo_n 0123456789 >"conftest.in"
5699 cat "conftest.in" "conftest.in" >"conftest.tmp"
5700 mv "conftest.tmp" "conftest.in"
5701 cp "conftest.in" "conftest.nl"
5702 $as_echo 'EGREP' >> "conftest.nl"
5703 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5704 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5705 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5706 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5707 # Best one so far, save it but keep looking for a better one
5708 ac_cv_path_EGREP
="$ac_path_EGREP"
5709 ac_path_EGREP_max
=$ac_count
5711 # 10*(2^10) chars as input seems more than enough
5712 test $ac_count -gt 10 && break
5714 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5717 $ac_path_EGREP_found && break 3
5722 if test -z "$ac_cv_path_EGREP"; then
5723 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5726 ac_cv_path_EGREP
=$EGREP
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5732 $as_echo "$ac_cv_path_EGREP" >&6; }
5733 EGREP
="$ac_cv_path_EGREP"
5736 # Extract the first word of "ldconfig", so it can be a program name with args.
5737 set dummy ldconfig
; ac_word
=$2
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5739 $as_echo_n "checking for $ac_word... " >&6; }
5740 if ${ac_cv_path_LDCONFIG+:} false
; then :
5741 $as_echo_n "(cached) " >&6
5745 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5749 for as_dir
in /sbin
/usr
/sbin
$PATH
5752 test -z "$as_dir" && as_dir
=.
5753 for ac_exec_ext
in '' $ac_executable_extensions; do
5754 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5755 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5763 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5767 LDCONFIG
=$ac_cv_path_LDCONFIG
5768 if test -n "$LDCONFIG"; then
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5770 $as_echo "$LDCONFIG" >&6; }
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5773 $as_echo "no" >&6; }
5777 for ac_prog
in msgfmt
5779 # Extract the first word of "$ac_prog", so it can be a program name with args.
5780 set dummy
$ac_prog; ac_word
=$2
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5782 $as_echo_n "checking for $ac_word... " >&6; }
5783 if ${ac_cv_prog_MSGFMT+:} false
; then :
5784 $as_echo_n "(cached) " >&6
5786 if test -n "$MSGFMT"; then
5787 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5793 test -z "$as_dir" && as_dir
=.
5794 for ac_exec_ext
in '' $ac_executable_extensions; do
5795 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5796 ac_cv_prog_MSGFMT
="$ac_prog"
5797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5806 MSGFMT
=$ac_cv_prog_MSGFMT
5807 if test -n "$MSGFMT"; then
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5809 $as_echo "$MSGFMT" >&6; }
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5812 $as_echo "no" >&6; }
5816 test -n "$MSGFMT" && break
5818 test -n "$MSGFMT" || MSGFMT
="false"
5820 if ${ac_tool_prefix+:} false
; then :
5821 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5822 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5824 $as_echo_n "checking for $ac_word... " >&6; }
5825 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5826 $as_echo_n "(cached) " >&6
5828 if test -n "$PKG_CONFIG"; then
5829 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5835 test -z "$as_dir" && as_dir
=.
5836 for ac_exec_ext
in '' $ac_executable_extensions; do
5837 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5838 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5848 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5849 if test -n "$PKG_CONFIG"; then
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5851 $as_echo "$PKG_CONFIG" >&6; }
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5854 $as_echo "no" >&6; }
5859 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5860 if test "x$cross_compiling" = xyes
; then :
5863 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5864 # Extract the first word of "pkg-config", so it can be a program name with args.
5865 set dummy pkg-config
; ac_word
=$2
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5867 $as_echo_n "checking for $ac_word... " >&6; }
5868 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5869 $as_echo_n "(cached) " >&6
5871 if test -n "$PKG_CONFIG"; then
5872 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5878 test -z "$as_dir" && as_dir
=.
5879 for ac_exec_ext
in '' $ac_executable_extensions; do
5880 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5881 ac_cv_prog_PKG_CONFIG
="pkg-config"
5882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5891 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5892 if test -n "$PKG_CONFIG"; then
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5894 $as_echo "$PKG_CONFIG" >&6; }
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897 $as_echo "no" >&6; }
5903 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5906 if test "x$enable_maintainer_mode" != "xyes"
5913 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5914 for ac_prog
in fontforge
5916 # Extract the first word of "$ac_prog", so it can be a program name with args.
5917 set dummy
$ac_prog; ac_word
=$2
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5919 $as_echo_n "checking for $ac_word... " >&6; }
5920 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5921 $as_echo_n "(cached) " >&6
5923 if test -n "$FONTFORGE"; then
5924 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5930 test -z "$as_dir" && as_dir
=.
5931 for ac_exec_ext
in '' $ac_executable_extensions; do
5932 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5933 ac_cv_prog_FONTFORGE
="$ac_prog"
5934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5943 FONTFORGE
=$ac_cv_prog_FONTFORGE
5944 if test -n "$FONTFORGE"; then
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5946 $as_echo "$FONTFORGE" >&6; }
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5949 $as_echo "no" >&6; }
5953 test -n "$FONTFORGE" && break
5955 test -n "$FONTFORGE" || FONTFORGE
="false"
5957 for ac_prog
in rsvg-convert rsvg
5959 # Extract the first word of "$ac_prog", so it can be a program name with args.
5960 set dummy
$ac_prog; ac_word
=$2
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5962 $as_echo_n "checking for $ac_word... " >&6; }
5963 if ${ac_cv_prog_RSVG+:} false
; then :
5964 $as_echo_n "(cached) " >&6
5966 if test -n "$RSVG"; then
5967 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5973 test -z "$as_dir" && as_dir
=.
5974 for ac_exec_ext
in '' $ac_executable_extensions; do
5975 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5976 ac_cv_prog_RSVG
="$ac_prog"
5977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5986 RSVG
=$ac_cv_prog_RSVG
5987 if test -n "$RSVG"; then
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5989 $as_echo "$RSVG" >&6; }
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5992 $as_echo "no" >&6; }
5996 test -n "$RSVG" && break
5998 test -n "$RSVG" || RSVG
="false"
6000 for ac_prog
in convert
6002 # Extract the first word of "$ac_prog", so it can be a program name with args.
6003 set dummy
$ac_prog; ac_word
=$2
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6005 $as_echo_n "checking for $ac_word... " >&6; }
6006 if ${ac_cv_prog_CONVERT+:} false
; then :
6007 $as_echo_n "(cached) " >&6
6009 if test -n "$CONVERT"; then
6010 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
6012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6016 test -z "$as_dir" && as_dir
=.
6017 for ac_exec_ext
in '' $ac_executable_extensions; do
6018 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6019 ac_cv_prog_CONVERT
="$ac_prog"
6020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6029 CONVERT
=$ac_cv_prog_CONVERT
6030 if test -n "$CONVERT"; then
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6032 $as_echo "$CONVERT" >&6; }
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6035 $as_echo "no" >&6; }
6039 test -n "$CONVERT" && break
6041 test -n "$CONVERT" || CONVERT
="false"
6043 for ac_prog
in icotool
6045 # Extract the first word of "$ac_prog", so it can be a program name with args.
6046 set dummy
$ac_prog; ac_word
=$2
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6048 $as_echo_n "checking for $ac_word... " >&6; }
6049 if ${ac_cv_prog_ICOTOOL+:} false
; then :
6050 $as_echo_n "(cached) " >&6
6052 if test -n "$ICOTOOL"; then
6053 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6059 test -z "$as_dir" && as_dir
=.
6060 for ac_exec_ext
in '' $ac_executable_extensions; do
6061 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6062 ac_cv_prog_ICOTOOL
="$ac_prog"
6063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6072 ICOTOOL
=$ac_cv_prog_ICOTOOL
6073 if test -n "$ICOTOOL"; then
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6075 $as_echo "$ICOTOOL" >&6; }
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6078 $as_echo "no" >&6; }
6082 test -n "$ICOTOOL" && break
6084 test -n "$ICOTOOL" || ICOTOOL
="false"
6086 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6087 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6089 if test "$CONVERT" = false
6091 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6094 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6095 convert_version
=`convert --version | head -n1`
6096 if test "x$convert_version" != "x"
6098 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6099 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6100 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6105 if test "$CONVERT" = false
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6108 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6109 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6112 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6116 if test "$ICOTOOL" = false
6118 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6121 $as_echo_n "checking for recent enough icotool... " >&6; }
6122 icotool_version
=`icotool --version | head -n1`
6123 if test "x$icotool_version" != "x"
6125 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6126 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6127 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6130 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6133 if test "$ICOTOOL" = false
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6136 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6137 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6140 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6146 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6149 test "x$with_gettext" != xno || MSGFMT
=false
6150 if test "$MSGFMT" != "false"
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6153 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6154 cat >conftest.po
<<EOF
6160 if $MSGFMT -o /dev
/null conftest.po
2>&5
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6163 $as_echo "yes" >&6; }
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6166 $as_echo "no" >&6; }
6170 if test "$MSGFMT" = false
; then :
6171 case "x$with_gettext" in
6172 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6174 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6175 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6177 enable_po
=${enable_po:-no}
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6182 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6183 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6184 $as_echo_n "(cached) " >&6
6186 ac_check_lib_save_LIBS
=$LIBS
6188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6189 /* end confdefs.h. */
6191 /* Override any GCC internal prototype to avoid an error.
6192 Use char because int might match the return type of a GCC
6193 builtin and then its argument prototype would still apply. */
6197 char i386_set_ldt ();
6201 return i386_set_ldt ();
6206 if ac_fn_c_try_link
"$LINENO"; then :
6207 ac_cv_lib_i386_i386_set_ldt
=yes
6209 ac_cv_lib_i386_i386_set_ldt
=no
6211 rm -f core conftest.err conftest.
$ac_objext \
6212 conftest
$ac_exeext conftest.
$ac_ext
6213 LIBS
=$ac_check_lib_save_LIBS
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6216 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6217 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6218 cat >>confdefs.h
<<_ACEOF
6219 #define HAVE_LIBI386 1
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6227 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6228 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6229 $as_echo_n "(cached) " >&6
6231 ac_check_lib_save_LIBS
=$LIBS
6232 LIBS
="-lossaudio $LIBS"
6233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6234 /* end confdefs.h. */
6236 /* Override any GCC internal prototype to avoid an error.
6237 Use char because int might match the return type of a GCC
6238 builtin and then its argument prototype would still apply. */
6246 return _oss_ioctl ();
6251 if ac_fn_c_try_link
"$LINENO"; then :
6252 ac_cv_lib_ossaudio__oss_ioctl
=yes
6254 ac_cv_lib_ossaudio__oss_ioctl
=no
6256 rm -f core conftest.err conftest.
$ac_objext \
6257 conftest
$ac_exeext conftest.
$ac_ext
6258 LIBS
=$ac_check_lib_save_LIBS
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6261 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6262 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6263 cat >>confdefs.h
<<_ACEOF
6264 #define HAVE_LIBOSSAUDIO 1
6267 LIBS
="-lossaudio $LIBS"
6276 # Check whether --enable-largefile was given.
6277 if test "${enable_largefile+set}" = set; then :
6278 enableval
=$enable_largefile;
6281 if test "$enable_largefile" != no
; then
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6284 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6285 if ${ac_cv_sys_largefile_CC+:} false
; then :
6286 $as_echo_n "(cached) " >&6
6288 ac_cv_sys_largefile_CC
=no
6289 if test "$GCC" != yes; then
6292 # IRIX 6.2 and later do not support large files by default,
6293 # so use the C compiler's -n32 option if that helps.
6294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6295 /* end confdefs.h. */
6296 #include <sys/types.h>
6297 /* Check that off_t can represent 2**63 - 1 correctly.
6298 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6299 since some C++ compilers masquerading as C compilers
6300 incorrectly reject 9223372036854775807. */
6301 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6302 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6303 && LARGE_OFF_T % 2147483647 == 1)
6313 if ac_fn_c_try_compile
"$LINENO"; then :
6316 rm -f core conftest.err conftest.
$ac_objext
6318 if ac_fn_c_try_compile
"$LINENO"; then :
6319 ac_cv_sys_largefile_CC
=' -n32'; break
6321 rm -f core conftest.err conftest.
$ac_objext
6325 rm -f conftest.
$ac_ext
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6329 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6330 if test "$ac_cv_sys_largefile_CC" != no
; then
6331 CC
=$CC$ac_cv_sys_largefile_CC
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6335 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6336 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6337 $as_echo_n "(cached) " >&6
6340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6341 /* end confdefs.h. */
6342 #include <sys/types.h>
6343 /* Check that off_t can represent 2**63 - 1 correctly.
6344 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6345 since some C++ compilers masquerading as C compilers
6346 incorrectly reject 9223372036854775807. */
6347 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6348 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6349 && LARGE_OFF_T % 2147483647 == 1)
6359 if ac_fn_c_try_compile
"$LINENO"; then :
6360 ac_cv_sys_file_offset_bits
=no
; break
6362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6364 /* end confdefs.h. */
6365 #define _FILE_OFFSET_BITS 64
6366 #include <sys/types.h>
6367 /* Check that off_t can represent 2**63 - 1 correctly.
6368 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6369 since some C++ compilers masquerading as C compilers
6370 incorrectly reject 9223372036854775807. */
6371 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6372 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6373 && LARGE_OFF_T % 2147483647 == 1)
6383 if ac_fn_c_try_compile
"$LINENO"; then :
6384 ac_cv_sys_file_offset_bits
=64; break
6386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6387 ac_cv_sys_file_offset_bits
=unknown
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6392 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6393 case $ac_cv_sys_file_offset_bits in #(
6396 cat >>confdefs.h
<<_ACEOF
6397 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6402 if test $ac_cv_sys_file_offset_bits = unknown
; then
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6404 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6405 if ${ac_cv_sys_large_files+:} false
; then :
6406 $as_echo_n "(cached) " >&6
6409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6410 /* end confdefs.h. */
6411 #include <sys/types.h>
6412 /* Check that off_t can represent 2**63 - 1 correctly.
6413 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6414 since some C++ compilers masquerading as C compilers
6415 incorrectly reject 9223372036854775807. */
6416 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6417 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6418 && LARGE_OFF_T % 2147483647 == 1)
6428 if ac_fn_c_try_compile
"$LINENO"; then :
6429 ac_cv_sys_large_files
=no
; break
6431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6433 /* end confdefs.h. */
6434 #define _LARGE_FILES 1
6435 #include <sys/types.h>
6436 /* Check that off_t can represent 2**63 - 1 correctly.
6437 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6438 since some C++ compilers masquerading as C compilers
6439 incorrectly reject 9223372036854775807. */
6440 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6441 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6442 && LARGE_OFF_T % 2147483647 == 1)
6452 if ac_fn_c_try_compile
"$LINENO"; then :
6453 ac_cv_sys_large_files
=1; break
6455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6456 ac_cv_sys_large_files
=unknown
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6461 $as_echo "$ac_cv_sys_large_files" >&6; }
6462 case $ac_cv_sys_large_files in #(
6465 cat >>confdefs.h
<<_ACEOF
6466 #define _LARGE_FILES $ac_cv_sys_large_files
6478 ac_cpp
='$CPP $CPPFLAGS'
6479 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6480 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6481 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6483 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6484 # On Suns, sometimes $CPP names a directory.
6485 if test -n "$CPP" && test -d "$CPP"; then
6488 if test -z "$CPP"; then
6489 if ${ac_cv_prog_CPP+:} false
; then :
6490 $as_echo_n "(cached) " >&6
6492 # Double quotes because CPP needs to be expanded
6493 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6496 for ac_c_preproc_warn_flag
in '' yes
6498 # Use a header file that comes with gcc, so configuring glibc
6499 # with a fresh cross-compiler works.
6500 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6501 # <limits.h> exists even on freestanding compilers.
6502 # On the NeXT, cc -E runs the code through the compiler's parser,
6503 # not just through cpp. "Syntax error" is here to catch this case.
6504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6505 /* end confdefs.h. */
6507 # include <limits.h>
6509 # include <assert.h>
6513 if ac_fn_c_try_cpp
"$LINENO"; then :
6516 # Broken: fails on valid input.
6519 rm -f conftest.err conftest.i conftest.
$ac_ext
6521 # OK, works on sane cases. Now check whether nonexistent headers
6522 # can be detected and how.
6523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6524 /* end confdefs.h. */
6525 #include <ac_nonexistent.h>
6527 if ac_fn_c_try_cpp
"$LINENO"; then :
6528 # Broken: success on invalid input.
6531 # Passes both tests.
6535 rm -f conftest.err conftest.i conftest.
$ac_ext
6538 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6539 rm -f conftest.i conftest.err conftest.
$ac_ext
6540 if $ac_preproc_ok; then :
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6553 $as_echo "$CPP" >&6; }
6555 for ac_c_preproc_warn_flag
in '' yes
6557 # Use a header file that comes with gcc, so configuring glibc
6558 # with a fresh cross-compiler works.
6559 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6560 # <limits.h> exists even on freestanding compilers.
6561 # On the NeXT, cc -E runs the code through the compiler's parser,
6562 # not just through cpp. "Syntax error" is here to catch this case.
6563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6564 /* end confdefs.h. */
6566 # include <limits.h>
6568 # include <assert.h>
6572 if ac_fn_c_try_cpp
"$LINENO"; then :
6575 # Broken: fails on valid input.
6578 rm -f conftest.err conftest.i conftest.
$ac_ext
6580 # OK, works on sane cases. Now check whether nonexistent headers
6581 # can be detected and how.
6582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6583 /* end confdefs.h. */
6584 #include <ac_nonexistent.h>
6586 if ac_fn_c_try_cpp
"$LINENO"; then :
6587 # Broken: success on invalid input.
6590 # Passes both tests.
6594 rm -f conftest.err conftest.i conftest.
$ac_ext
6597 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6598 rm -f conftest.i conftest.err conftest.
$ac_ext
6599 if $ac_preproc_ok; then :
6602 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6603 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6604 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6605 See \`config.log' for more details" "$LINENO" 5; }
6609 ac_cpp
='$CPP $CPPFLAGS'
6610 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6611 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6612 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6616 $as_echo_n "checking for ANSI C header files... " >&6; }
6617 if ${ac_cv_header_stdc+:} false
; then :
6618 $as_echo_n "(cached) " >&6
6620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6621 /* end confdefs.h. */
6635 if ac_fn_c_try_compile
"$LINENO"; then :
6636 ac_cv_header_stdc
=yes
6638 ac_cv_header_stdc
=no
6640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6642 if test $ac_cv_header_stdc = yes; then
6643 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6645 /* end confdefs.h. */
6649 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6650 $EGREP "memchr" >/dev
/null
2>&1; then :
6653 ac_cv_header_stdc
=no
6659 if test $ac_cv_header_stdc = yes; then
6660 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6662 /* end confdefs.h. */
6666 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6667 $EGREP "free" >/dev
/null
2>&1; then :
6670 ac_cv_header_stdc
=no
6676 if test $ac_cv_header_stdc = yes; then
6677 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6678 if test "$cross_compiling" = yes; then :
6681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6682 /* end confdefs.h. */
6685 #if ((' ' & 0x0FF) == 0x020)
6686 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6687 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6689 # define ISLOWER(c) \
6690 (('a' <= (c) && (c) <= 'i') \
6691 || ('j' <= (c) && (c) <= 'r') \
6692 || ('s' <= (c) && (c) <= 'z'))
6693 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6696 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6701 for (i = 0; i < 256; i++)
6702 if (XOR (islower (i), ISLOWER (i))
6703 || toupper (i) != TOUPPER (i))
6708 if ac_fn_c_try_run
"$LINENO"; then :
6711 ac_cv_header_stdc
=no
6713 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6714 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6720 $as_echo "$ac_cv_header_stdc" >&6; }
6721 if test $ac_cv_header_stdc = yes; then
6723 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6727 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6728 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6729 inttypes.h stdint.h unistd.h
6731 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6732 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6734 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6735 cat >>confdefs.h
<<_ACEOF
6736 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6746 ApplicationServices
/ApplicationServices.h \
6747 AudioToolbox
/AudioConverter.h \
6748 AudioUnit
/AudioUnit.h \
6749 AudioUnit
/AudioComponent.h \
6752 CommonCrypto
/CommonDigest.h \
6753 CoreAudio
/CoreAudio.h \
6754 CoreServices
/CoreServices.h \
6755 DiskArbitration
/DiskArbitration.h \
6757 IOKit
/hid
/IOHIDLib.h \
6760 QuickTime
/ImageCompression.h \
6761 Security
/Security.h \
6812 netinet
/in_systm.h \
6876 valgrind
/memcheck.h \
6877 valgrind
/valgrind.h \
6881 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6882 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6883 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6884 cat >>confdefs.h
<<_ACEOF
6885 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6893 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6894 if ${ac_cv_header_sys_types_h_makedev+:} false
; then :
6895 $as_echo_n "(cached) " >&6
6897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6898 /* end confdefs.h. */
6899 #include <sys/types.h>
6903 return makedev(0, 0);
6908 if ac_fn_c_try_link
"$LINENO"; then :
6909 ac_cv_header_sys_types_h_makedev
=yes
6911 ac_cv_header_sys_types_h_makedev
=no
6913 rm -f core conftest.err conftest.
$ac_objext \
6914 conftest
$ac_exeext conftest.
$ac_ext
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6918 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6920 if test $ac_cv_header_sys_types_h_makedev = no
; then
6921 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6922 if test "x$ac_cv_header_sys_mkdev_h" = xyes
; then :
6924 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6930 if test $ac_cv_header_sys_mkdev_h = no
; then
6931 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6932 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
; then :
6934 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6943 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6944 if ${ac_cv_header_stat_broken+:} false
; then :
6945 $as_echo_n "(cached) " >&6
6947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6948 /* end confdefs.h. */
6949 #include <sys/types.h>
6950 #include <sys/stat.h>
6952 #if defined S_ISBLK && defined S_IFDIR
6953 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6956 #if defined S_ISBLK && defined S_IFCHR
6957 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6960 #if defined S_ISLNK && defined S_IFREG
6961 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6964 #if defined S_ISSOCK && defined S_IFREG
6965 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6969 if ac_fn_c_try_compile
"$LINENO"; then :
6970 ac_cv_header_stat_broken
=no
6972 ac_cv_header_stat_broken
=yes
6974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6977 $as_echo "$ac_cv_header_stat_broken" >&6; }
6978 if test $ac_cv_header_stat_broken = yes; then
6980 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6986 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6988 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6989 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6990 #ifdef HAVE_SYS_PARAM_H
6991 # include <sys/param.h>
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
7011 netinet
/if_ether.h \
7012 netinet
/if_inarp.h \
7021 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7022 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7023 #ifdef HAVE_SYS_SOCKET_H
7024 # include <sys/socket.h>
7026 #ifdef HAVE_SYS_SOCKETVAR_H
7027 # include <sys/socketvar.h>
7029 #ifdef HAVE_NET_ROUTE_H
7030 # include <net/route.h>
7032 #ifdef HAVE_NETINET_IN_H
7033 # include <netinet/in.h>
7035 #ifdef HAVE_NETINET_IN_SYSTM_H
7036 # include <netinet/in_systm.h>
7038 #ifdef HAVE_NET_IF_H
7039 # include <net/if.h>
7041 #ifdef HAVE_NETINET_IP_H
7042 # include <netinet/ip.h>
7045 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7046 cat >>confdefs.h
<<_ACEOF
7047 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7055 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
7057 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7058 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7062 #ifdef HAVE_SYS_SOCKET_H
7063 # include <sys/socket.h>
7065 #ifdef HAVE_SYS_SOCKETVAR_H
7066 # include <sys/socketvar.h>
7068 #ifdef HAVE_SYS_TIMEOUT_H
7069 # include <sys/timeout.h>
7071 #ifdef HAVE_NETINET_IN_H
7072 # include <netinet/in.h>
7074 #ifdef HAVE_NETINET_IN_SYSTM_H
7075 # include <netinet/in_systm.h>
7077 #ifdef HAVE_NETINET_IP_H
7078 # include <netinet/ip.h>
7080 #ifdef HAVE_NETINET_IP_VAR_H
7081 # include <netinet/ip_var.h>
7083 #ifdef HAVE_NETINET_IP_ICMP_H
7084 # include <netinet/ip_icmp.h>
7086 #ifdef HAVE_NETINET_UDP_H
7087 # include <netinet/udp.h>
7089 #ifdef HAVE_NETINET_TCP_H
7090 # include <netinet/tcp.h>
7092 #ifdef HAVE_NETINET_TCP_TIMER_H
7093 #include <netinet/tcp_timer.h>
7096 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7097 cat >>confdefs.h
<<_ACEOF
7098 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7106 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
7108 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7109 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7110 #ifdef HAVE_ASM_TYPES_H
7111 # include <asm/types.h>
7113 #ifdef HAVE_SYS_SOCKET_H
7114 # include <sys/socket.h>
7116 #ifdef HAVE_LINUX_TYPES_H
7117 # include <linux/types.h>
7120 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7121 cat >>confdefs.h
<<_ACEOF
7122 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7130 for ac_header
in mach-o
/dyld_images.h
7132 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7133 # include <stdbool.h>
7135 #ifdef HAVE_STDINT_H
7136 # include <stdint.h>
7139 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7140 cat >>confdefs.h
<<_ACEOF
7141 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7149 for ac_header
in resolv.h
7151 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7152 #ifdef HAVE_SYS_SOCKET_H
7153 # include <sys/socket.h>
7155 #ifdef HAVE_NETINET_IN_H
7156 # include <netinet/in.h>
7158 #ifdef HAVE_ARPA_NAMESER_H
7159 # include <arpa/nameser.h>
7162 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7163 cat >>confdefs.h
<<_ACEOF
7164 #define HAVE_RESOLV_H 1
7172 for ac_header
in ifaddrs.h
7174 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7176 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7177 cat >>confdefs.h
<<_ACEOF
7178 #define HAVE_IFADDRS_H 1
7186 for ac_header
in sys
/ucontext.h
7188 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7190 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7191 cat >>confdefs.h
<<_ACEOF
7192 #define HAVE_SYS_UCONTEXT_H 1
7200 for ac_header
in sys
/thr.h
7202 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7203 #ifdef HAVE_SYS_UCONTEXT_H
7204 #include <sys/ucontext.h>
7207 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7208 cat >>confdefs.h
<<_ACEOF
7209 #define HAVE_SYS_THR_H 1
7217 for ac_header
in pthread_np.h
7219 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7220 #include <pthread.h>
7223 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7224 cat >>confdefs.h
<<_ACEOF
7225 #define HAVE_PTHREAD_NP_H 1
7233 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7235 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7236 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7237 #include <sys/time.h>
7239 #include <sys/types.h>
7240 #ifdef HAVE_ASM_TYPES_H
7241 #include <asm/types.h>
7244 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7245 cat >>confdefs.h
<<_ACEOF
7246 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7254 for ac_header
in libprocstat.h
7256 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7257 #include <sys/param.h>
7259 #ifdef HAVE_SYS_QUEUE_H
7260 #include <sys/queue.h>
7262 #ifdef HAVE_SYS_SOCKET_H
7263 #include <sys/socket.h>
7266 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7267 cat >>confdefs.h
<<_ACEOF
7268 #define HAVE_LIBPROCSTAT_H 1
7277 dlldir
="\${libdir}/wine"
7279 DLLFLAGS
="-D_REENTRANT"
7290 # Extract the first word of "ldd", so it can be a program name with args.
7291 set dummy ldd
; ac_word
=$2
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7293 $as_echo_n "checking for $ac_word... " >&6; }
7294 if ${ac_cv_path_LDD+:} false
; then :
7295 $as_echo_n "(cached) " >&6
7299 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7303 as_dummy
="/sbin:/usr/sbin:$PATH"
7304 for as_dir
in $as_dummy
7307 test -z "$as_dir" && as_dir
=.
7308 for ac_exec_ext
in '' $ac_executable_extensions; do
7309 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7310 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7318 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7323 if test -n "$LDD"; then
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7325 $as_echo "$LDD" >&6; }
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7332 if test -n "$ac_tool_prefix"; then
7333 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7334 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7336 $as_echo_n "checking for $ac_word... " >&6; }
7337 if ${ac_cv_prog_OTOOL+:} false
; then :
7338 $as_echo_n "(cached) " >&6
7340 if test -n "$OTOOL"; then
7341 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7347 test -z "$as_dir" && as_dir
=.
7348 for ac_exec_ext
in '' $ac_executable_extensions; do
7349 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7350 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7360 OTOOL
=$ac_cv_prog_OTOOL
7361 if test -n "$OTOOL"; then
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7363 $as_echo "$OTOOL" >&6; }
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7366 $as_echo "no" >&6; }
7371 if test -z "$ac_cv_prog_OTOOL"; then
7373 # Extract the first word of "otool", so it can be a program name with args.
7374 set dummy otool
; ac_word
=$2
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7376 $as_echo_n "checking for $ac_word... " >&6; }
7377 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7378 $as_echo_n "(cached) " >&6
7380 if test -n "$ac_ct_OTOOL"; then
7381 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7387 test -z "$as_dir" && as_dir
=.
7388 for ac_exec_ext
in '' $ac_executable_extensions; do
7389 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7390 ac_cv_prog_ac_ct_OTOOL
="otool"
7391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7400 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7401 if test -n "$ac_ct_OTOOL"; then
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7403 $as_echo "$ac_ct_OTOOL" >&6; }
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7406 $as_echo "no" >&6; }
7409 if test "x$ac_ct_OTOOL" = x
; then
7412 case $cross_compiling:$ac_tool_warned in
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7416 ac_tool_warned
=yes ;;
7421 OTOOL
="$ac_cv_prog_OTOOL"
7424 if test -n "$ac_tool_prefix"; then
7425 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7426 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7428 $as_echo_n "checking for $ac_word... " >&6; }
7429 if ${ac_cv_prog_READELF+:} false
; then :
7430 $as_echo_n "(cached) " >&6
7432 if test -n "$READELF"; then
7433 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7439 test -z "$as_dir" && as_dir
=.
7440 for ac_exec_ext
in '' $ac_executable_extensions; do
7441 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7442 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7452 READELF
=$ac_cv_prog_READELF
7453 if test -n "$READELF"; then
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7455 $as_echo "$READELF" >&6; }
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7458 $as_echo "no" >&6; }
7463 if test -z "$ac_cv_prog_READELF"; then
7464 ac_ct_READELF
=$READELF
7465 # Extract the first word of "readelf", so it can be a program name with args.
7466 set dummy readelf
; ac_word
=$2
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7468 $as_echo_n "checking for $ac_word... " >&6; }
7469 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7470 $as_echo_n "(cached) " >&6
7472 if test -n "$ac_ct_READELF"; then
7473 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7479 test -z "$as_dir" && as_dir
=.
7480 for ac_exec_ext
in '' $ac_executable_extensions; do
7481 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7482 ac_cv_prog_ac_ct_READELF
="readelf"
7483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7492 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7493 if test -n "$ac_ct_READELF"; then
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7495 $as_echo "$ac_ct_READELF" >&6; }
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7498 $as_echo "no" >&6; }
7501 if test "x$ac_ct_READELF" = x
; then
7504 case $cross_compiling:$ac_tool_warned in
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7508 ac_tool_warned
=yes ;;
7510 READELF
=$ac_ct_READELF
7513 READELF
="$ac_cv_prog_READELF"
7516 wine_rules_file
=conf$
$rules.
make
7517 rm -f $wine_rules_file
7522 CONFIGURE_TARGETS
=""
7524 ALL_TEST_RESOURCES
=""
7527 wine_fn_append_file
()
7529 as_fn_append
$1 " \\$as_nl $2"
7532 wine_fn_append_rule
()
7534 $as_echo "$1" >>$wine_rules_file
7539 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7542 wine_fn_all_rules
()
7544 wine_fn_append_file SUBDIRS
$ac_dir
7545 wine_fn_append_rule \
7549 @cd $ac_dir && \$(MAKE)"
7552 wine_fn_install_rules
()
7554 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7556 wine_fn_append_rule \
7557 ".PHONY: $ac_dir/install $ac_dir/uninstall
7558 $ac_dir/install:: $ac_dir
7559 @cd $ac_dir && \$(MAKE) install
7561 @cd $ac_dir && \$(MAKE) uninstall
7562 install:: $ac_dir/install
7563 __uninstall__: $ac_dir/uninstall"
7565 if wine_fn_has_flag install-lib
7567 wine_fn_append_rule \
7568 ".PHONY: $ac_dir/install-lib
7569 $ac_dir/install-lib:: $ac_dir
7570 @cd $ac_dir && \$(MAKE) install-lib
7571 install-lib:: $ac_dir/install-lib"
7574 if wine_fn_has_flag install-dev
7576 wine_fn_append_rule \
7577 ".PHONY: $ac_dir/install-dev
7578 $ac_dir/install-dev:: $ac_dir
7579 @cd $ac_dir && \$(MAKE) install-dev
7580 install-dev:: $ac_dir/install-dev"
7584 wine_fn_clean_rules
()
7588 if wine_fn_has_flag clean
7590 wine_fn_append_rule \
7591 "$ac_dir/clean: dummy
7592 @cd $ac_dir && \$(MAKE) clean"
7594 wine_fn_append_rule \
7595 "$ac_dir/clean: dummy
7596 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7598 wine_fn_append_rule \
7599 "__clean__: $ac_dir/clean
7600 .PHONY: $ac_dir/clean"
7603 wine_fn_disabled_rules
()
7607 wine_fn_append_file SUBDIRS
$ac_dir
7608 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7609 wine_fn_append_rule \
7610 "__clean__: $ac_dir/clean
7611 .PHONY: $ac_dir/clean
7612 $ac_dir/clean: dummy
7613 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7616 wine_fn_config_makefile
()
7623 fonts|server
) test -z "$with_wine64" ||
return ;;
7625 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7626 wine_fn_disabled_rules
; return
7629 wine_fn_install_rules
7633 wine_fn_config_lib
()
7637 ac_dir
=dlls
/$ac_name
7640 if test "x$enable_tools" = xno
; then :
7643 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7648 wine_fn_append_rule \
7649 ".PHONY: $ac_dir/install $ac_dir/uninstall
7650 $ac_dir/install:: $ac_dir
7651 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7653 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7654 install install-dev:: $ac_dir/install
7655 __uninstall__: $ac_dir/uninstall
7656 __builddeps__: $ac_dir
7660 wine_fn_config_dll
()
7663 ac_dir
=dlls
/$ac_name
7666 ac_implib
=${4:-$ac_name}
7667 ac_file
=$ac_dir/lib
$ac_implib
7672 if test "x$enable_tools" = xno
; then :
7675 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7678 *16) ac_implibflags
=" -m16" ;;
7680 *) ac_dll
=$ac_dll.dll
;;
7684 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7685 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7687 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7688 if test "$ac_enable" != enable_win16
7690 wine_fn_clean_rules
$ac_clean
7691 wine_fn_append_file SUBDIRS
$ac_dir
7692 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7694 wine_fn_disabled_rules
$ac_clean
7699 wine_fn_clean_rules
$ac_clean
7700 wine_fn_append_rule \
7701 "$ac_dir: __builddeps__
7702 manpages htmlpages sgmlpages xmlpages::
7703 @cd $ac_dir && \$(MAKE) \$@
7704 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7705 install install-lib:: $ac_dir/install-lib
7706 __uninstall__: $ac_dir/uninstall"
7707 if test -n "$DLLEXT"
7709 wine_fn_append_rule \
7710 "$ac_dir/install-lib:: $ac_dir
7711 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7712 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7714 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7716 wine_fn_append_rule \
7717 "$ac_dir/install-lib:: $ac_dir
7718 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7720 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7724 if wine_fn_has_flag staticimplib
7726 wine_fn_append_rule \
7727 "__builddeps__: $ac_file.a
7728 $ac_file.a $ac_file.cross.a: $ac_deps
7730 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7731 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7732 $ac_dir/install-dev:: $ac_file.a
7733 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7735 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7736 install install-dev:: $ac_dir/install-dev
7737 __uninstall__: $ac_dir/uninstall"
7739 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7741 wine_fn_append_rule \
7742 "__builddeps__: $ac_file.cross.a
7743 $ac_file.cross.a: dummy
7744 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7747 elif wine_fn_has_flag implib
7749 wine_fn_append_rule \
7750 "__builddeps__: $ac_file.$IMPLIBEXT
7751 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7752 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7753 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7754 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7755 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7756 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7757 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7759 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7760 install install-dev:: $ac_dir/install-dev
7761 __uninstall__: $ac_dir/uninstall"
7762 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7764 wine_fn_append_rule \
7765 "__builddeps__: $ac_file.cross.a
7766 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7767 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7772 wine_fn_config_program
()
7775 ac_dir
=programs
/$ac_name
7782 *) ac_program
=$ac_program.exe
;;
7786 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7787 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7789 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7790 wine_fn_disabled_rules
$ac_clean; return
7794 wine_fn_clean_rules
$ac_clean
7795 wine_fn_append_rule
"$ac_dir: __builddeps__"
7797 wine_fn_has_flag
install ||
return
7798 wine_fn_append_rule \
7799 ".PHONY: $ac_dir/install $ac_dir/uninstall
7800 install install-lib:: $ac_dir/install
7801 __uninstall__: $ac_dir/uninstall"
7803 if test -n "$DLLEXT"
7805 wine_fn_append_rule \
7806 "$ac_dir/install:: $ac_dir
7807 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7808 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7810 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7812 if test -z "$with_wine64" && wine_fn_has_flag installbin
7814 wine_fn_append_rule \
7815 "$ac_dir/install:: __tooldeps__
7816 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7818 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7821 wine_fn_append_rule \
7822 "$ac_dir/install:: $ac_dir
7823 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7825 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7828 if test -z "$with_wine64" && wine_fn_has_flag manpage
7830 wine_fn_append_rule \
7831 "$ac_dir/install:: $ac_dir
7832 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7834 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7838 wine_fn_config_test
()
7845 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7846 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7848 if test "x$enable_tests" = xno
; then :
7849 wine_fn_disabled_rules
$ac_clean; return
7852 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7854 wine_fn_clean_rules
$ac_clean
7856 wine_fn_append_rule \
7857 "$ac_dir: __builddeps__
7858 programs/winetest: $ac_dir
7859 check test: $ac_dir/test
7860 .PHONY: $ac_dir/test
7862 @cd $ac_dir && \$(MAKE) test
7864 \$(RM) $ac_dir/*.ok"
7866 if test -n "$CROSSTARGET"
7868 wine_fn_append_rule \
7869 "crosstest: $ac_dir/crosstest
7870 .PHONY: $ac_dir/crosstest
7871 $ac_dir/crosstest: __builddeps__ dummy
7872 @cd $ac_dir && \$(MAKE) crosstest"
7876 wine_fn_config_tool
()
7880 if test "x$enable_tools" = xno
; then :
7881 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir; return
7885 wine_fn_install_rules
7888 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7889 wine_fn_append_rule
"$ac_dir: libs/port"
7891 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7895 wine_fn_config_symlink
()
7898 if test "x$1" = "x-d"
7904 wine_fn_append_rule \
7906 @./config.status \$@"
7907 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
7908 test -n "$ac_linkdir" ||
return
7909 wine_fn_append_rule
"$ac_linkdir/depend: $ac_links"
7913 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7914 WINELOADER_PROGRAMS
="$wine_binary"
7916 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7920 if test -n "$ac_tool_prefix"; then
7921 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7922 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7924 $as_echo_n "checking for $ac_word... " >&6; }
7925 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7926 $as_echo_n "(cached) " >&6
7928 if test -n "$DLLTOOL"; then
7929 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7935 test -z "$as_dir" && as_dir
=.
7936 for ac_exec_ext
in '' $ac_executable_extensions; do
7937 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7938 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7948 DLLTOOL
=$ac_cv_prog_DLLTOOL
7949 if test -n "$DLLTOOL"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7951 $as_echo "$DLLTOOL" >&6; }
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7954 $as_echo "no" >&6; }
7959 if test -z "$ac_cv_prog_DLLTOOL"; then
7960 ac_ct_DLLTOOL
=$DLLTOOL
7961 # Extract the first word of "dlltool", so it can be a program name with args.
7962 set dummy dlltool
; ac_word
=$2
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7964 $as_echo_n "checking for $ac_word... " >&6; }
7965 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7966 $as_echo_n "(cached) " >&6
7968 if test -n "$ac_ct_DLLTOOL"; then
7969 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7975 test -z "$as_dir" && as_dir
=.
7976 for ac_exec_ext
in '' $ac_executable_extensions; do
7977 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7978 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7988 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7989 if test -n "$ac_ct_DLLTOOL"; then
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7991 $as_echo "$ac_ct_DLLTOOL" >&6; }
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7994 $as_echo "no" >&6; }
7997 if test "x$ac_ct_DLLTOOL" = x
; then
8000 case $cross_compiling:$ac_tool_warned in
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8004 ac_tool_warned
=yes ;;
8006 DLLTOOL
=$ac_ct_DLLTOOL
8009 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8015 enable_iphlpapi
=${enable_iphlpapi:-no}
8016 enable_kernel32
=${enable_kernel32:-no}
8017 enable_msvcrt
=${enable_msvcrt:-no}
8018 enable_ntdll
=${enable_ntdll:-no}
8019 enable_ws2_32
=${enable_ws2_32:-no}
8020 enable_loader
=${enable_loader:-no}
8021 enable_server
=${enable_server:-no}
8022 with_x
=${with_x:-no}
8023 with_pthread
=${with_pthread:-no}
8029 SOCKET_LIBS
="-lws2_32"
8033 LIBWINE_SHAREDLIB
="libwine.dll"
8035 LIBWINE_IMPORTLIB
="libwine.a"
8037 LIBWINE_INSTALL_LIB
="libwine.dll"
8039 LIBWINE_INSTALL_DEV
="libwine.a"
8041 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
8043 LIBWINE_DEPENDS
="wine.def"
8048 for ac_header
in libunwind.h
8050 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8051 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8052 cat >>confdefs.h
<<_ACEOF
8053 #define HAVE_LIBUNWIND_H 1
8061 DLLFLAGS
="$DLLFLAGS -fPIC"
8062 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8063 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8064 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8066 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8068 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8070 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8072 CORESERVICES_LIBS
="-framework CoreServices"
8074 APPKIT_LIBS
="-framework AppKit"
8076 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8078 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8079 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8080 $as_echo_n "(cached) " >&6
8082 ac_wine_try_cflags_saved
=$CFLAGS
8083 CFLAGS
="$CFLAGS -Wl,-no_pie"
8084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8085 /* end confdefs.h. */
8086 int main(int argc, char **argv) { return 0; }
8088 if ac_fn_c_try_link
"$LINENO"; then :
8089 ac_cv_cflags__Wl__no_pie
=yes
8091 ac_cv_cflags__Wl__no_pie
=no
8093 rm -f core conftest.err conftest.
$ac_objext \
8094 conftest
$ac_exeext conftest.
$ac_ext
8095 CFLAGS
=$ac_wine_try_cflags_saved
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8098 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8099 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8100 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8102 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8104 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8107 if test "$ac_cv_header_Security_Security_h" = "yes"
8109 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8111 ac_save_LIBS
="$LIBS"
8112 LIBS
="$LIBS $SECURITY_LIBS"
8113 for ac_func
in SSLCopyPeerCertificates
8115 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8116 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8117 cat >>confdefs.h
<<_ACEOF
8118 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8124 LIBS
="$ac_save_LIBS"
8125 with_gnutls
=${with_gnutls:-no}
8127 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8129 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8131 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8134 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8137 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8138 ac_save_LIBS
="$LIBS"
8139 LIBS
="$LIBS $COREAUDIO_LIBS"
8140 for ac_func
in AUGraphAddNode
8142 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8143 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8144 cat >>confdefs.h
<<_ACEOF
8145 #define HAVE_AUGRAPHADDNODE 1
8151 LIBS
="$ac_save_LIBS"
8153 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8155 OPENAL_LIBS
="-framework OpenAL"
8158 cat >>confdefs.h
<<_ACEOF
8159 #define HAVE_OPENAL 1
8162 ac_cv_lib_openal
=yes
8164 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8166 OPENCL_LIBS
="-framework OpenCL"
8168 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8170 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8172 ac_save_LIBS
="$LIBS"
8173 LIBS
="$LIBS $IOKIT_LIBS"
8174 for ac_func
in IOHIDManagerCreate
8176 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8177 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8178 cat >>confdefs.h
<<_ACEOF
8179 #define HAVE_IOHIDMANAGERCREATE 1
8185 LIBS
="$ac_save_LIBS"
8187 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8189 ac_save_LIBS
="$LIBS"
8190 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8192 $as_echo_n "checking for the QuickTime framework... " >&6; }
8193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8194 /* end confdefs.h. */
8195 #include <QuickTime/ImageCompression.h>
8199 CodecManagerVersion(NULL);
8204 if ac_fn_c_try_link
"$LINENO"; then :
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8206 $as_echo "yes" >&6; }
8207 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8209 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8212 $as_echo "no" >&6; }
8213 ac_cv_header_QuickTime_ImageCompression_h
=no
8215 rm -f core conftest.err conftest.
$ac_objext \
8216 conftest
$ac_exeext conftest.
$ac_ext
8217 LIBS
="$ac_save_LIBS"
8219 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8221 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8223 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8225 CARBON_LIBS
="-framework Carbon"
8229 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8231 ac_save_LIBS
="$LIBS"
8232 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8233 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8234 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8235 enable_winemac_drv
=${enable_winemac_drv:-yes}
8238 LIBS
="$ac_save_LIBS"
8241 if test "x$enable_win16" = "xyes"
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8244 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8245 if test "$cross_compiling" = yes; then :
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8247 $as_echo "cross-compiling, assuming yes" >&6; }
8249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8250 /* end confdefs.h. */
8253 "good:\tnop;nop\n\t"
8254 ".globl _testfunc\n"
8255 "_testfunc:\tcallw good");
8256 extern void testfunc();
8260 unsigned short *p = (unsigned short *)testfunc;
8261 return p[0] != 0xe866 || p[1] != 0xfffa
8266 if ac_fn_c_try_run
"$LINENO"; then :
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8268 $as_echo "yes" >&6; }
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8271 $as_echo "no" >&6; }
8272 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
8274 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8275 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8280 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8282 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8284 LIBWINE_INSTALL_DEV
="libwine.dylib"
8286 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8288 WINELOADER_DEPENDS
="wine_info.plist"
8293 DLLFLAGS
="$DLLFLAGS -fPIC"
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8295 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8296 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8297 $as_echo_n "(cached) " >&6
8299 ac_wine_try_cflags_saved
=$CFLAGS
8300 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8302 /* end confdefs.h. */
8303 int main(int argc, char **argv) { return 0; }
8305 if ac_fn_c_try_link
"$LINENO"; then :
8306 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8308 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8310 rm -f core conftest.err conftest.
$ac_objext \
8311 conftest
$ac_exeext conftest.
$ac_ext
8312 CFLAGS
=$ac_wine_try_cflags_saved
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8315 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8316 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8317 LDEXECFLAGS
="-Wl,--export-dynamic"
8319 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8321 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8322 if eval \
${$as_ac_var+:} false
; then :
8323 $as_echo_n "(cached) " >&6
8325 ac_wine_try_cflags_saved
=$CFLAGS
8326 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8328 /* end confdefs.h. */
8329 int main(int argc, char **argv) { return 0; }
8331 if ac_fn_c_try_link
"$LINENO"; then :
8332 eval "$as_ac_var=yes"
8334 eval "$as_ac_var=no"
8336 rm -f core conftest.err conftest.
$ac_objext \
8337 conftest
$ac_exeext conftest.
$ac_ext
8338 CFLAGS
=$ac_wine_try_cflags_saved
8340 eval ac_res
=\$
$as_ac_var
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8342 $as_echo "$ac_res" >&6; }
8343 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8344 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8345 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8347 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8349 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8350 if eval \
${$as_ac_var+:} false
; then :
8351 $as_echo_n "(cached) " >&6
8353 ac_wine_try_cflags_saved
=$CFLAGS
8354 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8356 /* end confdefs.h. */
8357 int main(int argc, char **argv) { return 0; }
8359 if ac_fn_c_try_link
"$LINENO"; then :
8360 eval "$as_ac_var=yes"
8362 eval "$as_ac_var=no"
8364 rm -f core conftest.err conftest.
$ac_objext \
8365 conftest
$ac_exeext conftest.
$ac_ext
8366 CFLAGS
=$ac_wine_try_cflags_saved
8368 eval ac_res
=\$
$as_ac_var
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8370 $as_echo "$ac_res" >&6; }
8371 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8372 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8373 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8378 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8379 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8380 $as_echo_n "(cached) " >&6
8382 ac_wine_try_cflags_saved
=$CFLAGS
8383 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8385 /* end confdefs.h. */
8386 int main(int argc, char **argv) { return 0; }
8388 if ac_fn_c_try_link
"$LINENO"; then :
8389 ac_cv_cflags__Wl___enable_new_dtags
=yes
8391 ac_cv_cflags__Wl___enable_new_dtags
=no
8393 rm -f core conftest.err conftest.
$ac_objext \
8394 conftest
$ac_exeext conftest.
$ac_ext
8395 CFLAGS
=$ac_wine_try_cflags_saved
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8398 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8399 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8400 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8403 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8404 if ${ac_cv_cflags__Wl__pie+:} false
; then :
8405 $as_echo_n "(cached) " >&6
8407 ac_wine_try_cflags_saved
=$CFLAGS
8408 CFLAGS
="$CFLAGS -Wl,-pie"
8409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8410 /* end confdefs.h. */
8411 int main(int argc, char **argv) { return 0; }
8413 if ac_fn_c_try_link
"$LINENO"; then :
8414 ac_cv_cflags__Wl__pie
=yes
8416 ac_cv_cflags__Wl__pie
=no
8418 rm -f core conftest.err conftest.
$ac_objext \
8419 conftest
$ac_exeext conftest.
$ac_ext
8420 CFLAGS
=$ac_wine_try_cflags_saved
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8423 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8424 if test "x$ac_cv_cflags__Wl__pie" = xyes
; then :
8425 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,-pie"
8428 LIBWINE_SHAREDLIB
="libwine.so"
8430 LIBWINE_INSTALL_LIB
="libwine.so"
8432 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so"
8437 DLLFLAGS
="$DLLFLAGS -fPIC"
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8440 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8441 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8442 $as_echo_n "(cached) " >&6
8444 ac_wine_try_cflags_saved
=$CFLAGS
8445 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8447 /* end confdefs.h. */
8450 if ac_fn_c_try_link
"$LINENO"; then :
8451 ac_cv_c_dll_gnuelf
="yes"
8453 ac_cv_c_dll_gnuelf
="no"
8455 rm -f core conftest.err conftest.
$ac_objext \
8456 conftest
$ac_exeext conftest.
$ac_ext
8457 CFLAGS
=$ac_wine_try_cflags_saved
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8460 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8461 if test "$ac_cv_c_dll_gnuelf" = "yes"
8463 LIBWINE_LDFLAGS
="-shared"
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8465 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8466 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8467 $as_echo_n "(cached) " >&6
8469 ac_wine_try_cflags_saved
=$CFLAGS
8470 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8472 /* end confdefs.h. */
8473 int main(int argc, char **argv) { return 0; }
8475 if ac_fn_c_try_link
"$LINENO"; then :
8476 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8478 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8480 rm -f core conftest.err conftest.
$ac_objext \
8481 conftest
$ac_exeext conftest.
$ac_ext
8482 CFLAGS
=$ac_wine_try_cflags_saved
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8485 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8486 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8487 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8490 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8491 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8492 $as_echo_n "(cached) " >&6
8494 ac_wine_try_cflags_saved
=$CFLAGS
8495 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8497 /* end confdefs.h. */
8498 int main(int argc, char **argv) { return 0; }
8500 if ac_fn_c_try_link
"$LINENO"; then :
8501 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8503 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8505 rm -f core conftest.err conftest.
$ac_objext \
8506 conftest
$ac_exeext conftest.
$ac_ext
8507 CFLAGS
=$ac_wine_try_cflags_saved
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8510 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8511 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8512 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8516 echo '{ global: *; };' >conftest.map
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8518 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8519 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8520 $as_echo_n "(cached) " >&6
8522 ac_wine_try_cflags_saved
=$CFLAGS
8523 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8525 /* end confdefs.h. */
8526 int main(int argc, char **argv) { return 0; }
8528 if ac_fn_c_try_link
"$LINENO"; then :
8529 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8531 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8533 rm -f core conftest.err conftest.
$ac_objext \
8534 conftest
$ac_exeext conftest.
$ac_ext
8535 CFLAGS
=$ac_wine_try_cflags_saved
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8538 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8539 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8540 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8545 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8546 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8547 $as_echo_n "(cached) " >&6
8549 ac_wine_try_cflags_saved
=$CFLAGS
8550 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8552 /* end confdefs.h. */
8553 int main(int argc, char **argv) { return 0; }
8555 if ac_fn_c_try_link
"$LINENO"; then :
8556 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8558 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8560 rm -f core conftest.err conftest.
$ac_objext \
8561 conftest
$ac_exeext conftest.
$ac_ext
8562 CFLAGS
=$ac_wine_try_cflags_saved
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8565 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8566 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8567 LDEXECFLAGS
="-Wl,--export-dynamic"
8570 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8572 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8573 if eval \
${$as_ac_var+:} false
; then :
8574 $as_echo_n "(cached) " >&6
8576 ac_wine_try_cflags_saved
=$CFLAGS
8577 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8579 /* end confdefs.h. */
8580 int main(int argc, char **argv) { return 0; }
8582 if ac_fn_c_try_link
"$LINENO"; then :
8583 eval "$as_ac_var=yes"
8585 eval "$as_ac_var=no"
8587 rm -f core conftest.err conftest.
$ac_objext \
8588 conftest
$ac_exeext conftest.
$ac_ext
8589 CFLAGS
=$ac_wine_try_cflags_saved
8591 eval ac_res
=\$
$as_ac_var
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8593 $as_echo "$ac_res" >&6; }
8594 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8595 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8596 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8598 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8600 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8601 if eval \
${$as_ac_var+:} false
; then :
8602 $as_echo_n "(cached) " >&6
8604 ac_wine_try_cflags_saved
=$CFLAGS
8605 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8607 /* end confdefs.h. */
8608 int main(int argc, char **argv) { return 0; }
8610 if ac_fn_c_try_link
"$LINENO"; then :
8611 eval "$as_ac_var=yes"
8613 eval "$as_ac_var=no"
8615 rm -f core conftest.err conftest.
$ac_objext \
8616 conftest
$ac_exeext conftest.
$ac_ext
8617 CFLAGS
=$ac_wine_try_cflags_saved
8619 eval ac_res
=\$
$as_ac_var
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8621 $as_echo "$ac_res" >&6; }
8622 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8623 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8624 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8629 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8630 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8631 $as_echo_n "(cached) " >&6
8633 ac_wine_try_cflags_saved
=$CFLAGS
8634 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8636 /* end confdefs.h. */
8637 int main(int argc, char **argv) { return 0; }
8639 if ac_fn_c_try_link
"$LINENO"; then :
8640 ac_cv_cflags__Wl___enable_new_dtags
=yes
8642 ac_cv_cflags__Wl___enable_new_dtags
=no
8644 rm -f core conftest.err conftest.
$ac_objext \
8645 conftest
$ac_exeext conftest.
$ac_ext
8646 CFLAGS
=$ac_wine_try_cflags_saved
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8649 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8650 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8651 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8655 *i
[3456789]86* | x86_64
)
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8657 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8658 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8659 $as_echo_n "(cached) " >&6
8661 ac_wine_try_cflags_saved
=$CFLAGS
8662 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8664 /* end confdefs.h. */
8665 int main(int argc, char **argv) { return 0; }
8667 if ac_fn_c_try_link
"$LINENO"; then :
8668 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8670 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8672 rm -f core conftest.err conftest.
$ac_objext \
8673 conftest
$ac_exeext conftest.
$ac_ext
8674 CFLAGS
=$ac_wine_try_cflags_saved
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8677 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8678 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8680 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8681 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8685 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8686 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false
; then :
8687 $as_echo_n "(cached) " >&6
8689 ac_wine_try_cflags_saved
=$CFLAGS
8690 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8692 /* end confdefs.h. */
8693 int main(int argc, char **argv) { return 0; }
8695 if ac_fn_c_try_link
"$LINENO"; then :
8696 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=yes
8698 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=no
8700 rm -f core conftest.err conftest.
$ac_objext \
8701 conftest
$ac_exeext conftest.
$ac_ext
8702 CFLAGS
=$ac_wine_try_cflags_saved
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8705 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8706 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes
; then :
8708 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8709 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8712 # Extract the first word of "prelink", so it can be a program name with args.
8713 set dummy prelink
; ac_word
=$2
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8715 $as_echo_n "checking for $ac_word... " >&6; }
8716 if ${ac_cv_path_PRELINK+:} false
; then :
8717 $as_echo_n "(cached) " >&6
8721 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8725 for as_dir
in /sbin
/usr
/sbin
$PATH
8728 test -z "$as_dir" && as_dir
=.
8729 for ac_exec_ext
in '' $ac_executable_extensions; do
8730 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8731 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8739 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8743 PRELINK
=$ac_cv_path_PRELINK
8744 if test -n "$PRELINK"; then
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8746 $as_echo "$PRELINK" >&6; }
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8749 $as_echo "no" >&6; }
8753 if test "x$PRELINK" = xfalse
8755 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8759 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8760 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false
; then :
8761 $as_echo_n "(cached) " >&6
8763 ac_wine_try_cflags_saved
=$CFLAGS
8764 CFLAGS
="$CFLAGS -Wl,-z,max-page-size=0x1000"
8765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8766 /* end confdefs.h. */
8767 int main(int argc, char **argv) { return 0; }
8769 if ac_fn_c_try_link
"$LINENO"; then :
8770 ac_cv_cflags__Wl__z_max_page_size_0x1000
=yes
8772 ac_cv_cflags__Wl__z_max_page_size_0x1000
=no
8774 rm -f core conftest.err conftest.
$ac_objext \
8775 conftest
$ac_exeext conftest.
$ac_ext
8776 CFLAGS
=$ac_wine_try_cflags_saved
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8779 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8780 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
; then :
8781 LDEXECFLAGS
="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8788 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8789 if ${ac_cv_c_dll_unixware+:} false
; then :
8790 $as_echo_n "(cached) " >&6
8792 ac_wine_try_cflags_saved
=$CFLAGS
8793 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8795 /* end confdefs.h. */
8798 if ac_fn_c_try_link
"$LINENO"; then :
8799 ac_cv_c_dll_unixware
="yes"
8801 ac_cv_c_dll_unixware
="no"
8803 rm -f core conftest.err conftest.
$ac_objext \
8804 conftest
$ac_exeext conftest.
$ac_ext
8805 CFLAGS
=$ac_wine_try_cflags_saved
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8808 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8809 if test "$ac_cv_c_dll_unixware" = "yes"
8811 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
8814 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
8816 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8818 LIBWINE_INSTALL_DEV
="libwine.so"
8820 LIBWINE_DEPENDS
="wine.map"
8825 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
8826 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8827 enable_winemac_drv
=${enable_winemac_drv:-no}
8828 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
8832 if test "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8836 ac_prefix_list
="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8838 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
8839 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8842 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
8843 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8845 ac_prefix_list
="" ;;
8847 for ac_prog
in $ac_prefix_list
8849 # Extract the first word of "$ac_prog", so it can be a program name with args.
8850 set dummy
$ac_prog; ac_word
=$2
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8852 $as_echo_n "checking for $ac_word... " >&6; }
8853 if ${ac_cv_prog_CROSSCC+:} false
; then :
8854 $as_echo_n "(cached) " >&6
8856 if test -n "$CROSSCC"; then
8857 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8863 test -z "$as_dir" && as_dir
=.
8864 for ac_exec_ext
in '' $ac_executable_extensions; do
8865 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8866 ac_cv_prog_CROSSCC
="$ac_prog"
8867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8876 CROSSCC
=$ac_cv_prog_CROSSCC
8877 if test -n "$CROSSCC"; then
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8879 $as_echo "$CROSSCC" >&6; }
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8882 $as_echo "no" >&6; }
8886 test -n "$CROSSCC" && break
8888 test -n "$CROSSCC" || CROSSCC
="false"
8890 if test "$CROSSCC" != "false"
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8895 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8897 /* end confdefs.h. */
8907 if ac_fn_c_try_compile
"$LINENO"; then :
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8909 $as_echo "yes" >&6; }
8915 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8916 *-clang) CROSSTARGET
=`expr "$1" : '\(.*\)-clang'` ;;
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8922 $as_echo "no" >&6; }
8924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8930 if test "$ac_cv_header_pthread_h" = "yes"
8932 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8933 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8937 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8938 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8939 $as_echo_n "(cached) " >&6
8941 ac_check_lib_save_LIBS
=$LIBS
8942 LIBS
="-lpthread $LIBS"
8943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8944 /* end confdefs.h. */
8946 /* Override any GCC internal prototype to avoid an error.
8947 Use char because int might match the return type of a GCC
8948 builtin and then its argument prototype would still apply. */
8952 char pthread_create ();
8956 return pthread_create ();
8961 if ac_fn_c_try_link
"$LINENO"; then :
8962 ac_cv_lib_pthread_pthread_create
=yes
8964 ac_cv_lib_pthread_pthread_create
=no
8966 rm -f core conftest.err conftest.
$ac_objext \
8967 conftest
$ac_exeext conftest.
$ac_ext
8968 LIBS
=$ac_check_lib_save_LIBS
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8971 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8972 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8973 PTHREAD_LIBS
="-lpthread"
8980 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8981 case "x$with_pthread" in
8983 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8984 Wine cannot support threads without libpthread.
8985 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8992 $as_echo_n "checking for X... " >&6; }
8995 # Check whether --with-x was given.
8996 if test "${with_x+set}" = set; then :
9000 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9001 if test "x$with_x" = xno
; then
9002 # The user explicitly disabled X.
9005 case $x_includes,$x_libraries in #(
9006 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
9007 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
9008 $as_echo_n "(cached) " >&6
9010 # One or both of the vars are not set, and there is no cached value.
9011 ac_x_includes
=no ac_x_libraries
=no
9012 rm -f -r conftest.dir
9013 if mkdir conftest.dir
; then
9015 cat >Imakefile
<<'_ACEOF'
9017 @echo incroot='${INCROOT}'
9019 @echo usrlibdir='${USRLIBDIR}'
9021 @echo libdir='${LIBDIR}'
9023 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9024 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9025 for ac_var
in incroot usrlibdir libdir
; do
9026 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9028 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9029 for ac_extension
in a so sl dylib la dll
; do
9030 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9031 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9032 ac_im_usrlibdir
=$ac_im_libdir; break
9035 # Screen out bogus values from the imake configuration. They are
9036 # bogus both because they are the default anyway, and because
9037 # using them would break gcc on systems where it needs fixed includes.
9038 case $ac_im_incroot in
9039 /usr
/include
) ac_x_includes
= ;;
9040 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9042 case $ac_im_usrlibdir in
9043 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9044 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9048 rm -f -r conftest.dir
9051 # Standard set of common directories for X headers.
9052 # Check X11 before X11Rn because it is often a symlink to the current release.
9066 /usr/local/X11/include
9067 /usr/local/X11R7/include
9068 /usr/local/X11R6/include
9069 /usr/local/X11R5/include
9070 /usr/local/X11R4/include
9072 /usr/local/include/X11
9073 /usr/local/include/X11R7
9074 /usr/local/include/X11R6
9075 /usr/local/include/X11R5
9076 /usr/local/include/X11R4
9080 /usr/XFree86/include/X11
9084 /usr/unsupported/include
9086 /usr/local/x11r5/include
9087 /usr/lpp/Xamples/include
9089 /usr/openwin/include
9090 /usr/openwin/share/include'
9092 if test "$ac_x_includes" = no
; then
9093 # Guess where to find include files, by looking for Xlib.h.
9094 # First, try using that file with no special directory specified.
9095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9096 /* end confdefs.h. */
9097 #include <X11/Xlib.h>
9099 if ac_fn_c_try_cpp
"$LINENO"; then :
9100 # We can compile using X headers with no special include directory.
9103 for ac_dir
in $ac_x_header_dirs; do
9104 if test -r "$ac_dir/X11/Xlib.h"; then
9105 ac_x_includes
=$ac_dir
9110 rm -f conftest.err conftest.i conftest.
$ac_ext
9111 fi # $ac_x_includes = no
9113 if test "$ac_x_libraries" = no
; then
9114 # Check for the libraries.
9115 # See if we find them without any special options.
9116 # Don't add to $LIBS permanently.
9119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9120 /* end confdefs.h. */
9121 #include <X11/Xlib.h>
9130 if ac_fn_c_try_link
"$LINENO"; then :
9132 # We can link X programs with no special library path.
9136 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9138 # Don't even attempt the hair of trying to link an X program!
9139 for ac_extension
in a so sl dylib la dll
; do
9140 if test -r "$ac_dir/libX11.$ac_extension"; then
9141 ac_x_libraries
=$ac_dir
9147 rm -f core conftest.err conftest.
$ac_objext \
9148 conftest
$ac_exeext conftest.
$ac_ext
9149 fi # $ac_x_libraries = no
9151 case $ac_x_includes,$ac_x_libraries in #(
9153 # Didn't find X, or a directory has "'" in its name.
9154 ac_cv_have_x
="have_x=no";; #(
9156 # Record where we found X for the cache.
9157 ac_cv_have_x
="have_x=yes\
9158 ac_x_includes='$ac_x_includes'\
9159 ac_x_libraries='$ac_x_libraries'"
9165 eval "$ac_cv_have_x"
9168 if test "$have_x" != yes; then
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9170 $as_echo "$have_x" >&6; }
9173 # If each of the values was on the command line, it overrides each guess.
9174 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9175 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9176 # Update the cache value to reflect the command line values.
9177 ac_cv_have_x
="have_x=yes\
9178 ac_x_includes='$x_includes'\
9179 ac_x_libraries='$x_libraries'"
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9181 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9184 if test "$no_x" = yes; then
9185 # Not all programs may use this symbol, but it does not hurt to define it.
9187 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9189 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9191 if test -n "$x_includes"; then
9192 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9195 # It would also be nice to do this for all -L options, not just this one.
9196 if test -n "$x_libraries"; then
9197 X_LIBS
="$X_LIBS -L$x_libraries"
9198 # For Solaris; some versions of Sun CC require a space after -R and
9199 # others require no space. Words are not sufficient . . . .
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9201 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9202 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9203 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9204 ac_c_werror_flag
=yes
9205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9206 /* end confdefs.h. */
9216 if ac_fn_c_try_link
"$LINENO"; then :
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9218 $as_echo "no" >&6; }
9219 X_LIBS
="$X_LIBS -R$x_libraries"
9221 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9223 /* end confdefs.h. */
9233 if ac_fn_c_try_link
"$LINENO"; then :
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9235 $as_echo "yes" >&6; }
9236 X_LIBS
="$X_LIBS -R $x_libraries"
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9239 $as_echo "neither works" >&6; }
9241 rm -f core conftest.err conftest.
$ac_objext \
9242 conftest
$ac_exeext conftest.
$ac_ext
9244 rm -f core conftest.err conftest.
$ac_objext \
9245 conftest
$ac_exeext conftest.
$ac_ext
9246 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9250 # Check for system-dependent libraries X programs must link with.
9251 # Do this before checking for the system-independent R6 libraries
9252 # (-lICE), since we may need -lsocket or whatever for X linking.
9254 if test "$ISC" = yes; then
9255 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9257 # Martyn Johnson says this is needed for Ultrix, if the X
9258 # libraries were built with DECnet support. And Karl Berry says
9259 # the Alpha needs dnet_stub (dnet does not exist).
9260 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9262 /* end confdefs.h. */
9264 /* Override any GCC internal prototype to avoid an error.
9265 Use char because int might match the return type of a GCC
9266 builtin and then its argument prototype would still apply. */
9270 char XOpenDisplay ();
9274 return XOpenDisplay ();
9279 if ac_fn_c_try_link
"$LINENO"; then :
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9283 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9284 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9285 $as_echo_n "(cached) " >&6
9287 ac_check_lib_save_LIBS
=$LIBS
9289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9290 /* end confdefs.h. */
9292 /* Override any GCC internal prototype to avoid an error.
9293 Use char because int might match the return type of a GCC
9294 builtin and then its argument prototype would still apply. */
9302 return dnet_ntoa ();
9307 if ac_fn_c_try_link
"$LINENO"; then :
9308 ac_cv_lib_dnet_dnet_ntoa
=yes
9310 ac_cv_lib_dnet_dnet_ntoa
=no
9312 rm -f core conftest.err conftest.
$ac_objext \
9313 conftest
$ac_exeext conftest.
$ac_ext
9314 LIBS
=$ac_check_lib_save_LIBS
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9317 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9318 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9319 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9322 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9324 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9325 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9326 $as_echo_n "(cached) " >&6
9328 ac_check_lib_save_LIBS
=$LIBS
9329 LIBS
="-ldnet_stub $LIBS"
9330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9331 /* end confdefs.h. */
9333 /* Override any GCC internal prototype to avoid an error.
9334 Use char because int might match the return type of a GCC
9335 builtin and then its argument prototype would still apply. */
9343 return dnet_ntoa ();
9348 if ac_fn_c_try_link
"$LINENO"; then :
9349 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9351 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9353 rm -f core conftest.err conftest.
$ac_objext \
9354 conftest
$ac_exeext conftest.
$ac_ext
9355 LIBS
=$ac_check_lib_save_LIBS
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9358 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9359 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9360 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9365 rm -f core conftest.err conftest.
$ac_objext \
9366 conftest
$ac_exeext conftest.
$ac_ext
9367 LIBS
="$ac_xsave_LIBS"
9369 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9370 # to get the SysV transport functions.
9371 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9373 # The nsl library prevents programs from opening the X display
9374 # on Irix 5.2, according to T.E. Dickey.
9375 # The functions gethostbyname, getservbyname, and inet_addr are
9376 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9377 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9378 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9382 if test $ac_cv_func_gethostbyname = no
; then
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9384 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9385 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9386 $as_echo_n "(cached) " >&6
9388 ac_check_lib_save_LIBS
=$LIBS
9390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9391 /* end confdefs.h. */
9393 /* Override any GCC internal prototype to avoid an error.
9394 Use char because int might match the return type of a GCC
9395 builtin and then its argument prototype would still apply. */
9399 char gethostbyname ();
9403 return gethostbyname ();
9408 if ac_fn_c_try_link
"$LINENO"; then :
9409 ac_cv_lib_nsl_gethostbyname
=yes
9411 ac_cv_lib_nsl_gethostbyname
=no
9413 rm -f core conftest.err conftest.
$ac_objext \
9414 conftest
$ac_exeext conftest.
$ac_ext
9415 LIBS
=$ac_check_lib_save_LIBS
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9418 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9419 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9420 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9423 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9425 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9426 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9427 $as_echo_n "(cached) " >&6
9429 ac_check_lib_save_LIBS
=$LIBS
9431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9432 /* end confdefs.h. */
9434 /* Override any GCC internal prototype to avoid an error.
9435 Use char because int might match the return type of a GCC
9436 builtin and then its argument prototype would still apply. */
9440 char gethostbyname ();
9444 return gethostbyname ();
9449 if ac_fn_c_try_link
"$LINENO"; then :
9450 ac_cv_lib_bsd_gethostbyname
=yes
9452 ac_cv_lib_bsd_gethostbyname
=no
9454 rm -f core conftest.err conftest.
$ac_objext \
9455 conftest
$ac_exeext conftest.
$ac_ext
9456 LIBS
=$ac_check_lib_save_LIBS
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9459 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9460 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9461 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9467 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9468 # socket/setsockopt and other routines are undefined under SCO ODT
9469 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9470 # on later versions), says Simon Leinen: it contains gethostby*
9471 # variants that don't use the name server (or something). -lsocket
9472 # must be given before -lnsl if both are needed. We assume that
9473 # if connect needs -lnsl, so does gethostbyname.
9474 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9475 if test "x$ac_cv_func_connect" = xyes
; then :
9479 if test $ac_cv_func_connect = no
; then
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9481 $as_echo_n "checking for connect in -lsocket... " >&6; }
9482 if ${ac_cv_lib_socket_connect+:} false
; then :
9483 $as_echo_n "(cached) " >&6
9485 ac_check_lib_save_LIBS
=$LIBS
9486 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9488 /* end confdefs.h. */
9490 /* Override any GCC internal prototype to avoid an error.
9491 Use char because int might match the return type of a GCC
9492 builtin and then its argument prototype would still apply. */
9505 if ac_fn_c_try_link
"$LINENO"; then :
9506 ac_cv_lib_socket_connect
=yes
9508 ac_cv_lib_socket_connect
=no
9510 rm -f core conftest.err conftest.
$ac_objext \
9511 conftest
$ac_exeext conftest.
$ac_ext
9512 LIBS
=$ac_check_lib_save_LIBS
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9515 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9516 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9517 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9522 # Guillermo Gomez says -lposix is necessary on A/UX.
9523 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9524 if test "x$ac_cv_func_remove" = xyes
; then :
9528 if test $ac_cv_func_remove = no
; then
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9530 $as_echo_n "checking for remove in -lposix... " >&6; }
9531 if ${ac_cv_lib_posix_remove+:} false
; then :
9532 $as_echo_n "(cached) " >&6
9534 ac_check_lib_save_LIBS
=$LIBS
9535 LIBS
="-lposix $LIBS"
9536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9537 /* end confdefs.h. */
9539 /* Override any GCC internal prototype to avoid an error.
9540 Use char because int might match the return type of a GCC
9541 builtin and then its argument prototype would still apply. */
9554 if ac_fn_c_try_link
"$LINENO"; then :
9555 ac_cv_lib_posix_remove
=yes
9557 ac_cv_lib_posix_remove
=no
9559 rm -f core conftest.err conftest.
$ac_objext \
9560 conftest
$ac_exeext conftest.
$ac_ext
9561 LIBS
=$ac_check_lib_save_LIBS
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9564 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9565 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9566 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9571 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9572 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9573 if test "x$ac_cv_func_shmat" = xyes
; then :
9577 if test $ac_cv_func_shmat = no
; then
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9579 $as_echo_n "checking for shmat in -lipc... " >&6; }
9580 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9581 $as_echo_n "(cached) " >&6
9583 ac_check_lib_save_LIBS
=$LIBS
9585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9586 /* end confdefs.h. */
9588 /* Override any GCC internal prototype to avoid an error.
9589 Use char because int might match the return type of a GCC
9590 builtin and then its argument prototype would still apply. */
9603 if ac_fn_c_try_link
"$LINENO"; then :
9604 ac_cv_lib_ipc_shmat
=yes
9606 ac_cv_lib_ipc_shmat
=no
9608 rm -f core conftest.err conftest.
$ac_objext \
9609 conftest
$ac_exeext conftest.
$ac_ext
9610 LIBS
=$ac_check_lib_save_LIBS
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9613 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9614 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9615 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9621 # Check for libraries that X11R6 Xt/Xaw programs need.
9622 ac_save_LDFLAGS
=$LDFLAGS
9623 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9624 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9625 # check for ICE first), but we must link in the order -lSM -lICE or
9626 # we get undefined symbols. So assume we have SM if we have ICE.
9627 # These have to be linked with before -lX11, unlike the other
9628 # libraries we check for below, so use a different variable.
9629 # John Interrante, Karl Berry
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9631 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9632 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9633 $as_echo_n "(cached) " >&6
9635 ac_check_lib_save_LIBS
=$LIBS
9636 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9638 /* end confdefs.h. */
9640 /* Override any GCC internal prototype to avoid an error.
9641 Use char because int might match the return type of a GCC
9642 builtin and then its argument prototype would still apply. */
9646 char IceConnectionNumber ();
9650 return IceConnectionNumber ();
9655 if ac_fn_c_try_link
"$LINENO"; then :
9656 ac_cv_lib_ICE_IceConnectionNumber
=yes
9658 ac_cv_lib_ICE_IceConnectionNumber
=no
9660 rm -f core conftest.err conftest.
$ac_objext \
9661 conftest
$ac_exeext conftest.
$ac_ext
9662 LIBS
=$ac_check_lib_save_LIBS
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9665 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9666 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9667 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9670 LDFLAGS
=$ac_save_LDFLAGS
9675 if test "$have_x" = "yes"
9677 ac_save_CPPFLAGS
="$CPPFLAGS"
9678 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9681 $as_echo_n "checking for -lX11... " >&6; }
9682 if ${ac_cv_lib_soname_X11+:} false
; then :
9683 $as_echo_n "(cached) " >&6
9685 ac_check_soname_save_LIBS
=$LIBS
9686 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9688 /* end confdefs.h. */
9690 /* Override any GCC internal prototype to avoid an error.
9691 Use char because int might match the return type of a GCC
9692 builtin and then its argument prototype would still apply. */
9696 char XCreateWindow ();
9700 return XCreateWindow ();
9705 if ac_fn_c_try_link
"$LINENO"; then :
9707 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9708 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'` ;;
9709 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9710 if ${ac_cv_lib_soname_X11:+false} :; then :
9711 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9715 rm -f core conftest.err conftest.
$ac_objext \
9716 conftest
$ac_exeext conftest.
$ac_ext
9717 LIBS
=$ac_check_soname_save_LIBS
9719 if ${ac_cv_lib_soname_X11:+false} :; then :
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9721 $as_echo "not found" >&6; }
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9725 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9727 cat >>confdefs.h
<<_ACEOF
9728 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9734 $as_echo_n "checking for -lXext... " >&6; }
9735 if ${ac_cv_lib_soname_Xext+:} false
; then :
9736 $as_echo_n "(cached) " >&6
9738 ac_check_soname_save_LIBS
=$LIBS
9739 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9741 /* end confdefs.h. */
9743 /* Override any GCC internal prototype to avoid an error.
9744 Use char because int might match the return type of a GCC
9745 builtin and then its argument prototype would still apply. */
9749 char XextCreateExtension ();
9753 return XextCreateExtension ();
9758 if ac_fn_c_try_link
"$LINENO"; then :
9760 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9761 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'` ;;
9762 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9763 if ${ac_cv_lib_soname_Xext:+false} :; then :
9764 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9768 rm -f core conftest.err conftest.
$ac_objext \
9769 conftest
$ac_exeext conftest.
$ac_ext
9770 LIBS
=$ac_check_soname_save_LIBS
9772 if ${ac_cv_lib_soname_Xext:+false} :; then :
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9774 $as_echo "not found" >&6; }
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9778 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9780 cat >>confdefs.h
<<_ACEOF
9781 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9784 X_LIBS
="$X_LIBS -lXext"
9786 X_LIBS
="$X_LIBS -lX11"
9788 for ac_header
in X11
/Xlib.h \
9791 X11
/Xcursor
/Xcursor.h \
9792 X11
/extensions
/shape.h \
9793 X11
/extensions
/XInput.h \
9794 X11
/extensions
/XInput2.h \
9795 X11
/extensions
/XShm.h \
9796 X11
/extensions
/Xcomposite.h \
9797 X11
/extensions
/Xinerama.h \
9798 X11
/extensions
/Xrandr.h \
9799 X11
/extensions
/Xrender.h \
9800 X11
/extensions
/xf86vmode.h \
9801 X11
/extensions
/xf86vmproto.h
9803 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9804 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9805 # include <X11/Xlib.h>
9807 #ifdef HAVE_X11_XUTIL_H
9808 # include <X11/Xutil.h>
9811 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9812 cat >>confdefs.h
<<_ACEOF
9813 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9821 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9824 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9825 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9826 $as_echo_n "(cached) " >&6
9828 ac_check_lib_save_LIBS
=$LIBS
9829 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9831 /* end confdefs.h. */
9833 /* Override any GCC internal prototype to avoid an error.
9834 Use char because int might match the return type of a GCC
9835 builtin and then its argument prototype would still apply. */
9839 char XkbQueryExtension ();
9843 return XkbQueryExtension ();
9848 if ac_fn_c_try_link
"$LINENO"; then :
9849 ac_cv_lib_X11_XkbQueryExtension
=yes
9851 ac_cv_lib_X11_XkbQueryExtension
=no
9853 rm -f core conftest.err conftest.
$ac_objext \
9854 conftest
$ac_exeext conftest.
$ac_ext
9855 LIBS
=$ac_check_lib_save_LIBS
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9858 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9859 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9861 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9867 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9870 $as_echo_n "checking for -lXcursor... " >&6; }
9871 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9872 $as_echo_n "(cached) " >&6
9874 ac_check_soname_save_LIBS
=$LIBS
9875 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9877 /* end confdefs.h. */
9879 /* Override any GCC internal prototype to avoid an error.
9880 Use char because int might match the return type of a GCC
9881 builtin and then its argument prototype would still apply. */
9885 char XcursorImageLoadCursor ();
9889 return XcursorImageLoadCursor ();
9894 if ac_fn_c_try_link
"$LINENO"; then :
9896 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9897 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'` ;;
9898 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9899 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9900 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9904 rm -f core conftest.err conftest.
$ac_objext \
9905 conftest
$ac_exeext conftest.
$ac_ext
9906 LIBS
=$ac_check_soname_save_LIBS
9908 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9910 $as_echo "not found" >&6; }
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9914 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9916 cat >>confdefs.h
<<_ACEOF
9917 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9923 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9924 case "x$with_xcursor" in
9925 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9927 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9928 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9933 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9936 $as_echo_n "checking for -lXi... " >&6; }
9937 if ${ac_cv_lib_soname_Xi+:} false
; then :
9938 $as_echo_n "(cached) " >&6
9940 ac_check_soname_save_LIBS
=$LIBS
9941 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9943 /* end confdefs.h. */
9945 /* Override any GCC internal prototype to avoid an error.
9946 Use char because int might match the return type of a GCC
9947 builtin and then its argument prototype would still apply. */
9951 char XOpenDevice ();
9955 return XOpenDevice ();
9960 if ac_fn_c_try_link
"$LINENO"; then :
9962 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9963 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'` ;;
9964 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9965 if ${ac_cv_lib_soname_Xi:+false} :; then :
9966 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9970 rm -f core conftest.err conftest.
$ac_objext \
9971 conftest
$ac_exeext conftest.
$ac_ext
9972 LIBS
=$ac_check_soname_save_LIBS
9974 if ${ac_cv_lib_soname_Xi:+false} :; then :
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9976 $as_echo "not found" >&6; }
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9980 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9982 cat >>confdefs.h
<<_ACEOF
9983 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9989 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9990 case "x$with_xinput" in
9991 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9993 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9994 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9999 if test "x$ac_cv_lib_soname_Xi" != x
10001 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10002 case "x$with_xinput2" in
10003 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10005 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
10006 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10012 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10015 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10016 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
10017 $as_echo_n "(cached) " >&6
10019 ac_check_lib_save_LIBS
=$LIBS
10020 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10022 /* end confdefs.h. */
10024 /* Override any GCC internal prototype to avoid an error.
10025 Use char because int might match the return type of a GCC
10026 builtin and then its argument prototype would still apply. */
10030 char XShmQueryExtension ();
10034 return XShmQueryExtension ();
10039 if ac_fn_c_try_link
"$LINENO"; then :
10040 ac_cv_lib_Xext_XShmQueryExtension
=yes
10042 ac_cv_lib_Xext_XShmQueryExtension
=no
10044 rm -f core conftest.err conftest.
$ac_objext \
10045 conftest
$ac_exeext conftest.
$ac_ext
10046 LIBS
=$ac_check_lib_save_LIBS
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10049 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10050 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10052 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10057 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10058 case "x$with_xshm" in
10059 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10061 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10062 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10067 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10070 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10071 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10072 $as_echo_n "(cached) " >&6
10074 ac_check_lib_save_LIBS
=$LIBS
10075 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10077 /* end confdefs.h. */
10079 /* Override any GCC internal prototype to avoid an error.
10080 Use char because int might match the return type of a GCC
10081 builtin and then its argument prototype would still apply. */
10085 char XShapeQueryExtension ();
10089 return XShapeQueryExtension ();
10094 if ac_fn_c_try_link
"$LINENO"; then :
10095 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10097 ac_cv_lib_Xext_XShapeQueryExtension
=no
10099 rm -f core conftest.err conftest.
$ac_objext \
10100 conftest
$ac_exeext conftest.
$ac_ext
10101 LIBS
=$ac_check_lib_save_LIBS
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10104 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10105 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10107 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10112 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10113 case "x$with_xshape" in
10114 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10116 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10117 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10122 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10125 $as_echo_n "checking for -lXxf86vm... " >&6; }
10126 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10127 $as_echo_n "(cached) " >&6
10129 ac_check_soname_save_LIBS
=$LIBS
10130 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10132 /* end confdefs.h. */
10134 /* Override any GCC internal prototype to avoid an error.
10135 Use char because int might match the return type of a GCC
10136 builtin and then its argument prototype would still apply. */
10140 char XF86VidModeQueryExtension ();
10144 return XF86VidModeQueryExtension ();
10149 if ac_fn_c_try_link
"$LINENO"; then :
10151 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10152 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'` ;;
10153 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10154 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10155 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10159 rm -f core conftest.err conftest.
$ac_objext \
10160 conftest
$ac_exeext conftest.
$ac_ext
10161 LIBS
=$ac_check_soname_save_LIBS
10163 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10165 $as_echo "not found" >&6; }
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10169 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10171 cat >>confdefs.h
<<_ACEOF
10172 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10178 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10179 case "x$with_xxf86vm" in
10180 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10182 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10183 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10188 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10191 $as_echo_n "checking for -lXrender... " >&6; }
10192 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10193 $as_echo_n "(cached) " >&6
10195 ac_check_soname_save_LIBS
=$LIBS
10196 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10198 /* end confdefs.h. */
10200 /* Override any GCC internal prototype to avoid an error.
10201 Use char because int might match the return type of a GCC
10202 builtin and then its argument prototype would still apply. */
10206 char XRenderQueryExtension ();
10210 return XRenderQueryExtension ();
10215 if ac_fn_c_try_link
"$LINENO"; then :
10217 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10218 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'` ;;
10219 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10220 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10221 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10225 rm -f core conftest.err conftest.
$ac_objext \
10226 conftest
$ac_exeext conftest.
$ac_ext
10227 LIBS
=$ac_check_soname_save_LIBS
10229 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10231 $as_echo "not found" >&6; }
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10235 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10237 cat >>confdefs.h
<<_ACEOF
10238 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10242 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10243 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10244 $as_echo_n "(cached) " >&6
10246 ac_check_lib_save_LIBS
=$LIBS
10247 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10249 /* end confdefs.h. */
10251 /* Override any GCC internal prototype to avoid an error.
10252 Use char because int might match the return type of a GCC
10253 builtin and then its argument prototype would still apply. */
10257 char XRenderSetPictureTransform ();
10261 return XRenderSetPictureTransform ();
10266 if ac_fn_c_try_link
"$LINENO"; then :
10267 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10269 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10271 rm -f core conftest.err conftest.
$ac_objext \
10272 conftest
$ac_exeext conftest.
$ac_ext
10273 LIBS
=$ac_check_lib_save_LIBS
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10276 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10277 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10279 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10284 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10285 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10286 $as_echo_n "(cached) " >&6
10288 ac_check_lib_save_LIBS
=$LIBS
10289 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10291 /* end confdefs.h. */
10293 /* Override any GCC internal prototype to avoid an error.
10294 Use char because int might match the return type of a GCC
10295 builtin and then its argument prototype would still apply. */
10299 char XRenderCreateLinearGradient ();
10303 return XRenderCreateLinearGradient ();
10308 if ac_fn_c_try_link
"$LINENO"; then :
10309 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10311 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10313 rm -f core conftest.err conftest.
$ac_objext \
10314 conftest
$ac_exeext conftest.
$ac_ext
10315 LIBS
=$ac_check_lib_save_LIBS
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10318 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10319 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10321 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10328 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10329 case "x$with_xrender" in
10330 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10332 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10333 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10338 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10341 /* end confdefs.h. */
10342 #include <X11/Xlib.h>
10343 #include <X11/extensions/Xrandr.h>
10347 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10352 if ac_fn_c_try_compile
"$LINENO"; then :
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10354 $as_echo_n "checking for -lXrandr... " >&6; }
10355 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10356 $as_echo_n "(cached) " >&6
10358 ac_check_soname_save_LIBS
=$LIBS
10359 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10361 /* end confdefs.h. */
10363 /* Override any GCC internal prototype to avoid an error.
10364 Use char because int might match the return type of a GCC
10365 builtin and then its argument prototype would still apply. */
10369 char XRRQueryExtension ();
10373 return XRRQueryExtension ();
10378 if ac_fn_c_try_link
"$LINENO"; then :
10380 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10381 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'` ;;
10382 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10383 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10384 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10388 rm -f core conftest.err conftest.
$ac_objext \
10389 conftest
$ac_exeext conftest.
$ac_ext
10390 LIBS
=$ac_check_soname_save_LIBS
10392 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10394 $as_echo "not found" >&6; }
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10398 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10400 cat >>confdefs.h
<<_ACEOF
10401 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10405 /* end confdefs.h. */
10406 #include <X11/Xlib.h>
10407 #include <X11/extensions/Xrandr.h>
10411 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10416 if ac_fn_c_try_compile
"$LINENO"; then :
10418 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10426 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10427 case "x$with_xrandr" in
10428 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10430 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10431 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10436 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10439 /* end confdefs.h. */
10440 #include <X11/Xlib.h>
10441 #include <X11/extensions/Xinerama.h>
10445 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10450 if ac_fn_c_try_compile
"$LINENO"; then :
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10452 $as_echo_n "checking for -lXinerama... " >&6; }
10453 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10454 $as_echo_n "(cached) " >&6
10456 ac_check_soname_save_LIBS
=$LIBS
10457 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10459 /* end confdefs.h. */
10461 /* Override any GCC internal prototype to avoid an error.
10462 Use char because int might match the return type of a GCC
10463 builtin and then its argument prototype would still apply. */
10467 char XineramaQueryScreens ();
10471 return XineramaQueryScreens ();
10476 if ac_fn_c_try_link
"$LINENO"; then :
10478 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10479 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'` ;;
10480 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10481 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10482 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10486 rm -f core conftest.err conftest.
$ac_objext \
10487 conftest
$ac_exeext conftest.
$ac_ext
10488 LIBS
=$ac_check_soname_save_LIBS
10490 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10492 $as_echo "not found" >&6; }
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10496 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10498 cat >>confdefs.h
<<_ACEOF
10499 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10505 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10507 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10508 case "x$with_xinerama" in
10509 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10511 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10512 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10517 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10520 $as_echo_n "checking for -lXcomposite... " >&6; }
10521 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10522 $as_echo_n "(cached) " >&6
10524 ac_check_soname_save_LIBS
=$LIBS
10525 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10527 /* end confdefs.h. */
10529 /* Override any GCC internal prototype to avoid an error.
10530 Use char because int might match the return type of a GCC
10531 builtin and then its argument prototype would still apply. */
10535 char XCompositeRedirectWindow ();
10539 return XCompositeRedirectWindow ();
10544 if ac_fn_c_try_link
"$LINENO"; then :
10546 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10547 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'` ;;
10548 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10549 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10550 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10554 rm -f core conftest.err conftest.
$ac_objext \
10555 conftest
$ac_exeext conftest.
$ac_ext
10556 LIBS
=$ac_check_soname_save_LIBS
10558 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10560 $as_echo "not found" >&6; }
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10564 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10566 cat >>confdefs.h
<<_ACEOF
10567 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10573 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10574 case "x$with_xcomposite" in
10575 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10577 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10578 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10583 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10584 #include <X11/Xlib.h>
10587 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10589 cat >>confdefs.h
<<_ACEOF
10590 #define HAVE_XICCALLBACK_CALLBACK 1
10595 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10596 #include <X11/Xlib.h>
10599 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10601 cat >>confdefs.h
<<_ACEOF
10602 #define HAVE_XEVENT_XCOOKIE 1
10611 if test "x$with_opengl" != "xno"
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10614 $as_echo_n "checking for -lGL... " >&6; }
10615 if ${ac_cv_lib_soname_GL+:} false
; then :
10616 $as_echo_n "(cached) " >&6
10618 ac_check_soname_save_LIBS
=$LIBS
10619 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10621 /* end confdefs.h. */
10623 /* Override any GCC internal prototype to avoid an error.
10624 Use char because int might match the return type of a GCC
10625 builtin and then its argument prototype would still apply. */
10629 char glXCreateContext ();
10633 return glXCreateContext ();
10638 if ac_fn_c_try_link
"$LINENO"; then :
10640 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10641 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'` ;;
10642 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10643 if ${ac_cv_lib_soname_GL:+false} :; then :
10644 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10648 rm -f core conftest.err conftest.
$ac_objext \
10649 conftest
$ac_exeext conftest.
$ac_ext
10650 LIBS
=$ac_check_soname_save_LIBS
10652 if ${ac_cv_lib_soname_GL:+false} :; then :
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10654 $as_echo "not found" >&6; }
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10656 $as_echo_n "checking for -lGL... " >&6; }
10657 if ${ac_cv_lib_soname_GL+:} false
; then :
10658 $as_echo_n "(cached) " >&6
10660 ac_check_soname_save_LIBS
=$LIBS
10661 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"
10662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10663 /* end confdefs.h. */
10665 /* Override any GCC internal prototype to avoid an error.
10666 Use char because int might match the return type of a GCC
10667 builtin and then its argument prototype would still apply. */
10671 char glXCreateContext ();
10675 return glXCreateContext ();
10680 if ac_fn_c_try_link
"$LINENO"; then :
10682 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10683 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'` ;;
10684 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10685 if ${ac_cv_lib_soname_GL:+false} :; then :
10686 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10690 rm -f core conftest.err conftest.
$ac_objext \
10691 conftest
$ac_exeext conftest.
$ac_ext
10692 LIBS
=$ac_check_soname_save_LIBS
10694 if ${ac_cv_lib_soname_GL:+false} :; then :
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10696 $as_echo "not found" >&6; }
10697 if test -f /usr
/X11R
6/lib
/libGL.a
10699 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10700 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10702 opengl_msg
="No OpenGL library found on this system."
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10706 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10708 cat >>confdefs.h
<<_ACEOF
10709 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10712 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"
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10716 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10718 cat >>confdefs.h
<<_ACEOF
10719 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10724 if test "x$with_glu" != "xno"
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10727 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10728 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10729 $as_echo_n "(cached) " >&6
10731 ac_check_lib_save_LIBS
=$LIBS
10732 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10734 /* end confdefs.h. */
10736 /* Override any GCC internal prototype to avoid an error.
10737 Use char because int might match the return type of a GCC
10738 builtin and then its argument prototype would still apply. */
10746 return gluLookAt ();
10751 if ac_fn_c_try_link
"$LINENO"; then :
10752 ac_cv_lib_GLU_gluLookAt
=yes
10754 ac_cv_lib_GLU_gluLookAt
=no
10756 rm -f core conftest.err conftest.
$ac_objext \
10757 conftest
$ac_exeext conftest.
$ac_ext
10758 LIBS
=$ac_check_lib_save_LIBS
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10761 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10762 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10766 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10767 case "x$with_glu" in
10768 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10770 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10771 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10777 if test "x$with_osmesa" != "xno"
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10780 $as_echo_n "checking for -lOSMesa... " >&6; }
10781 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10782 $as_echo_n "(cached) " >&6
10784 ac_check_soname_save_LIBS
=$LIBS
10785 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10787 /* end confdefs.h. */
10789 /* Override any GCC internal prototype to avoid an error.
10790 Use char because int might match the return type of a GCC
10791 builtin and then its argument prototype would still apply. */
10804 if ac_fn_c_try_link
"$LINENO"; then :
10806 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10807 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'` ;;
10808 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10809 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10810 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10814 rm -f core conftest.err conftest.
$ac_objext \
10815 conftest
$ac_exeext conftest.
$ac_ext
10816 LIBS
=$ac_check_soname_save_LIBS
10818 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10820 $as_echo "not found" >&6; }
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10824 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10826 cat >>confdefs.h
<<_ACEOF
10827 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10832 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10833 case "x$with_osmesa" in
10834 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10836 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10837 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10843 if test -n "$opengl_msg"; then :
10844 case "x$with_opengl" in
10845 x
) as_fn_append wine_warnings
"|$opengl_msg
10846 OpenGL and Direct3D won't be supported." ;;
10848 *) as_fn_error $?
"$opengl_msg
10849 OpenGL and Direct3D won't be supported.
10850 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10855 CPPFLAGS
="$ac_save_CPPFLAGS"
10860 if test "x$X_LIBS" = "x"; then :
10863 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10864 without X support, which probably isn't what you want. You will need
10865 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10866 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10868 enable_winex11_drv
=${enable_winex11_drv:-no}
10871 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10873 if test "$ac_cv_header_CL_cl_h" = "yes"
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10876 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10877 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10878 $as_echo_n "(cached) " >&6
10880 ac_check_lib_save_LIBS
=$LIBS
10881 LIBS
="-lOpenCL $LIBS"
10882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10883 /* end confdefs.h. */
10885 /* Override any GCC internal prototype to avoid an error.
10886 Use char because int might match the return type of a GCC
10887 builtin and then its argument prototype would still apply. */
10891 char clGetPlatformInfo ();
10895 return clGetPlatformInfo ();
10900 if ac_fn_c_try_link
"$LINENO"; then :
10901 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10903 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10905 rm -f core conftest.err conftest.
$ac_objext \
10906 conftest
$ac_exeext conftest.
$ac_ext
10907 LIBS
=$ac_check_lib_save_LIBS
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10910 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10911 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10912 OPENCL_LIBS
="-lOpenCL"
10917 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10918 case "x$with_opencl" in
10919 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10921 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10922 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10924 enable_opencl
=${enable_opencl:-no}
10927 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10930 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10931 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10932 $as_echo_n "(cached) " >&6
10934 ac_check_lib_save_LIBS
=$LIBS
10935 LIBS
="-lpcap $LIBS"
10936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10937 /* end confdefs.h. */
10939 /* Override any GCC internal prototype to avoid an error.
10940 Use char because int might match the return type of a GCC
10941 builtin and then its argument prototype would still apply. */
10945 char pcap_create ();
10949 return pcap_create ();
10954 if ac_fn_c_try_link
"$LINENO"; then :
10955 ac_cv_lib_pcap_pcap_create
=yes
10957 ac_cv_lib_pcap_pcap_create
=no
10959 rm -f core conftest.err conftest.
$ac_objext \
10960 conftest
$ac_exeext conftest.
$ac_ext
10961 LIBS
=$ac_check_lib_save_LIBS
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10964 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10965 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10971 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10972 case "x$with_pcap" in
10973 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10975 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10976 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10978 enable_wpcap
=${enable_wpcap:-no}
10982 if test "x$with_xml" != "xno"
10984 if ${XML2_CFLAGS:+false} :; then :
10985 if ${PKG_CONFIG+:} false
; then :
10986 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10989 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10990 if ${XML2_LIBS:+false} :; then :
10991 if ${PKG_CONFIG+:} false
; then :
10992 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10995 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10996 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10997 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10998 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10999 ac_save_CPPFLAGS
=$CPPFLAGS
11000 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
11001 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
11003 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11004 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11005 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11006 cat >>confdefs.h
<<_ACEOF
11007 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11014 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"
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11017 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11018 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
11019 $as_echo_n "(cached) " >&6
11021 ac_check_lib_save_LIBS
=$LIBS
11022 LIBS
="-lxml2 $XML2_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. */
11032 char xmlParseMemory ();
11036 return xmlParseMemory ();
11041 if ac_fn_c_try_link
"$LINENO"; then :
11042 ac_cv_lib_xml2_xmlParseMemory
=yes
11044 ac_cv_lib_xml2_xmlParseMemory
=no
11046 rm -f core conftest.err conftest.
$ac_objext \
11047 conftest
$ac_exeext conftest.
$ac_ext
11048 LIBS
=$ac_check_lib_save_LIBS
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11051 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11052 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11054 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11061 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11062 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11063 $as_echo_n "(cached) " >&6
11065 ac_check_lib_save_LIBS
=$LIBS
11066 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11068 /* end confdefs.h. */
11070 /* Override any GCC internal prototype to avoid an error.
11071 Use char because int might match the return type of a GCC
11072 builtin and then its argument prototype would still apply. */
11076 char xmlReadMemory ();
11080 return xmlReadMemory ();
11085 if ac_fn_c_try_link
"$LINENO"; then :
11086 ac_cv_lib_xml2_xmlReadMemory
=yes
11088 ac_cv_lib_xml2_xmlReadMemory
=no
11090 rm -f core conftest.err conftest.
$ac_objext \
11091 conftest
$ac_exeext conftest.
$ac_ext
11092 LIBS
=$ac_check_lib_save_LIBS
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11095 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11096 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11098 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11103 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11104 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11105 $as_echo_n "(cached) " >&6
11107 ac_check_lib_save_LIBS
=$LIBS
11108 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11110 /* end confdefs.h. */
11112 /* Override any GCC internal prototype to avoid an error.
11113 Use char because int might match the return type of a GCC
11114 builtin and then its argument prototype would still apply. */
11118 char xmlNewDocPI ();
11122 return xmlNewDocPI ();
11127 if ac_fn_c_try_link
"$LINENO"; then :
11128 ac_cv_lib_xml2_xmlNewDocPI
=yes
11130 ac_cv_lib_xml2_xmlNewDocPI
=no
11132 rm -f core conftest.err conftest.
$ac_objext \
11133 conftest
$ac_exeext conftest.
$ac_ext
11134 LIBS
=$ac_check_lib_save_LIBS
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11137 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11138 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11140 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11145 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11146 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11147 $as_echo_n "(cached) " >&6
11149 ac_check_lib_save_LIBS
=$LIBS
11150 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11152 /* end confdefs.h. */
11154 /* Override any GCC internal prototype to avoid an error.
11155 Use char because int might match the return type of a GCC
11156 builtin and then its argument prototype would still apply. */
11160 char xmlSchemaSetParserStructuredErrors ();
11164 return xmlSchemaSetParserStructuredErrors ();
11169 if ac_fn_c_try_link
"$LINENO"; then :
11170 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11172 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11174 rm -f core conftest.err conftest.
$ac_objext \
11175 conftest
$ac_exeext conftest.
$ac_ext
11176 LIBS
=$ac_check_lib_save_LIBS
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11179 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11180 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11182 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11187 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11188 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11189 $as_echo_n "(cached) " >&6
11191 ac_check_lib_save_LIBS
=$LIBS
11192 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11194 /* end confdefs.h. */
11196 /* Override any GCC internal prototype to avoid an error.
11197 Use char because int might match the return type of a GCC
11198 builtin and then its argument prototype would still apply. */
11202 char xmlSchemaSetValidStructuredErrors ();
11206 return xmlSchemaSetValidStructuredErrors ();
11211 if ac_fn_c_try_link
"$LINENO"; then :
11212 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11214 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11216 rm -f core conftest.err conftest.
$ac_objext \
11217 conftest
$ac_exeext conftest.
$ac_ext
11218 LIBS
=$ac_check_lib_save_LIBS
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11221 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11222 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11224 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11229 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11230 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11231 $as_echo_n "(cached) " >&6
11233 ac_check_lib_save_LIBS
=$LIBS
11234 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h. */
11238 /* Override any GCC internal prototype to avoid an error.
11239 Use char because int might match the return type of a GCC
11240 builtin and then its argument prototype would still apply. */
11244 char xmlFirstElementChild ();
11248 return xmlFirstElementChild ();
11253 if ac_fn_c_try_link
"$LINENO"; then :
11254 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11256 ac_cv_lib_xml2_xmlFirstElementChild
=no
11258 rm -f core conftest.err conftest.
$ac_objext \
11259 conftest
$ac_exeext conftest.
$ac_ext
11260 LIBS
=$ac_check_lib_save_LIBS
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11263 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11264 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11266 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11270 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11272 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11274 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11282 CPPFLAGS
=$ac_save_CPPFLAGS
11283 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11284 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11287 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11288 case "x$with_xml" in
11289 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11291 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11292 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11297 if test "x$with_xslt" != "xno"
11299 if ${XSLT_CFLAGS:+false} :; then :
11300 if ${PKG_CONFIG+:} false
; then :
11301 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11304 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11305 if ${XSLT_LIBS:+false} :; then :
11306 if ${PKG_CONFIG+:} false
; then :
11307 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11310 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11311 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11312 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11313 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11314 ac_save_CPPFLAGS
=$CPPFLAGS
11315 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11316 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11318 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11319 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11320 # include <libxslt/pattern.h>
11323 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11324 cat >>confdefs.h
<<_ACEOF
11325 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11332 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11335 $as_echo_n "checking for -lxslt... " >&6; }
11336 if ${ac_cv_lib_soname_xslt+:} false
; then :
11337 $as_echo_n "(cached) " >&6
11339 ac_check_soname_save_LIBS
=$LIBS
11340 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11342 /* end confdefs.h. */
11344 /* Override any GCC internal prototype to avoid an error.
11345 Use char because int might match the return type of a GCC
11346 builtin and then its argument prototype would still apply. */
11350 char xsltCompilePattern ();
11354 return xsltCompilePattern ();
11359 if ac_fn_c_try_link
"$LINENO"; then :
11361 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11362 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'` ;;
11363 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11364 if ${ac_cv_lib_soname_xslt:+false} :; then :
11365 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11369 rm -f core conftest.err conftest.
$ac_objext \
11370 conftest
$ac_exeext conftest.
$ac_ext
11371 LIBS
=$ac_check_soname_save_LIBS
11373 if ${ac_cv_lib_soname_xslt:+false} :; then :
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11375 $as_echo "not found" >&6; }
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11379 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11381 cat >>confdefs.h
<<_ACEOF
11382 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11390 CPPFLAGS
=$ac_save_CPPFLAGS
11391 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11392 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11395 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11396 case "x$with_xslt" in
11397 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11399 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11400 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11405 if test "x$with_dbus" != "xno"
11407 if ${DBUS_CFLAGS:+false} :; then :
11408 if ${PKG_CONFIG+:} false
; then :
11409 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11413 if ${DBUS_LIBS:+false} :; then :
11414 if ${PKG_CONFIG+:} false
; then :
11415 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11420 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11421 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11422 ac_save_CPPFLAGS
=$CPPFLAGS
11423 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11424 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11425 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11427 $as_echo_n "checking for -ldbus-1... " >&6; }
11428 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11429 $as_echo_n "(cached) " >&6
11431 ac_check_soname_save_LIBS
=$LIBS
11432 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h. */
11436 /* Override any GCC internal prototype to avoid an error.
11437 Use char because int might match the return type of a GCC
11438 builtin and then its argument prototype would still apply. */
11442 char dbus_connection_close ();
11446 return dbus_connection_close ();
11451 if ac_fn_c_try_link
"$LINENO"; then :
11453 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11454 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'` ;;
11455 *) 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'`
11456 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11457 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11461 rm -f core conftest.err conftest.
$ac_objext \
11462 conftest
$ac_exeext conftest.
$ac_ext
11463 LIBS
=$ac_check_soname_save_LIBS
11465 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11467 $as_echo "not found" >&6; }
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11471 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11473 cat >>confdefs.h
<<_ACEOF
11474 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11484 CPPFLAGS
=$ac_save_CPPFLAGS
11485 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11486 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11489 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11490 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11491 case "x$with_dbus" in
11492 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11494 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11495 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11500 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11502 if ${HAL_CFLAGS:+false} :; then :
11503 if ${PKG_CONFIG+:} false
; then :
11504 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11508 if ${HAL_LIBS:+false} :; then :
11509 if ${PKG_CONFIG+:} false
; then :
11510 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11514 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11515 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11516 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11517 ac_save_CPPFLAGS
=$CPPFLAGS
11518 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11519 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11520 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11522 $as_echo_n "checking for -lhal... " >&6; }
11523 if ${ac_cv_lib_soname_hal+:} false
; then :
11524 $as_echo_n "(cached) " >&6
11526 ac_check_soname_save_LIBS
=$LIBS
11527 LIBS
="-lhal $HAL_LIBS $LIBS"
11528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11529 /* end confdefs.h. */
11531 /* Override any GCC internal prototype to avoid an error.
11532 Use char because int might match the return type of a GCC
11533 builtin and then its argument prototype would still apply. */
11537 char libhal_ctx_new ();
11541 return libhal_ctx_new ();
11546 if ac_fn_c_try_link
"$LINENO"; then :
11548 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11549 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'` ;;
11550 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11551 if ${ac_cv_lib_soname_hal:+false} :; then :
11552 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11556 rm -f core conftest.err conftest.
$ac_objext \
11557 conftest
$ac_exeext conftest.
$ac_ext
11558 LIBS
=$ac_check_soname_save_LIBS
11560 if ${ac_cv_lib_soname_hal:+false} :; then :
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11562 $as_echo "not found" >&6; }
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11566 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11568 cat >>confdefs.h
<<_ACEOF
11569 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11579 CPPFLAGS
=$ac_save_CPPFLAGS
11580 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11581 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11583 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11584 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11585 case "x$with_hal" in
11586 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11588 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11589 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11595 if test "x$with_gnutls" != "xno"
11597 if ${GNUTLS_CFLAGS:+false} :; then :
11598 if ${PKG_CONFIG+:} false
; then :
11599 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11603 if ${GNUTLS_LIBS:+false} :; then :
11604 if ${PKG_CONFIG+:} false
; then :
11605 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11610 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11611 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11612 ac_save_CPPFLAGS
=$CPPFLAGS
11613 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11614 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11615 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11617 /* end confdefs.h. */
11618 #include <gnutls/gnutls.h>
11619 #include <gnutls/crypto.h>
11623 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11628 if ac_fn_c_try_compile
"$LINENO"; then :
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11630 $as_echo_n "checking for -lgnutls... " >&6; }
11631 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11632 $as_echo_n "(cached) " >&6
11634 ac_check_soname_save_LIBS
=$LIBS
11635 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11637 /* end confdefs.h. */
11639 /* Override any GCC internal prototype to avoid an error.
11640 Use char because int might match the return type of a GCC
11641 builtin and then its argument prototype would still apply. */
11645 char gnutls_global_init ();
11649 return gnutls_global_init ();
11654 if ac_fn_c_try_link
"$LINENO"; then :
11656 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11657 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'` ;;
11658 *) 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'`
11659 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11660 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'`
11664 rm -f core conftest.err conftest.
$ac_objext \
11665 conftest
$ac_exeext conftest.
$ac_ext
11666 LIBS
=$ac_check_soname_save_LIBS
11668 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11670 $as_echo "not found" >&6; }
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11674 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11676 cat >>confdefs.h
<<_ACEOF
11677 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11682 ac_wine_check_funcs_save_LIBS
="$LIBS"
11683 LIBS
="$LIBS $GNUTLS_LIBS"
11684 for ac_func
in gnutls_hash
11686 ac_fn_c_check_func
"$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11687 if test "x$ac_cv_func_gnutls_hash" = xyes
; then :
11688 cat >>confdefs.h
<<_ACEOF
11689 #define HAVE_GNUTLS_HASH 1
11693 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11697 LIBS
="$ac_wine_check_funcs_save_LIBS"
11699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11705 CPPFLAGS
=$ac_save_CPPFLAGS
11706 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11707 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11710 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11711 case "x$with_gnutls" in
11712 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11714 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11715 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11721 if test "$ac_cv_header_ncurses_h" = "yes"
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11724 $as_echo_n "checking for -lncurses... " >&6; }
11725 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11726 $as_echo_n "(cached) " >&6
11728 ac_check_soname_save_LIBS
=$LIBS
11729 LIBS
="-lncurses $LIBS"
11730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11731 /* end confdefs.h. */
11733 /* Override any GCC internal prototype to avoid an error.
11734 Use char because int might match the return type of a GCC
11735 builtin and then its argument prototype would still apply. */
11748 if ac_fn_c_try_link
"$LINENO"; then :
11750 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11751 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'` ;;
11752 *) 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'`
11753 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11754 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11758 rm -f core conftest.err conftest.
$ac_objext \
11759 conftest
$ac_exeext conftest.
$ac_ext
11760 LIBS
=$ac_check_soname_save_LIBS
11762 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11764 $as_echo "not found" >&6; }
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11768 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11770 cat >>confdefs.h
<<_ACEOF
11771 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11774 CURSES_LIBS
="-lncurses"
11776 elif test "$ac_cv_header_curses_h" = "yes"
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11779 $as_echo_n "checking for -lcurses... " >&6; }
11780 if ${ac_cv_lib_soname_curses+:} false
; then :
11781 $as_echo_n "(cached) " >&6
11783 ac_check_soname_save_LIBS
=$LIBS
11784 LIBS
="-lcurses $LIBS"
11785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11786 /* end confdefs.h. */
11788 /* Override any GCC internal prototype to avoid an error.
11789 Use char because int might match the return type of a GCC
11790 builtin and then its argument prototype would still apply. */
11803 if ac_fn_c_try_link
"$LINENO"; then :
11805 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11806 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'` ;;
11807 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11808 if ${ac_cv_lib_soname_curses:+false} :; then :
11809 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11813 rm -f core conftest.err conftest.
$ac_objext \
11814 conftest
$ac_exeext conftest.
$ac_ext
11815 LIBS
=$ac_check_soname_save_LIBS
11817 if ${ac_cv_lib_soname_curses:+false} :; then :
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11819 $as_echo "not found" >&6; }
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11823 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11825 cat >>confdefs.h
<<_ACEOF
11826 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11829 CURSES_LIBS
="-lcurses"
11832 ac_save_LIBS
="$LIBS"
11833 LIBS
="$LIBS $CURSES_LIBS"
11834 for ac_func
in mousemask
11836 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11837 if test "x$ac_cv_func_mousemask" = xyes
; then :
11838 cat >>confdefs.h
<<_ACEOF
11839 #define HAVE_MOUSEMASK 1
11845 LIBS
="$ac_save_LIBS"
11846 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11847 case "x$with_curses" in
11848 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11850 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11851 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11856 if test "x$with_sane" != "xno"
11858 if ${SANE_CFLAGS:+false} :; then :
11859 if ${PKG_CONFIG+:} false
; then :
11860 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11863 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11864 if ${SANE_LIBS:+false} :; then :
11865 if ${PKG_CONFIG+:} false
; then :
11866 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11869 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11871 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11872 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11873 ac_save_CPPFLAGS
=$CPPFLAGS
11874 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11875 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11876 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11878 $as_echo_n "checking for -lsane... " >&6; }
11879 if ${ac_cv_lib_soname_sane+:} false
; then :
11880 $as_echo_n "(cached) " >&6
11882 ac_check_soname_save_LIBS
=$LIBS
11883 LIBS
="-lsane $SANE_LIBS $LIBS"
11884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11887 /* Override any GCC internal prototype to avoid an error.
11888 Use char because int might match the return type of a GCC
11889 builtin and then its argument prototype would still apply. */
11897 return sane_init ();
11902 if ac_fn_c_try_link
"$LINENO"; then :
11904 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11905 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'` ;;
11906 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11907 if ${ac_cv_lib_soname_sane:+false} :; then :
11908 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11912 rm -f core conftest.err conftest.
$ac_objext \
11913 conftest
$ac_exeext conftest.
$ac_ext
11914 LIBS
=$ac_check_soname_save_LIBS
11916 if ${ac_cv_lib_soname_sane:+false} :; then :
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11918 $as_echo "not found" >&6; }
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11922 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11924 cat >>confdefs.h
<<_ACEOF
11925 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11935 CPPFLAGS
=$ac_save_CPPFLAGS
11936 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11937 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11940 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11941 case "x$with_sane" in
11942 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11944 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11945 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11950 if test "x$with_v4l" != "xno"
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11953 $as_echo_n "checking for -lv4l1... " >&6; }
11954 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11955 $as_echo_n "(cached) " >&6
11957 ac_check_soname_save_LIBS
=$LIBS
11958 LIBS
="-lv4l1 $LIBS"
11959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11960 /* end confdefs.h. */
11962 /* Override any GCC internal prototype to avoid an error.
11963 Use char because int might match the return type of a GCC
11964 builtin and then its argument prototype would still apply. */
11972 return v4l1_open ();
11977 if ac_fn_c_try_link
"$LINENO"; then :
11979 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11980 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'` ;;
11981 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11982 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11983 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11987 rm -f core conftest.err conftest.
$ac_objext \
11988 conftest
$ac_exeext conftest.
$ac_ext
11989 LIBS
=$ac_check_soname_save_LIBS
11991 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11993 $as_echo "not found" >&6; }
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11997 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11999 cat >>confdefs.h
<<_ACEOF
12000 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12006 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12007 case "x$with_v4l" in
12008 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
12010 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
12011 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12016 if test "x$with_gphoto" != "xno"
12018 if ${GPHOTO2_CFLAGS:+false} :; then :
12019 if ${PKG_CONFIG+:} false
; then :
12020 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12023 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12024 if ${GPHOTO2_LIBS:+false} :; then :
12025 if ${PKG_CONFIG+:} false
; then :
12026 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12029 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12030 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
12031 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12032 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12033 ac_save_CPPFLAGS
=$CPPFLAGS
12034 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
12035 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12036 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12038 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12039 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
12040 $as_echo_n "(cached) " >&6
12042 ac_check_lib_save_LIBS
=$LIBS
12043 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12045 /* end confdefs.h. */
12047 /* Override any GCC internal prototype to avoid an error.
12048 Use char because int might match the return type of a GCC
12049 builtin and then its argument prototype would still apply. */
12053 char gp_camera_new ();
12057 return gp_camera_new ();
12062 if ac_fn_c_try_link
"$LINENO"; then :
12063 ac_cv_lib_gphoto2_gp_camera_new
=yes
12065 ac_cv_lib_gphoto2_gp_camera_new
=no
12067 rm -f core conftest.err conftest.
$ac_objext \
12068 conftest
$ac_exeext conftest.
$ac_ext
12069 LIBS
=$ac_check_lib_save_LIBS
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12072 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12073 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12075 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12078 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12082 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12086 CPPFLAGS
=$ac_save_CPPFLAGS
12087 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12088 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12090 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12091 if ${PKG_CONFIG+:} false
; then :
12092 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12095 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12096 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12097 if ${PKG_CONFIG+:} false
; then :
12098 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12101 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12102 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12103 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12104 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12105 ac_save_CPPFLAGS
=$CPPFLAGS
12106 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12107 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12108 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12110 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12111 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12112 $as_echo_n "(cached) " >&6
12114 ac_check_lib_save_LIBS
=$LIBS
12115 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12117 /* end confdefs.h. */
12119 /* Override any GCC internal prototype to avoid an error.
12120 Use char because int might match the return type of a GCC
12121 builtin and then its argument prototype would still apply. */
12125 char gp_port_info_list_new ();
12129 return gp_port_info_list_new ();
12134 if ac_fn_c_try_link
"$LINENO"; then :
12135 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12137 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12139 rm -f core conftest.err conftest.
$ac_objext \
12140 conftest
$ac_exeext conftest.
$ac_ext
12141 LIBS
=$ac_check_lib_save_LIBS
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12144 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12145 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12147 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12150 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12154 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12158 CPPFLAGS
=$ac_save_CPPFLAGS
12159 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12160 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12163 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12164 case "x$with_gphoto" in
12165 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12167 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12168 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12172 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12173 case "x$with_gphoto" in
12174 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12176 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12177 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12183 if test "$ac_cv_header_resolv_h" = "yes"
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12186 $as_echo_n "checking for resolver library... " >&6; }
12187 if ${ac_cv_have_resolv+:} false
; then :
12188 $as_echo_n "(cached) " >&6
12190 ac_save_LIBS
="$LIBS"
12191 for lib
in '' -lresolv
12193 LIBS
="$lib $ac_save_LIBS"
12194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12195 /* end confdefs.h. */
12196 #ifdef HAVE_NETINET_IN_H
12197 #include <netinet/in.h>
12199 #include <resolv.h>
12203 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12208 if ac_fn_c_try_link
"$LINENO"; then :
12209 ac_cv_have_resolv
=${lib:-"none required"}
12211 ac_cv_have_resolv
="not found"
12213 rm -f core conftest.err conftest.
$ac_objext \
12214 conftest
$ac_exeext conftest.
$ac_ext
12215 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12217 LIBS
="$ac_save_LIBS"
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12220 $as_echo "$ac_cv_have_resolv" >&6; }
12222 case "$ac_cv_have_resolv" in
12226 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12229 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12231 RESOLV_LIBS
=$ac_cv_have_resolv
12236 if test "x$with_cms" != "xno"
12238 if ${LCMS2_CFLAGS:+false} :; then :
12239 if ${PKG_CONFIG+:} false
; then :
12240 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12244 if ${LCMS2_LIBS:+false} :; then :
12245 if ${PKG_CONFIG+:} false
; then :
12246 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12250 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12251 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12252 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12253 ac_save_CPPFLAGS
=$CPPFLAGS
12254 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12255 for ac_header
in lcms2.h
12257 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12258 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12259 cat >>confdefs.h
<<_ACEOF
12260 #define HAVE_LCMS2_H 1
12267 if test "$ac_cv_header_lcms2_h" = "yes"
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12270 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12271 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12272 $as_echo_n "(cached) " >&6
12274 ac_check_lib_save_LIBS
=$LIBS
12275 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12277 /* end confdefs.h. */
12279 /* Override any GCC internal prototype to avoid an error.
12280 Use char because int might match the return type of a GCC
12281 builtin and then its argument prototype would still apply. */
12285 char cmsOpenProfileFromFile ();
12289 return cmsOpenProfileFromFile ();
12294 if ac_fn_c_try_link
"$LINENO"; then :
12295 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12297 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12299 rm -f core conftest.err conftest.
$ac_objext \
12300 conftest
$ac_exeext conftest.
$ac_ext
12301 LIBS
=$ac_check_lib_save_LIBS
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12304 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12305 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12307 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12317 CPPFLAGS
=$ac_save_CPPFLAGS
12318 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12319 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12322 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12323 case "x$with_cms" in
12324 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12326 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12327 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12332 if test "x$with_freetype" != "xno"
12334 if ${FREETYPE_CFLAGS:+false} :; then :
12335 if ${PKG_CONFIG+:} false
; then :
12336 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12339 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12340 if ${FREETYPE_LIBS:+false} :; then :
12341 if ${PKG_CONFIG+:} false
; then :
12342 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12345 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12346 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12347 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12348 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12349 ac_save_CPPFLAGS
=$CPPFLAGS
12350 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12351 for ac_header
in ft2build.h
12353 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12354 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12355 cat >>confdefs.h
<<_ACEOF
12356 #define HAVE_FT2BUILD_H 1
12363 if test "$ac_cv_header_ft2build_h" = "yes"
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12366 $as_echo_n "checking for -lfreetype... " >&6; }
12367 if ${ac_cv_lib_soname_freetype+:} false
; then :
12368 $as_echo_n "(cached) " >&6
12370 ac_check_soname_save_LIBS
=$LIBS
12371 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12373 /* end confdefs.h. */
12375 /* Override any GCC internal prototype to avoid an error.
12376 Use char because int might match the return type of a GCC
12377 builtin and then its argument prototype would still apply. */
12381 char FT_Init_FreeType ();
12385 return FT_Init_FreeType ();
12390 if ac_fn_c_try_link
"$LINENO"; then :
12392 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12393 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'` ;;
12394 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12395 if ${ac_cv_lib_soname_freetype:+false} :; then :
12396 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12400 rm -f core conftest.err conftest.
$ac_objext \
12401 conftest
$ac_exeext conftest.
$ac_ext
12402 LIBS
=$ac_check_soname_save_LIBS
12404 if ${ac_cv_lib_soname_freetype:+false} :; then :
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12406 $as_echo "not found" >&6; }
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12410 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12412 cat >>confdefs.h
<<_ACEOF
12413 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12417 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12419 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12420 #include FT_MODULE_H
12422 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12424 cat >>confdefs.h
<<_ACEOF
12425 #define HAVE_FT_TRUETYPEENGINETYPE 1
12436 CPPFLAGS
=$ac_save_CPPFLAGS
12437 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12438 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12441 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12442 case "x$with_freetype" in
12444 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12445 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12447 enable_fonts
=${enable_fonts:-no}
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12451 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12452 if ${ac_cv_c_ppdev+:} false
; then :
12453 $as_echo_n "(cached) " >&6
12455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12456 /* end confdefs.h. */
12457 #ifdef HAVE_SYS_IOCTL_H
12458 # include <sys/ioctl.h>
12460 #include <linux/ppdev.h>
12464 ioctl (1,PPCLAIM,0)
12469 if ac_fn_c_try_compile
"$LINENO"; then :
12470 ac_cv_c_ppdev
="yes"
12474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12477 $as_echo "$ac_cv_c_ppdev" >&6; }
12478 if test "$ac_cv_c_ppdev" = "yes"
12481 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12485 ac_wine_check_funcs_save_LIBS
="$LIBS"
12486 LIBS
="$LIBS $PTHREAD_LIBS"
12488 pthread_attr_get_np \
12489 pthread_getattr_np \
12490 pthread_getthreadid_np \
12491 pthread_get_stackaddr_np \
12492 pthread_get_stacksize_np
12494 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12495 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12496 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12497 cat >>confdefs.h
<<_ACEOF
12498 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12504 LIBS
="$ac_wine_check_funcs_save_LIBS"
12506 if test "$ac_cv_header_zlib_h" = "yes"
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12509 $as_echo_n "checking for inflate in -lz... " >&6; }
12510 if ${ac_cv_lib_z_inflate+:} false
; then :
12511 $as_echo_n "(cached) " >&6
12513 ac_check_lib_save_LIBS
=$LIBS
12515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12516 /* end confdefs.h. */
12518 /* Override any GCC internal prototype to avoid an error.
12519 Use char because int might match the return type of a GCC
12520 builtin and then its argument prototype would still apply. */
12533 if ac_fn_c_try_link
"$LINENO"; then :
12534 ac_cv_lib_z_inflate
=yes
12536 ac_cv_lib_z_inflate
=no
12538 rm -f core conftest.err conftest.
$ac_objext \
12539 conftest
$ac_exeext conftest.
$ac_ext
12540 LIBS
=$ac_check_lib_save_LIBS
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12543 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12544 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12546 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12553 if test "x$Z_LIBS" = "x"; then :
12554 case "x$with_zlib" in
12555 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12557 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12558 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12563 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
12565 if test "$ac_cv_header_gettext_po_h" = "yes"
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12568 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12569 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12570 $as_echo_n "(cached) " >&6
12572 ac_check_lib_save_LIBS
=$LIBS
12573 LIBS
="-lgettextpo $LIBS"
12574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12575 /* end confdefs.h. */
12577 /* Override any GCC internal prototype to avoid an error.
12578 Use char because int might match the return type of a GCC
12579 builtin and then its argument prototype would still apply. */
12583 char po_message_msgctxt ();
12587 return po_message_msgctxt ();
12592 if ac_fn_c_try_link
"$LINENO"; then :
12593 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12595 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12597 rm -f core conftest.err conftest.
$ac_objext \
12598 conftest
$ac_exeext conftest.
$ac_ext
12599 LIBS
=$ac_check_lib_save_LIBS
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12602 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12603 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12605 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12607 GETTEXTPO_LIBS
="-lgettextpo"
12612 if test "x$GETTEXTPO_LIBS" = "x"; then :
12613 case "x$with_gettextpo" in
12614 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12616 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12617 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12621 if test "$srcdir" != .
; then :
12622 case "x$with_gettextpo" in
12623 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
12625 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
12626 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12632 if test "x$with_pulse" != "xno";
12634 if ${PULSE_CFLAGS:+false} :; then :
12635 if ${PKG_CONFIG+:} false
; then :
12636 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12640 if ${PULSE_LIBS:+false} :; then :
12641 if ${PKG_CONFIG+:} false
; then :
12642 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12647 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12648 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12649 ac_save_CPPFLAGS
=$CPPFLAGS
12650 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12651 for ac_header
in pulse
/pulseaudio.h
12653 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12654 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12655 cat >>confdefs.h
<<_ACEOF
12656 #define HAVE_PULSE_PULSEAUDIO_H 1
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12659 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12660 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12661 $as_echo_n "(cached) " >&6
12663 ac_check_lib_save_LIBS
=$LIBS
12664 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12666 /* end confdefs.h. */
12668 /* Override any GCC internal prototype to avoid an error.
12669 Use char because int might match the return type of a GCC
12670 builtin and then its argument prototype would still apply. */
12674 char pa_stream_is_corked ();
12678 return pa_stream_is_corked ();
12683 if ac_fn_c_try_link
"$LINENO"; then :
12684 ac_cv_lib_pulse_pa_stream_is_corked
=yes
12686 ac_cv_lib_pulse_pa_stream_is_corked
=no
12688 rm -f core conftest.err conftest.
$ac_objext \
12689 conftest
$ac_exeext conftest.
$ac_ext
12690 LIBS
=$ac_check_lib_save_LIBS
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12693 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12694 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
12706 CPPFLAGS
=$ac_save_CPPFLAGS
12707 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12708 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12711 if test -z "$PULSE_LIBS"; then :
12712 case "x$with_pulse" in
12713 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12715 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12716 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12718 enable_winepulse_drv
=${enable_winepulse_drv:-no}
12721 if test "x$with_gstreamer" != "xno"
12723 if ${GSTREAMER_CFLAGS:+false} :; then :
12724 if ${PKG_CONFIG+:} false
; then :
12725 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12729 if ${GSTREAMER_LIBS:+false} :; then :
12730 if ${PKG_CONFIG+:} false
; then :
12731 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12736 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12737 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12738 ac_save_CPPFLAGS
=$CPPFLAGS
12739 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12741 for i
in $GSTREAMER_CFLAGS
12744 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12747 GSTREAMER_CFLAGS
=$ac_gst_incl
12748 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12749 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12750 if test "x$ac_cv_header_gst_gst_h" = xyes
; then :
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12752 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12754 /* end confdefs.h. */
12755 #include <gst/gst.h>
12759 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12764 if ac_fn_c_try_compile
"$LINENO"; then :
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12766 $as_echo "yes" >&6; }
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12768 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12769 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false
; then :
12770 $as_echo_n "(cached) " >&6
12772 ac_check_lib_save_LIBS
=$LIBS
12773 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12775 /* end confdefs.h. */
12777 /* Override any GCC internal prototype to avoid an error.
12778 Use char because int might match the return type of a GCC
12779 builtin and then its argument prototype would still apply. */
12783 char gst_pad_new ();
12787 return gst_pad_new ();
12792 if ac_fn_c_try_link
"$LINENO"; then :
12793 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
12795 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
12797 rm -f core conftest.err conftest.
$ac_objext \
12798 conftest
$ac_exeext conftest.
$ac_ext
12799 LIBS
=$ac_check_lib_save_LIBS
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12802 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12803 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
; then :
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12809 $as_echo "no" >&6; }
12810 ac_glib2_broken
=yes
12811 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12817 CPPFLAGS
=$ac_save_CPPFLAGS
12818 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12819 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12822 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 :
12823 case "x$with_gstreamer" in
12824 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12826 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12827 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12831 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12835 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12838 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12839 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12840 $as_echo_n "(cached) " >&6
12842 ac_check_lib_save_LIBS
=$LIBS
12843 LIBS
="-lasound $LIBS"
12844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12845 /* end confdefs.h. */
12847 /* Override any GCC internal prototype to avoid an error.
12848 Use char because int might match the return type of a GCC
12849 builtin and then its argument prototype would still apply. */
12853 char snd_pcm_hw_params_get_access_mask ();
12857 return snd_pcm_hw_params_get_access_mask ();
12862 if ac_fn_c_try_link
"$LINENO"; then :
12863 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12865 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12867 rm -f core conftest.err conftest.
$ac_objext \
12868 conftest
$ac_exeext conftest.
$ac_ext
12869 LIBS
=$ac_check_lib_save_LIBS
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12872 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12873 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12875 /* end confdefs.h. */
12876 #ifdef HAVE_ALSA_ASOUNDLIB_H
12877 #include <alsa/asoundlib.h>
12878 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12879 #include <sys/asoundlib.h>
12884 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12889 if ac_fn_c_try_compile
"$LINENO"; then :
12890 ALSA_LIBS
="-lasound"
12892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12896 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12898 if test "x$with_oss" != xno
12900 ac_save_CPPFLAGS
="$CPPFLAGS"
12901 if test -f /etc
/oss.conf
12905 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12906 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12907 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12908 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12909 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12911 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12913 cat >>confdefs.h
<<_ACEOF
12914 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12917 OSS4_CFLAGS
="$ac_oss_incl"
12924 CPPFLAGS
="$ac_save_CPPFLAGS"
12926 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
; then :
12927 case "x$with_oss" in
12928 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12930 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12931 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12933 enable_wineoss_drv
=${enable_wineoss_drv:-no}
12936 if test "x$with_udev" != "xno"
12938 if ${UDEV_CFLAGS:+false} :; then :
12939 if ${PKG_CONFIG+:} false
; then :
12940 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12944 if ${UDEV_LIBS:+false} :; then :
12945 if ${PKG_CONFIG+:} false
; then :
12946 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
12951 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12952 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12953 ac_save_CPPFLAGS
=$CPPFLAGS
12954 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
12955 for ac_header
in libudev.h
12957 ac_fn_c_check_header_mongrel
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12958 if test "x$ac_cv_header_libudev_h" = xyes
; then :
12959 cat >>confdefs.h
<<_ACEOF
12960 #define HAVE_LIBUDEV_H 1
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12963 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12964 if ${ac_cv_lib_udev_udev_new+:} false
; then :
12965 $as_echo_n "(cached) " >&6
12967 ac_check_lib_save_LIBS
=$LIBS
12968 LIBS
="-ludev $UDEV_LIBS $LIBS"
12969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12970 /* end confdefs.h. */
12972 /* Override any GCC internal prototype to avoid an error.
12973 Use char because int might match the return type of a GCC
12974 builtin and then its argument prototype would still apply. */
12982 return udev_new ();
12987 if ac_fn_c_try_link
"$LINENO"; then :
12988 ac_cv_lib_udev_udev_new
=yes
12990 ac_cv_lib_udev_udev_new
=no
12992 rm -f core conftest.err conftest.
$ac_objext \
12993 conftest
$ac_exeext conftest.
$ac_ext
12994 LIBS
=$ac_check_lib_save_LIBS
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
12997 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
12998 if test "x$ac_cv_lib_udev_udev_new" = xyes
; then :
13000 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13012 CPPFLAGS
=$ac_save_CPPFLAGS
13013 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS
=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13014 test -z "$UDEV_LIBS" || UDEV_LIBS
=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13017 if test "x$UDEV_LIBS" = "x"; then :
13018 case "x$with_udev" in
13019 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13021 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
13022 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13027 if test "x$with_capi" != "xno"
13029 if ${CAPI20_CFLAGS:+false} :; then :
13030 if ${PKG_CONFIG+:} false
; then :
13031 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13035 if ${CAPI20_LIBS:+false} :; then :
13036 if ${PKG_CONFIG+:} false
; then :
13037 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
13042 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13043 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13044 ac_save_CPPFLAGS
=$CPPFLAGS
13045 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
13046 for ac_header
in capi20.h linux
/capi.h
13048 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13049 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13051 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13052 cat >>confdefs.h
<<_ACEOF
13053 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13060 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13063 $as_echo_n "checking for -lcapi20... " >&6; }
13064 if ${ac_cv_lib_soname_capi20+:} false
; then :
13065 $as_echo_n "(cached) " >&6
13067 ac_check_soname_save_LIBS
=$LIBS
13068 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
13069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13070 /* end confdefs.h. */
13072 /* Override any GCC internal prototype to avoid an error.
13073 Use char because int might match the return type of a GCC
13074 builtin and then its argument prototype would still apply. */
13078 char capi20_register ();
13082 return capi20_register ();
13087 if ac_fn_c_try_link
"$LINENO"; then :
13089 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13090 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'` ;;
13091 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13092 if ${ac_cv_lib_soname_capi20:+false} :; then :
13093 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13097 rm -f core conftest.err conftest.
$ac_objext \
13098 conftest
$ac_exeext conftest.
$ac_ext
13099 LIBS
=$ac_check_soname_save_LIBS
13101 if ${ac_cv_lib_soname_capi20:+false} :; then :
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13103 $as_echo "not found" >&6; }
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13107 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13109 cat >>confdefs.h
<<_ACEOF
13110 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13116 CPPFLAGS
=$ac_save_CPPFLAGS
13117 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13118 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13121 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13122 case "x$with_capi" in
13123 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13125 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13126 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13133 if test "x$with_cups" != "xno"
13135 ac_save_CPPFLAGS
="$CPPFLAGS"
13136 ac_cups_cflags
=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13137 ac_cups_libs
=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13138 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
13139 for ac_header
in cups
/cups.h
13141 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13142 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
13143 cat >>confdefs.h
<<_ACEOF
13144 #define HAVE_CUPS_CUPS_H 1
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13147 $as_echo_n "checking for -lcups... " >&6; }
13148 if ${ac_cv_lib_soname_cups+:} false
; then :
13149 $as_echo_n "(cached) " >&6
13151 ac_check_soname_save_LIBS
=$LIBS
13152 LIBS
="-lcups $ac_cups_libs $LIBS"
13153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13154 /* end confdefs.h. */
13156 /* Override any GCC internal prototype to avoid an error.
13157 Use char because int might match the return type of a GCC
13158 builtin and then its argument prototype would still apply. */
13162 char cupsGetDefault ();
13166 return cupsGetDefault ();
13171 if ac_fn_c_try_link
"$LINENO"; then :
13173 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13174 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'` ;;
13175 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13176 if ${ac_cv_lib_soname_cups:+false} :; then :
13177 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13181 rm -f core conftest.err conftest.
$ac_objext \
13182 conftest
$ac_exeext conftest.
$ac_ext
13183 LIBS
=$ac_check_soname_save_LIBS
13185 if ${ac_cv_lib_soname_cups:+false} :; then :
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13187 $as_echo "not found" >&6; }
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13191 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13193 cat >>confdefs.h
<<_ACEOF
13194 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13197 CUPS_CFLAGS
="$ac_cups_cflags"
13199 for ac_header
in cups
/ppd.h
13201 ac_fn_c_check_header_mongrel
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13202 if test "x$ac_cv_header_cups_ppd_h" = xyes
; then :
13203 cat >>confdefs.h
<<_ACEOF
13204 #define HAVE_CUPS_PPD_H 1
13215 CPPFLAGS
="$ac_save_CPPFLAGS"
13217 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13218 case "x$with_cups" in
13219 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13221 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13222 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13227 if test "x$with_fontconfig" != "xno"
13229 if ${FONTCONFIG_CFLAGS:+false} :; then :
13230 if ${PKG_CONFIG+:} false
; then :
13231 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13234 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13235 if ${FONTCONFIG_LIBS:+false} :; then :
13236 if ${PKG_CONFIG+:} false
; then :
13237 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13240 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13242 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13243 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13244 ac_save_CPPFLAGS
=$CPPFLAGS
13245 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13246 for ac_header
in fontconfig
/fontconfig.h
13248 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13249 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13250 cat >>confdefs.h
<<_ACEOF
13251 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13258 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13261 $as_echo_n "checking for -lfontconfig... " >&6; }
13262 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13263 $as_echo_n "(cached) " >&6
13265 ac_check_soname_save_LIBS
=$LIBS
13266 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13268 /* end confdefs.h. */
13270 /* Override any GCC internal prototype to avoid an error.
13271 Use char because int might match the return type of a GCC
13272 builtin and then its argument prototype would still apply. */
13285 if ac_fn_c_try_link
"$LINENO"; then :
13287 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13288 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'` ;;
13289 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13290 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13291 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13295 rm -f core conftest.err conftest.
$ac_objext \
13296 conftest
$ac_exeext conftest.
$ac_ext
13297 LIBS
=$ac_check_soname_save_LIBS
13299 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13301 $as_echo "not found" >&6; }
13302 FONTCONFIG_CFLAGS
=""
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13305 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13307 cat >>confdefs.h
<<_ACEOF
13308 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13314 FONTCONFIG_CFLAGS
=""
13316 CPPFLAGS
=$ac_save_CPPFLAGS
13317 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13318 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13321 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13322 case "x$with_fontconfig" in
13323 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13325 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13326 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13331 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13334 $as_echo_n "checking for -lgsm... " >&6; }
13335 if ${ac_cv_lib_soname_gsm+:} false
; then :
13336 $as_echo_n "(cached) " >&6
13338 ac_check_soname_save_LIBS
=$LIBS
13340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13341 /* end confdefs.h. */
13343 /* Override any GCC internal prototype to avoid an error.
13344 Use char because int might match the return type of a GCC
13345 builtin and then its argument prototype would still apply. */
13349 char gsm_create ();
13353 return gsm_create ();
13358 if ac_fn_c_try_link
"$LINENO"; then :
13360 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13361 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'` ;;
13362 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13363 if ${ac_cv_lib_soname_gsm:+false} :; then :
13364 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13368 rm -f core conftest.err conftest.
$ac_objext \
13369 conftest
$ac_exeext conftest.
$ac_ext
13370 LIBS
=$ac_check_soname_save_LIBS
13372 if ${ac_cv_lib_soname_gsm:+false} :; then :
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13374 $as_echo "not found" >&6; }
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13378 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13380 cat >>confdefs.h
<<_ACEOF
13381 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13387 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13388 case "x$with_gsm" in
13389 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13391 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13392 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13397 if test "x$with_jpeg" != "xno"
13399 if ${JPEG_CFLAGS:+false} :; then :
13400 if ${PKG_CONFIG+:} false
; then :
13401 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13405 if ${JPEG_LIBS:+false} :; then :
13406 if ${PKG_CONFIG+:} false
; then :
13407 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13412 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13413 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13414 ac_save_CPPFLAGS
=$CPPFLAGS
13415 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13416 for ac_header
in jpeglib.h
13418 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13419 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13420 cat >>confdefs.h
<<_ACEOF
13421 #define HAVE_JPEGLIB_H 1
13428 if test "$ac_cv_header_jpeglib_h" = "yes"
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13431 $as_echo_n "checking for -ljpeg... " >&6; }
13432 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13433 $as_echo_n "(cached) " >&6
13435 ac_check_soname_save_LIBS
=$LIBS
13436 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13438 /* end confdefs.h. */
13440 /* Override any GCC internal prototype to avoid an error.
13441 Use char because int might match the return type of a GCC
13442 builtin and then its argument prototype would still apply. */
13446 char jpeg_start_decompress ();
13450 return jpeg_start_decompress ();
13455 if ac_fn_c_try_link
"$LINENO"; then :
13457 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13458 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'` ;;
13459 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13460 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13461 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13465 rm -f core conftest.err conftest.
$ac_objext \
13466 conftest
$ac_exeext conftest.
$ac_ext
13467 LIBS
=$ac_check_soname_save_LIBS
13469 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13471 $as_echo "not found" >&6; }
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13475 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13477 cat >>confdefs.h
<<_ACEOF
13478 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13486 CPPFLAGS
=$ac_save_CPPFLAGS
13487 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13488 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13491 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13492 case "x$with_jpeg" in
13493 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13495 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13496 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13501 if test "x$with_png" != "xno"
13503 if ${PNG_CFLAGS:+false} :; then :
13504 if ${PKG_CONFIG+:} false
; then :
13505 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13508 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13509 if ${PNG_LIBS:+false} :; then :
13510 if ${PKG_CONFIG+:} false
; then :
13511 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13514 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13516 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13517 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13518 ac_save_CPPFLAGS
=$CPPFLAGS
13519 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13520 for ac_header
in png.h
13522 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13523 if test "x$ac_cv_header_png_h" = xyes
; then :
13524 cat >>confdefs.h
<<_ACEOF
13525 #define HAVE_PNG_H 1
13532 if test "$ac_cv_header_png_h" = "yes"
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13535 $as_echo_n "checking for -lpng... " >&6; }
13536 if ${ac_cv_lib_soname_png+:} false
; then :
13537 $as_echo_n "(cached) " >&6
13539 ac_check_soname_save_LIBS
=$LIBS
13540 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13542 /* end confdefs.h. */
13544 /* Override any GCC internal prototype to avoid an error.
13545 Use char because int might match the return type of a GCC
13546 builtin and then its argument prototype would still apply. */
13550 char png_create_read_struct ();
13554 return png_create_read_struct ();
13559 if ac_fn_c_try_link
"$LINENO"; then :
13561 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13562 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'` ;;
13563 *) 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'`
13564 if ${ac_cv_lib_soname_png:+false} :; then :
13565 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13569 rm -f core conftest.err conftest.
$ac_objext \
13570 conftest
$ac_exeext conftest.
$ac_ext
13571 LIBS
=$ac_check_soname_save_LIBS
13573 if ${ac_cv_lib_soname_png:+false} :; then :
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13575 $as_echo "not found" >&6; }
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13579 $as_echo "$ac_cv_lib_soname_png" >&6; }
13581 cat >>confdefs.h
<<_ACEOF
13582 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13586 /* end confdefs.h. */
13591 typeof(png_set_expand_gray_1_2_4_to_8) *p
13596 if ac_fn_c_try_compile
"$LINENO"; then :
13598 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13606 CPPFLAGS
=$ac_save_CPPFLAGS
13607 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13608 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13611 if test "x$ac_cv_lib_soname_png" = "x"; then :
13612 case "x$with_png" in
13613 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13615 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13616 This is an error since --with-png was requested." "$LINENO" 5 ;;
13621 if test "x$with_tiff" != "xno"
13623 if ${TIFF_CFLAGS:+false} :; then :
13624 if ${PKG_CONFIG+:} false
; then :
13625 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13629 if ${TIFF_LIBS:+false} :; then :
13630 if ${PKG_CONFIG+:} false
; then :
13631 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13636 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13637 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13638 ac_save_CPPFLAGS
=$CPPFLAGS
13639 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13640 for ac_header
in tiffio.h
13642 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13643 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13644 cat >>confdefs.h
<<_ACEOF
13645 #define HAVE_TIFFIO_H 1
13652 if test "$ac_cv_header_tiffio_h" = "yes"
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13655 $as_echo_n "checking for -ltiff... " >&6; }
13656 if ${ac_cv_lib_soname_tiff+:} false
; then :
13657 $as_echo_n "(cached) " >&6
13659 ac_check_soname_save_LIBS
=$LIBS
13660 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13662 /* end confdefs.h. */
13664 /* Override any GCC internal prototype to avoid an error.
13665 Use char because int might match the return type of a GCC
13666 builtin and then its argument prototype would still apply. */
13670 char TIFFClientOpen ();
13674 return TIFFClientOpen ();
13679 if ac_fn_c_try_link
"$LINENO"; then :
13681 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13682 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'` ;;
13683 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13684 if ${ac_cv_lib_soname_tiff:+false} :; then :
13685 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13689 rm -f core conftest.err conftest.
$ac_objext \
13690 conftest
$ac_exeext conftest.
$ac_ext
13691 LIBS
=$ac_check_soname_save_LIBS
13693 if ${ac_cv_lib_soname_tiff:+false} :; then :
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13695 $as_echo "not found" >&6; }
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13699 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13701 cat >>confdefs.h
<<_ACEOF
13702 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13708 CPPFLAGS
=$ac_save_CPPFLAGS
13709 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13710 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13713 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13714 case "x$with_tiff" in
13715 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13717 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13718 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13723 if test "x$with_mpg123" != "xno"
13725 if ${MPG123_CFLAGS:+false} :; then :
13726 if ${PKG_CONFIG+:} false
; then :
13727 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13731 if ${MPG123_LIBS:+false} :; then :
13732 if ${PKG_CONFIG+:} false
; then :
13733 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13737 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13738 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13739 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13740 ac_save_CPPFLAGS
=$CPPFLAGS
13741 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13742 for ac_header
in mpg123.h
13744 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13745 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13746 cat >>confdefs.h
<<_ACEOF
13747 #define HAVE_MPG123_H 1
13754 if test "$ac_cv_header_mpg123_h" = "yes"
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13757 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13758 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13759 $as_echo_n "(cached) " >&6
13761 ac_check_lib_save_LIBS
=$LIBS
13762 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13764 /* end confdefs.h. */
13766 /* Override any GCC internal prototype to avoid an error.
13767 Use char because int might match the return type of a GCC
13768 builtin and then its argument prototype would still apply. */
13772 char mpg123_feed ();
13776 return mpg123_feed ();
13781 if ac_fn_c_try_link
"$LINENO"; then :
13782 ac_cv_lib_mpg123_mpg123_feed
=yes
13784 ac_cv_lib_mpg123_mpg123_feed
=no
13786 rm -f core conftest.err conftest.
$ac_objext \
13787 conftest
$ac_exeext conftest.
$ac_ext
13788 LIBS
=$ac_check_lib_save_LIBS
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13791 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13792 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13802 CPPFLAGS
=$ac_save_CPPFLAGS
13803 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13804 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13807 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13808 case "x$with_mpg123" in
13809 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13811 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13812 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13814 enable_winemp3_acm
=${enable_winemp3_acm:-no}
13817 if test "$ac_cv_header_AL_al_h" = "yes"
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13820 $as_echo_n "checking for -lopenal... " >&6; }
13821 if ${ac_cv_lib_soname_openal+:} false
; then :
13822 $as_echo_n "(cached) " >&6
13824 ac_check_soname_save_LIBS
=$LIBS
13825 LIBS
="-lopenal $LIBS"
13826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13827 /* end confdefs.h. */
13829 /* Override any GCC internal prototype to avoid an error.
13830 Use char because int might match the return type of a GCC
13831 builtin and then its argument prototype would still apply. */
13835 char alGetSource3i ();
13839 return alGetSource3i ();
13844 if ac_fn_c_try_link
"$LINENO"; then :
13846 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13847 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'` ;;
13848 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13849 if ${ac_cv_lib_soname_openal:+false} :; then :
13850 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13854 rm -f core conftest.err conftest.
$ac_objext \
13855 conftest
$ac_exeext conftest.
$ac_ext
13856 LIBS
=$ac_check_soname_save_LIBS
13858 if ${ac_cv_lib_soname_openal:+false} :; then :
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13860 $as_echo "not found" >&6; }
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13864 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13866 cat >>confdefs.h
<<_ACEOF
13867 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13870 OPENAL_LIBS
="-lopenal"
13872 ac_cv_lib_openal
=yes
13874 cat >>confdefs.h
<<_ACEOF
13875 #define HAVE_OPENAL 1
13880 if test "x$ac_cv_lib_openal" != xyes
; then :
13881 case "x$with_openal" in
13882 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13884 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13885 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13887 enable_openal32
=${enable_openal32:-no}
13890 if test "x$ac_cv_lib_openal" = xyes
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13893 $as_echo_n "checking for openal-soft... " >&6; }
13894 if ${ac_cv_have_openalsoft+:} false
; then :
13895 $as_echo_n "(cached) " >&6
13897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13898 /* end confdefs.h. */
13900 #include <AL/alc.h>
13901 #include <AL/alext.h>
13902 LPALCRENDERSAMPLESSOFT x;
13911 if ac_fn_c_try_compile
"$LINENO"; then :
13912 ac_cv_have_openalsoft
=yes
13914 ac_cv_have_openalsoft
=no
13916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13919 $as_echo "$ac_cv_have_openalsoft" >&6; }
13921 if test "x$ac_cv_have_openalsoft" != xyes
13923 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13924 enable_x3daudio1_0
=${enable_x3daudio1_0:-no}
13925 enable_x3daudio1_1
=${enable_x3daudio1_1:-no}
13926 enable_x3daudio1_2
=${enable_x3daudio1_2:-no}
13927 enable_x3daudio1_3
=${enable_x3daudio1_3:-no}
13928 enable_x3daudio1_4
=${enable_x3daudio1_4:-no}
13929 enable_x3daudio1_5
=${enable_x3daudio1_5:-no}
13930 enable_x3daudio1_6
=${enable_x3daudio1_6:-no}
13931 enable_x3daudio1_7
=${enable_x3daudio1_7:-no}
13932 enable_xapofx1_1
=${enable_xapofx1_1:-no}
13933 enable_xapofx1_2
=${enable_xapofx1_2:-no}
13934 enable_xapofx1_3
=${enable_xapofx1_3:-no}
13935 enable_xapofx1_4
=${enable_xapofx1_4:-no}
13936 enable_xapofx1_5
=${enable_xapofx1_5:-no}
13937 enable_xaudio2_0
=${enable_xaudio2_0:-no}
13938 enable_xaudio2_1
=${enable_xaudio2_1:-no}
13939 enable_xaudio2_2
=${enable_xaudio2_2:-no}
13940 enable_xaudio2_3
=${enable_xaudio2_3:-no}
13941 enable_xaudio2_4
=${enable_xaudio2_4:-no}
13942 enable_xaudio2_5
=${enable_xaudio2_5:-no}
13943 enable_xaudio2_6
=${enable_xaudio2_6:-no}
13944 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13945 enable_xaudio2_8
=${enable_xaudio2_8:-no}
13946 enable_xaudio2_9
=${enable_xaudio2_9:-no}
13949 if test "$ac_cv_header_kstat_h" = "yes"
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13952 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13953 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13954 $as_echo_n "(cached) " >&6
13956 ac_check_lib_save_LIBS
=$LIBS
13957 LIBS
="-lkstat $LIBS"
13958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13959 /* end confdefs.h. */
13961 /* Override any GCC internal prototype to avoid an error.
13962 Use char because int might match the return type of a GCC
13963 builtin and then its argument prototype would still apply. */
13967 char kstat_open ();
13971 return kstat_open ();
13976 if ac_fn_c_try_link
"$LINENO"; then :
13977 ac_cv_lib_kstat_kstat_open
=yes
13979 ac_cv_lib_kstat_kstat_open
=no
13981 rm -f core conftest.err conftest.
$ac_objext \
13982 conftest
$ac_exeext conftest.
$ac_ext
13983 LIBS
=$ac_check_lib_save_LIBS
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13986 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13987 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13989 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13991 KSTAT_LIBS
="-lkstat"
13997 if test "$ac_cv_header_libprocstat_h" = "yes"
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14000 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14001 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
14002 $as_echo_n "(cached) " >&6
14004 ac_check_lib_save_LIBS
=$LIBS
14005 LIBS
="-lprocstat $LIBS"
14006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14007 /* end confdefs.h. */
14009 /* Override any GCC internal prototype to avoid an error.
14010 Use char because int might match the return type of a GCC
14011 builtin and then its argument prototype would still apply. */
14015 char procstat_open_sysctl ();
14019 return procstat_open_sysctl ();
14024 if ac_fn_c_try_link
"$LINENO"; then :
14025 ac_cv_lib_procstat_procstat_open_sysctl
=yes
14027 ac_cv_lib_procstat_procstat_open_sysctl
=no
14029 rm -f core conftest.err conftest.
$ac_objext \
14030 conftest
$ac_exeext conftest.
$ac_ext
14031 LIBS
=$ac_check_lib_save_LIBS
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14034 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14035 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
14037 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14039 PROCSTAT_LIBS
="-lprocstat"
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14046 $as_echo_n "checking for -lodbc... " >&6; }
14047 if ${ac_cv_lib_soname_odbc+:} false
; then :
14048 $as_echo_n "(cached) " >&6
14050 ac_check_soname_save_LIBS
=$LIBS
14051 LIBS
="-lodbc $LIBS"
14052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14053 /* end confdefs.h. */
14055 /* Override any GCC internal prototype to avoid an error.
14056 Use char because int might match the return type of a GCC
14057 builtin and then its argument prototype would still apply. */
14061 char SQLConnect ();
14065 return SQLConnect ();
14070 if ac_fn_c_try_link
"$LINENO"; then :
14072 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14073 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'` ;;
14074 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14075 if ${ac_cv_lib_soname_odbc:+false} :; then :
14076 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14080 rm -f core conftest.err conftest.
$ac_objext \
14081 conftest
$ac_exeext conftest.
$ac_ext
14082 LIBS
=$ac_check_soname_save_LIBS
14084 if ${ac_cv_lib_soname_odbc:+false} :; then :
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14086 $as_echo "not found" >&6; }
14087 cat >>confdefs.h
<<_ACEOF
14088 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14093 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14095 cat >>confdefs.h
<<_ACEOF
14096 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14102 if test "x$with_netapi" != "xno"
14104 if ${NETAPI_CFLAGS:+false} :; then :
14105 if ${PKG_CONFIG+:} false
; then :
14106 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14110 if ${NETAPI_LIBS:+false} :; then :
14111 if ${PKG_CONFIG+:} false
; then :
14112 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
14117 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14118 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14119 ac_save_CPPFLAGS
=$CPPFLAGS
14120 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14122 $as_echo_n "checking for -lnetapi... " >&6; }
14123 if ${ac_cv_lib_soname_netapi+:} false
; then :
14124 $as_echo_n "(cached) " >&6
14126 ac_check_soname_save_LIBS
=$LIBS
14127 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
14128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14129 /* end confdefs.h. */
14131 /* Override any GCC internal prototype to avoid an error.
14132 Use char because int might match the return type of a GCC
14133 builtin and then its argument prototype would still apply. */
14137 char libnetapi_init ();
14141 return libnetapi_init ();
14146 if ac_fn_c_try_link
"$LINENO"; then :
14148 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14149 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'` ;;
14150 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14151 if ${ac_cv_lib_soname_netapi:+false} :; then :
14152 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14156 rm -f core conftest.err conftest.
$ac_objext \
14157 conftest
$ac_exeext conftest.
$ac_ext
14158 LIBS
=$ac_check_soname_save_LIBS
14160 if ${ac_cv_lib_soname_netapi:+false} :; then :
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14162 $as_echo "not found" >&6; }
14163 cat >>confdefs.h
<<_ACEOF
14164 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14169 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14171 cat >>confdefs.h
<<_ACEOF
14172 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14177 CPPFLAGS
=$ac_save_CPPFLAGS
14178 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS
=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14179 test -z "$NETAPI_LIBS" || NETAPI_LIBS
=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14183 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono
-a \
14184 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14186 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
14192 if test "x${GCC}" = "xyes"
14194 EXTRACFLAGS
="-Wall -pipe"
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14197 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14198 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
14199 $as_echo_n "(cached) " >&6
14201 if test "$cross_compiling" = yes; then :
14202 ac_cv_c_gcc_strength_bug
="no"
14204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14205 /* end confdefs.h. */
14206 int L[4] = {0,1,2,3};
14210 static int Array[3];
14211 unsigned int B = 3;
14213 for(i=0; i<B; i++) Array[i] = i - 3;
14214 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14216 return (Array[1] != -2 || L[2] != 3)
14221 if ac_fn_c_try_run
"$LINENO"; then :
14222 ac_cv_c_gcc_strength_bug
="no"
14224 ac_cv_c_gcc_strength_bug
="yes"
14226 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14227 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14232 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14233 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14235 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14239 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14240 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14241 $as_echo_n "(cached) " >&6
14243 ac_wine_try_cflags_saved
=$CFLAGS
14244 CFLAGS
="$CFLAGS -fno-builtin"
14245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14246 /* end confdefs.h. */
14247 int main(int argc, char **argv) { return 0; }
14249 if ac_fn_c_try_link
"$LINENO"; then :
14250 ac_cv_cflags__fno_builtin
=yes
14252 ac_cv_cflags__fno_builtin
=no
14254 rm -f core conftest.err conftest.
$ac_objext \
14255 conftest
$ac_exeext conftest.
$ac_ext
14256 CFLAGS
=$ac_wine_try_cflags_saved
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14259 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14260 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14261 BUILTINFLAG
="-fno-builtin"
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14265 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14266 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14267 $as_echo_n "(cached) " >&6
14269 ac_wine_try_cflags_saved
=$CFLAGS
14270 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14272 /* end confdefs.h. */
14273 int main(int argc, char **argv) { return 0; }
14275 if ac_fn_c_try_link
"$LINENO"; then :
14276 ac_cv_cflags__fno_strict_aliasing
=yes
14278 ac_cv_cflags__fno_strict_aliasing
=no
14280 rm -f core conftest.err conftest.
$ac_objext \
14281 conftest
$ac_exeext conftest.
$ac_ext
14282 CFLAGS
=$ac_wine_try_cflags_saved
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14285 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14286 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14287 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14290 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14291 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14292 $as_echo_n "(cached) " >&6
14294 ac_wine_try_cflags_saved
=$CFLAGS
14295 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14297 /* end confdefs.h. */
14298 int main(int argc, char **argv) { return 0; }
14300 if ac_fn_c_try_link
"$LINENO"; then :
14301 ac_cv_cflags__fexcess_precision_standard
=yes
14303 ac_cv_cflags__fexcess_precision_standard
=no
14305 rm -f core conftest.err conftest.
$ac_objext \
14306 conftest
$ac_exeext conftest.
$ac_ext
14307 CFLAGS
=$ac_wine_try_cflags_saved
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14310 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14311 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14312 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14315 saved_CFLAGS
=$CFLAGS
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14317 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14318 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14319 $as_echo_n "(cached) " >&6
14321 ac_wine_try_cflags_saved
=$CFLAGS
14322 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14324 /* end confdefs.h. */
14325 int main(int argc, char **argv) { return 0; }
14327 if ac_fn_c_try_link
"$LINENO"; then :
14328 ac_cv_cflags__Werror_unknown_warning_option
=yes
14330 ac_cv_cflags__Werror_unknown_warning_option
=no
14332 rm -f core conftest.err conftest.
$ac_objext \
14333 conftest
$ac_exeext conftest.
$ac_ext
14334 CFLAGS
=$ac_wine_try_cflags_saved
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14337 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14338 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14339 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14342 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14343 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14344 $as_echo_n "(cached) " >&6
14346 ac_wine_try_cflags_saved
=$CFLAGS
14347 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14349 /* end confdefs.h. */
14350 int main(int argc, char **argv) { return 0; }
14352 if ac_fn_c_try_link
"$LINENO"; then :
14353 ac_cv_cflags__Wdeclaration_after_statement
=yes
14355 ac_cv_cflags__Wdeclaration_after_statement
=no
14357 rm -f core conftest.err conftest.
$ac_objext \
14358 conftest
$ac_exeext conftest.
$ac_ext
14359 CFLAGS
=$ac_wine_try_cflags_saved
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14362 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14363 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14364 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14367 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14368 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14369 $as_echo_n "(cached) " >&6
14371 ac_wine_try_cflags_saved
=$CFLAGS
14372 CFLAGS
="$CFLAGS -Wempty-body"
14373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14374 /* end confdefs.h. */
14375 int main(int argc, char **argv) { return 0; }
14377 if ac_fn_c_try_link
"$LINENO"; then :
14378 ac_cv_cflags__Wempty_body
=yes
14380 ac_cv_cflags__Wempty_body
=no
14382 rm -f core conftest.err conftest.
$ac_objext \
14383 conftest
$ac_exeext conftest.
$ac_ext
14384 CFLAGS
=$ac_wine_try_cflags_saved
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14387 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14388 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14389 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14392 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14393 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14394 $as_echo_n "(cached) " >&6
14396 ac_wine_try_cflags_saved
=$CFLAGS
14397 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14399 /* end confdefs.h. */
14400 int main(int argc, char **argv) { return 0; }
14402 if ac_fn_c_try_link
"$LINENO"; then :
14403 ac_cv_cflags__Wignored_qualifiers
=yes
14405 ac_cv_cflags__Wignored_qualifiers
=no
14407 rm -f core conftest.err conftest.
$ac_objext \
14408 conftest
$ac_exeext conftest.
$ac_ext
14409 CFLAGS
=$ac_wine_try_cflags_saved
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14412 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14413 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14414 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14417 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14418 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
14419 $as_echo_n "(cached) " >&6
14421 ac_wine_try_cflags_saved
=$CFLAGS
14422 CFLAGS
="$CFLAGS -Wshift-overflow=2"
14423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14424 /* end confdefs.h. */
14425 int main(int argc, char **argv) { return 0; }
14427 if ac_fn_c_try_link
"$LINENO"; then :
14428 ac_cv_cflags__Wshift_overflow_2
=yes
14430 ac_cv_cflags__Wshift_overflow_2
=no
14432 rm -f core conftest.err conftest.
$ac_objext \
14433 conftest
$ac_exeext conftest.
$ac_ext
14434 CFLAGS
=$ac_wine_try_cflags_saved
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14437 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14438 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
14439 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14442 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14443 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14444 $as_echo_n "(cached) " >&6
14446 ac_wine_try_cflags_saved
=$CFLAGS
14447 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14449 /* end confdefs.h. */
14450 int main(int argc, char **argv) { return 0; }
14452 if ac_fn_c_try_link
"$LINENO"; then :
14453 ac_cv_cflags__Wstrict_prototypes
=yes
14455 ac_cv_cflags__Wstrict_prototypes
=no
14457 rm -f core conftest.err conftest.
$ac_objext \
14458 conftest
$ac_exeext conftest.
$ac_ext
14459 CFLAGS
=$ac_wine_try_cflags_saved
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14462 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14463 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14464 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14467 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14468 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14469 $as_echo_n "(cached) " >&6
14471 ac_wine_try_cflags_saved
=$CFLAGS
14472 CFLAGS
="$CFLAGS -Wtype-limits"
14473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14474 /* end confdefs.h. */
14475 int main(int argc, char **argv) { return 0; }
14477 if ac_fn_c_try_link
"$LINENO"; then :
14478 ac_cv_cflags__Wtype_limits
=yes
14480 ac_cv_cflags__Wtype_limits
=no
14482 rm -f core conftest.err conftest.
$ac_objext \
14483 conftest
$ac_exeext conftest.
$ac_ext
14484 CFLAGS
=$ac_wine_try_cflags_saved
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14487 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14488 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14489 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14492 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14493 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14494 $as_echo_n "(cached) " >&6
14496 ac_wine_try_cflags_saved
=$CFLAGS
14497 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14499 /* end confdefs.h. */
14500 int main(int argc, char **argv) { return 0; }
14502 if ac_fn_c_try_link
"$LINENO"; then :
14503 ac_cv_cflags__Wunused_but_set_parameter
=yes
14505 ac_cv_cflags__Wunused_but_set_parameter
=no
14507 rm -f core conftest.err conftest.
$ac_objext \
14508 conftest
$ac_exeext conftest.
$ac_ext
14509 CFLAGS
=$ac_wine_try_cflags_saved
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14512 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14513 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14514 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14517 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14518 if ${ac_cv_cflags__Wvla+:} false
; then :
14519 $as_echo_n "(cached) " >&6
14521 ac_wine_try_cflags_saved
=$CFLAGS
14522 CFLAGS
="$CFLAGS -Wvla"
14523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14524 /* end confdefs.h. */
14525 int main(int argc, char **argv) { return 0; }
14527 if ac_fn_c_try_link
"$LINENO"; then :
14528 ac_cv_cflags__Wvla
=yes
14530 ac_cv_cflags__Wvla
=no
14532 rm -f core conftest.err conftest.
$ac_objext \
14533 conftest
$ac_exeext conftest.
$ac_ext
14534 CFLAGS
=$ac_wine_try_cflags_saved
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14537 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14538 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14539 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14542 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14543 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14544 $as_echo_n "(cached) " >&6
14546 ac_wine_try_cflags_saved
=$CFLAGS
14547 CFLAGS
="$CFLAGS -Wwrite-strings"
14548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14550 int main(int argc, char **argv) { return 0; }
14552 if ac_fn_c_try_link
"$LINENO"; then :
14553 ac_cv_cflags__Wwrite_strings
=yes
14555 ac_cv_cflags__Wwrite_strings
=no
14557 rm -f core conftest.err conftest.
$ac_objext \
14558 conftest
$ac_exeext conftest.
$ac_ext
14559 CFLAGS
=$ac_wine_try_cflags_saved
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14562 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14563 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14564 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14568 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14569 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14570 $as_echo_n "(cached) " >&6
14572 ac_wine_try_cflags_saved
=$CFLAGS
14573 CFLAGS
="$CFLAGS -Wpointer-arith"
14574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14575 /* end confdefs.h. */
14576 int main(int argc, char **argv) { return 0; }
14578 if ac_fn_c_try_link
"$LINENO"; then :
14579 ac_cv_cflags__Wpointer_arith
=yes
14581 ac_cv_cflags__Wpointer_arith
=no
14583 rm -f core conftest.err conftest.
$ac_objext \
14584 conftest
$ac_exeext conftest.
$ac_ext
14585 CFLAGS
=$ac_wine_try_cflags_saved
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14588 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14589 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14590 saved_string_h_CFLAGS
=$CFLAGS
14591 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14593 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14594 if ${ac_cv_c_string_h_warnings+:} false
; then :
14595 $as_echo_n "(cached) " >&6
14597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14598 /* end confdefs.h. */
14599 #include <string.h>
14608 if ac_fn_c_try_compile
"$LINENO"; then :
14609 ac_cv_c_string_h_warnings
=no
14611 ac_cv_c_string_h_warnings
=yes
14613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14616 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14617 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14618 CFLAGS
=$saved_string_h_CFLAGS
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14622 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14623 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14624 $as_echo_n "(cached) " >&6
14626 ac_wine_try_cflags_saved
=$CFLAGS
14627 CFLAGS
="$CFLAGS -Wlogical-op"
14628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14629 /* end confdefs.h. */
14630 int main(int argc, char **argv) { return 0; }
14632 if ac_fn_c_try_link
"$LINENO"; then :
14633 ac_cv_cflags__Wlogical_op
=yes
14635 ac_cv_cflags__Wlogical_op
=no
14637 rm -f core conftest.err conftest.
$ac_objext \
14638 conftest
$ac_exeext conftest.
$ac_ext
14639 CFLAGS
=$ac_wine_try_cflags_saved
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14642 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14643 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14644 saved_string_h_CFLAGS
=$CFLAGS
14645 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14647 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14648 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14649 $as_echo_n "(cached) " >&6
14651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14652 /* end confdefs.h. */
14653 #include <string.h>
14654 char*f(const char *h,char n) {return strchr(h,n);}
14663 if ac_fn_c_try_compile
"$LINENO"; then :
14664 ac_cv_c_logicalop_noisy
=no
14666 ac_cv_c_logicalop_noisy
=yes
14668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14671 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14672 CFLAGS
=$saved_string_h_CFLAGS
14673 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14676 CFLAGS
=$saved_CFLAGS
14678 for ac_flag
in $CFLAGS; do
14680 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14681 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14682 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14683 $as_echo_n "(cached) " >&6
14685 ac_wine_try_cflags_saved
=$CFLAGS
14686 CFLAGS
="$CFLAGS -gdwarf-2"
14687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14688 /* end confdefs.h. */
14689 int main(int argc, char **argv) { return 0; }
14691 if ac_fn_c_try_link
"$LINENO"; then :
14692 ac_cv_cflags__gdwarf_2
=yes
14694 ac_cv_cflags__gdwarf_2
=no
14696 rm -f core conftest.err conftest.
$ac_objext \
14697 conftest
$ac_exeext conftest.
$ac_ext
14698 CFLAGS
=$ac_wine_try_cflags_saved
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14701 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14702 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14703 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14706 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14707 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14708 $as_echo_n "(cached) " >&6
14710 ac_wine_try_cflags_saved
=$CFLAGS
14711 CFLAGS
="$CFLAGS -gstrict-dwarf"
14712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14713 /* end confdefs.h. */
14714 int main(int argc, char **argv) { return 0; }
14716 if ac_fn_c_try_link
"$LINENO"; then :
14717 ac_cv_cflags__gstrict_dwarf
=yes
14719 ac_cv_cflags__gstrict_dwarf
=no
14721 rm -f core conftest.err conftest.
$ac_objext \
14722 conftest
$ac_exeext conftest.
$ac_ext
14723 CFLAGS
=$ac_wine_try_cflags_saved
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14726 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14727 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14728 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14734 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14735 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14736 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14737 $as_echo_n "(cached) " >&6
14739 ac_wine_try_cflags_saved
=$CFLAGS
14740 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14742 /* end confdefs.h. */
14743 int main(int argc, char **argv) { return 0; }
14745 if ac_fn_c_try_link
"$LINENO"; then :
14746 ac_cv_cflags__fno_omit_frame_pointer
=yes
14748 ac_cv_cflags__fno_omit_frame_pointer
=no
14750 rm -f core conftest.err conftest.
$ac_objext \
14751 conftest
$ac_exeext conftest.
$ac_ext
14752 CFLAGS
=$ac_wine_try_cflags_saved
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14755 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14756 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14757 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14762 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14763 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14764 if ${ac_cv_cflags__Wno_format+:} false
; then :
14765 $as_echo_n "(cached) " >&6
14767 ac_wine_try_cflags_saved
=$CFLAGS
14768 CFLAGS
="$CFLAGS -Wno-format"
14769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14770 /* end confdefs.h. */
14771 int main(int argc, char **argv) { return 0; }
14773 if ac_fn_c_try_link
"$LINENO"; then :
14774 ac_cv_cflags__Wno_format
=yes
14776 ac_cv_cflags__Wno_format
=no
14778 rm -f core conftest.err conftest.
$ac_objext \
14779 conftest
$ac_exeext conftest.
$ac_ext
14780 CFLAGS
=$ac_wine_try_cflags_saved
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14783 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14784 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14785 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14789 if test "x$enable_maintainer_mode" = "xyes"
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14792 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14793 if ${ac_cv_cflags__Werror+:} false
; then :
14794 $as_echo_n "(cached) " >&6
14796 ac_wine_try_cflags_saved
=$CFLAGS
14797 CFLAGS
="$CFLAGS -Werror"
14798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14799 /* end confdefs.h. */
14800 int main(int argc, char **argv) { return 0; }
14802 if ac_fn_c_try_link
"$LINENO"; then :
14803 ac_cv_cflags__Werror
=yes
14805 ac_cv_cflags__Werror
=no
14807 rm -f core conftest.err conftest.
$ac_objext \
14808 conftest
$ac_exeext conftest.
$ac_ext
14809 CFLAGS
=$ac_wine_try_cflags_saved
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14812 $as_echo "$ac_cv_cflags__Werror" >&6; }
14813 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14814 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14818 saved_CFLAGS
="$CFLAGS"
14819 CFLAGS
="$CFLAGS -Werror"
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14821 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14822 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14823 $as_echo_n "(cached) " >&6
14825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14826 /* end confdefs.h. */
14827 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14836 if ac_fn_c_try_compile
"$LINENO"; then :
14837 ac_cv_have_ms_hook_prologue
="yes"
14839 ac_cv_have_ms_hook_prologue
="no"
14841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14844 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14845 CFLAGS
="$saved_CFLAGS"
14846 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14849 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14852 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14859 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14860 if ${ac_cv_c_fortify_enabled+:} false
; then :
14861 $as_echo_n "(cached) " >&6
14863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14864 /* end confdefs.h. */
14865 #include <string.h>
14869 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14870 #error Fortify enabled
14876 if ac_fn_c_try_compile
"$LINENO"; then :
14877 ac_cv_c_fortify_enabled
=no
14879 ac_cv_c_fortify_enabled
=yes
14881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14884 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14885 if test "$ac_cv_c_fortify_enabled" = yes
14887 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14892 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14893 if ${ac_cv_c_extern_prefix+:} false
; then :
14894 $as_echo_n "(cached) " >&6
14896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14897 /* end confdefs.h. */
14898 extern int ac_test;
14902 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14907 if ac_fn_c_try_link
"$LINENO"; then :
14908 ac_cv_c_extern_prefix
="yes"
14910 ac_cv_c_extern_prefix
="no"
14912 rm -f core conftest.err conftest.
$ac_objext \
14913 conftest
$ac_exeext conftest.
$ac_ext
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14916 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14921 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14922 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14923 $as_echo_n "(cached) " >&6
14925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14926 /* end confdefs.h. */
14928 #define __stdcall __attribute__((__stdcall__))
14930 int __stdcall ac_test(int i) { return i; }
14934 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14939 if ac_fn_c_try_link
"$LINENO"; then :
14940 ac_cv_c_stdcall_suffix
="yes"
14942 ac_cv_c_stdcall_suffix
="no"
14944 rm -f core conftest.err conftest.
$ac_objext \
14945 conftest
$ac_exeext conftest.
$ac_ext
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14948 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14949 *) ac_cv_c_stdcall_suffix
="no" ;;
14953 if test "$ac_cv_c_extern_prefix" = "yes"
14955 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14957 asm_name_prefix
="_"
14959 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14965 if test "$ac_cv_c_stdcall_suffix" = "yes"
14967 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14970 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14976 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14977 if ${ac_cv_asm_func_def+:} false
; then :
14978 $as_echo_n "(cached) " >&6
14980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14981 /* end confdefs.h. */
14986 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14991 if ac_fn_c_try_link
"$LINENO"; then :
14992 ac_cv_asm_func_def
=".def"
14994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14995 /* end confdefs.h. */
15000 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15005 if ac_fn_c_try_link
"$LINENO"; then :
15006 ac_cv_asm_func_def
=".type @function"
15008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15009 /* end confdefs.h. */
15014 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15019 if ac_fn_c_try_link
"$LINENO"; then :
15020 ac_cv_asm_func_def
=".type 2"
15022 ac_cv_asm_func_def
="unknown"
15024 rm -f core conftest.err conftest.
$ac_objext \
15025 conftest
$ac_exeext conftest.
$ac_ext
15027 rm -f core conftest.err conftest.
$ac_objext \
15028 conftest
$ac_exeext conftest.
$ac_ext
15030 rm -f core conftest.err conftest.
$ac_objext \
15031 conftest
$ac_exeext conftest.
$ac_ext
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15034 $as_echo "$ac_cv_asm_func_def" >&6; }
15037 case "$ac_cv_asm_func_def" in
15039 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15041 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15043 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15045 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
15047 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15049 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
15051 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15053 asm_func_header
="" ;;
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15057 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15058 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
15059 $as_echo_n "(cached) " >&6
15061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15062 /* end confdefs.h. */
15063 asm(".text\n\t.long 0");
15072 if ac_fn_c_try_compile
"$LINENO"; then :
15073 ac_cv_c_asm_outside_funcs
="yes"
15075 ac_cv_c_asm_outside_funcs
="no"
15077 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15080 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15083 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15084 if ${ac_cv_c_dot_previous+:} false
; then :
15085 $as_echo_n "(cached) " >&6
15087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15088 /* end confdefs.h. */
15093 asm(".text\nac_test:\t.long 0\n\t.previous");
15098 if ac_fn_c_try_link
"$LINENO"; then :
15099 ac_cv_c_dot_previous
="yes"
15101 ac_cv_c_dot_previous
="no"
15103 rm -f core conftest.err conftest.
$ac_objext \
15104 conftest
$ac_exeext conftest.
$ac_ext
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15107 $as_echo "$ac_cv_c_dot_previous" >&6; }
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15110 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15111 if ${ac_cv_c_cfi_support+:} false
; then :
15112 $as_echo_n "(cached) " >&6
15114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15115 /* end confdefs.h. */
15116 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15125 if ac_fn_c_try_compile
"$LINENO"; then :
15126 ac_cv_c_cfi_support
="yes"
15128 ac_cv_c_cfi_support
="no"
15130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15133 $as_echo "$ac_cv_c_cfi_support" >&6; }
15135 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15136 asm_func_trailer
=""
15137 if test "$ac_cv_c_dot_previous" = "yes"
15139 asm_func_trailer
="\\n\\t.previous"
15141 if test "$ac_cv_c_cfi_support" = "yes"
15143 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
15144 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
15146 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15148 UNWINDFLAGS
=-fasynchronous-unwind-tables
15151 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15153 if test "x$enable_win64" = "xyes"
15155 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15159 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
15162 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15164 cat >>confdefs.h
<<_ACEOF
15165 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15169 cat >>confdefs.h
<<_ACEOF
15170 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15175 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15178 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15183 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
15191 *i
[3456789]86*|x86_64
*)
15192 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
15193 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
15200 ac_save_CFLAGS
="$CFLAGS"
15201 CFLAGS
="$CFLAGS $BUILTINFLAG"
15281 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15282 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15283 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15284 cat >>confdefs.h
<<_ACEOF
15285 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15291 CFLAGS
="$ac_save_CFLAGS"
15293 if test "$ac_cv_func_dlopen" = no
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15296 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15297 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15298 $as_echo_n "(cached) " >&6
15300 ac_check_lib_save_LIBS
=$LIBS
15302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15303 /* end confdefs.h. */
15305 /* Override any GCC internal prototype to avoid an error.
15306 Use char because int might match the return type of a GCC
15307 builtin and then its argument prototype would still apply. */
15320 if ac_fn_c_try_link
"$LINENO"; then :
15321 ac_cv_lib_dl_dlopen
=yes
15323 ac_cv_lib_dl_dlopen
=no
15325 rm -f core conftest.err conftest.
$ac_objext \
15326 conftest
$ac_exeext conftest.
$ac_ext
15327 LIBS
=$ac_check_lib_save_LIBS
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15330 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15331 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15332 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15338 ac_wine_check_funcs_save_LIBS
="$LIBS"
15339 LIBS
="$LIBS $DL_LIBS"
15340 for ac_func
in dladdr
15342 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15343 if test "x$ac_cv_func_dladdr" = xyes
; then :
15344 cat >>confdefs.h
<<_ACEOF
15345 #define HAVE_DLADDR 1
15351 LIBS
="$ac_wine_check_funcs_save_LIBS"
15353 if test "$ac_cv_func_poll" = no
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15356 $as_echo_n "checking for poll in -lpoll... " >&6; }
15357 if ${ac_cv_lib_poll_poll+:} false
; then :
15358 $as_echo_n "(cached) " >&6
15360 ac_check_lib_save_LIBS
=$LIBS
15361 LIBS
="-lpoll $LIBS"
15362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15363 /* end confdefs.h. */
15365 /* Override any GCC internal prototype to avoid an error.
15366 Use char because int might match the return type of a GCC
15367 builtin and then its argument prototype would still apply. */
15380 if ac_fn_c_try_link
"$LINENO"; then :
15381 ac_cv_lib_poll_poll
=yes
15383 ac_cv_lib_poll_poll
=no
15385 rm -f core conftest.err conftest.
$ac_objext \
15386 conftest
$ac_exeext conftest.
$ac_ext
15387 LIBS
=$ac_check_lib_save_LIBS
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15390 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15391 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15392 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15400 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15401 if ${ac_cv_search_gethostbyname+:} false
; then :
15402 $as_echo_n "(cached) " >&6
15404 ac_func_search_save_LIBS
=$LIBS
15405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15406 /* end confdefs.h. */
15408 /* Override any GCC internal prototype to avoid an error.
15409 Use char because int might match the return type of a GCC
15410 builtin and then its argument prototype would still apply. */
15414 char gethostbyname ();
15418 return gethostbyname ();
15423 for ac_lib
in '' nsl
; do
15424 if test -z "$ac_lib"; then
15425 ac_res
="none required"
15428 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15430 if ac_fn_c_try_link
"$LINENO"; then :
15431 ac_cv_search_gethostbyname
=$ac_res
15433 rm -f core conftest.err conftest.
$ac_objext \
15435 if ${ac_cv_search_gethostbyname+:} false
; then :
15439 if ${ac_cv_search_gethostbyname+:} false
; then :
15442 ac_cv_search_gethostbyname
=no
15444 rm conftest.
$ac_ext
15445 LIBS
=$ac_func_search_save_LIBS
15447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15448 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15449 ac_res
=$ac_cv_search_gethostbyname
15450 if test "$ac_res" != no
; then :
15451 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15457 $as_echo_n "checking for library containing connect... " >&6; }
15458 if ${ac_cv_search_connect+:} false
; then :
15459 $as_echo_n "(cached) " >&6
15461 ac_func_search_save_LIBS
=$LIBS
15462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15463 /* end confdefs.h. */
15465 /* Override any GCC internal prototype to avoid an error.
15466 Use char because int might match the return type of a GCC
15467 builtin and then its argument prototype would still apply. */
15480 for ac_lib
in '' socket
; do
15481 if test -z "$ac_lib"; then
15482 ac_res
="none required"
15485 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15487 if ac_fn_c_try_link
"$LINENO"; then :
15488 ac_cv_search_connect
=$ac_res
15490 rm -f core conftest.err conftest.
$ac_objext \
15492 if ${ac_cv_search_connect+:} false
; then :
15496 if ${ac_cv_search_connect+:} false
; then :
15499 ac_cv_search_connect
=no
15501 rm conftest.
$ac_ext
15502 LIBS
=$ac_func_search_save_LIBS
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15505 $as_echo "$ac_cv_search_connect" >&6; }
15506 ac_res
=$ac_cv_search_connect
15507 if test "$ac_res" != no
; then :
15508 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15514 $as_echo_n "checking for library containing inet_aton... " >&6; }
15515 if ${ac_cv_search_inet_aton+:} false
; then :
15516 $as_echo_n "(cached) " >&6
15518 ac_func_search_save_LIBS
=$LIBS
15519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15520 /* end confdefs.h. */
15522 /* Override any GCC internal prototype to avoid an error.
15523 Use char because int might match the return type of a GCC
15524 builtin and then its argument prototype would still apply. */
15532 return inet_aton ();
15537 for ac_lib
in '' resolv
; do
15538 if test -z "$ac_lib"; then
15539 ac_res
="none required"
15542 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15544 if ac_fn_c_try_link
"$LINENO"; then :
15545 ac_cv_search_inet_aton
=$ac_res
15547 rm -f core conftest.err conftest.
$ac_objext \
15549 if ${ac_cv_search_inet_aton+:} false
; then :
15553 if ${ac_cv_search_inet_aton+:} false
; then :
15556 ac_cv_search_inet_aton
=no
15558 rm conftest.
$ac_ext
15559 LIBS
=$ac_func_search_save_LIBS
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15562 $as_echo "$ac_cv_search_inet_aton" >&6; }
15563 ac_res
=$ac_cv_search_inet_aton
15564 if test "$ac_res" != no
; then :
15565 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15585 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15586 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15587 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15588 cat >>confdefs.h
<<_ACEOF
15589 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15598 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15599 if ${ac_cv_search_clock_gettime+:} false
; then :
15600 $as_echo_n "(cached) " >&6
15602 ac_func_search_save_LIBS
=$LIBS
15603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15604 /* end confdefs.h. */
15606 /* Override any GCC internal prototype to avoid an error.
15607 Use char because int might match the return type of a GCC
15608 builtin and then its argument prototype would still apply. */
15612 char clock_gettime ();
15616 return clock_gettime ();
15621 for ac_lib
in '' rt
; do
15622 if test -z "$ac_lib"; then
15623 ac_res
="none required"
15626 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15628 if ac_fn_c_try_link
"$LINENO"; then :
15629 ac_cv_search_clock_gettime
=$ac_res
15631 rm -f core conftest.err conftest.
$ac_objext \
15633 if ${ac_cv_search_clock_gettime+:} false
; then :
15637 if ${ac_cv_search_clock_gettime+:} false
; then :
15640 ac_cv_search_clock_gettime
=no
15642 rm conftest.
$ac_ext
15643 LIBS
=$ac_func_search_save_LIBS
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15646 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15647 ac_res
=$ac_cv_search_clock_gettime
15648 if test "$ac_res" != no
; then :
15649 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15651 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15653 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15661 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15663 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15665 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15667 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15668 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15669 $as_echo_n "(cached) " >&6
15671 ac_check_lib_save_LIBS
=$LIBS
15672 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15674 /* end confdefs.h. */
15676 /* Override any GCC internal prototype to avoid an error.
15677 Use char because int might match the return type of a GCC
15678 builtin and then its argument prototype would still apply. */
15682 char ldap_initialize ();
15686 return ldap_initialize ();
15691 if ac_fn_c_try_link
"$LINENO"; then :
15692 ac_cv_lib_ldap_r_ldap_initialize
=yes
15694 ac_cv_lib_ldap_r_ldap_initialize
=no
15696 rm -f core conftest.err conftest.
$ac_objext \
15697 conftest
$ac_exeext conftest.
$ac_ext
15698 LIBS
=$ac_check_lib_save_LIBS
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15701 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15702 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15704 $as_echo_n "checking for ber_init in -llber... " >&6; }
15705 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15706 $as_echo_n "(cached) " >&6
15708 ac_check_lib_save_LIBS
=$LIBS
15709 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15711 /* end confdefs.h. */
15713 /* Override any GCC internal prototype to avoid an error.
15714 Use char because int might match the return type of a GCC
15715 builtin and then its argument prototype would still apply. */
15723 return ber_init ();
15728 if ac_fn_c_try_link
"$LINENO"; then :
15729 ac_cv_lib_lber_ber_init
=yes
15731 ac_cv_lib_lber_ber_init
=no
15733 rm -f core conftest.err conftest.
$ac_objext \
15734 conftest
$ac_exeext conftest.
$ac_ext
15735 LIBS
=$ac_check_lib_save_LIBS
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15738 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15739 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15741 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15743 LDAP_LIBS
="-lldap_r -llber"
15750 ac_wine_check_funcs_save_LIBS
="$LIBS"
15751 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15753 ldap_count_references \
15754 ldap_first_reference \
15755 ldap_next_reference \
15756 ldap_parse_reference \
15757 ldap_parse_sort_control \
15758 ldap_parse_sortresponse_control \
15759 ldap_parse_vlv_control \
15760 ldap_parse_vlvresponse_control
15762 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15763 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15764 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15765 cat >>confdefs.h
<<_ACEOF
15766 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15772 LIBS
="$ac_wine_check_funcs_save_LIBS"
15774 if test "x$LDAP_LIBS" = "x"; then :
15775 case "x$with_ldap" in
15776 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15778 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15779 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15785 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15786 if ${wine_cv_one_arg_mkdir+:} false
; then :
15787 $as_echo_n "(cached) " >&6
15789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15790 /* end confdefs.h. */
15791 #include <sys/stat.h>
15800 if ac_fn_c_try_compile
"$LINENO"; then :
15801 wine_cv_one_arg_mkdir
=yes
15803 wine_cv_one_arg_mkdir
=no
15805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15808 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15809 if test "$wine_cv_one_arg_mkdir" = "yes"
15812 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15817 $as_echo_n "checking for sched_setaffinity... " >&6; }
15818 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15819 $as_echo_n "(cached) " >&6
15821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15822 /* end confdefs.h. */
15823 #define _GNU_SOURCE
15828 sched_setaffinity(0, 0, 0);
15833 if ac_fn_c_try_link
"$LINENO"; then :
15834 wine_cv_have_sched_setaffinity
=yes
15836 wine_cv_have_sched_setaffinity
=no
15838 rm -f core conftest.err conftest.
$ac_objext \
15839 conftest
$ac_exeext conftest.
$ac_ext
15841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15842 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15843 if test "$wine_cv_have_sched_setaffinity" = "yes"
15846 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15851 $as_echo_n "checking for fallocate... " >&6; }
15852 if ${wine_cv_have_fallocate+:} false
; then :
15853 $as_echo_n "(cached) " >&6
15855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15856 /* end confdefs.h. */
15857 #define _GNU_SOURCE
15862 fallocate(-1, 0, 0, 0);
15867 if ac_fn_c_try_link
"$LINENO"; then :
15868 wine_cv_have_fallocate
=yes
15870 wine_cv_have_fallocate
=no
15872 rm -f core conftest.err conftest.
$ac_objext \
15873 conftest
$ac_exeext conftest.
$ac_ext
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15876 $as_echo "$wine_cv_have_fallocate" >&6; }
15877 if test "$wine_cv_have_fallocate" = "yes"
15880 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15886 $as_echo_n "checking for inline... " >&6; }
15887 if ${ac_cv_c_inline+:} false
; then :
15888 $as_echo_n "(cached) " >&6
15891 for ac_kw
in inline __inline__ __inline
; do
15892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h. */
15894 #ifndef __cplusplus
15896 static $ac_kw foo_t static_foo () {return 0; }
15897 $ac_kw foo_t foo () {return 0; }
15901 if ac_fn_c_try_compile
"$LINENO"; then :
15902 ac_cv_c_inline
=$ac_kw
15904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15905 test "$ac_cv_c_inline" != no
&& break
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15910 $as_echo "$ac_cv_c_inline" >&6; }
15912 case $ac_cv_c_inline in
15915 case $ac_cv_c_inline in
15917 *) ac_val
=$ac_cv_c_inline;;
15919 cat >>confdefs.h
<<_ACEOF
15920 #ifndef __cplusplus
15921 #define inline $ac_val
15927 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15928 if test "x$ac_cv_type_mode_t" = xyes
; then :
15930 cat >>confdefs.h
<<_ACEOF
15931 #define HAVE_MODE_T 1
15936 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15937 if test "x$ac_cv_type_off_t" = xyes
; then :
15939 cat >>confdefs.h
<<_ACEOF
15940 #define HAVE_OFF_T 1
15945 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15946 if test "x$ac_cv_type_pid_t" = xyes
; then :
15948 cat >>confdefs.h
<<_ACEOF
15949 #define HAVE_PID_T 1
15954 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15955 if test "x$ac_cv_type_size_t" = xyes
; then :
15957 cat >>confdefs.h
<<_ACEOF
15958 #define HAVE_SIZE_T 1
15963 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15964 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15966 cat >>confdefs.h
<<_ACEOF
15967 #define HAVE_SSIZE_T 1
15972 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15973 if test "x$ac_cv_type_long_long" = xyes
; then :
15975 cat >>confdefs.h
<<_ACEOF
15976 #define HAVE_LONG_LONG 1
15981 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15982 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15984 cat >>confdefs.h
<<_ACEOF
15985 #define HAVE_FSBLKCNT_T 1
15990 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15991 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15993 cat >>confdefs.h
<<_ACEOF
15994 #define HAVE_FSFILCNT_T 1
16000 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16001 #include <signal.h>
16003 if test "x$ac_cv_type_sigset_t" = xyes
; then :
16005 cat >>confdefs.h
<<_ACEOF
16006 #define HAVE_SIGSET_T 1
16012 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16014 if test "x$ac_cv_type_request_sense" = xyes
; then :
16016 cat >>confdefs.h
<<_ACEOF
16017 #define HAVE_REQUEST_SENSE 1
16024 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16025 #ifdef HAVE_SYS_SOCKET_H
16026 #include <sys/socket.h>
16028 #ifdef HAVE_SYS_SOCKETVAR_H
16029 #include <sys/socketvar.h>
16031 #ifdef HAVE_NET_ROUTE_H
16032 #include <net/route.h>
16034 #ifdef HAVE_NETINET_IN_H
16035 #include <netinet/in.h>
16037 #ifdef HAVE_NETINET_IN_SYSTM_H
16038 #include <netinet/in_systm.h>
16040 #ifdef HAVE_NETINET_IP_H
16041 #include <netinet/ip.h>
16043 #ifdef HAVE_NETINET_IN_PCB_H
16044 #include <netinet/in_pcb.h>
16047 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
16049 cat >>confdefs.h
<<_ACEOF
16050 #define HAVE_STRUCT_XINPGEN 1
16057 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16060 #ifdef HAVE_SYS_LINK_H
16061 #include <sys/link.h>
16064 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
16066 cat >>confdefs.h
<<_ACEOF
16067 #define HAVE_STRUCT_R_DEBUG 1
16072 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16075 #ifdef HAVE_SYS_LINK_H
16076 #include <sys/link.h>
16079 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
16081 cat >>confdefs.h
<<_ACEOF
16082 #define HAVE_STRUCT_LINK_MAP 1
16089 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16090 #include <linux/input.h>
16093 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
16095 cat >>confdefs.h
<<_ACEOF
16096 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16104 $as_echo_n "checking for sigaddset... " >&6; }
16105 if ${wine_cv_have_sigaddset+:} false
; then :
16106 $as_echo_n "(cached) " >&6
16108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16109 /* end confdefs.h. */
16110 #include <signal.h>
16114 sigset_t set; sigaddset(&set,SIGTERM);
16119 if ac_fn_c_try_link
"$LINENO"; then :
16120 wine_cv_have_sigaddset
=yes
16122 wine_cv_have_sigaddset
=no
16124 rm -f core conftest.err conftest.
$ac_objext \
16125 conftest
$ac_exeext conftest.
$ac_ext
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16128 $as_echo "$wine_cv_have_sigaddset" >&6; }
16129 if test "$wine_cv_have_sigaddset" = "yes"
16132 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16138 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16139 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
16140 $as_echo_n "(cached) " >&6
16142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16143 /* end confdefs.h. */
16151 struct hostent *result;
16158 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16159 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16165 if ac_fn_c_try_link
"$LINENO"; then :
16166 wine_cv_linux_gethostbyname_r_6
=yes
16168 wine_cv_linux_gethostbyname_r_6
=no
16171 rm -f core conftest.err conftest.
$ac_objext \
16172 conftest
$ac_exeext conftest.
$ac_ext
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16176 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16177 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16180 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16184 if test "$ac_cv_header_linux_joystick_h" = "yes"
16186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16187 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16188 if ${wine_cv_linux_joystick_22_api+:} false
; then :
16189 $as_echo_n "(cached) " >&6
16191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16192 /* end confdefs.h. */
16194 #include <sys/ioctl.h>
16195 #include <sys/types.h>
16196 #include <linux/joystick.h>
16198 struct js_event blub;
16199 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16200 #error "no 2.2 header"
16211 if ac_fn_c_try_compile
"$LINENO"; then :
16212 wine_cv_linux_joystick_22_api
=yes
16214 wine_cv_linux_joystick_22_api
=no
16216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16220 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16221 if test "$wine_cv_linux_joystick_22_api" = "yes"
16224 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16230 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16231 #ifdef HAVE_SYS_PARAM_H
16232 # include <sys/param.h>
16234 #ifdef HAVE_SYS_MOUNT_H
16235 # include <sys/mount.h>
16237 #ifdef HAVE_SYS_VFS_H
16238 # include <sys/vfs.h>
16240 #ifdef HAVE_SYS_STATFS_H
16241 # include <sys/statfs.h>
16244 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16246 cat >>confdefs.h
<<_ACEOF
16247 #define HAVE_STRUCT_STATFS_F_BFREE 1
16252 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16253 #ifdef HAVE_SYS_PARAM_H
16254 # include <sys/param.h>
16256 #ifdef HAVE_SYS_MOUNT_H
16257 # include <sys/mount.h>
16259 #ifdef HAVE_SYS_VFS_H
16260 # include <sys/vfs.h>
16262 #ifdef HAVE_SYS_STATFS_H
16263 # include <sys/statfs.h>
16266 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16268 cat >>confdefs.h
<<_ACEOF
16269 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16274 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16275 #ifdef HAVE_SYS_PARAM_H
16276 # include <sys/param.h>
16278 #ifdef HAVE_SYS_MOUNT_H
16279 # include <sys/mount.h>
16281 #ifdef HAVE_SYS_VFS_H
16282 # include <sys/vfs.h>
16284 #ifdef HAVE_SYS_STATFS_H
16285 # include <sys/statfs.h>
16288 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16290 cat >>confdefs.h
<<_ACEOF
16291 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16296 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16297 #ifdef HAVE_SYS_PARAM_H
16298 # include <sys/param.h>
16300 #ifdef HAVE_SYS_MOUNT_H
16301 # include <sys/mount.h>
16303 #ifdef HAVE_SYS_VFS_H
16304 # include <sys/vfs.h>
16306 #ifdef HAVE_SYS_STATFS_H
16307 # include <sys/statfs.h>
16310 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16312 cat >>confdefs.h
<<_ACEOF
16313 #define HAVE_STRUCT_STATFS_F_FFREE 1
16318 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16319 #ifdef HAVE_SYS_PARAM_H
16320 # include <sys/param.h>
16322 #ifdef HAVE_SYS_MOUNT_H
16323 # include <sys/mount.h>
16325 #ifdef HAVE_SYS_VFS_H
16326 # include <sys/vfs.h>
16328 #ifdef HAVE_SYS_STATFS_H
16329 # include <sys/statfs.h>
16332 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16334 cat >>confdefs.h
<<_ACEOF
16335 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16340 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16341 #ifdef HAVE_SYS_PARAM_H
16342 # include <sys/param.h>
16344 #ifdef HAVE_SYS_MOUNT_H
16345 # include <sys/mount.h>
16347 #ifdef HAVE_SYS_VFS_H
16348 # include <sys/vfs.h>
16350 #ifdef HAVE_SYS_STATFS_H
16351 # include <sys/statfs.h>
16354 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16356 cat >>confdefs.h
<<_ACEOF
16357 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16364 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16365 #include <sys/statvfs.h>
16368 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16370 cat >>confdefs.h
<<_ACEOF
16371 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16378 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16379 #include <dirent.h>
16382 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16384 cat >>confdefs.h
<<_ACEOF
16385 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16392 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16393 #ifdef HAVE_SYS_SOCKET_H
16394 # include <sys/socket.h>
16396 #ifdef HAVE_SYS_UN_H
16397 # include <sys/un.h>
16400 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16402 cat >>confdefs.h
<<_ACEOF
16403 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16408 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16409 #ifdef HAVE_SYS_SOCKET_H
16410 # include <sys/socket.h>
16412 #ifdef HAVE_SYS_UN_H
16413 # include <sys/un.h>
16416 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16418 cat >>confdefs.h
<<_ACEOF
16419 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16424 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16425 #ifdef HAVE_SYS_SOCKET_H
16426 # include <sys/socket.h>
16428 #ifdef HAVE_SYS_UN_H
16429 # include <sys/un.h>
16432 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16434 cat >>confdefs.h
<<_ACEOF
16435 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16442 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16443 #ifdef HAVE_SCSI_SG_H
16444 #include <scsi/sg.h>
16447 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16449 cat >>confdefs.h
<<_ACEOF
16450 #define HAVE_SCSIREQ_T_CMD 1
16455 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>
16456 #ifdef HAVE_SCSI_SG_H
16457 #include <scsi/sg.h>
16460 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16462 cat >>confdefs.h
<<_ACEOF
16463 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16470 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16472 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16474 cat >>confdefs.h
<<_ACEOF
16475 #define HAVE_SIGINFO_T_SI_FD 1
16482 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16483 #ifdef HAVE_SYS_MTIO_H
16484 #include <sys/mtio.h>
16487 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16489 cat >>confdefs.h
<<_ACEOF
16490 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16495 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16496 #ifdef HAVE_SYS_MTIO_H
16497 #include <sys/mtio.h>
16500 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16502 cat >>confdefs.h
<<_ACEOF
16503 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16508 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16509 #ifdef HAVE_SYS_MTIO_H
16510 #include <sys/mtio.h>
16513 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16515 cat >>confdefs.h
<<_ACEOF
16516 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16523 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16524 #include <getopt.h>
16527 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16529 cat >>confdefs.h
<<_ACEOF
16530 #define HAVE_STRUCT_OPTION_NAME 1
16537 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16538 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16540 cat >>confdefs.h
<<_ACEOF
16541 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16546 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16547 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16549 cat >>confdefs.h
<<_ACEOF
16550 #define HAVE_STRUCT_STAT_ST_MTIM 1
16555 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16556 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16558 cat >>confdefs.h
<<_ACEOF
16559 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16564 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16565 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16567 cat >>confdefs.h
<<_ACEOF
16568 #define HAVE_STRUCT_STAT_ST_CTIM 1
16573 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16574 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16576 cat >>confdefs.h
<<_ACEOF
16577 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16582 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16583 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16585 cat >>confdefs.h
<<_ACEOF
16586 #define HAVE_STRUCT_STAT_ST_ATIM 1
16591 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16592 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16594 cat >>confdefs.h
<<_ACEOF
16595 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16600 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16601 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16603 cat >>confdefs.h
<<_ACEOF
16604 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16609 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16610 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16612 cat >>confdefs.h
<<_ACEOF
16613 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16618 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16619 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16621 cat >>confdefs.h
<<_ACEOF
16622 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16627 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16628 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16630 cat >>confdefs.h
<<_ACEOF
16631 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16636 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16637 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16639 cat >>confdefs.h
<<_ACEOF
16640 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16647 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
16648 #include <sys/types.h>
16650 #ifdef HAVE_NETINET_IN_H
16651 #include <netinet/in.h>
16654 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16656 cat >>confdefs.h
<<_ACEOF
16657 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16664 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16665 #include <resolv.h>
16668 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16670 cat >>confdefs.h
<<_ACEOF
16671 #define HAVE_STRUCT___RES_STATE 1
16678 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
16679 #include <resolv.h>
16682 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16684 cat >>confdefs.h
<<_ACEOF
16685 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16692 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16693 #include <sys/types.h>
16695 #ifdef HAVE_NETINET_IN_H
16696 # include <netinet/in.h>
16698 #ifdef HAVE_ARPA_NAMESER_H
16699 # include <arpa/nameser.h>
16702 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16704 cat >>confdefs.h
<<_ACEOF
16705 #define HAVE_NS_MSG__MSG_PTR 1
16712 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16713 #include <sys/types.h>
16715 #ifdef HAVE_NETINET_IP_H
16716 #include <netinet/ip.h>
16718 #ifdef HAVE_NETINET_IP_ICMP_H
16719 #include <netinet/ip_icmp.h>
16721 #ifdef HAVE_NETINET_ICMP_VAR_H
16722 #include <netinet/icmp_var.h>
16725 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16727 cat >>confdefs.h
<<_ACEOF
16728 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16735 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16736 #include <sys/types.h>
16738 #ifdef HAVE_ALIAS_H
16741 #ifdef HAVE_SYS_SOCKET_H
16742 #include <sys/socket.h>
16744 #ifdef HAVE_SYS_SOCKETVAR_H
16745 #include <sys/socketvar.h>
16747 #ifdef HAVE_SYS_TIMEOUT_H
16748 #include <sys/timeout.h>
16750 #ifdef HAVE_NETINET_IN_H
16751 #include <netinet/in.h>
16753 #ifdef HAVE_NETINET_IN_SYSTM_H
16754 #include <netinet/in_systm.h>
16756 #ifdef HAVE_NETINET_IP_H
16757 #include <netinet/ip.h>
16759 #ifdef HAVE_NETINET_IP_VAR_H
16760 #include <netinet/ip_var.h>
16762 #ifdef HAVE_NETINET_IP_ICMP_H
16763 #include <netinet/ip_icmp.h>
16765 #ifdef HAVE_NETINET_ICMP_VAR_H
16766 #include <netinet/icmp_var.h>
16769 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16771 cat >>confdefs.h
<<_ACEOF
16772 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16779 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16780 #include <sys/types.h>
16782 #ifdef HAVE_SYS_SOCKETVAR_H
16783 #include <sys/socketvar.h>
16785 #ifdef HAVE_NETINET_IN_H
16786 #include <netinet/in.h>
16788 #ifdef HAVE_NETINET_IP_VAR_H
16789 #include <netinet/ip_var.h>
16792 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16794 cat >>confdefs.h
<<_ACEOF
16795 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16802 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
16803 #include <netinet/ip_var.h>
16806 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16808 cat >>confdefs.h
<<_ACEOF
16809 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16816 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16817 #include <sys/types.h>
16819 #ifdef HAVE_SYS_SOCKETVAR_H
16820 #include <sys/socketvar.h>
16822 #ifdef HAVE_NETINET_IN_H
16823 #include <netinet/in.h>
16825 #ifdef HAVE_NETINET_TCP_H
16826 #include <netinet/tcp.h>
16828 #ifdef HAVE_NETINET_TCP_VAR_H
16829 #include <netinet/tcp_var.h>
16832 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16834 cat >>confdefs.h
<<_ACEOF
16835 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16842 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
16843 #include <netinet/tcp_var.h>
16846 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16848 cat >>confdefs.h
<<_ACEOF
16849 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16856 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16857 #include <sys/types.h>
16859 #ifdef HAVE_NETINET_IN_H
16860 #include <netinet/in.h>
16862 #ifdef HAVE_NETINET_IP_VAR_H
16863 #include <netinet/ip_var.h>
16865 #ifdef HAVE_NETINET_UDP_H
16866 #include <netinet/udp.h>
16868 #ifdef HAVE_NETINET_UDP_VAR_H
16869 #include <netinet/udp_var.h>
16872 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16874 cat >>confdefs.h
<<_ACEOF
16875 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16882 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16883 #include <sys/types.h>
16885 #ifdef HAVE_NET_IF_H
16886 # include <net/if.h>
16889 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16891 cat >>confdefs.h
<<_ACEOF
16892 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16900 $as_echo_n "checking for timezone variable... " >&6; }
16901 if ${ac_cv_have_timezone+:} false
; then :
16902 $as_echo_n "(cached) " >&6
16904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16905 /* end confdefs.h. */
16915 if ac_fn_c_try_link
"$LINENO"; then :
16916 ac_cv_have_timezone
="yes"
16918 ac_cv_have_timezone
="no"
16920 rm -f core conftest.err conftest.
$ac_objext \
16921 conftest
$ac_exeext conftest.
$ac_ext
16923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16924 $as_echo "$ac_cv_have_timezone" >&6; }
16925 if test "$ac_cv_have_timezone" = "yes"
16928 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16932 $as_echo_n "checking for daylight variable... " >&6; }
16933 if ${ac_cv_have_daylight+:} false
; then :
16934 $as_echo_n "(cached) " >&6
16936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16937 /* end confdefs.h. */
16947 if ac_fn_c_try_link
"$LINENO"; then :
16948 ac_cv_have_daylight
="yes"
16950 ac_cv_have_daylight
="no"
16952 rm -f core conftest.err conftest.
$ac_objext \
16953 conftest
$ac_exeext conftest.
$ac_ext
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16956 $as_echo "$ac_cv_have_daylight" >&6; }
16957 if test "$ac_cv_have_daylight" = "yes"
16960 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16964 ac_save_LIBS
="$LIBS"
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16967 $as_echo_n "checking for isfinite... " >&6; }
16968 if ${ac_cv_have_isfinite+:} false
; then :
16969 $as_echo_n "(cached) " >&6
16971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16972 /* end confdefs.h. */
16973 #define _GNU_SOURCE
16978 float f = 0.0; return isfinite(f)
16983 if ac_fn_c_try_link
"$LINENO"; then :
16984 ac_cv_have_isfinite
="yes"
16986 ac_cv_have_isfinite
="no"
16988 rm -f core conftest.err conftest.
$ac_objext \
16989 conftest
$ac_exeext conftest.
$ac_ext
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16992 $as_echo "$ac_cv_have_isfinite" >&6; }
16993 if test "$ac_cv_have_isfinite" = "yes"
16996 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17001 $as_echo_n "checking for isinf... " >&6; }
17002 if ${ac_cv_have_isinf+:} false
; then :
17003 $as_echo_n "(cached) " >&6
17005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17006 /* end confdefs.h. */
17011 float f = 0.0; return isinf(f)
17016 if ac_fn_c_try_link
"$LINENO"; then :
17017 ac_cv_have_isinf
="yes"
17019 ac_cv_have_isinf
="no"
17021 rm -f core conftest.err conftest.
$ac_objext \
17022 conftest
$ac_exeext conftest.
$ac_ext
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17025 $as_echo "$ac_cv_have_isinf" >&6; }
17026 if test "$ac_cv_have_isinf" = "yes"
17029 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17034 $as_echo_n "checking for isnan... " >&6; }
17035 if ${ac_cv_have_isnan+:} false
; then :
17036 $as_echo_n "(cached) " >&6
17038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17039 /* end confdefs.h. */
17044 float f = 0.0; return isnan(f)
17049 if ac_fn_c_try_link
"$LINENO"; then :
17050 ac_cv_have_isnan
="yes"
17052 ac_cv_have_isnan
="no"
17054 rm -f core conftest.err conftest.
$ac_objext \
17055 conftest
$ac_exeext conftest.
$ac_ext
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17058 $as_echo "$ac_cv_have_isnan" >&6; }
17059 if test "$ac_cv_have_isnan" = "yes"
17062 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17098 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17099 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17100 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17101 cat >>confdefs.h
<<_ACEOF
17102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17108 LIBS
="$ac_save_LIBS"
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17111 $as_echo_n "checking for __builtin_clz... " >&6; }
17112 if ${ac_cv_have___builtin_clz+:} false
; then :
17113 $as_echo_n "(cached) " >&6
17115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17116 /* end confdefs.h. */
17121 return __builtin_clz(1)
17126 if ac_fn_c_try_link
"$LINENO"; then :
17127 ac_cv_have___builtin_clz
="yes"
17129 ac_cv_have___builtin_clz
="no"
17131 rm -f core conftest.err conftest.
$ac_objext \
17132 conftest
$ac_exeext conftest.
$ac_ext
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17135 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17136 if test "$ac_cv_have___builtin_clz" = "yes"
17139 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17144 $as_echo_n "checking for __builtin_popcount... " >&6; }
17145 if ${ac_cv_have___builtin_popcount+:} false
; then :
17146 $as_echo_n "(cached) " >&6
17148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17149 /* end confdefs.h. */
17154 return __builtin_popcount(1)
17159 if ac_fn_c_try_link
"$LINENO"; then :
17160 ac_cv_have___builtin_popcount
="yes"
17162 ac_cv_have___builtin_popcount
="no"
17164 rm -f core conftest.err conftest.
$ac_objext \
17165 conftest
$ac_exeext conftest.
$ac_ext
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17168 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17169 if test "$ac_cv_have___builtin_popcount" = "yes"
17172 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17178 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17179 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17180 if ${ac_cv_cpp_def___i386__+:} false
; then :
17181 $as_echo_n "(cached) " >&6
17183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17184 /* end confdefs.h. */
17189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17190 $EGREP "yes" >/dev
/null
2>&1; then :
17191 ac_cv_cpp_def___i386__
=yes
17193 ac_cv_cpp_def___i386__
=no
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17199 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17200 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
17201 CFLAGS
="$CFLAGS -D__i386__"
17202 LINTFLAGS
="$LINTFLAGS -D__i386__"
17204 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17205 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17206 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
17207 $as_echo_n "(cached) " >&6
17209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17210 /* end confdefs.h. */
17215 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17216 $EGREP "yes" >/dev
/null
2>&1; then :
17217 ac_cv_cpp_def___x86_64__
=yes
17219 ac_cv_cpp_def___x86_64__
=no
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17225 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17226 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
17227 CFLAGS
="$CFLAGS -D__x86_64__"
17228 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
17230 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17231 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17232 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
17233 $as_echo_n "(cached) " >&6
17235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17236 /* end confdefs.h. */
17237 #ifndef __sparc64__
17241 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17242 $EGREP "yes" >/dev
/null
2>&1; then :
17243 ac_cv_cpp_def___sparc64__
=yes
17245 ac_cv_cpp_def___sparc64__
=no
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17251 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17252 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
17253 CFLAGS
="$CFLAGS -D__sparc64__"
17254 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
17256 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17257 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17258 if ${ac_cv_cpp_def___sparc__+:} false
; then :
17259 $as_echo_n "(cached) " >&6
17261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h. */
17267 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17268 $EGREP "yes" >/dev
/null
2>&1; then :
17269 ac_cv_cpp_def___sparc__
=yes
17271 ac_cv_cpp_def___sparc__
=no
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17277 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17278 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
17279 CFLAGS
="$CFLAGS -D__sparc__"
17280 LINTFLAGS
="$LINTFLAGS -D__sparc__"
17282 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17283 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17284 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
17285 $as_echo_n "(cached) " >&6
17287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17288 /* end confdefs.h. */
17289 #ifndef __powerpc64__
17293 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17294 $EGREP "yes" >/dev
/null
2>&1; then :
17295 ac_cv_cpp_def___powerpc64__
=yes
17297 ac_cv_cpp_def___powerpc64__
=no
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17303 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17304 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
17305 CFLAGS
="$CFLAGS -D__powerpc64__"
17306 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
17308 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17309 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17310 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
17311 $as_echo_n "(cached) " >&6
17313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17314 /* end confdefs.h. */
17315 #ifndef __powerpc__
17319 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17320 $EGREP "yes" >/dev
/null
2>&1; then :
17321 ac_cv_cpp_def___powerpc__
=yes
17323 ac_cv_cpp_def___powerpc__
=no
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17329 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17330 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
17331 CFLAGS
="$CFLAGS -D__powerpc__"
17332 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
17334 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17335 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17336 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
17337 $as_echo_n "(cached) " >&6
17339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17340 /* end confdefs.h. */
17341 #ifndef __aarch64__
17345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17346 $EGREP "yes" >/dev
/null
2>&1; then :
17347 ac_cv_cpp_def___aarch64__
=yes
17349 ac_cv_cpp_def___aarch64__
=no
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17355 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17356 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17357 CFLAGS
="$CFLAGS -D__aarch64__"
17358 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17360 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17361 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17362 if ${ac_cv_cpp_def___arm__+:} false
; then :
17363 $as_echo_n "(cached) " >&6
17365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17366 /* end confdefs.h. */
17371 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17372 $EGREP "yes" >/dev
/null
2>&1; then :
17373 ac_cv_cpp_def___arm__
=yes
17375 ac_cv_cpp_def___arm__
=no
17380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17381 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17382 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17383 CFLAGS
="$CFLAGS -D__arm__"
17384 LINTFLAGS
="$LINTFLAGS -D__arm__"
17388 case $host_vendor in
17389 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17390 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17391 if ${ac_cv_cpp_def___sun__+:} false
; then :
17392 $as_echo_n "(cached) " >&6
17394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17395 /* end confdefs.h. */
17400 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17401 $EGREP "yes" >/dev
/null
2>&1; then :
17402 ac_cv_cpp_def___sun__
=yes
17404 ac_cv_cpp_def___sun__
=no
17409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17410 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17411 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17412 CFLAGS
="$CFLAGS -D__sun__"
17413 LINTFLAGS
="$LINTFLAGS -D__sun__"
17421 ac_config_commands
="$ac_config_commands include/stamp-h"
17423 $as_echo_n "creating Makefile rules..." >&6
17425 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17426 SOCKET_LIBS = $SOCKET_LIBS
17427 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17428 IOKIT_LIBS = $IOKIT_LIBS
17429 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17430 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17431 CORESERVICES_LIBS = $CORESERVICES_LIBS
17432 APPKIT_LIBS = $APPKIT_LIBS
17433 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17434 SECURITY_LIBS = $SECURITY_LIBS
17435 COREAUDIO_LIBS = $COREAUDIO_LIBS
17436 OPENAL_LIBS = $OPENAL_LIBS
17437 OPENCL_LIBS = $OPENCL_LIBS
17438 QUICKTIME_LIBS = $QUICKTIME_LIBS
17439 CARBON_LIBS = $CARBON_LIBS
17440 PTHREAD_LIBS = $PTHREAD_LIBS
17441 X_CFLAGS = $X_CFLAGS
17442 X_PRE_LIBS = $X_PRE_LIBS
17444 X_EXTRA_LIBS = $X_EXTRA_LIBS
17445 PCAP_LIBS = $PCAP_LIBS
17446 XML2_CFLAGS = $XML2_CFLAGS
17447 XML2_LIBS = $XML2_LIBS
17448 XSLT_CFLAGS = $XSLT_CFLAGS
17449 XSLT_LIBS = $XSLT_LIBS
17450 DBUS_CFLAGS = $DBUS_CFLAGS
17451 DBUS_LIBS = $DBUS_LIBS
17452 HAL_CFLAGS = $HAL_CFLAGS
17453 HAL_LIBS = $HAL_LIBS
17454 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17455 GNUTLS_LIBS = $GNUTLS_LIBS
17456 SANE_CFLAGS = $SANE_CFLAGS
17457 SANE_LIBS = $SANE_LIBS
17458 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17459 GPHOTO2_LIBS = $GPHOTO2_LIBS
17460 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17461 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17462 RESOLV_LIBS = $RESOLV_LIBS
17463 LCMS2_CFLAGS = $LCMS2_CFLAGS
17464 LCMS2_LIBS = $LCMS2_LIBS
17465 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17466 FREETYPE_LIBS = $FREETYPE_LIBS
17468 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17469 PULSE_CFLAGS = $PULSE_CFLAGS
17470 PULSE_LIBS = $PULSE_LIBS
17471 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17472 GSTREAMER_LIBS = $GSTREAMER_LIBS
17473 ALSA_LIBS = $ALSA_LIBS
17474 OSS4_CFLAGS = $OSS4_CFLAGS
17475 UDEV_CFLAGS = $UDEV_CFLAGS
17476 UDEV_LIBS = $UDEV_LIBS
17477 CAPI20_CFLAGS = $CAPI20_CFLAGS
17478 CAPI20_LIBS = $CAPI20_LIBS
17479 CUPS_CFLAGS = $CUPS_CFLAGS
17480 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17481 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17482 JPEG_CFLAGS = $JPEG_CFLAGS
17483 JPEG_LIBS = $JPEG_LIBS
17484 PNG_CFLAGS = $PNG_CFLAGS
17485 PNG_LIBS = $PNG_LIBS
17486 TIFF_CFLAGS = $TIFF_CFLAGS
17487 TIFF_LIBS = $TIFF_LIBS
17488 MPG123_CFLAGS = $MPG123_CFLAGS
17489 MPG123_LIBS = $MPG123_LIBS
17490 KSTAT_LIBS = $KSTAT_LIBS
17491 PROCSTAT_LIBS = $PROCSTAT_LIBS
17492 NETAPI_CFLAGS = $NETAPI_CFLAGS
17493 NETAPI_LIBS = $NETAPI_LIBS
17494 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17496 POLL_LIBS = $POLL_LIBS
17498 LDAP_LIBS = $LDAP_LIBS
17503 wine_fn_append_rule
"
17504 # Rules automatically generated by configure
17506 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17511 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17512 @./config.status Make.tmp Makefile
17513 depend: \$(MAKEDEP) dummy
17516 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17517 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17519 if test "x$enable_fonts" != xno
; then
17520 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17521 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17522 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17523 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17524 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17525 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17527 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17528 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17529 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17530 wine_fn_config_symlink wine
17531 if test "x$enable_win64" != xno
; then
17532 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17533 wine_fn_config_symlink wine64
17536 wine_fn_config_dll acledit enable_acledit
17537 wine_fn_config_dll aclui enable_aclui implib
17538 wine_fn_config_dll activeds enable_activeds implib
17539 wine_fn_config_dll actxprxy enable_actxprxy clean
17540 wine_fn_config_lib adsiid
17541 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17542 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17543 wine_fn_config_dll advpack enable_advpack implib
17544 wine_fn_config_test dlls
/advpack
/tests advpack_test
17545 wine_fn_config_dll amstream enable_amstream clean
17546 wine_fn_config_test dlls
/amstream
/tests amstream_test
17547 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17548 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17549 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17550 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17551 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17552 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17553 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17554 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17555 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17556 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17557 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17558 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17559 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17560 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17561 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17562 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17563 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17564 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17565 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17566 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17567 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17568 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17569 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17570 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17571 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17572 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17573 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17574 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17575 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17576 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17577 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17578 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17579 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17580 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17581 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17582 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17583 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17584 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17585 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17586 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17587 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17588 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17590 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17591 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17592 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17594 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17595 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17596 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17597 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17598 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17599 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17600 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17601 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17602 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17603 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17604 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17605 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17606 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17607 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17608 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17609 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17610 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17611 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17613 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17614 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17616 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17619 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17620 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17622 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17623 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17624 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17625 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17626 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17627 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17628 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17629 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17630 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17634 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17635 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17638 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17639 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17643 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17644 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17645 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17646 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17647 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17648 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17649 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17650 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17651 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17652 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17653 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17654 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17655 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17656 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17657 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17658 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17659 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17660 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17661 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17662 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17663 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17664 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17665 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17666 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17667 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17668 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17669 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17670 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17671 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17672 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17673 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17674 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17675 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17676 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17677 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17678 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17679 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17680 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17681 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17682 wine_fn_config_dll apphelp enable_apphelp
17683 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17684 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17685 wine_fn_config_dll atl enable_atl clean
,implib
17686 wine_fn_config_test dlls
/atl
/tests atl_test
17687 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17688 wine_fn_config_test dlls
/atl100
/tests atl100_test
17689 wine_fn_config_dll atl110 enable_atl110 clean
17690 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17691 wine_fn_config_test dlls
/atl80
/tests atl80_test
17692 wine_fn_config_dll atl90 enable_atl90 clean
17693 wine_fn_config_dll authz enable_authz
17694 wine_fn_config_dll avicap32 enable_avicap32 implib
17695 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
17696 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17697 wine_fn_config_dll avifile.dll16 enable_win16
17698 wine_fn_config_dll avrt enable_avrt implib
17699 wine_fn_config_dll bcrypt enable_bcrypt implib
17700 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17701 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17702 wine_fn_config_dll browseui enable_browseui clean
17703 wine_fn_config_test dlls
/browseui
/tests browseui_test
17704 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17705 wine_fn_config_dll cabinet enable_cabinet implib
17706 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17707 wine_fn_config_dll capi2032 enable_capi2032 implib
17708 wine_fn_config_dll cards enable_cards implib
17709 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17710 wine_fn_config_dll clusapi enable_clusapi implib
17711 wine_fn_config_dll combase enable_combase
17712 wine_fn_config_test dlls
/combase
/tests combase_test
17713 wine_fn_config_dll comcat enable_comcat
17714 wine_fn_config_test dlls
/comcat
/tests comcat_test
17715 wine_fn_config_dll comctl32 enable_comctl32 clean
,implib
17716 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17717 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
17718 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17719 wine_fn_config_dll
comm.drv16 enable_win16
17720 wine_fn_config_dll commdlg.dll16 enable_win16
17721 wine_fn_config_dll compobj.dll16 enable_win16
17722 wine_fn_config_dll compstui enable_compstui implib
17723 wine_fn_config_dll comsvcs enable_comsvcs implib
17724 wine_fn_config_dll concrt140 enable_concrt140
17725 wine_fn_config_dll connect enable_connect
17726 wine_fn_config_dll credui enable_credui clean
,implib
17727 wine_fn_config_test dlls
/credui
/tests credui_test
17728 wine_fn_config_dll crtdll enable_crtdll
17729 wine_fn_config_dll crypt32 enable_crypt32 clean
,implib
17730 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17731 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17732 wine_fn_config_dll cryptdll enable_cryptdll implib
17733 wine_fn_config_dll cryptext enable_cryptext
17734 wine_fn_config_dll cryptnet enable_cryptnet implib
17735 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17736 wine_fn_config_dll cryptui enable_cryptui clean
,implib
17737 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17738 wine_fn_config_dll ctapi32 enable_ctapi32
17739 wine_fn_config_dll ctl3d.dll16 enable_win16
17740 wine_fn_config_dll ctl3d32 enable_ctl3d32
17741 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17742 wine_fn_config_dll d2d1 enable_d2d1 implib
17743 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17744 wine_fn_config_dll d3d10 enable_d3d10 implib
17745 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17746 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17747 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
17748 wine_fn_config_dll d3d10core enable_d3d10core implib
17749 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17750 wine_fn_config_dll d3d11 enable_d3d11 implib
17751 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17752 wine_fn_config_dll d3d8 enable_d3d8 implib
17753 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17754 wine_fn_config_dll d3d9 enable_d3d9 implib
17755 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17756 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17757 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17758 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17759 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17760 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17761 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17762 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17763 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17764 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17765 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17766 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17767 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17768 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17769 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17770 wine_fn_config_dll d3dim enable_d3dim
17771 wine_fn_config_dll d3drm enable_d3drm implib
17772 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17773 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17774 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17775 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17776 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17777 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17778 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17779 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17780 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17781 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17782 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17783 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17784 wine_fn_config_test dlls
/d3dx10_43
/tests d3dx10_43_test
17785 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17786 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17787 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17788 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17789 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17790 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17791 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17792 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17793 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17794 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17795 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17796 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17797 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17798 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17799 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17800 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17801 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17802 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17803 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17804 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17805 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17806 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17807 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17808 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17809 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17810 wine_fn_config_dll davclnt enable_davclnt
17811 wine_fn_config_dll dbgeng enable_dbgeng implib
17812 wine_fn_config_dll dbghelp enable_dbghelp implib
17813 wine_fn_config_dll dciman32 enable_dciman32 implib
17814 wine_fn_config_dll ddeml.dll16 enable_win16
17815 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17816 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17817 wine_fn_config_dll ddrawex enable_ddrawex clean
17818 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17819 wine_fn_config_dll devenum enable_devenum clean
17820 wine_fn_config_test dlls
/devenum
/tests devenum_test
17821 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17822 wine_fn_config_dll difxapi enable_difxapi
17823 wine_fn_config_dll dinput enable_dinput clean
,implib
,staticimplib
17824 wine_fn_config_test dlls
/dinput
/tests dinput_test
17825 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17826 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17827 wine_fn_config_dll dispdib.dll16 enable_win16
17828 wine_fn_config_dll dispex enable_dispex clean
17829 wine_fn_config_test dlls
/dispex
/tests dispex_test
17830 wine_fn_config_dll display.drv16 enable_win16
17831 wine_fn_config_dll dmband enable_dmband clean
17832 wine_fn_config_test dlls
/dmband
/tests dmband_test
17833 wine_fn_config_dll dmcompos enable_dmcompos clean
17834 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17835 wine_fn_config_dll dmime enable_dmime clean
17836 wine_fn_config_test dlls
/dmime
/tests dmime_test
17837 wine_fn_config_dll dmloader enable_dmloader clean
17838 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17839 wine_fn_config_dll dmscript enable_dmscript clean
17840 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17841 wine_fn_config_dll dmstyle enable_dmstyle clean
17842 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17843 wine_fn_config_dll dmsynth enable_dmsynth clean
17844 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17845 wine_fn_config_dll dmusic enable_dmusic clean
17846 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17847 wine_fn_config_dll dmusic32 enable_dmusic32
17848 wine_fn_config_dll dnsapi enable_dnsapi implib
17849 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17850 wine_fn_config_dll dplay enable_dplay
17851 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17852 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17853 wine_fn_config_dll dpnaddr enable_dpnaddr
17854 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17855 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17856 wine_fn_config_dll dpnhpast enable_dpnhpast
17857 wine_fn_config_dll dpnlobby enable_dpnlobby
17858 wine_fn_config_dll dpvoice enable_dpvoice clean
17859 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17860 wine_fn_config_dll dpwsockx enable_dpwsockx
17861 wine_fn_config_dll drmclien enable_drmclien
17862 wine_fn_config_dll dsound enable_dsound clean
,implib
17863 wine_fn_config_test dlls
/dsound
/tests dsound_test
17864 wine_fn_config_dll dssenh enable_dssenh
17865 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17866 wine_fn_config_dll dswave enable_dswave clean
17867 wine_fn_config_test dlls
/dswave
/tests dswave_test
17868 wine_fn_config_dll dwmapi enable_dwmapi implib
17869 wine_fn_config_dll dwrite enable_dwrite implib
17870 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17871 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17872 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17873 wine_fn_config_lib dxerr8
17874 wine_fn_config_lib dxerr9
17875 wine_fn_config_dll dxgi enable_dxgi implib
17876 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17877 wine_fn_config_lib dxguid
17878 wine_fn_config_dll dxva2 enable_dxva2
17879 wine_fn_config_dll esent enable_esent
17880 wine_fn_config_dll evr enable_evr
17881 wine_fn_config_dll explorerframe enable_explorerframe clean
17882 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17883 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17884 wine_fn_config_dll faultrep enable_faultrep implib
17885 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17886 wine_fn_config_dll fltlib enable_fltlib
17887 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17888 wine_fn_config_dll fntcache enable_fntcache
17889 wine_fn_config_dll fontsub enable_fontsub
17890 wine_fn_config_dll fusion enable_fusion
17891 wine_fn_config_test dlls
/fusion
/tests fusion_test
17892 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17893 wine_fn_config_dll gameux enable_gameux clean
17894 wine_fn_config_test dlls
/gameux
/tests gameux_test
17895 wine_fn_config_dll gdi.exe16 enable_win16
17896 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
17897 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17898 wine_fn_config_dll gdiplus enable_gdiplus implib
17899 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17900 wine_fn_config_dll glu32 enable_glu32 implib
17901 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17902 wine_fn_config_dll gpkcsp enable_gpkcsp
17903 wine_fn_config_dll hal enable_hal
17904 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib htmlhelp
17905 wine_fn_config_dll hid enable_hid implib
17906 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17907 wine_fn_config_dll hlink enable_hlink clean
,implib
17908 wine_fn_config_test dlls
/hlink
/tests hlink_test
17909 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17910 wine_fn_config_test dlls
/hnetcfg
/tests hnetcfg_test
17911 wine_fn_config_dll httpapi enable_httpapi
17912 wine_fn_config_dll iccvid enable_iccvid clean
17913 wine_fn_config_dll icmp enable_icmp
17914 wine_fn_config_dll ieframe enable_ieframe clean
,implib
17915 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17916 wine_fn_config_dll ifsmgr.vxd enable_win16
17917 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17918 wine_fn_config_dll imagehlp enable_imagehlp implib
17919 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17920 wine_fn_config_dll imm.dll16 enable_win16
17921 wine_fn_config_dll imm32 enable_imm32 implib
17922 wine_fn_config_test dlls
/imm32
/tests imm32_test
17923 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17924 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17925 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17926 wine_fn_config_dll inetmib1 enable_inetmib1
17927 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17928 wine_fn_config_dll infosoft enable_infosoft clean
17929 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17930 wine_fn_config_dll initpki enable_initpki
17931 wine_fn_config_dll inkobj enable_inkobj
17932 wine_fn_config_dll inseng enable_inseng clean
17933 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17934 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17935 wine_fn_config_dll iprop enable_iprop
17936 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17937 wine_fn_config_dll itircl enable_itircl
17938 wine_fn_config_dll itss enable_itss clean
17939 wine_fn_config_test dlls
/itss
/tests itss_test
17940 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17941 wine_fn_config_dll jscript enable_jscript clean
17942 wine_fn_config_test dlls
/jscript
/tests jscript_test
17943 wine_fn_config_dll jsproxy enable_jsproxy implib
17944 wine_fn_config_test dlls
/jsproxy
/tests jsproxy_test
17945 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
17946 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17947 wine_fn_config_dll kernelbase enable_kernelbase
17948 wine_fn_config_dll keyboard.drv16 enable_win16
17949 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17950 wine_fn_config_dll ksuser enable_ksuser
17951 wine_fn_config_dll ktmw32 enable_ktmw32
17952 wine_fn_config_dll loadperf enable_loadperf implib
17953 wine_fn_config_dll localspl enable_localspl clean
17954 wine_fn_config_test dlls
/localspl
/tests localspl_test
17955 wine_fn_config_dll localui enable_localui clean
17956 wine_fn_config_test dlls
/localui
/tests localui_test
17957 wine_fn_config_dll lz32 enable_lz32 implib
17958 wine_fn_config_test dlls
/lz32
/tests lz32_test
17959 wine_fn_config_dll lzexpand.dll16 enable_win16
17960 wine_fn_config_dll mapi32 enable_mapi32 clean
,implib
17961 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17962 wine_fn_config_dll mapistub enable_mapistub
17963 wine_fn_config_dll mciavi32 enable_mciavi32
17964 wine_fn_config_dll mcicda enable_mcicda
17965 wine_fn_config_dll mciqtz32 enable_mciqtz32
17966 wine_fn_config_dll mciseq enable_mciseq
17967 wine_fn_config_dll mciwave enable_mciwave
17968 wine_fn_config_dll mf enable_mf
17969 wine_fn_config_dll mfplat enable_mfplat
17970 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17971 wine_fn_config_dll mgmtapi enable_mgmtapi
17972 wine_fn_config_dll midimap enable_midimap
17973 wine_fn_config_dll mlang enable_mlang clean
,implib
17974 wine_fn_config_test dlls
/mlang
/tests mlang_test
17975 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17976 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17977 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17978 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17979 wine_fn_config_dll mmdevldr.vxd enable_win16
17980 wine_fn_config_dll mmsystem.dll16 enable_win16
17981 wine_fn_config_dll monodebg.vxd enable_win16
17982 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17983 wine_fn_config_dll mouse.drv16 enable_win16
17984 wine_fn_config_dll mpr enable_mpr clean
,implib
17985 wine_fn_config_test dlls
/mpr
/tests mpr_test
17986 wine_fn_config_dll mprapi enable_mprapi implib
17987 wine_fn_config_dll msacm.dll16 enable_win16
17988 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17989 wine_fn_config_dll msacm32 enable_msacm32 clean
,implib
17990 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17991 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17992 wine_fn_config_dll msasn1 enable_msasn1 implib
17993 wine_fn_config_dll mscat32 enable_mscat32
17994 wine_fn_config_dll mscms enable_mscms implib
17995 wine_fn_config_test dlls
/mscms
/tests mscms_test
17996 wine_fn_config_dll mscoree enable_mscoree clean
17997 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17998 wine_fn_config_dll msctf enable_msctf clean
17999 wine_fn_config_test dlls
/msctf
/tests msctf_test
18000 wine_fn_config_dll msctfp enable_msctfp clean
18001 wine_fn_config_dll msdaps enable_msdaps clean
18002 wine_fn_config_dll msdelta enable_msdelta
18003 wine_fn_config_dll msdmo enable_msdmo implib
18004 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
18005 wine_fn_config_dll msdrm enable_msdrm
18006 wine_fn_config_dll msftedit enable_msftedit
18007 wine_fn_config_dll msg711.acm enable_msg711_acm
18008 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18009 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18010 wine_fn_config_dll mshtml enable_mshtml clean
,implib
18011 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
18012 wine_fn_config_dll msi enable_msi clean
,implib
18013 wine_fn_config_test dlls
/msi
/tests msi_test
18014 wine_fn_config_dll msident enable_msident clean
18015 wine_fn_config_dll msimg32 enable_msimg32 implib
18016 wine_fn_config_dll msimsg enable_msimsg
18017 wine_fn_config_dll msimtf enable_msimtf clean
18018 wine_fn_config_dll msisip enable_msisip
18019 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18020 wine_fn_config_dll msls31 enable_msls31
18021 wine_fn_config_dll msnet32 enable_msnet32
18022 wine_fn_config_dll mspatcha enable_mspatcha implib
18023 wine_fn_config_dll msports enable_msports
18024 wine_fn_config_dll msrle32 enable_msrle32 clean
18025 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
18026 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18027 wine_fn_config_test dlls
/msscript.ocx
/tests msscript.ocx_test clean
18028 wine_fn_config_dll mssign32 enable_mssign32
18029 wine_fn_config_dll mssip32 enable_mssip32
18030 wine_fn_config_dll mstask enable_mstask clean
18031 wine_fn_config_test dlls
/mstask
/tests mstask_test
18032 wine_fn_config_dll msvcirt enable_msvcirt
18033 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
18034 wine_fn_config_dll msvcm80 enable_msvcm80
18035 wine_fn_config_dll msvcm90 enable_msvcm90
18036 wine_fn_config_dll msvcp100 enable_msvcp100
18037 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
18038 wine_fn_config_dll msvcp110 enable_msvcp110
18039 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
18040 wine_fn_config_dll msvcp120 enable_msvcp120
18041 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
18042 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18043 wine_fn_config_dll msvcp140 enable_msvcp140
18044 wine_fn_config_test dlls
/msvcp140
/tests msvcp140_test
18045 wine_fn_config_dll msvcp60 enable_msvcp60
18046 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
18047 wine_fn_config_dll msvcp70 enable_msvcp70
18048 wine_fn_config_dll msvcp71 enable_msvcp71
18049 wine_fn_config_dll msvcp80 enable_msvcp80
18050 wine_fn_config_dll msvcp90 enable_msvcp90
18051 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
18052 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18053 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
18054 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18055 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18056 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
18057 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18058 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18059 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18060 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18061 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18062 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
18063 wine_fn_config_dll msvcrt enable_msvcrt implib
18064 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
18065 wine_fn_config_dll msvcrt20 enable_msvcrt20
18066 wine_fn_config_dll msvcrt40 enable_msvcrt40
18067 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18068 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
18069 wine_fn_config_dll msvfw32 enable_msvfw32 clean
,implib
18070 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
18071 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18072 wine_fn_config_dll msvideo.dll16 enable_win16
18073 wine_fn_config_dll mswsock enable_mswsock implib
18074 wine_fn_config_dll msxml enable_msxml clean
18075 wine_fn_config_dll msxml2 enable_msxml2 clean
18076 wine_fn_config_dll msxml3 enable_msxml3 clean
18077 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
18078 wine_fn_config_dll msxml4 enable_msxml4 clean
18079 wine_fn_config_dll msxml6 enable_msxml6 clean
18080 wine_fn_config_dll ncrypt enable_ncrypt
18081 wine_fn_config_dll nddeapi enable_nddeapi implib
18082 wine_fn_config_dll ndis.sys enable_ndis_sys
18083 wine_fn_config_dll netapi32 enable_netapi32 implib
18084 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
18085 wine_fn_config_dll netcfgx enable_netcfgx clean
18086 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
18087 wine_fn_config_dll netprofm enable_netprofm clean
18088 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
18089 wine_fn_config_dll newdev enable_newdev implib
18090 wine_fn_config_dll normaliz enable_normaliz implib
18091 wine_fn_config_dll npmshtml enable_npmshtml
18092 wine_fn_config_dll npptools enable_npptools
18093 wine_fn_config_dll ntdll enable_ntdll implib
18094 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
18095 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18096 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
18097 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18098 wine_fn_config_dll ntprint enable_ntprint
18099 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
18100 wine_fn_config_dll objsel enable_objsel clean
18101 wine_fn_config_dll odbc32 enable_odbc32 implib
18102 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18103 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
18104 wine_fn_config_dll odbccu32 enable_odbccu32
18105 wine_fn_config_dll ole2.dll16 enable_win16
18106 wine_fn_config_dll ole2conv.dll16 enable_win16
18107 wine_fn_config_dll ole2disp.dll16 enable_win16
18108 wine_fn_config_dll ole2nls.dll16 enable_win16
18109 wine_fn_config_dll ole2prox.dll16 enable_win16
18110 wine_fn_config_dll ole2thk.dll16 enable_win16
18111 wine_fn_config_dll ole32 enable_ole32 clean
,implib
18112 wine_fn_config_test dlls
/ole32
/tests ole32_test
18113 wine_fn_config_dll oleacc enable_oleacc clean
,implib
18114 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
18115 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
18116 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
18117 wine_fn_config_dll olecli.dll16 enable_win16
18118 wine_fn_config_dll olecli32 enable_olecli32 implib
18119 wine_fn_config_dll oledb32 enable_oledb32 clean
18120 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
18121 wine_fn_config_dll oledlg enable_oledlg clean
,implib
18122 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
18123 wine_fn_config_dll olepro32 enable_olepro32 clean
,implib
18124 wine_fn_config_dll olesvr.dll16 enable_win16
18125 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18126 wine_fn_config_dll olethk32 enable_olethk32
18127 wine_fn_config_dll openal32 enable_openal32
18128 wine_fn_config_dll opencl enable_opencl
18129 wine_fn_config_dll opengl32 enable_opengl32 implib
18130 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
18131 wine_fn_config_dll packager enable_packager clean
18132 wine_fn_config_test dlls
/packager
/tests packager_test
18133 wine_fn_config_dll pdh enable_pdh implib
18134 wine_fn_config_test dlls
/pdh
/tests pdh_test
18135 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18136 wine_fn_config_dll pidgen enable_pidgen
18137 wine_fn_config_dll powrprof enable_powrprof implib
18138 wine_fn_config_dll printui enable_printui
18139 wine_fn_config_dll prntvpt enable_prntvpt
18140 wine_fn_config_dll propsys enable_propsys clean
,implib
18141 wine_fn_config_test dlls
/propsys
/tests propsys_test
18142 wine_fn_config_dll psapi enable_psapi implib
18143 wine_fn_config_test dlls
/psapi
/tests psapi_test
18144 wine_fn_config_dll pstorec enable_pstorec clean
18145 wine_fn_config_dll qcap enable_qcap
18146 wine_fn_config_test dlls
/qcap
/tests qcap_test
18147 wine_fn_config_dll qedit enable_qedit clean
18148 wine_fn_config_test dlls
/qedit
/tests qedit_test
18149 wine_fn_config_dll qmgr enable_qmgr clean
18150 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
18151 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18152 wine_fn_config_dll quartz enable_quartz clean
,implib
18153 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
18154 wine_fn_config_dll query enable_query
18155 wine_fn_config_dll rasapi16.dll16 enable_win16
18156 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18157 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
18158 wine_fn_config_dll rasdlg enable_rasdlg implib
18159 wine_fn_config_dll regapi enable_regapi
18160 wine_fn_config_dll resutils enable_resutils implib
18161 wine_fn_config_dll riched20 enable_riched20 clean
,implib
18162 wine_fn_config_test dlls
/riched20
/tests riched20_test
18163 wine_fn_config_dll riched32 enable_riched32
18164 wine_fn_config_test dlls
/riched32
/tests riched32_test
18165 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
18166 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
18167 wine_fn_config_dll rsabase enable_rsabase
18168 wine_fn_config_dll rsaenh enable_rsaenh implib
18169 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
18170 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18171 wine_fn_config_dll rtutils enable_rtutils implib
18172 wine_fn_config_dll samlib enable_samlib
18173 wine_fn_config_dll sane.ds enable_sane_ds clean
18174 wine_fn_config_dll scarddlg enable_scarddlg
18175 wine_fn_config_dll sccbase enable_sccbase
18176 wine_fn_config_dll schannel enable_schannel
18177 wine_fn_config_test dlls
/schannel
/tests schannel_test
18178 wine_fn_config_dll schedsvc enable_schedsvc clean
18179 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
18180 wine_fn_config_dll scrrun enable_scrrun clean
18181 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
18182 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18183 wine_fn_config_dll secur32 enable_secur32 implib
18184 wine_fn_config_test dlls
/secur32
/tests secur32_test
18185 wine_fn_config_dll security enable_security
18186 wine_fn_config_dll sensapi enable_sensapi implib
18187 wine_fn_config_dll serialui enable_serialui clean
18188 wine_fn_config_test dlls
/serialui
/tests serialui_test
18189 wine_fn_config_dll setupapi enable_setupapi clean
,implib
18190 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
18191 wine_fn_config_dll setupx.dll16 enable_win16
18192 wine_fn_config_dll sfc enable_sfc implib
18193 wine_fn_config_dll sfc_os enable_sfc_os implib
18194 wine_fn_config_dll shdoclc enable_shdoclc clean
18195 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
18196 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
18197 wine_fn_config_dll shell.dll16 enable_win16
18198 wine_fn_config_dll shell32 enable_shell32 clean
,implib
18199 wine_fn_config_test dlls
/shell32
/tests shell32_test
18200 wine_fn_config_dll shfolder enable_shfolder implib
18201 wine_fn_config_dll shlwapi enable_shlwapi clean
,implib
18202 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
18203 wine_fn_config_dll slbcsp enable_slbcsp
18204 wine_fn_config_dll slc enable_slc implib
18205 wine_fn_config_test dlls
/slc
/tests slc_test
18206 wine_fn_config_dll snmpapi enable_snmpapi implib
18207 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
18208 wine_fn_config_dll softpub enable_softpub
18209 wine_fn_config_dll sound.drv16 enable_win16
18210 wine_fn_config_dll spoolss enable_spoolss implib
18211 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
18212 wine_fn_config_dll sspicli enable_sspicli
18213 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18214 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18215 wine_fn_config_dll sti enable_sti clean
,implib
18216 wine_fn_config_test dlls
/sti
/tests sti_test
18217 wine_fn_config_dll storage.dll16 enable_win16
18218 wine_fn_config_dll stress.dll16 enable_win16
18219 wine_fn_config_lib strmbase
18220 wine_fn_config_lib strmiids
18221 wine_fn_config_dll svrapi enable_svrapi
18222 wine_fn_config_dll sxs enable_sxs implib
18223 wine_fn_config_test dlls
/sxs
/tests sxs_test
18224 wine_fn_config_dll system.drv16 enable_win16
18225 wine_fn_config_dll t2embed enable_t2embed implib
18226 wine_fn_config_test dlls
/t2embed
/tests t2embed_test
18227 wine_fn_config_dll tapi32 enable_tapi32 implib
18228 wine_fn_config_dll taskschd enable_taskschd clean
18229 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
18230 wine_fn_config_dll tdi.sys enable_tdi_sys
18231 wine_fn_config_dll toolhelp.dll16 enable_win16
18232 wine_fn_config_dll traffic enable_traffic
18233 wine_fn_config_dll twain.dll16 enable_win16
18234 wine_fn_config_dll twain_32 enable_twain_32
18235 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
18236 wine_fn_config_dll typelib.dll16 enable_win16
18237 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18238 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
18239 wine_fn_config_dll unicows enable_unicows implib
18240 wine_fn_config_dll updspapi enable_updspapi
18241 wine_fn_config_dll url enable_url implib
18242 wine_fn_config_dll urlmon enable_urlmon clean
,implib
18243 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
18244 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18245 wine_fn_config_dll user.exe16 enable_win16
18246 wine_fn_config_dll user32 enable_user32 clean
,implib
18247 wine_fn_config_test dlls
/user32
/tests user32_test
18248 wine_fn_config_dll userenv enable_userenv implib
18249 wine_fn_config_test dlls
/userenv
/tests userenv_test
18250 wine_fn_config_dll usp10 enable_usp10 implib
18251 wine_fn_config_test dlls
/usp10
/tests usp10_test
18252 wine_fn_config_lib uuid
18253 wine_fn_config_dll uxtheme enable_uxtheme implib
18254 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
18255 wine_fn_config_dll vbscript enable_vbscript clean
18256 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
18257 wine_fn_config_dll vcomp enable_vcomp
18258 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
18259 wine_fn_config_dll vcomp100 enable_vcomp100
18260 wine_fn_config_dll vcomp110 enable_vcomp110
18261 wine_fn_config_dll vcomp120 enable_vcomp120
18262 wine_fn_config_dll vcomp140 enable_vcomp140
18263 wine_fn_config_dll vcomp90 enable_vcomp90
18264 wine_fn_config_dll vcruntime140 enable_vcruntime140
18265 wine_fn_config_dll vdhcp.vxd enable_win16
18266 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18267 wine_fn_config_dll ver.dll16 enable_win16
18268 wine_fn_config_dll version enable_version implib
18269 wine_fn_config_test dlls
/version
/tests version_test
18270 wine_fn_config_dll vmm.vxd enable_win16
18271 wine_fn_config_dll vnbt.vxd enable_win16
18272 wine_fn_config_dll vnetbios.vxd enable_win16
18273 wine_fn_config_dll vssapi enable_vssapi
18274 wine_fn_config_dll vtdapi.vxd enable_win16
18275 wine_fn_config_dll vwin32.vxd enable_win16
18276 wine_fn_config_dll w32skrnl enable_win16
18277 wine_fn_config_dll w32sys.dll16 enable_win16
18278 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18279 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
18280 wine_fn_config_dll wbemprox enable_wbemprox clean
18281 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
18282 wine_fn_config_dll webservices enable_webservices implib
18283 wine_fn_config_test dlls
/webservices
/tests webservices_test
18284 wine_fn_config_dll wer enable_wer implib
18285 wine_fn_config_test dlls
/wer
/tests wer_test
18286 wine_fn_config_dll wevtapi enable_wevtapi
18287 wine_fn_config_dll wiaservc enable_wiaservc clean
18288 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
18289 wine_fn_config_dll wimgapi enable_wimgapi
18290 wine_fn_config_dll win32s16.dll16 enable_win16
18291 wine_fn_config_dll win87em.dll16 enable_win16
18292 wine_fn_config_dll winaspi.dll16 enable_win16
18293 wine_fn_config_dll windebug.dll16 enable_win16
18294 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
18295 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
18296 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18297 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
18298 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18299 wine_fn_config_dll winebus.sys enable_winebus_sys
18300 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18301 wine_fn_config_lib winecrt0
18302 wine_fn_config_dll wined3d enable_wined3d implib
18303 wine_fn_config_dll winegstreamer enable_winegstreamer
18304 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18305 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18306 wine_fn_config_dll winemapi enable_winemapi
18307 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18308 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18309 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18310 wine_fn_config_dll wineps16.drv16 enable_win16
18311 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18312 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18313 wine_fn_config_dll winex11.drv enable_winex11_drv
18314 wine_fn_config_dll wing.dll16 enable_win16
18315 wine_fn_config_dll wing32 enable_wing32
18316 wine_fn_config_dll winhttp enable_winhttp clean
,implib
18317 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
18318 wine_fn_config_dll wininet enable_wininet clean
,implib
18319 wine_fn_config_test dlls
/wininet
/tests wininet_test
18320 wine_fn_config_dll winmm enable_winmm clean
,implib
18321 wine_fn_config_test dlls
/winmm
/tests winmm_test
18322 wine_fn_config_dll winnls.dll16 enable_win16
18323 wine_fn_config_dll winnls32 enable_winnls32 implib
18324 wine_fn_config_dll winscard enable_winscard implib
18325 wine_fn_config_dll winsock.dll16 enable_win16
18326 wine_fn_config_dll winspool.drv enable_winspool_drv clean
,implib winspool
18327 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
18328 wine_fn_config_dll winsta enable_winsta
18329 wine_fn_config_dll wintab.dll16 enable_win16
18330 wine_fn_config_dll wintab32 enable_wintab32 implib
18331 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
18332 wine_fn_config_dll wintrust enable_wintrust implib
18333 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
18334 wine_fn_config_dll wlanapi enable_wlanapi
18335 wine_fn_config_dll wldap32 enable_wldap32 clean
,implib
18336 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
18337 wine_fn_config_dll wmasf enable_wmasf
18338 wine_fn_config_dll wmi enable_wmi
18339 wine_fn_config_dll wmiutils enable_wmiutils clean
18340 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
18341 wine_fn_config_dll wmp enable_wmp clean
18342 wine_fn_config_test dlls
/wmp
/tests wmp_test
18343 wine_fn_config_dll wmvcore enable_wmvcore
18344 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18345 wine_fn_config_dll wow32 enable_win16 implib
18346 wine_fn_config_dll wpc enable_wpc clean
18347 wine_fn_config_test dlls
/wpc
/tests wpc_test
18348 wine_fn_config_dll wpcap enable_wpcap
18349 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18350 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
18351 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18352 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
18353 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18354 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
18355 wine_fn_config_dll wsock32 enable_wsock32 implib
18356 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18357 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
18358 wine_fn_config_dll wuapi enable_wuapi clean
18359 wine_fn_config_dll wuaueng enable_wuaueng
18360 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18361 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18362 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18363 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18364 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18365 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18366 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18367 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18368 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18369 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18370 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18371 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18372 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18373 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18374 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18375 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18376 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18377 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18378 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18379 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18380 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18381 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
18382 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18383 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18384 wine_fn_config_dll xinput1_1 enable_xinput1_1
18385 wine_fn_config_dll xinput1_2 enable_xinput1_2
18386 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18387 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
18388 wine_fn_config_dll xinput1_4 enable_xinput1_4
18389 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18390 wine_fn_config_dll xmllite enable_xmllite implib
18391 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
18392 wine_fn_config_dll xolehlp enable_xolehlp
18393 wine_fn_config_dll xpsprint enable_xpsprint
18394 wine_fn_config_dll xpssvcs enable_xpssvcs
18395 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
18396 wine_fn_config_makefile include enable_include clean
,install-dev
18397 wine_fn_config_makefile libs
/port enable_libs_port
18398 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,implib
,install-dev
,install-lib
18399 wine_fn_config_makefile libs
/wpp enable_libs_wpp
18400 wine_fn_config_makefile loader enable_loader clean
,install-lib
18401 wine_fn_config_makefile po enable_po clean
18402 wine_fn_config_program arp enable_arp
install
18403 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
18404 wine_fn_config_program attrib enable_attrib clean
,install
18405 wine_fn_config_program cabarc enable_cabarc
install
18406 wine_fn_config_program cacls enable_cacls
install
18407 wine_fn_config_program
clock enable_clock clean
,install
18408 wine_fn_config_program cmd enable_cmd clean
,install
18409 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
18410 wine_fn_config_program conhost enable_conhost
install
18411 wine_fn_config_program control enable_control
install
18412 wine_fn_config_program cscript enable_cscript clean
,install
18413 wine_fn_config_program dpnsvr enable_dpnsvr
install
18414 wine_fn_config_program dxdiag enable_dxdiag clean
,install
18415 wine_fn_config_program eject enable_eject
install
18416 wine_fn_config_program
expand enable_expand
install
18417 wine_fn_config_program explorer enable_explorer clean
,install
18418 wine_fn_config_program extrac32 enable_extrac32
install
18419 wine_fn_config_program findstr enable_findstr
install
18420 wine_fn_config_program fsutil enable_fsutil
install
18421 wine_fn_config_program hh enable_hh
install
18422 wine_fn_config_program hostname enable_hostname clean
,install
18423 wine_fn_config_program icacls enable_icacls
install
18424 wine_fn_config_program icinfo enable_icinfo
install
18425 wine_fn_config_program iexplore enable_iexplore
install
18426 wine_fn_config_program ipconfig enable_ipconfig clean
,install
18427 wine_fn_config_program lodctr enable_lodctr
install
18428 wine_fn_config_program mofcomp enable_mofcomp
install
18429 wine_fn_config_program mshta enable_mshta
install
18430 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18431 wine_fn_config_program msinfo32 enable_msinfo32
install
18432 wine_fn_config_program net enable_net clean
,install
18433 wine_fn_config_program netsh enable_netsh
install
18434 wine_fn_config_program netstat enable_netstat clean
,install
18435 wine_fn_config_program ngen enable_ngen
install
18436 wine_fn_config_program notepad enable_notepad clean
,install,installbin
,manpage
18437 wine_fn_config_program oleview enable_oleview clean
,install
18438 wine_fn_config_program
ping enable_ping
install
18439 wine_fn_config_program plugplay enable_plugplay
install
18440 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18441 wine_fn_config_program progman enable_progman clean
,install
18442 wine_fn_config_program reg enable_reg clean
,install
18443 wine_fn_config_test programs
/reg
/tests reg.exe_test
18444 wine_fn_config_program regasm enable_regasm
install
18445 wine_fn_config_program regedit enable_regedit clean
,install,installbin
,manpage
18446 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18447 wine_fn_config_program regsvcs enable_regsvcs
install
18448 wine_fn_config_program regsvr32 enable_regsvr32 clean
,install,installbin
,manpage
18449 wine_fn_config_program rpcss enable_rpcss clean
,install
18450 wine_fn_config_program rundll.exe16 enable_win16
install
18451 wine_fn_config_program rundll32 enable_rundll32
install
18452 wine_fn_config_program sc enable_sc
install
18453 wine_fn_config_program schtasks enable_schtasks
install
18454 wine_fn_config_program sdbinst enable_sdbinst
install
18455 wine_fn_config_program secedit enable_secedit
install
18456 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18457 wine_fn_config_program services enable_services clean
,install
18458 wine_fn_config_test programs
/services
/tests services.exe_test
18459 wine_fn_config_program shutdown enable_shutdown
install
18460 wine_fn_config_program spoolsv enable_spoolsv
install
18461 wine_fn_config_program start enable_start clean
,install
18462 wine_fn_config_program svchost enable_svchost
install
18463 wine_fn_config_program systeminfo enable_systeminfo
install
18464 wine_fn_config_program taskkill enable_taskkill clean
,install
18465 wine_fn_config_program tasklist enable_tasklist
install
18466 wine_fn_config_program taskmgr enable_taskmgr clean
,install
18467 wine_fn_config_program termsv enable_termsv
install
18468 wine_fn_config_program uninstaller enable_uninstaller clean
,install
18469 wine_fn_config_program unlodctr enable_unlodctr
install
18470 wine_fn_config_program view enable_view clean
,install
18471 wine_fn_config_program wevtutil enable_wevtutil
install
18472 wine_fn_config_program wineboot enable_wineboot clean
,install,installbin
,manpage
18473 wine_fn_config_program winebrowser enable_winebrowser
install
18474 wine_fn_config_program winecfg enable_winecfg clean
,install,installbin
,manpage
18475 wine_fn_config_program wineconsole enable_wineconsole clean
,install,installbin
,manpage
18476 wine_fn_config_program winedbg enable_winedbg clean
,install,installbin
,manpage
18477 wine_fn_config_program winedevice enable_winedevice
install
18478 wine_fn_config_program winefile enable_winefile clean
,install,installbin
,manpage
18479 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18480 wine_fn_config_program winemine enable_winemine clean
,install,installbin
,manpage
18481 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18482 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18483 wine_fn_config_program winetest enable_winetest clean
18484 wine_fn_config_program winevdm enable_win16
install
18485 wine_fn_config_program winhelp.exe16 enable_win16
install
18486 wine_fn_config_program winhlp32 enable_winhlp32 clean
,install
18487 wine_fn_config_program winoldap.mod16 enable_win16
install
18488 wine_fn_config_program winver enable_winver
install
18489 wine_fn_config_program wmic enable_wmic clean
,install
18490 wine_fn_config_program wmplayer enable_wmplayer
install
18491 wine_fn_config_program wordpad enable_wordpad clean
,install
18492 wine_fn_config_program
write enable_write clean
,install
18493 wine_fn_config_program wscript enable_wscript clean
,install
18494 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18495 wine_fn_config_program wusa enable_wusa
install
18496 wine_fn_config_program xcopy enable_xcopy clean
,install
18497 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18498 wine_fn_config_makefile server enable_server clean
,install-lib
18499 wine_fn_config_tool tools clean
18500 wine_fn_config_tool tools
/sfnt2fon clean
18501 wine_fn_config_tool tools
/widl clean
,install-dev
18502 wine_fn_config_tool tools
/winebuild clean
,install-dev
18503 wine_fn_config_tool tools
/winedump clean
,install-dev
18504 wine_fn_config_tool tools
/winegcc clean
,install-dev
18505 wine_fn_config_tool tools
/winemaker clean
,install-dev
18506 wine_fn_config_tool tools
/wmc clean
,install-dev
18507 wine_fn_config_tool tools
/wrc clean
,install-dev
18510 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
18511 wine_fn_append_file CONFIGURE_TARGETS
"tags"
18512 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
18513 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
18514 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
18515 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
18516 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
18517 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
18519 if test "x$enable_tools" != xno
18521 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
18522 ac_config_commands
="$ac_config_commands tools/makedep"
18526 ac_config_commands
="$ac_config_commands Makefile"
18529 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
18533 if test "x$enable_maintainer_mode" = xyes
18535 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18536 autoconf --warnings=all
18537 include/config.h.in: include/stamp-h.in
18538 include/stamp-h.in: configure.ac aclocal.m4
18539 autoheader --warnings=all
18540 @echo timestamp > \$@"
18543 if test "x$enable_tools" != xno
18545 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18546 @./config.status tools/makedep
18547 Makefile: tools/makedep$ac_exeext"
18549 wine_fn_append_rule
"\$(MAKEDEP):
18550 @echo \"You need to run make in $TOOLSDIR first\" && false"
18553 if test -n "$with_wine64"
18555 wine_fn_append_rule
"all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18557 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18558 $with_wine64/loader/wine:
18559 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18560 $with_wine64/loader/wine-preloader:
18561 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18563 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18565 WINELOADER_INSTALL
="wine.inf"
18567 wine_fn_append_rule
"install install-lib::
18568 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18570 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18572 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
18573 *) wine_fn_append_rule
"install install-lib::
18574 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18576 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18580 $as_echo " done" >&6
18581 cat >confcache
<<\_ACEOF
18582 # This file is a shell script that caches the results of configure
18583 # tests run on this system so they can be shared between configure
18584 # scripts and configure runs, see configure's option --config-cache.
18585 # It is not useful on other systems. If it contains results you don't
18586 # want to keep, you may remove or edit it.
18588 # config.status only pays attention to the cache file if you give it
18589 # the --recheck option to rerun configure.
18591 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18592 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18593 # following values.
18597 # The following way of writing the cache mishandles newlines in values,
18598 # but we know of no workaround that is simple, portable, and efficient.
18599 # So, we kill variables containing newlines.
18600 # Ultrix sh set writes to stderr and can't be redirected directly,
18601 # and sets the high bit in the cache file unless we assign to the vars.
18603 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18604 eval ac_val
=\$
$ac_var
18608 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18609 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18612 _ | IFS | as_nl
) ;; #(
18613 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18614 *) { eval $ac_var=; unset $ac_var;} ;;
18620 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18621 *${as_nl}ac_space
=\
*)
18622 # `set' does not quote correctly, so add quotes: double-quote
18623 # substitution turns \\\\ into \\, and sed turns \\ into \.
18626 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18629 # `set' quotes correctly as required by POSIX, so do not add quotes.
18630 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18639 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18641 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18643 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18644 if test -w "$cache_file"; then
18645 if test "x$cache_file" != "x/dev/null"; then
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18647 $as_echo "$as_me: updating cache $cache_file" >&6;}
18648 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18649 cat confcache
>"$cache_file"
18651 case $cache_file in #(
18653 mv -f confcache
"$cache_file"$$
&&
18654 mv -f "$cache_file"$$
"$cache_file" ;; #(
18656 mv -f confcache
"$cache_file" ;;
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18662 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18667 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18668 # Let make expand exec_prefix.
18669 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18671 DEFS
=-DHAVE_CONFIG_H
18676 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18677 # 1. Remove the extension, and $U if already installed.
18678 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18679 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18680 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18681 # will be set to the directory where LIBOBJS objects are built.
18682 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18683 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18685 LIBOBJS
=$ac_libobjs
18687 LTLIBOBJS
=$ac_ltlibobjs
18691 : "${CONFIG_STATUS=./config.status}"
18693 ac_clean_files_save
=$ac_clean_files
18694 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18696 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18698 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18700 # Generated by $as_me.
18701 # Run this file to recreate the current configuration.
18702 # Compiler output produced by configure, useful for debugging
18703 # configure, is in config.log if it exists.
18706 ac_cs_recheck=false
18709 SHELL=\${CONFIG_SHELL-$SHELL}
18712 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18713 ## -------------------- ##
18714 ## M4sh Initialization. ##
18715 ## -------------------- ##
18717 # Be more Bourne compatible
18718 DUALCASE
=1; export DUALCASE
# for MKS sh
18719 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18722 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18723 # is contrary to our usage. Disable this feature.
18724 alias -g '${1+"$@"}'='"$@"'
18725 setopt NO_GLOB_SUBST
18727 case `(set -o) 2>/dev/null` in #(
18739 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18740 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18741 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18742 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18743 # Prefer a ksh shell builtin over an external printf program on Solaris,
18744 # but without wasting forks for bash or zsh.
18745 if test -z "$BASH_VERSION$ZSH_VERSION" \
18746 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18747 as_echo='print
-r --'
18748 as_echo_n='print
-rn --'
18749 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18750 as_echo='printf %s
\n'
18751 as_echo_n='printf %s
'
18753 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18754 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18755 as_echo_n='/usr
/ucb
/echo -n'
18757 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18758 as_echo_n_body='eval
18762 expr "X$arg" : "X\\(.*\\)$as_nl";
18763 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18765 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18767 export as_echo_n_body
18768 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18770 export as_echo_body
18771 as_echo='sh
-c $as_echo_body as_echo
'
18774 # The user is always right.
18775 if test "${PATH_SEPARATOR+set}" != set; then
18777 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18778 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18785 # We need space, tab and new line, in precisely that order. Quoting is
18786 # there to prevent editors from complaining about space-tab.
18787 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18788 # splitting by setting IFS to empty value.)
18791 # Find who we are. Look in the path if we contain no directory separator.
18794 *[\\/]* ) as_myself=$0 ;;
18795 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18796 for as_dir in $PATH
18799 test -z "$as_dir" && as_dir=.
18800 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18806 # We did not find ourselves, most probably we were run as `sh COMMAND'
18807 # in which case we are not to be found in the path.
18808 if test "x$as_myself" = x
; then
18811 if test ! -f "$as_myself"; then
18812 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18816 # Unset variables that we do not need and which cause bugs (e.g. in
18817 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18818 # suppresses any "Segmentation fault" message there. '((' could
18819 # trigger a bug in pdksh 5.2.14.
18820 for as_var
in BASH_ENV ENV MAIL MAILPATH
18821 do eval test x\
${$as_var+set} = xset \
18822 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18835 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18838 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18839 # ----------------------------------------
18840 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18841 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18842 # script with STATUS, using 1 if that was 0.
18845 as_status
=$1; test $as_status -eq 0 && as_status
=1
18847 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18848 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18850 $as_echo "$as_me: error: $2" >&2
18851 as_fn_exit
$as_status
18855 # as_fn_set_status STATUS
18856 # -----------------------
18857 # Set $? to STATUS, without forking.
18858 as_fn_set_status
()
18861 } # as_fn_set_status
18863 # as_fn_exit STATUS
18864 # -----------------
18865 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18869 as_fn_set_status
$1
18875 # Portably unset VAR.
18878 { eval $1=; unset $1;}
18880 as_unset
=as_fn_unset
18881 # as_fn_append VAR VALUE
18882 # ----------------------
18883 # Append the text in VALUE to the end of the definition contained in VAR. Take
18884 # advantage of any shell optimizations that allow amortized linear growth over
18885 # repeated appends, instead of the typical quadratic growth present in naive
18887 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18888 eval 'as_fn_append ()
18899 # as_fn_arith ARG...
18900 # ------------------
18901 # Perform arithmetic evaluation on the ARGs, and store the result in the
18902 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18903 # must be portable across $(()) and expr.
18904 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18905 eval 'as_fn_arith ()
18912 as_val
=`expr "$@" || test $? -eq 1`
18917 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18918 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18924 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18925 as_basename
=basename
18930 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18936 as_me
=`$as_basename -- "$0" ||
18937 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18938 X"$0" : 'X\(//\)$' \| \
18939 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18941 sed '/^.*\/\([^/][^/]*\)\/*$/{
18955 # Avoid depending upon Character Ranges.
18956 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18957 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18958 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18959 as_cr_digits
='0123456789'
18960 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18962 ECHO_C
= ECHO_N
= ECHO_T
=
18963 case `echo -n x` in #(((((
18965 case `echo 'xy\c'` in
18966 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18968 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18975 rm -f conf$$ conf$$.exe conf$$.
file
18976 if test -d conf$$.dir
; then
18977 rm -f conf$$.dir
/conf$$.
file
18980 mkdir conf$$.dir
2>/dev
/null
18982 if (echo >conf$$.
file) 2>/dev
/null
; then
18983 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18985 # ... but there are two gotchas:
18986 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18987 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18988 # In both cases, we have to default to `cp -pR'.
18989 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18991 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18999 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19000 rmdir conf$$.dir
2>/dev
/null
19005 # Create "$as_dir" as a directory, including parents if necessary.
19010 -*) as_dir
=.
/$as_dir;;
19012 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19016 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19017 *) as_qdir
=$as_dir;;
19019 as_dirs
="'$as_qdir' $as_dirs"
19020 as_dir
=`$as_dirname -- "$as_dir" ||
19021 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19022 X"$as_dir" : 'X\(//\)[^/]' \| \
19023 X"$as_dir" : 'X\(//\)$' \| \
19024 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19025 $as_echo X"$as_dir" |
19026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19030 /^X\(\/\/\)[^/].*/{
19043 test -d "$as_dir" && break
19045 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19046 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19050 if mkdir
-p .
2>/dev
/null
; then
19051 as_mkdir_p
='mkdir -p "$as_dir"'
19053 test -d .
/-p && rmdir .
/-p
19058 # as_fn_executable_p FILE
19059 # -----------------------
19060 # Test if FILE is an executable regular file.
19061 as_fn_executable_p
()
19063 test -f "$1" && test -x "$1"
19064 } # as_fn_executable_p
19065 as_test_x
='test -x'
19066 as_executable_p
=as_fn_executable_p
19068 # Sed expression to map a string onto a valid CPP name.
19069 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19071 # Sed expression to map a string onto a valid variable name.
19072 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19076 ## ----------------------------------- ##
19077 ## Main body of $CONFIG_STATUS script. ##
19078 ## ----------------------------------- ##
19080 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19083 # Save the log message, to keep $0 and so on meaningful, and to
19084 # report actual input values of CONFIG_FILES etc. instead of their
19085 # values after options handling.
19087 This file was extended by Wine $as_me 1.9.19, which was
19088 generated by GNU Autoconf 2.69. Invocation command line was
19090 CONFIG_FILES = $CONFIG_FILES
19091 CONFIG_HEADERS = $CONFIG_HEADERS
19092 CONFIG_LINKS = $CONFIG_LINKS
19093 CONFIG_COMMANDS = $CONFIG_COMMANDS
19096 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19101 case $ac_config_files in *"
19102 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19105 case $ac_config_headers in *"
19106 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19111 # Files that config.status was made for.
19112 config_files="$ac_config_files"
19113 config_headers="$ac_config_headers"
19114 config_links="$ac_config_links"
19115 config_commands="$ac_config_commands"
19119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19121 \`$as_me' instantiates files and other configuration actions
19122 from templates according to the current configuration. Unless the files
19123 and actions are specified as TAGs, all are instantiated by default.
19125 Usage: $0 [OPTION]... [TAG]...
19127 -h, --help print this help, then exit
19128 -V, --version print version number and configuration settings, then exit
19129 --config print configuration, then exit
19130 -q, --quiet, --silent
19131 do not print progress messages
19132 -d, --debug don't remove temporary files
19133 --recheck update $as_me by reconfiguring in the same conditions
19134 --file=FILE[:TEMPLATE]
19135 instantiate the configuration file FILE
19136 --header=FILE[:TEMPLATE]
19137 instantiate the configuration header FILE
19139 Configuration files:
19142 Configuration headers:
19145 Configuration links:
19148 Configuration commands:
19151 Report bugs to <wine-devel@winehq.org>.
19152 Wine home page: <http://www.winehq.org>."
19155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19156 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19158 Wine config.status 1.9.19
19159 configured by $0, generated by GNU Autoconf 2.69,
19160 with options \\"\$ac_cs_config\\"
19162 Copyright (C) 2012 Free Software Foundation, Inc.
19163 This config.status script is free software; the Free Software Foundation
19164 gives unlimited permission to copy, distribute and modify it."
19168 test -n "\$AWK" || AWK=awk
19171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19172 # The default lists apply if the user does not specify any file.
19178 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19179 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19183 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19195 # Handling of the options.
19196 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19198 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19199 $as_echo "$ac_cs_version"; exit ;;
19200 --config |
--confi |
--conf |
--con |
--co |
--c )
19201 $as_echo "$ac_cs_config"; exit ;;
19202 --debug |
--debu |
--deb |
--de |
--d |
-d )
19204 --file |
--fil |
--fi |
--f )
19207 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19208 '') as_fn_error $?
"missing file argument" ;;
19210 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19211 ac_need_defaults
=false
;;
19212 --header |
--heade |
--head |
--hea )
19215 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19217 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19218 ac_need_defaults
=false
;;
19220 # Conflict between --help and --header
19221 as_fn_error $?
"ambiguous option: \`$1'
19222 Try \`$0 --help' for more information.";;
19223 --help |
--hel |
-h )
19224 $as_echo "$ac_cs_usage"; exit ;;
19225 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19226 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19229 # This is an error.
19230 -*) as_fn_error $?
"unrecognized option: \`$1'
19231 Try \`$0 --help' for more information." ;;
19233 *) as_fn_append ac_config_targets
" $1"
19234 ac_need_defaults
=false
;;
19240 ac_configure_extra_args
=
19242 if $ac_cs_silent; then
19244 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19249 if \$ac_cs_recheck; then
19250 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19252 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19253 CONFIG_SHELL='$SHELL'
19254 export CONFIG_SHELL
19259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19263 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19264 ## Running $as_me. ##
19270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19274 wine_fn_output_makedep ()
19276 as_dir=tools; as_fn_mkdir_p
19277 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19279 wine_fn_output_makefile ()
19281 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19282 `cat $wine_rules_file`
19284 as_fn_error $? "could not create Makefile" "$LINENO" 5
19289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19291 # Handling of arguments.
19292 for ac_config_target
in $ac_config_targets
19294 case $ac_config_target in
19295 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19296 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
19297 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19298 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19299 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19300 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19301 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19302 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19303 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
19304 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19305 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
19306 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
19307 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19309 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19314 # If the user did not use the arguments to specify the items to instantiate,
19315 # then the envvar interface is used. Set only those that are not.
19316 # We use the long form for the default assignment because of an extremely
19317 # bizarre bug on SunOS 4.1.3.
19318 if $ac_need_defaults; then
19319 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19320 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19321 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19322 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19325 # Have a temporary directory for convenience. Make it in the build tree
19326 # simply because there is no reason against having it here, and in addition,
19327 # creating and moving files from /tmp can sometimes cause problems.
19328 # Hook for its removal unless debugging.
19329 # Note that there is a small window in which the directory will not be cleaned:
19330 # after its creation but before its name has been assigned to `$tmp'.
19334 trap 'exit_status=$?
19335 : "${ac_tmp:=$tmp}"
19336 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19338 trap 'as_fn_exit 1' 1 2 13 15
19340 # Create a (secure) tmp directory for tmp files.
19343 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19347 tmp
=.
/conf$$
-$RANDOM
19348 (umask 077 && mkdir
"$tmp")
19349 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19352 # Set up the scripts for CONFIG_FILES section.
19353 # No need to generate them if there are no CONFIG_FILES.
19354 # This happens for instance with `./config.status config.h'.
19355 if test -n "$CONFIG_FILES"; then
19358 ac_cr
=`echo X | tr X '\015'`
19359 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19360 # But we know of no other shell where ac_cr would be empty at this
19361 # point, so we can use a bashism as a fallback.
19362 if test "x$ac_cr" = x
; then
19363 eval ac_cr
=\$
\'\\r
\'
19365 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19366 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19369 ac_cs_awk_cr
=$ac_cr
19372 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19377 echo "cat >conf$$subs.awk <<_ACEOF" &&
19378 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19380 } >conf$$subs.sh ||
19381 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19382 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19384 for ac_last_try in false false false false false :; do
19385 . ./conf$$subs.sh ||
19386 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19388 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19389 if test $ac_delim_n = $ac_delim_num; then
19391 elif $ac_last_try; then
19392 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19394 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19397 rm -f conf$$subs.sh
19399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19400 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19404 s/^/S["/; s
/!.
*/"]=/
19414 s/\(.\{148\}\)..*/\1/
19416 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19421 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19428 s/\(.\{148\}\)..*/\1/
19430 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19434 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19439 ' <conf$$subs.awk | sed '
19444 ' >>$CONFIG_STATUS || ac_write_fail=1
19445 rm -f conf$$subs.awk
19446 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19448 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19449 for (key in S) S_is_set[key] = 1
19455 nfields = split(line, field, "@
")
19457 len = length(field[1])
19458 for (i = 2; i < nfields; i++) {
19460 keylen = length(key)
19461 if (S_is_set[key]) {
19463 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19464 len += length(value) + length(field[++i])
19475 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19476 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19477 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19480 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19481 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19484 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19485 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19486 # trailing colons and then remove the whole line if VPATH becomes empty
19487 # (actually we leave an empty line to preserve line numbers).
19488 if test "x
$srcdir" = x.; then
19489 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19508 fi # test -n "$CONFIG_FILES"
19510 # Set up the scripts for CONFIG_HEADERS section.
19511 # No need to generate them if there are no CONFIG_HEADERS.
19512 # This happens for instance with `./config.status Makefile'.
19513 if test -n "$CONFIG_HEADERS"; then
19514 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19518 # Transform confdefs.h into an awk script `defines.awk', embedded as
19519 # here-document in config.status, that substitutes the proper values into
19520 # config.h.in to produce config.h.
19522 # Create a delimiter string that does not exist in confdefs.h, to ease
19523 # handling of long lines.
19525 for ac_last_try in false false :; do
19526 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19527 if test -z "$ac_tt"; then
19529 elif $ac_last_try; then
19530 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19532 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19536 # For the awk script, D is an array of macro values keyed by name,
19537 # likewise P contains macro parameters if any. Preserve backslash
19538 # newline sequences.
19540 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19542 s/.\{148\}/&'"$ac_delim"'/g
19545 s/^[ ]*#[ ]*define[ ][ ]*/ /
19552 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19554 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19558 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19559 D["\
1"]=" \
3\\\\\\n
"\\/p
19561 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19566 s/.\{148\}/&'"$ac_delim"'/g
19571 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19574 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19576 ' <confdefs.h | sed '
19577 s/'"$ac_delim"'/"\\\
19578 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19580 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19581 for (key in D) D_is_set[key] = 1
19584 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19586 split(line, arg, " ")
19587 if (arg[1] == "#") {
19591 defundef
= substr
(arg
[1], 2)
19594 split(mac1
, mac2
, "(") #)
19596 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19597 if (D_is_set
[macro
]) {
19598 # Preserve the white space surrounding the "#".
19599 print prefix
"define", macro P
[macro
] D
[macro
]
19602 # Replace #undef with comments. This is necessary, for example,
19603 # in the case of _POSIX_SOURCE, which is predefined and required
19604 # on some systems where configure will not decide to define it.
19605 if (defundef
== "undef") {
19606 print
"/*", prefix defundef
, macro
, "*/"
19614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19615 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19616 fi # test -n "$CONFIG_HEADERS"
19619 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19624 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19626 case $ac_mode$ac_tag in
19628 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19629 :[FH
]-) ac_tag
=-:-;;
19630 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19647 -) ac_f
="$ac_tmp/stdin";;
19648 *) # Look for the file first in the build tree, then in the source tree
19649 # (if the path is not absolute). The absolute path cannot be DOS-style,
19650 # because $ac_f cannot contain `:'.
19654 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19656 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19658 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19659 as_fn_append ac_file_inputs
" '$ac_f'"
19662 # Let's still pretend it is `configure' which instantiates (i.e., don't
19663 # use $as_me), people would be surprised to read:
19664 # /* config.h. Generated by config.status. */
19665 configure_input
='Generated from '`
19666 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19668 if test x
"$ac_file" != x-
; then
19669 configure_input
="$ac_file. $configure_input"
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19671 $as_echo "$as_me: creating $ac_file" >&6;}
19673 # Neutralize special characters interpreted by sed in replacement strings.
19674 case $configure_input in #(
19675 *\
&* |
*\|
* |
*\\* )
19676 ac_sed_conf_input
=`$as_echo "$configure_input" |
19677 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19678 *) ac_sed_conf_input
=$configure_input;;
19682 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19683 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19688 ac_dir
=`$as_dirname -- "$ac_file" ||
19689 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19690 X"$ac_file" : 'X\(//\)[^/]' \| \
19691 X"$ac_file" : 'X\(//\)$' \| \
19692 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19693 $as_echo X"$ac_file" |
19694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19698 /^X\(\/\/\)[^/].*/{
19711 as_dir
="$ac_dir"; as_fn_mkdir_p
19715 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19717 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19718 # A ".." for each directory in $ac_dir_suffix.
19719 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19720 case $ac_top_builddir_sub in
19721 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19722 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19725 ac_abs_top_builddir
=$ac_pwd
19726 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19727 # for backward compatibility:
19728 ac_top_builddir
=$ac_top_build_prefix
19731 .
) # We are building in place.
19733 ac_top_srcdir
=$ac_top_builddir_sub
19734 ac_abs_top_srcdir
=$ac_pwd ;;
19735 [\\/]* | ?
:[\\/]* ) # Absolute name.
19736 ac_srcdir
=$srcdir$ac_dir_suffix;
19737 ac_top_srcdir
=$srcdir
19738 ac_abs_top_srcdir
=$srcdir ;;
19739 *) # Relative name.
19740 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19741 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19742 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19744 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19756 # If the template does not know about datarootdir, expand it.
19757 # FIXME: This hack should be removed a few years after 2.60.
19758 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19769 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19770 *datarootdir
*) ac_datarootdir_seen
=yes;;
19771 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19773 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19776 ac_datarootdir_hack='
19777 s&@datadir@&$datadir&g
19778 s&@docdir@&$docdir&g
19779 s&@infodir@&$infodir&g
19780 s&@localedir@&$localedir&g
19781 s&@mandir@&$mandir&g
19782 s&\\\${datarootdir}&$datarootdir&g' ;;
19786 # Neutralize VPATH when `$srcdir' = `.'.
19787 # Shell code in configure.ac might set extrasub.
19788 # FIXME: do we really want to maintain this feature?
19789 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19790 ac_sed_extra="$ac_vpsub
19793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19795 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19796 s|@configure_input@|
$ac_sed_conf_input|
;t t
19797 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19798 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19799 s
&@srcdir@
&$ac_srcdir&;t t
19800 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19801 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19802 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19803 s
&@builddir@
&$ac_builddir&;t t
19804 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19805 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19806 $ac_datarootdir_hack
19808 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19809 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19811 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19812 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19813 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19814 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19816 which seems to be undefined. Please make sure it is defined" >&5
19817 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19818 which seems to be undefined. Please make sure it is defined" >&2;}
19820 rm -f "$ac_tmp/stdin"
19822 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19823 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19825 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19831 if test x"$ac_file" != x-; then
19833 $as_echo "/* $configure_input */" \
19834 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19835 } >"$ac_tmp/config.h" \
19836 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19837 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19838 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19839 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19842 mv "$ac_tmp/config.h" "$ac_file" \
19843 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19846 $as_echo "/* $configure_input */" \
19847 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19848 || as_fn_error $? "could not create -" "$LINENO" 5
19856 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19859 # Prefer the file from the source tree if names are identical.
19860 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19861 ac_source=$srcdir/$ac_source
19864 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19865 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19867 if test ! -r "$ac_source"; then
19868 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19872 # Try a relative symlink, then a hard link, then a copy.
19874 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19875 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19877 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19878 ln "$ac_source" "$ac_file" 2>/dev/null ||
19879 cp -p "$ac_source" "$ac_file" ||
19880 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19883 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19884 $as_echo "$as_me: executing $ac_file commands" >&6;}
19889 case $ac_file$ac_mode in
19890 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19891 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19892 "Makefile":C) wine_fn_output_makefile Makefile ;;
19900 ac_clean_files=$ac_clean_files_save
19902 test $ac_write_fail = 0 ||
19903 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19906 # configure is writing to config.log, and then calls config.status.
19907 # config.status does its own redirection, appending to config.log.
19908 # Unfortunately, on DOS this fails, as config.log is still kept open
19909 # by configure, so config.status won't be able to
write to it
; its
19910 # output is simply discarded. So we exec the FD to /dev/null,
19911 # effectively closing config.log, so it can be properly (re)opened and
19912 # appended to by config.status. When coming back to configure, we
19913 # need to make the FD available again.
19914 if test "$no_create" != yes; then
19916 ac_config_status_args
=
19917 test "$silent" = yes &&
19918 ac_config_status_args
="$ac_config_status_args --quiet"
19920 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19922 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19923 # would make configure fail if this is the last instruction.
19924 $ac_cs_success || as_fn_exit
1
19926 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19928 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19932 if test "$no_create" = "yes"
19938 if test "x$wine_notices" != x
; then
19941 for msg
in $wine_notices; do
19943 if ${msg:+false} :; then :
19946 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19947 $as_echo "$as_me: $msg" >&6;}
19952 for msg
in $wine_warnings; do
19954 if ${msg:+false} :; then :
19958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19959 $as_echo "$as_me: WARNING: $msg" >&2;}
19965 $as_me: Finished. Do '${ac_make}' to compile Wine.