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_1
888 enable_api_ms_win_core_errorhandling_l1_1_0
889 enable_api_ms_win_core_errorhandling_l1_1_1
890 enable_api_ms_win_core_errorhandling_l1_1_2
891 enable_api_ms_win_core_fibers_l1_1_0
892 enable_api_ms_win_core_fibers_l1_1_1
893 enable_api_ms_win_core_file_l1_1_0
894 enable_api_ms_win_core_file_l1_2_0
895 enable_api_ms_win_core_file_l1_2_1
896 enable_api_ms_win_core_file_l2_1_0
897 enable_api_ms_win_core_file_l2_1_1
898 enable_api_ms_win_core_handle_l1_1_0
899 enable_api_ms_win_core_heap_l1_1_0
900 enable_api_ms_win_core_heap_l1_2_0
901 enable_api_ms_win_core_heap_obsolete_l1_1_0
902 enable_api_ms_win_core_interlocked_l1_1_0
903 enable_api_ms_win_core_interlocked_l1_2_0
904 enable_api_ms_win_core_io_l1_1_1
905 enable_api_ms_win_core_job_l1_1_0
906 enable_api_ms_win_core_job_l2_1_0
907 enable_api_ms_win_core_kernel32_legacy_l1_1_0
908 enable_api_ms_win_core_kernel32_legacy_l1_1_1
909 enable_api_ms_win_core_kernel32_private_l1_1_1
910 enable_api_ms_win_core_libraryloader_l1_1_0
911 enable_api_ms_win_core_libraryloader_l1_1_1
912 enable_api_ms_win_core_libraryloader_l1_2_0
913 enable_api_ms_win_core_localization_l1_1_0
914 enable_api_ms_win_core_localization_l1_2_0
915 enable_api_ms_win_core_localization_l1_2_1
916 enable_api_ms_win_core_localization_l2_1_0
917 enable_api_ms_win_core_localization_obsolete_l1_1_0
918 enable_api_ms_win_core_localization_obsolete_l1_2_0
919 enable_api_ms_win_core_localization_private_l1_1_0
920 enable_api_ms_win_core_localregistry_l1_1_0
921 enable_api_ms_win_core_memory_l1_1_0
922 enable_api_ms_win_core_memory_l1_1_1
923 enable_api_ms_win_core_memory_l1_1_2
924 enable_api_ms_win_core_misc_l1_1_0
925 enable_api_ms_win_core_namedpipe_l1_1_0
926 enable_api_ms_win_core_namedpipe_l1_2_0
927 enable_api_ms_win_core_namespace_l1_1_0
928 enable_api_ms_win_core_normalization_l1_1_0
929 enable_api_ms_win_core_path_l1_1_0
930 enable_api_ms_win_core_privateprofile_l1_1_1
931 enable_api_ms_win_core_processenvironment_l1_1_0
932 enable_api_ms_win_core_processenvironment_l1_2_0
933 enable_api_ms_win_core_processthreads_l1_1_0
934 enable_api_ms_win_core_processthreads_l1_1_1
935 enable_api_ms_win_core_processthreads_l1_1_2
936 enable_api_ms_win_core_profile_l1_1_0
937 enable_api_ms_win_core_psapi_l1_1_0
938 enable_api_ms_win_core_realtime_l1_1_0
939 enable_api_ms_win_core_registry_l1_1_0
940 enable_api_ms_win_core_registryuserspecific_l1_1_0
941 enable_api_ms_win_core_rtlsupport_l1_1_0
942 enable_api_ms_win_core_rtlsupport_l1_2_0
943 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
944 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
945 enable_api_ms_win_core_sidebyside_l1_1_0
946 enable_api_ms_win_core_string_l1_1_0
947 enable_api_ms_win_core_string_l2_1_0
948 enable_api_ms_win_core_string_obsolete_l1_1_0
949 enable_api_ms_win_core_stringansi_l1_1_0
950 enable_api_ms_win_core_synch_l1_1_0
951 enable_api_ms_win_core_synch_l1_2_0
952 enable_api_ms_win_core_sysinfo_l1_1_0
953 enable_api_ms_win_core_sysinfo_l1_2_0
954 enable_api_ms_win_core_sysinfo_l1_2_1
955 enable_api_ms_win_core_threadpool_l1_1_0
956 enable_api_ms_win_core_threadpool_l1_2_0
957 enable_api_ms_win_core_threadpool_legacy_l1_1_0
958 enable_api_ms_win_core_timezone_l1_1_0
959 enable_api_ms_win_core_toolhelp_l1_1_0
960 enable_api_ms_win_core_url_l1_1_0
961 enable_api_ms_win_core_util_l1_1_0
962 enable_api_ms_win_core_version_l1_1_0
963 enable_api_ms_win_core_versionansi_l1_1_0
964 enable_api_ms_win_core_windowserrorreporting_l1_1_0
965 enable_api_ms_win_core_winrt_error_l1_1_0
966 enable_api_ms_win_core_winrt_error_l1_1_1
967 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
968 enable_api_ms_win_core_winrt_l1_1_0
969 enable_api_ms_win_core_winrt_registration_l1_1_0
970 enable_api_ms_win_core_winrt_string_l1_1_0
971 enable_api_ms_win_core_wow64_l1_1_0
972 enable_api_ms_win_core_xstate_l2_1_0
973 enable_api_ms_win_crt_conio_l1_1_0
974 enable_api_ms_win_crt_convert_l1_1_0
975 enable_api_ms_win_crt_environment_l1_1_0
976 enable_api_ms_win_crt_filesystem_l1_1_0
977 enable_api_ms_win_crt_heap_l1_1_0
978 enable_api_ms_win_crt_locale_l1_1_0
979 enable_api_ms_win_crt_math_l1_1_0
980 enable_api_ms_win_crt_multibyte_l1_1_0
981 enable_api_ms_win_crt_private_l1_1_0
982 enable_api_ms_win_crt_process_l1_1_0
983 enable_api_ms_win_crt_runtime_l1_1_0
984 enable_api_ms_win_crt_stdio_l1_1_0
985 enable_api_ms_win_crt_string_l1_1_0
986 enable_api_ms_win_crt_time_l1_1_0
987 enable_api_ms_win_crt_utility_l1_1_0
988 enable_api_ms_win_downlevel_advapi32_l1_1_0
989 enable_api_ms_win_downlevel_advapi32_l2_1_0
990 enable_api_ms_win_downlevel_normaliz_l1_1_0
991 enable_api_ms_win_downlevel_ole32_l1_1_0
992 enable_api_ms_win_downlevel_shell32_l1_1_0
993 enable_api_ms_win_downlevel_shlwapi_l1_1_0
994 enable_api_ms_win_downlevel_shlwapi_l2_1_0
995 enable_api_ms_win_downlevel_user32_l1_1_0
996 enable_api_ms_win_downlevel_version_l1_1_0
997 enable_api_ms_win_eventing_classicprovider_l1_1_0
998 enable_api_ms_win_eventing_provider_l1_1_0
999 enable_api_ms_win_eventlog_legacy_l1_1_0
1000 enable_api_ms_win_ntuser_dc_access_l1_1_0
1001 enable_api_ms_win_security_base_l1_1_0
1002 enable_api_ms_win_security_base_l1_2_0
1003 enable_api_ms_win_security_lsalookup_l1_1_0
1004 enable_api_ms_win_security_lsalookup_l1_1_1
1005 enable_api_ms_win_security_sddl_l1_1_0
1006 enable_api_ms_win_service_core_l1_1_1
1007 enable_api_ms_win_service_management_l1_1_0
1008 enable_api_ms_win_service_winsvc_l1_2_0
1009 enable_api_ms_win_shell_shellcom_l1_1_0
1010 enable_api_ms_win_shell_shellfolders_l1_1_0
1023 enable_bluetoothapis
1056 enable_d3dcompiler_33
1057 enable_d3dcompiler_34
1058 enable_d3dcompiler_35
1059 enable_d3dcompiler_36
1060 enable_d3dcompiler_37
1061 enable_d3dcompiler_38
1062 enable_d3dcompiler_39
1063 enable_d3dcompiler_40
1064 enable_d3dcompiler_41
1065 enable_d3dcompiler_42
1066 enable_d3dcompiler_43
1067 enable_d3dcompiler_46
1068 enable_d3dcompiler_47
1146 enable_explorerframe
1147 enable_ext_ms_win_gdi_devcaps_l1_1_0
1313 enable_photometadatahandler
1403 enable_windowscodecs
1404 enable_windowscodecsext
1407 enable_winecoreaudio_drv
1409 enable_winegstreamer
1410 enable_winejoystick_drv
1416 enable_winepulse_drv
1417 enable_wineqtdecoder
1486 enable_aspnet_regiis
1522 enable_presentationfontcache
1535 enable_servicemodelreg
1557 enable_winemenubuilder
1559 enable_winemsibuilder
1574 ac_precious_vars
='build_alias
1629 # Initialize some variables set by options.
1631 ac_init_version
=false
1632 ac_unrecognized_opts
=
1633 ac_unrecognized_sep
=
1634 # The variables have the same names as the options, with
1635 # dashes changed to underlines.
1636 cache_file
=/dev
/null
1643 program_transform_name
=s
,x
,x
,
1651 # Installation directory options.
1652 # These are left unexpanded so users can "make install exec_prefix=/foo"
1653 # and all the variables that are supposed to be based on exec_prefix
1654 # by default will actually change.
1655 # Use braces instead of parens because sh, perl, etc. also accept them.
1656 # (The list follows the same order as the GNU Coding Standards.)
1657 bindir
='${exec_prefix}/bin'
1658 sbindir
='${exec_prefix}/sbin'
1659 libexecdir
='${exec_prefix}/libexec'
1660 datarootdir
='${prefix}/share'
1661 datadir
='${datarootdir}'
1662 sysconfdir
='${prefix}/etc'
1663 sharedstatedir
='${prefix}/com'
1664 localstatedir
='${prefix}/var'
1665 runstatedir
='${localstatedir}/run'
1666 includedir
='${prefix}/include'
1667 oldincludedir
='/usr/include'
1668 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1669 infodir
='${datarootdir}/info'
1674 libdir
='${exec_prefix}/lib'
1675 localedir
='${datarootdir}/locale'
1676 mandir
='${datarootdir}/man'
1682 # If the previous option needs an argument, assign it.
1683 if test -n "$ac_prev"; then
1684 eval $ac_prev=\
$ac_option
1690 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1695 # Accept the important Cygnus configure options, so we can diagnose typos.
1697 case $ac_dashdash$ac_option in
1701 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1703 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1704 bindir
=$ac_optarg ;;
1706 -build |
--build |
--buil |
--bui |
--bu)
1707 ac_prev
=build_alias
;;
1708 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1709 build_alias
=$ac_optarg ;;
1711 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1712 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1713 ac_prev
=cache_file
;;
1714 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1715 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1716 cache_file
=$ac_optarg ;;
1718 --config-cache |
-C)
1719 cache_file
=config.cache
;;
1721 -datadir |
--datadir |
--datadi |
--datad)
1723 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1724 datadir
=$ac_optarg ;;
1726 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1727 |
--dataroo |
--dataro |
--datar)
1728 ac_prev
=datarootdir
;;
1729 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1730 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1731 datarootdir
=$ac_optarg ;;
1733 -disable-* |
--disable-*)
1734 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1735 # Reject names that are not valid shell variable names.
1736 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1737 as_fn_error $?
"invalid feature name: $ac_useropt"
1738 ac_useropt_orig
=$ac_useropt
1739 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1740 case $ac_user_opts in
1742 "enable_
$ac_useropt"
1744 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1745 ac_unrecognized_sep
=', ';;
1747 eval enable_
$ac_useropt=no
;;
1749 -docdir |
--docdir |
--docdi |
--doc |
--do)
1751 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1752 docdir
=$ac_optarg ;;
1754 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1756 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1757 dvidir
=$ac_optarg ;;
1759 -enable-* |
--enable-*)
1760 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1761 # Reject names that are not valid shell variable names.
1762 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1763 as_fn_error $?
"invalid feature name: $ac_useropt"
1764 ac_useropt_orig
=$ac_useropt
1765 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1766 case $ac_user_opts in
1768 "enable_
$ac_useropt"
1770 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1771 ac_unrecognized_sep
=', ';;
1773 eval enable_
$ac_useropt=\
$ac_optarg ;;
1775 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1776 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1777 |
--exec |
--exe |
--ex)
1778 ac_prev
=exec_prefix
;;
1779 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1780 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1781 |
--exec=* |
--exe=* |
--ex=*)
1782 exec_prefix
=$ac_optarg ;;
1784 -gas |
--gas |
--ga |
--g)
1785 # Obsolete; use --with-gas.
1788 -help |
--help |
--hel |
--he |
-h)
1789 ac_init_help
=long
;;
1790 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1791 ac_init_help
=recursive
;;
1792 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1793 ac_init_help
=short
;;
1795 -host |
--host |
--hos |
--ho)
1796 ac_prev
=host_alias
;;
1797 -host=* |
--host=* |
--hos=* |
--ho=*)
1798 host_alias
=$ac_optarg ;;
1800 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1802 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1804 htmldir
=$ac_optarg ;;
1806 -includedir |
--includedir |
--includedi |
--included |
--include \
1807 |
--includ |
--inclu |
--incl |
--inc)
1808 ac_prev
=includedir
;;
1809 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1810 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1811 includedir
=$ac_optarg ;;
1813 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1815 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1816 infodir
=$ac_optarg ;;
1818 -libdir |
--libdir |
--libdi |
--libd)
1820 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1821 libdir
=$ac_optarg ;;
1823 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1824 |
--libexe |
--libex |
--libe)
1825 ac_prev
=libexecdir
;;
1826 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1827 |
--libexe=* |
--libex=* |
--libe=*)
1828 libexecdir
=$ac_optarg ;;
1830 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1831 ac_prev
=localedir
;;
1832 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1833 localedir
=$ac_optarg ;;
1835 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1836 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1837 ac_prev
=localstatedir
;;
1838 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1839 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1840 localstatedir
=$ac_optarg ;;
1842 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1844 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1845 mandir
=$ac_optarg ;;
1847 -nfp |
--nfp |
--nf)
1848 # Obsolete; use --without-fp.
1851 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1852 |
--no-cr |
--no-c |
-n)
1855 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1856 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1859 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1860 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1861 |
--oldin |
--oldi |
--old |
--ol |
--o)
1862 ac_prev
=oldincludedir
;;
1863 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1864 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1865 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1866 oldincludedir
=$ac_optarg ;;
1868 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1870 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1871 prefix
=$ac_optarg ;;
1873 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1874 |
--program-pre |
--program-pr |
--program-p)
1875 ac_prev
=program_prefix
;;
1876 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1877 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1878 program_prefix
=$ac_optarg ;;
1880 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1881 |
--program-suf |
--program-su |
--program-s)
1882 ac_prev
=program_suffix
;;
1883 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1884 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1885 program_suffix
=$ac_optarg ;;
1887 -program-transform-name |
--program-transform-name \
1888 |
--program-transform-nam |
--program-transform-na \
1889 |
--program-transform-n |
--program-transform- \
1890 |
--program-transform |
--program-transfor \
1891 |
--program-transfo |
--program-transf \
1892 |
--program-trans |
--program-tran \
1893 |
--progr-tra |
--program-tr |
--program-t)
1894 ac_prev
=program_transform_name
;;
1895 -program-transform-name=* |
--program-transform-name=* \
1896 |
--program-transform-nam=* |
--program-transform-na=* \
1897 |
--program-transform-n=* |
--program-transform-=* \
1898 |
--program-transform=* |
--program-transfor=* \
1899 |
--program-transfo=* |
--program-transf=* \
1900 |
--program-trans=* |
--program-tran=* \
1901 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1902 program_transform_name
=$ac_optarg ;;
1904 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1906 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1907 pdfdir
=$ac_optarg ;;
1909 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1911 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1914 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1915 |
-silent |
--silent |
--silen |
--sile |
--sil)
1918 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1919 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1920 |
--run |
--ru |
--r)
1921 ac_prev
=runstatedir
;;
1922 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1923 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1924 |
--run=* |
--ru=* |
--r=*)
1925 runstatedir
=$ac_optarg ;;
1927 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1929 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1931 sbindir
=$ac_optarg ;;
1933 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1934 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1935 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1937 ac_prev
=sharedstatedir
;;
1938 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1939 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1940 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1942 sharedstatedir
=$ac_optarg ;;
1944 -site |
--site |
--sit)
1946 -site=* |
--site=* |
--sit=*)
1949 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1951 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1952 srcdir
=$ac_optarg ;;
1954 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1955 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1956 ac_prev
=sysconfdir
;;
1957 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1958 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1959 sysconfdir
=$ac_optarg ;;
1961 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1962 ac_prev
=target_alias
;;
1963 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1964 target_alias
=$ac_optarg ;;
1966 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1969 -version |
--version |
--versio |
--versi |
--vers |
-V)
1970 ac_init_version
=: ;;
1973 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1974 # Reject names that are not valid shell variable names.
1975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1976 as_fn_error $?
"invalid package name: $ac_useropt"
1977 ac_useropt_orig
=$ac_useropt
1978 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1979 case $ac_user_opts in
1983 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1984 ac_unrecognized_sep
=', ';;
1986 eval with_
$ac_useropt=\
$ac_optarg ;;
1988 -without-* |
--without-*)
1989 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1990 # Reject names that are not valid shell variable names.
1991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1992 as_fn_error $?
"invalid package name: $ac_useropt"
1993 ac_useropt_orig
=$ac_useropt
1994 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1995 case $ac_user_opts in
1999 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2000 ac_unrecognized_sep
=', ';;
2002 eval with_
$ac_useropt=no
;;
2005 # Obsolete; use --with-x.
2008 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2009 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2010 ac_prev
=x_includes
;;
2011 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2012 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2013 x_includes
=$ac_optarg ;;
2015 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2016 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2017 ac_prev
=x_libraries
;;
2018 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2019 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2020 x_libraries
=$ac_optarg ;;
2022 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2023 Try \`$0 --help' for more information"
2027 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2028 # Reject names that are not valid shell variable names.
2029 case $ac_envvar in #(
2030 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2031 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2033 eval $ac_envvar=\
$ac_optarg
2034 export $ac_envvar ;;
2037 # FIXME: should be removed in autoconf 3.0.
2038 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2039 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2040 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2041 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2047 if test -n "$ac_prev"; then
2048 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2049 as_fn_error $?
"missing argument to $ac_option"
2052 if test -n "$ac_unrecognized_opts"; then
2053 case $enable_option_checking in
2055 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2056 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2060 # Check all directory arguments for consistency.
2061 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2062 datadir sysconfdir sharedstatedir localstatedir includedir \
2063 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2064 libdir localedir mandir runstatedir
2066 eval ac_val
=\$
$ac_var
2067 # Remove trailing slashes.
2070 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2071 eval $ac_var=\
$ac_val;;
2073 # Be sure to have absolute directory names.
2075 [\\/$
]* | ?
:[\\/]* ) continue;;
2076 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2078 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2081 # There might be people who depend on the old broken behavior: `$host'
2082 # used to hold the argument of --host etc.
2083 # FIXME: To remove some day.
2086 target
=$target_alias
2088 # FIXME: To remove some day.
2089 if test "x$host_alias" != x
; then
2090 if test "x$build_alias" = x
; then
2091 cross_compiling
=maybe
2092 elif test "x$build_alias" != "x$host_alias"; then
2098 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2100 test "$silent" = yes && exec 6>/dev
/null
2103 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2104 ac_ls_di
=`ls -di .` &&
2105 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2106 as_fn_error $?
"working directory cannot be determined"
2107 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2108 as_fn_error $?
"pwd does not report name of working directory"
2111 # Find the source files, if location was not specified.
2112 if test -z "$srcdir"; then
2113 ac_srcdir_defaulted
=yes
2114 # Try the directory containing this script, then the parent directory.
2115 ac_confdir
=`$as_dirname -- "$as_myself" ||
2116 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2117 X"$as_myself" : 'X\(//\)[^/]' \| \
2118 X"$as_myself" : 'X\(//\)$' \| \
2119 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2120 $as_echo X"$as_myself" |
2121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2139 if test ! -r "$srcdir/$ac_unique_file"; then
2143 ac_srcdir_defaulted
=no
2145 if test ! -r "$srcdir/$ac_unique_file"; then
2146 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2147 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2149 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2151 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2153 # When building in place, set srcdir=.
2154 if test "$ac_abs_confdir" = "$ac_pwd"; then
2157 # Remove unnecessary trailing slashes from srcdir.
2158 # Double slashes in file names in object file debugging info
2159 # mess up M-x gdb in Emacs.
2161 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2163 for ac_var
in $ac_precious_vars; do
2164 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2165 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2166 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2167 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2171 # Report the --help message.
2173 if test "$ac_init_help" = "long"; then
2174 # Omit some internal or obsolete options to make the list less imposing.
2175 # This message is too long to be a string in the A/UX 3.1 sh.
2177 \`configure' configures Wine 1.9.19 to adapt to many kinds of systems.
2179 Usage: $0 [OPTION]... [VAR=VALUE]...
2181 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2182 VAR=VALUE. See below for descriptions of some of the useful variables.
2184 Defaults for the options are specified in brackets.
2187 -h, --help display this help and exit
2188 --help=short display options specific to this package
2189 --help=recursive display the short help of all the included packages
2190 -V, --version display version information and exit
2191 -q, --quiet, --silent do not print \`checking ...' messages
2192 --cache-file=FILE cache test results in FILE [disabled]
2193 -C, --config-cache alias for \`--cache-file=config.cache'
2194 -n, --no-create do not create output files
2195 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2197 Installation directories:
2198 --prefix=PREFIX install architecture-independent files in PREFIX
2199 [$ac_default_prefix]
2200 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2203 By default, \`make install' will install all the files in
2204 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2205 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2206 for instance \`--prefix=\$HOME'.
2208 For better control, use the options below.
2210 Fine tuning of the installation directories:
2211 --bindir=DIR user executables [EPREFIX/bin]
2212 --sbindir=DIR system admin executables [EPREFIX/sbin]
2213 --libexecdir=DIR program executables [EPREFIX/libexec]
2214 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2215 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2216 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2217 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2218 --libdir=DIR object code libraries [EPREFIX/lib]
2219 --includedir=DIR C header files [PREFIX/include]
2220 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2221 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2222 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2223 --infodir=DIR info documentation [DATAROOTDIR/info]
2224 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2225 --mandir=DIR man documentation [DATAROOTDIR/man]
2226 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2227 --htmldir=DIR html documentation [DOCDIR]
2228 --dvidir=DIR dvi documentation [DOCDIR]
2229 --pdfdir=DIR pdf documentation [DOCDIR]
2230 --psdir=DIR ps documentation [DOCDIR]
2236 --x-includes=DIR X include files are
in DIR
2237 --x-libraries=DIR X library files are
in DIR
2240 --build=BUILD configure
for building on BUILD
[guessed
]
2241 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2245 if test -n "$ac_init_help"; then
2246 case $ac_init_help in
2247 short | recursive
) echo "Configuration of Wine 1.9.19:";;
2252 --disable-option-checking ignore unrecognized
--enable/--with options
2253 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2254 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2255 --disable-win16 do not include Win16 support
2256 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2258 --disable-tests do not build the regression tests
2259 --enable-maintainer-mode
2260 enable maintainer-specific build rules
2261 --disable-largefile omit support for large files
2264 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2265 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2266 --without-alsa do not use the Alsa sound support
2267 --without-capi do not use CAPI (ISDN support)
2268 --without-cms do not use CMS (color management support)
2269 --without-coreaudio do not use the CoreAudio sound support
2270 --without-cups do not use CUPS
2271 --without-curses do not use (n)curses
2272 --without-dbus do not use DBus (dynamic device support)
2273 --without-fontconfig do not use fontconfig
2274 --without-freetype do not use the FreeType library
2275 --without-gettext do not use gettext
2276 --with-gettextpo use the GetTextPO library to rebuild po files
2277 --without-gphoto do not use gphoto (Digital Camera support)
2278 --without-glu do not use the GLU library
2279 --without-gnutls do not use GnuTLS (schannel support)
2280 --without-gsm do not use libgsm (GSM 06.10 codec support)
2281 --without-gstreamer do not use GStreamer (codecs support)
2282 --without-hal do not use HAL (dynamic device support)
2283 --without-jpeg do not use JPEG
2284 --without-ldap do not use LDAP
2285 --without-mpg123 do not use the mpg123 library
2286 --without-netapi do not use the Samba NetAPI library
2287 --without-openal do not use OpenAL
2288 --without-opencl do not use OpenCL
2289 --without-opengl do not use OpenGL
2290 --without-osmesa do not use the OSMesa library
2291 --without-oss do not use the OSS sound support
2292 --without-pcap do not use the Packet Capture library
2293 --without-png do not use PNG
2294 --without-pthread do not use the pthread library
2295 --without-pulse do not use PulseAudio sound support
2296 --without-sane do not use SANE (scanner support)
2297 --without-tiff do not use TIFF
2298 --without-udev do not use udev (plug and play support)
2299 --without-v4l do not use v4l1 (v4l support)
2300 --without-xcomposite do not use the Xcomposite extension
2301 --without-xcursor do not use the Xcursor extension
2302 --without-xinerama do not use Xinerama (multi-monitor support)
2303 --without-xinput do not use the Xinput extension
2304 --without-xinput2 do not use the Xinput 2 extension
2305 --without-xml do not use XML
2306 --without-xrandr do not use Xrandr (resolution changes)
2307 --without-xrender do not use the Xrender extension
2308 --without-xshape do not use the Xshape extension
2309 --without-xshm do not use XShm (shared memory extension)
2310 --without-xslt do not use XSLT
2311 --without-xxf86vm do not use XFree video mode extension
2312 --without-zlib do not use Zlib (data compression)
2313 --with-wine-tools=DIR use Wine tools from directory DIR
2314 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2315 --with-x use the X Window System
2317 Some influential environment variables:
2318 CC C compiler command
2319 CFLAGS C compiler flags
2320 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2321 nonstandard directory <lib dir>
2322 LIBS libraries to pass to the linker, e.g. -l<library>
2323 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2324 you have headers in a nonstandard directory <include dir>
2325 CXX C++ compiler command
2326 CXXFLAGS C++ compiler flags
2328 XMKMF Path to xmkmf, Makefile generator for X Window System
2329 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2330 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2331 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2332 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2333 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2334 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2335 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2336 HAL_LIBS Linker flags for hal, overriding pkg-config
2338 C compiler flags for gnutls, overriding pkg-config
2339 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2340 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2341 SANE_LIBS Linker flags for libsane, overriding pkg-config
2343 C compiler flags for libgphoto2, overriding pkg-config
2345 Linker flags for libgphoto2, overriding pkg-config
2347 C compiler flags for libgphoto2_port, overriding pkg-config
2349 Linker flags for libgphoto2_port, overriding pkg-config
2351 C compiler flags for lcms2, overriding pkg-config
2352 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2354 C compiler flags for freetype2, overriding pkg-config
2356 Linker flags for freetype2, overriding pkg-config
2358 C compiler flags for libpulse, overriding pkg-config
2359 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2361 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2362 gstreamer-audio-1.0, overriding pkg-config
2364 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2365 gstreamer-audio-1.0, overriding pkg-config
2366 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2367 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2369 C compiler flags for capi20, overriding pkg-config
2370 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2372 C compiler flags for fontconfig, overriding pkg-config
2374 Linker flags for fontconfig, overriding pkg-config
2375 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2376 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2377 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2378 PNG_LIBS Linker flags for libpng, overriding pkg-config
2379 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2380 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2382 C compiler flags for libmpg123, overriding pkg-config
2383 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2385 C compiler flags for netapi, overriding pkg-config
2386 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2388 Use these variables to override the choices made by `configure' or to
help
2389 it to
find libraries and programs with nonstandard names
/locations.
2391 Report bugs to
<wine-devel@winehq.org
>.
2392 Wine home page
: <http
://www.winehq.org
>.
2397 if test "$ac_init_help" = "recursive"; then
2398 # If there are subdirs, report their specific --help.
2399 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2400 test -d "$ac_dir" ||
2401 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2406 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2408 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2409 # A ".." for each directory in $ac_dir_suffix.
2410 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2411 case $ac_top_builddir_sub in
2412 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2413 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2416 ac_abs_top_builddir
=$ac_pwd
2417 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2418 # for backward compatibility:
2419 ac_top_builddir
=$ac_top_build_prefix
2422 .
) # We are building in place.
2424 ac_top_srcdir
=$ac_top_builddir_sub
2425 ac_abs_top_srcdir
=$ac_pwd ;;
2426 [\\/]* | ?
:[\\/]* ) # Absolute name.
2427 ac_srcdir
=$srcdir$ac_dir_suffix;
2428 ac_top_srcdir
=$srcdir
2429 ac_abs_top_srcdir
=$srcdir ;;
2431 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2432 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2433 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2435 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2437 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2438 # Check for guested configure.
2439 if test -f "$ac_srcdir/configure.gnu"; then
2441 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2442 elif test -f "$ac_srcdir/configure"; then
2444 $SHELL "$ac_srcdir/configure" --help=recursive
2446 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2448 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2452 test -n "$ac_init_help" && exit $ac_status
2453 if $ac_init_version; then
2455 Wine configure
1.9.19
2456 generated by GNU Autoconf
2.69
2458 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2459 This configure
script is free software
; the Free Software Foundation
2460 gives unlimited permission to copy
, distribute and modify it.
2465 ## ------------------------ ##
2466 ## Autoconf initialization. ##
2467 ## ------------------------ ##
2469 # ac_fn_c_try_compile LINENO
2470 # --------------------------
2471 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2472 ac_fn_c_try_compile
()
2474 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2475 rm -f conftest.
$ac_objext
2476 if { { ac_try
="$ac_compile"
2478 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2479 *) ac_try_echo=$ac_try;;
2481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2482 $as_echo "$ac_try_echo"; } >&5
2483 (eval "$ac_compile") 2>conftest.err
2485 if test -s conftest.err; then
2486 grep -v '^ *+' conftest.err >conftest.er1
2487 cat conftest.er1 >&5
2488 mv -f conftest.er1 conftest.err
2490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2491 test $ac_status = 0; } && {
2492 test -z "$ac_c_werror_flag" ||
2493 test ! -s conftest.err
2494 } && test -s conftest.$ac_objext; then :
2497 $as_echo "$as_me: failed program was:" >&5
2498 sed 's/^/| /' conftest.$ac_ext >&5
2502 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2503 as_fn_set_status $ac_retval
2505 } # ac_fn_c_try_compile
2507 # ac_fn_cxx_try_compile LINENO
2508 # ----------------------------
2509 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2510 ac_fn_cxx_try_compile ()
2512 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2513 rm -f conftest.$ac_objext
2514 if { { ac_try="$ac_compile"
2516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2517 *) ac_try_echo
=$ac_try;;
2519 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2520 $as_echo "$ac_try_echo"; } >&5
2521 (eval "$ac_compile") 2>conftest.err
2523 if test -s conftest.err
; then
2524 grep -v '^ *+' conftest.err
>conftest.er1
2525 cat conftest.er1
>&5
2526 mv -f conftest.er1 conftest.err
2528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2529 test $ac_status = 0; } && {
2530 test -z "$ac_cxx_werror_flag" ||
2531 test ! -s conftest.err
2532 } && test -s conftest.
$ac_objext; then :
2535 $as_echo "$as_me: failed program was:" >&5
2536 sed 's/^/| /' conftest.
$ac_ext >&5
2540 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2541 as_fn_set_status
$ac_retval
2543 } # ac_fn_cxx_try_compile
2545 # ac_fn_c_try_link LINENO
2546 # -----------------------
2547 # Try to link conftest.$ac_ext, and return whether this succeeded.
2550 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2551 rm -f conftest.
$ac_objext conftest
$ac_exeext
2552 if { { ac_try
="$ac_link"
2554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2555 *) ac_try_echo=$ac_try;;
2557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2558 $as_echo "$ac_try_echo"; } >&5
2559 (eval "$ac_link") 2>conftest.err
2561 if test -s conftest.err; then
2562 grep -v '^ *+' conftest.err >conftest.er1
2563 cat conftest.er1 >&5
2564 mv -f conftest.er1 conftest.err
2566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2567 test $ac_status = 0; } && {
2568 test -z "$ac_c_werror_flag" ||
2569 test ! -s conftest.err
2570 } && test -s conftest$ac_exeext && {
2571 test "$cross_compiling" = yes ||
2572 test -x conftest$ac_exeext
2576 $as_echo "$as_me: failed program was:" >&5
2577 sed 's/^/| /' conftest.$ac_ext >&5
2581 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2582 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2583 # interfere with the next link command; also delete a directory that is
2584 # left behind by Apple's compiler. We do this before executing the actions.
2585 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2586 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2587 as_fn_set_status $ac_retval
2589 } # ac_fn_c_try_link
2591 # ac_fn_c_try_cpp LINENO
2592 # ----------------------
2593 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2597 if { { ac_try="$ac_cpp conftest.$ac_ext"
2599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2600 *) ac_try_echo
=$ac_try;;
2602 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2603 $as_echo "$ac_try_echo"; } >&5
2604 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2606 if test -s conftest.err
; then
2607 grep -v '^ *+' conftest.err
>conftest.er1
2608 cat conftest.er1
>&5
2609 mv -f conftest.er1 conftest.err
2611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2612 test $ac_status = 0; } > conftest.i
&& {
2613 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2614 test ! -s conftest.err
2618 $as_echo "$as_me: failed program was:" >&5
2619 sed 's/^/| /' conftest.
$ac_ext >&5
2623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2624 as_fn_set_status
$ac_retval
2628 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2629 # -------------------------------------------------------
2630 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2631 # the include files in INCLUDES and setting the cache variable VAR
2633 ac_fn_c_check_header_mongrel
()
2635 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2636 if eval \
${$3+:} false
; then :
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2638 $as_echo_n "checking for $2... " >&6; }
2639 if eval \
${$3+:} false
; then :
2640 $as_echo_n "(cached) " >&6
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2644 $as_echo "$ac_res" >&6; }
2646 # Is the header compilable?
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2648 $as_echo_n "checking $2 usability... " >&6; }
2649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2650 /* end confdefs.h. */
2654 if ac_fn_c_try_compile
"$LINENO"; then :
2655 ac_header_compiler
=yes
2657 ac_header_compiler
=no
2659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2661 $as_echo "$ac_header_compiler" >&6; }
2663 # Is the header present?
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2665 $as_echo_n "checking $2 presence... " >&6; }
2666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2667 /* end confdefs.h. */
2670 if ac_fn_c_try_cpp
"$LINENO"; then :
2671 ac_header_preproc
=yes
2673 ac_header_preproc
=no
2675 rm -f conftest.err conftest.i conftest.
$ac_ext
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2677 $as_echo "$ac_header_preproc" >&6; }
2679 # So? What about this header?
2680 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2683 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2685 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2689 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2691 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2693 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2695 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2697 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2698 ( $as_echo "## ------------------------------------ ##
2699 ## Report this to wine-devel@winehq.org ##
2700 ## ------------------------------------ ##"
2701 ) |
sed "s/^/$as_me: WARNING: /" >&2
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2705 $as_echo_n "checking for $2... " >&6; }
2706 if eval \
${$3+:} false
; then :
2707 $as_echo_n "(cached) " >&6
2709 eval "$3=\$ac_header_compiler"
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2713 $as_echo "$ac_res" >&6; }
2715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2717 } # ac_fn_c_check_header_mongrel
2719 # ac_fn_c_try_run LINENO
2720 # ----------------------
2721 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2722 # that executables *can* be run.
2725 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2726 if { { ac_try
="$ac_link"
2728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;;
2731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2732 $as_echo "$ac_try_echo"; } >&5
2733 (eval "$ac_link") 2>&5
2735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2736 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2737 { { case "(($ac_try" in
2738 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2739 *) ac_try_echo
=$ac_try;;
2741 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2742 $as_echo "$ac_try_echo"; } >&5
2743 (eval "$ac_try") 2>&5
2745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2746 test $ac_status = 0; }; }; then :
2749 $as_echo "$as_me: program exited with status $ac_status" >&5
2750 $as_echo "$as_me: failed program was:" >&5
2751 sed 's/^/| /' conftest.
$ac_ext >&5
2753 ac_retval
=$ac_status
2755 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2757 as_fn_set_status
$ac_retval
2761 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2762 # -------------------------------------------------------
2763 # Tests whether HEADER exists and can be compiled using the include files in
2764 # INCLUDES, setting the cache variable VAR accordingly.
2765 ac_fn_c_check_header_compile
()
2767 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2769 $as_echo_n "checking for $2... " >&6; }
2770 if eval \
${$3+:} false
; then :
2771 $as_echo_n "(cached) " >&6
2773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2774 /* end confdefs.h. */
2778 if ac_fn_c_try_compile
"$LINENO"; then :
2783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2787 $as_echo "$ac_res" >&6; }
2788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2790 } # ac_fn_c_check_header_compile
2792 # ac_fn_c_check_func LINENO FUNC VAR
2793 # ----------------------------------
2794 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2795 ac_fn_c_check_func
()
2797 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2799 $as_echo_n "checking for $2... " >&6; }
2800 if eval \
${$3+:} false
; then :
2801 $as_echo_n "(cached) " >&6
2803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2804 /* end confdefs.h. */
2805 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2807 #define $2 innocuous_$2
2809 /* System header to define __stub macros and hopefully few prototypes,
2810 which can conflict with char $2 (); below.
2811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2812 <limits.h> exists even on freestanding compilers. */
2815 # include <limits.h>
2817 # include <assert.h>
2822 /* Override any GCC internal prototype to avoid an error.
2823 Use char because int might match the return type of a GCC
2824 builtin and then its argument prototype would still apply. */
2829 /* The GNU C library defines this for functions which it implements
2830 to always fail with ENOSYS. Some functions are actually named
2831 something starting with __ and the normal name is an alias. */
2832 #if defined __stub_$2 || defined __stub___$2
2844 if ac_fn_c_try_link
"$LINENO"; then :
2849 rm -f core conftest.err conftest.
$ac_objext \
2850 conftest
$ac_exeext conftest.
$ac_ext
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2854 $as_echo "$ac_res" >&6; }
2855 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2857 } # ac_fn_c_check_func
2859 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2860 # ----------------------------------------------------
2861 # Tries to find if the field MEMBER exists in type AGGR, after including
2862 # INCLUDES, setting cache variable VAR accordingly.
2863 ac_fn_c_check_member
()
2865 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2867 $as_echo_n "checking for $2.$3... " >&6; }
2868 if eval \
${$4+:} false
; then :
2869 $as_echo_n "(cached) " >&6
2871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2872 /* end confdefs.h. */
2884 if ac_fn_c_try_compile
"$LINENO"; then :
2887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2888 /* end confdefs.h. */
2894 if (sizeof ac_aggr.$3)
2900 if ac_fn_c_try_compile
"$LINENO"; then :
2905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2911 $as_echo "$ac_res" >&6; }
2912 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2914 } # ac_fn_c_check_member
2916 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2917 # -------------------------------------------
2918 # Tests whether TYPE exists after having included INCLUDES, setting cache
2919 # variable VAR accordingly.
2920 ac_fn_c_check_type
()
2922 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2924 $as_echo_n "checking for $2... " >&6; }
2925 if eval \
${$3+:} false
; then :
2926 $as_echo_n "(cached) " >&6
2929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2930 /* end confdefs.h. */
2941 if ac_fn_c_try_compile
"$LINENO"; then :
2942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2943 /* end confdefs.h. */
2954 if ac_fn_c_try_compile
"$LINENO"; then :
2959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2965 $as_echo "$ac_res" >&6; }
2966 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2968 } # ac_fn_c_check_type
2969 cat >config.log
<<_ACEOF
2970 This file contains any messages produced by compilers while
2971 running configure, to aid debugging if configure makes a mistake.
2973 It was created by Wine $as_me 1.9.19, which was
2974 generated by GNU Autoconf 2.69. Invocation command line was
2986 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2987 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2988 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2989 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2990 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2992 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2993 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2995 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2996 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2997 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2998 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2999 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3000 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3001 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3009 test -z "$as_dir" && as_dir
=.
3010 $as_echo "PATH: $as_dir"
3026 # Keep a trace of the command line.
3027 # Strip out --no-create and --no-recursion so they do not pile up.
3028 # Strip out --silent because we don't want to record it for future runs.
3029 # Also quote any args containing shell meta-characters.
3030 # Make two passes to allow for proper duplicate-argument suppression.
3034 ac_must_keep_next
=false
3040 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3041 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3042 |
-silent |
--silent |
--silen |
--sile |
--sil)
3045 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3048 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3050 as_fn_append ac_configure_args1
" '$ac_arg'"
3051 if test $ac_must_keep_next = true
; then
3052 ac_must_keep_next
=false
# Got value, back to normal.
3055 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3056 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3057 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3058 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3059 case "$ac_configure_args0 " in
3060 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3063 -* ) ac_must_keep_next
=true
;;
3066 as_fn_append ac_configure_args
" '$ac_arg'"
3071 { ac_configure_args0
=; unset ac_configure_args0
;}
3072 { ac_configure_args1
=; unset ac_configure_args1
;}
3074 # When interrupted or exit'd, cleanup temporary files, and complete
3075 # config.log. We remove comments because anyway the quotes in there
3076 # would cause problems or look ugly.
3077 # WARNING: Use '\'' to represent an apostrophe within the trap.
3078 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3079 trap 'exit_status=$?
3080 # Save into config.log some information that might help in debugging.
3084 $as_echo "## ---------------- ##
3085 ## Cache variables. ##
3086 ## ---------------- ##"
3088 # The following way of writing the cache mishandles newlines in values,
3090 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3091 eval ac_val=\$$ac_var
3095 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3096 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3099 _ | IFS | as_nl) ;; #(
3100 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3101 *) { eval $ac_var=; unset $ac_var;} ;;
3106 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3107 *${as_nl}ac_space=\ *)
3109 "s/'\''/'\''\\\\'\'''\''/g;
3110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3113 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3120 $as_echo "## ----------------- ##
3121 ## Output variables. ##
3122 ## ----------------- ##"
3124 for ac_var in $ac_subst_vars
3126 eval ac_val=\$$ac_var
3128 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3130 $as_echo "$ac_var='\''$ac_val'\''"
3134 if test -n "$ac_subst_files"; then
3135 $as_echo "## ------------------- ##
3136 ## File substitutions. ##
3137 ## ------------------- ##"
3139 for ac_var
in $ac_subst_files
3141 eval ac_val
=\$
$ac_var
3143 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3145 $as_echo "$ac_var='\''$ac_val'\''"
3150 if test -s confdefs.h; then
3151 $as_echo "## ----------- ##
3158 test "$ac_signal" != 0 &&
3159 $as_echo "$as_me: caught signal $ac_signal"
3160 $as_echo "$as_me: exit $exit_status"
3162 rm -f core *.core core.conftest.* &&
3163 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3166 for ac_signal
in 1 2 13 15; do
3167 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3171 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3172 rm -f -r conftest
* confdefs.h
3174 $as_echo "/* confdefs.h */" > confdefs.h
3176 # Predefined preprocessor variables.
3178 cat >>confdefs.h
<<_ACEOF
3179 #define PACKAGE_NAME "$PACKAGE_NAME"
3182 cat >>confdefs.h
<<_ACEOF
3183 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3186 cat >>confdefs.h
<<_ACEOF
3187 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3190 cat >>confdefs.h
<<_ACEOF
3191 #define PACKAGE_STRING "$PACKAGE_STRING"
3194 cat >>confdefs.h
<<_ACEOF
3195 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3198 cat >>confdefs.h
<<_ACEOF
3199 #define PACKAGE_URL "$PACKAGE_URL"
3203 # Let the site file select an alternate cache file if it wants to.
3204 # Prefer an explicitly selected file to automatically selected ones.
3207 if test -n "$CONFIG_SITE"; then
3208 # We do not want a PATH search for config.site.
3209 case $CONFIG_SITE in #((
3210 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3211 */*) ac_site_file1
=$CONFIG_SITE;;
3212 *) ac_site_file1
=.
/$CONFIG_SITE;;
3214 elif test "x$prefix" != xNONE
; then
3215 ac_site_file1
=$prefix/share
/config.site
3216 ac_site_file2
=$prefix/etc
/config.site
3218 ac_site_file1
=$ac_default_prefix/share
/config.site
3219 ac_site_file2
=$ac_default_prefix/etc
/config.site
3221 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3223 test "x$ac_site_file" = xNONE
&& continue
3224 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3226 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3227 sed 's/^/| /' "$ac_site_file" >&5
3229 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3231 as_fn_error $?
"failed to load site script $ac_site_file
3232 See \`config.log' for more details" "$LINENO" 5; }
3236 if test -r "$cache_file"; then
3237 # Some versions of bash will fail to source /dev/null (special files
3238 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3239 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3241 $as_echo "$as_me: loading cache $cache_file" >&6;}
3243 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3244 *) .
"./$cache_file";;
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3249 $as_echo "$as_me: creating cache $cache_file" >&6;}
3253 # Check that the precious variables saved in the cache have kept the same
3255 ac_cache_corrupted
=false
3256 for ac_var
in $ac_precious_vars; do
3257 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3258 eval ac_new_set
=\
$ac_env_${ac_var}_set
3259 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3260 eval ac_new_val
=\
$ac_env_${ac_var}_value
3261 case $ac_old_set,$ac_new_set in
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3264 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3265 ac_cache_corrupted
=: ;;
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3268 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3269 ac_cache_corrupted
=: ;;
3272 if test "x$ac_old_val" != "x$ac_new_val"; then
3273 # differences in whitespace do not lead to failure.
3274 ac_old_val_w
=`echo x $ac_old_val`
3275 ac_new_val_w
=`echo x $ac_new_val`
3276 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3278 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3279 ac_cache_corrupted
=:
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3282 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3283 eval $ac_var=\
$ac_old_val
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3286 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3288 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3291 # Pass precious variables to config.status.
3292 if test "$ac_new_set" = set; then
3294 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3295 *) ac_arg
=$ac_var=$ac_new_val ;;
3297 case " $ac_configure_args " in
3298 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3299 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3303 if $ac_cache_corrupted; then
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3307 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3308 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3310 ## -------------------- ##
3311 ## Main body of script. ##
3312 ## -------------------- ##
3315 ac_cpp
='$CPP $CPPFLAGS'
3316 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3317 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3318 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3322 ac_config_headers
="$ac_config_headers include/config.h"
3325 for ac_dir
in tools
"$srcdir"/tools
; do
3326 if test -f "$ac_dir/install-sh"; then
3328 ac_install_sh
="$ac_aux_dir/install-sh -c"
3330 elif test -f "$ac_dir/install.sh"; then
3332 ac_install_sh
="$ac_aux_dir/install.sh -c"
3334 elif test -f "$ac_dir/shtool"; then
3336 ac_install_sh
="$ac_aux_dir/shtool install -c"
3340 if test -z "$ac_aux_dir"; then
3341 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3344 # These three variables are undocumented and unsupported,
3345 # and are intended to be withdrawn in a future Autoconf release.
3346 # They can cause serious problems if a builder's source tree is in a directory
3347 # whose full name contains unusual characters.
3348 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3349 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3350 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3354 libwine_version
="1.0"
3358 # Check whether --enable-win16 was given.
3359 if test "${enable_win16+set}" = set; then :
3360 enableval
=$enable_win16;
3363 # Check whether --enable-win64 was given.
3364 if test "${enable_win64+set}" = set; then :
3365 enableval
=$enable_win64;
3368 # Check whether --enable-tests was given.
3369 if test "${enable_tests+set}" = set; then :
3370 enableval
=$enable_tests;
3373 # Check whether --enable-maintainer-mode was given.
3374 if test "${enable_maintainer_mode+set}" = set; then :
3375 enableval
=$enable_maintainer_mode;
3380 # Check whether --with-alsa was given.
3381 if test "${with_alsa+set}" = set; then :
3382 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3386 # Check whether --with-capi was given.
3387 if test "${with_capi+set}" = set; then :
3392 # Check whether --with-cms was given.
3393 if test "${with_cms+set}" = set; then :
3398 # Check whether --with-coreaudio was given.
3399 if test "${with_coreaudio+set}" = set; then :
3400 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3404 # Check whether --with-cups was given.
3405 if test "${with_cups+set}" = set; then :
3410 # Check whether --with-curses was given.
3411 if test "${with_curses+set}" = set; then :
3412 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3416 # Check whether --with-dbus was given.
3417 if test "${with_dbus+set}" = set; then :
3422 # Check whether --with-fontconfig was given.
3423 if test "${with_fontconfig+set}" = set; then :
3424 withval
=$with_fontconfig;
3428 # Check whether --with-freetype was given.
3429 if test "${with_freetype+set}" = set; then :
3430 withval
=$with_freetype;
3434 # Check whether --with-gettext was given.
3435 if test "${with_gettext+set}" = set; then :
3436 withval
=$with_gettext;
3440 # Check whether --with-gettextpo was given.
3441 if test "${with_gettextpo+set}" = set; then :
3442 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3446 # Check whether --with-gphoto was given.
3447 if test "${with_gphoto+set}" = set; then :
3448 withval
=$with_gphoto;
3452 # Check whether --with-glu was given.
3453 if test "${with_glu+set}" = set; then :
3458 # Check whether --with-gnutls was given.
3459 if test "${with_gnutls+set}" = set; then :
3460 withval
=$with_gnutls;
3464 # Check whether --with-gsm was given.
3465 if test "${with_gsm+set}" = set; then :
3466 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3470 # Check whether --with-gstreamer was given.
3471 if test "${with_gstreamer+set}" = set; then :
3472 withval
=$with_gstreamer;
3476 # Check whether --with-hal was given.
3477 if test "${with_hal+set}" = set; then :
3482 # Check whether --with-jpeg was given.
3483 if test "${with_jpeg+set}" = set; then :
3488 # Check whether --with-ldap was given.
3489 if test "${with_ldap+set}" = set; then :
3490 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3494 # Check whether --with-mpg123 was given.
3495 if test "${with_mpg123+set}" = set; then :
3496 withval
=$with_mpg123;
3500 # Check whether --with-netapi was given.
3501 if test "${with_netapi+set}" = set; then :
3502 withval
=$with_netapi;
3506 # Check whether --with-openal was given.
3507 if test "${with_openal+set}" = set; then :
3508 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3512 # Check whether --with-opencl was given.
3513 if test "${with_opencl+set}" = set; then :
3514 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3518 # Check whether --with-opengl was given.
3519 if test "${with_opengl+set}" = set; then :
3520 withval
=$with_opengl;
3524 # Check whether --with-osmesa was given.
3525 if test "${with_osmesa+set}" = set; then :
3526 withval
=$with_osmesa;
3530 # Check whether --with-oss was given.
3531 if test "${with_oss+set}" = set; then :
3536 # Check whether --with-pcap was given.
3537 if test "${with_pcap+set}" = set; then :
3538 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3542 # Check whether --with-png was given.
3543 if test "${with_png+set}" = set; then :
3548 # Check whether --with-pthread was given.
3549 if test "${with_pthread+set}" = set; then :
3550 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3554 # Check whether --with-pulse was given.
3555 if test "${with_pulse+set}" = set; then :
3556 withval
=$with_pulse;
3560 # Check whether --with-sane was given.
3561 if test "${with_sane+set}" = set; then :
3566 # Check whether --with-tiff was given.
3567 if test "${with_tiff+set}" = set; then :
3572 # Check whether --with-udev was given.
3573 if test "${with_udev+set}" = set; then :
3578 # Check whether --with-v4l was given.
3579 if test "${with_v4l+set}" = set; then :
3584 # Check whether --with-xcomposite was given.
3585 if test "${with_xcomposite+set}" = set; then :
3586 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3590 # Check whether --with-xcursor was given.
3591 if test "${with_xcursor+set}" = set; then :
3592 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3596 # Check whether --with-xinerama was given.
3597 if test "${with_xinerama+set}" = set; then :
3598 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3602 # Check whether --with-xinput was given.
3603 if test "${with_xinput+set}" = set; then :
3604 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3608 # Check whether --with-xinput2 was given.
3609 if test "${with_xinput2+set}" = set; then :
3610 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3614 # Check whether --with-xml was given.
3615 if test "${with_xml+set}" = set; then :
3620 # Check whether --with-xrandr was given.
3621 if test "${with_xrandr+set}" = set; then :
3622 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3626 # Check whether --with-xrender was given.
3627 if test "${with_xrender+set}" = set; then :
3628 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3632 # Check whether --with-xshape was given.
3633 if test "${with_xshape+set}" = set; then :
3634 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3638 # Check whether --with-xshm was given.
3639 if test "${with_xshm+set}" = set; then :
3640 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3644 # Check whether --with-xslt was given.
3645 if test "${with_xslt+set}" = set; then :
3650 # Check whether --with-xxf86vm was given.
3651 if test "${with_xxf86vm+set}" = set; then :
3652 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
3656 # Check whether --with-zlib was given.
3657 if test "${with_zlib+set}" = set; then :
3658 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3663 # Check whether --with-wine-tools was given.
3664 if test "${with_wine_tools+set}" = set; then :
3665 withval
=$with_wine_tools;
3669 # Check whether --with-wine64 was given.
3670 if test "${with_wine64+set}" = set; then :
3671 withval
=$with_wine64;
3675 # Make sure we can run config.sub.
3676 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3677 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3680 $as_echo_n "checking build system type... " >&6; }
3681 if ${ac_cv_build+:} false
; then :
3682 $as_echo_n "(cached) " >&6
3684 ac_build_alias
=$build_alias
3685 test "x$ac_build_alias" = x
&&
3686 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3687 test "x$ac_build_alias" = x
&&
3688 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3689 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3690 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3694 $as_echo "$ac_cv_build" >&6; }
3695 case $ac_cv_build in
3697 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3700 ac_save_IFS
=$IFS; IFS
='-'
3706 # Remember, the first character of IFS is used to create $*,
3707 # except with old shells:
3710 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3714 $as_echo_n "checking host system type... " >&6; }
3715 if ${ac_cv_host+:} false
; then :
3716 $as_echo_n "(cached) " >&6
3718 if test "x$host_alias" = x
; then
3719 ac_cv_host
=$ac_cv_build
3721 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3722 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3727 $as_echo "$ac_cv_host" >&6; }
3730 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3733 ac_save_IFS
=$IFS; IFS
='-'
3739 # Remember, the first character of IFS is used to create $*,
3740 # except with old shells:
3743 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3749 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3750 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3751 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3757 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3759 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3760 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3761 $as_echo_n "(cached) " >&6
3763 cat >conftest.
make <<\_ACEOF
3766 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3768 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3769 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3771 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3773 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3777 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3779 $as_echo "yes" >&6; }
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3783 $as_echo "no" >&6; }
3784 SET_MAKE
="MAKE=${MAKE-make}"
3788 ac_cpp
='$CPP $CPPFLAGS'
3789 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3790 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3791 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3792 if test -n "$ac_tool_prefix"; then
3793 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3794 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796 $as_echo_n "checking for $ac_word... " >&6; }
3797 if ${ac_cv_prog_CC+:} false
; then :
3798 $as_echo_n "(cached) " >&6
3800 if test -n "$CC"; then
3801 ac_cv_prog_CC
="$CC" # Let the user override the test.
3803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3807 test -z "$as_dir" && as_dir
=.
3808 for ac_exec_ext
in '' $ac_executable_extensions; do
3809 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3810 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3821 if test -n "$CC"; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3823 $as_echo "$CC" >&6; }
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3831 if test -z "$ac_cv_prog_CC"; then
3833 # Extract the first word of "gcc", so it can be a program name with args.
3834 set dummy gcc
; ac_word
=$2
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3836 $as_echo_n "checking for $ac_word... " >&6; }
3837 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3838 $as_echo_n "(cached) " >&6
3840 if test -n "$ac_ct_CC"; then
3841 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3847 test -z "$as_dir" && as_dir
=.
3848 for ac_exec_ext
in '' $ac_executable_extensions; do
3849 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3850 ac_cv_prog_ac_ct_CC
="gcc"
3851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3860 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3861 if test -n "$ac_ct_CC"; then
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3863 $as_echo "$ac_ct_CC" >&6; }
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3866 $as_echo "no" >&6; }
3869 if test "x$ac_ct_CC" = x
; then
3872 case $cross_compiling:$ac_tool_warned in
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3876 ac_tool_warned
=yes ;;
3884 if test -z "$CC"; then
3885 if test -n "$ac_tool_prefix"; then
3886 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3887 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3889 $as_echo_n "checking for $ac_word... " >&6; }
3890 if ${ac_cv_prog_CC+:} false
; then :
3891 $as_echo_n "(cached) " >&6
3893 if test -n "$CC"; then
3894 ac_cv_prog_CC
="$CC" # Let the user override the test.
3896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3900 test -z "$as_dir" && as_dir
=.
3901 for ac_exec_ext
in '' $ac_executable_extensions; do
3902 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3903 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3914 if test -n "$CC"; then
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3916 $as_echo "$CC" >&6; }
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3919 $as_echo "no" >&6; }
3925 if test -z "$CC"; then
3926 # Extract the first word of "cc", so it can be a program name with args.
3927 set dummy cc
; ac_word
=$2
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3929 $as_echo_n "checking for $ac_word... " >&6; }
3930 if ${ac_cv_prog_CC+:} false
; then :
3931 $as_echo_n "(cached) " >&6
3933 if test -n "$CC"; then
3934 ac_cv_prog_CC
="$CC" # Let the user override the test.
3937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3941 test -z "$as_dir" && as_dir
=.
3942 for ac_exec_ext
in '' $ac_executable_extensions; do
3943 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3944 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3945 ac_prog_rejected
=yes
3949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3956 if test $ac_prog_rejected = yes; then
3957 # We found a bogon in the path, so make sure we never use it.
3958 set dummy
$ac_cv_prog_CC
3960 if test $# != 0; then
3961 # We chose a different compiler from the bogus one.
3962 # However, it has the same basename, so the bogon will be chosen
3963 # first if we set CC to just the basename; use the full file name.
3965 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3971 if test -n "$CC"; then
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3973 $as_echo "$CC" >&6; }
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3976 $as_echo "no" >&6; }
3981 if test -z "$CC"; then
3982 if test -n "$ac_tool_prefix"; then
3983 for ac_prog
in cl.exe
3985 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3986 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3988 $as_echo_n "checking for $ac_word... " >&6; }
3989 if ${ac_cv_prog_CC+:} false
; then :
3990 $as_echo_n "(cached) " >&6
3992 if test -n "$CC"; then
3993 ac_cv_prog_CC
="$CC" # Let the user override the test.
3995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3999 test -z "$as_dir" && as_dir
=.
4000 for ac_exec_ext
in '' $ac_executable_extensions; do
4001 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4002 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4013 if test -n "$CC"; then
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4015 $as_echo "$CC" >&6; }
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4018 $as_echo "no" >&6; }
4022 test -n "$CC" && break
4025 if test -z "$CC"; then
4027 for ac_prog
in cl.exe
4029 # Extract the first word of "$ac_prog", so it can be a program name with args.
4030 set dummy
$ac_prog; ac_word
=$2
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4032 $as_echo_n "checking for $ac_word... " >&6; }
4033 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4034 $as_echo_n "(cached) " >&6
4036 if test -n "$ac_ct_CC"; then
4037 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4043 test -z "$as_dir" && as_dir
=.
4044 for ac_exec_ext
in '' $ac_executable_extensions; do
4045 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4046 ac_cv_prog_ac_ct_CC
="$ac_prog"
4047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4056 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4057 if test -n "$ac_ct_CC"; then
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4059 $as_echo "$ac_ct_CC" >&6; }
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4062 $as_echo "no" >&6; }
4066 test -n "$ac_ct_CC" && break
4069 if test "x$ac_ct_CC" = x
; then
4072 case $cross_compiling:$ac_tool_warned in
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4076 ac_tool_warned
=yes ;;
4085 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4087 as_fn_error $?
"no acceptable C compiler found in \$PATH
4088 See \`config.log' for more details" "$LINENO" 5; }
4090 # Provide some information about the compiler.
4091 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4094 for ac_option
in --version -v -V -qversion; do
4095 { { ac_try
="$ac_compiler $ac_option >&5"
4097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4098 *) ac_try_echo=$ac_try;;
4100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4101 $as_echo "$ac_try_echo"; } >&5
4102 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4104 if test -s conftest.err; then
4106 ... rest of stderr output deleted ...
4107 10q' conftest.err >conftest.er1
4108 cat conftest.er1 >&5
4110 rm -f conftest.er1 conftest.err
4111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4112 test $ac_status = 0; }
4115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4116 /* end confdefs.h. */
4126 ac_clean_files_save=$ac_clean_files
4127 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4128 # Try to create an executable without -o first, disregard a.out.
4129 # It will help us diagnose broken compilers, and finding out an intuition
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4132 $as_echo_n "checking whether the C compiler works... " >&6; }
4133 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4135 # The possible output files:
4136 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4139 for ac_file in $ac_files
4142 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4143 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4148 if { { ac_try="$ac_link_default"
4150 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4151 *) ac_try_echo
=$ac_try;;
4153 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4154 $as_echo "$ac_try_echo"; } >&5
4155 (eval "$ac_link_default") 2>&5
4157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4158 test $ac_status = 0; }; then :
4159 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4160 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4161 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4162 # so that the user can short-circuit this test for compilers unknown to
4164 for ac_file
in $ac_files ''
4166 test -f "$ac_file" ||
continue
4168 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4171 # We found the default executable, but exeext='' is most
4175 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4177 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4179 # We set ac_cv_exeext here because the later test for it is not
4180 # safe: cross compilers may not add the suffix if given an `-o'
4181 # argument, so we may need to know it at that point already.
4182 # Even if this section looks crufty: it has the advantage of
4189 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4194 if test -z "$ac_file"; then :
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4196 $as_echo "no" >&6; }
4197 $as_echo "$as_me: failed program was:" >&5
4198 sed 's/^/| /' conftest.
$ac_ext >&5
4200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4202 as_fn_error
77 "C compiler cannot create executables
4203 See \`config.log' for more details" "$LINENO" 5; }
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4206 $as_echo "yes" >&6; }
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4209 $as_echo_n "checking for C compiler default output file name... " >&6; }
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4211 $as_echo "$ac_file" >&6; }
4212 ac_exeext
=$ac_cv_exeext
4214 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4215 ac_clean_files
=$ac_clean_files_save
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4217 $as_echo_n "checking for suffix of executables... " >&6; }
4218 if { { ac_try
="$ac_link"
4220 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4221 *) ac_try_echo=$ac_try;;
4223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4224 $as_echo "$ac_try_echo"; } >&5
4225 (eval "$ac_link") 2>&5
4227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4228 test $ac_status = 0; }; then :
4229 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4230 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4231 # work properly (i.e., refer to `conftest.exe'), while it won't with
4233 for ac_file
in conftest.exe conftest conftest.
*; do
4234 test -f "$ac_file" ||
continue
4236 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4237 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4245 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4246 See \`config.log' for more details" "$LINENO" 5; }
4248 rm -f conftest conftest
$ac_cv_exeext
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4250 $as_echo "$ac_cv_exeext" >&6; }
4252 rm -f conftest.
$ac_ext
4253 EXEEXT
=$ac_cv_exeext
4255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4261 FILE *f = fopen ("conftest.out", "w");
4262 return ferror (f) || fclose (f) != 0;
4268 ac_clean_files
="$ac_clean_files conftest.out"
4269 # Check that the compiler produces executables we can run. If not, either
4270 # the compiler is broken, or we cross compile.
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4272 $as_echo_n "checking whether we are cross compiling... " >&6; }
4273 if test "$cross_compiling" != yes; then
4274 { { ac_try
="$ac_link"
4276 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4277 *) ac_try_echo=$ac_try;;
4279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4280 $as_echo "$ac_try_echo"; } >&5
4281 (eval "$ac_link") 2>&5
4283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4284 test $ac_status = 0; }
4285 if { ac_try='./conftest$ac_cv_exeext'
4286 { { case "(($ac_try" in
4287 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4288 *) ac_try_echo
=$ac_try;;
4290 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4291 $as_echo "$ac_try_echo"; } >&5
4292 (eval "$ac_try") 2>&5
4294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4295 test $ac_status = 0; }; }; then
4298 if test "$cross_compiling" = maybe
; then
4301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4303 as_fn_error $?
"cannot run C compiled programs.
4304 If you meant to cross compile, use \`--host'.
4305 See \`config.log' for more details" "$LINENO" 5; }
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4310 $as_echo "$cross_compiling" >&6; }
4312 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4313 ac_clean_files
=$ac_clean_files_save
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4315 $as_echo_n "checking for suffix of object files... " >&6; }
4316 if ${ac_cv_objext+:} false
; then :
4317 $as_echo_n "(cached) " >&6
4319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4320 /* end confdefs.h. */
4330 rm -f conftest.o conftest.obj
4331 if { { ac_try
="$ac_compile"
4333 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4334 *) ac_try_echo=$ac_try;;
4336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4337 $as_echo "$ac_try_echo"; } >&5
4338 (eval "$ac_compile") 2>&5
4340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4341 test $ac_status = 0; }; then :
4342 for ac_file in conftest.o conftest.obj conftest.*; do
4343 test -f "$ac_file" || continue;
4345 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4346 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4351 $as_echo "$as_me: failed program was:" >&5
4352 sed 's/^/| /' conftest.$ac_ext >&5
4354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4356 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4357 See \
`config.log' for more details" "$LINENO" 5; }
4359 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4362 $as_echo "$ac_cv_objext" >&6; }
4363 OBJEXT=$ac_cv_objext
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4366 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4367 if ${ac_cv_c_compiler_gnu+:} false; then :
4368 $as_echo_n "(cached) " >&6
4370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4371 /* end confdefs.h. */
4384 if ac_fn_c_try_compile "$LINENO"; then :
4389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4390 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4394 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4395 if test $ac_compiler_gnu = yes; then
4400 ac_test_CFLAGS=${CFLAGS+set}
4401 ac_save_CFLAGS=$CFLAGS
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4403 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4404 if ${ac_cv_prog_cc_g+:} false; then :
4405 $as_echo_n "(cached) " >&6
4407 ac_save_c_werror_flag=$ac_c_werror_flag
4408 ac_c_werror_flag=yes
4411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4412 /* end confdefs.h. */
4422 if ac_fn_c_try_compile "$LINENO"; then :
4426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4427 /* end confdefs.h. */
4437 if ac_fn_c_try_compile "$LINENO"; then :
4440 ac_c_werror_flag=$ac_save_c_werror_flag
4442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4443 /* end confdefs.h. */
4453 if ac_fn_c_try_compile "$LINENO"; then :
4456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4461 ac_c_werror_flag=$ac_save_c_werror_flag
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4464 $as_echo "$ac_cv_prog_cc_g" >&6; }
4465 if test "$ac_test_CFLAGS" = set; then
4466 CFLAGS=$ac_save_CFLAGS
4467 elif test $ac_cv_prog_cc_g = yes; then
4468 if test "$GCC" = yes; then
4474 if test "$GCC" = yes; then
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4481 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4482 if ${ac_cv_prog_cc_c89+:} false; then :
4483 $as_echo_n "(cached) " >&6
4485 ac_cv_prog_cc_c89=no
4487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h. */
4492 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4493 struct buf { int x; };
4494 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4495 static char *e (p, i)
4501 static char *f (char * (*g) (char **, int), char **p, ...)
4506 s = g (p, va_arg (v,int));
4511 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4512 function prototypes and stuff, but not '\xHH' hex character constants.
4513 These don't provoke an error unfortunately, instead are silently treated
4514 as 'x'. The following induces an error, until -std is added to get
4515 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4516 array size at least. It's necessary to write '\x00'==0 to get something
4517 that's true only with -std. */
4518 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4520 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4521 inside strings and character constants. */
4523 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4525 int test (int i, double x);
4526 struct s1 {int (*f) (int a);};
4527 struct s2 {int (*f) (double a);};
4528 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4534 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4539 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4540 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4542 CC="$ac_save_CC $ac_arg"
4543 if ac_fn_c_try_compile "$LINENO"; then :
4544 ac_cv_prog_cc_c89=$ac_arg
4546 rm -f core conftest.err conftest.$ac_objext
4547 test "x$ac_cv_prog_cc_c89" != "xno" && break
4549 rm -f conftest.$ac_ext
4554 case "x$ac_cv_prog_cc_c89" in
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4557 $as_echo "none needed" >&6; } ;;
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4560 $as_echo "unsupported" >&6; } ;;
4562 CC="$CC $ac_cv_prog_cc_c89"
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4564 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4566 if test "x$ac_cv_prog_cc_c89" != xno; then :
4571 ac_cpp='$CPP $CPPFLAGS'
4572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4577 ac_cpp='$CXXCPP $CPPFLAGS'
4578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4581 if test -z "$CXX"; then
4582 if test -n "$CCC"; then
4585 if test -n "$ac_tool_prefix"; then
4586 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4588 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4589 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4591 $as_echo_n "checking for $ac_word... " >&6; }
4592 if ${ac_cv_prog_CXX+:} false; then :
4593 $as_echo_n "(cached) " >&6
4595 if test -n "$CXX"; then
4596 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4602 test -z "$as_dir" && as_dir=.
4603 for ac_exec_ext in '' $ac_executable_extensions; do
4604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4605 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4616 if test -n "$CXX"; then
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4618 $as_echo "$CXX" >&6; }
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4621 $as_echo "no" >&6; }
4625 test -n "$CXX" && break
4628 if test -z "$CXX"; then
4630 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4632 # Extract the first word of "$ac_prog", so it can be a program name with args.
4633 set dummy $ac_prog; ac_word=$2
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4635 $as_echo_n "checking for $ac_word... " >&6; }
4636 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4637 $as_echo_n "(cached) " >&6
4639 if test -n "$ac_ct_CXX"; then
4640 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4646 test -z "$as_dir" && as_dir=.
4647 for ac_exec_ext in '' $ac_executable_extensions; do
4648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4649 ac_cv_prog_ac_ct_CXX="$ac_prog"
4650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4659 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4660 if test -n "$ac_ct_CXX"; then
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4662 $as_echo "$ac_ct_CXX" >&6; }
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4665 $as_echo "no" >&6; }
4669 test -n "$ac_ct_CXX" && break
4672 if test "x$ac_ct_CXX" = x; then
4675 case $cross_compiling:$ac_tool_warned in
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4678 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4679 ac_tool_warned=yes ;;
4687 # Provide some information about the compiler.
4688 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4691 for ac_option in --version -v -V -qversion; do
4692 { { ac_try="$ac_compiler $ac_option >&5"
4694 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4695 *) ac_try_echo
=$ac_try;;
4697 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4698 $as_echo "$ac_try_echo"; } >&5
4699 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4701 if test -s conftest.err
; then
4703 ... rest of stderr output deleted ...
4704 10q' conftest.err
>conftest.er1
4705 cat conftest.er1
>&5
4707 rm -f conftest.er1 conftest.err
4708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4709 test $ac_status = 0; }
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4713 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4714 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4715 $as_echo_n "(cached) " >&6
4717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4718 /* end confdefs.h. */
4731 if ac_fn_cxx_try_compile
"$LINENO"; then :
4736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4737 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4741 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4742 if test $ac_compiler_gnu = yes; then
4747 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4748 ac_save_CXXFLAGS
=$CXXFLAGS
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4750 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4751 if ${ac_cv_prog_cxx_g+:} false
; then :
4752 $as_echo_n "(cached) " >&6
4754 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4755 ac_cxx_werror_flag
=yes
4758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4759 /* end confdefs.h. */
4769 if ac_fn_cxx_try_compile
"$LINENO"; then :
4770 ac_cv_prog_cxx_g
=yes
4773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4774 /* end confdefs.h. */
4784 if ac_fn_cxx_try_compile
"$LINENO"; then :
4787 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4800 if ac_fn_cxx_try_compile
"$LINENO"; then :
4801 ac_cv_prog_cxx_g
=yes
4803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4808 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4811 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4812 if test "$ac_test_CXXFLAGS" = set; then
4813 CXXFLAGS
=$ac_save_CXXFLAGS
4814 elif test $ac_cv_prog_cxx_g = yes; then
4815 if test "$GXX" = yes; then
4821 if test "$GXX" = yes; then
4828 ac_cpp
='$CPP $CPPFLAGS'
4829 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4830 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4831 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4833 if test -n "$ac_tool_prefix"; then
4834 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4835 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4837 $as_echo_n "checking for $ac_word... " >&6; }
4838 if ${ac_cv_prog_CPPBIN+:} false
; then :
4839 $as_echo_n "(cached) " >&6
4841 if test -n "$CPPBIN"; then
4842 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4848 test -z "$as_dir" && as_dir
=.
4849 for ac_exec_ext
in '' $ac_executable_extensions; do
4850 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4851 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4861 CPPBIN
=$ac_cv_prog_CPPBIN
4862 if test -n "$CPPBIN"; then
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4864 $as_echo "$CPPBIN" >&6; }
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4867 $as_echo "no" >&6; }
4872 if test -z "$ac_cv_prog_CPPBIN"; then
4873 ac_ct_CPPBIN
=$CPPBIN
4874 # Extract the first word of "cpp", so it can be a program name with args.
4875 set dummy cpp
; ac_word
=$2
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 $as_echo_n "checking for $ac_word... " >&6; }
4878 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4879 $as_echo_n "(cached) " >&6
4881 if test -n "$ac_ct_CPPBIN"; then
4882 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4888 test -z "$as_dir" && as_dir
=.
4889 for ac_exec_ext
in '' $ac_executable_extensions; do
4890 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4891 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4901 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4902 if test -n "$ac_ct_CPPBIN"; then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4904 $as_echo "$ac_ct_CPPBIN" >&6; }
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 $as_echo "no" >&6; }
4910 if test "x$ac_ct_CPPBIN" = x
; then
4913 case $cross_compiling:$ac_tool_warned in
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4917 ac_tool_warned
=yes ;;
4919 CPPBIN
=$ac_ct_CPPBIN
4922 CPPBIN
="$ac_cv_prog_CPPBIN"
4926 cat >>confdefs.h
<<_ACEOF
4927 #define EXEEXT "$ac_exeext"
4930 if test -n "$ac_tool_prefix"; then
4931 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4932 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4934 $as_echo_n "checking for $ac_word... " >&6; }
4935 if ${ac_cv_prog_LD+:} false
; then :
4936 $as_echo_n "(cached) " >&6
4938 if test -n "$LD"; then
4939 ac_cv_prog_LD
="$LD" # Let the user override the test.
4941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4945 test -z "$as_dir" && as_dir
=.
4946 for ac_exec_ext
in '' $ac_executable_extensions; do
4947 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4948 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4959 if test -n "$LD"; then
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4961 $as_echo "$LD" >&6; }
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 $as_echo "no" >&6; }
4969 if test -z "$ac_cv_prog_LD"; then
4971 # Extract the first word of "ld", so it can be a program name with args.
4972 set dummy ld
; ac_word
=$2
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4975 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4976 $as_echo_n "(cached) " >&6
4978 if test -n "$ac_ct_LD"; then
4979 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4985 test -z "$as_dir" && as_dir
=.
4986 for ac_exec_ext
in '' $ac_executable_extensions; do
4987 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4988 ac_cv_prog_ac_ct_LD
="ld"
4989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4998 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4999 if test -n "$ac_ct_LD"; then
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5001 $as_echo "$ac_ct_LD" >&6; }
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 $as_echo "no" >&6; }
5007 if test "x$ac_ct_LD" = x
; then
5010 case $cross_compiling:$ac_tool_warned in
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5014 ac_tool_warned
=yes ;;
5025 with_fontconfig
=${with_fontconfig:-no}
5027 *-mingw32*|
*-cygwin*)
5028 enable_win16
=${enable_win16:-no}
5029 CFLAGS
="$CFLAGS -D_WIN32"
5035 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5040 $as_echo_n "checking whether $CC works... " >&6; }
5042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5043 /* end confdefs.h. */
5053 if ac_fn_c_try_link
"$LINENO"; then :
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5055 $as_echo "yes" >&6; }
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5059 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5061 rm -f core conftest.err conftest.
$ac_objext \
5062 conftest
$ac_exeext conftest.
$ac_ext
5064 notice_platform
="32-bit "
5067 enable_win16
=${enable_win16:-yes}
5069 if test "x${GCC}" = "xyes"
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5072 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5074 /* end confdefs.h. */
5079 void func(__builtin_ms_va_list *args);
5084 if ac_fn_c_try_compile
"$LINENO"; then :
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5086 $as_echo "yes" >&6; }
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5089 $as_echo "no" >&6; }
5090 as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5097 notice_platform
="64-bit "
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5104 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5106 /* end confdefs.h. */
5107 int ac_test(int i) { return i; }
5111 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5116 if ac_fn_c_try_link
"$LINENO"; then :
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5118 $as_echo "yes" >&6; }
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5121 $as_echo "no" >&6; }
5122 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5124 rm -f core conftest.err conftest.
$ac_objext \
5125 conftest
$ac_exeext conftest.
$ac_ext
5126 CFLAGS
="$CFLAGS -marm"
5131 enable_win16
=${enable_win16:-yes}
5135 enable_win16
=${enable_win16:-no}
5136 enable_win64
=${enable_win64:-no}
5138 enable_winetest
=${enable_winetest:-$enable_tests}
5140 if test -n "$with_wine64"
5142 if test "x$enable_win64" = "xyes"
5144 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5145 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5147 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5148 You should create a separate build directory and run configure from there." "$LINENO" 5
5149 enable_fonts
=${enable_fonts:-no}
5150 enable_server
=${enable_server:-no}
5151 elif test "x$enable_win64" = "xyes"
5153 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5157 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5158 if ${wine_cv_toolsdir+:} false
; then :
5159 $as_echo_n "(cached) " >&6
5161 wine_cv_toolsdir
="$with_wine_tools"
5162 if test -z "$with_wine_tools"; then
5163 if test "$cross_compiling" = "yes"; then
5164 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5165 elif test -n "$with_wine64"; then
5166 wine_cv_toolsdir
="$with_wine64"
5169 if test -z "$wine_cv_toolsdir"; then
5170 wine_makedep
=tools
/makedep
5171 wine_cv_toolsdir
="\$(top_builddir)"
5172 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5173 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5174 case "$wine_cv_toolsdir" in
5176 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5178 enable_tools
=${enable_tools:-no}
5179 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5181 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5185 $as_echo "$wine_cv_toolsdir" >&6; }
5186 TOOLSDIR
=$wine_cv_toolsdir
5188 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5190 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5196 # Extract the first word of "$ac_prog", so it can be a program name with args.
5197 set dummy
$ac_prog; ac_word
=$2
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5199 $as_echo_n "checking for $ac_word... " >&6; }
5200 if ${ac_cv_prog_FLEX+:} false
; then :
5201 $as_echo_n "(cached) " >&6
5203 if test -n "$FLEX"; then
5204 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5210 test -z "$as_dir" && as_dir
=.
5211 for ac_exec_ext
in '' $ac_executable_extensions; do
5212 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5213 ac_cv_prog_FLEX
="$ac_prog"
5214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5223 FLEX
=$ac_cv_prog_FLEX
5224 if test -n "$FLEX"; then
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5226 $as_echo "$FLEX" >&6; }
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5229 $as_echo "no" >&6; }
5233 test -n "$FLEX" && break
5235 test -n "$FLEX" || FLEX
="none"
5237 if test "$FLEX" = "none"
5239 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5242 $as_echo_n "checking whether flex is recent enough... " >&6; }
5243 cat >conftest.l
<<EOF
5245 #include "prediluvian.h"
5249 if $FLEX -t conftest.l
>/dev
/null
2>&5
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5252 $as_echo "yes" >&6; }
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5255 $as_echo "no" >&6; }
5256 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5259 for ac_prog
in bison
5261 # Extract the first word of "$ac_prog", so it can be a program name with args.
5262 set dummy
$ac_prog; ac_word
=$2
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5264 $as_echo_n "checking for $ac_word... " >&6; }
5265 if ${ac_cv_prog_BISON+:} false
; then :
5266 $as_echo_n "(cached) " >&6
5268 if test -n "$BISON"; then
5269 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5275 test -z "$as_dir" && as_dir
=.
5276 for ac_exec_ext
in '' $ac_executable_extensions; do
5277 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5278 ac_cv_prog_BISON
="$ac_prog"
5279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5288 BISON
=$ac_cv_prog_BISON
5289 if test -n "$BISON"; then
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5291 $as_echo "$BISON" >&6; }
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5294 $as_echo "no" >&6; }
5298 test -n "$BISON" && break
5300 test -n "$BISON" || BISON
="none"
5302 if test "$BISON" = "none"
5304 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5307 if test -n "$ac_tool_prefix"; then
5308 for ac_prog
in ar gar
5310 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5311 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5313 $as_echo_n "checking for $ac_word... " >&6; }
5314 if ${ac_cv_prog_AR+:} false
; then :
5315 $as_echo_n "(cached) " >&6
5317 if test -n "$AR"; then
5318 ac_cv_prog_AR
="$AR" # Let the user override the test.
5320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5324 test -z "$as_dir" && as_dir
=.
5325 for ac_exec_ext
in '' $ac_executable_extensions; do
5326 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5327 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5338 if test -n "$AR"; then
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5340 $as_echo "$AR" >&6; }
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5343 $as_echo "no" >&6; }
5347 test -n "$AR" && break
5350 if test -z "$AR"; then
5352 for ac_prog
in ar gar
5354 # Extract the first word of "$ac_prog", so it can be a program name with args.
5355 set dummy
$ac_prog; ac_word
=$2
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5357 $as_echo_n "checking for $ac_word... " >&6; }
5358 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5359 $as_echo_n "(cached) " >&6
5361 if test -n "$ac_ct_AR"; then
5362 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5368 test -z "$as_dir" && as_dir
=.
5369 for ac_exec_ext
in '' $ac_executable_extensions; do
5370 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5371 ac_cv_prog_ac_ct_AR
="$ac_prog"
5372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5381 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5382 if test -n "$ac_ct_AR"; then
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5384 $as_echo "$ac_ct_AR" >&6; }
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5387 $as_echo "no" >&6; }
5391 test -n "$ac_ct_AR" && break
5394 if test "x$ac_ct_AR" = x
; then
5397 case $cross_compiling:$ac_tool_warned in
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5400 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5401 ac_tool_warned
=yes ;;
5407 if test -n "$ac_tool_prefix"; then
5408 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5409 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5411 $as_echo_n "checking for $ac_word... " >&6; }
5412 if ${ac_cv_prog_STRIP+:} false
; then :
5413 $as_echo_n "(cached) " >&6
5415 if test -n "$STRIP"; then
5416 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5422 test -z "$as_dir" && as_dir
=.
5423 for ac_exec_ext
in '' $ac_executable_extensions; do
5424 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5425 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5435 STRIP
=$ac_cv_prog_STRIP
5436 if test -n "$STRIP"; then
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5438 $as_echo "$STRIP" >&6; }
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5441 $as_echo "no" >&6; }
5446 if test -z "$ac_cv_prog_STRIP"; then
5448 # Extract the first word of "strip", so it can be a program name with args.
5449 set dummy strip
; ac_word
=$2
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5451 $as_echo_n "checking for $ac_word... " >&6; }
5452 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5453 $as_echo_n "(cached) " >&6
5455 if test -n "$ac_ct_STRIP"; then
5456 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5462 test -z "$as_dir" && as_dir
=.
5463 for ac_exec_ext
in '' $ac_executable_extensions; do
5464 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5465 ac_cv_prog_ac_ct_STRIP
="strip"
5466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5475 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5476 if test -n "$ac_ct_STRIP"; then
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5478 $as_echo "$ac_ct_STRIP" >&6; }
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5481 $as_echo "no" >&6; }
5484 if test "x$ac_ct_STRIP" = x
; then
5487 case $cross_compiling:$ac_tool_warned in
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5491 ac_tool_warned
=yes ;;
5496 STRIP
="$ac_cv_prog_STRIP"
5501 if test -n "$ac_tool_prefix"; then
5502 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5503 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5505 $as_echo_n "checking for $ac_word... " >&6; }
5506 if ${ac_cv_prog_RANLIB+:} false
; then :
5507 $as_echo_n "(cached) " >&6
5509 if test -n "$RANLIB"; then
5510 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5516 test -z "$as_dir" && as_dir
=.
5517 for ac_exec_ext
in '' $ac_executable_extensions; do
5518 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5519 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5529 RANLIB
=$ac_cv_prog_RANLIB
5530 if test -n "$RANLIB"; then
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5532 $as_echo "$RANLIB" >&6; }
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5535 $as_echo "no" >&6; }
5540 if test -z "$ac_cv_prog_RANLIB"; then
5541 ac_ct_RANLIB
=$RANLIB
5542 # Extract the first word of "ranlib", so it can be a program name with args.
5543 set dummy ranlib
; ac_word
=$2
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5545 $as_echo_n "checking for $ac_word... " >&6; }
5546 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5547 $as_echo_n "(cached) " >&6
5549 if test -n "$ac_ct_RANLIB"; then
5550 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5556 test -z "$as_dir" && as_dir
=.
5557 for ac_exec_ext
in '' $ac_executable_extensions; do
5558 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5559 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5569 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5570 if test -n "$ac_ct_RANLIB"; then
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5572 $as_echo "$ac_ct_RANLIB" >&6; }
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5575 $as_echo "no" >&6; }
5578 if test "x$ac_ct_RANLIB" = x
; then
5581 case $cross_compiling:$ac_tool_warned in
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5585 ac_tool_warned
=yes ;;
5587 RANLIB
=$ac_ct_RANLIB
5590 RANLIB
="$ac_cv_prog_RANLIB"
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5594 $as_echo_n "checking whether ln -s works... " >&6; }
5596 if test "$LN_S" = "ln -s"; then
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5598 $as_echo "yes" >&6; }
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5601 $as_echo "no, using $LN_S" >&6; }
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5605 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5606 if ${ac_cv_path_GREP+:} false
; then :
5607 $as_echo_n "(cached) " >&6
5609 if test -z "$GREP"; then
5610 ac_path_GREP_found
=false
5611 # Loop through the user's path and test for each of PROGNAME-LIST
5612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5613 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5616 test -z "$as_dir" && as_dir
=.
5617 for ac_prog
in grep ggrep
; do
5618 for ac_exec_ext
in '' $ac_executable_extensions; do
5619 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5620 as_fn_executable_p
"$ac_path_GREP" ||
continue
5621 # Check for GNU ac_path_GREP and select it if it is found.
5622 # Check for GNU $ac_path_GREP
5623 case `"$ac_path_GREP" --version 2>&1` in
5625 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5628 $as_echo_n 0123456789 >"conftest.in"
5631 cat "conftest.in" "conftest.in" >"conftest.tmp"
5632 mv "conftest.tmp" "conftest.in"
5633 cp "conftest.in" "conftest.nl"
5634 $as_echo 'GREP' >> "conftest.nl"
5635 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5636 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5637 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5638 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5639 # Best one so far, save it but keep looking for a better one
5640 ac_cv_path_GREP
="$ac_path_GREP"
5641 ac_path_GREP_max
=$ac_count
5643 # 10*(2^10) chars as input seems more than enough
5644 test $ac_count -gt 10 && break
5646 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5649 $ac_path_GREP_found && break 3
5654 if test -z "$ac_cv_path_GREP"; then
5655 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5658 ac_cv_path_GREP
=$GREP
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5663 $as_echo "$ac_cv_path_GREP" >&6; }
5664 GREP
="$ac_cv_path_GREP"
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5668 $as_echo_n "checking for egrep... " >&6; }
5669 if ${ac_cv_path_EGREP+:} false
; then :
5670 $as_echo_n "(cached) " >&6
5672 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5673 then ac_cv_path_EGREP
="$GREP -E"
5675 if test -z "$EGREP"; then
5676 ac_path_EGREP_found
=false
5677 # Loop through the user's path and test for each of PROGNAME-LIST
5678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5679 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5682 test -z "$as_dir" && as_dir
=.
5683 for ac_prog
in egrep; do
5684 for ac_exec_ext
in '' $ac_executable_extensions; do
5685 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5686 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5687 # Check for GNU ac_path_EGREP and select it if it is found.
5688 # Check for GNU $ac_path_EGREP
5689 case `"$ac_path_EGREP" --version 2>&1` in
5691 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5694 $as_echo_n 0123456789 >"conftest.in"
5697 cat "conftest.in" "conftest.in" >"conftest.tmp"
5698 mv "conftest.tmp" "conftest.in"
5699 cp "conftest.in" "conftest.nl"
5700 $as_echo 'EGREP' >> "conftest.nl"
5701 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5702 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5703 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5704 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5705 # Best one so far, save it but keep looking for a better one
5706 ac_cv_path_EGREP
="$ac_path_EGREP"
5707 ac_path_EGREP_max
=$ac_count
5709 # 10*(2^10) chars as input seems more than enough
5710 test $ac_count -gt 10 && break
5712 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5715 $ac_path_EGREP_found && break 3
5720 if test -z "$ac_cv_path_EGREP"; then
5721 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5724 ac_cv_path_EGREP
=$EGREP
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5730 $as_echo "$ac_cv_path_EGREP" >&6; }
5731 EGREP
="$ac_cv_path_EGREP"
5734 # Extract the first word of "ldconfig", so it can be a program name with args.
5735 set dummy ldconfig
; ac_word
=$2
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5737 $as_echo_n "checking for $ac_word... " >&6; }
5738 if ${ac_cv_path_LDCONFIG+:} false
; then :
5739 $as_echo_n "(cached) " >&6
5743 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5747 for as_dir
in /sbin
/usr
/sbin
$PATH
5750 test -z "$as_dir" && as_dir
=.
5751 for ac_exec_ext
in '' $ac_executable_extensions; do
5752 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5753 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5761 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5765 LDCONFIG
=$ac_cv_path_LDCONFIG
5766 if test -n "$LDCONFIG"; then
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5768 $as_echo "$LDCONFIG" >&6; }
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5771 $as_echo "no" >&6; }
5775 for ac_prog
in msgfmt
5777 # Extract the first word of "$ac_prog", so it can be a program name with args.
5778 set dummy
$ac_prog; ac_word
=$2
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5780 $as_echo_n "checking for $ac_word... " >&6; }
5781 if ${ac_cv_prog_MSGFMT+:} false
; then :
5782 $as_echo_n "(cached) " >&6
5784 if test -n "$MSGFMT"; then
5785 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5791 test -z "$as_dir" && as_dir
=.
5792 for ac_exec_ext
in '' $ac_executable_extensions; do
5793 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5794 ac_cv_prog_MSGFMT
="$ac_prog"
5795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5804 MSGFMT
=$ac_cv_prog_MSGFMT
5805 if test -n "$MSGFMT"; then
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5807 $as_echo "$MSGFMT" >&6; }
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5810 $as_echo "no" >&6; }
5814 test -n "$MSGFMT" && break
5816 test -n "$MSGFMT" || MSGFMT
="false"
5818 if ${ac_tool_prefix+:} false
; then :
5819 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5820 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5822 $as_echo_n "checking for $ac_word... " >&6; }
5823 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5824 $as_echo_n "(cached) " >&6
5826 if test -n "$PKG_CONFIG"; then
5827 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5833 test -z "$as_dir" && as_dir
=.
5834 for ac_exec_ext
in '' $ac_executable_extensions; do
5835 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5836 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5846 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5847 if test -n "$PKG_CONFIG"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5849 $as_echo "$PKG_CONFIG" >&6; }
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 $as_echo "no" >&6; }
5857 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5858 if test "x$cross_compiling" = xyes
; then :
5861 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5862 # Extract the first word of "pkg-config", so it can be a program name with args.
5863 set dummy pkg-config
; ac_word
=$2
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5865 $as_echo_n "checking for $ac_word... " >&6; }
5866 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5867 $as_echo_n "(cached) " >&6
5869 if test -n "$PKG_CONFIG"; then
5870 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5876 test -z "$as_dir" && as_dir
=.
5877 for ac_exec_ext
in '' $ac_executable_extensions; do
5878 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5879 ac_cv_prog_PKG_CONFIG
="pkg-config"
5880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5889 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5890 if test -n "$PKG_CONFIG"; then
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5892 $as_echo "$PKG_CONFIG" >&6; }
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5895 $as_echo "no" >&6; }
5901 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5904 if test "x$enable_maintainer_mode" != "xyes"
5911 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5912 for ac_prog
in fontforge
5914 # Extract the first word of "$ac_prog", so it can be a program name with args.
5915 set dummy
$ac_prog; ac_word
=$2
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5917 $as_echo_n "checking for $ac_word... " >&6; }
5918 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5919 $as_echo_n "(cached) " >&6
5921 if test -n "$FONTFORGE"; then
5922 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5928 test -z "$as_dir" && as_dir
=.
5929 for ac_exec_ext
in '' $ac_executable_extensions; do
5930 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5931 ac_cv_prog_FONTFORGE
="$ac_prog"
5932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5941 FONTFORGE
=$ac_cv_prog_FONTFORGE
5942 if test -n "$FONTFORGE"; then
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5944 $as_echo "$FONTFORGE" >&6; }
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5947 $as_echo "no" >&6; }
5951 test -n "$FONTFORGE" && break
5953 test -n "$FONTFORGE" || FONTFORGE
="false"
5955 for ac_prog
in rsvg-convert rsvg
5957 # Extract the first word of "$ac_prog", so it can be a program name with args.
5958 set dummy
$ac_prog; ac_word
=$2
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5960 $as_echo_n "checking for $ac_word... " >&6; }
5961 if ${ac_cv_prog_RSVG+:} false
; then :
5962 $as_echo_n "(cached) " >&6
5964 if test -n "$RSVG"; then
5965 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5971 test -z "$as_dir" && as_dir
=.
5972 for ac_exec_ext
in '' $ac_executable_extensions; do
5973 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5974 ac_cv_prog_RSVG
="$ac_prog"
5975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5984 RSVG
=$ac_cv_prog_RSVG
5985 if test -n "$RSVG"; then
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5987 $as_echo "$RSVG" >&6; }
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5990 $as_echo "no" >&6; }
5994 test -n "$RSVG" && break
5996 test -n "$RSVG" || RSVG
="false"
5998 for ac_prog
in convert
6000 # Extract the first word of "$ac_prog", so it can be a program name with args.
6001 set dummy
$ac_prog; ac_word
=$2
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003 $as_echo_n "checking for $ac_word... " >&6; }
6004 if ${ac_cv_prog_CONVERT+:} false
; then :
6005 $as_echo_n "(cached) " >&6
6007 if test -n "$CONVERT"; then
6008 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
6010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6014 test -z "$as_dir" && as_dir
=.
6015 for ac_exec_ext
in '' $ac_executable_extensions; do
6016 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6017 ac_cv_prog_CONVERT
="$ac_prog"
6018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6027 CONVERT
=$ac_cv_prog_CONVERT
6028 if test -n "$CONVERT"; then
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6030 $as_echo "$CONVERT" >&6; }
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6033 $as_echo "no" >&6; }
6037 test -n "$CONVERT" && break
6039 test -n "$CONVERT" || CONVERT
="false"
6041 for ac_prog
in icotool
6043 # Extract the first word of "$ac_prog", so it can be a program name with args.
6044 set dummy
$ac_prog; ac_word
=$2
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6046 $as_echo_n "checking for $ac_word... " >&6; }
6047 if ${ac_cv_prog_ICOTOOL+:} false
; then :
6048 $as_echo_n "(cached) " >&6
6050 if test -n "$ICOTOOL"; then
6051 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6057 test -z "$as_dir" && as_dir
=.
6058 for ac_exec_ext
in '' $ac_executable_extensions; do
6059 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6060 ac_cv_prog_ICOTOOL
="$ac_prog"
6061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6070 ICOTOOL
=$ac_cv_prog_ICOTOOL
6071 if test -n "$ICOTOOL"; then
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6073 $as_echo "$ICOTOOL" >&6; }
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6076 $as_echo "no" >&6; }
6080 test -n "$ICOTOOL" && break
6082 test -n "$ICOTOOL" || ICOTOOL
="false"
6084 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6085 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6087 if test "$CONVERT" = false
6089 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6092 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6093 convert_version
=`convert --version | head -n1`
6094 if test "x$convert_version" != "x"
6096 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6097 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6098 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6103 if test "$CONVERT" = false
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6106 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6107 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6110 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6114 if test "$ICOTOOL" = false
6116 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6119 $as_echo_n "checking for recent enough icotool... " >&6; }
6120 icotool_version
=`icotool --version | head -n1`
6121 if test "x$icotool_version" != "x"
6123 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6124 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6125 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6128 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6131 if test "$ICOTOOL" = false
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6134 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6135 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6138 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6144 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6147 test "x$with_gettext" != xno || MSGFMT
=false
6148 if test "$MSGFMT" != "false"
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6151 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6152 cat >conftest.po
<<EOF
6158 if $MSGFMT -o /dev
/null conftest.po
2>&5
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6161 $as_echo "yes" >&6; }
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6164 $as_echo "no" >&6; }
6168 if test "$MSGFMT" = false
; then :
6169 case "x$with_gettext" in
6170 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6172 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6173 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6175 enable_po
=${enable_po:-no}
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6180 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6181 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6182 $as_echo_n "(cached) " >&6
6184 ac_check_lib_save_LIBS
=$LIBS
6186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6187 /* end confdefs.h. */
6189 /* Override any GCC internal prototype to avoid an error.
6190 Use char because int might match the return type of a GCC
6191 builtin and then its argument prototype would still apply. */
6195 char i386_set_ldt ();
6199 return i386_set_ldt ();
6204 if ac_fn_c_try_link
"$LINENO"; then :
6205 ac_cv_lib_i386_i386_set_ldt
=yes
6207 ac_cv_lib_i386_i386_set_ldt
=no
6209 rm -f core conftest.err conftest.
$ac_objext \
6210 conftest
$ac_exeext conftest.
$ac_ext
6211 LIBS
=$ac_check_lib_save_LIBS
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6214 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6215 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6216 cat >>confdefs.h
<<_ACEOF
6217 #define HAVE_LIBI386 1
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6225 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6226 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6227 $as_echo_n "(cached) " >&6
6229 ac_check_lib_save_LIBS
=$LIBS
6230 LIBS
="-lossaudio $LIBS"
6231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6232 /* end confdefs.h. */
6234 /* Override any GCC internal prototype to avoid an error.
6235 Use char because int might match the return type of a GCC
6236 builtin and then its argument prototype would still apply. */
6244 return _oss_ioctl ();
6249 if ac_fn_c_try_link
"$LINENO"; then :
6250 ac_cv_lib_ossaudio__oss_ioctl
=yes
6252 ac_cv_lib_ossaudio__oss_ioctl
=no
6254 rm -f core conftest.err conftest.
$ac_objext \
6255 conftest
$ac_exeext conftest.
$ac_ext
6256 LIBS
=$ac_check_lib_save_LIBS
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6259 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6260 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6261 cat >>confdefs.h
<<_ACEOF
6262 #define HAVE_LIBOSSAUDIO 1
6265 LIBS
="-lossaudio $LIBS"
6274 # Check whether --enable-largefile was given.
6275 if test "${enable_largefile+set}" = set; then :
6276 enableval
=$enable_largefile;
6279 if test "$enable_largefile" != no
; then
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6282 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6283 if ${ac_cv_sys_largefile_CC+:} false
; then :
6284 $as_echo_n "(cached) " >&6
6286 ac_cv_sys_largefile_CC
=no
6287 if test "$GCC" != yes; then
6290 # IRIX 6.2 and later do not support large files by default,
6291 # so use the C compiler's -n32 option if that helps.
6292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6293 /* end confdefs.h. */
6294 #include <sys/types.h>
6295 /* Check that off_t can represent 2**63 - 1 correctly.
6296 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6297 since some C++ compilers masquerading as C compilers
6298 incorrectly reject 9223372036854775807. */
6299 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6300 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6301 && LARGE_OFF_T % 2147483647 == 1)
6311 if ac_fn_c_try_compile
"$LINENO"; then :
6314 rm -f core conftest.err conftest.
$ac_objext
6316 if ac_fn_c_try_compile
"$LINENO"; then :
6317 ac_cv_sys_largefile_CC
=' -n32'; break
6319 rm -f core conftest.err conftest.
$ac_objext
6323 rm -f conftest.
$ac_ext
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6327 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6328 if test "$ac_cv_sys_largefile_CC" != no
; then
6329 CC
=$CC$ac_cv_sys_largefile_CC
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6333 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6334 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6335 $as_echo_n "(cached) " >&6
6338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6339 /* end confdefs.h. */
6340 #include <sys/types.h>
6341 /* Check that off_t can represent 2**63 - 1 correctly.
6342 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6343 since some C++ compilers masquerading as C compilers
6344 incorrectly reject 9223372036854775807. */
6345 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6346 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6347 && LARGE_OFF_T % 2147483647 == 1)
6357 if ac_fn_c_try_compile
"$LINENO"; then :
6358 ac_cv_sys_file_offset_bits
=no
; break
6360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6362 /* end confdefs.h. */
6363 #define _FILE_OFFSET_BITS 64
6364 #include <sys/types.h>
6365 /* Check that off_t can represent 2**63 - 1 correctly.
6366 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6367 since some C++ compilers masquerading as C compilers
6368 incorrectly reject 9223372036854775807. */
6369 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6370 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6371 && LARGE_OFF_T % 2147483647 == 1)
6381 if ac_fn_c_try_compile
"$LINENO"; then :
6382 ac_cv_sys_file_offset_bits
=64; break
6384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6385 ac_cv_sys_file_offset_bits
=unknown
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6390 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6391 case $ac_cv_sys_file_offset_bits in #(
6394 cat >>confdefs.h
<<_ACEOF
6395 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6400 if test $ac_cv_sys_file_offset_bits = unknown
; then
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6402 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6403 if ${ac_cv_sys_large_files+:} false
; then :
6404 $as_echo_n "(cached) " >&6
6407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6408 /* end confdefs.h. */
6409 #include <sys/types.h>
6410 /* Check that off_t can represent 2**63 - 1 correctly.
6411 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6412 since some C++ compilers masquerading as C compilers
6413 incorrectly reject 9223372036854775807. */
6414 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6415 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6416 && LARGE_OFF_T % 2147483647 == 1)
6426 if ac_fn_c_try_compile
"$LINENO"; then :
6427 ac_cv_sys_large_files
=no
; break
6429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6431 /* end confdefs.h. */
6432 #define _LARGE_FILES 1
6433 #include <sys/types.h>
6434 /* Check that off_t can represent 2**63 - 1 correctly.
6435 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6436 since some C++ compilers masquerading as C compilers
6437 incorrectly reject 9223372036854775807. */
6438 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6439 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6440 && LARGE_OFF_T % 2147483647 == 1)
6450 if ac_fn_c_try_compile
"$LINENO"; then :
6451 ac_cv_sys_large_files
=1; break
6453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6454 ac_cv_sys_large_files
=unknown
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6459 $as_echo "$ac_cv_sys_large_files" >&6; }
6460 case $ac_cv_sys_large_files in #(
6463 cat >>confdefs.h
<<_ACEOF
6464 #define _LARGE_FILES $ac_cv_sys_large_files
6476 ac_cpp
='$CPP $CPPFLAGS'
6477 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6478 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6479 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6481 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6482 # On Suns, sometimes $CPP names a directory.
6483 if test -n "$CPP" && test -d "$CPP"; then
6486 if test -z "$CPP"; then
6487 if ${ac_cv_prog_CPP+:} false
; then :
6488 $as_echo_n "(cached) " >&6
6490 # Double quotes because CPP needs to be expanded
6491 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6494 for ac_c_preproc_warn_flag
in '' yes
6496 # Use a header file that comes with gcc, so configuring glibc
6497 # with a fresh cross-compiler works.
6498 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6499 # <limits.h> exists even on freestanding compilers.
6500 # On the NeXT, cc -E runs the code through the compiler's parser,
6501 # not just through cpp. "Syntax error" is here to catch this case.
6502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6503 /* end confdefs.h. */
6505 # include <limits.h>
6507 # include <assert.h>
6511 if ac_fn_c_try_cpp
"$LINENO"; then :
6514 # Broken: fails on valid input.
6517 rm -f conftest.err conftest.i conftest.
$ac_ext
6519 # OK, works on sane cases. Now check whether nonexistent headers
6520 # can be detected and how.
6521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6522 /* end confdefs.h. */
6523 #include <ac_nonexistent.h>
6525 if ac_fn_c_try_cpp
"$LINENO"; then :
6526 # Broken: success on invalid input.
6529 # Passes both tests.
6533 rm -f conftest.err conftest.i conftest.
$ac_ext
6536 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6537 rm -f conftest.i conftest.err conftest.
$ac_ext
6538 if $ac_preproc_ok; then :
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6551 $as_echo "$CPP" >&6; }
6553 for ac_c_preproc_warn_flag
in '' yes
6555 # Use a header file that comes with gcc, so configuring glibc
6556 # with a fresh cross-compiler works.
6557 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6558 # <limits.h> exists even on freestanding compilers.
6559 # On the NeXT, cc -E runs the code through the compiler's parser,
6560 # not just through cpp. "Syntax error" is here to catch this case.
6561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6562 /* end confdefs.h. */
6564 # include <limits.h>
6566 # include <assert.h>
6570 if ac_fn_c_try_cpp
"$LINENO"; then :
6573 # Broken: fails on valid input.
6576 rm -f conftest.err conftest.i conftest.
$ac_ext
6578 # OK, works on sane cases. Now check whether nonexistent headers
6579 # can be detected and how.
6580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6581 /* end confdefs.h. */
6582 #include <ac_nonexistent.h>
6584 if ac_fn_c_try_cpp
"$LINENO"; then :
6585 # Broken: success on invalid input.
6588 # Passes both tests.
6592 rm -f conftest.err conftest.i conftest.
$ac_ext
6595 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6596 rm -f conftest.i conftest.err conftest.
$ac_ext
6597 if $ac_preproc_ok; then :
6600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6602 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6603 See \`config.log' for more details" "$LINENO" 5; }
6607 ac_cpp
='$CPP $CPPFLAGS'
6608 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6609 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6610 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6614 $as_echo_n "checking for ANSI C header files... " >&6; }
6615 if ${ac_cv_header_stdc+:} false
; then :
6616 $as_echo_n "(cached) " >&6
6618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6619 /* end confdefs.h. */
6633 if ac_fn_c_try_compile
"$LINENO"; then :
6634 ac_cv_header_stdc
=yes
6636 ac_cv_header_stdc
=no
6638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6640 if test $ac_cv_header_stdc = yes; then
6641 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6643 /* end confdefs.h. */
6647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6648 $EGREP "memchr" >/dev
/null
2>&1; then :
6651 ac_cv_header_stdc
=no
6657 if test $ac_cv_header_stdc = yes; then
6658 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6660 /* end confdefs.h. */
6664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6665 $EGREP "free" >/dev
/null
2>&1; then :
6668 ac_cv_header_stdc
=no
6674 if test $ac_cv_header_stdc = yes; then
6675 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6676 if test "$cross_compiling" = yes; then :
6679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6680 /* end confdefs.h. */
6683 #if ((' ' & 0x0FF) == 0x020)
6684 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6685 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6687 # define ISLOWER(c) \
6688 (('a' <= (c) && (c) <= 'i') \
6689 || ('j' <= (c) && (c) <= 'r') \
6690 || ('s' <= (c) && (c) <= 'z'))
6691 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6694 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6699 for (i = 0; i < 256; i++)
6700 if (XOR (islower (i), ISLOWER (i))
6701 || toupper (i) != TOUPPER (i))
6706 if ac_fn_c_try_run
"$LINENO"; then :
6709 ac_cv_header_stdc
=no
6711 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6712 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6718 $as_echo "$ac_cv_header_stdc" >&6; }
6719 if test $ac_cv_header_stdc = yes; then
6721 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6725 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6726 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6727 inttypes.h stdint.h unistd.h
6729 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6730 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6732 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6733 cat >>confdefs.h
<<_ACEOF
6734 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6744 ApplicationServices
/ApplicationServices.h \
6745 AudioToolbox
/AudioConverter.h \
6746 AudioUnit
/AudioUnit.h \
6747 AudioUnit
/AudioComponent.h \
6750 CommonCrypto
/CommonDigest.h \
6751 CoreAudio
/CoreAudio.h \
6752 CoreServices
/CoreServices.h \
6753 DiskArbitration
/DiskArbitration.h \
6755 IOKit
/hid
/IOHIDLib.h \
6758 QuickTime
/ImageCompression.h \
6759 Security
/Security.h \
6810 netinet
/in_systm.h \
6874 valgrind
/memcheck.h \
6875 valgrind
/valgrind.h \
6879 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6880 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6881 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6882 cat >>confdefs.h
<<_ACEOF
6883 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6891 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6892 if ${ac_cv_header_sys_types_h_makedev+:} false
; then :
6893 $as_echo_n "(cached) " >&6
6895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6896 /* end confdefs.h. */
6897 #include <sys/types.h>
6901 return makedev(0, 0);
6906 if ac_fn_c_try_link
"$LINENO"; then :
6907 ac_cv_header_sys_types_h_makedev
=yes
6909 ac_cv_header_sys_types_h_makedev
=no
6911 rm -f core conftest.err conftest.
$ac_objext \
6912 conftest
$ac_exeext conftest.
$ac_ext
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6916 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6918 if test $ac_cv_header_sys_types_h_makedev = no
; then
6919 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6920 if test "x$ac_cv_header_sys_mkdev_h" = xyes
; then :
6922 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6928 if test $ac_cv_header_sys_mkdev_h = no
; then
6929 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6930 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
; then :
6932 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6941 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6942 if ${ac_cv_header_stat_broken+:} false
; then :
6943 $as_echo_n "(cached) " >&6
6945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6946 /* end confdefs.h. */
6947 #include <sys/types.h>
6948 #include <sys/stat.h>
6950 #if defined S_ISBLK && defined S_IFDIR
6951 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6954 #if defined S_ISBLK && defined S_IFCHR
6955 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6958 #if defined S_ISLNK && defined S_IFREG
6959 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6962 #if defined S_ISSOCK && defined S_IFREG
6963 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6967 if ac_fn_c_try_compile
"$LINENO"; then :
6968 ac_cv_header_stat_broken
=no
6970 ac_cv_header_stat_broken
=yes
6972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6975 $as_echo "$ac_cv_header_stat_broken" >&6; }
6976 if test $ac_cv_header_stat_broken = yes; then
6978 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6984 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6986 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6987 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6988 #ifdef HAVE_SYS_PARAM_H
6989 # include <sys/param.h>
6992 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6993 cat >>confdefs.h
<<_ACEOF
6994 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7009 netinet
/if_ether.h \
7010 netinet
/if_inarp.h \
7019 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7020 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7021 #ifdef HAVE_SYS_SOCKET_H
7022 # include <sys/socket.h>
7024 #ifdef HAVE_SYS_SOCKETVAR_H
7025 # include <sys/socketvar.h>
7027 #ifdef HAVE_NET_ROUTE_H
7028 # include <net/route.h>
7030 #ifdef HAVE_NETINET_IN_H
7031 # include <netinet/in.h>
7033 #ifdef HAVE_NETINET_IN_SYSTM_H
7034 # include <netinet/in_systm.h>
7036 #ifdef HAVE_NET_IF_H
7037 # include <net/if.h>
7039 #ifdef HAVE_NETINET_IP_H
7040 # include <netinet/ip.h>
7043 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7044 cat >>confdefs.h
<<_ACEOF
7045 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7053 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
7055 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7056 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7060 #ifdef HAVE_SYS_SOCKET_H
7061 # include <sys/socket.h>
7063 #ifdef HAVE_SYS_SOCKETVAR_H
7064 # include <sys/socketvar.h>
7066 #ifdef HAVE_SYS_TIMEOUT_H
7067 # include <sys/timeout.h>
7069 #ifdef HAVE_NETINET_IN_H
7070 # include <netinet/in.h>
7072 #ifdef HAVE_NETINET_IN_SYSTM_H
7073 # include <netinet/in_systm.h>
7075 #ifdef HAVE_NETINET_IP_H
7076 # include <netinet/ip.h>
7078 #ifdef HAVE_NETINET_IP_VAR_H
7079 # include <netinet/ip_var.h>
7081 #ifdef HAVE_NETINET_IP_ICMP_H
7082 # include <netinet/ip_icmp.h>
7084 #ifdef HAVE_NETINET_UDP_H
7085 # include <netinet/udp.h>
7087 #ifdef HAVE_NETINET_TCP_H
7088 # include <netinet/tcp.h>
7090 #ifdef HAVE_NETINET_TCP_TIMER_H
7091 #include <netinet/tcp_timer.h>
7094 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7095 cat >>confdefs.h
<<_ACEOF
7096 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7104 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
7106 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7107 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7108 #ifdef HAVE_ASM_TYPES_H
7109 # include <asm/types.h>
7111 #ifdef HAVE_SYS_SOCKET_H
7112 # include <sys/socket.h>
7114 #ifdef HAVE_LINUX_TYPES_H
7115 # include <linux/types.h>
7118 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7119 cat >>confdefs.h
<<_ACEOF
7120 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7128 for ac_header
in mach-o
/dyld_images.h
7130 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7131 # include <stdbool.h>
7133 #ifdef HAVE_STDINT_H
7134 # include <stdint.h>
7137 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7138 cat >>confdefs.h
<<_ACEOF
7139 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7147 for ac_header
in resolv.h
7149 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7150 #ifdef HAVE_SYS_SOCKET_H
7151 # include <sys/socket.h>
7153 #ifdef HAVE_NETINET_IN_H
7154 # include <netinet/in.h>
7156 #ifdef HAVE_ARPA_NAMESER_H
7157 # include <arpa/nameser.h>
7160 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7161 cat >>confdefs.h
<<_ACEOF
7162 #define HAVE_RESOLV_H 1
7170 for ac_header
in ifaddrs.h
7172 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7174 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7175 cat >>confdefs.h
<<_ACEOF
7176 #define HAVE_IFADDRS_H 1
7184 for ac_header
in sys
/ucontext.h
7186 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7188 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7189 cat >>confdefs.h
<<_ACEOF
7190 #define HAVE_SYS_UCONTEXT_H 1
7198 for ac_header
in sys
/thr.h
7200 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7201 #ifdef HAVE_SYS_UCONTEXT_H
7202 #include <sys/ucontext.h>
7205 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7206 cat >>confdefs.h
<<_ACEOF
7207 #define HAVE_SYS_THR_H 1
7215 for ac_header
in pthread_np.h
7217 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7218 #include <pthread.h>
7221 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7222 cat >>confdefs.h
<<_ACEOF
7223 #define HAVE_PTHREAD_NP_H 1
7231 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7233 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7234 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7235 #include <sys/time.h>
7237 #include <sys/types.h>
7238 #ifdef HAVE_ASM_TYPES_H
7239 #include <asm/types.h>
7242 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7243 cat >>confdefs.h
<<_ACEOF
7244 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7252 for ac_header
in libprocstat.h
7254 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7255 #include <sys/param.h>
7257 #ifdef HAVE_SYS_QUEUE_H
7258 #include <sys/queue.h>
7260 #ifdef HAVE_SYS_SOCKET_H
7261 #include <sys/socket.h>
7264 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7265 cat >>confdefs.h
<<_ACEOF
7266 #define HAVE_LIBPROCSTAT_H 1
7275 dlldir
="\${libdir}/wine"
7277 DLLFLAGS
="-D_REENTRANT"
7288 # Extract the first word of "ldd", so it can be a program name with args.
7289 set dummy ldd
; ac_word
=$2
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7291 $as_echo_n "checking for $ac_word... " >&6; }
7292 if ${ac_cv_path_LDD+:} false
; then :
7293 $as_echo_n "(cached) " >&6
7297 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7301 as_dummy
="/sbin:/usr/sbin:$PATH"
7302 for as_dir
in $as_dummy
7305 test -z "$as_dir" && as_dir
=.
7306 for ac_exec_ext
in '' $ac_executable_extensions; do
7307 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7308 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7316 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7321 if test -n "$LDD"; then
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7323 $as_echo "$LDD" >&6; }
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7326 $as_echo "no" >&6; }
7330 if test -n "$ac_tool_prefix"; then
7331 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7332 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7334 $as_echo_n "checking for $ac_word... " >&6; }
7335 if ${ac_cv_prog_OTOOL+:} false
; then :
7336 $as_echo_n "(cached) " >&6
7338 if test -n "$OTOOL"; then
7339 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7345 test -z "$as_dir" && as_dir
=.
7346 for ac_exec_ext
in '' $ac_executable_extensions; do
7347 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7348 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7358 OTOOL
=$ac_cv_prog_OTOOL
7359 if test -n "$OTOOL"; then
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7361 $as_echo "$OTOOL" >&6; }
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7364 $as_echo "no" >&6; }
7369 if test -z "$ac_cv_prog_OTOOL"; then
7371 # Extract the first word of "otool", so it can be a program name with args.
7372 set dummy otool
; ac_word
=$2
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7374 $as_echo_n "checking for $ac_word... " >&6; }
7375 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7376 $as_echo_n "(cached) " >&6
7378 if test -n "$ac_ct_OTOOL"; then
7379 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7385 test -z "$as_dir" && as_dir
=.
7386 for ac_exec_ext
in '' $ac_executable_extensions; do
7387 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7388 ac_cv_prog_ac_ct_OTOOL
="otool"
7389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7398 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7399 if test -n "$ac_ct_OTOOL"; then
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7401 $as_echo "$ac_ct_OTOOL" >&6; }
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7404 $as_echo "no" >&6; }
7407 if test "x$ac_ct_OTOOL" = x
; then
7410 case $cross_compiling:$ac_tool_warned in
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7414 ac_tool_warned
=yes ;;
7419 OTOOL
="$ac_cv_prog_OTOOL"
7422 if test -n "$ac_tool_prefix"; then
7423 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7424 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7426 $as_echo_n "checking for $ac_word... " >&6; }
7427 if ${ac_cv_prog_READELF+:} false
; then :
7428 $as_echo_n "(cached) " >&6
7430 if test -n "$READELF"; then
7431 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7437 test -z "$as_dir" && as_dir
=.
7438 for ac_exec_ext
in '' $ac_executable_extensions; do
7439 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7440 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7450 READELF
=$ac_cv_prog_READELF
7451 if test -n "$READELF"; then
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7453 $as_echo "$READELF" >&6; }
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7456 $as_echo "no" >&6; }
7461 if test -z "$ac_cv_prog_READELF"; then
7462 ac_ct_READELF
=$READELF
7463 # Extract the first word of "readelf", so it can be a program name with args.
7464 set dummy readelf
; ac_word
=$2
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7466 $as_echo_n "checking for $ac_word... " >&6; }
7467 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7468 $as_echo_n "(cached) " >&6
7470 if test -n "$ac_ct_READELF"; then
7471 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7477 test -z "$as_dir" && as_dir
=.
7478 for ac_exec_ext
in '' $ac_executable_extensions; do
7479 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7480 ac_cv_prog_ac_ct_READELF
="readelf"
7481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7491 if test -n "$ac_ct_READELF"; then
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7493 $as_echo "$ac_ct_READELF" >&6; }
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7496 $as_echo "no" >&6; }
7499 if test "x$ac_ct_READELF" = x
; then
7502 case $cross_compiling:$ac_tool_warned in
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7506 ac_tool_warned
=yes ;;
7508 READELF
=$ac_ct_READELF
7511 READELF
="$ac_cv_prog_READELF"
7514 wine_rules_file
=conf$
$rules.
make
7515 rm -f $wine_rules_file
7520 CONFIGURE_TARGETS
=""
7522 ALL_TEST_RESOURCES
=""
7525 wine_fn_append_file
()
7527 as_fn_append
$1 " \\$as_nl $2"
7530 wine_fn_append_rule
()
7532 $as_echo "$1" >>$wine_rules_file
7537 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7540 wine_fn_all_rules
()
7542 wine_fn_append_file SUBDIRS
$ac_dir
7543 wine_fn_append_rule \
7547 @cd $ac_dir && \$(MAKE)"
7550 wine_fn_install_rules
()
7552 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7554 wine_fn_append_rule \
7555 ".PHONY: $ac_dir/install $ac_dir/uninstall
7556 $ac_dir/install:: $ac_dir
7557 @cd $ac_dir && \$(MAKE) install
7559 @cd $ac_dir && \$(MAKE) uninstall
7560 install:: $ac_dir/install
7561 __uninstall__: $ac_dir/uninstall"
7563 if wine_fn_has_flag install-lib
7565 wine_fn_append_rule \
7566 ".PHONY: $ac_dir/install-lib
7567 $ac_dir/install-lib:: $ac_dir
7568 @cd $ac_dir && \$(MAKE) install-lib
7569 install-lib:: $ac_dir/install-lib"
7572 if wine_fn_has_flag install-dev
7574 wine_fn_append_rule \
7575 ".PHONY: $ac_dir/install-dev
7576 $ac_dir/install-dev:: $ac_dir
7577 @cd $ac_dir && \$(MAKE) install-dev
7578 install-dev:: $ac_dir/install-dev"
7582 wine_fn_clean_rules
()
7586 if wine_fn_has_flag clean
7588 wine_fn_append_rule \
7589 "$ac_dir/clean: dummy
7590 @cd $ac_dir && \$(MAKE) clean"
7592 wine_fn_append_rule \
7593 "$ac_dir/clean: dummy
7594 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7596 wine_fn_append_rule \
7597 "__clean__: $ac_dir/clean
7598 .PHONY: $ac_dir/clean"
7601 wine_fn_disabled_rules
()
7605 wine_fn_append_file SUBDIRS
$ac_dir
7606 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7607 wine_fn_append_rule \
7608 "__clean__: $ac_dir/clean
7609 .PHONY: $ac_dir/clean
7610 $ac_dir/clean: dummy
7611 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7614 wine_fn_config_makefile
()
7621 fonts|server
) test -z "$with_wine64" ||
return ;;
7623 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7624 wine_fn_disabled_rules
; return
7627 wine_fn_install_rules
7631 wine_fn_config_lib
()
7635 ac_dir
=dlls
/$ac_name
7638 if test "x$enable_tools" = xno
; then :
7641 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7646 wine_fn_append_rule \
7647 ".PHONY: $ac_dir/install $ac_dir/uninstall
7648 $ac_dir/install:: $ac_dir
7649 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7651 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7652 install install-dev:: $ac_dir/install
7653 __uninstall__: $ac_dir/uninstall
7654 __builddeps__: $ac_dir
7658 wine_fn_config_dll
()
7661 ac_dir
=dlls
/$ac_name
7664 ac_implib
=${4:-$ac_name}
7665 ac_file
=$ac_dir/lib
$ac_implib
7670 if test "x$enable_tools" = xno
; then :
7673 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7676 *16) ac_implibflags
=" -m16" ;;
7678 *) ac_dll
=$ac_dll.dll
;;
7682 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7683 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7685 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7686 if test "$ac_enable" != enable_win16
7688 wine_fn_clean_rules
$ac_clean
7689 wine_fn_append_file SUBDIRS
$ac_dir
7690 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7692 wine_fn_disabled_rules
$ac_clean
7697 wine_fn_clean_rules
$ac_clean
7698 wine_fn_append_rule \
7699 "$ac_dir: __builddeps__
7700 manpages htmlpages sgmlpages xmlpages::
7701 @cd $ac_dir && \$(MAKE) \$@
7702 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7703 install install-lib:: $ac_dir/install-lib
7704 __uninstall__: $ac_dir/uninstall"
7705 if test -n "$DLLEXT"
7707 wine_fn_append_rule \
7708 "$ac_dir/install-lib:: $ac_dir
7709 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7710 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7712 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7714 wine_fn_append_rule \
7715 "$ac_dir/install-lib:: $ac_dir
7716 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7718 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7722 if wine_fn_has_flag staticimplib
7724 wine_fn_append_rule \
7725 "__builddeps__: $ac_file.a
7726 $ac_file.a $ac_file.cross.a: $ac_deps
7728 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7729 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7730 $ac_dir/install-dev:: $ac_file.a
7731 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7733 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7734 install install-dev:: $ac_dir/install-dev
7735 __uninstall__: $ac_dir/uninstall"
7737 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7739 wine_fn_append_rule \
7740 "__builddeps__: $ac_file.cross.a
7741 $ac_file.cross.a: dummy
7742 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7745 elif wine_fn_has_flag implib
7747 wine_fn_append_rule \
7748 "__builddeps__: $ac_file.$IMPLIBEXT
7749 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7750 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7751 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7752 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7753 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7754 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7755 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7757 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7758 install install-dev:: $ac_dir/install-dev
7759 __uninstall__: $ac_dir/uninstall"
7760 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7762 wine_fn_append_rule \
7763 "__builddeps__: $ac_file.cross.a
7764 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7765 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7770 wine_fn_config_program
()
7773 ac_dir
=programs
/$ac_name
7780 *) ac_program
=$ac_program.exe
;;
7784 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7785 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7787 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7788 wine_fn_disabled_rules
$ac_clean; return
7792 wine_fn_clean_rules
$ac_clean
7793 wine_fn_append_rule
"$ac_dir: __builddeps__"
7795 wine_fn_has_flag
install ||
return
7796 wine_fn_append_rule \
7797 ".PHONY: $ac_dir/install $ac_dir/uninstall
7798 install install-lib:: $ac_dir/install
7799 __uninstall__: $ac_dir/uninstall"
7801 if test -n "$DLLEXT"
7803 wine_fn_append_rule \
7804 "$ac_dir/install:: $ac_dir
7805 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7806 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7808 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7810 if test -z "$with_wine64" && wine_fn_has_flag installbin
7812 wine_fn_append_rule \
7813 "$ac_dir/install:: __tooldeps__
7814 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7816 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7819 wine_fn_append_rule \
7820 "$ac_dir/install:: $ac_dir
7821 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7823 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7826 if test -z "$with_wine64" && wine_fn_has_flag manpage
7828 wine_fn_append_rule \
7829 "$ac_dir/install:: $ac_dir
7830 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7832 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7836 wine_fn_config_test
()
7843 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7844 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7846 if test "x$enable_tests" = xno
; then :
7847 wine_fn_disabled_rules
$ac_clean; return
7850 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7852 wine_fn_clean_rules
$ac_clean
7854 wine_fn_append_rule \
7855 "$ac_dir: __builddeps__
7856 programs/winetest: $ac_dir
7857 check test: $ac_dir/test
7858 .PHONY: $ac_dir/test
7860 @cd $ac_dir && \$(MAKE) test
7862 \$(RM) $ac_dir/*.ok"
7864 if test -n "$CROSSTARGET"
7866 wine_fn_append_rule \
7867 "crosstest: $ac_dir/crosstest
7868 .PHONY: $ac_dir/crosstest
7869 $ac_dir/crosstest: __builddeps__ dummy
7870 @cd $ac_dir && \$(MAKE) crosstest"
7874 wine_fn_config_tool
()
7878 if test "x$enable_tools" = xno
; then :
7879 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir; return
7883 wine_fn_install_rules
7886 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7887 wine_fn_append_rule
"$ac_dir: libs/port"
7889 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7893 wine_fn_config_symlink
()
7896 if test "x$1" = "x-d"
7902 wine_fn_append_rule \
7904 @./config.status \$@"
7905 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
7906 test -n "$ac_linkdir" ||
return
7907 wine_fn_append_rule
"$ac_linkdir/depend: $ac_links"
7911 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7912 WINELOADER_PROGRAMS
="$wine_binary"
7914 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7918 if test -n "$ac_tool_prefix"; then
7919 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7920 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7922 $as_echo_n "checking for $ac_word... " >&6; }
7923 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7924 $as_echo_n "(cached) " >&6
7926 if test -n "$DLLTOOL"; then
7927 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7933 test -z "$as_dir" && as_dir
=.
7934 for ac_exec_ext
in '' $ac_executable_extensions; do
7935 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7936 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7946 DLLTOOL
=$ac_cv_prog_DLLTOOL
7947 if test -n "$DLLTOOL"; then
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7949 $as_echo "$DLLTOOL" >&6; }
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7952 $as_echo "no" >&6; }
7957 if test -z "$ac_cv_prog_DLLTOOL"; then
7958 ac_ct_DLLTOOL
=$DLLTOOL
7959 # Extract the first word of "dlltool", so it can be a program name with args.
7960 set dummy dlltool
; ac_word
=$2
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7962 $as_echo_n "checking for $ac_word... " >&6; }
7963 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7964 $as_echo_n "(cached) " >&6
7966 if test -n "$ac_ct_DLLTOOL"; then
7967 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7973 test -z "$as_dir" && as_dir
=.
7974 for ac_exec_ext
in '' $ac_executable_extensions; do
7975 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7976 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7986 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7987 if test -n "$ac_ct_DLLTOOL"; then
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7989 $as_echo "$ac_ct_DLLTOOL" >&6; }
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7992 $as_echo "no" >&6; }
7995 if test "x$ac_ct_DLLTOOL" = x
; then
7998 case $cross_compiling:$ac_tool_warned in
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8002 ac_tool_warned
=yes ;;
8004 DLLTOOL
=$ac_ct_DLLTOOL
8007 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8013 enable_iphlpapi
=${enable_iphlpapi:-no}
8014 enable_kernel32
=${enable_kernel32:-no}
8015 enable_msvcrt
=${enable_msvcrt:-no}
8016 enable_ntdll
=${enable_ntdll:-no}
8017 enable_ws2_32
=${enable_ws2_32:-no}
8018 enable_loader
=${enable_loader:-no}
8019 enable_server
=${enable_server:-no}
8020 with_x
=${with_x:-no}
8021 with_pthread
=${with_pthread:-no}
8027 SOCKET_LIBS
="-lws2_32"
8031 LIBWINE_SHAREDLIB
="libwine.dll"
8033 LIBWINE_IMPORTLIB
="libwine.a"
8035 LIBWINE_INSTALL_LIB
="libwine.dll"
8037 LIBWINE_INSTALL_DEV
="libwine.a"
8039 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
8041 LIBWINE_DEPENDS
="wine.def"
8046 for ac_header
in libunwind.h
8048 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8049 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8050 cat >>confdefs.h
<<_ACEOF
8051 #define HAVE_LIBUNWIND_H 1
8059 DLLFLAGS
="$DLLFLAGS -fPIC"
8060 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8061 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8062 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8064 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8066 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8068 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8070 CORESERVICES_LIBS
="-framework CoreServices"
8072 APPKIT_LIBS
="-framework AppKit"
8074 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8076 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8077 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8078 $as_echo_n "(cached) " >&6
8080 ac_wine_try_cflags_saved
=$CFLAGS
8081 CFLAGS
="$CFLAGS -Wl,-no_pie"
8082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8083 /* end confdefs.h. */
8084 int main(int argc, char **argv) { return 0; }
8086 if ac_fn_c_try_link
"$LINENO"; then :
8087 ac_cv_cflags__Wl__no_pie
=yes
8089 ac_cv_cflags__Wl__no_pie
=no
8091 rm -f core conftest.err conftest.
$ac_objext \
8092 conftest
$ac_exeext conftest.
$ac_ext
8093 CFLAGS
=$ac_wine_try_cflags_saved
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8096 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8097 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8098 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8100 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8102 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8105 if test "$ac_cv_header_Security_Security_h" = "yes"
8107 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8109 ac_save_LIBS
="$LIBS"
8110 LIBS
="$LIBS $SECURITY_LIBS"
8111 for ac_func
in SSLCopyPeerCertificates
8113 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8114 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8115 cat >>confdefs.h
<<_ACEOF
8116 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8122 LIBS
="$ac_save_LIBS"
8123 with_gnutls
=${with_gnutls:-no}
8125 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8127 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8129 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8132 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8135 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8136 ac_save_LIBS
="$LIBS"
8137 LIBS
="$LIBS $COREAUDIO_LIBS"
8138 for ac_func
in AUGraphAddNode
8140 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8141 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8142 cat >>confdefs.h
<<_ACEOF
8143 #define HAVE_AUGRAPHADDNODE 1
8149 LIBS
="$ac_save_LIBS"
8151 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8153 OPENAL_LIBS
="-framework OpenAL"
8156 cat >>confdefs.h
<<_ACEOF
8157 #define HAVE_OPENAL 1
8160 ac_cv_lib_openal
=yes
8162 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8164 OPENCL_LIBS
="-framework OpenCL"
8166 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8168 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8170 ac_save_LIBS
="$LIBS"
8171 LIBS
="$LIBS $IOKIT_LIBS"
8172 for ac_func
in IOHIDManagerCreate
8174 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8175 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8176 cat >>confdefs.h
<<_ACEOF
8177 #define HAVE_IOHIDMANAGERCREATE 1
8183 LIBS
="$ac_save_LIBS"
8185 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8187 ac_save_LIBS
="$LIBS"
8188 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8190 $as_echo_n "checking for the QuickTime framework... " >&6; }
8191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8192 /* end confdefs.h. */
8193 #include <QuickTime/ImageCompression.h>
8197 CodecManagerVersion(NULL);
8202 if ac_fn_c_try_link
"$LINENO"; then :
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8204 $as_echo "yes" >&6; }
8205 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8207 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8210 $as_echo "no" >&6; }
8211 ac_cv_header_QuickTime_ImageCompression_h
=no
8213 rm -f core conftest.err conftest.
$ac_objext \
8214 conftest
$ac_exeext conftest.
$ac_ext
8215 LIBS
="$ac_save_LIBS"
8217 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8219 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8221 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8223 CARBON_LIBS
="-framework Carbon"
8227 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8229 ac_save_LIBS
="$LIBS"
8230 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8231 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8232 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8233 enable_winemac_drv
=${enable_winemac_drv:-yes}
8236 LIBS
="$ac_save_LIBS"
8239 if test "x$enable_win16" = "xyes"
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8242 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8243 if test "$cross_compiling" = yes; then :
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8245 $as_echo "cross-compiling, assuming yes" >&6; }
8247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8248 /* end confdefs.h. */
8251 "good:\tnop;nop\n\t"
8252 ".globl _testfunc\n"
8253 "_testfunc:\tcallw good");
8254 extern void testfunc();
8258 unsigned short *p = (unsigned short *)testfunc;
8259 return p[0] != 0xe866 || p[1] != 0xfffa
8264 if ac_fn_c_try_run
"$LINENO"; then :
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8266 $as_echo "yes" >&6; }
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8269 $as_echo "no" >&6; }
8270 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
8272 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8273 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8278 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8280 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8282 LIBWINE_INSTALL_DEV
="libwine.dylib"
8284 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8286 WINELOADER_DEPENDS
="wine_info.plist"
8291 DLLFLAGS
="$DLLFLAGS -fPIC"
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8293 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8294 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8295 $as_echo_n "(cached) " >&6
8297 ac_wine_try_cflags_saved
=$CFLAGS
8298 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8300 /* end confdefs.h. */
8301 int main(int argc, char **argv) { return 0; }
8303 if ac_fn_c_try_link
"$LINENO"; then :
8304 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8306 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8308 rm -f core conftest.err conftest.
$ac_objext \
8309 conftest
$ac_exeext conftest.
$ac_ext
8310 CFLAGS
=$ac_wine_try_cflags_saved
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8313 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8314 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8315 LDEXECFLAGS
="-Wl,--export-dynamic"
8317 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8319 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8320 if eval \
${$as_ac_var+:} false
; then :
8321 $as_echo_n "(cached) " >&6
8323 ac_wine_try_cflags_saved
=$CFLAGS
8324 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8326 /* end confdefs.h. */
8327 int main(int argc, char **argv) { return 0; }
8329 if ac_fn_c_try_link
"$LINENO"; then :
8330 eval "$as_ac_var=yes"
8332 eval "$as_ac_var=no"
8334 rm -f core conftest.err conftest.
$ac_objext \
8335 conftest
$ac_exeext conftest.
$ac_ext
8336 CFLAGS
=$ac_wine_try_cflags_saved
8338 eval ac_res
=\$
$as_ac_var
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8340 $as_echo "$ac_res" >&6; }
8341 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8342 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8343 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8345 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8347 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8348 if eval \
${$as_ac_var+:} false
; then :
8349 $as_echo_n "(cached) " >&6
8351 ac_wine_try_cflags_saved
=$CFLAGS
8352 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8354 /* end confdefs.h. */
8355 int main(int argc, char **argv) { return 0; }
8357 if ac_fn_c_try_link
"$LINENO"; then :
8358 eval "$as_ac_var=yes"
8360 eval "$as_ac_var=no"
8362 rm -f core conftest.err conftest.
$ac_objext \
8363 conftest
$ac_exeext conftest.
$ac_ext
8364 CFLAGS
=$ac_wine_try_cflags_saved
8366 eval ac_res
=\$
$as_ac_var
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8368 $as_echo "$ac_res" >&6; }
8369 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8370 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8371 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8376 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8377 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8378 $as_echo_n "(cached) " >&6
8380 ac_wine_try_cflags_saved
=$CFLAGS
8381 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8383 /* end confdefs.h. */
8384 int main(int argc, char **argv) { return 0; }
8386 if ac_fn_c_try_link
"$LINENO"; then :
8387 ac_cv_cflags__Wl___enable_new_dtags
=yes
8389 ac_cv_cflags__Wl___enable_new_dtags
=no
8391 rm -f core conftest.err conftest.
$ac_objext \
8392 conftest
$ac_exeext conftest.
$ac_ext
8393 CFLAGS
=$ac_wine_try_cflags_saved
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8396 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8397 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8398 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8401 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8402 if ${ac_cv_cflags__Wl__pie+:} false
; then :
8403 $as_echo_n "(cached) " >&6
8405 ac_wine_try_cflags_saved
=$CFLAGS
8406 CFLAGS
="$CFLAGS -Wl,-pie"
8407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8408 /* end confdefs.h. */
8409 int main(int argc, char **argv) { return 0; }
8411 if ac_fn_c_try_link
"$LINENO"; then :
8412 ac_cv_cflags__Wl__pie
=yes
8414 ac_cv_cflags__Wl__pie
=no
8416 rm -f core conftest.err conftest.
$ac_objext \
8417 conftest
$ac_exeext conftest.
$ac_ext
8418 CFLAGS
=$ac_wine_try_cflags_saved
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8421 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8422 if test "x$ac_cv_cflags__Wl__pie" = xyes
; then :
8423 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,-pie"
8426 LIBWINE_SHAREDLIB
="libwine.so"
8428 LIBWINE_INSTALL_LIB
="libwine.so"
8430 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so"
8435 DLLFLAGS
="$DLLFLAGS -fPIC"
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8438 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8439 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8440 $as_echo_n "(cached) " >&6
8442 ac_wine_try_cflags_saved
=$CFLAGS
8443 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8445 /* end confdefs.h. */
8448 if ac_fn_c_try_link
"$LINENO"; then :
8449 ac_cv_c_dll_gnuelf
="yes"
8451 ac_cv_c_dll_gnuelf
="no"
8453 rm -f core conftest.err conftest.
$ac_objext \
8454 conftest
$ac_exeext conftest.
$ac_ext
8455 CFLAGS
=$ac_wine_try_cflags_saved
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8458 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8459 if test "$ac_cv_c_dll_gnuelf" = "yes"
8461 LIBWINE_LDFLAGS
="-shared"
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8463 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8464 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8465 $as_echo_n "(cached) " >&6
8467 ac_wine_try_cflags_saved
=$CFLAGS
8468 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8470 /* end confdefs.h. */
8471 int main(int argc, char **argv) { return 0; }
8473 if ac_fn_c_try_link
"$LINENO"; then :
8474 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8476 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8478 rm -f core conftest.err conftest.
$ac_objext \
8479 conftest
$ac_exeext conftest.
$ac_ext
8480 CFLAGS
=$ac_wine_try_cflags_saved
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8483 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8484 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8485 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8488 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8489 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8490 $as_echo_n "(cached) " >&6
8492 ac_wine_try_cflags_saved
=$CFLAGS
8493 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8495 /* end confdefs.h. */
8496 int main(int argc, char **argv) { return 0; }
8498 if ac_fn_c_try_link
"$LINENO"; then :
8499 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8501 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8503 rm -f core conftest.err conftest.
$ac_objext \
8504 conftest
$ac_exeext conftest.
$ac_ext
8505 CFLAGS
=$ac_wine_try_cflags_saved
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8508 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8509 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8510 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8514 echo '{ global: *; };' >conftest.map
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8516 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8517 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8518 $as_echo_n "(cached) " >&6
8520 ac_wine_try_cflags_saved
=$CFLAGS
8521 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8523 /* end confdefs.h. */
8524 int main(int argc, char **argv) { return 0; }
8526 if ac_fn_c_try_link
"$LINENO"; then :
8527 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8529 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8531 rm -f core conftest.err conftest.
$ac_objext \
8532 conftest
$ac_exeext conftest.
$ac_ext
8533 CFLAGS
=$ac_wine_try_cflags_saved
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8536 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8537 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8538 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8543 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8544 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8545 $as_echo_n "(cached) " >&6
8547 ac_wine_try_cflags_saved
=$CFLAGS
8548 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8550 /* end confdefs.h. */
8551 int main(int argc, char **argv) { return 0; }
8553 if ac_fn_c_try_link
"$LINENO"; then :
8554 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8556 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8558 rm -f core conftest.err conftest.
$ac_objext \
8559 conftest
$ac_exeext conftest.
$ac_ext
8560 CFLAGS
=$ac_wine_try_cflags_saved
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8563 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8564 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8565 LDEXECFLAGS
="-Wl,--export-dynamic"
8568 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8570 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8571 if eval \
${$as_ac_var+:} false
; then :
8572 $as_echo_n "(cached) " >&6
8574 ac_wine_try_cflags_saved
=$CFLAGS
8575 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8577 /* end confdefs.h. */
8578 int main(int argc, char **argv) { return 0; }
8580 if ac_fn_c_try_link
"$LINENO"; then :
8581 eval "$as_ac_var=yes"
8583 eval "$as_ac_var=no"
8585 rm -f core conftest.err conftest.
$ac_objext \
8586 conftest
$ac_exeext conftest.
$ac_ext
8587 CFLAGS
=$ac_wine_try_cflags_saved
8589 eval ac_res
=\$
$as_ac_var
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8591 $as_echo "$ac_res" >&6; }
8592 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8593 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8594 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8596 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8598 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8599 if eval \
${$as_ac_var+:} false
; then :
8600 $as_echo_n "(cached) " >&6
8602 ac_wine_try_cflags_saved
=$CFLAGS
8603 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8605 /* end confdefs.h. */
8606 int main(int argc, char **argv) { return 0; }
8608 if ac_fn_c_try_link
"$LINENO"; then :
8609 eval "$as_ac_var=yes"
8611 eval "$as_ac_var=no"
8613 rm -f core conftest.err conftest.
$ac_objext \
8614 conftest
$ac_exeext conftest.
$ac_ext
8615 CFLAGS
=$ac_wine_try_cflags_saved
8617 eval ac_res
=\$
$as_ac_var
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8619 $as_echo "$ac_res" >&6; }
8620 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8621 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8622 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8627 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8628 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8629 $as_echo_n "(cached) " >&6
8631 ac_wine_try_cflags_saved
=$CFLAGS
8632 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8634 /* end confdefs.h. */
8635 int main(int argc, char **argv) { return 0; }
8637 if ac_fn_c_try_link
"$LINENO"; then :
8638 ac_cv_cflags__Wl___enable_new_dtags
=yes
8640 ac_cv_cflags__Wl___enable_new_dtags
=no
8642 rm -f core conftest.err conftest.
$ac_objext \
8643 conftest
$ac_exeext conftest.
$ac_ext
8644 CFLAGS
=$ac_wine_try_cflags_saved
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8647 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8648 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8649 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8653 *i
[3456789]86* | x86_64
)
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8655 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8656 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8657 $as_echo_n "(cached) " >&6
8659 ac_wine_try_cflags_saved
=$CFLAGS
8660 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8662 /* end confdefs.h. */
8663 int main(int argc, char **argv) { return 0; }
8665 if ac_fn_c_try_link
"$LINENO"; then :
8666 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8668 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8670 rm -f core conftest.err conftest.
$ac_objext \
8671 conftest
$ac_exeext conftest.
$ac_ext
8672 CFLAGS
=$ac_wine_try_cflags_saved
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8675 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8676 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8678 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8679 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8683 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8684 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false
; then :
8685 $as_echo_n "(cached) " >&6
8687 ac_wine_try_cflags_saved
=$CFLAGS
8688 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8690 /* end confdefs.h. */
8691 int main(int argc, char **argv) { return 0; }
8693 if ac_fn_c_try_link
"$LINENO"; then :
8694 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=yes
8696 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=no
8698 rm -f core conftest.err conftest.
$ac_objext \
8699 conftest
$ac_exeext conftest.
$ac_ext
8700 CFLAGS
=$ac_wine_try_cflags_saved
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8703 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8704 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes
; then :
8706 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8707 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8710 # Extract the first word of "prelink", so it can be a program name with args.
8711 set dummy prelink
; ac_word
=$2
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8713 $as_echo_n "checking for $ac_word... " >&6; }
8714 if ${ac_cv_path_PRELINK+:} false
; then :
8715 $as_echo_n "(cached) " >&6
8719 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8723 for as_dir
in /sbin
/usr
/sbin
$PATH
8726 test -z "$as_dir" && as_dir
=.
8727 for ac_exec_ext
in '' $ac_executable_extensions; do
8728 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8729 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8737 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8741 PRELINK
=$ac_cv_path_PRELINK
8742 if test -n "$PRELINK"; then
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8744 $as_echo "$PRELINK" >&6; }
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8747 $as_echo "no" >&6; }
8751 if test "x$PRELINK" = xfalse
8753 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8757 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8758 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false
; then :
8759 $as_echo_n "(cached) " >&6
8761 ac_wine_try_cflags_saved
=$CFLAGS
8762 CFLAGS
="$CFLAGS -Wl,-z,max-page-size=0x1000"
8763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8764 /* end confdefs.h. */
8765 int main(int argc, char **argv) { return 0; }
8767 if ac_fn_c_try_link
"$LINENO"; then :
8768 ac_cv_cflags__Wl__z_max_page_size_0x1000
=yes
8770 ac_cv_cflags__Wl__z_max_page_size_0x1000
=no
8772 rm -f core conftest.err conftest.
$ac_objext \
8773 conftest
$ac_exeext conftest.
$ac_ext
8774 CFLAGS
=$ac_wine_try_cflags_saved
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8777 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8778 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
; then :
8779 LDEXECFLAGS
="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8786 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8787 if ${ac_cv_c_dll_unixware+:} false
; then :
8788 $as_echo_n "(cached) " >&6
8790 ac_wine_try_cflags_saved
=$CFLAGS
8791 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8793 /* end confdefs.h. */
8796 if ac_fn_c_try_link
"$LINENO"; then :
8797 ac_cv_c_dll_unixware
="yes"
8799 ac_cv_c_dll_unixware
="no"
8801 rm -f core conftest.err conftest.
$ac_objext \
8802 conftest
$ac_exeext conftest.
$ac_ext
8803 CFLAGS
=$ac_wine_try_cflags_saved
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8806 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8807 if test "$ac_cv_c_dll_unixware" = "yes"
8809 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
8812 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
8814 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8816 LIBWINE_INSTALL_DEV
="libwine.so"
8818 LIBWINE_DEPENDS
="wine.map"
8823 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
8824 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8825 enable_winemac_drv
=${enable_winemac_drv:-no}
8826 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
8830 if test "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8834 ac_prefix_list
="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8836 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
8837 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8840 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
8841 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8843 ac_prefix_list
="" ;;
8845 for ac_prog
in $ac_prefix_list
8847 # Extract the first word of "$ac_prog", so it can be a program name with args.
8848 set dummy
$ac_prog; ac_word
=$2
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8850 $as_echo_n "checking for $ac_word... " >&6; }
8851 if ${ac_cv_prog_CROSSCC+:} false
; then :
8852 $as_echo_n "(cached) " >&6
8854 if test -n "$CROSSCC"; then
8855 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8861 test -z "$as_dir" && as_dir
=.
8862 for ac_exec_ext
in '' $ac_executable_extensions; do
8863 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8864 ac_cv_prog_CROSSCC
="$ac_prog"
8865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8874 CROSSCC
=$ac_cv_prog_CROSSCC
8875 if test -n "$CROSSCC"; then
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8877 $as_echo "$CROSSCC" >&6; }
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8880 $as_echo "no" >&6; }
8884 test -n "$CROSSCC" && break
8886 test -n "$CROSSCC" || CROSSCC
="false"
8888 if test "$CROSSCC" != "false"
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8893 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8895 /* end confdefs.h. */
8905 if ac_fn_c_try_compile
"$LINENO"; then :
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8907 $as_echo "yes" >&6; }
8913 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8914 *-clang) CROSSTARGET
=`expr "$1" : '\(.*\)-clang'` ;;
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8920 $as_echo "no" >&6; }
8922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8928 if test "$ac_cv_header_pthread_h" = "yes"
8930 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8931 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8935 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8936 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8937 $as_echo_n "(cached) " >&6
8939 ac_check_lib_save_LIBS
=$LIBS
8940 LIBS
="-lpthread $LIBS"
8941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8942 /* end confdefs.h. */
8944 /* Override any GCC internal prototype to avoid an error.
8945 Use char because int might match the return type of a GCC
8946 builtin and then its argument prototype would still apply. */
8950 char pthread_create ();
8954 return pthread_create ();
8959 if ac_fn_c_try_link
"$LINENO"; then :
8960 ac_cv_lib_pthread_pthread_create
=yes
8962 ac_cv_lib_pthread_pthread_create
=no
8964 rm -f core conftest.err conftest.
$ac_objext \
8965 conftest
$ac_exeext conftest.
$ac_ext
8966 LIBS
=$ac_check_lib_save_LIBS
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8969 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8970 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8971 PTHREAD_LIBS
="-lpthread"
8978 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8979 case "x$with_pthread" in
8981 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8982 Wine cannot support threads without libpthread.
8983 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8990 $as_echo_n "checking for X... " >&6; }
8993 # Check whether --with-x was given.
8994 if test "${with_x+set}" = set; then :
8998 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8999 if test "x$with_x" = xno
; then
9000 # The user explicitly disabled X.
9003 case $x_includes,$x_libraries in #(
9004 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
9005 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
9006 $as_echo_n "(cached) " >&6
9008 # One or both of the vars are not set, and there is no cached value.
9009 ac_x_includes
=no ac_x_libraries
=no
9010 rm -f -r conftest.dir
9011 if mkdir conftest.dir
; then
9013 cat >Imakefile
<<'_ACEOF'
9015 @echo incroot='${INCROOT}'
9017 @echo usrlibdir='${USRLIBDIR}'
9019 @echo libdir='${LIBDIR}'
9021 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9022 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9023 for ac_var
in incroot usrlibdir libdir
; do
9024 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9026 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9027 for ac_extension
in a so sl dylib la dll
; do
9028 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9029 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9030 ac_im_usrlibdir
=$ac_im_libdir; break
9033 # Screen out bogus values from the imake configuration. They are
9034 # bogus both because they are the default anyway, and because
9035 # using them would break gcc on systems where it needs fixed includes.
9036 case $ac_im_incroot in
9037 /usr
/include
) ac_x_includes
= ;;
9038 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9040 case $ac_im_usrlibdir in
9041 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9042 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9046 rm -f -r conftest.dir
9049 # Standard set of common directories for X headers.
9050 # Check X11 before X11Rn because it is often a symlink to the current release.
9064 /usr/local/X11/include
9065 /usr/local/X11R7/include
9066 /usr/local/X11R6/include
9067 /usr/local/X11R5/include
9068 /usr/local/X11R4/include
9070 /usr/local/include/X11
9071 /usr/local/include/X11R7
9072 /usr/local/include/X11R6
9073 /usr/local/include/X11R5
9074 /usr/local/include/X11R4
9078 /usr/XFree86/include/X11
9082 /usr/unsupported/include
9084 /usr/local/x11r5/include
9085 /usr/lpp/Xamples/include
9087 /usr/openwin/include
9088 /usr/openwin/share/include'
9090 if test "$ac_x_includes" = no
; then
9091 # Guess where to find include files, by looking for Xlib.h.
9092 # First, try using that file with no special directory specified.
9093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9094 /* end confdefs.h. */
9095 #include <X11/Xlib.h>
9097 if ac_fn_c_try_cpp
"$LINENO"; then :
9098 # We can compile using X headers with no special include directory.
9101 for ac_dir
in $ac_x_header_dirs; do
9102 if test -r "$ac_dir/X11/Xlib.h"; then
9103 ac_x_includes
=$ac_dir
9108 rm -f conftest.err conftest.i conftest.
$ac_ext
9109 fi # $ac_x_includes = no
9111 if test "$ac_x_libraries" = no
; then
9112 # Check for the libraries.
9113 # See if we find them without any special options.
9114 # Don't add to $LIBS permanently.
9117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9118 /* end confdefs.h. */
9119 #include <X11/Xlib.h>
9128 if ac_fn_c_try_link
"$LINENO"; then :
9130 # We can link X programs with no special library path.
9134 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9136 # Don't even attempt the hair of trying to link an X program!
9137 for ac_extension
in a so sl dylib la dll
; do
9138 if test -r "$ac_dir/libX11.$ac_extension"; then
9139 ac_x_libraries
=$ac_dir
9145 rm -f core conftest.err conftest.
$ac_objext \
9146 conftest
$ac_exeext conftest.
$ac_ext
9147 fi # $ac_x_libraries = no
9149 case $ac_x_includes,$ac_x_libraries in #(
9151 # Didn't find X, or a directory has "'" in its name.
9152 ac_cv_have_x
="have_x=no";; #(
9154 # Record where we found X for the cache.
9155 ac_cv_have_x
="have_x=yes\
9156 ac_x_includes='$ac_x_includes'\
9157 ac_x_libraries='$ac_x_libraries'"
9163 eval "$ac_cv_have_x"
9166 if test "$have_x" != yes; then
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9168 $as_echo "$have_x" >&6; }
9171 # If each of the values was on the command line, it overrides each guess.
9172 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9173 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9174 # Update the cache value to reflect the command line values.
9175 ac_cv_have_x
="have_x=yes\
9176 ac_x_includes='$x_includes'\
9177 ac_x_libraries='$x_libraries'"
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9179 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9182 if test "$no_x" = yes; then
9183 # Not all programs may use this symbol, but it does not hurt to define it.
9185 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9187 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9189 if test -n "$x_includes"; then
9190 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9193 # It would also be nice to do this for all -L options, not just this one.
9194 if test -n "$x_libraries"; then
9195 X_LIBS
="$X_LIBS -L$x_libraries"
9196 # For Solaris; some versions of Sun CC require a space after -R and
9197 # others require no space. Words are not sufficient . . . .
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9199 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9200 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9201 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9202 ac_c_werror_flag
=yes
9203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9204 /* end confdefs.h. */
9214 if ac_fn_c_try_link
"$LINENO"; then :
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9216 $as_echo "no" >&6; }
9217 X_LIBS
="$X_LIBS -R$x_libraries"
9219 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9221 /* end confdefs.h. */
9231 if ac_fn_c_try_link
"$LINENO"; then :
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9233 $as_echo "yes" >&6; }
9234 X_LIBS
="$X_LIBS -R $x_libraries"
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9237 $as_echo "neither works" >&6; }
9239 rm -f core conftest.err conftest.
$ac_objext \
9240 conftest
$ac_exeext conftest.
$ac_ext
9242 rm -f core conftest.err conftest.
$ac_objext \
9243 conftest
$ac_exeext conftest.
$ac_ext
9244 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9248 # Check for system-dependent libraries X programs must link with.
9249 # Do this before checking for the system-independent R6 libraries
9250 # (-lICE), since we may need -lsocket or whatever for X linking.
9252 if test "$ISC" = yes; then
9253 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9255 # Martyn Johnson says this is needed for Ultrix, if the X
9256 # libraries were built with DECnet support. And Karl Berry says
9257 # the Alpha needs dnet_stub (dnet does not exist).
9258 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9260 /* end confdefs.h. */
9262 /* Override any GCC internal prototype to avoid an error.
9263 Use char because int might match the return type of a GCC
9264 builtin and then its argument prototype would still apply. */
9268 char XOpenDisplay ();
9272 return XOpenDisplay ();
9277 if ac_fn_c_try_link
"$LINENO"; then :
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9281 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9282 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9283 $as_echo_n "(cached) " >&6
9285 ac_check_lib_save_LIBS
=$LIBS
9287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9288 /* end confdefs.h. */
9290 /* Override any GCC internal prototype to avoid an error.
9291 Use char because int might match the return type of a GCC
9292 builtin and then its argument prototype would still apply. */
9300 return dnet_ntoa ();
9305 if ac_fn_c_try_link
"$LINENO"; then :
9306 ac_cv_lib_dnet_dnet_ntoa
=yes
9308 ac_cv_lib_dnet_dnet_ntoa
=no
9310 rm -f core conftest.err conftest.
$ac_objext \
9311 conftest
$ac_exeext conftest.
$ac_ext
9312 LIBS
=$ac_check_lib_save_LIBS
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9315 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9316 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9317 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9320 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9322 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9323 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9324 $as_echo_n "(cached) " >&6
9326 ac_check_lib_save_LIBS
=$LIBS
9327 LIBS
="-ldnet_stub $LIBS"
9328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9329 /* end confdefs.h. */
9331 /* Override any GCC internal prototype to avoid an error.
9332 Use char because int might match the return type of a GCC
9333 builtin and then its argument prototype would still apply. */
9341 return dnet_ntoa ();
9346 if ac_fn_c_try_link
"$LINENO"; then :
9347 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9349 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9351 rm -f core conftest.err conftest.
$ac_objext \
9352 conftest
$ac_exeext conftest.
$ac_ext
9353 LIBS
=$ac_check_lib_save_LIBS
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9356 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9357 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9358 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9363 rm -f core conftest.err conftest.
$ac_objext \
9364 conftest
$ac_exeext conftest.
$ac_ext
9365 LIBS
="$ac_xsave_LIBS"
9367 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9368 # to get the SysV transport functions.
9369 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9371 # The nsl library prevents programs from opening the X display
9372 # on Irix 5.2, according to T.E. Dickey.
9373 # The functions gethostbyname, getservbyname, and inet_addr are
9374 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9375 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9376 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9380 if test $ac_cv_func_gethostbyname = no
; then
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9382 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9383 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9384 $as_echo_n "(cached) " >&6
9386 ac_check_lib_save_LIBS
=$LIBS
9388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9389 /* end confdefs.h. */
9391 /* Override any GCC internal prototype to avoid an error.
9392 Use char because int might match the return type of a GCC
9393 builtin and then its argument prototype would still apply. */
9397 char gethostbyname ();
9401 return gethostbyname ();
9406 if ac_fn_c_try_link
"$LINENO"; then :
9407 ac_cv_lib_nsl_gethostbyname
=yes
9409 ac_cv_lib_nsl_gethostbyname
=no
9411 rm -f core conftest.err conftest.
$ac_objext \
9412 conftest
$ac_exeext conftest.
$ac_ext
9413 LIBS
=$ac_check_lib_save_LIBS
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9416 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9417 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9418 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9421 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9423 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9424 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9425 $as_echo_n "(cached) " >&6
9427 ac_check_lib_save_LIBS
=$LIBS
9429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9430 /* end confdefs.h. */
9432 /* Override any GCC internal prototype to avoid an error.
9433 Use char because int might match the return type of a GCC
9434 builtin and then its argument prototype would still apply. */
9438 char gethostbyname ();
9442 return gethostbyname ();
9447 if ac_fn_c_try_link
"$LINENO"; then :
9448 ac_cv_lib_bsd_gethostbyname
=yes
9450 ac_cv_lib_bsd_gethostbyname
=no
9452 rm -f core conftest.err conftest.
$ac_objext \
9453 conftest
$ac_exeext conftest.
$ac_ext
9454 LIBS
=$ac_check_lib_save_LIBS
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9457 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9458 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9459 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9465 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9466 # socket/setsockopt and other routines are undefined under SCO ODT
9467 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9468 # on later versions), says Simon Leinen: it contains gethostby*
9469 # variants that don't use the name server (or something). -lsocket
9470 # must be given before -lnsl if both are needed. We assume that
9471 # if connect needs -lnsl, so does gethostbyname.
9472 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9473 if test "x$ac_cv_func_connect" = xyes
; then :
9477 if test $ac_cv_func_connect = no
; then
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9479 $as_echo_n "checking for connect in -lsocket... " >&6; }
9480 if ${ac_cv_lib_socket_connect+:} false
; then :
9481 $as_echo_n "(cached) " >&6
9483 ac_check_lib_save_LIBS
=$LIBS
9484 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9486 /* end confdefs.h. */
9488 /* Override any GCC internal prototype to avoid an error.
9489 Use char because int might match the return type of a GCC
9490 builtin and then its argument prototype would still apply. */
9503 if ac_fn_c_try_link
"$LINENO"; then :
9504 ac_cv_lib_socket_connect
=yes
9506 ac_cv_lib_socket_connect
=no
9508 rm -f core conftest.err conftest.
$ac_objext \
9509 conftest
$ac_exeext conftest.
$ac_ext
9510 LIBS
=$ac_check_lib_save_LIBS
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9513 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9514 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9515 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9520 # Guillermo Gomez says -lposix is necessary on A/UX.
9521 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9522 if test "x$ac_cv_func_remove" = xyes
; then :
9526 if test $ac_cv_func_remove = no
; then
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9528 $as_echo_n "checking for remove in -lposix... " >&6; }
9529 if ${ac_cv_lib_posix_remove+:} false
; then :
9530 $as_echo_n "(cached) " >&6
9532 ac_check_lib_save_LIBS
=$LIBS
9533 LIBS
="-lposix $LIBS"
9534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9535 /* end confdefs.h. */
9537 /* Override any GCC internal prototype to avoid an error.
9538 Use char because int might match the return type of a GCC
9539 builtin and then its argument prototype would still apply. */
9552 if ac_fn_c_try_link
"$LINENO"; then :
9553 ac_cv_lib_posix_remove
=yes
9555 ac_cv_lib_posix_remove
=no
9557 rm -f core conftest.err conftest.
$ac_objext \
9558 conftest
$ac_exeext conftest.
$ac_ext
9559 LIBS
=$ac_check_lib_save_LIBS
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9562 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9563 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9564 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9569 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9570 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9571 if test "x$ac_cv_func_shmat" = xyes
; then :
9575 if test $ac_cv_func_shmat = no
; then
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9577 $as_echo_n "checking for shmat in -lipc... " >&6; }
9578 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9579 $as_echo_n "(cached) " >&6
9581 ac_check_lib_save_LIBS
=$LIBS
9583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9584 /* end confdefs.h. */
9586 /* Override any GCC internal prototype to avoid an error.
9587 Use char because int might match the return type of a GCC
9588 builtin and then its argument prototype would still apply. */
9601 if ac_fn_c_try_link
"$LINENO"; then :
9602 ac_cv_lib_ipc_shmat
=yes
9604 ac_cv_lib_ipc_shmat
=no
9606 rm -f core conftest.err conftest.
$ac_objext \
9607 conftest
$ac_exeext conftest.
$ac_ext
9608 LIBS
=$ac_check_lib_save_LIBS
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9611 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9612 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9613 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9619 # Check for libraries that X11R6 Xt/Xaw programs need.
9620 ac_save_LDFLAGS
=$LDFLAGS
9621 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9622 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9623 # check for ICE first), but we must link in the order -lSM -lICE or
9624 # we get undefined symbols. So assume we have SM if we have ICE.
9625 # These have to be linked with before -lX11, unlike the other
9626 # libraries we check for below, so use a different variable.
9627 # John Interrante, Karl Berry
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9629 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9630 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9631 $as_echo_n "(cached) " >&6
9633 ac_check_lib_save_LIBS
=$LIBS
9634 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9636 /* end confdefs.h. */
9638 /* Override any GCC internal prototype to avoid an error.
9639 Use char because int might match the return type of a GCC
9640 builtin and then its argument prototype would still apply. */
9644 char IceConnectionNumber ();
9648 return IceConnectionNumber ();
9653 if ac_fn_c_try_link
"$LINENO"; then :
9654 ac_cv_lib_ICE_IceConnectionNumber
=yes
9656 ac_cv_lib_ICE_IceConnectionNumber
=no
9658 rm -f core conftest.err conftest.
$ac_objext \
9659 conftest
$ac_exeext conftest.
$ac_ext
9660 LIBS
=$ac_check_lib_save_LIBS
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9663 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9664 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9665 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9668 LDFLAGS
=$ac_save_LDFLAGS
9673 if test "$have_x" = "yes"
9675 ac_save_CPPFLAGS
="$CPPFLAGS"
9676 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9679 $as_echo_n "checking for -lX11... " >&6; }
9680 if ${ac_cv_lib_soname_X11+:} false
; then :
9681 $as_echo_n "(cached) " >&6
9683 ac_check_soname_save_LIBS
=$LIBS
9684 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9686 /* end confdefs.h. */
9688 /* Override any GCC internal prototype to avoid an error.
9689 Use char because int might match the return type of a GCC
9690 builtin and then its argument prototype would still apply. */
9694 char XCreateWindow ();
9698 return XCreateWindow ();
9703 if ac_fn_c_try_link
"$LINENO"; then :
9705 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9706 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'` ;;
9707 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9708 if ${ac_cv_lib_soname_X11:+false} :; then :
9709 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9713 rm -f core conftest.err conftest.
$ac_objext \
9714 conftest
$ac_exeext conftest.
$ac_ext
9715 LIBS
=$ac_check_soname_save_LIBS
9717 if ${ac_cv_lib_soname_X11:+false} :; then :
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9719 $as_echo "not found" >&6; }
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9723 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9725 cat >>confdefs.h
<<_ACEOF
9726 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9732 $as_echo_n "checking for -lXext... " >&6; }
9733 if ${ac_cv_lib_soname_Xext+:} false
; then :
9734 $as_echo_n "(cached) " >&6
9736 ac_check_soname_save_LIBS
=$LIBS
9737 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9739 /* end confdefs.h. */
9741 /* Override any GCC internal prototype to avoid an error.
9742 Use char because int might match the return type of a GCC
9743 builtin and then its argument prototype would still apply. */
9747 char XextCreateExtension ();
9751 return XextCreateExtension ();
9756 if ac_fn_c_try_link
"$LINENO"; then :
9758 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9759 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'` ;;
9760 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9761 if ${ac_cv_lib_soname_Xext:+false} :; then :
9762 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9766 rm -f core conftest.err conftest.
$ac_objext \
9767 conftest
$ac_exeext conftest.
$ac_ext
9768 LIBS
=$ac_check_soname_save_LIBS
9770 if ${ac_cv_lib_soname_Xext:+false} :; then :
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9772 $as_echo "not found" >&6; }
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9776 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9778 cat >>confdefs.h
<<_ACEOF
9779 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9782 X_LIBS
="$X_LIBS -lXext"
9784 X_LIBS
="$X_LIBS -lX11"
9786 for ac_header
in X11
/Xlib.h \
9789 X11
/Xcursor
/Xcursor.h \
9790 X11
/extensions
/shape.h \
9791 X11
/extensions
/XInput.h \
9792 X11
/extensions
/XInput2.h \
9793 X11
/extensions
/XShm.h \
9794 X11
/extensions
/Xcomposite.h \
9795 X11
/extensions
/Xinerama.h \
9796 X11
/extensions
/Xrandr.h \
9797 X11
/extensions
/Xrender.h \
9798 X11
/extensions
/xf86vmode.h \
9799 X11
/extensions
/xf86vmproto.h
9801 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9802 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9803 # include <X11/Xlib.h>
9805 #ifdef HAVE_X11_XUTIL_H
9806 # include <X11/Xutil.h>
9809 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9810 cat >>confdefs.h
<<_ACEOF
9811 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9819 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9822 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9823 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9824 $as_echo_n "(cached) " >&6
9826 ac_check_lib_save_LIBS
=$LIBS
9827 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9831 /* Override any GCC internal prototype to avoid an error.
9832 Use char because int might match the return type of a GCC
9833 builtin and then its argument prototype would still apply. */
9837 char XkbQueryExtension ();
9841 return XkbQueryExtension ();
9846 if ac_fn_c_try_link
"$LINENO"; then :
9847 ac_cv_lib_X11_XkbQueryExtension
=yes
9849 ac_cv_lib_X11_XkbQueryExtension
=no
9851 rm -f core conftest.err conftest.
$ac_objext \
9852 conftest
$ac_exeext conftest.
$ac_ext
9853 LIBS
=$ac_check_lib_save_LIBS
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9856 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9857 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9859 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9865 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9868 $as_echo_n "checking for -lXcursor... " >&6; }
9869 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9870 $as_echo_n "(cached) " >&6
9872 ac_check_soname_save_LIBS
=$LIBS
9873 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9875 /* end confdefs.h. */
9877 /* Override any GCC internal prototype to avoid an error.
9878 Use char because int might match the return type of a GCC
9879 builtin and then its argument prototype would still apply. */
9883 char XcursorImageLoadCursor ();
9887 return XcursorImageLoadCursor ();
9892 if ac_fn_c_try_link
"$LINENO"; then :
9894 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9895 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'` ;;
9896 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9897 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9898 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9902 rm -f core conftest.err conftest.
$ac_objext \
9903 conftest
$ac_exeext conftest.
$ac_ext
9904 LIBS
=$ac_check_soname_save_LIBS
9906 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9908 $as_echo "not found" >&6; }
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9912 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9914 cat >>confdefs.h
<<_ACEOF
9915 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9921 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9922 case "x$with_xcursor" in
9923 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9925 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9926 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9931 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9934 $as_echo_n "checking for -lXi... " >&6; }
9935 if ${ac_cv_lib_soname_Xi+:} false
; then :
9936 $as_echo_n "(cached) " >&6
9938 ac_check_soname_save_LIBS
=$LIBS
9939 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9941 /* end confdefs.h. */
9943 /* Override any GCC internal prototype to avoid an error.
9944 Use char because int might match the return type of a GCC
9945 builtin and then its argument prototype would still apply. */
9949 char XOpenDevice ();
9953 return XOpenDevice ();
9958 if ac_fn_c_try_link
"$LINENO"; then :
9960 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9961 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'` ;;
9962 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9963 if ${ac_cv_lib_soname_Xi:+false} :; then :
9964 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9968 rm -f core conftest.err conftest.
$ac_objext \
9969 conftest
$ac_exeext conftest.
$ac_ext
9970 LIBS
=$ac_check_soname_save_LIBS
9972 if ${ac_cv_lib_soname_Xi:+false} :; then :
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9974 $as_echo "not found" >&6; }
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9978 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9980 cat >>confdefs.h
<<_ACEOF
9981 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9987 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9988 case "x$with_xinput" in
9989 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9991 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9992 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9997 if test "x$ac_cv_lib_soname_Xi" != x
9999 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10000 case "x$with_xinput2" in
10001 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10003 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
10004 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10010 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10013 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10014 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
10015 $as_echo_n "(cached) " >&6
10017 ac_check_lib_save_LIBS
=$LIBS
10018 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10020 /* end confdefs.h. */
10022 /* Override any GCC internal prototype to avoid an error.
10023 Use char because int might match the return type of a GCC
10024 builtin and then its argument prototype would still apply. */
10028 char XShmQueryExtension ();
10032 return XShmQueryExtension ();
10037 if ac_fn_c_try_link
"$LINENO"; then :
10038 ac_cv_lib_Xext_XShmQueryExtension
=yes
10040 ac_cv_lib_Xext_XShmQueryExtension
=no
10042 rm -f core conftest.err conftest.
$ac_objext \
10043 conftest
$ac_exeext conftest.
$ac_ext
10044 LIBS
=$ac_check_lib_save_LIBS
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10047 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10048 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10050 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10055 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10056 case "x$with_xshm" in
10057 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10059 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10060 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10065 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10068 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10069 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10070 $as_echo_n "(cached) " >&6
10072 ac_check_lib_save_LIBS
=$LIBS
10073 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10075 /* end confdefs.h. */
10077 /* Override any GCC internal prototype to avoid an error.
10078 Use char because int might match the return type of a GCC
10079 builtin and then its argument prototype would still apply. */
10083 char XShapeQueryExtension ();
10087 return XShapeQueryExtension ();
10092 if ac_fn_c_try_link
"$LINENO"; then :
10093 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10095 ac_cv_lib_Xext_XShapeQueryExtension
=no
10097 rm -f core conftest.err conftest.
$ac_objext \
10098 conftest
$ac_exeext conftest.
$ac_ext
10099 LIBS
=$ac_check_lib_save_LIBS
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10102 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10103 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10105 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10110 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10111 case "x$with_xshape" in
10112 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10114 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10115 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10120 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10123 $as_echo_n "checking for -lXxf86vm... " >&6; }
10124 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10125 $as_echo_n "(cached) " >&6
10127 ac_check_soname_save_LIBS
=$LIBS
10128 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10130 /* end confdefs.h. */
10132 /* Override any GCC internal prototype to avoid an error.
10133 Use char because int might match the return type of a GCC
10134 builtin and then its argument prototype would still apply. */
10138 char XF86VidModeQueryExtension ();
10142 return XF86VidModeQueryExtension ();
10147 if ac_fn_c_try_link
"$LINENO"; then :
10149 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10150 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'` ;;
10151 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10152 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10153 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10157 rm -f core conftest.err conftest.
$ac_objext \
10158 conftest
$ac_exeext conftest.
$ac_ext
10159 LIBS
=$ac_check_soname_save_LIBS
10161 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10163 $as_echo "not found" >&6; }
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10167 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10169 cat >>confdefs.h
<<_ACEOF
10170 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10176 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10177 case "x$with_xxf86vm" in
10178 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10180 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10181 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10186 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10189 $as_echo_n "checking for -lXrender... " >&6; }
10190 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10191 $as_echo_n "(cached) " >&6
10193 ac_check_soname_save_LIBS
=$LIBS
10194 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10196 /* end confdefs.h. */
10198 /* Override any GCC internal prototype to avoid an error.
10199 Use char because int might match the return type of a GCC
10200 builtin and then its argument prototype would still apply. */
10204 char XRenderQueryExtension ();
10208 return XRenderQueryExtension ();
10213 if ac_fn_c_try_link
"$LINENO"; then :
10215 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10216 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'` ;;
10217 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10218 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10219 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10223 rm -f core conftest.err conftest.
$ac_objext \
10224 conftest
$ac_exeext conftest.
$ac_ext
10225 LIBS
=$ac_check_soname_save_LIBS
10227 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10229 $as_echo "not found" >&6; }
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10233 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10235 cat >>confdefs.h
<<_ACEOF
10236 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10240 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10241 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10242 $as_echo_n "(cached) " >&6
10244 ac_check_lib_save_LIBS
=$LIBS
10245 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10249 /* Override any GCC internal prototype to avoid an error.
10250 Use char because int might match the return type of a GCC
10251 builtin and then its argument prototype would still apply. */
10255 char XRenderSetPictureTransform ();
10259 return XRenderSetPictureTransform ();
10264 if ac_fn_c_try_link
"$LINENO"; then :
10265 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10267 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10269 rm -f core conftest.err conftest.
$ac_objext \
10270 conftest
$ac_exeext conftest.
$ac_ext
10271 LIBS
=$ac_check_lib_save_LIBS
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10274 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10275 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10277 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10282 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10283 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10284 $as_echo_n "(cached) " >&6
10286 ac_check_lib_save_LIBS
=$LIBS
10287 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10289 /* end confdefs.h. */
10291 /* Override any GCC internal prototype to avoid an error.
10292 Use char because int might match the return type of a GCC
10293 builtin and then its argument prototype would still apply. */
10297 char XRenderCreateLinearGradient ();
10301 return XRenderCreateLinearGradient ();
10306 if ac_fn_c_try_link
"$LINENO"; then :
10307 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10309 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10311 rm -f core conftest.err conftest.
$ac_objext \
10312 conftest
$ac_exeext conftest.
$ac_ext
10313 LIBS
=$ac_check_lib_save_LIBS
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10316 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10317 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10319 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10326 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10327 case "x$with_xrender" in
10328 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10330 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10331 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10336 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10339 /* end confdefs.h. */
10340 #include <X11/Xlib.h>
10341 #include <X11/extensions/Xrandr.h>
10345 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10350 if ac_fn_c_try_compile
"$LINENO"; then :
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10352 $as_echo_n "checking for -lXrandr... " >&6; }
10353 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10354 $as_echo_n "(cached) " >&6
10356 ac_check_soname_save_LIBS
=$LIBS
10357 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10359 /* end confdefs.h. */
10361 /* Override any GCC internal prototype to avoid an error.
10362 Use char because int might match the return type of a GCC
10363 builtin and then its argument prototype would still apply. */
10367 char XRRQueryExtension ();
10371 return XRRQueryExtension ();
10376 if ac_fn_c_try_link
"$LINENO"; then :
10378 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10379 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'` ;;
10380 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10381 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10382 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10386 rm -f core conftest.err conftest.
$ac_objext \
10387 conftest
$ac_exeext conftest.
$ac_ext
10388 LIBS
=$ac_check_soname_save_LIBS
10390 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10392 $as_echo "not found" >&6; }
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10396 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10398 cat >>confdefs.h
<<_ACEOF
10399 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10403 /* end confdefs.h. */
10404 #include <X11/Xlib.h>
10405 #include <X11/extensions/Xrandr.h>
10409 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10414 if ac_fn_c_try_compile
"$LINENO"; then :
10416 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10424 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10425 case "x$with_xrandr" in
10426 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10428 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10429 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10434 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10437 /* end confdefs.h. */
10438 #include <X11/Xlib.h>
10439 #include <X11/extensions/Xinerama.h>
10443 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10448 if ac_fn_c_try_compile
"$LINENO"; then :
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10450 $as_echo_n "checking for -lXinerama... " >&6; }
10451 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10452 $as_echo_n "(cached) " >&6
10454 ac_check_soname_save_LIBS
=$LIBS
10455 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10457 /* end confdefs.h. */
10459 /* Override any GCC internal prototype to avoid an error.
10460 Use char because int might match the return type of a GCC
10461 builtin and then its argument prototype would still apply. */
10465 char XineramaQueryScreens ();
10469 return XineramaQueryScreens ();
10474 if ac_fn_c_try_link
"$LINENO"; then :
10476 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10477 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'` ;;
10478 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10479 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10480 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10484 rm -f core conftest.err conftest.
$ac_objext \
10485 conftest
$ac_exeext conftest.
$ac_ext
10486 LIBS
=$ac_check_soname_save_LIBS
10488 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10490 $as_echo "not found" >&6; }
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10494 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10496 cat >>confdefs.h
<<_ACEOF
10497 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10503 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10505 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10506 case "x$with_xinerama" in
10507 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10509 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10510 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10515 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10518 $as_echo_n "checking for -lXcomposite... " >&6; }
10519 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10520 $as_echo_n "(cached) " >&6
10522 ac_check_soname_save_LIBS
=$LIBS
10523 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10525 /* end confdefs.h. */
10527 /* Override any GCC internal prototype to avoid an error.
10528 Use char because int might match the return type of a GCC
10529 builtin and then its argument prototype would still apply. */
10533 char XCompositeRedirectWindow ();
10537 return XCompositeRedirectWindow ();
10542 if ac_fn_c_try_link
"$LINENO"; then :
10544 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10545 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'` ;;
10546 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10547 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10548 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10552 rm -f core conftest.err conftest.
$ac_objext \
10553 conftest
$ac_exeext conftest.
$ac_ext
10554 LIBS
=$ac_check_soname_save_LIBS
10556 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10558 $as_echo "not found" >&6; }
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10562 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10564 cat >>confdefs.h
<<_ACEOF
10565 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10571 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10572 case "x$with_xcomposite" in
10573 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10575 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10576 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10581 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10582 #include <X11/Xlib.h>
10585 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10587 cat >>confdefs.h
<<_ACEOF
10588 #define HAVE_XICCALLBACK_CALLBACK 1
10593 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10594 #include <X11/Xlib.h>
10597 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10599 cat >>confdefs.h
<<_ACEOF
10600 #define HAVE_XEVENT_XCOOKIE 1
10609 if test "x$with_opengl" != "xno"
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10612 $as_echo_n "checking for -lGL... " >&6; }
10613 if ${ac_cv_lib_soname_GL+:} false
; then :
10614 $as_echo_n "(cached) " >&6
10616 ac_check_soname_save_LIBS
=$LIBS
10617 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10619 /* end confdefs.h. */
10621 /* Override any GCC internal prototype to avoid an error.
10622 Use char because int might match the return type of a GCC
10623 builtin and then its argument prototype would still apply. */
10627 char glXCreateContext ();
10631 return glXCreateContext ();
10636 if ac_fn_c_try_link
"$LINENO"; then :
10638 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10639 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'` ;;
10640 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10641 if ${ac_cv_lib_soname_GL:+false} :; then :
10642 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10646 rm -f core conftest.err conftest.
$ac_objext \
10647 conftest
$ac_exeext conftest.
$ac_ext
10648 LIBS
=$ac_check_soname_save_LIBS
10650 if ${ac_cv_lib_soname_GL:+false} :; then :
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10652 $as_echo "not found" >&6; }
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10654 $as_echo_n "checking for -lGL... " >&6; }
10655 if ${ac_cv_lib_soname_GL+:} false
; then :
10656 $as_echo_n "(cached) " >&6
10658 ac_check_soname_save_LIBS
=$LIBS
10659 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"
10660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10661 /* end confdefs.h. */
10663 /* Override any GCC internal prototype to avoid an error.
10664 Use char because int might match the return type of a GCC
10665 builtin and then its argument prototype would still apply. */
10669 char glXCreateContext ();
10673 return glXCreateContext ();
10678 if ac_fn_c_try_link
"$LINENO"; then :
10680 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10681 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'` ;;
10682 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10683 if ${ac_cv_lib_soname_GL:+false} :; then :
10684 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10688 rm -f core conftest.err conftest.
$ac_objext \
10689 conftest
$ac_exeext conftest.
$ac_ext
10690 LIBS
=$ac_check_soname_save_LIBS
10692 if ${ac_cv_lib_soname_GL:+false} :; then :
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10694 $as_echo "not found" >&6; }
10695 if test -f /usr
/X11R
6/lib
/libGL.a
10697 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10698 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10700 opengl_msg
="No OpenGL library found on this system."
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10704 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10706 cat >>confdefs.h
<<_ACEOF
10707 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10710 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"
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10714 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10716 cat >>confdefs.h
<<_ACEOF
10717 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10722 if test "x$with_glu" != "xno"
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10725 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10726 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10727 $as_echo_n "(cached) " >&6
10729 ac_check_lib_save_LIBS
=$LIBS
10730 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10732 /* end confdefs.h. */
10734 /* Override any GCC internal prototype to avoid an error.
10735 Use char because int might match the return type of a GCC
10736 builtin and then its argument prototype would still apply. */
10744 return gluLookAt ();
10749 if ac_fn_c_try_link
"$LINENO"; then :
10750 ac_cv_lib_GLU_gluLookAt
=yes
10752 ac_cv_lib_GLU_gluLookAt
=no
10754 rm -f core conftest.err conftest.
$ac_objext \
10755 conftest
$ac_exeext conftest.
$ac_ext
10756 LIBS
=$ac_check_lib_save_LIBS
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10759 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10760 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10764 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10765 case "x$with_glu" in
10766 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10768 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10769 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10775 if test "x$with_osmesa" != "xno"
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10778 $as_echo_n "checking for -lOSMesa... " >&6; }
10779 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10780 $as_echo_n "(cached) " >&6
10782 ac_check_soname_save_LIBS
=$LIBS
10783 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10785 /* end confdefs.h. */
10787 /* Override any GCC internal prototype to avoid an error.
10788 Use char because int might match the return type of a GCC
10789 builtin and then its argument prototype would still apply. */
10802 if ac_fn_c_try_link
"$LINENO"; then :
10804 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10805 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'` ;;
10806 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10807 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10808 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10812 rm -f core conftest.err conftest.
$ac_objext \
10813 conftest
$ac_exeext conftest.
$ac_ext
10814 LIBS
=$ac_check_soname_save_LIBS
10816 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10818 $as_echo "not found" >&6; }
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10822 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10824 cat >>confdefs.h
<<_ACEOF
10825 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10830 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10831 case "x$with_osmesa" in
10832 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10834 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10835 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10841 if test -n "$opengl_msg"; then :
10842 case "x$with_opengl" in
10843 x
) as_fn_append wine_warnings
"|$opengl_msg
10844 OpenGL and Direct3D won't be supported." ;;
10846 *) as_fn_error $?
"$opengl_msg
10847 OpenGL and Direct3D won't be supported.
10848 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10853 CPPFLAGS
="$ac_save_CPPFLAGS"
10858 if test "x$X_LIBS" = "x"; then :
10861 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10862 without X support, which probably isn't what you want. You will need
10863 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10864 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10866 enable_winex11_drv
=${enable_winex11_drv:-no}
10869 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10871 if test "$ac_cv_header_CL_cl_h" = "yes"
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10874 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10875 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10876 $as_echo_n "(cached) " >&6
10878 ac_check_lib_save_LIBS
=$LIBS
10879 LIBS
="-lOpenCL $LIBS"
10880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10881 /* end confdefs.h. */
10883 /* Override any GCC internal prototype to avoid an error.
10884 Use char because int might match the return type of a GCC
10885 builtin and then its argument prototype would still apply. */
10889 char clGetPlatformInfo ();
10893 return clGetPlatformInfo ();
10898 if ac_fn_c_try_link
"$LINENO"; then :
10899 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10901 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10903 rm -f core conftest.err conftest.
$ac_objext \
10904 conftest
$ac_exeext conftest.
$ac_ext
10905 LIBS
=$ac_check_lib_save_LIBS
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10908 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10909 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10910 OPENCL_LIBS
="-lOpenCL"
10915 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10916 case "x$with_opencl" in
10917 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10919 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10920 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10922 enable_opencl
=${enable_opencl:-no}
10925 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10928 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10929 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10930 $as_echo_n "(cached) " >&6
10932 ac_check_lib_save_LIBS
=$LIBS
10933 LIBS
="-lpcap $LIBS"
10934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10935 /* end confdefs.h. */
10937 /* Override any GCC internal prototype to avoid an error.
10938 Use char because int might match the return type of a GCC
10939 builtin and then its argument prototype would still apply. */
10943 char pcap_create ();
10947 return pcap_create ();
10952 if ac_fn_c_try_link
"$LINENO"; then :
10953 ac_cv_lib_pcap_pcap_create
=yes
10955 ac_cv_lib_pcap_pcap_create
=no
10957 rm -f core conftest.err conftest.
$ac_objext \
10958 conftest
$ac_exeext conftest.
$ac_ext
10959 LIBS
=$ac_check_lib_save_LIBS
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10962 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10963 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10969 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10970 case "x$with_pcap" in
10971 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10973 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10974 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10976 enable_wpcap
=${enable_wpcap:-no}
10980 if test "x$with_xml" != "xno"
10982 if ${XML2_CFLAGS:+false} :; then :
10983 if ${PKG_CONFIG+:} false
; then :
10984 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10987 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10988 if ${XML2_LIBS:+false} :; then :
10989 if ${PKG_CONFIG+:} false
; then :
10990 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10993 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10994 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10995 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10996 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10997 ac_save_CPPFLAGS
=$CPPFLAGS
10998 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10999 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
11001 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11002 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11003 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11004 cat >>confdefs.h
<<_ACEOF
11005 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11012 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"
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11015 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11016 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
11017 $as_echo_n "(cached) " >&6
11019 ac_check_lib_save_LIBS
=$LIBS
11020 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11022 /* end confdefs.h. */
11024 /* Override any GCC internal prototype to avoid an error.
11025 Use char because int might match the return type of a GCC
11026 builtin and then its argument prototype would still apply. */
11030 char xmlParseMemory ();
11034 return xmlParseMemory ();
11039 if ac_fn_c_try_link
"$LINENO"; then :
11040 ac_cv_lib_xml2_xmlParseMemory
=yes
11042 ac_cv_lib_xml2_xmlParseMemory
=no
11044 rm -f core conftest.err conftest.
$ac_objext \
11045 conftest
$ac_exeext conftest.
$ac_ext
11046 LIBS
=$ac_check_lib_save_LIBS
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11049 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11050 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11052 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11059 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11060 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11061 $as_echo_n "(cached) " >&6
11063 ac_check_lib_save_LIBS
=$LIBS
11064 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11068 /* Override any GCC internal prototype to avoid an error.
11069 Use char because int might match the return type of a GCC
11070 builtin and then its argument prototype would still apply. */
11074 char xmlReadMemory ();
11078 return xmlReadMemory ();
11083 if ac_fn_c_try_link
"$LINENO"; then :
11084 ac_cv_lib_xml2_xmlReadMemory
=yes
11086 ac_cv_lib_xml2_xmlReadMemory
=no
11088 rm -f core conftest.err conftest.
$ac_objext \
11089 conftest
$ac_exeext conftest.
$ac_ext
11090 LIBS
=$ac_check_lib_save_LIBS
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11093 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11094 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11096 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11101 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11102 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11103 $as_echo_n "(cached) " >&6
11105 ac_check_lib_save_LIBS
=$LIBS
11106 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11108 /* end confdefs.h. */
11110 /* Override any GCC internal prototype to avoid an error.
11111 Use char because int might match the return type of a GCC
11112 builtin and then its argument prototype would still apply. */
11116 char xmlNewDocPI ();
11120 return xmlNewDocPI ();
11125 if ac_fn_c_try_link
"$LINENO"; then :
11126 ac_cv_lib_xml2_xmlNewDocPI
=yes
11128 ac_cv_lib_xml2_xmlNewDocPI
=no
11130 rm -f core conftest.err conftest.
$ac_objext \
11131 conftest
$ac_exeext conftest.
$ac_ext
11132 LIBS
=$ac_check_lib_save_LIBS
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11135 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11136 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11138 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11143 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11144 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11145 $as_echo_n "(cached) " >&6
11147 ac_check_lib_save_LIBS
=$LIBS
11148 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11150 /* end confdefs.h. */
11152 /* Override any GCC internal prototype to avoid an error.
11153 Use char because int might match the return type of a GCC
11154 builtin and then its argument prototype would still apply. */
11158 char xmlSchemaSetParserStructuredErrors ();
11162 return xmlSchemaSetParserStructuredErrors ();
11167 if ac_fn_c_try_link
"$LINENO"; then :
11168 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11170 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11172 rm -f core conftest.err conftest.
$ac_objext \
11173 conftest
$ac_exeext conftest.
$ac_ext
11174 LIBS
=$ac_check_lib_save_LIBS
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11177 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11178 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11180 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11185 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11186 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11187 $as_echo_n "(cached) " >&6
11189 ac_check_lib_save_LIBS
=$LIBS
11190 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h. */
11194 /* Override any GCC internal prototype to avoid an error.
11195 Use char because int might match the return type of a GCC
11196 builtin and then its argument prototype would still apply. */
11200 char xmlSchemaSetValidStructuredErrors ();
11204 return xmlSchemaSetValidStructuredErrors ();
11209 if ac_fn_c_try_link
"$LINENO"; then :
11210 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11212 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11214 rm -f core conftest.err conftest.
$ac_objext \
11215 conftest
$ac_exeext conftest.
$ac_ext
11216 LIBS
=$ac_check_lib_save_LIBS
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11219 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11220 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11222 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11227 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11228 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11229 $as_echo_n "(cached) " >&6
11231 ac_check_lib_save_LIBS
=$LIBS
11232 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11234 /* end confdefs.h. */
11236 /* Override any GCC internal prototype to avoid an error.
11237 Use char because int might match the return type of a GCC
11238 builtin and then its argument prototype would still apply. */
11242 char xmlFirstElementChild ();
11246 return xmlFirstElementChild ();
11251 if ac_fn_c_try_link
"$LINENO"; then :
11252 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11254 ac_cv_lib_xml2_xmlFirstElementChild
=no
11256 rm -f core conftest.err conftest.
$ac_objext \
11257 conftest
$ac_exeext conftest.
$ac_ext
11258 LIBS
=$ac_check_lib_save_LIBS
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11261 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11262 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11264 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11268 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11270 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11272 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11280 CPPFLAGS
=$ac_save_CPPFLAGS
11281 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11282 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11285 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11286 case "x$with_xml" in
11287 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11289 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11290 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11295 if test "x$with_xslt" != "xno"
11297 if ${XSLT_CFLAGS:+false} :; then :
11298 if ${PKG_CONFIG+:} false
; then :
11299 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11302 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11303 if ${XSLT_LIBS:+false} :; then :
11304 if ${PKG_CONFIG+:} false
; then :
11305 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11308 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11309 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11310 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11311 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11312 ac_save_CPPFLAGS
=$CPPFLAGS
11313 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11314 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11316 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11317 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11318 # include <libxslt/pattern.h>
11321 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11322 cat >>confdefs.h
<<_ACEOF
11323 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11330 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11333 $as_echo_n "checking for -lxslt... " >&6; }
11334 if ${ac_cv_lib_soname_xslt+:} false
; then :
11335 $as_echo_n "(cached) " >&6
11337 ac_check_soname_save_LIBS
=$LIBS
11338 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h. */
11342 /* Override any GCC internal prototype to avoid an error.
11343 Use char because int might match the return type of a GCC
11344 builtin and then its argument prototype would still apply. */
11348 char xsltCompilePattern ();
11352 return xsltCompilePattern ();
11357 if ac_fn_c_try_link
"$LINENO"; then :
11359 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11360 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'` ;;
11361 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11362 if ${ac_cv_lib_soname_xslt:+false} :; then :
11363 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11367 rm -f core conftest.err conftest.
$ac_objext \
11368 conftest
$ac_exeext conftest.
$ac_ext
11369 LIBS
=$ac_check_soname_save_LIBS
11371 if ${ac_cv_lib_soname_xslt:+false} :; then :
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11373 $as_echo "not found" >&6; }
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11377 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11379 cat >>confdefs.h
<<_ACEOF
11380 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11388 CPPFLAGS
=$ac_save_CPPFLAGS
11389 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11390 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11393 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11394 case "x$with_xslt" in
11395 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11397 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11398 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11403 if test "x$with_dbus" != "xno"
11405 if ${DBUS_CFLAGS:+false} :; then :
11406 if ${PKG_CONFIG+:} false
; then :
11407 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11411 if ${DBUS_LIBS:+false} :; then :
11412 if ${PKG_CONFIG+:} false
; then :
11413 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11418 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11419 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11420 ac_save_CPPFLAGS
=$CPPFLAGS
11421 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11422 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11423 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11425 $as_echo_n "checking for -ldbus-1... " >&6; }
11426 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11427 $as_echo_n "(cached) " >&6
11429 ac_check_soname_save_LIBS
=$LIBS
11430 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11432 /* end confdefs.h. */
11434 /* Override any GCC internal prototype to avoid an error.
11435 Use char because int might match the return type of a GCC
11436 builtin and then its argument prototype would still apply. */
11440 char dbus_connection_close ();
11444 return dbus_connection_close ();
11449 if ac_fn_c_try_link
"$LINENO"; then :
11451 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11452 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'` ;;
11453 *) 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'`
11454 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11455 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11459 rm -f core conftest.err conftest.
$ac_objext \
11460 conftest
$ac_exeext conftest.
$ac_ext
11461 LIBS
=$ac_check_soname_save_LIBS
11463 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11465 $as_echo "not found" >&6; }
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11469 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11471 cat >>confdefs.h
<<_ACEOF
11472 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11482 CPPFLAGS
=$ac_save_CPPFLAGS
11483 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11484 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11487 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11488 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11489 case "x$with_dbus" in
11490 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11492 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11493 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11498 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11500 if ${HAL_CFLAGS:+false} :; then :
11501 if ${PKG_CONFIG+:} false
; then :
11502 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11506 if ${HAL_LIBS:+false} :; then :
11507 if ${PKG_CONFIG+:} false
; then :
11508 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11512 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11513 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11514 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11515 ac_save_CPPFLAGS
=$CPPFLAGS
11516 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11517 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11518 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11520 $as_echo_n "checking for -lhal... " >&6; }
11521 if ${ac_cv_lib_soname_hal+:} false
; then :
11522 $as_echo_n "(cached) " >&6
11524 ac_check_soname_save_LIBS
=$LIBS
11525 LIBS
="-lhal $HAL_LIBS $LIBS"
11526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11527 /* end confdefs.h. */
11529 /* Override any GCC internal prototype to avoid an error.
11530 Use char because int might match the return type of a GCC
11531 builtin and then its argument prototype would still apply. */
11535 char libhal_ctx_new ();
11539 return libhal_ctx_new ();
11544 if ac_fn_c_try_link
"$LINENO"; then :
11546 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11547 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'` ;;
11548 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11549 if ${ac_cv_lib_soname_hal:+false} :; then :
11550 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11554 rm -f core conftest.err conftest.
$ac_objext \
11555 conftest
$ac_exeext conftest.
$ac_ext
11556 LIBS
=$ac_check_soname_save_LIBS
11558 if ${ac_cv_lib_soname_hal:+false} :; then :
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11560 $as_echo "not found" >&6; }
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11564 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11566 cat >>confdefs.h
<<_ACEOF
11567 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11577 CPPFLAGS
=$ac_save_CPPFLAGS
11578 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11579 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11581 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11582 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11583 case "x$with_hal" in
11584 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11586 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11587 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11593 if test "x$with_gnutls" != "xno"
11595 if ${GNUTLS_CFLAGS:+false} :; then :
11596 if ${PKG_CONFIG+:} false
; then :
11597 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11601 if ${GNUTLS_LIBS:+false} :; then :
11602 if ${PKG_CONFIG+:} false
; then :
11603 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11608 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11609 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11610 ac_save_CPPFLAGS
=$CPPFLAGS
11611 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11612 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11613 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11615 /* end confdefs.h. */
11616 #include <gnutls/gnutls.h>
11617 #include <gnutls/crypto.h>
11621 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11626 if ac_fn_c_try_compile
"$LINENO"; then :
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11628 $as_echo_n "checking for -lgnutls... " >&6; }
11629 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11630 $as_echo_n "(cached) " >&6
11632 ac_check_soname_save_LIBS
=$LIBS
11633 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11635 /* end confdefs.h. */
11637 /* Override any GCC internal prototype to avoid an error.
11638 Use char because int might match the return type of a GCC
11639 builtin and then its argument prototype would still apply. */
11643 char gnutls_global_init ();
11647 return gnutls_global_init ();
11652 if ac_fn_c_try_link
"$LINENO"; then :
11654 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11655 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'` ;;
11656 *) 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'`
11657 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11658 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'`
11662 rm -f core conftest.err conftest.
$ac_objext \
11663 conftest
$ac_exeext conftest.
$ac_ext
11664 LIBS
=$ac_check_soname_save_LIBS
11666 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11668 $as_echo "not found" >&6; }
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11672 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11674 cat >>confdefs.h
<<_ACEOF
11675 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11680 ac_wine_check_funcs_save_LIBS
="$LIBS"
11681 LIBS
="$LIBS $GNUTLS_LIBS"
11682 for ac_func
in gnutls_hash
11684 ac_fn_c_check_func
"$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11685 if test "x$ac_cv_func_gnutls_hash" = xyes
; then :
11686 cat >>confdefs.h
<<_ACEOF
11687 #define HAVE_GNUTLS_HASH 1
11691 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11695 LIBS
="$ac_wine_check_funcs_save_LIBS"
11697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11703 CPPFLAGS
=$ac_save_CPPFLAGS
11704 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11705 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11708 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11709 case "x$with_gnutls" in
11710 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11712 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11713 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11719 if test "$ac_cv_header_ncurses_h" = "yes"
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11722 $as_echo_n "checking for -lncurses... " >&6; }
11723 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11724 $as_echo_n "(cached) " >&6
11726 ac_check_soname_save_LIBS
=$LIBS
11727 LIBS
="-lncurses $LIBS"
11728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11729 /* end confdefs.h. */
11731 /* Override any GCC internal prototype to avoid an error.
11732 Use char because int might match the return type of a GCC
11733 builtin and then its argument prototype would still apply. */
11746 if ac_fn_c_try_link
"$LINENO"; then :
11748 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11749 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'` ;;
11750 *) 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'`
11751 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11752 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11756 rm -f core conftest.err conftest.
$ac_objext \
11757 conftest
$ac_exeext conftest.
$ac_ext
11758 LIBS
=$ac_check_soname_save_LIBS
11760 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11762 $as_echo "not found" >&6; }
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11766 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11768 cat >>confdefs.h
<<_ACEOF
11769 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11772 CURSES_LIBS
="-lncurses"
11774 elif test "$ac_cv_header_curses_h" = "yes"
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11777 $as_echo_n "checking for -lcurses... " >&6; }
11778 if ${ac_cv_lib_soname_curses+:} false
; then :
11779 $as_echo_n "(cached) " >&6
11781 ac_check_soname_save_LIBS
=$LIBS
11782 LIBS
="-lcurses $LIBS"
11783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11784 /* end confdefs.h. */
11786 /* Override any GCC internal prototype to avoid an error.
11787 Use char because int might match the return type of a GCC
11788 builtin and then its argument prototype would still apply. */
11801 if ac_fn_c_try_link
"$LINENO"; then :
11803 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11804 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'` ;;
11805 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11806 if ${ac_cv_lib_soname_curses:+false} :; then :
11807 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11811 rm -f core conftest.err conftest.
$ac_objext \
11812 conftest
$ac_exeext conftest.
$ac_ext
11813 LIBS
=$ac_check_soname_save_LIBS
11815 if ${ac_cv_lib_soname_curses:+false} :; then :
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11817 $as_echo "not found" >&6; }
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11821 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11823 cat >>confdefs.h
<<_ACEOF
11824 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11827 CURSES_LIBS
="-lcurses"
11830 ac_save_LIBS
="$LIBS"
11831 LIBS
="$LIBS $CURSES_LIBS"
11832 for ac_func
in mousemask
11834 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11835 if test "x$ac_cv_func_mousemask" = xyes
; then :
11836 cat >>confdefs.h
<<_ACEOF
11837 #define HAVE_MOUSEMASK 1
11843 LIBS
="$ac_save_LIBS"
11844 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11845 case "x$with_curses" in
11846 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11848 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11849 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11854 if test "x$with_sane" != "xno"
11856 if ${SANE_CFLAGS:+false} :; then :
11857 if ${PKG_CONFIG+:} false
; then :
11858 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11861 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11862 if ${SANE_LIBS:+false} :; then :
11863 if ${PKG_CONFIG+:} false
; then :
11864 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11867 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11869 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11870 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11871 ac_save_CPPFLAGS
=$CPPFLAGS
11872 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11873 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11874 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11876 $as_echo_n "checking for -lsane... " >&6; }
11877 if ${ac_cv_lib_soname_sane+:} false
; then :
11878 $as_echo_n "(cached) " >&6
11880 ac_check_soname_save_LIBS
=$LIBS
11881 LIBS
="-lsane $SANE_LIBS $LIBS"
11882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11883 /* end confdefs.h. */
11885 /* Override any GCC internal prototype to avoid an error.
11886 Use char because int might match the return type of a GCC
11887 builtin and then its argument prototype would still apply. */
11895 return sane_init ();
11900 if ac_fn_c_try_link
"$LINENO"; then :
11902 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11903 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'` ;;
11904 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11905 if ${ac_cv_lib_soname_sane:+false} :; then :
11906 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11910 rm -f core conftest.err conftest.
$ac_objext \
11911 conftest
$ac_exeext conftest.
$ac_ext
11912 LIBS
=$ac_check_soname_save_LIBS
11914 if ${ac_cv_lib_soname_sane:+false} :; then :
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11916 $as_echo "not found" >&6; }
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11920 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11922 cat >>confdefs.h
<<_ACEOF
11923 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11933 CPPFLAGS
=$ac_save_CPPFLAGS
11934 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11935 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11938 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11939 case "x$with_sane" in
11940 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11942 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11943 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11948 if test "x$with_v4l" != "xno"
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11951 $as_echo_n "checking for -lv4l1... " >&6; }
11952 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11953 $as_echo_n "(cached) " >&6
11955 ac_check_soname_save_LIBS
=$LIBS
11956 LIBS
="-lv4l1 $LIBS"
11957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11958 /* end confdefs.h. */
11960 /* Override any GCC internal prototype to avoid an error.
11961 Use char because int might match the return type of a GCC
11962 builtin and then its argument prototype would still apply. */
11970 return v4l1_open ();
11975 if ac_fn_c_try_link
"$LINENO"; then :
11977 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11978 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'` ;;
11979 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11980 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11981 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11985 rm -f core conftest.err conftest.
$ac_objext \
11986 conftest
$ac_exeext conftest.
$ac_ext
11987 LIBS
=$ac_check_soname_save_LIBS
11989 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11991 $as_echo "not found" >&6; }
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11995 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11997 cat >>confdefs.h
<<_ACEOF
11998 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12004 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12005 case "x$with_v4l" in
12006 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
12008 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
12009 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12014 if test "x$with_gphoto" != "xno"
12016 if ${GPHOTO2_CFLAGS:+false} :; then :
12017 if ${PKG_CONFIG+:} false
; then :
12018 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12021 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12022 if ${GPHOTO2_LIBS:+false} :; then :
12023 if ${PKG_CONFIG+:} false
; then :
12024 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12027 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12028 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
12029 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12030 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12031 ac_save_CPPFLAGS
=$CPPFLAGS
12032 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
12033 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12034 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12036 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12037 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
12038 $as_echo_n "(cached) " >&6
12040 ac_check_lib_save_LIBS
=$LIBS
12041 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12043 /* end confdefs.h. */
12045 /* Override any GCC internal prototype to avoid an error.
12046 Use char because int might match the return type of a GCC
12047 builtin and then its argument prototype would still apply. */
12051 char gp_camera_new ();
12055 return gp_camera_new ();
12060 if ac_fn_c_try_link
"$LINENO"; then :
12061 ac_cv_lib_gphoto2_gp_camera_new
=yes
12063 ac_cv_lib_gphoto2_gp_camera_new
=no
12065 rm -f core conftest.err conftest.
$ac_objext \
12066 conftest
$ac_exeext conftest.
$ac_ext
12067 LIBS
=$ac_check_lib_save_LIBS
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12070 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12071 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12073 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12076 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12080 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12084 CPPFLAGS
=$ac_save_CPPFLAGS
12085 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12086 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12088 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12089 if ${PKG_CONFIG+:} false
; then :
12090 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12093 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12094 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12095 if ${PKG_CONFIG+:} false
; then :
12096 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12099 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12100 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12101 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12102 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12103 ac_save_CPPFLAGS
=$CPPFLAGS
12104 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12105 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12106 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12108 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12109 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12110 $as_echo_n "(cached) " >&6
12112 ac_check_lib_save_LIBS
=$LIBS
12113 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12115 /* end confdefs.h. */
12117 /* Override any GCC internal prototype to avoid an error.
12118 Use char because int might match the return type of a GCC
12119 builtin and then its argument prototype would still apply. */
12123 char gp_port_info_list_new ();
12127 return gp_port_info_list_new ();
12132 if ac_fn_c_try_link
"$LINENO"; then :
12133 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12135 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12137 rm -f core conftest.err conftest.
$ac_objext \
12138 conftest
$ac_exeext conftest.
$ac_ext
12139 LIBS
=$ac_check_lib_save_LIBS
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12142 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12143 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12145 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12148 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12152 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12156 CPPFLAGS
=$ac_save_CPPFLAGS
12157 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12158 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12161 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12162 case "x$with_gphoto" in
12163 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12165 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12166 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12170 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12171 case "x$with_gphoto" in
12172 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12174 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12175 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12181 if test "$ac_cv_header_resolv_h" = "yes"
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12184 $as_echo_n "checking for resolver library... " >&6; }
12185 if ${ac_cv_have_resolv+:} false
; then :
12186 $as_echo_n "(cached) " >&6
12188 ac_save_LIBS
="$LIBS"
12189 for lib
in '' -lresolv
12191 LIBS
="$lib $ac_save_LIBS"
12192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12193 /* end confdefs.h. */
12194 #ifdef HAVE_NETINET_IN_H
12195 #include <netinet/in.h>
12197 #include <resolv.h>
12201 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12206 if ac_fn_c_try_link
"$LINENO"; then :
12207 ac_cv_have_resolv
=${lib:-"none required"}
12209 ac_cv_have_resolv
="not found"
12211 rm -f core conftest.err conftest.
$ac_objext \
12212 conftest
$ac_exeext conftest.
$ac_ext
12213 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12215 LIBS
="$ac_save_LIBS"
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12218 $as_echo "$ac_cv_have_resolv" >&6; }
12220 case "$ac_cv_have_resolv" in
12224 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12227 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12229 RESOLV_LIBS
=$ac_cv_have_resolv
12234 if test "x$with_cms" != "xno"
12236 if ${LCMS2_CFLAGS:+false} :; then :
12237 if ${PKG_CONFIG+:} false
; then :
12238 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12242 if ${LCMS2_LIBS:+false} :; then :
12243 if ${PKG_CONFIG+:} false
; then :
12244 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12248 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12249 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12250 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12251 ac_save_CPPFLAGS
=$CPPFLAGS
12252 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12253 for ac_header
in lcms2.h
12255 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12256 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12257 cat >>confdefs.h
<<_ACEOF
12258 #define HAVE_LCMS2_H 1
12265 if test "$ac_cv_header_lcms2_h" = "yes"
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12268 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12269 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12270 $as_echo_n "(cached) " >&6
12272 ac_check_lib_save_LIBS
=$LIBS
12273 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12275 /* end confdefs.h. */
12277 /* Override any GCC internal prototype to avoid an error.
12278 Use char because int might match the return type of a GCC
12279 builtin and then its argument prototype would still apply. */
12283 char cmsOpenProfileFromFile ();
12287 return cmsOpenProfileFromFile ();
12292 if ac_fn_c_try_link
"$LINENO"; then :
12293 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12295 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12297 rm -f core conftest.err conftest.
$ac_objext \
12298 conftest
$ac_exeext conftest.
$ac_ext
12299 LIBS
=$ac_check_lib_save_LIBS
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12302 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12303 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12305 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12315 CPPFLAGS
=$ac_save_CPPFLAGS
12316 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12317 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12320 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12321 case "x$with_cms" in
12322 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12324 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12325 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12330 if test "x$with_freetype" != "xno"
12332 if ${FREETYPE_CFLAGS:+false} :; then :
12333 if ${PKG_CONFIG+:} false
; then :
12334 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12337 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12338 if ${FREETYPE_LIBS:+false} :; then :
12339 if ${PKG_CONFIG+:} false
; then :
12340 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12343 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12344 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12345 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12346 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12347 ac_save_CPPFLAGS
=$CPPFLAGS
12348 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12349 for ac_header
in ft2build.h
12351 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12352 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12353 cat >>confdefs.h
<<_ACEOF
12354 #define HAVE_FT2BUILD_H 1
12361 if test "$ac_cv_header_ft2build_h" = "yes"
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12364 $as_echo_n "checking for -lfreetype... " >&6; }
12365 if ${ac_cv_lib_soname_freetype+:} false
; then :
12366 $as_echo_n "(cached) " >&6
12368 ac_check_soname_save_LIBS
=$LIBS
12369 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12371 /* end confdefs.h. */
12373 /* Override any GCC internal prototype to avoid an error.
12374 Use char because int might match the return type of a GCC
12375 builtin and then its argument prototype would still apply. */
12379 char FT_Init_FreeType ();
12383 return FT_Init_FreeType ();
12388 if ac_fn_c_try_link
"$LINENO"; then :
12390 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12391 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'` ;;
12392 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12393 if ${ac_cv_lib_soname_freetype:+false} :; then :
12394 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12398 rm -f core conftest.err conftest.
$ac_objext \
12399 conftest
$ac_exeext conftest.
$ac_ext
12400 LIBS
=$ac_check_soname_save_LIBS
12402 if ${ac_cv_lib_soname_freetype:+false} :; then :
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12404 $as_echo "not found" >&6; }
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12408 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12410 cat >>confdefs.h
<<_ACEOF
12411 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12415 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12417 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12418 #include FT_MODULE_H
12420 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12422 cat >>confdefs.h
<<_ACEOF
12423 #define HAVE_FT_TRUETYPEENGINETYPE 1
12434 CPPFLAGS
=$ac_save_CPPFLAGS
12435 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12436 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12439 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12440 case "x$with_freetype" in
12442 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12443 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12445 enable_fonts
=${enable_fonts:-no}
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12449 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12450 if ${ac_cv_c_ppdev+:} false
; then :
12451 $as_echo_n "(cached) " >&6
12453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12454 /* end confdefs.h. */
12455 #ifdef HAVE_SYS_IOCTL_H
12456 # include <sys/ioctl.h>
12458 #include <linux/ppdev.h>
12462 ioctl (1,PPCLAIM,0)
12467 if ac_fn_c_try_compile
"$LINENO"; then :
12468 ac_cv_c_ppdev
="yes"
12472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12475 $as_echo "$ac_cv_c_ppdev" >&6; }
12476 if test "$ac_cv_c_ppdev" = "yes"
12479 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12483 ac_wine_check_funcs_save_LIBS
="$LIBS"
12484 LIBS
="$LIBS $PTHREAD_LIBS"
12486 pthread_attr_get_np \
12487 pthread_getattr_np \
12488 pthread_getthreadid_np \
12489 pthread_get_stackaddr_np \
12490 pthread_get_stacksize_np
12492 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12493 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12494 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12495 cat >>confdefs.h
<<_ACEOF
12496 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12502 LIBS
="$ac_wine_check_funcs_save_LIBS"
12504 if test "$ac_cv_header_zlib_h" = "yes"
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12507 $as_echo_n "checking for inflate in -lz... " >&6; }
12508 if ${ac_cv_lib_z_inflate+:} false
; then :
12509 $as_echo_n "(cached) " >&6
12511 ac_check_lib_save_LIBS
=$LIBS
12513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12514 /* end confdefs.h. */
12516 /* Override any GCC internal prototype to avoid an error.
12517 Use char because int might match the return type of a GCC
12518 builtin and then its argument prototype would still apply. */
12531 if ac_fn_c_try_link
"$LINENO"; then :
12532 ac_cv_lib_z_inflate
=yes
12534 ac_cv_lib_z_inflate
=no
12536 rm -f core conftest.err conftest.
$ac_objext \
12537 conftest
$ac_exeext conftest.
$ac_ext
12538 LIBS
=$ac_check_lib_save_LIBS
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12541 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12542 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12544 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12551 if test "x$Z_LIBS" = "x"; then :
12552 case "x$with_zlib" in
12553 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12555 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12556 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12561 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
12563 if test "$ac_cv_header_gettext_po_h" = "yes"
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12566 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12567 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12568 $as_echo_n "(cached) " >&6
12570 ac_check_lib_save_LIBS
=$LIBS
12571 LIBS
="-lgettextpo $LIBS"
12572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12573 /* end confdefs.h. */
12575 /* Override any GCC internal prototype to avoid an error.
12576 Use char because int might match the return type of a GCC
12577 builtin and then its argument prototype would still apply. */
12581 char po_message_msgctxt ();
12585 return po_message_msgctxt ();
12590 if ac_fn_c_try_link
"$LINENO"; then :
12591 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12593 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12595 rm -f core conftest.err conftest.
$ac_objext \
12596 conftest
$ac_exeext conftest.
$ac_ext
12597 LIBS
=$ac_check_lib_save_LIBS
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12600 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12601 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12603 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12605 GETTEXTPO_LIBS
="-lgettextpo"
12610 if test "x$GETTEXTPO_LIBS" = "x"; then :
12611 case "x$with_gettextpo" in
12612 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12614 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12615 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12619 if test "$srcdir" != .
; then :
12620 case "x$with_gettextpo" in
12621 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
12623 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
12624 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12630 if test "x$with_pulse" != "xno";
12632 if ${PULSE_CFLAGS:+false} :; then :
12633 if ${PKG_CONFIG+:} false
; then :
12634 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12638 if ${PULSE_LIBS:+false} :; then :
12639 if ${PKG_CONFIG+:} false
; then :
12640 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12645 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12646 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12647 ac_save_CPPFLAGS
=$CPPFLAGS
12648 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12649 for ac_header
in pulse
/pulseaudio.h
12651 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12652 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12653 cat >>confdefs.h
<<_ACEOF
12654 #define HAVE_PULSE_PULSEAUDIO_H 1
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12657 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12658 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12659 $as_echo_n "(cached) " >&6
12661 ac_check_lib_save_LIBS
=$LIBS
12662 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12664 /* end confdefs.h. */
12666 /* Override any GCC internal prototype to avoid an error.
12667 Use char because int might match the return type of a GCC
12668 builtin and then its argument prototype would still apply. */
12672 char pa_stream_is_corked ();
12676 return pa_stream_is_corked ();
12681 if ac_fn_c_try_link
"$LINENO"; then :
12682 ac_cv_lib_pulse_pa_stream_is_corked
=yes
12684 ac_cv_lib_pulse_pa_stream_is_corked
=no
12686 rm -f core conftest.err conftest.
$ac_objext \
12687 conftest
$ac_exeext conftest.
$ac_ext
12688 LIBS
=$ac_check_lib_save_LIBS
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12691 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12692 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
12704 CPPFLAGS
=$ac_save_CPPFLAGS
12705 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12706 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12709 if test -z "$PULSE_LIBS"; then :
12710 case "x$with_pulse" in
12711 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12713 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12714 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12716 enable_winepulse_drv
=${enable_winepulse_drv:-no}
12719 if test "x$with_gstreamer" != "xno"
12721 if ${GSTREAMER_CFLAGS:+false} :; then :
12722 if ${PKG_CONFIG+:} false
; then :
12723 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12727 if ${GSTREAMER_LIBS:+false} :; then :
12728 if ${PKG_CONFIG+:} false
; then :
12729 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12734 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12735 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12736 ac_save_CPPFLAGS
=$CPPFLAGS
12737 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12739 for i
in $GSTREAMER_CFLAGS
12742 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12745 GSTREAMER_CFLAGS
=$ac_gst_incl
12746 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12747 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12748 if test "x$ac_cv_header_gst_gst_h" = xyes
; then :
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12750 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12752 /* end confdefs.h. */
12753 #include <gst/gst.h>
12757 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12762 if ac_fn_c_try_compile
"$LINENO"; then :
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12764 $as_echo "yes" >&6; }
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12766 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12767 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false
; then :
12768 $as_echo_n "(cached) " >&6
12770 ac_check_lib_save_LIBS
=$LIBS
12771 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12773 /* end confdefs.h. */
12775 /* Override any GCC internal prototype to avoid an error.
12776 Use char because int might match the return type of a GCC
12777 builtin and then its argument prototype would still apply. */
12781 char gst_pad_new ();
12785 return gst_pad_new ();
12790 if ac_fn_c_try_link
"$LINENO"; then :
12791 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
12793 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
12795 rm -f core conftest.err conftest.
$ac_objext \
12796 conftest
$ac_exeext conftest.
$ac_ext
12797 LIBS
=$ac_check_lib_save_LIBS
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12800 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12801 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
; then :
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12807 $as_echo "no" >&6; }
12808 ac_glib2_broken
=yes
12809 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12815 CPPFLAGS
=$ac_save_CPPFLAGS
12816 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12817 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12820 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 :
12821 case "x$with_gstreamer" in
12822 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12824 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12825 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12829 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12833 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12836 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12837 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12838 $as_echo_n "(cached) " >&6
12840 ac_check_lib_save_LIBS
=$LIBS
12841 LIBS
="-lasound $LIBS"
12842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12843 /* end confdefs.h. */
12845 /* Override any GCC internal prototype to avoid an error.
12846 Use char because int might match the return type of a GCC
12847 builtin and then its argument prototype would still apply. */
12851 char snd_pcm_hw_params_get_access_mask ();
12855 return snd_pcm_hw_params_get_access_mask ();
12860 if ac_fn_c_try_link
"$LINENO"; then :
12861 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12863 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12865 rm -f core conftest.err conftest.
$ac_objext \
12866 conftest
$ac_exeext conftest.
$ac_ext
12867 LIBS
=$ac_check_lib_save_LIBS
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12870 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12871 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12873 /* end confdefs.h. */
12874 #ifdef HAVE_ALSA_ASOUNDLIB_H
12875 #include <alsa/asoundlib.h>
12876 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12877 #include <sys/asoundlib.h>
12882 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12887 if ac_fn_c_try_compile
"$LINENO"; then :
12888 ALSA_LIBS
="-lasound"
12890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12894 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12896 if test "x$with_oss" != xno
12898 ac_save_CPPFLAGS
="$CPPFLAGS"
12899 if test -f /etc
/oss.conf
12903 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12904 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12905 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12906 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12907 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12909 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12911 cat >>confdefs.h
<<_ACEOF
12912 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12915 OSS4_CFLAGS
="$ac_oss_incl"
12922 CPPFLAGS
="$ac_save_CPPFLAGS"
12924 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
; then :
12925 case "x$with_oss" in
12926 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12928 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12929 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12931 enable_wineoss_drv
=${enable_wineoss_drv:-no}
12934 if test "x$with_udev" != "xno"
12936 if ${UDEV_CFLAGS:+false} :; then :
12937 if ${PKG_CONFIG+:} false
; then :
12938 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12942 if ${UDEV_LIBS:+false} :; then :
12943 if ${PKG_CONFIG+:} false
; then :
12944 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
12949 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12950 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12951 ac_save_CPPFLAGS
=$CPPFLAGS
12952 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
12953 for ac_header
in libudev.h
12955 ac_fn_c_check_header_mongrel
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12956 if test "x$ac_cv_header_libudev_h" = xyes
; then :
12957 cat >>confdefs.h
<<_ACEOF
12958 #define HAVE_LIBUDEV_H 1
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12961 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12962 if ${ac_cv_lib_udev_udev_new+:} false
; then :
12963 $as_echo_n "(cached) " >&6
12965 ac_check_lib_save_LIBS
=$LIBS
12966 LIBS
="-ludev $UDEV_LIBS $LIBS"
12967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12968 /* end confdefs.h. */
12970 /* Override any GCC internal prototype to avoid an error.
12971 Use char because int might match the return type of a GCC
12972 builtin and then its argument prototype would still apply. */
12980 return udev_new ();
12985 if ac_fn_c_try_link
"$LINENO"; then :
12986 ac_cv_lib_udev_udev_new
=yes
12988 ac_cv_lib_udev_udev_new
=no
12990 rm -f core conftest.err conftest.
$ac_objext \
12991 conftest
$ac_exeext conftest.
$ac_ext
12992 LIBS
=$ac_check_lib_save_LIBS
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
12995 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
12996 if test "x$ac_cv_lib_udev_udev_new" = xyes
; then :
12998 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13010 CPPFLAGS
=$ac_save_CPPFLAGS
13011 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS
=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13012 test -z "$UDEV_LIBS" || UDEV_LIBS
=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13015 if test "x$UDEV_LIBS" = "x"; then :
13016 case "x$with_udev" in
13017 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13019 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
13020 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13025 if test "x$with_capi" != "xno"
13027 if ${CAPI20_CFLAGS:+false} :; then :
13028 if ${PKG_CONFIG+:} false
; then :
13029 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13033 if ${CAPI20_LIBS:+false} :; then :
13034 if ${PKG_CONFIG+:} false
; then :
13035 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
13040 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13041 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13042 ac_save_CPPFLAGS
=$CPPFLAGS
13043 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
13044 for ac_header
in capi20.h linux
/capi.h
13046 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13047 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13049 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13050 cat >>confdefs.h
<<_ACEOF
13051 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13058 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13061 $as_echo_n "checking for -lcapi20... " >&6; }
13062 if ${ac_cv_lib_soname_capi20+:} false
; then :
13063 $as_echo_n "(cached) " >&6
13065 ac_check_soname_save_LIBS
=$LIBS
13066 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
13067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13068 /* end confdefs.h. */
13070 /* Override any GCC internal prototype to avoid an error.
13071 Use char because int might match the return type of a GCC
13072 builtin and then its argument prototype would still apply. */
13076 char capi20_register ();
13080 return capi20_register ();
13085 if ac_fn_c_try_link
"$LINENO"; then :
13087 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13088 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'` ;;
13089 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13090 if ${ac_cv_lib_soname_capi20:+false} :; then :
13091 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13095 rm -f core conftest.err conftest.
$ac_objext \
13096 conftest
$ac_exeext conftest.
$ac_ext
13097 LIBS
=$ac_check_soname_save_LIBS
13099 if ${ac_cv_lib_soname_capi20:+false} :; then :
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13101 $as_echo "not found" >&6; }
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13105 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13107 cat >>confdefs.h
<<_ACEOF
13108 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13114 CPPFLAGS
=$ac_save_CPPFLAGS
13115 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13116 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13119 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13120 case "x$with_capi" in
13121 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13123 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13124 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13131 if test "x$with_cups" != "xno"
13133 ac_save_CPPFLAGS
="$CPPFLAGS"
13134 ac_cups_cflags
=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13135 ac_cups_libs
=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13136 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
13137 for ac_header
in cups
/cups.h
13139 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13140 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
13141 cat >>confdefs.h
<<_ACEOF
13142 #define HAVE_CUPS_CUPS_H 1
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13145 $as_echo_n "checking for -lcups... " >&6; }
13146 if ${ac_cv_lib_soname_cups+:} false
; then :
13147 $as_echo_n "(cached) " >&6
13149 ac_check_soname_save_LIBS
=$LIBS
13150 LIBS
="-lcups $ac_cups_libs $LIBS"
13151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13152 /* end confdefs.h. */
13154 /* Override any GCC internal prototype to avoid an error.
13155 Use char because int might match the return type of a GCC
13156 builtin and then its argument prototype would still apply. */
13160 char cupsGetDefault ();
13164 return cupsGetDefault ();
13169 if ac_fn_c_try_link
"$LINENO"; then :
13171 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13172 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'` ;;
13173 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13174 if ${ac_cv_lib_soname_cups:+false} :; then :
13175 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13179 rm -f core conftest.err conftest.
$ac_objext \
13180 conftest
$ac_exeext conftest.
$ac_ext
13181 LIBS
=$ac_check_soname_save_LIBS
13183 if ${ac_cv_lib_soname_cups:+false} :; then :
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13185 $as_echo "not found" >&6; }
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13189 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13191 cat >>confdefs.h
<<_ACEOF
13192 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13195 CUPS_CFLAGS
="$ac_cups_cflags"
13197 for ac_header
in cups
/ppd.h
13199 ac_fn_c_check_header_mongrel
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13200 if test "x$ac_cv_header_cups_ppd_h" = xyes
; then :
13201 cat >>confdefs.h
<<_ACEOF
13202 #define HAVE_CUPS_PPD_H 1
13213 CPPFLAGS
="$ac_save_CPPFLAGS"
13215 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13216 case "x$with_cups" in
13217 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13219 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13220 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13225 if test "x$with_fontconfig" != "xno"
13227 if ${FONTCONFIG_CFLAGS:+false} :; then :
13228 if ${PKG_CONFIG+:} false
; then :
13229 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13232 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13233 if ${FONTCONFIG_LIBS:+false} :; then :
13234 if ${PKG_CONFIG+:} false
; then :
13235 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13238 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13240 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13241 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13242 ac_save_CPPFLAGS
=$CPPFLAGS
13243 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13244 for ac_header
in fontconfig
/fontconfig.h
13246 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13247 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13248 cat >>confdefs.h
<<_ACEOF
13249 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13256 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13259 $as_echo_n "checking for -lfontconfig... " >&6; }
13260 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13261 $as_echo_n "(cached) " >&6
13263 ac_check_soname_save_LIBS
=$LIBS
13264 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13266 /* end confdefs.h. */
13268 /* Override any GCC internal prototype to avoid an error.
13269 Use char because int might match the return type of a GCC
13270 builtin and then its argument prototype would still apply. */
13283 if ac_fn_c_try_link
"$LINENO"; then :
13285 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13286 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'` ;;
13287 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13288 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13289 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13293 rm -f core conftest.err conftest.
$ac_objext \
13294 conftest
$ac_exeext conftest.
$ac_ext
13295 LIBS
=$ac_check_soname_save_LIBS
13297 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13299 $as_echo "not found" >&6; }
13300 FONTCONFIG_CFLAGS
=""
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13303 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13305 cat >>confdefs.h
<<_ACEOF
13306 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13312 FONTCONFIG_CFLAGS
=""
13314 CPPFLAGS
=$ac_save_CPPFLAGS
13315 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13316 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13319 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13320 case "x$with_fontconfig" in
13321 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13323 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13324 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13329 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13332 $as_echo_n "checking for -lgsm... " >&6; }
13333 if ${ac_cv_lib_soname_gsm+:} false
; then :
13334 $as_echo_n "(cached) " >&6
13336 ac_check_soname_save_LIBS
=$LIBS
13338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13339 /* end confdefs.h. */
13341 /* Override any GCC internal prototype to avoid an error.
13342 Use char because int might match the return type of a GCC
13343 builtin and then its argument prototype would still apply. */
13347 char gsm_create ();
13351 return gsm_create ();
13356 if ac_fn_c_try_link
"$LINENO"; then :
13358 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13359 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'` ;;
13360 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13361 if ${ac_cv_lib_soname_gsm:+false} :; then :
13362 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13366 rm -f core conftest.err conftest.
$ac_objext \
13367 conftest
$ac_exeext conftest.
$ac_ext
13368 LIBS
=$ac_check_soname_save_LIBS
13370 if ${ac_cv_lib_soname_gsm:+false} :; then :
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13372 $as_echo "not found" >&6; }
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13376 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13378 cat >>confdefs.h
<<_ACEOF
13379 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13385 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13386 case "x$with_gsm" in
13387 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13389 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13390 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13395 if test "x$with_jpeg" != "xno"
13397 if ${JPEG_CFLAGS:+false} :; then :
13398 if ${PKG_CONFIG+:} false
; then :
13399 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13403 if ${JPEG_LIBS:+false} :; then :
13404 if ${PKG_CONFIG+:} false
; then :
13405 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13410 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13411 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13412 ac_save_CPPFLAGS
=$CPPFLAGS
13413 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13414 for ac_header
in jpeglib.h
13416 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13417 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13418 cat >>confdefs.h
<<_ACEOF
13419 #define HAVE_JPEGLIB_H 1
13426 if test "$ac_cv_header_jpeglib_h" = "yes"
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13429 $as_echo_n "checking for -ljpeg... " >&6; }
13430 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13431 $as_echo_n "(cached) " >&6
13433 ac_check_soname_save_LIBS
=$LIBS
13434 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13436 /* end confdefs.h. */
13438 /* Override any GCC internal prototype to avoid an error.
13439 Use char because int might match the return type of a GCC
13440 builtin and then its argument prototype would still apply. */
13444 char jpeg_start_decompress ();
13448 return jpeg_start_decompress ();
13453 if ac_fn_c_try_link
"$LINENO"; then :
13455 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13456 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'` ;;
13457 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13458 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13459 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13463 rm -f core conftest.err conftest.
$ac_objext \
13464 conftest
$ac_exeext conftest.
$ac_ext
13465 LIBS
=$ac_check_soname_save_LIBS
13467 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13469 $as_echo "not found" >&6; }
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13473 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13475 cat >>confdefs.h
<<_ACEOF
13476 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13484 CPPFLAGS
=$ac_save_CPPFLAGS
13485 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13486 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13489 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13490 case "x$with_jpeg" in
13491 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13493 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13494 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13499 if test "x$with_png" != "xno"
13501 if ${PNG_CFLAGS:+false} :; then :
13502 if ${PKG_CONFIG+:} false
; then :
13503 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13506 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13507 if ${PNG_LIBS:+false} :; then :
13508 if ${PKG_CONFIG+:} false
; then :
13509 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13512 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13514 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13515 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13516 ac_save_CPPFLAGS
=$CPPFLAGS
13517 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13518 for ac_header
in png.h
13520 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13521 if test "x$ac_cv_header_png_h" = xyes
; then :
13522 cat >>confdefs.h
<<_ACEOF
13523 #define HAVE_PNG_H 1
13530 if test "$ac_cv_header_png_h" = "yes"
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13533 $as_echo_n "checking for -lpng... " >&6; }
13534 if ${ac_cv_lib_soname_png+:} false
; then :
13535 $as_echo_n "(cached) " >&6
13537 ac_check_soname_save_LIBS
=$LIBS
13538 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13540 /* end confdefs.h. */
13542 /* Override any GCC internal prototype to avoid an error.
13543 Use char because int might match the return type of a GCC
13544 builtin and then its argument prototype would still apply. */
13548 char png_create_read_struct ();
13552 return png_create_read_struct ();
13557 if ac_fn_c_try_link
"$LINENO"; then :
13559 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13560 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'` ;;
13561 *) 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'`
13562 if ${ac_cv_lib_soname_png:+false} :; then :
13563 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13567 rm -f core conftest.err conftest.
$ac_objext \
13568 conftest
$ac_exeext conftest.
$ac_ext
13569 LIBS
=$ac_check_soname_save_LIBS
13571 if ${ac_cv_lib_soname_png:+false} :; then :
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13573 $as_echo "not found" >&6; }
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13577 $as_echo "$ac_cv_lib_soname_png" >&6; }
13579 cat >>confdefs.h
<<_ACEOF
13580 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13584 /* end confdefs.h. */
13589 typeof(png_set_expand_gray_1_2_4_to_8) *p
13594 if ac_fn_c_try_compile
"$LINENO"; then :
13596 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13604 CPPFLAGS
=$ac_save_CPPFLAGS
13605 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13606 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13609 if test "x$ac_cv_lib_soname_png" = "x"; then :
13610 case "x$with_png" in
13611 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13613 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13614 This is an error since --with-png was requested." "$LINENO" 5 ;;
13619 if test "x$with_tiff" != "xno"
13621 if ${TIFF_CFLAGS:+false} :; then :
13622 if ${PKG_CONFIG+:} false
; then :
13623 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13627 if ${TIFF_LIBS:+false} :; then :
13628 if ${PKG_CONFIG+:} false
; then :
13629 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13634 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13635 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13636 ac_save_CPPFLAGS
=$CPPFLAGS
13637 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13638 for ac_header
in tiffio.h
13640 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13641 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13642 cat >>confdefs.h
<<_ACEOF
13643 #define HAVE_TIFFIO_H 1
13650 if test "$ac_cv_header_tiffio_h" = "yes"
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13653 $as_echo_n "checking for -ltiff... " >&6; }
13654 if ${ac_cv_lib_soname_tiff+:} false
; then :
13655 $as_echo_n "(cached) " >&6
13657 ac_check_soname_save_LIBS
=$LIBS
13658 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13660 /* end confdefs.h. */
13662 /* Override any GCC internal prototype to avoid an error.
13663 Use char because int might match the return type of a GCC
13664 builtin and then its argument prototype would still apply. */
13668 char TIFFClientOpen ();
13672 return TIFFClientOpen ();
13677 if ac_fn_c_try_link
"$LINENO"; then :
13679 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13680 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'` ;;
13681 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13682 if ${ac_cv_lib_soname_tiff:+false} :; then :
13683 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13687 rm -f core conftest.err conftest.
$ac_objext \
13688 conftest
$ac_exeext conftest.
$ac_ext
13689 LIBS
=$ac_check_soname_save_LIBS
13691 if ${ac_cv_lib_soname_tiff:+false} :; then :
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13693 $as_echo "not found" >&6; }
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13697 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13699 cat >>confdefs.h
<<_ACEOF
13700 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13706 CPPFLAGS
=$ac_save_CPPFLAGS
13707 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13708 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13711 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13712 case "x$with_tiff" in
13713 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13715 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13716 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13721 if test "x$with_mpg123" != "xno"
13723 if ${MPG123_CFLAGS:+false} :; then :
13724 if ${PKG_CONFIG+:} false
; then :
13725 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13729 if ${MPG123_LIBS:+false} :; then :
13730 if ${PKG_CONFIG+:} false
; then :
13731 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13735 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13736 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13737 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13738 ac_save_CPPFLAGS
=$CPPFLAGS
13739 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13740 for ac_header
in mpg123.h
13742 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13743 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13744 cat >>confdefs.h
<<_ACEOF
13745 #define HAVE_MPG123_H 1
13752 if test "$ac_cv_header_mpg123_h" = "yes"
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13755 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13756 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13757 $as_echo_n "(cached) " >&6
13759 ac_check_lib_save_LIBS
=$LIBS
13760 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h. */
13764 /* Override any GCC internal prototype to avoid an error.
13765 Use char because int might match the return type of a GCC
13766 builtin and then its argument prototype would still apply. */
13770 char mpg123_feed ();
13774 return mpg123_feed ();
13779 if ac_fn_c_try_link
"$LINENO"; then :
13780 ac_cv_lib_mpg123_mpg123_feed
=yes
13782 ac_cv_lib_mpg123_mpg123_feed
=no
13784 rm -f core conftest.err conftest.
$ac_objext \
13785 conftest
$ac_exeext conftest.
$ac_ext
13786 LIBS
=$ac_check_lib_save_LIBS
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13789 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13790 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13800 CPPFLAGS
=$ac_save_CPPFLAGS
13801 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13802 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13805 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13806 case "x$with_mpg123" in
13807 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13809 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13810 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13812 enable_winemp3_acm
=${enable_winemp3_acm:-no}
13815 if test "$ac_cv_header_AL_al_h" = "yes"
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13818 $as_echo_n "checking for -lopenal... " >&6; }
13819 if ${ac_cv_lib_soname_openal+:} false
; then :
13820 $as_echo_n "(cached) " >&6
13822 ac_check_soname_save_LIBS
=$LIBS
13823 LIBS
="-lopenal $LIBS"
13824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13825 /* end confdefs.h. */
13827 /* Override any GCC internal prototype to avoid an error.
13828 Use char because int might match the return type of a GCC
13829 builtin and then its argument prototype would still apply. */
13833 char alGetSource3i ();
13837 return alGetSource3i ();
13842 if ac_fn_c_try_link
"$LINENO"; then :
13844 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13845 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'` ;;
13846 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13847 if ${ac_cv_lib_soname_openal:+false} :; then :
13848 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13852 rm -f core conftest.err conftest.
$ac_objext \
13853 conftest
$ac_exeext conftest.
$ac_ext
13854 LIBS
=$ac_check_soname_save_LIBS
13856 if ${ac_cv_lib_soname_openal:+false} :; then :
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13858 $as_echo "not found" >&6; }
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13862 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13864 cat >>confdefs.h
<<_ACEOF
13865 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13868 OPENAL_LIBS
="-lopenal"
13870 ac_cv_lib_openal
=yes
13872 cat >>confdefs.h
<<_ACEOF
13873 #define HAVE_OPENAL 1
13878 if test "x$ac_cv_lib_openal" != xyes
; then :
13879 case "x$with_openal" in
13880 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13882 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13883 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13885 enable_openal32
=${enable_openal32:-no}
13888 if test "x$ac_cv_lib_openal" = xyes
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13891 $as_echo_n "checking for openal-soft... " >&6; }
13892 if ${ac_cv_have_openalsoft+:} false
; then :
13893 $as_echo_n "(cached) " >&6
13895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h. */
13898 #include <AL/alc.h>
13899 #include <AL/alext.h>
13900 LPALCRENDERSAMPLESSOFT x;
13909 if ac_fn_c_try_compile
"$LINENO"; then :
13910 ac_cv_have_openalsoft
=yes
13912 ac_cv_have_openalsoft
=no
13914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13917 $as_echo "$ac_cv_have_openalsoft" >&6; }
13919 if test "x$ac_cv_have_openalsoft" != xyes
13921 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13922 enable_x3daudio1_0
=${enable_x3daudio1_0:-no}
13923 enable_x3daudio1_1
=${enable_x3daudio1_1:-no}
13924 enable_x3daudio1_2
=${enable_x3daudio1_2:-no}
13925 enable_x3daudio1_3
=${enable_x3daudio1_3:-no}
13926 enable_x3daudio1_4
=${enable_x3daudio1_4:-no}
13927 enable_x3daudio1_5
=${enable_x3daudio1_5:-no}
13928 enable_x3daudio1_6
=${enable_x3daudio1_6:-no}
13929 enable_x3daudio1_7
=${enable_x3daudio1_7:-no}
13930 enable_xapofx1_1
=${enable_xapofx1_1:-no}
13931 enable_xapofx1_2
=${enable_xapofx1_2:-no}
13932 enable_xapofx1_3
=${enable_xapofx1_3:-no}
13933 enable_xapofx1_4
=${enable_xapofx1_4:-no}
13934 enable_xapofx1_5
=${enable_xapofx1_5:-no}
13935 enable_xaudio2_0
=${enable_xaudio2_0:-no}
13936 enable_xaudio2_1
=${enable_xaudio2_1:-no}
13937 enable_xaudio2_2
=${enable_xaudio2_2:-no}
13938 enable_xaudio2_3
=${enable_xaudio2_3:-no}
13939 enable_xaudio2_4
=${enable_xaudio2_4:-no}
13940 enable_xaudio2_5
=${enable_xaudio2_5:-no}
13941 enable_xaudio2_6
=${enable_xaudio2_6:-no}
13942 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13943 enable_xaudio2_8
=${enable_xaudio2_8:-no}
13944 enable_xaudio2_9
=${enable_xaudio2_9:-no}
13947 if test "$ac_cv_header_kstat_h" = "yes"
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13950 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13951 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13952 $as_echo_n "(cached) " >&6
13954 ac_check_lib_save_LIBS
=$LIBS
13955 LIBS
="-lkstat $LIBS"
13956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13957 /* end confdefs.h. */
13959 /* Override any GCC internal prototype to avoid an error.
13960 Use char because int might match the return type of a GCC
13961 builtin and then its argument prototype would still apply. */
13965 char kstat_open ();
13969 return kstat_open ();
13974 if ac_fn_c_try_link
"$LINENO"; then :
13975 ac_cv_lib_kstat_kstat_open
=yes
13977 ac_cv_lib_kstat_kstat_open
=no
13979 rm -f core conftest.err conftest.
$ac_objext \
13980 conftest
$ac_exeext conftest.
$ac_ext
13981 LIBS
=$ac_check_lib_save_LIBS
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13984 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13985 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13987 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13989 KSTAT_LIBS
="-lkstat"
13995 if test "$ac_cv_header_libprocstat_h" = "yes"
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13998 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13999 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
14000 $as_echo_n "(cached) " >&6
14002 ac_check_lib_save_LIBS
=$LIBS
14003 LIBS
="-lprocstat $LIBS"
14004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14005 /* end confdefs.h. */
14007 /* Override any GCC internal prototype to avoid an error.
14008 Use char because int might match the return type of a GCC
14009 builtin and then its argument prototype would still apply. */
14013 char procstat_open_sysctl ();
14017 return procstat_open_sysctl ();
14022 if ac_fn_c_try_link
"$LINENO"; then :
14023 ac_cv_lib_procstat_procstat_open_sysctl
=yes
14025 ac_cv_lib_procstat_procstat_open_sysctl
=no
14027 rm -f core conftest.err conftest.
$ac_objext \
14028 conftest
$ac_exeext conftest.
$ac_ext
14029 LIBS
=$ac_check_lib_save_LIBS
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14032 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14033 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
14035 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14037 PROCSTAT_LIBS
="-lprocstat"
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14044 $as_echo_n "checking for -lodbc... " >&6; }
14045 if ${ac_cv_lib_soname_odbc+:} false
; then :
14046 $as_echo_n "(cached) " >&6
14048 ac_check_soname_save_LIBS
=$LIBS
14049 LIBS
="-lodbc $LIBS"
14050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14051 /* end confdefs.h. */
14053 /* Override any GCC internal prototype to avoid an error.
14054 Use char because int might match the return type of a GCC
14055 builtin and then its argument prototype would still apply. */
14059 char SQLConnect ();
14063 return SQLConnect ();
14068 if ac_fn_c_try_link
"$LINENO"; then :
14070 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14071 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'` ;;
14072 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14073 if ${ac_cv_lib_soname_odbc:+false} :; then :
14074 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14078 rm -f core conftest.err conftest.
$ac_objext \
14079 conftest
$ac_exeext conftest.
$ac_ext
14080 LIBS
=$ac_check_soname_save_LIBS
14082 if ${ac_cv_lib_soname_odbc:+false} :; then :
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14084 $as_echo "not found" >&6; }
14085 cat >>confdefs.h
<<_ACEOF
14086 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14091 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14093 cat >>confdefs.h
<<_ACEOF
14094 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14100 if test "x$with_netapi" != "xno"
14102 if ${NETAPI_CFLAGS:+false} :; then :
14103 if ${PKG_CONFIG+:} false
; then :
14104 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14108 if ${NETAPI_LIBS:+false} :; then :
14109 if ${PKG_CONFIG+:} false
; then :
14110 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
14115 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14116 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14117 ac_save_CPPFLAGS
=$CPPFLAGS
14118 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14120 $as_echo_n "checking for -lnetapi... " >&6; }
14121 if ${ac_cv_lib_soname_netapi+:} false
; then :
14122 $as_echo_n "(cached) " >&6
14124 ac_check_soname_save_LIBS
=$LIBS
14125 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
14126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14127 /* end confdefs.h. */
14129 /* Override any GCC internal prototype to avoid an error.
14130 Use char because int might match the return type of a GCC
14131 builtin and then its argument prototype would still apply. */
14135 char libnetapi_init ();
14139 return libnetapi_init ();
14144 if ac_fn_c_try_link
"$LINENO"; then :
14146 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14147 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'` ;;
14148 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14149 if ${ac_cv_lib_soname_netapi:+false} :; then :
14150 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14154 rm -f core conftest.err conftest.
$ac_objext \
14155 conftest
$ac_exeext conftest.
$ac_ext
14156 LIBS
=$ac_check_soname_save_LIBS
14158 if ${ac_cv_lib_soname_netapi:+false} :; then :
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14160 $as_echo "not found" >&6; }
14161 cat >>confdefs.h
<<_ACEOF
14162 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14167 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14169 cat >>confdefs.h
<<_ACEOF
14170 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14175 CPPFLAGS
=$ac_save_CPPFLAGS
14176 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS
=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14177 test -z "$NETAPI_LIBS" || NETAPI_LIBS
=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14181 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono
-a \
14182 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14184 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
14190 if test "x${GCC}" = "xyes"
14192 EXTRACFLAGS
="-Wall -pipe"
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14195 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14196 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
14197 $as_echo_n "(cached) " >&6
14199 if test "$cross_compiling" = yes; then :
14200 ac_cv_c_gcc_strength_bug
="no"
14202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14203 /* end confdefs.h. */
14204 int L[4] = {0,1,2,3};
14208 static int Array[3];
14209 unsigned int B = 3;
14211 for(i=0; i<B; i++) Array[i] = i - 3;
14212 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14214 return (Array[1] != -2 || L[2] != 3)
14219 if ac_fn_c_try_run
"$LINENO"; then :
14220 ac_cv_c_gcc_strength_bug
="no"
14222 ac_cv_c_gcc_strength_bug
="yes"
14224 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14225 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14230 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14231 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14233 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14237 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14238 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14239 $as_echo_n "(cached) " >&6
14241 ac_wine_try_cflags_saved
=$CFLAGS
14242 CFLAGS
="$CFLAGS -fno-builtin"
14243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14244 /* end confdefs.h. */
14245 int main(int argc, char **argv) { return 0; }
14247 if ac_fn_c_try_link
"$LINENO"; then :
14248 ac_cv_cflags__fno_builtin
=yes
14250 ac_cv_cflags__fno_builtin
=no
14252 rm -f core conftest.err conftest.
$ac_objext \
14253 conftest
$ac_exeext conftest.
$ac_ext
14254 CFLAGS
=$ac_wine_try_cflags_saved
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14257 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14258 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14259 BUILTINFLAG
="-fno-builtin"
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14263 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14264 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14265 $as_echo_n "(cached) " >&6
14267 ac_wine_try_cflags_saved
=$CFLAGS
14268 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14270 /* end confdefs.h. */
14271 int main(int argc, char **argv) { return 0; }
14273 if ac_fn_c_try_link
"$LINENO"; then :
14274 ac_cv_cflags__fno_strict_aliasing
=yes
14276 ac_cv_cflags__fno_strict_aliasing
=no
14278 rm -f core conftest.err conftest.
$ac_objext \
14279 conftest
$ac_exeext conftest.
$ac_ext
14280 CFLAGS
=$ac_wine_try_cflags_saved
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14283 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14284 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14285 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14288 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14289 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14290 $as_echo_n "(cached) " >&6
14292 ac_wine_try_cflags_saved
=$CFLAGS
14293 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14295 /* end confdefs.h. */
14296 int main(int argc, char **argv) { return 0; }
14298 if ac_fn_c_try_link
"$LINENO"; then :
14299 ac_cv_cflags__fexcess_precision_standard
=yes
14301 ac_cv_cflags__fexcess_precision_standard
=no
14303 rm -f core conftest.err conftest.
$ac_objext \
14304 conftest
$ac_exeext conftest.
$ac_ext
14305 CFLAGS
=$ac_wine_try_cflags_saved
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14308 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14309 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14310 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14313 saved_CFLAGS
=$CFLAGS
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14315 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14316 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14317 $as_echo_n "(cached) " >&6
14319 ac_wine_try_cflags_saved
=$CFLAGS
14320 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14322 /* end confdefs.h. */
14323 int main(int argc, char **argv) { return 0; }
14325 if ac_fn_c_try_link
"$LINENO"; then :
14326 ac_cv_cflags__Werror_unknown_warning_option
=yes
14328 ac_cv_cflags__Werror_unknown_warning_option
=no
14330 rm -f core conftest.err conftest.
$ac_objext \
14331 conftest
$ac_exeext conftest.
$ac_ext
14332 CFLAGS
=$ac_wine_try_cflags_saved
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14335 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14336 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14337 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14340 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14341 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14342 $as_echo_n "(cached) " >&6
14344 ac_wine_try_cflags_saved
=$CFLAGS
14345 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14347 /* end confdefs.h. */
14348 int main(int argc, char **argv) { return 0; }
14350 if ac_fn_c_try_link
"$LINENO"; then :
14351 ac_cv_cflags__Wdeclaration_after_statement
=yes
14353 ac_cv_cflags__Wdeclaration_after_statement
=no
14355 rm -f core conftest.err conftest.
$ac_objext \
14356 conftest
$ac_exeext conftest.
$ac_ext
14357 CFLAGS
=$ac_wine_try_cflags_saved
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14360 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14361 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14362 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14365 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14366 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14367 $as_echo_n "(cached) " >&6
14369 ac_wine_try_cflags_saved
=$CFLAGS
14370 CFLAGS
="$CFLAGS -Wempty-body"
14371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14372 /* end confdefs.h. */
14373 int main(int argc, char **argv) { return 0; }
14375 if ac_fn_c_try_link
"$LINENO"; then :
14376 ac_cv_cflags__Wempty_body
=yes
14378 ac_cv_cflags__Wempty_body
=no
14380 rm -f core conftest.err conftest.
$ac_objext \
14381 conftest
$ac_exeext conftest.
$ac_ext
14382 CFLAGS
=$ac_wine_try_cflags_saved
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14385 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14386 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14387 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14390 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14391 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14392 $as_echo_n "(cached) " >&6
14394 ac_wine_try_cflags_saved
=$CFLAGS
14395 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14397 /* end confdefs.h. */
14398 int main(int argc, char **argv) { return 0; }
14400 if ac_fn_c_try_link
"$LINENO"; then :
14401 ac_cv_cflags__Wignored_qualifiers
=yes
14403 ac_cv_cflags__Wignored_qualifiers
=no
14405 rm -f core conftest.err conftest.
$ac_objext \
14406 conftest
$ac_exeext conftest.
$ac_ext
14407 CFLAGS
=$ac_wine_try_cflags_saved
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14410 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14411 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14412 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14415 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14416 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
14417 $as_echo_n "(cached) " >&6
14419 ac_wine_try_cflags_saved
=$CFLAGS
14420 CFLAGS
="$CFLAGS -Wshift-overflow=2"
14421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14423 int main(int argc, char **argv) { return 0; }
14425 if ac_fn_c_try_link
"$LINENO"; then :
14426 ac_cv_cflags__Wshift_overflow_2
=yes
14428 ac_cv_cflags__Wshift_overflow_2
=no
14430 rm -f core conftest.err conftest.
$ac_objext \
14431 conftest
$ac_exeext conftest.
$ac_ext
14432 CFLAGS
=$ac_wine_try_cflags_saved
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14435 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14436 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
14437 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14440 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14441 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14442 $as_echo_n "(cached) " >&6
14444 ac_wine_try_cflags_saved
=$CFLAGS
14445 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14447 /* end confdefs.h. */
14448 int main(int argc, char **argv) { return 0; }
14450 if ac_fn_c_try_link
"$LINENO"; then :
14451 ac_cv_cflags__Wstrict_prototypes
=yes
14453 ac_cv_cflags__Wstrict_prototypes
=no
14455 rm -f core conftest.err conftest.
$ac_objext \
14456 conftest
$ac_exeext conftest.
$ac_ext
14457 CFLAGS
=$ac_wine_try_cflags_saved
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14460 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14461 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14462 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14465 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14466 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14467 $as_echo_n "(cached) " >&6
14469 ac_wine_try_cflags_saved
=$CFLAGS
14470 CFLAGS
="$CFLAGS -Wtype-limits"
14471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14472 /* end confdefs.h. */
14473 int main(int argc, char **argv) { return 0; }
14475 if ac_fn_c_try_link
"$LINENO"; then :
14476 ac_cv_cflags__Wtype_limits
=yes
14478 ac_cv_cflags__Wtype_limits
=no
14480 rm -f core conftest.err conftest.
$ac_objext \
14481 conftest
$ac_exeext conftest.
$ac_ext
14482 CFLAGS
=$ac_wine_try_cflags_saved
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14485 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14486 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14487 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14490 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14491 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14492 $as_echo_n "(cached) " >&6
14494 ac_wine_try_cflags_saved
=$CFLAGS
14495 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14497 /* end confdefs.h. */
14498 int main(int argc, char **argv) { return 0; }
14500 if ac_fn_c_try_link
"$LINENO"; then :
14501 ac_cv_cflags__Wunused_but_set_parameter
=yes
14503 ac_cv_cflags__Wunused_but_set_parameter
=no
14505 rm -f core conftest.err conftest.
$ac_objext \
14506 conftest
$ac_exeext conftest.
$ac_ext
14507 CFLAGS
=$ac_wine_try_cflags_saved
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14510 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14511 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14512 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14515 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14516 if ${ac_cv_cflags__Wvla+:} false
; then :
14517 $as_echo_n "(cached) " >&6
14519 ac_wine_try_cflags_saved
=$CFLAGS
14520 CFLAGS
="$CFLAGS -Wvla"
14521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14522 /* end confdefs.h. */
14523 int main(int argc, char **argv) { return 0; }
14525 if ac_fn_c_try_link
"$LINENO"; then :
14526 ac_cv_cflags__Wvla
=yes
14528 ac_cv_cflags__Wvla
=no
14530 rm -f core conftest.err conftest.
$ac_objext \
14531 conftest
$ac_exeext conftest.
$ac_ext
14532 CFLAGS
=$ac_wine_try_cflags_saved
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14535 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14536 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14537 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14540 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14541 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14542 $as_echo_n "(cached) " >&6
14544 ac_wine_try_cflags_saved
=$CFLAGS
14545 CFLAGS
="$CFLAGS -Wwrite-strings"
14546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14547 /* end confdefs.h. */
14548 int main(int argc, char **argv) { return 0; }
14550 if ac_fn_c_try_link
"$LINENO"; then :
14551 ac_cv_cflags__Wwrite_strings
=yes
14553 ac_cv_cflags__Wwrite_strings
=no
14555 rm -f core conftest.err conftest.
$ac_objext \
14556 conftest
$ac_exeext conftest.
$ac_ext
14557 CFLAGS
=$ac_wine_try_cflags_saved
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14560 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14561 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14562 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14566 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14567 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14568 $as_echo_n "(cached) " >&6
14570 ac_wine_try_cflags_saved
=$CFLAGS
14571 CFLAGS
="$CFLAGS -Wpointer-arith"
14572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14573 /* end confdefs.h. */
14574 int main(int argc, char **argv) { return 0; }
14576 if ac_fn_c_try_link
"$LINENO"; then :
14577 ac_cv_cflags__Wpointer_arith
=yes
14579 ac_cv_cflags__Wpointer_arith
=no
14581 rm -f core conftest.err conftest.
$ac_objext \
14582 conftest
$ac_exeext conftest.
$ac_ext
14583 CFLAGS
=$ac_wine_try_cflags_saved
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14586 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14587 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14588 saved_string_h_CFLAGS
=$CFLAGS
14589 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14591 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14592 if ${ac_cv_c_string_h_warnings+:} false
; then :
14593 $as_echo_n "(cached) " >&6
14595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14596 /* end confdefs.h. */
14597 #include <string.h>
14606 if ac_fn_c_try_compile
"$LINENO"; then :
14607 ac_cv_c_string_h_warnings
=no
14609 ac_cv_c_string_h_warnings
=yes
14611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14614 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14615 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14616 CFLAGS
=$saved_string_h_CFLAGS
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14620 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14621 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14622 $as_echo_n "(cached) " >&6
14624 ac_wine_try_cflags_saved
=$CFLAGS
14625 CFLAGS
="$CFLAGS -Wlogical-op"
14626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14627 /* end confdefs.h. */
14628 int main(int argc, char **argv) { return 0; }
14630 if ac_fn_c_try_link
"$LINENO"; then :
14631 ac_cv_cflags__Wlogical_op
=yes
14633 ac_cv_cflags__Wlogical_op
=no
14635 rm -f core conftest.err conftest.
$ac_objext \
14636 conftest
$ac_exeext conftest.
$ac_ext
14637 CFLAGS
=$ac_wine_try_cflags_saved
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14640 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14641 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14642 saved_string_h_CFLAGS
=$CFLAGS
14643 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14645 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14646 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14647 $as_echo_n "(cached) " >&6
14649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14650 /* end confdefs.h. */
14651 #include <string.h>
14652 char*f(const char *h,char n) {return strchr(h,n);}
14661 if ac_fn_c_try_compile
"$LINENO"; then :
14662 ac_cv_c_logicalop_noisy
=no
14664 ac_cv_c_logicalop_noisy
=yes
14666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14669 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14670 CFLAGS
=$saved_string_h_CFLAGS
14671 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14674 CFLAGS
=$saved_CFLAGS
14676 for ac_flag
in $CFLAGS; do
14678 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14679 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14680 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14681 $as_echo_n "(cached) " >&6
14683 ac_wine_try_cflags_saved
=$CFLAGS
14684 CFLAGS
="$CFLAGS -gdwarf-2"
14685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14686 /* end confdefs.h. */
14687 int main(int argc, char **argv) { return 0; }
14689 if ac_fn_c_try_link
"$LINENO"; then :
14690 ac_cv_cflags__gdwarf_2
=yes
14692 ac_cv_cflags__gdwarf_2
=no
14694 rm -f core conftest.err conftest.
$ac_objext \
14695 conftest
$ac_exeext conftest.
$ac_ext
14696 CFLAGS
=$ac_wine_try_cflags_saved
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14699 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14700 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14701 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14704 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14705 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14706 $as_echo_n "(cached) " >&6
14708 ac_wine_try_cflags_saved
=$CFLAGS
14709 CFLAGS
="$CFLAGS -gstrict-dwarf"
14710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14711 /* end confdefs.h. */
14712 int main(int argc, char **argv) { return 0; }
14714 if ac_fn_c_try_link
"$LINENO"; then :
14715 ac_cv_cflags__gstrict_dwarf
=yes
14717 ac_cv_cflags__gstrict_dwarf
=no
14719 rm -f core conftest.err conftest.
$ac_objext \
14720 conftest
$ac_exeext conftest.
$ac_ext
14721 CFLAGS
=$ac_wine_try_cflags_saved
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14724 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14725 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14726 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14732 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14733 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14734 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14735 $as_echo_n "(cached) " >&6
14737 ac_wine_try_cflags_saved
=$CFLAGS
14738 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14740 /* end confdefs.h. */
14741 int main(int argc, char **argv) { return 0; }
14743 if ac_fn_c_try_link
"$LINENO"; then :
14744 ac_cv_cflags__fno_omit_frame_pointer
=yes
14746 ac_cv_cflags__fno_omit_frame_pointer
=no
14748 rm -f core conftest.err conftest.
$ac_objext \
14749 conftest
$ac_exeext conftest.
$ac_ext
14750 CFLAGS
=$ac_wine_try_cflags_saved
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14753 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14754 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14755 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14760 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14761 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14762 if ${ac_cv_cflags__Wno_format+:} false
; then :
14763 $as_echo_n "(cached) " >&6
14765 ac_wine_try_cflags_saved
=$CFLAGS
14766 CFLAGS
="$CFLAGS -Wno-format"
14767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14768 /* end confdefs.h. */
14769 int main(int argc, char **argv) { return 0; }
14771 if ac_fn_c_try_link
"$LINENO"; then :
14772 ac_cv_cflags__Wno_format
=yes
14774 ac_cv_cflags__Wno_format
=no
14776 rm -f core conftest.err conftest.
$ac_objext \
14777 conftest
$ac_exeext conftest.
$ac_ext
14778 CFLAGS
=$ac_wine_try_cflags_saved
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14781 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14782 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14783 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14787 if test "x$enable_maintainer_mode" = "xyes"
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14790 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14791 if ${ac_cv_cflags__Werror+:} false
; then :
14792 $as_echo_n "(cached) " >&6
14794 ac_wine_try_cflags_saved
=$CFLAGS
14795 CFLAGS
="$CFLAGS -Werror"
14796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14797 /* end confdefs.h. */
14798 int main(int argc, char **argv) { return 0; }
14800 if ac_fn_c_try_link
"$LINENO"; then :
14801 ac_cv_cflags__Werror
=yes
14803 ac_cv_cflags__Werror
=no
14805 rm -f core conftest.err conftest.
$ac_objext \
14806 conftest
$ac_exeext conftest.
$ac_ext
14807 CFLAGS
=$ac_wine_try_cflags_saved
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14810 $as_echo "$ac_cv_cflags__Werror" >&6; }
14811 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14812 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14816 saved_CFLAGS
="$CFLAGS"
14817 CFLAGS
="$CFLAGS -Werror"
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14819 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14820 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14821 $as_echo_n "(cached) " >&6
14823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14824 /* end confdefs.h. */
14825 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14834 if ac_fn_c_try_compile
"$LINENO"; then :
14835 ac_cv_have_ms_hook_prologue
="yes"
14837 ac_cv_have_ms_hook_prologue
="no"
14839 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14842 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14843 CFLAGS
="$saved_CFLAGS"
14844 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14847 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14850 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14857 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14858 if ${ac_cv_c_fortify_enabled+:} false
; then :
14859 $as_echo_n "(cached) " >&6
14861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14862 /* end confdefs.h. */
14863 #include <string.h>
14867 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14868 #error Fortify enabled
14874 if ac_fn_c_try_compile
"$LINENO"; then :
14875 ac_cv_c_fortify_enabled
=no
14877 ac_cv_c_fortify_enabled
=yes
14879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14882 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14883 if test "$ac_cv_c_fortify_enabled" = yes
14885 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14890 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14891 if ${ac_cv_c_extern_prefix+:} false
; then :
14892 $as_echo_n "(cached) " >&6
14894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14895 /* end confdefs.h. */
14896 extern int ac_test;
14900 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14905 if ac_fn_c_try_link
"$LINENO"; then :
14906 ac_cv_c_extern_prefix
="yes"
14908 ac_cv_c_extern_prefix
="no"
14910 rm -f core conftest.err conftest.
$ac_objext \
14911 conftest
$ac_exeext conftest.
$ac_ext
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14914 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14919 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14920 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14921 $as_echo_n "(cached) " >&6
14923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14924 /* end confdefs.h. */
14926 #define __stdcall __attribute__((__stdcall__))
14928 int __stdcall ac_test(int i) { return i; }
14932 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14937 if ac_fn_c_try_link
"$LINENO"; then :
14938 ac_cv_c_stdcall_suffix
="yes"
14940 ac_cv_c_stdcall_suffix
="no"
14942 rm -f core conftest.err conftest.
$ac_objext \
14943 conftest
$ac_exeext conftest.
$ac_ext
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14946 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14947 *) ac_cv_c_stdcall_suffix
="no" ;;
14951 if test "$ac_cv_c_extern_prefix" = "yes"
14953 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14955 asm_name_prefix
="_"
14957 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14963 if test "$ac_cv_c_stdcall_suffix" = "yes"
14965 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14968 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14974 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14975 if ${ac_cv_asm_func_def+:} false
; then :
14976 $as_echo_n "(cached) " >&6
14978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14979 /* end confdefs.h. */
14984 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14989 if ac_fn_c_try_link
"$LINENO"; then :
14990 ac_cv_asm_func_def
=".def"
14992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14993 /* end confdefs.h. */
14998 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15003 if ac_fn_c_try_link
"$LINENO"; then :
15004 ac_cv_asm_func_def
=".type @function"
15006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15007 /* end confdefs.h. */
15012 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15017 if ac_fn_c_try_link
"$LINENO"; then :
15018 ac_cv_asm_func_def
=".type 2"
15020 ac_cv_asm_func_def
="unknown"
15022 rm -f core conftest.err conftest.
$ac_objext \
15023 conftest
$ac_exeext conftest.
$ac_ext
15025 rm -f core conftest.err conftest.
$ac_objext \
15026 conftest
$ac_exeext conftest.
$ac_ext
15028 rm -f core conftest.err conftest.
$ac_objext \
15029 conftest
$ac_exeext conftest.
$ac_ext
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15032 $as_echo "$ac_cv_asm_func_def" >&6; }
15035 case "$ac_cv_asm_func_def" in
15037 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15039 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15041 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15043 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
15045 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15047 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
15049 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15051 asm_func_header
="" ;;
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15055 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15056 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
15057 $as_echo_n "(cached) " >&6
15059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15060 /* end confdefs.h. */
15061 asm(".text\n\t.long 0");
15070 if ac_fn_c_try_compile
"$LINENO"; then :
15071 ac_cv_c_asm_outside_funcs
="yes"
15073 ac_cv_c_asm_outside_funcs
="no"
15075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15078 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15081 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15082 if ${ac_cv_c_dot_previous+:} false
; then :
15083 $as_echo_n "(cached) " >&6
15085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15086 /* end confdefs.h. */
15091 asm(".text\nac_test:\t.long 0\n\t.previous");
15096 if ac_fn_c_try_link
"$LINENO"; then :
15097 ac_cv_c_dot_previous
="yes"
15099 ac_cv_c_dot_previous
="no"
15101 rm -f core conftest.err conftest.
$ac_objext \
15102 conftest
$ac_exeext conftest.
$ac_ext
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15105 $as_echo "$ac_cv_c_dot_previous" >&6; }
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15108 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15109 if ${ac_cv_c_cfi_support+:} false
; then :
15110 $as_echo_n "(cached) " >&6
15112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15113 /* end confdefs.h. */
15114 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15123 if ac_fn_c_try_compile
"$LINENO"; then :
15124 ac_cv_c_cfi_support
="yes"
15126 ac_cv_c_cfi_support
="no"
15128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15131 $as_echo "$ac_cv_c_cfi_support" >&6; }
15133 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15134 asm_func_trailer
=""
15135 if test "$ac_cv_c_dot_previous" = "yes"
15137 asm_func_trailer
="\\n\\t.previous"
15139 if test "$ac_cv_c_cfi_support" = "yes"
15141 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
15142 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
15144 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15146 UNWINDFLAGS
=-fasynchronous-unwind-tables
15149 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15151 if test "x$enable_win64" = "xyes"
15153 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15157 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
15160 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15162 cat >>confdefs.h
<<_ACEOF
15163 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15167 cat >>confdefs.h
<<_ACEOF
15168 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15173 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15176 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15181 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
15189 *i
[3456789]86*|x86_64
*)
15190 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
15191 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
15198 ac_save_CFLAGS
="$CFLAGS"
15199 CFLAGS
="$CFLAGS $BUILTINFLAG"
15279 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15280 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15281 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15282 cat >>confdefs.h
<<_ACEOF
15283 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15289 CFLAGS
="$ac_save_CFLAGS"
15291 if test "$ac_cv_func_dlopen" = no
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15294 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15295 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15296 $as_echo_n "(cached) " >&6
15298 ac_check_lib_save_LIBS
=$LIBS
15300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15301 /* end confdefs.h. */
15303 /* Override any GCC internal prototype to avoid an error.
15304 Use char because int might match the return type of a GCC
15305 builtin and then its argument prototype would still apply. */
15318 if ac_fn_c_try_link
"$LINENO"; then :
15319 ac_cv_lib_dl_dlopen
=yes
15321 ac_cv_lib_dl_dlopen
=no
15323 rm -f core conftest.err conftest.
$ac_objext \
15324 conftest
$ac_exeext conftest.
$ac_ext
15325 LIBS
=$ac_check_lib_save_LIBS
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15328 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15329 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15330 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15336 ac_wine_check_funcs_save_LIBS
="$LIBS"
15337 LIBS
="$LIBS $DL_LIBS"
15338 for ac_func
in dladdr
15340 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15341 if test "x$ac_cv_func_dladdr" = xyes
; then :
15342 cat >>confdefs.h
<<_ACEOF
15343 #define HAVE_DLADDR 1
15349 LIBS
="$ac_wine_check_funcs_save_LIBS"
15351 if test "$ac_cv_func_poll" = no
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15354 $as_echo_n "checking for poll in -lpoll... " >&6; }
15355 if ${ac_cv_lib_poll_poll+:} false
; then :
15356 $as_echo_n "(cached) " >&6
15358 ac_check_lib_save_LIBS
=$LIBS
15359 LIBS
="-lpoll $LIBS"
15360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15361 /* end confdefs.h. */
15363 /* Override any GCC internal prototype to avoid an error.
15364 Use char because int might match the return type of a GCC
15365 builtin and then its argument prototype would still apply. */
15378 if ac_fn_c_try_link
"$LINENO"; then :
15379 ac_cv_lib_poll_poll
=yes
15381 ac_cv_lib_poll_poll
=no
15383 rm -f core conftest.err conftest.
$ac_objext \
15384 conftest
$ac_exeext conftest.
$ac_ext
15385 LIBS
=$ac_check_lib_save_LIBS
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15388 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15389 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15390 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15398 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15399 if ${ac_cv_search_gethostbyname+:} false
; then :
15400 $as_echo_n "(cached) " >&6
15402 ac_func_search_save_LIBS
=$LIBS
15403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15404 /* end confdefs.h. */
15406 /* Override any GCC internal prototype to avoid an error.
15407 Use char because int might match the return type of a GCC
15408 builtin and then its argument prototype would still apply. */
15412 char gethostbyname ();
15416 return gethostbyname ();
15421 for ac_lib
in '' nsl
; do
15422 if test -z "$ac_lib"; then
15423 ac_res
="none required"
15426 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15428 if ac_fn_c_try_link
"$LINENO"; then :
15429 ac_cv_search_gethostbyname
=$ac_res
15431 rm -f core conftest.err conftest.
$ac_objext \
15433 if ${ac_cv_search_gethostbyname+:} false
; then :
15437 if ${ac_cv_search_gethostbyname+:} false
; then :
15440 ac_cv_search_gethostbyname
=no
15442 rm conftest.
$ac_ext
15443 LIBS
=$ac_func_search_save_LIBS
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15446 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15447 ac_res
=$ac_cv_search_gethostbyname
15448 if test "$ac_res" != no
; then :
15449 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15455 $as_echo_n "checking for library containing connect... " >&6; }
15456 if ${ac_cv_search_connect+:} false
; then :
15457 $as_echo_n "(cached) " >&6
15459 ac_func_search_save_LIBS
=$LIBS
15460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15461 /* end confdefs.h. */
15463 /* Override any GCC internal prototype to avoid an error.
15464 Use char because int might match the return type of a GCC
15465 builtin and then its argument prototype would still apply. */
15478 for ac_lib
in '' socket
; do
15479 if test -z "$ac_lib"; then
15480 ac_res
="none required"
15483 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15485 if ac_fn_c_try_link
"$LINENO"; then :
15486 ac_cv_search_connect
=$ac_res
15488 rm -f core conftest.err conftest.
$ac_objext \
15490 if ${ac_cv_search_connect+:} false
; then :
15494 if ${ac_cv_search_connect+:} false
; then :
15497 ac_cv_search_connect
=no
15499 rm conftest.
$ac_ext
15500 LIBS
=$ac_func_search_save_LIBS
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15503 $as_echo "$ac_cv_search_connect" >&6; }
15504 ac_res
=$ac_cv_search_connect
15505 if test "$ac_res" != no
; then :
15506 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15512 $as_echo_n "checking for library containing inet_aton... " >&6; }
15513 if ${ac_cv_search_inet_aton+:} false
; then :
15514 $as_echo_n "(cached) " >&6
15516 ac_func_search_save_LIBS
=$LIBS
15517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15518 /* end confdefs.h. */
15520 /* Override any GCC internal prototype to avoid an error.
15521 Use char because int might match the return type of a GCC
15522 builtin and then its argument prototype would still apply. */
15530 return inet_aton ();
15535 for ac_lib
in '' resolv
; do
15536 if test -z "$ac_lib"; then
15537 ac_res
="none required"
15540 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15542 if ac_fn_c_try_link
"$LINENO"; then :
15543 ac_cv_search_inet_aton
=$ac_res
15545 rm -f core conftest.err conftest.
$ac_objext \
15547 if ${ac_cv_search_inet_aton+:} false
; then :
15551 if ${ac_cv_search_inet_aton+:} false
; then :
15554 ac_cv_search_inet_aton
=no
15556 rm conftest.
$ac_ext
15557 LIBS
=$ac_func_search_save_LIBS
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15560 $as_echo "$ac_cv_search_inet_aton" >&6; }
15561 ac_res
=$ac_cv_search_inet_aton
15562 if test "$ac_res" != no
; then :
15563 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15583 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15584 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15585 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15586 cat >>confdefs.h
<<_ACEOF
15587 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15596 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15597 if ${ac_cv_search_clock_gettime+:} false
; then :
15598 $as_echo_n "(cached) " >&6
15600 ac_func_search_save_LIBS
=$LIBS
15601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15602 /* end confdefs.h. */
15604 /* Override any GCC internal prototype to avoid an error.
15605 Use char because int might match the return type of a GCC
15606 builtin and then its argument prototype would still apply. */
15610 char clock_gettime ();
15614 return clock_gettime ();
15619 for ac_lib
in '' rt
; do
15620 if test -z "$ac_lib"; then
15621 ac_res
="none required"
15624 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15626 if ac_fn_c_try_link
"$LINENO"; then :
15627 ac_cv_search_clock_gettime
=$ac_res
15629 rm -f core conftest.err conftest.
$ac_objext \
15631 if ${ac_cv_search_clock_gettime+:} false
; then :
15635 if ${ac_cv_search_clock_gettime+:} false
; then :
15638 ac_cv_search_clock_gettime
=no
15640 rm conftest.
$ac_ext
15641 LIBS
=$ac_func_search_save_LIBS
15643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15644 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15645 ac_res
=$ac_cv_search_clock_gettime
15646 if test "$ac_res" != no
; then :
15647 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15649 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15651 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15659 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15661 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15663 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15665 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15666 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15667 $as_echo_n "(cached) " >&6
15669 ac_check_lib_save_LIBS
=$LIBS
15670 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15672 /* end confdefs.h. */
15674 /* Override any GCC internal prototype to avoid an error.
15675 Use char because int might match the return type of a GCC
15676 builtin and then its argument prototype would still apply. */
15680 char ldap_initialize ();
15684 return ldap_initialize ();
15689 if ac_fn_c_try_link
"$LINENO"; then :
15690 ac_cv_lib_ldap_r_ldap_initialize
=yes
15692 ac_cv_lib_ldap_r_ldap_initialize
=no
15694 rm -f core conftest.err conftest.
$ac_objext \
15695 conftest
$ac_exeext conftest.
$ac_ext
15696 LIBS
=$ac_check_lib_save_LIBS
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15699 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15700 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15702 $as_echo_n "checking for ber_init in -llber... " >&6; }
15703 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15704 $as_echo_n "(cached) " >&6
15706 ac_check_lib_save_LIBS
=$LIBS
15707 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15709 /* end confdefs.h. */
15711 /* Override any GCC internal prototype to avoid an error.
15712 Use char because int might match the return type of a GCC
15713 builtin and then its argument prototype would still apply. */
15721 return ber_init ();
15726 if ac_fn_c_try_link
"$LINENO"; then :
15727 ac_cv_lib_lber_ber_init
=yes
15729 ac_cv_lib_lber_ber_init
=no
15731 rm -f core conftest.err conftest.
$ac_objext \
15732 conftest
$ac_exeext conftest.
$ac_ext
15733 LIBS
=$ac_check_lib_save_LIBS
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15736 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15737 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15739 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15741 LDAP_LIBS
="-lldap_r -llber"
15748 ac_wine_check_funcs_save_LIBS
="$LIBS"
15749 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15751 ldap_count_references \
15752 ldap_first_reference \
15753 ldap_next_reference \
15754 ldap_parse_reference \
15755 ldap_parse_sort_control \
15756 ldap_parse_sortresponse_control \
15757 ldap_parse_vlv_control \
15758 ldap_parse_vlvresponse_control
15760 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15761 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15762 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15763 cat >>confdefs.h
<<_ACEOF
15764 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15770 LIBS
="$ac_wine_check_funcs_save_LIBS"
15772 if test "x$LDAP_LIBS" = "x"; then :
15773 case "x$with_ldap" in
15774 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15776 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15777 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15783 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15784 if ${wine_cv_one_arg_mkdir+:} false
; then :
15785 $as_echo_n "(cached) " >&6
15787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15788 /* end confdefs.h. */
15789 #include <sys/stat.h>
15798 if ac_fn_c_try_compile
"$LINENO"; then :
15799 wine_cv_one_arg_mkdir
=yes
15801 wine_cv_one_arg_mkdir
=no
15803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15806 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15807 if test "$wine_cv_one_arg_mkdir" = "yes"
15810 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15815 $as_echo_n "checking for sched_setaffinity... " >&6; }
15816 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15817 $as_echo_n "(cached) " >&6
15819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15820 /* end confdefs.h. */
15821 #define _GNU_SOURCE
15826 sched_setaffinity(0, 0, 0);
15831 if ac_fn_c_try_link
"$LINENO"; then :
15832 wine_cv_have_sched_setaffinity
=yes
15834 wine_cv_have_sched_setaffinity
=no
15836 rm -f core conftest.err conftest.
$ac_objext \
15837 conftest
$ac_exeext conftest.
$ac_ext
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15840 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15841 if test "$wine_cv_have_sched_setaffinity" = "yes"
15844 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15849 $as_echo_n "checking for fallocate... " >&6; }
15850 if ${wine_cv_have_fallocate+:} false
; then :
15851 $as_echo_n "(cached) " >&6
15853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15854 /* end confdefs.h. */
15855 #define _GNU_SOURCE
15860 fallocate(-1, 0, 0, 0);
15865 if ac_fn_c_try_link
"$LINENO"; then :
15866 wine_cv_have_fallocate
=yes
15868 wine_cv_have_fallocate
=no
15870 rm -f core conftest.err conftest.
$ac_objext \
15871 conftest
$ac_exeext conftest.
$ac_ext
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15874 $as_echo "$wine_cv_have_fallocate" >&6; }
15875 if test "$wine_cv_have_fallocate" = "yes"
15878 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15884 $as_echo_n "checking for inline... " >&6; }
15885 if ${ac_cv_c_inline+:} false
; then :
15886 $as_echo_n "(cached) " >&6
15889 for ac_kw
in inline __inline__ __inline
; do
15890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15892 #ifndef __cplusplus
15894 static $ac_kw foo_t static_foo () {return 0; }
15895 $ac_kw foo_t foo () {return 0; }
15899 if ac_fn_c_try_compile
"$LINENO"; then :
15900 ac_cv_c_inline
=$ac_kw
15902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15903 test "$ac_cv_c_inline" != no
&& break
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15908 $as_echo "$ac_cv_c_inline" >&6; }
15910 case $ac_cv_c_inline in
15913 case $ac_cv_c_inline in
15915 *) ac_val
=$ac_cv_c_inline;;
15917 cat >>confdefs.h
<<_ACEOF
15918 #ifndef __cplusplus
15919 #define inline $ac_val
15925 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15926 if test "x$ac_cv_type_mode_t" = xyes
; then :
15928 cat >>confdefs.h
<<_ACEOF
15929 #define HAVE_MODE_T 1
15934 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15935 if test "x$ac_cv_type_off_t" = xyes
; then :
15937 cat >>confdefs.h
<<_ACEOF
15938 #define HAVE_OFF_T 1
15943 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15944 if test "x$ac_cv_type_pid_t" = xyes
; then :
15946 cat >>confdefs.h
<<_ACEOF
15947 #define HAVE_PID_T 1
15952 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15953 if test "x$ac_cv_type_size_t" = xyes
; then :
15955 cat >>confdefs.h
<<_ACEOF
15956 #define HAVE_SIZE_T 1
15961 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15962 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15964 cat >>confdefs.h
<<_ACEOF
15965 #define HAVE_SSIZE_T 1
15970 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15971 if test "x$ac_cv_type_long_long" = xyes
; then :
15973 cat >>confdefs.h
<<_ACEOF
15974 #define HAVE_LONG_LONG 1
15979 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15980 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15982 cat >>confdefs.h
<<_ACEOF
15983 #define HAVE_FSBLKCNT_T 1
15988 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15989 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15991 cat >>confdefs.h
<<_ACEOF
15992 #define HAVE_FSFILCNT_T 1
15998 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15999 #include <signal.h>
16001 if test "x$ac_cv_type_sigset_t" = xyes
; then :
16003 cat >>confdefs.h
<<_ACEOF
16004 #define HAVE_SIGSET_T 1
16010 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16012 if test "x$ac_cv_type_request_sense" = xyes
; then :
16014 cat >>confdefs.h
<<_ACEOF
16015 #define HAVE_REQUEST_SENSE 1
16022 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16023 #ifdef HAVE_SYS_SOCKET_H
16024 #include <sys/socket.h>
16026 #ifdef HAVE_SYS_SOCKETVAR_H
16027 #include <sys/socketvar.h>
16029 #ifdef HAVE_NET_ROUTE_H
16030 #include <net/route.h>
16032 #ifdef HAVE_NETINET_IN_H
16033 #include <netinet/in.h>
16035 #ifdef HAVE_NETINET_IN_SYSTM_H
16036 #include <netinet/in_systm.h>
16038 #ifdef HAVE_NETINET_IP_H
16039 #include <netinet/ip.h>
16041 #ifdef HAVE_NETINET_IN_PCB_H
16042 #include <netinet/in_pcb.h>
16045 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
16047 cat >>confdefs.h
<<_ACEOF
16048 #define HAVE_STRUCT_XINPGEN 1
16055 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16058 #ifdef HAVE_SYS_LINK_H
16059 #include <sys/link.h>
16062 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
16064 cat >>confdefs.h
<<_ACEOF
16065 #define HAVE_STRUCT_R_DEBUG 1
16070 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16073 #ifdef HAVE_SYS_LINK_H
16074 #include <sys/link.h>
16077 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
16079 cat >>confdefs.h
<<_ACEOF
16080 #define HAVE_STRUCT_LINK_MAP 1
16087 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16088 #include <linux/input.h>
16091 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
16093 cat >>confdefs.h
<<_ACEOF
16094 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16102 $as_echo_n "checking for sigaddset... " >&6; }
16103 if ${wine_cv_have_sigaddset+:} false
; then :
16104 $as_echo_n "(cached) " >&6
16106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16107 /* end confdefs.h. */
16108 #include <signal.h>
16112 sigset_t set; sigaddset(&set,SIGTERM);
16117 if ac_fn_c_try_link
"$LINENO"; then :
16118 wine_cv_have_sigaddset
=yes
16120 wine_cv_have_sigaddset
=no
16122 rm -f core conftest.err conftest.
$ac_objext \
16123 conftest
$ac_exeext conftest.
$ac_ext
16125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16126 $as_echo "$wine_cv_have_sigaddset" >&6; }
16127 if test "$wine_cv_have_sigaddset" = "yes"
16130 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16136 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16137 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
16138 $as_echo_n "(cached) " >&6
16140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16141 /* end confdefs.h. */
16149 struct hostent *result;
16156 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16157 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16163 if ac_fn_c_try_link
"$LINENO"; then :
16164 wine_cv_linux_gethostbyname_r_6
=yes
16166 wine_cv_linux_gethostbyname_r_6
=no
16169 rm -f core conftest.err conftest.
$ac_objext \
16170 conftest
$ac_exeext conftest.
$ac_ext
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16174 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16175 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16178 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16182 if test "$ac_cv_header_linux_joystick_h" = "yes"
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16185 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16186 if ${wine_cv_linux_joystick_22_api+:} false
; then :
16187 $as_echo_n "(cached) " >&6
16189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16190 /* end confdefs.h. */
16192 #include <sys/ioctl.h>
16193 #include <sys/types.h>
16194 #include <linux/joystick.h>
16196 struct js_event blub;
16197 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16198 #error "no 2.2 header"
16209 if ac_fn_c_try_compile
"$LINENO"; then :
16210 wine_cv_linux_joystick_22_api
=yes
16212 wine_cv_linux_joystick_22_api
=no
16214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16218 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16219 if test "$wine_cv_linux_joystick_22_api" = "yes"
16222 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16228 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16229 #ifdef HAVE_SYS_PARAM_H
16230 # include <sys/param.h>
16232 #ifdef HAVE_SYS_MOUNT_H
16233 # include <sys/mount.h>
16235 #ifdef HAVE_SYS_VFS_H
16236 # include <sys/vfs.h>
16238 #ifdef HAVE_SYS_STATFS_H
16239 # include <sys/statfs.h>
16242 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16244 cat >>confdefs.h
<<_ACEOF
16245 #define HAVE_STRUCT_STATFS_F_BFREE 1
16250 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16251 #ifdef HAVE_SYS_PARAM_H
16252 # include <sys/param.h>
16254 #ifdef HAVE_SYS_MOUNT_H
16255 # include <sys/mount.h>
16257 #ifdef HAVE_SYS_VFS_H
16258 # include <sys/vfs.h>
16260 #ifdef HAVE_SYS_STATFS_H
16261 # include <sys/statfs.h>
16264 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16266 cat >>confdefs.h
<<_ACEOF
16267 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16272 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16273 #ifdef HAVE_SYS_PARAM_H
16274 # include <sys/param.h>
16276 #ifdef HAVE_SYS_MOUNT_H
16277 # include <sys/mount.h>
16279 #ifdef HAVE_SYS_VFS_H
16280 # include <sys/vfs.h>
16282 #ifdef HAVE_SYS_STATFS_H
16283 # include <sys/statfs.h>
16286 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16288 cat >>confdefs.h
<<_ACEOF
16289 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16294 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16295 #ifdef HAVE_SYS_PARAM_H
16296 # include <sys/param.h>
16298 #ifdef HAVE_SYS_MOUNT_H
16299 # include <sys/mount.h>
16301 #ifdef HAVE_SYS_VFS_H
16302 # include <sys/vfs.h>
16304 #ifdef HAVE_SYS_STATFS_H
16305 # include <sys/statfs.h>
16308 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16310 cat >>confdefs.h
<<_ACEOF
16311 #define HAVE_STRUCT_STATFS_F_FFREE 1
16316 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16317 #ifdef HAVE_SYS_PARAM_H
16318 # include <sys/param.h>
16320 #ifdef HAVE_SYS_MOUNT_H
16321 # include <sys/mount.h>
16323 #ifdef HAVE_SYS_VFS_H
16324 # include <sys/vfs.h>
16326 #ifdef HAVE_SYS_STATFS_H
16327 # include <sys/statfs.h>
16330 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16332 cat >>confdefs.h
<<_ACEOF
16333 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16338 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16339 #ifdef HAVE_SYS_PARAM_H
16340 # include <sys/param.h>
16342 #ifdef HAVE_SYS_MOUNT_H
16343 # include <sys/mount.h>
16345 #ifdef HAVE_SYS_VFS_H
16346 # include <sys/vfs.h>
16348 #ifdef HAVE_SYS_STATFS_H
16349 # include <sys/statfs.h>
16352 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16354 cat >>confdefs.h
<<_ACEOF
16355 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16362 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16363 #include <sys/statvfs.h>
16366 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16368 cat >>confdefs.h
<<_ACEOF
16369 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16376 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16377 #include <dirent.h>
16380 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16382 cat >>confdefs.h
<<_ACEOF
16383 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16390 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16391 #ifdef HAVE_SYS_SOCKET_H
16392 # include <sys/socket.h>
16394 #ifdef HAVE_SYS_UN_H
16395 # include <sys/un.h>
16398 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16400 cat >>confdefs.h
<<_ACEOF
16401 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16406 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16407 #ifdef HAVE_SYS_SOCKET_H
16408 # include <sys/socket.h>
16410 #ifdef HAVE_SYS_UN_H
16411 # include <sys/un.h>
16414 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16416 cat >>confdefs.h
<<_ACEOF
16417 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16422 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16423 #ifdef HAVE_SYS_SOCKET_H
16424 # include <sys/socket.h>
16426 #ifdef HAVE_SYS_UN_H
16427 # include <sys/un.h>
16430 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16432 cat >>confdefs.h
<<_ACEOF
16433 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16440 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16441 #ifdef HAVE_SCSI_SG_H
16442 #include <scsi/sg.h>
16445 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16447 cat >>confdefs.h
<<_ACEOF
16448 #define HAVE_SCSIREQ_T_CMD 1
16453 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>
16454 #ifdef HAVE_SCSI_SG_H
16455 #include <scsi/sg.h>
16458 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16460 cat >>confdefs.h
<<_ACEOF
16461 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16468 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16470 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16472 cat >>confdefs.h
<<_ACEOF
16473 #define HAVE_SIGINFO_T_SI_FD 1
16480 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16481 #ifdef HAVE_SYS_MTIO_H
16482 #include <sys/mtio.h>
16485 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16487 cat >>confdefs.h
<<_ACEOF
16488 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16493 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16494 #ifdef HAVE_SYS_MTIO_H
16495 #include <sys/mtio.h>
16498 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16500 cat >>confdefs.h
<<_ACEOF
16501 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16506 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16507 #ifdef HAVE_SYS_MTIO_H
16508 #include <sys/mtio.h>
16511 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16513 cat >>confdefs.h
<<_ACEOF
16514 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16521 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16522 #include <getopt.h>
16525 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16527 cat >>confdefs.h
<<_ACEOF
16528 #define HAVE_STRUCT_OPTION_NAME 1
16535 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16536 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16538 cat >>confdefs.h
<<_ACEOF
16539 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16544 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16545 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16547 cat >>confdefs.h
<<_ACEOF
16548 #define HAVE_STRUCT_STAT_ST_MTIM 1
16553 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16554 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16556 cat >>confdefs.h
<<_ACEOF
16557 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16562 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16563 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16565 cat >>confdefs.h
<<_ACEOF
16566 #define HAVE_STRUCT_STAT_ST_CTIM 1
16571 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16572 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16574 cat >>confdefs.h
<<_ACEOF
16575 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16580 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16581 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16583 cat >>confdefs.h
<<_ACEOF
16584 #define HAVE_STRUCT_STAT_ST_ATIM 1
16589 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16590 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16592 cat >>confdefs.h
<<_ACEOF
16593 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16598 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16599 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16601 cat >>confdefs.h
<<_ACEOF
16602 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16607 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16608 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16610 cat >>confdefs.h
<<_ACEOF
16611 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16616 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16617 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16619 cat >>confdefs.h
<<_ACEOF
16620 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16625 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16626 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16628 cat >>confdefs.h
<<_ACEOF
16629 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16634 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16635 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16637 cat >>confdefs.h
<<_ACEOF
16638 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16645 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
16646 #include <sys/types.h>
16648 #ifdef HAVE_NETINET_IN_H
16649 #include <netinet/in.h>
16652 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16654 cat >>confdefs.h
<<_ACEOF
16655 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16662 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16663 #include <resolv.h>
16666 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16668 cat >>confdefs.h
<<_ACEOF
16669 #define HAVE_STRUCT___RES_STATE 1
16676 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
16677 #include <resolv.h>
16680 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16682 cat >>confdefs.h
<<_ACEOF
16683 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16690 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16691 #include <sys/types.h>
16693 #ifdef HAVE_NETINET_IN_H
16694 # include <netinet/in.h>
16696 #ifdef HAVE_ARPA_NAMESER_H
16697 # include <arpa/nameser.h>
16700 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16702 cat >>confdefs.h
<<_ACEOF
16703 #define HAVE_NS_MSG__MSG_PTR 1
16710 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16711 #include <sys/types.h>
16713 #ifdef HAVE_NETINET_IP_H
16714 #include <netinet/ip.h>
16716 #ifdef HAVE_NETINET_IP_ICMP_H
16717 #include <netinet/ip_icmp.h>
16719 #ifdef HAVE_NETINET_ICMP_VAR_H
16720 #include <netinet/icmp_var.h>
16723 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16725 cat >>confdefs.h
<<_ACEOF
16726 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16733 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16734 #include <sys/types.h>
16736 #ifdef HAVE_ALIAS_H
16739 #ifdef HAVE_SYS_SOCKET_H
16740 #include <sys/socket.h>
16742 #ifdef HAVE_SYS_SOCKETVAR_H
16743 #include <sys/socketvar.h>
16745 #ifdef HAVE_SYS_TIMEOUT_H
16746 #include <sys/timeout.h>
16748 #ifdef HAVE_NETINET_IN_H
16749 #include <netinet/in.h>
16751 #ifdef HAVE_NETINET_IN_SYSTM_H
16752 #include <netinet/in_systm.h>
16754 #ifdef HAVE_NETINET_IP_H
16755 #include <netinet/ip.h>
16757 #ifdef HAVE_NETINET_IP_VAR_H
16758 #include <netinet/ip_var.h>
16760 #ifdef HAVE_NETINET_IP_ICMP_H
16761 #include <netinet/ip_icmp.h>
16763 #ifdef HAVE_NETINET_ICMP_VAR_H
16764 #include <netinet/icmp_var.h>
16767 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16769 cat >>confdefs.h
<<_ACEOF
16770 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16777 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16778 #include <sys/types.h>
16780 #ifdef HAVE_SYS_SOCKETVAR_H
16781 #include <sys/socketvar.h>
16783 #ifdef HAVE_NETINET_IN_H
16784 #include <netinet/in.h>
16786 #ifdef HAVE_NETINET_IP_VAR_H
16787 #include <netinet/ip_var.h>
16790 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16792 cat >>confdefs.h
<<_ACEOF
16793 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16800 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
16801 #include <netinet/ip_var.h>
16804 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16806 cat >>confdefs.h
<<_ACEOF
16807 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16814 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16815 #include <sys/types.h>
16817 #ifdef HAVE_SYS_SOCKETVAR_H
16818 #include <sys/socketvar.h>
16820 #ifdef HAVE_NETINET_IN_H
16821 #include <netinet/in.h>
16823 #ifdef HAVE_NETINET_TCP_H
16824 #include <netinet/tcp.h>
16826 #ifdef HAVE_NETINET_TCP_VAR_H
16827 #include <netinet/tcp_var.h>
16830 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16832 cat >>confdefs.h
<<_ACEOF
16833 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16840 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
16841 #include <netinet/tcp_var.h>
16844 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16846 cat >>confdefs.h
<<_ACEOF
16847 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16854 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16855 #include <sys/types.h>
16857 #ifdef HAVE_NETINET_IN_H
16858 #include <netinet/in.h>
16860 #ifdef HAVE_NETINET_IP_VAR_H
16861 #include <netinet/ip_var.h>
16863 #ifdef HAVE_NETINET_UDP_H
16864 #include <netinet/udp.h>
16866 #ifdef HAVE_NETINET_UDP_VAR_H
16867 #include <netinet/udp_var.h>
16870 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16872 cat >>confdefs.h
<<_ACEOF
16873 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16880 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16881 #include <sys/types.h>
16883 #ifdef HAVE_NET_IF_H
16884 # include <net/if.h>
16887 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16889 cat >>confdefs.h
<<_ACEOF
16890 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16898 $as_echo_n "checking for timezone variable... " >&6; }
16899 if ${ac_cv_have_timezone+:} false
; then :
16900 $as_echo_n "(cached) " >&6
16902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16913 if ac_fn_c_try_link
"$LINENO"; then :
16914 ac_cv_have_timezone
="yes"
16916 ac_cv_have_timezone
="no"
16918 rm -f core conftest.err conftest.
$ac_objext \
16919 conftest
$ac_exeext conftest.
$ac_ext
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16922 $as_echo "$ac_cv_have_timezone" >&6; }
16923 if test "$ac_cv_have_timezone" = "yes"
16926 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16930 $as_echo_n "checking for daylight variable... " >&6; }
16931 if ${ac_cv_have_daylight+:} false
; then :
16932 $as_echo_n "(cached) " >&6
16934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16935 /* end confdefs.h. */
16945 if ac_fn_c_try_link
"$LINENO"; then :
16946 ac_cv_have_daylight
="yes"
16948 ac_cv_have_daylight
="no"
16950 rm -f core conftest.err conftest.
$ac_objext \
16951 conftest
$ac_exeext conftest.
$ac_ext
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16954 $as_echo "$ac_cv_have_daylight" >&6; }
16955 if test "$ac_cv_have_daylight" = "yes"
16958 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16962 ac_save_LIBS
="$LIBS"
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16965 $as_echo_n "checking for isfinite... " >&6; }
16966 if ${ac_cv_have_isfinite+:} false
; then :
16967 $as_echo_n "(cached) " >&6
16969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16970 /* end confdefs.h. */
16971 #define _GNU_SOURCE
16976 float f = 0.0; return isfinite(f)
16981 if ac_fn_c_try_link
"$LINENO"; then :
16982 ac_cv_have_isfinite
="yes"
16984 ac_cv_have_isfinite
="no"
16986 rm -f core conftest.err conftest.
$ac_objext \
16987 conftest
$ac_exeext conftest.
$ac_ext
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16990 $as_echo "$ac_cv_have_isfinite" >&6; }
16991 if test "$ac_cv_have_isfinite" = "yes"
16994 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16999 $as_echo_n "checking for isinf... " >&6; }
17000 if ${ac_cv_have_isinf+:} false
; then :
17001 $as_echo_n "(cached) " >&6
17003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17004 /* end confdefs.h. */
17009 float f = 0.0; return isinf(f)
17014 if ac_fn_c_try_link
"$LINENO"; then :
17015 ac_cv_have_isinf
="yes"
17017 ac_cv_have_isinf
="no"
17019 rm -f core conftest.err conftest.
$ac_objext \
17020 conftest
$ac_exeext conftest.
$ac_ext
17022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17023 $as_echo "$ac_cv_have_isinf" >&6; }
17024 if test "$ac_cv_have_isinf" = "yes"
17027 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17032 $as_echo_n "checking for isnan... " >&6; }
17033 if ${ac_cv_have_isnan+:} false
; then :
17034 $as_echo_n "(cached) " >&6
17036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17037 /* end confdefs.h. */
17042 float f = 0.0; return isnan(f)
17047 if ac_fn_c_try_link
"$LINENO"; then :
17048 ac_cv_have_isnan
="yes"
17050 ac_cv_have_isnan
="no"
17052 rm -f core conftest.err conftest.
$ac_objext \
17053 conftest
$ac_exeext conftest.
$ac_ext
17055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17056 $as_echo "$ac_cv_have_isnan" >&6; }
17057 if test "$ac_cv_have_isnan" = "yes"
17060 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17096 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17097 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17098 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17099 cat >>confdefs.h
<<_ACEOF
17100 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17106 LIBS
="$ac_save_LIBS"
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17109 $as_echo_n "checking for __builtin_clz... " >&6; }
17110 if ${ac_cv_have___builtin_clz+:} false
; then :
17111 $as_echo_n "(cached) " >&6
17113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17114 /* end confdefs.h. */
17119 return __builtin_clz(1)
17124 if ac_fn_c_try_link
"$LINENO"; then :
17125 ac_cv_have___builtin_clz
="yes"
17127 ac_cv_have___builtin_clz
="no"
17129 rm -f core conftest.err conftest.
$ac_objext \
17130 conftest
$ac_exeext conftest.
$ac_ext
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17133 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17134 if test "$ac_cv_have___builtin_clz" = "yes"
17137 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17142 $as_echo_n "checking for __builtin_popcount... " >&6; }
17143 if ${ac_cv_have___builtin_popcount+:} false
; then :
17144 $as_echo_n "(cached) " >&6
17146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17147 /* end confdefs.h. */
17152 return __builtin_popcount(1)
17157 if ac_fn_c_try_link
"$LINENO"; then :
17158 ac_cv_have___builtin_popcount
="yes"
17160 ac_cv_have___builtin_popcount
="no"
17162 rm -f core conftest.err conftest.
$ac_objext \
17163 conftest
$ac_exeext conftest.
$ac_ext
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17166 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17167 if test "$ac_cv_have___builtin_popcount" = "yes"
17170 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17176 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17177 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17178 if ${ac_cv_cpp_def___i386__+:} false
; then :
17179 $as_echo_n "(cached) " >&6
17181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17182 /* end confdefs.h. */
17187 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17188 $EGREP "yes" >/dev
/null
2>&1; then :
17189 ac_cv_cpp_def___i386__
=yes
17191 ac_cv_cpp_def___i386__
=no
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17197 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17198 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
17199 CFLAGS
="$CFLAGS -D__i386__"
17200 LINTFLAGS
="$LINTFLAGS -D__i386__"
17202 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17203 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17204 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
17205 $as_echo_n "(cached) " >&6
17207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17213 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17214 $EGREP "yes" >/dev
/null
2>&1; then :
17215 ac_cv_cpp_def___x86_64__
=yes
17217 ac_cv_cpp_def___x86_64__
=no
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17223 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17224 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
17225 CFLAGS
="$CFLAGS -D__x86_64__"
17226 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
17228 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17229 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17230 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
17231 $as_echo_n "(cached) " >&6
17233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17235 #ifndef __sparc64__
17239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17240 $EGREP "yes" >/dev
/null
2>&1; then :
17241 ac_cv_cpp_def___sparc64__
=yes
17243 ac_cv_cpp_def___sparc64__
=no
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17249 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17250 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
17251 CFLAGS
="$CFLAGS -D__sparc64__"
17252 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
17254 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17255 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17256 if ${ac_cv_cpp_def___sparc__+:} false
; then :
17257 $as_echo_n "(cached) " >&6
17259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17260 /* end confdefs.h. */
17265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17266 $EGREP "yes" >/dev
/null
2>&1; then :
17267 ac_cv_cpp_def___sparc__
=yes
17269 ac_cv_cpp_def___sparc__
=no
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17275 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17276 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
17277 CFLAGS
="$CFLAGS -D__sparc__"
17278 LINTFLAGS
="$LINTFLAGS -D__sparc__"
17280 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17281 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17282 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
17283 $as_echo_n "(cached) " >&6
17285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17286 /* end confdefs.h. */
17287 #ifndef __powerpc64__
17291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17292 $EGREP "yes" >/dev
/null
2>&1; then :
17293 ac_cv_cpp_def___powerpc64__
=yes
17295 ac_cv_cpp_def___powerpc64__
=no
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17301 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17302 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
17303 CFLAGS
="$CFLAGS -D__powerpc64__"
17304 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
17306 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17307 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17308 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
17309 $as_echo_n "(cached) " >&6
17311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17312 /* end confdefs.h. */
17313 #ifndef __powerpc__
17317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17318 $EGREP "yes" >/dev
/null
2>&1; then :
17319 ac_cv_cpp_def___powerpc__
=yes
17321 ac_cv_cpp_def___powerpc__
=no
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17327 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17328 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
17329 CFLAGS
="$CFLAGS -D__powerpc__"
17330 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
17332 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17333 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17334 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
17335 $as_echo_n "(cached) " >&6
17337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17338 /* end confdefs.h. */
17339 #ifndef __aarch64__
17343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17344 $EGREP "yes" >/dev
/null
2>&1; then :
17345 ac_cv_cpp_def___aarch64__
=yes
17347 ac_cv_cpp_def___aarch64__
=no
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17353 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17354 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17355 CFLAGS
="$CFLAGS -D__aarch64__"
17356 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17358 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17359 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17360 if ${ac_cv_cpp_def___arm__+:} false
; then :
17361 $as_echo_n "(cached) " >&6
17363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17364 /* end confdefs.h. */
17369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17370 $EGREP "yes" >/dev
/null
2>&1; then :
17371 ac_cv_cpp_def___arm__
=yes
17373 ac_cv_cpp_def___arm__
=no
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17379 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17380 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17381 CFLAGS
="$CFLAGS -D__arm__"
17382 LINTFLAGS
="$LINTFLAGS -D__arm__"
17386 case $host_vendor in
17387 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17388 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17389 if ${ac_cv_cpp_def___sun__+:} false
; then :
17390 $as_echo_n "(cached) " >&6
17392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17393 /* end confdefs.h. */
17398 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17399 $EGREP "yes" >/dev
/null
2>&1; then :
17400 ac_cv_cpp_def___sun__
=yes
17402 ac_cv_cpp_def___sun__
=no
17407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17408 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17409 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17410 CFLAGS
="$CFLAGS -D__sun__"
17411 LINTFLAGS
="$LINTFLAGS -D__sun__"
17419 ac_config_commands
="$ac_config_commands include/stamp-h"
17421 $as_echo_n "creating Makefile rules..." >&6
17423 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17424 SOCKET_LIBS = $SOCKET_LIBS
17425 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17426 IOKIT_LIBS = $IOKIT_LIBS
17427 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17428 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17429 CORESERVICES_LIBS = $CORESERVICES_LIBS
17430 APPKIT_LIBS = $APPKIT_LIBS
17431 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17432 SECURITY_LIBS = $SECURITY_LIBS
17433 COREAUDIO_LIBS = $COREAUDIO_LIBS
17434 OPENAL_LIBS = $OPENAL_LIBS
17435 OPENCL_LIBS = $OPENCL_LIBS
17436 QUICKTIME_LIBS = $QUICKTIME_LIBS
17437 CARBON_LIBS = $CARBON_LIBS
17438 PTHREAD_LIBS = $PTHREAD_LIBS
17439 X_CFLAGS = $X_CFLAGS
17440 X_PRE_LIBS = $X_PRE_LIBS
17442 X_EXTRA_LIBS = $X_EXTRA_LIBS
17443 PCAP_LIBS = $PCAP_LIBS
17444 XML2_CFLAGS = $XML2_CFLAGS
17445 XML2_LIBS = $XML2_LIBS
17446 XSLT_CFLAGS = $XSLT_CFLAGS
17447 XSLT_LIBS = $XSLT_LIBS
17448 DBUS_CFLAGS = $DBUS_CFLAGS
17449 DBUS_LIBS = $DBUS_LIBS
17450 HAL_CFLAGS = $HAL_CFLAGS
17451 HAL_LIBS = $HAL_LIBS
17452 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17453 GNUTLS_LIBS = $GNUTLS_LIBS
17454 SANE_CFLAGS = $SANE_CFLAGS
17455 SANE_LIBS = $SANE_LIBS
17456 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17457 GPHOTO2_LIBS = $GPHOTO2_LIBS
17458 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17459 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17460 RESOLV_LIBS = $RESOLV_LIBS
17461 LCMS2_CFLAGS = $LCMS2_CFLAGS
17462 LCMS2_LIBS = $LCMS2_LIBS
17463 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17464 FREETYPE_LIBS = $FREETYPE_LIBS
17466 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17467 PULSE_CFLAGS = $PULSE_CFLAGS
17468 PULSE_LIBS = $PULSE_LIBS
17469 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17470 GSTREAMER_LIBS = $GSTREAMER_LIBS
17471 ALSA_LIBS = $ALSA_LIBS
17472 OSS4_CFLAGS = $OSS4_CFLAGS
17473 UDEV_CFLAGS = $UDEV_CFLAGS
17474 UDEV_LIBS = $UDEV_LIBS
17475 CAPI20_CFLAGS = $CAPI20_CFLAGS
17476 CAPI20_LIBS = $CAPI20_LIBS
17477 CUPS_CFLAGS = $CUPS_CFLAGS
17478 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17479 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17480 JPEG_CFLAGS = $JPEG_CFLAGS
17481 JPEG_LIBS = $JPEG_LIBS
17482 PNG_CFLAGS = $PNG_CFLAGS
17483 PNG_LIBS = $PNG_LIBS
17484 TIFF_CFLAGS = $TIFF_CFLAGS
17485 TIFF_LIBS = $TIFF_LIBS
17486 MPG123_CFLAGS = $MPG123_CFLAGS
17487 MPG123_LIBS = $MPG123_LIBS
17488 KSTAT_LIBS = $KSTAT_LIBS
17489 PROCSTAT_LIBS = $PROCSTAT_LIBS
17490 NETAPI_CFLAGS = $NETAPI_CFLAGS
17491 NETAPI_LIBS = $NETAPI_LIBS
17492 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17494 POLL_LIBS = $POLL_LIBS
17496 LDAP_LIBS = $LDAP_LIBS
17501 wine_fn_append_rule
"
17502 # Rules automatically generated by configure
17504 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17509 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17510 @./config.status Make.tmp Makefile
17511 depend: \$(MAKEDEP) dummy
17514 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17515 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17517 if test "x$enable_fonts" != xno
; then
17518 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17519 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17520 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17521 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17522 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17523 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17525 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17526 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17527 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17528 wine_fn_config_symlink wine
17529 if test "x$enable_win64" != xno
; then
17530 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17531 wine_fn_config_symlink wine64
17534 wine_fn_config_dll acledit enable_acledit
17535 wine_fn_config_dll aclui enable_aclui implib
17536 wine_fn_config_dll activeds enable_activeds implib
17537 wine_fn_config_dll actxprxy enable_actxprxy clean
17538 wine_fn_config_lib adsiid
17539 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17540 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17541 wine_fn_config_dll advpack enable_advpack implib
17542 wine_fn_config_test dlls
/advpack
/tests advpack_test
17543 wine_fn_config_dll amstream enable_amstream clean
17544 wine_fn_config_test dlls
/amstream
/tests amstream_test
17545 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17546 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17547 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17548 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17549 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17550 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17551 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17552 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17553 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17554 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17555 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17556 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17557 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17558 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17559 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17560 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17561 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17562 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17563 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17564 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17565 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17566 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17567 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17568 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17569 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17570 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17571 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17572 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17573 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17574 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17575 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17576 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17577 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17578 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17579 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17580 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17581 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17582 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17583 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17584 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17585 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17586 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17587 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17588 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17590 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17591 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17592 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17594 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17595 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17596 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17597 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17598 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17599 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17600 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17601 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17602 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17603 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17604 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17605 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17606 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17607 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17608 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17609 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17610 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17611 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17613 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17616 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17620 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17622 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17623 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17624 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17625 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17626 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17627 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17629 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17630 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17634 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17635 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17636 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17641 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17642 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17643 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17644 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17645 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17646 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17647 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17648 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17649 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17650 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17651 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17652 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17653 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17654 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17655 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17656 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17657 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17658 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17659 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17660 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17661 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17662 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17663 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17664 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17665 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17666 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17667 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17668 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17669 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17670 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17671 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17672 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17673 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17674 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17675 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17676 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17677 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17678 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17679 wine_fn_config_dll apphelp enable_apphelp
17680 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17681 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17682 wine_fn_config_dll atl enable_atl clean
,implib
17683 wine_fn_config_test dlls
/atl
/tests atl_test
17684 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17685 wine_fn_config_test dlls
/atl100
/tests atl100_test
17686 wine_fn_config_dll atl110 enable_atl110 clean
17687 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17688 wine_fn_config_test dlls
/atl80
/tests atl80_test
17689 wine_fn_config_dll atl90 enable_atl90 clean
17690 wine_fn_config_dll authz enable_authz
17691 wine_fn_config_dll avicap32 enable_avicap32 implib
17692 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
17693 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17694 wine_fn_config_dll avifile.dll16 enable_win16
17695 wine_fn_config_dll avrt enable_avrt implib
17696 wine_fn_config_dll bcrypt enable_bcrypt implib
17697 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17698 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17699 wine_fn_config_dll browseui enable_browseui clean
17700 wine_fn_config_test dlls
/browseui
/tests browseui_test
17701 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17702 wine_fn_config_dll cabinet enable_cabinet implib
17703 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17704 wine_fn_config_dll capi2032 enable_capi2032 implib
17705 wine_fn_config_dll cards enable_cards implib
17706 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17707 wine_fn_config_dll clusapi enable_clusapi implib
17708 wine_fn_config_dll combase enable_combase
17709 wine_fn_config_test dlls
/combase
/tests combase_test
17710 wine_fn_config_dll comcat enable_comcat
17711 wine_fn_config_test dlls
/comcat
/tests comcat_test
17712 wine_fn_config_dll comctl32 enable_comctl32 clean
,implib
17713 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17714 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
17715 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17716 wine_fn_config_dll
comm.drv16 enable_win16
17717 wine_fn_config_dll commdlg.dll16 enable_win16
17718 wine_fn_config_dll compobj.dll16 enable_win16
17719 wine_fn_config_dll compstui enable_compstui implib
17720 wine_fn_config_dll comsvcs enable_comsvcs implib
17721 wine_fn_config_dll concrt140 enable_concrt140
17722 wine_fn_config_dll connect enable_connect
17723 wine_fn_config_dll credui enable_credui clean
,implib
17724 wine_fn_config_test dlls
/credui
/tests credui_test
17725 wine_fn_config_dll crtdll enable_crtdll
17726 wine_fn_config_dll crypt32 enable_crypt32 clean
,implib
17727 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17728 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17729 wine_fn_config_dll cryptdll enable_cryptdll implib
17730 wine_fn_config_dll cryptext enable_cryptext
17731 wine_fn_config_dll cryptnet enable_cryptnet implib
17732 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17733 wine_fn_config_dll cryptui enable_cryptui clean
,implib
17734 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17735 wine_fn_config_dll ctapi32 enable_ctapi32
17736 wine_fn_config_dll ctl3d.dll16 enable_win16
17737 wine_fn_config_dll ctl3d32 enable_ctl3d32
17738 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17739 wine_fn_config_dll d2d1 enable_d2d1 implib
17740 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17741 wine_fn_config_dll d3d10 enable_d3d10 implib
17742 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17743 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17744 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
17745 wine_fn_config_dll d3d10core enable_d3d10core implib
17746 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17747 wine_fn_config_dll d3d11 enable_d3d11 implib
17748 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17749 wine_fn_config_dll d3d8 enable_d3d8 implib
17750 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17751 wine_fn_config_dll d3d9 enable_d3d9 implib
17752 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17753 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17754 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17755 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17756 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17757 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17758 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17759 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17760 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17761 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17762 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17763 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17764 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17765 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17766 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17767 wine_fn_config_dll d3dim enable_d3dim
17768 wine_fn_config_dll d3drm enable_d3drm implib
17769 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17770 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17771 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17772 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17773 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17774 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17775 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17776 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17777 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17778 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17779 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17780 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17781 wine_fn_config_test dlls
/d3dx10_43
/tests d3dx10_43_test
17782 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17783 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17784 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17785 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17786 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17787 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17788 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17789 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17790 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17791 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17792 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17793 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17794 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17795 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17796 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17797 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17798 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17799 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17800 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17801 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17802 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17803 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17804 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17805 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17806 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17807 wine_fn_config_dll davclnt enable_davclnt
17808 wine_fn_config_dll dbgeng enable_dbgeng implib
17809 wine_fn_config_dll dbghelp enable_dbghelp implib
17810 wine_fn_config_dll dciman32 enable_dciman32 implib
17811 wine_fn_config_dll ddeml.dll16 enable_win16
17812 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17813 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17814 wine_fn_config_dll ddrawex enable_ddrawex clean
17815 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17816 wine_fn_config_dll devenum enable_devenum clean
17817 wine_fn_config_test dlls
/devenum
/tests devenum_test
17818 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17819 wine_fn_config_dll difxapi enable_difxapi
17820 wine_fn_config_dll dinput enable_dinput clean
,implib
,staticimplib
17821 wine_fn_config_test dlls
/dinput
/tests dinput_test
17822 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17823 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17824 wine_fn_config_dll dispdib.dll16 enable_win16
17825 wine_fn_config_dll dispex enable_dispex clean
17826 wine_fn_config_test dlls
/dispex
/tests dispex_test
17827 wine_fn_config_dll display.drv16 enable_win16
17828 wine_fn_config_dll dmband enable_dmband clean
17829 wine_fn_config_test dlls
/dmband
/tests dmband_test
17830 wine_fn_config_dll dmcompos enable_dmcompos clean
17831 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17832 wine_fn_config_dll dmime enable_dmime clean
17833 wine_fn_config_test dlls
/dmime
/tests dmime_test
17834 wine_fn_config_dll dmloader enable_dmloader clean
17835 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17836 wine_fn_config_dll dmscript enable_dmscript clean
17837 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17838 wine_fn_config_dll dmstyle enable_dmstyle clean
17839 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17840 wine_fn_config_dll dmsynth enable_dmsynth clean
17841 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17842 wine_fn_config_dll dmusic enable_dmusic clean
17843 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17844 wine_fn_config_dll dmusic32 enable_dmusic32
17845 wine_fn_config_dll dnsapi enable_dnsapi implib
17846 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17847 wine_fn_config_dll dplay enable_dplay
17848 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17849 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17850 wine_fn_config_dll dpnaddr enable_dpnaddr
17851 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17852 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17853 wine_fn_config_dll dpnhpast enable_dpnhpast
17854 wine_fn_config_dll dpnlobby enable_dpnlobby
17855 wine_fn_config_dll dpvoice enable_dpvoice clean
17856 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17857 wine_fn_config_dll dpwsockx enable_dpwsockx
17858 wine_fn_config_dll drmclien enable_drmclien
17859 wine_fn_config_dll dsound enable_dsound clean
,implib
17860 wine_fn_config_test dlls
/dsound
/tests dsound_test
17861 wine_fn_config_dll dssenh enable_dssenh
17862 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17863 wine_fn_config_dll dswave enable_dswave clean
17864 wine_fn_config_test dlls
/dswave
/tests dswave_test
17865 wine_fn_config_dll dwmapi enable_dwmapi implib
17866 wine_fn_config_dll dwrite enable_dwrite implib
17867 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17868 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17869 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17870 wine_fn_config_lib dxerr8
17871 wine_fn_config_lib dxerr9
17872 wine_fn_config_dll dxgi enable_dxgi implib
17873 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17874 wine_fn_config_lib dxguid
17875 wine_fn_config_dll dxva2 enable_dxva2
17876 wine_fn_config_dll esent enable_esent
17877 wine_fn_config_dll evr enable_evr
17878 wine_fn_config_dll explorerframe enable_explorerframe clean
17879 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17880 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17881 wine_fn_config_dll faultrep enable_faultrep implib
17882 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17883 wine_fn_config_dll fltlib enable_fltlib
17884 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17885 wine_fn_config_dll fntcache enable_fntcache
17886 wine_fn_config_dll fontsub enable_fontsub
17887 wine_fn_config_dll fusion enable_fusion
17888 wine_fn_config_test dlls
/fusion
/tests fusion_test
17889 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17890 wine_fn_config_dll gameux enable_gameux clean
17891 wine_fn_config_test dlls
/gameux
/tests gameux_test
17892 wine_fn_config_dll gdi.exe16 enable_win16
17893 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
17894 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17895 wine_fn_config_dll gdiplus enable_gdiplus implib
17896 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17897 wine_fn_config_dll glu32 enable_glu32 implib
17898 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17899 wine_fn_config_dll gpkcsp enable_gpkcsp
17900 wine_fn_config_dll hal enable_hal
17901 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib htmlhelp
17902 wine_fn_config_dll hid enable_hid implib
17903 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17904 wine_fn_config_dll hlink enable_hlink clean
,implib
17905 wine_fn_config_test dlls
/hlink
/tests hlink_test
17906 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17907 wine_fn_config_test dlls
/hnetcfg
/tests hnetcfg_test
17908 wine_fn_config_dll httpapi enable_httpapi
17909 wine_fn_config_dll iccvid enable_iccvid clean
17910 wine_fn_config_dll icmp enable_icmp
17911 wine_fn_config_dll ieframe enable_ieframe clean
,implib
17912 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17913 wine_fn_config_dll ifsmgr.vxd enable_win16
17914 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17915 wine_fn_config_dll imagehlp enable_imagehlp implib
17916 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17917 wine_fn_config_dll imm.dll16 enable_win16
17918 wine_fn_config_dll imm32 enable_imm32 implib
17919 wine_fn_config_test dlls
/imm32
/tests imm32_test
17920 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17921 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17922 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17923 wine_fn_config_dll inetmib1 enable_inetmib1
17924 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17925 wine_fn_config_dll infosoft enable_infosoft clean
17926 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17927 wine_fn_config_dll initpki enable_initpki
17928 wine_fn_config_dll inkobj enable_inkobj
17929 wine_fn_config_dll inseng enable_inseng clean
17930 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17931 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17932 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17933 wine_fn_config_dll itircl enable_itircl
17934 wine_fn_config_dll itss enable_itss clean
17935 wine_fn_config_test dlls
/itss
/tests itss_test
17936 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17937 wine_fn_config_dll jscript enable_jscript clean
17938 wine_fn_config_test dlls
/jscript
/tests jscript_test
17939 wine_fn_config_dll jsproxy enable_jsproxy implib
17940 wine_fn_config_test dlls
/jsproxy
/tests jsproxy_test
17941 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
17942 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17943 wine_fn_config_dll kernelbase enable_kernelbase
17944 wine_fn_config_dll keyboard.drv16 enable_win16
17945 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17946 wine_fn_config_dll ksuser enable_ksuser
17947 wine_fn_config_dll ktmw32 enable_ktmw32
17948 wine_fn_config_dll loadperf enable_loadperf implib
17949 wine_fn_config_dll localspl enable_localspl clean
17950 wine_fn_config_test dlls
/localspl
/tests localspl_test
17951 wine_fn_config_dll localui enable_localui clean
17952 wine_fn_config_test dlls
/localui
/tests localui_test
17953 wine_fn_config_dll lz32 enable_lz32 implib
17954 wine_fn_config_test dlls
/lz32
/tests lz32_test
17955 wine_fn_config_dll lzexpand.dll16 enable_win16
17956 wine_fn_config_dll mapi32 enable_mapi32 clean
,implib
17957 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17958 wine_fn_config_dll mapistub enable_mapistub
17959 wine_fn_config_dll mciavi32 enable_mciavi32
17960 wine_fn_config_dll mcicda enable_mcicda
17961 wine_fn_config_dll mciqtz32 enable_mciqtz32
17962 wine_fn_config_dll mciseq enable_mciseq
17963 wine_fn_config_dll mciwave enable_mciwave
17964 wine_fn_config_dll mf enable_mf
17965 wine_fn_config_dll mfplat enable_mfplat
17966 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17967 wine_fn_config_dll mgmtapi enable_mgmtapi
17968 wine_fn_config_dll midimap enable_midimap
17969 wine_fn_config_dll mlang enable_mlang clean
,implib
17970 wine_fn_config_test dlls
/mlang
/tests mlang_test
17971 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17972 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17973 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17974 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17975 wine_fn_config_dll mmdevldr.vxd enable_win16
17976 wine_fn_config_dll mmsystem.dll16 enable_win16
17977 wine_fn_config_dll monodebg.vxd enable_win16
17978 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17979 wine_fn_config_dll mouse.drv16 enable_win16
17980 wine_fn_config_dll mpr enable_mpr clean
,implib
17981 wine_fn_config_test dlls
/mpr
/tests mpr_test
17982 wine_fn_config_dll mprapi enable_mprapi implib
17983 wine_fn_config_dll msacm.dll16 enable_win16
17984 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17985 wine_fn_config_dll msacm32 enable_msacm32 clean
,implib
17986 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17987 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17988 wine_fn_config_dll msasn1 enable_msasn1 implib
17989 wine_fn_config_dll mscat32 enable_mscat32
17990 wine_fn_config_dll mscms enable_mscms implib
17991 wine_fn_config_test dlls
/mscms
/tests mscms_test
17992 wine_fn_config_dll mscoree enable_mscoree clean
17993 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17994 wine_fn_config_dll msctf enable_msctf clean
17995 wine_fn_config_test dlls
/msctf
/tests msctf_test
17996 wine_fn_config_dll msctfp enable_msctfp clean
17997 wine_fn_config_dll msdaps enable_msdaps clean
17998 wine_fn_config_dll msdelta enable_msdelta
17999 wine_fn_config_dll msdmo enable_msdmo implib
18000 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
18001 wine_fn_config_dll msdrm enable_msdrm
18002 wine_fn_config_dll msftedit enable_msftedit
18003 wine_fn_config_dll msg711.acm enable_msg711_acm
18004 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18005 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18006 wine_fn_config_dll mshtml enable_mshtml clean
,implib
18007 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
18008 wine_fn_config_dll msi enable_msi clean
,implib
18009 wine_fn_config_test dlls
/msi
/tests msi_test
18010 wine_fn_config_dll msident enable_msident clean
18011 wine_fn_config_dll msimg32 enable_msimg32 implib
18012 wine_fn_config_dll msimsg enable_msimsg
18013 wine_fn_config_dll msimtf enable_msimtf clean
18014 wine_fn_config_dll msisip enable_msisip
18015 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18016 wine_fn_config_dll msls31 enable_msls31
18017 wine_fn_config_dll msnet32 enable_msnet32
18018 wine_fn_config_dll mspatcha enable_mspatcha implib
18019 wine_fn_config_dll msports enable_msports
18020 wine_fn_config_dll msrle32 enable_msrle32 clean
18021 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
18022 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18023 wine_fn_config_test dlls
/msscript.ocx
/tests msscript.ocx_test clean
18024 wine_fn_config_dll mssign32 enable_mssign32
18025 wine_fn_config_dll mssip32 enable_mssip32
18026 wine_fn_config_dll mstask enable_mstask clean
18027 wine_fn_config_test dlls
/mstask
/tests mstask_test
18028 wine_fn_config_dll msvcirt enable_msvcirt
18029 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
18030 wine_fn_config_dll msvcm80 enable_msvcm80
18031 wine_fn_config_dll msvcm90 enable_msvcm90
18032 wine_fn_config_dll msvcp100 enable_msvcp100
18033 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
18034 wine_fn_config_dll msvcp110 enable_msvcp110
18035 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
18036 wine_fn_config_dll msvcp120 enable_msvcp120
18037 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
18038 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18039 wine_fn_config_dll msvcp140 enable_msvcp140
18040 wine_fn_config_test dlls
/msvcp140
/tests msvcp140_test
18041 wine_fn_config_dll msvcp60 enable_msvcp60
18042 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
18043 wine_fn_config_dll msvcp70 enable_msvcp70
18044 wine_fn_config_dll msvcp71 enable_msvcp71
18045 wine_fn_config_dll msvcp80 enable_msvcp80
18046 wine_fn_config_dll msvcp90 enable_msvcp90
18047 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
18048 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18049 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
18050 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18051 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18052 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
18053 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18054 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18055 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18056 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18057 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18058 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
18059 wine_fn_config_dll msvcrt enable_msvcrt implib
18060 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
18061 wine_fn_config_dll msvcrt20 enable_msvcrt20
18062 wine_fn_config_dll msvcrt40 enable_msvcrt40
18063 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18064 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
18065 wine_fn_config_dll msvfw32 enable_msvfw32 clean
,implib
18066 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
18067 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18068 wine_fn_config_dll msvideo.dll16 enable_win16
18069 wine_fn_config_dll mswsock enable_mswsock implib
18070 wine_fn_config_dll msxml enable_msxml clean
18071 wine_fn_config_dll msxml2 enable_msxml2 clean
18072 wine_fn_config_dll msxml3 enable_msxml3 clean
18073 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
18074 wine_fn_config_dll msxml4 enable_msxml4 clean
18075 wine_fn_config_dll msxml6 enable_msxml6 clean
18076 wine_fn_config_dll ncrypt enable_ncrypt
18077 wine_fn_config_dll nddeapi enable_nddeapi implib
18078 wine_fn_config_dll ndis.sys enable_ndis_sys
18079 wine_fn_config_dll netapi32 enable_netapi32 implib
18080 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
18081 wine_fn_config_dll netcfgx enable_netcfgx clean
18082 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
18083 wine_fn_config_dll netprofm enable_netprofm clean
18084 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
18085 wine_fn_config_dll newdev enable_newdev implib
18086 wine_fn_config_dll normaliz enable_normaliz implib
18087 wine_fn_config_dll npmshtml enable_npmshtml
18088 wine_fn_config_dll npptools enable_npptools
18089 wine_fn_config_dll ntdll enable_ntdll implib
18090 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
18091 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18092 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
18093 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18094 wine_fn_config_dll ntprint enable_ntprint
18095 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
18096 wine_fn_config_dll objsel enable_objsel clean
18097 wine_fn_config_dll odbc32 enable_odbc32 implib
18098 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18099 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
18100 wine_fn_config_dll odbccu32 enable_odbccu32
18101 wine_fn_config_dll ole2.dll16 enable_win16
18102 wine_fn_config_dll ole2conv.dll16 enable_win16
18103 wine_fn_config_dll ole2disp.dll16 enable_win16
18104 wine_fn_config_dll ole2nls.dll16 enable_win16
18105 wine_fn_config_dll ole2prox.dll16 enable_win16
18106 wine_fn_config_dll ole2thk.dll16 enable_win16
18107 wine_fn_config_dll ole32 enable_ole32 clean
,implib
18108 wine_fn_config_test dlls
/ole32
/tests ole32_test
18109 wine_fn_config_dll oleacc enable_oleacc clean
,implib
18110 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
18111 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
18112 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
18113 wine_fn_config_dll olecli.dll16 enable_win16
18114 wine_fn_config_dll olecli32 enable_olecli32 implib
18115 wine_fn_config_dll oledb32 enable_oledb32 clean
18116 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
18117 wine_fn_config_dll oledlg enable_oledlg clean
,implib
18118 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
18119 wine_fn_config_dll olepro32 enable_olepro32 clean
,implib
18120 wine_fn_config_dll olesvr.dll16 enable_win16
18121 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18122 wine_fn_config_dll olethk32 enable_olethk32
18123 wine_fn_config_dll openal32 enable_openal32
18124 wine_fn_config_dll opencl enable_opencl
18125 wine_fn_config_dll opengl32 enable_opengl32 implib
18126 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
18127 wine_fn_config_dll packager enable_packager clean
18128 wine_fn_config_test dlls
/packager
/tests packager_test
18129 wine_fn_config_dll pdh enable_pdh implib
18130 wine_fn_config_test dlls
/pdh
/tests pdh_test
18131 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18132 wine_fn_config_dll pidgen enable_pidgen
18133 wine_fn_config_dll powrprof enable_powrprof implib
18134 wine_fn_config_dll printui enable_printui
18135 wine_fn_config_dll prntvpt enable_prntvpt
18136 wine_fn_config_dll propsys enable_propsys clean
,implib
18137 wine_fn_config_test dlls
/propsys
/tests propsys_test
18138 wine_fn_config_dll psapi enable_psapi implib
18139 wine_fn_config_test dlls
/psapi
/tests psapi_test
18140 wine_fn_config_dll pstorec enable_pstorec clean
18141 wine_fn_config_dll qcap enable_qcap
18142 wine_fn_config_test dlls
/qcap
/tests qcap_test
18143 wine_fn_config_dll qedit enable_qedit clean
18144 wine_fn_config_test dlls
/qedit
/tests qedit_test
18145 wine_fn_config_dll qmgr enable_qmgr clean
18146 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
18147 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18148 wine_fn_config_dll quartz enable_quartz clean
,implib
18149 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
18150 wine_fn_config_dll query enable_query
18151 wine_fn_config_dll rasapi16.dll16 enable_win16
18152 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18153 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
18154 wine_fn_config_dll rasdlg enable_rasdlg implib
18155 wine_fn_config_dll regapi enable_regapi
18156 wine_fn_config_dll resutils enable_resutils implib
18157 wine_fn_config_dll riched20 enable_riched20 clean
,implib
18158 wine_fn_config_test dlls
/riched20
/tests riched20_test
18159 wine_fn_config_dll riched32 enable_riched32
18160 wine_fn_config_test dlls
/riched32
/tests riched32_test
18161 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
18162 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
18163 wine_fn_config_dll rsabase enable_rsabase
18164 wine_fn_config_dll rsaenh enable_rsaenh implib
18165 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
18166 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18167 wine_fn_config_dll rtutils enable_rtutils implib
18168 wine_fn_config_dll samlib enable_samlib
18169 wine_fn_config_dll sane.ds enable_sane_ds clean
18170 wine_fn_config_dll scarddlg enable_scarddlg
18171 wine_fn_config_dll sccbase enable_sccbase
18172 wine_fn_config_dll schannel enable_schannel
18173 wine_fn_config_test dlls
/schannel
/tests schannel_test
18174 wine_fn_config_dll schedsvc enable_schedsvc clean
18175 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
18176 wine_fn_config_dll scrrun enable_scrrun clean
18177 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
18178 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18179 wine_fn_config_dll secur32 enable_secur32 implib
18180 wine_fn_config_test dlls
/secur32
/tests secur32_test
18181 wine_fn_config_dll security enable_security
18182 wine_fn_config_dll sensapi enable_sensapi implib
18183 wine_fn_config_dll serialui enable_serialui clean
18184 wine_fn_config_test dlls
/serialui
/tests serialui_test
18185 wine_fn_config_dll setupapi enable_setupapi clean
,implib
18186 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
18187 wine_fn_config_dll setupx.dll16 enable_win16
18188 wine_fn_config_dll sfc enable_sfc implib
18189 wine_fn_config_dll sfc_os enable_sfc_os implib
18190 wine_fn_config_dll shdoclc enable_shdoclc clean
18191 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
18192 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
18193 wine_fn_config_dll shell.dll16 enable_win16
18194 wine_fn_config_dll shell32 enable_shell32 clean
,implib
18195 wine_fn_config_test dlls
/shell32
/tests shell32_test
18196 wine_fn_config_dll shfolder enable_shfolder implib
18197 wine_fn_config_dll shlwapi enable_shlwapi clean
,implib
18198 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
18199 wine_fn_config_dll slbcsp enable_slbcsp
18200 wine_fn_config_dll slc enable_slc implib
18201 wine_fn_config_test dlls
/slc
/tests slc_test
18202 wine_fn_config_dll snmpapi enable_snmpapi implib
18203 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
18204 wine_fn_config_dll softpub enable_softpub
18205 wine_fn_config_dll sound.drv16 enable_win16
18206 wine_fn_config_dll spoolss enable_spoolss implib
18207 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
18208 wine_fn_config_dll sspicli enable_sspicli
18209 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18210 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18211 wine_fn_config_dll sti enable_sti clean
,implib
18212 wine_fn_config_test dlls
/sti
/tests sti_test
18213 wine_fn_config_dll storage.dll16 enable_win16
18214 wine_fn_config_dll stress.dll16 enable_win16
18215 wine_fn_config_lib strmbase
18216 wine_fn_config_lib strmiids
18217 wine_fn_config_dll svrapi enable_svrapi
18218 wine_fn_config_dll sxs enable_sxs implib
18219 wine_fn_config_test dlls
/sxs
/tests sxs_test
18220 wine_fn_config_dll system.drv16 enable_win16
18221 wine_fn_config_dll t2embed enable_t2embed implib
18222 wine_fn_config_test dlls
/t2embed
/tests t2embed_test
18223 wine_fn_config_dll tapi32 enable_tapi32 implib
18224 wine_fn_config_dll taskschd enable_taskschd clean
18225 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
18226 wine_fn_config_dll tdi.sys enable_tdi_sys
18227 wine_fn_config_dll toolhelp.dll16 enable_win16
18228 wine_fn_config_dll traffic enable_traffic
18229 wine_fn_config_dll twain.dll16 enable_win16
18230 wine_fn_config_dll twain_32 enable_twain_32
18231 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
18232 wine_fn_config_dll typelib.dll16 enable_win16
18233 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18234 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
18235 wine_fn_config_dll unicows enable_unicows implib
18236 wine_fn_config_dll updspapi enable_updspapi
18237 wine_fn_config_dll url enable_url implib
18238 wine_fn_config_dll urlmon enable_urlmon clean
,implib
18239 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
18240 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18241 wine_fn_config_dll user.exe16 enable_win16
18242 wine_fn_config_dll user32 enable_user32 clean
,implib
18243 wine_fn_config_test dlls
/user32
/tests user32_test
18244 wine_fn_config_dll userenv enable_userenv implib
18245 wine_fn_config_test dlls
/userenv
/tests userenv_test
18246 wine_fn_config_dll usp10 enable_usp10 implib
18247 wine_fn_config_test dlls
/usp10
/tests usp10_test
18248 wine_fn_config_lib uuid
18249 wine_fn_config_dll uxtheme enable_uxtheme implib
18250 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
18251 wine_fn_config_dll vbscript enable_vbscript clean
18252 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
18253 wine_fn_config_dll vcomp enable_vcomp
18254 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
18255 wine_fn_config_dll vcomp100 enable_vcomp100
18256 wine_fn_config_dll vcomp110 enable_vcomp110
18257 wine_fn_config_dll vcomp120 enable_vcomp120
18258 wine_fn_config_dll vcomp140 enable_vcomp140
18259 wine_fn_config_dll vcomp90 enable_vcomp90
18260 wine_fn_config_dll vcruntime140 enable_vcruntime140
18261 wine_fn_config_dll vdhcp.vxd enable_win16
18262 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18263 wine_fn_config_dll ver.dll16 enable_win16
18264 wine_fn_config_dll version enable_version implib
18265 wine_fn_config_test dlls
/version
/tests version_test
18266 wine_fn_config_dll vmm.vxd enable_win16
18267 wine_fn_config_dll vnbt.vxd enable_win16
18268 wine_fn_config_dll vnetbios.vxd enable_win16
18269 wine_fn_config_dll vssapi enable_vssapi
18270 wine_fn_config_dll vtdapi.vxd enable_win16
18271 wine_fn_config_dll vwin32.vxd enable_win16
18272 wine_fn_config_dll w32skrnl enable_win16
18273 wine_fn_config_dll w32sys.dll16 enable_win16
18274 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18275 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
18276 wine_fn_config_dll wbemprox enable_wbemprox clean
18277 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
18278 wine_fn_config_dll webservices enable_webservices implib
18279 wine_fn_config_test dlls
/webservices
/tests webservices_test
18280 wine_fn_config_dll wer enable_wer implib
18281 wine_fn_config_test dlls
/wer
/tests wer_test
18282 wine_fn_config_dll wevtapi enable_wevtapi
18283 wine_fn_config_dll wiaservc enable_wiaservc clean
18284 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
18285 wine_fn_config_dll wimgapi enable_wimgapi
18286 wine_fn_config_dll win32s16.dll16 enable_win16
18287 wine_fn_config_dll win87em.dll16 enable_win16
18288 wine_fn_config_dll winaspi.dll16 enable_win16
18289 wine_fn_config_dll windebug.dll16 enable_win16
18290 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
18291 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
18292 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18293 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
18294 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18295 wine_fn_config_dll winebus.sys enable_winebus_sys
18296 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18297 wine_fn_config_lib winecrt0
18298 wine_fn_config_dll wined3d enable_wined3d implib
18299 wine_fn_config_dll winegstreamer enable_winegstreamer
18300 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18301 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18302 wine_fn_config_dll winemapi enable_winemapi
18303 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18304 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18305 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18306 wine_fn_config_dll wineps16.drv16 enable_win16
18307 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18308 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18309 wine_fn_config_dll winex11.drv enable_winex11_drv
18310 wine_fn_config_dll wing.dll16 enable_win16
18311 wine_fn_config_dll wing32 enable_wing32
18312 wine_fn_config_dll winhttp enable_winhttp clean
,implib
18313 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
18314 wine_fn_config_dll wininet enable_wininet clean
,implib
18315 wine_fn_config_test dlls
/wininet
/tests wininet_test
18316 wine_fn_config_dll winmm enable_winmm clean
,implib
18317 wine_fn_config_test dlls
/winmm
/tests winmm_test
18318 wine_fn_config_dll winnls.dll16 enable_win16
18319 wine_fn_config_dll winnls32 enable_winnls32 implib
18320 wine_fn_config_dll winscard enable_winscard implib
18321 wine_fn_config_dll winsock.dll16 enable_win16
18322 wine_fn_config_dll winspool.drv enable_winspool_drv clean
,implib winspool
18323 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
18324 wine_fn_config_dll winsta enable_winsta
18325 wine_fn_config_dll wintab.dll16 enable_win16
18326 wine_fn_config_dll wintab32 enable_wintab32 implib
18327 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
18328 wine_fn_config_dll wintrust enable_wintrust implib
18329 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
18330 wine_fn_config_dll wlanapi enable_wlanapi
18331 wine_fn_config_dll wldap32 enable_wldap32 clean
,implib
18332 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
18333 wine_fn_config_dll wmasf enable_wmasf
18334 wine_fn_config_dll wmi enable_wmi
18335 wine_fn_config_dll wmiutils enable_wmiutils clean
18336 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
18337 wine_fn_config_dll wmp enable_wmp clean
18338 wine_fn_config_test dlls
/wmp
/tests wmp_test
18339 wine_fn_config_dll wmvcore enable_wmvcore
18340 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18341 wine_fn_config_dll wow32 enable_win16 implib
18342 wine_fn_config_dll wpc enable_wpc clean
18343 wine_fn_config_test dlls
/wpc
/tests wpc_test
18344 wine_fn_config_dll wpcap enable_wpcap
18345 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18346 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
18347 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18348 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
18349 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18350 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
18351 wine_fn_config_dll wsock32 enable_wsock32 implib
18352 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18353 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
18354 wine_fn_config_dll wuapi enable_wuapi clean
18355 wine_fn_config_dll wuaueng enable_wuaueng
18356 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18357 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18358 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18359 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18360 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18361 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18362 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18363 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18364 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18365 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18366 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18367 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18368 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18369 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18370 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18371 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18372 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18373 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18374 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18375 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18376 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18377 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
18378 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18379 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18380 wine_fn_config_dll xinput1_1 enable_xinput1_1
18381 wine_fn_config_dll xinput1_2 enable_xinput1_2
18382 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18383 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
18384 wine_fn_config_dll xinput1_4 enable_xinput1_4
18385 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18386 wine_fn_config_dll xmllite enable_xmllite implib
18387 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
18388 wine_fn_config_dll xolehlp enable_xolehlp
18389 wine_fn_config_dll xpsprint enable_xpsprint
18390 wine_fn_config_dll xpssvcs enable_xpssvcs
18391 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
18392 wine_fn_config_makefile include enable_include clean
,install-dev
18393 wine_fn_config_makefile libs
/port enable_libs_port
18394 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,implib
,install-dev
,install-lib
18395 wine_fn_config_makefile libs
/wpp enable_libs_wpp
18396 wine_fn_config_makefile loader enable_loader clean
,install-lib
18397 wine_fn_config_makefile po enable_po clean
18398 wine_fn_config_program arp enable_arp
install
18399 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
18400 wine_fn_config_program attrib enable_attrib clean
,install
18401 wine_fn_config_program cabarc enable_cabarc
install
18402 wine_fn_config_program cacls enable_cacls
install
18403 wine_fn_config_program
clock enable_clock clean
,install
18404 wine_fn_config_program cmd enable_cmd clean
,install
18405 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
18406 wine_fn_config_program conhost enable_conhost
install
18407 wine_fn_config_program control enable_control
install
18408 wine_fn_config_program cscript enable_cscript clean
,install
18409 wine_fn_config_program dpnsvr enable_dpnsvr
install
18410 wine_fn_config_program dxdiag enable_dxdiag clean
,install
18411 wine_fn_config_program eject enable_eject
install
18412 wine_fn_config_program
expand enable_expand
install
18413 wine_fn_config_program explorer enable_explorer clean
,install
18414 wine_fn_config_program extrac32 enable_extrac32
install
18415 wine_fn_config_program findstr enable_findstr
install
18416 wine_fn_config_program fsutil enable_fsutil
install
18417 wine_fn_config_program hh enable_hh
install
18418 wine_fn_config_program hostname enable_hostname clean
,install
18419 wine_fn_config_program icacls enable_icacls
install
18420 wine_fn_config_program icinfo enable_icinfo
install
18421 wine_fn_config_program iexplore enable_iexplore
install
18422 wine_fn_config_program ipconfig enable_ipconfig clean
,install
18423 wine_fn_config_program lodctr enable_lodctr
install
18424 wine_fn_config_program mofcomp enable_mofcomp
install
18425 wine_fn_config_program mshta enable_mshta
install
18426 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18427 wine_fn_config_program msinfo32 enable_msinfo32
install
18428 wine_fn_config_program net enable_net clean
,install
18429 wine_fn_config_program netsh enable_netsh
install
18430 wine_fn_config_program netstat enable_netstat clean
,install
18431 wine_fn_config_program ngen enable_ngen
install
18432 wine_fn_config_program notepad enable_notepad clean
,install,installbin
,manpage
18433 wine_fn_config_program oleview enable_oleview clean
,install
18434 wine_fn_config_program
ping enable_ping
install
18435 wine_fn_config_program plugplay enable_plugplay
install
18436 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18437 wine_fn_config_program progman enable_progman clean
,install
18438 wine_fn_config_program reg enable_reg clean
,install
18439 wine_fn_config_test programs
/reg
/tests reg.exe_test
18440 wine_fn_config_program regasm enable_regasm
install
18441 wine_fn_config_program regedit enable_regedit clean
,install,installbin
,manpage
18442 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18443 wine_fn_config_program regsvcs enable_regsvcs
install
18444 wine_fn_config_program regsvr32 enable_regsvr32 clean
,install,installbin
,manpage
18445 wine_fn_config_program rpcss enable_rpcss clean
,install
18446 wine_fn_config_program rundll.exe16 enable_win16
install
18447 wine_fn_config_program rundll32 enable_rundll32
install
18448 wine_fn_config_program sc enable_sc
install
18449 wine_fn_config_program schtasks enable_schtasks
install
18450 wine_fn_config_program sdbinst enable_sdbinst
install
18451 wine_fn_config_program secedit enable_secedit
install
18452 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18453 wine_fn_config_program services enable_services clean
,install
18454 wine_fn_config_test programs
/services
/tests services.exe_test
18455 wine_fn_config_program shutdown enable_shutdown
install
18456 wine_fn_config_program spoolsv enable_spoolsv
install
18457 wine_fn_config_program start enable_start clean
,install
18458 wine_fn_config_program svchost enable_svchost
install
18459 wine_fn_config_program systeminfo enable_systeminfo
install
18460 wine_fn_config_program taskkill enable_taskkill clean
,install
18461 wine_fn_config_program tasklist enable_tasklist
install
18462 wine_fn_config_program taskmgr enable_taskmgr clean
,install
18463 wine_fn_config_program termsv enable_termsv
install
18464 wine_fn_config_program uninstaller enable_uninstaller clean
,install
18465 wine_fn_config_program unlodctr enable_unlodctr
install
18466 wine_fn_config_program view enable_view clean
,install
18467 wine_fn_config_program wevtutil enable_wevtutil
install
18468 wine_fn_config_program wineboot enable_wineboot clean
,install,installbin
,manpage
18469 wine_fn_config_program winebrowser enable_winebrowser
install
18470 wine_fn_config_program winecfg enable_winecfg clean
,install,installbin
,manpage
18471 wine_fn_config_program wineconsole enable_wineconsole clean
,install,installbin
,manpage
18472 wine_fn_config_program winedbg enable_winedbg clean
,install,installbin
,manpage
18473 wine_fn_config_program winedevice enable_winedevice
install
18474 wine_fn_config_program winefile enable_winefile clean
,install,installbin
,manpage
18475 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18476 wine_fn_config_program winemine enable_winemine clean
,install,installbin
,manpage
18477 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18478 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18479 wine_fn_config_program winetest enable_winetest clean
18480 wine_fn_config_program winevdm enable_win16
install
18481 wine_fn_config_program winhelp.exe16 enable_win16
install
18482 wine_fn_config_program winhlp32 enable_winhlp32 clean
,install
18483 wine_fn_config_program winoldap.mod16 enable_win16
install
18484 wine_fn_config_program winver enable_winver
install
18485 wine_fn_config_program wmic enable_wmic clean
,install
18486 wine_fn_config_program wmplayer enable_wmplayer
install
18487 wine_fn_config_program wordpad enable_wordpad clean
,install
18488 wine_fn_config_program
write enable_write clean
,install
18489 wine_fn_config_program wscript enable_wscript clean
,install
18490 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18491 wine_fn_config_program wusa enable_wusa
install
18492 wine_fn_config_program xcopy enable_xcopy clean
,install
18493 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18494 wine_fn_config_makefile server enable_server clean
,install-lib
18495 wine_fn_config_tool tools clean
18496 wine_fn_config_tool tools
/sfnt2fon clean
18497 wine_fn_config_tool tools
/widl clean
,install-dev
18498 wine_fn_config_tool tools
/winebuild clean
,install-dev
18499 wine_fn_config_tool tools
/winedump clean
,install-dev
18500 wine_fn_config_tool tools
/winegcc clean
,install-dev
18501 wine_fn_config_tool tools
/winemaker clean
,install-dev
18502 wine_fn_config_tool tools
/wmc clean
,install-dev
18503 wine_fn_config_tool tools
/wrc clean
,install-dev
18506 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
18507 wine_fn_append_file CONFIGURE_TARGETS
"tags"
18508 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
18509 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
18510 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
18511 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
18512 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
18513 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
18515 if test "x$enable_tools" != xno
18517 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
18518 ac_config_commands
="$ac_config_commands tools/makedep"
18522 ac_config_commands
="$ac_config_commands Makefile"
18525 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
18529 if test "x$enable_maintainer_mode" = xyes
18531 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18532 autoconf --warnings=all
18533 include/config.h.in: include/stamp-h.in
18534 include/stamp-h.in: configure.ac aclocal.m4
18535 autoheader --warnings=all
18536 @echo timestamp > \$@"
18539 if test "x$enable_tools" != xno
18541 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18542 @./config.status tools/makedep
18543 Makefile: tools/makedep$ac_exeext"
18545 wine_fn_append_rule
"\$(MAKEDEP):
18546 @echo \"You need to run make in $TOOLSDIR first\" && false"
18549 if test -n "$with_wine64"
18551 wine_fn_append_rule
"all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18553 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18554 $with_wine64/loader/wine:
18555 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18556 $with_wine64/loader/wine-preloader:
18557 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18559 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18561 WINELOADER_INSTALL
="wine.inf"
18563 wine_fn_append_rule
"install install-lib::
18564 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18566 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18568 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
18569 *) wine_fn_append_rule
"install install-lib::
18570 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18572 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18576 $as_echo " done" >&6
18577 cat >confcache
<<\_ACEOF
18578 # This file is a shell script that caches the results of configure
18579 # tests run on this system so they can be shared between configure
18580 # scripts and configure runs, see configure's option --config-cache.
18581 # It is not useful on other systems. If it contains results you don't
18582 # want to keep, you may remove or edit it.
18584 # config.status only pays attention to the cache file if you give it
18585 # the --recheck option to rerun configure.
18587 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18588 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18589 # following values.
18593 # The following way of writing the cache mishandles newlines in values,
18594 # but we know of no workaround that is simple, portable, and efficient.
18595 # So, we kill variables containing newlines.
18596 # Ultrix sh set writes to stderr and can't be redirected directly,
18597 # and sets the high bit in the cache file unless we assign to the vars.
18599 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18600 eval ac_val
=\$
$ac_var
18604 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18605 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18608 _ | IFS | as_nl
) ;; #(
18609 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18610 *) { eval $ac_var=; unset $ac_var;} ;;
18616 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18617 *${as_nl}ac_space
=\
*)
18618 # `set' does not quote correctly, so add quotes: double-quote
18619 # substitution turns \\\\ into \\, and sed turns \\ into \.
18622 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18625 # `set' quotes correctly as required by POSIX, so do not add quotes.
18626 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18635 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18637 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18639 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18640 if test -w "$cache_file"; then
18641 if test "x$cache_file" != "x/dev/null"; then
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18643 $as_echo "$as_me: updating cache $cache_file" >&6;}
18644 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18645 cat confcache
>"$cache_file"
18647 case $cache_file in #(
18649 mv -f confcache
"$cache_file"$$
&&
18650 mv -f "$cache_file"$$
"$cache_file" ;; #(
18652 mv -f confcache
"$cache_file" ;;
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18658 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18663 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18664 # Let make expand exec_prefix.
18665 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18667 DEFS
=-DHAVE_CONFIG_H
18672 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18673 # 1. Remove the extension, and $U if already installed.
18674 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18675 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18676 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18677 # will be set to the directory where LIBOBJS objects are built.
18678 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18679 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18681 LIBOBJS
=$ac_libobjs
18683 LTLIBOBJS
=$ac_ltlibobjs
18687 : "${CONFIG_STATUS=./config.status}"
18689 ac_clean_files_save
=$ac_clean_files
18690 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18692 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18694 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18696 # Generated by $as_me.
18697 # Run this file to recreate the current configuration.
18698 # Compiler output produced by configure, useful for debugging
18699 # configure, is in config.log if it exists.
18702 ac_cs_recheck=false
18705 SHELL=\${CONFIG_SHELL-$SHELL}
18708 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18709 ## -------------------- ##
18710 ## M4sh Initialization. ##
18711 ## -------------------- ##
18713 # Be more Bourne compatible
18714 DUALCASE
=1; export DUALCASE
# for MKS sh
18715 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18718 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18719 # is contrary to our usage. Disable this feature.
18720 alias -g '${1+"$@"}'='"$@"'
18721 setopt NO_GLOB_SUBST
18723 case `(set -o) 2>/dev/null` in #(
18735 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18736 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18737 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18738 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18739 # Prefer a ksh shell builtin over an external printf program on Solaris,
18740 # but without wasting forks for bash or zsh.
18741 if test -z "$BASH_VERSION$ZSH_VERSION" \
18742 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18743 as_echo='print
-r --'
18744 as_echo_n='print
-rn --'
18745 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18746 as_echo='printf %s
\n'
18747 as_echo_n='printf %s
'
18749 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18750 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18751 as_echo_n='/usr
/ucb
/echo -n'
18753 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18754 as_echo_n_body='eval
18758 expr "X$arg" : "X\\(.*\\)$as_nl";
18759 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18761 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18763 export as_echo_n_body
18764 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18766 export as_echo_body
18767 as_echo='sh
-c $as_echo_body as_echo
'
18770 # The user is always right.
18771 if test "${PATH_SEPARATOR+set}" != set; then
18773 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18774 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18781 # We need space, tab and new line, in precisely that order. Quoting is
18782 # there to prevent editors from complaining about space-tab.
18783 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18784 # splitting by setting IFS to empty value.)
18787 # Find who we are. Look in the path if we contain no directory separator.
18790 *[\\/]* ) as_myself=$0 ;;
18791 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18792 for as_dir in $PATH
18795 test -z "$as_dir" && as_dir=.
18796 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18802 # We did not find ourselves, most probably we were run as `sh COMMAND'
18803 # in which case we are not to be found in the path.
18804 if test "x$as_myself" = x
; then
18807 if test ! -f "$as_myself"; then
18808 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18812 # Unset variables that we do not need and which cause bugs (e.g. in
18813 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18814 # suppresses any "Segmentation fault" message there. '((' could
18815 # trigger a bug in pdksh 5.2.14.
18816 for as_var
in BASH_ENV ENV MAIL MAILPATH
18817 do eval test x\
${$as_var+set} = xset \
18818 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18831 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18834 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18835 # ----------------------------------------
18836 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18837 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18838 # script with STATUS, using 1 if that was 0.
18841 as_status
=$1; test $as_status -eq 0 && as_status
=1
18843 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18844 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18846 $as_echo "$as_me: error: $2" >&2
18847 as_fn_exit
$as_status
18851 # as_fn_set_status STATUS
18852 # -----------------------
18853 # Set $? to STATUS, without forking.
18854 as_fn_set_status
()
18857 } # as_fn_set_status
18859 # as_fn_exit STATUS
18860 # -----------------
18861 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18865 as_fn_set_status
$1
18871 # Portably unset VAR.
18874 { eval $1=; unset $1;}
18876 as_unset
=as_fn_unset
18877 # as_fn_append VAR VALUE
18878 # ----------------------
18879 # Append the text in VALUE to the end of the definition contained in VAR. Take
18880 # advantage of any shell optimizations that allow amortized linear growth over
18881 # repeated appends, instead of the typical quadratic growth present in naive
18883 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18884 eval 'as_fn_append ()
18895 # as_fn_arith ARG...
18896 # ------------------
18897 # Perform arithmetic evaluation on the ARGs, and store the result in the
18898 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18899 # must be portable across $(()) and expr.
18900 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18901 eval 'as_fn_arith ()
18908 as_val
=`expr "$@" || test $? -eq 1`
18913 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18914 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18920 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18921 as_basename
=basename
18926 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18932 as_me
=`$as_basename -- "$0" ||
18933 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18934 X"$0" : 'X\(//\)$' \| \
18935 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18937 sed '/^.*\/\([^/][^/]*\)\/*$/{
18951 # Avoid depending upon Character Ranges.
18952 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18953 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18954 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18955 as_cr_digits
='0123456789'
18956 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18958 ECHO_C
= ECHO_N
= ECHO_T
=
18959 case `echo -n x` in #(((((
18961 case `echo 'xy\c'` in
18962 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18964 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18971 rm -f conf$$ conf$$.exe conf$$.
file
18972 if test -d conf$$.dir
; then
18973 rm -f conf$$.dir
/conf$$.
file
18976 mkdir conf$$.dir
2>/dev
/null
18978 if (echo >conf$$.
file) 2>/dev
/null
; then
18979 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18981 # ... but there are two gotchas:
18982 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18983 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18984 # In both cases, we have to default to `cp -pR'.
18985 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18987 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18995 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18996 rmdir conf$$.dir
2>/dev
/null
19001 # Create "$as_dir" as a directory, including parents if necessary.
19006 -*) as_dir
=.
/$as_dir;;
19008 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19012 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19013 *) as_qdir
=$as_dir;;
19015 as_dirs
="'$as_qdir' $as_dirs"
19016 as_dir
=`$as_dirname -- "$as_dir" ||
19017 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19018 X"$as_dir" : 'X\(//\)[^/]' \| \
19019 X"$as_dir" : 'X\(//\)$' \| \
19020 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19021 $as_echo X"$as_dir" |
19022 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19026 /^X\(\/\/\)[^/].*/{
19039 test -d "$as_dir" && break
19041 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19042 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19046 if mkdir
-p .
2>/dev
/null
; then
19047 as_mkdir_p
='mkdir -p "$as_dir"'
19049 test -d .
/-p && rmdir .
/-p
19054 # as_fn_executable_p FILE
19055 # -----------------------
19056 # Test if FILE is an executable regular file.
19057 as_fn_executable_p
()
19059 test -f "$1" && test -x "$1"
19060 } # as_fn_executable_p
19061 as_test_x
='test -x'
19062 as_executable_p
=as_fn_executable_p
19064 # Sed expression to map a string onto a valid CPP name.
19065 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19067 # Sed expression to map a string onto a valid variable name.
19068 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19072 ## ----------------------------------- ##
19073 ## Main body of $CONFIG_STATUS script. ##
19074 ## ----------------------------------- ##
19076 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19079 # Save the log message, to keep $0 and so on meaningful, and to
19080 # report actual input values of CONFIG_FILES etc. instead of their
19081 # values after options handling.
19083 This file was extended by Wine $as_me 1.9.19, which was
19084 generated by GNU Autoconf 2.69. Invocation command line was
19086 CONFIG_FILES = $CONFIG_FILES
19087 CONFIG_HEADERS = $CONFIG_HEADERS
19088 CONFIG_LINKS = $CONFIG_LINKS
19089 CONFIG_COMMANDS = $CONFIG_COMMANDS
19092 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19097 case $ac_config_files in *"
19098 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19101 case $ac_config_headers in *"
19102 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19107 # Files that config.status was made for.
19108 config_files="$ac_config_files"
19109 config_headers="$ac_config_headers"
19110 config_links="$ac_config_links"
19111 config_commands="$ac_config_commands"
19115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19117 \`$as_me' instantiates files and other configuration actions
19118 from templates according to the current configuration. Unless the files
19119 and actions are specified as TAGs, all are instantiated by default.
19121 Usage: $0 [OPTION]... [TAG]...
19123 -h, --help print this help, then exit
19124 -V, --version print version number and configuration settings, then exit
19125 --config print configuration, then exit
19126 -q, --quiet, --silent
19127 do not print progress messages
19128 -d, --debug don't remove temporary files
19129 --recheck update $as_me by reconfiguring in the same conditions
19130 --file=FILE[:TEMPLATE]
19131 instantiate the configuration file FILE
19132 --header=FILE[:TEMPLATE]
19133 instantiate the configuration header FILE
19135 Configuration files:
19138 Configuration headers:
19141 Configuration links:
19144 Configuration commands:
19147 Report bugs to <wine-devel@winehq.org>.
19148 Wine home page: <http://www.winehq.org>."
19151 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19152 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19154 Wine config.status 1.9.19
19155 configured by $0, generated by GNU Autoconf 2.69,
19156 with options \\"\$ac_cs_config\\"
19158 Copyright (C) 2012 Free Software Foundation, Inc.
19159 This config.status script is free software; the Free Software Foundation
19160 gives unlimited permission to copy, distribute and modify it."
19164 test -n "\$AWK" || AWK=awk
19167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19168 # The default lists apply if the user does not specify any file.
19174 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19175 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19179 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19191 # Handling of the options.
19192 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19194 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19195 $as_echo "$ac_cs_version"; exit ;;
19196 --config |
--confi |
--conf |
--con |
--co |
--c )
19197 $as_echo "$ac_cs_config"; exit ;;
19198 --debug |
--debu |
--deb |
--de |
--d |
-d )
19200 --file |
--fil |
--fi |
--f )
19203 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19204 '') as_fn_error $?
"missing file argument" ;;
19206 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19207 ac_need_defaults
=false
;;
19208 --header |
--heade |
--head |
--hea )
19211 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19213 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19214 ac_need_defaults
=false
;;
19216 # Conflict between --help and --header
19217 as_fn_error $?
"ambiguous option: \`$1'
19218 Try \`$0 --help' for more information.";;
19219 --help |
--hel |
-h )
19220 $as_echo "$ac_cs_usage"; exit ;;
19221 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19222 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19225 # This is an error.
19226 -*) as_fn_error $?
"unrecognized option: \`$1'
19227 Try \`$0 --help' for more information." ;;
19229 *) as_fn_append ac_config_targets
" $1"
19230 ac_need_defaults
=false
;;
19236 ac_configure_extra_args
=
19238 if $ac_cs_silent; then
19240 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19245 if \$ac_cs_recheck; then
19246 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19248 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19249 CONFIG_SHELL='$SHELL'
19250 export CONFIG_SHELL
19255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19259 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19260 ## Running $as_me. ##
19266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19270 wine_fn_output_makedep ()
19272 as_dir=tools; as_fn_mkdir_p
19273 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19275 wine_fn_output_makefile ()
19277 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19278 `cat $wine_rules_file`
19280 as_fn_error $? "could not create Makefile" "$LINENO" 5
19285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19287 # Handling of arguments.
19288 for ac_config_target
in $ac_config_targets
19290 case $ac_config_target in
19291 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19292 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
19293 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19294 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19295 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19296 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19297 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19298 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19299 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
19300 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19301 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
19302 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
19303 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19305 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19310 # If the user did not use the arguments to specify the items to instantiate,
19311 # then the envvar interface is used. Set only those that are not.
19312 # We use the long form for the default assignment because of an extremely
19313 # bizarre bug on SunOS 4.1.3.
19314 if $ac_need_defaults; then
19315 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19316 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19317 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19318 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19321 # Have a temporary directory for convenience. Make it in the build tree
19322 # simply because there is no reason against having it here, and in addition,
19323 # creating and moving files from /tmp can sometimes cause problems.
19324 # Hook for its removal unless debugging.
19325 # Note that there is a small window in which the directory will not be cleaned:
19326 # after its creation but before its name has been assigned to `$tmp'.
19330 trap 'exit_status=$?
19331 : "${ac_tmp:=$tmp}"
19332 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19334 trap 'as_fn_exit 1' 1 2 13 15
19336 # Create a (secure) tmp directory for tmp files.
19339 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19343 tmp
=.
/conf$$
-$RANDOM
19344 (umask 077 && mkdir
"$tmp")
19345 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19348 # Set up the scripts for CONFIG_FILES section.
19349 # No need to generate them if there are no CONFIG_FILES.
19350 # This happens for instance with `./config.status config.h'.
19351 if test -n "$CONFIG_FILES"; then
19354 ac_cr
=`echo X | tr X '\015'`
19355 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19356 # But we know of no other shell where ac_cr would be empty at this
19357 # point, so we can use a bashism as a fallback.
19358 if test "x$ac_cr" = x
; then
19359 eval ac_cr
=\$
\'\\r
\'
19361 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19362 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19365 ac_cs_awk_cr
=$ac_cr
19368 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19373 echo "cat >conf$$subs.awk <<_ACEOF" &&
19374 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19376 } >conf$$subs.sh ||
19377 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19378 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19380 for ac_last_try in false false false false false :; do
19381 . ./conf$$subs.sh ||
19382 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19384 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19385 if test $ac_delim_n = $ac_delim_num; then
19387 elif $ac_last_try; then
19388 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19390 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19393 rm -f conf$$subs.sh
19395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19396 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19400 s/^/S["/; s
/!.
*/"]=/
19410 s/\(.\{148\}\)..*/\1/
19412 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19417 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19424 s/\(.\{148\}\)..*/\1/
19426 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19430 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19435 ' <conf$$subs.awk | sed '
19440 ' >>$CONFIG_STATUS || ac_write_fail=1
19441 rm -f conf$$subs.awk
19442 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19444 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19445 for (key in S) S_is_set[key] = 1
19451 nfields = split(line, field, "@
")
19453 len = length(field[1])
19454 for (i = 2; i < nfields; i++) {
19456 keylen = length(key)
19457 if (S_is_set[key]) {
19459 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19460 len += length(value) + length(field[++i])
19471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19472 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19473 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19476 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19477 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19480 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19481 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19482 # trailing colons and then remove the whole line if VPATH becomes empty
19483 # (actually we leave an empty line to preserve line numbers).
19484 if test "x
$srcdir" = x.; then
19485 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19504 fi # test -n "$CONFIG_FILES"
19506 # Set up the scripts for CONFIG_HEADERS section.
19507 # No need to generate them if there are no CONFIG_HEADERS.
19508 # This happens for instance with `./config.status Makefile'.
19509 if test -n "$CONFIG_HEADERS"; then
19510 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19514 # Transform confdefs.h into an awk script `defines.awk', embedded as
19515 # here-document in config.status, that substitutes the proper values into
19516 # config.h.in to produce config.h.
19518 # Create a delimiter string that does not exist in confdefs.h, to ease
19519 # handling of long lines.
19521 for ac_last_try in false false :; do
19522 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19523 if test -z "$ac_tt"; then
19525 elif $ac_last_try; then
19526 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19528 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19532 # For the awk script, D is an array of macro values keyed by name,
19533 # likewise P contains macro parameters if any. Preserve backslash
19534 # newline sequences.
19536 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19538 s/.\{148\}/&'"$ac_delim"'/g
19541 s/^[ ]*#[ ]*define[ ][ ]*/ /
19548 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19550 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19554 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19555 D["\
1"]=" \
3\\\\\\n
"\\/p
19557 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19562 s/.\{148\}/&'"$ac_delim"'/g
19567 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19570 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19572 ' <confdefs.h | sed '
19573 s/'"$ac_delim"'/"\\\
19574 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19577 for (key in D) D_is_set[key] = 1
19580 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19582 split(line, arg, " ")
19583 if (arg[1] == "#") {
19587 defundef
= substr
(arg
[1], 2)
19590 split(mac1
, mac2
, "(") #)
19592 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19593 if (D_is_set
[macro
]) {
19594 # Preserve the white space surrounding the "#".
19595 print prefix
"define", macro P
[macro
] D
[macro
]
19598 # Replace #undef with comments. This is necessary, for example,
19599 # in the case of _POSIX_SOURCE, which is predefined and required
19600 # on some systems where configure will not decide to define it.
19601 if (defundef
== "undef") {
19602 print
"/*", prefix defundef
, macro
, "*/"
19610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19611 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19612 fi # test -n "$CONFIG_HEADERS"
19615 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19620 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19622 case $ac_mode$ac_tag in
19624 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19625 :[FH
]-) ac_tag
=-:-;;
19626 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19643 -) ac_f
="$ac_tmp/stdin";;
19644 *) # Look for the file first in the build tree, then in the source tree
19645 # (if the path is not absolute). The absolute path cannot be DOS-style,
19646 # because $ac_f cannot contain `:'.
19650 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19652 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19654 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19655 as_fn_append ac_file_inputs
" '$ac_f'"
19658 # Let's still pretend it is `configure' which instantiates (i.e., don't
19659 # use $as_me), people would be surprised to read:
19660 # /* config.h. Generated by config.status. */
19661 configure_input
='Generated from '`
19662 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19664 if test x
"$ac_file" != x-
; then
19665 configure_input
="$ac_file. $configure_input"
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19667 $as_echo "$as_me: creating $ac_file" >&6;}
19669 # Neutralize special characters interpreted by sed in replacement strings.
19670 case $configure_input in #(
19671 *\
&* |
*\|
* |
*\\* )
19672 ac_sed_conf_input
=`$as_echo "$configure_input" |
19673 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19674 *) ac_sed_conf_input
=$configure_input;;
19678 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19679 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19684 ac_dir
=`$as_dirname -- "$ac_file" ||
19685 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19686 X"$ac_file" : 'X\(//\)[^/]' \| \
19687 X"$ac_file" : 'X\(//\)$' \| \
19688 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19689 $as_echo X"$ac_file" |
19690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19694 /^X\(\/\/\)[^/].*/{
19707 as_dir
="$ac_dir"; as_fn_mkdir_p
19711 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19713 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19714 # A ".." for each directory in $ac_dir_suffix.
19715 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19716 case $ac_top_builddir_sub in
19717 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19718 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19721 ac_abs_top_builddir
=$ac_pwd
19722 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19723 # for backward compatibility:
19724 ac_top_builddir
=$ac_top_build_prefix
19727 .
) # We are building in place.
19729 ac_top_srcdir
=$ac_top_builddir_sub
19730 ac_abs_top_srcdir
=$ac_pwd ;;
19731 [\\/]* | ?
:[\\/]* ) # Absolute name.
19732 ac_srcdir
=$srcdir$ac_dir_suffix;
19733 ac_top_srcdir
=$srcdir
19734 ac_abs_top_srcdir
=$srcdir ;;
19735 *) # Relative name.
19736 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19737 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19738 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19740 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19752 # If the template does not know about datarootdir, expand it.
19753 # FIXME: This hack should be removed a few years after 2.60.
19754 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19765 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19766 *datarootdir
*) ac_datarootdir_seen
=yes;;
19767 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19769 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19771 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19772 ac_datarootdir_hack='
19773 s&@datadir@&$datadir&g
19774 s&@docdir@&$docdir&g
19775 s&@infodir@&$infodir&g
19776 s&@localedir@&$localedir&g
19777 s&@mandir@&$mandir&g
19778 s&\\\${datarootdir}&$datarootdir&g' ;;
19782 # Neutralize VPATH when `$srcdir' = `.'.
19783 # Shell code in configure.ac might set extrasub.
19784 # FIXME: do we really want to maintain this feature?
19785 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19786 ac_sed_extra="$ac_vpsub
19789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19791 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19792 s|@configure_input@|
$ac_sed_conf_input|
;t t
19793 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19794 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19795 s
&@srcdir@
&$ac_srcdir&;t t
19796 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19797 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19798 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19799 s
&@builddir@
&$ac_builddir&;t t
19800 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19801 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19802 $ac_datarootdir_hack
19804 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19805 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19807 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19808 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19809 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19810 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19812 which seems to be undefined. Please make sure it is defined" >&5
19813 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19814 which seems to be undefined. Please make sure it is defined" >&2;}
19816 rm -f "$ac_tmp/stdin"
19818 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19819 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19821 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19827 if test x"$ac_file" != x-; then
19829 $as_echo "/* $configure_input */" \
19830 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19831 } >"$ac_tmp/config.h" \
19832 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19833 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19834 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19835 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19838 mv "$ac_tmp/config.h" "$ac_file" \
19839 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19842 $as_echo "/* $configure_input */" \
19843 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19844 || as_fn_error $? "could not create -" "$LINENO" 5
19852 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19855 # Prefer the file from the source tree if names are identical.
19856 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19857 ac_source=$srcdir/$ac_source
19860 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19861 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19863 if test ! -r "$ac_source"; then
19864 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19868 # Try a relative symlink, then a hard link, then a copy.
19870 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19871 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19873 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19874 ln "$ac_source" "$ac_file" 2>/dev/null ||
19875 cp -p "$ac_source" "$ac_file" ||
19876 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19879 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19880 $as_echo "$as_me: executing $ac_file commands" >&6;}
19885 case $ac_file$ac_mode in
19886 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19887 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19888 "Makefile":C) wine_fn_output_makefile Makefile ;;
19896 ac_clean_files=$ac_clean_files_save
19898 test $ac_write_fail = 0 ||
19899 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19902 # configure is writing to config.log, and then calls config.status.
19903 # config.status does its own redirection, appending to config.log.
19904 # Unfortunately, on DOS this fails, as config.log is still kept open
19905 # by configure, so config.status won't be able to
write to it
; its
19906 # output is simply discarded. So we exec the FD to /dev/null,
19907 # effectively closing config.log, so it can be properly (re)opened and
19908 # appended to by config.status. When coming back to configure, we
19909 # need to make the FD available again.
19910 if test "$no_create" != yes; then
19912 ac_config_status_args
=
19913 test "$silent" = yes &&
19914 ac_config_status_args
="$ac_config_status_args --quiet"
19916 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19918 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19919 # would make configure fail if this is the last instruction.
19920 $ac_cs_success || as_fn_exit
1
19922 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19924 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19928 if test "$no_create" = "yes"
19934 if test "x$wine_notices" != x
; then
19937 for msg
in $wine_notices; do
19939 if ${msg:+false} :; then :
19942 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19943 $as_echo "$as_me: $msg" >&6;}
19948 for msg
in $wine_warnings; do
19950 if ${msg:+false} :; then :
19954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19955 $as_echo "$as_me: WARNING: $msg" >&2;}
19961 $as_me: Finished. Do '${ac_make}' to compile Wine.