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_appcompat_l1_1_1
879 enable_api_ms_win_core_appinit_l1_1_0
880 enable_api_ms_win_core_atoms_l1_1_0
881 enable_api_ms_win_core_bem_l1_1_0
882 enable_api_ms_win_core_com_l1_1_0
883 enable_api_ms_win_core_com_l1_1_1
884 enable_api_ms_win_core_console_l1_1_0
885 enable_api_ms_win_core_console_l2_1_0
886 enable_api_ms_win_core_datetime_l1_1_0
887 enable_api_ms_win_core_datetime_l1_1_1
888 enable_api_ms_win_core_debug_l1_1_0
889 enable_api_ms_win_core_debug_l1_1_1
890 enable_api_ms_win_core_delayload_l1_1_0
891 enable_api_ms_win_core_delayload_l1_1_1
892 enable_api_ms_win_core_errorhandling_l1_1_0
893 enable_api_ms_win_core_errorhandling_l1_1_1
894 enable_api_ms_win_core_errorhandling_l1_1_2
895 enable_api_ms_win_core_fibers_l1_1_0
896 enable_api_ms_win_core_fibers_l1_1_1
897 enable_api_ms_win_core_file_l1_1_0
898 enable_api_ms_win_core_file_l1_2_0
899 enable_api_ms_win_core_file_l1_2_1
900 enable_api_ms_win_core_file_l2_1_0
901 enable_api_ms_win_core_file_l2_1_1
902 enable_api_ms_win_core_handle_l1_1_0
903 enable_api_ms_win_core_heap_l1_1_0
904 enable_api_ms_win_core_heap_l1_2_0
905 enable_api_ms_win_core_heap_obsolete_l1_1_0
906 enable_api_ms_win_core_interlocked_l1_1_0
907 enable_api_ms_win_core_interlocked_l1_2_0
908 enable_api_ms_win_core_io_l1_1_0
909 enable_api_ms_win_core_io_l1_1_1
910 enable_api_ms_win_core_job_l1_1_0
911 enable_api_ms_win_core_job_l2_1_0
912 enable_api_ms_win_core_kernel32_legacy_l1_1_0
913 enable_api_ms_win_core_kernel32_legacy_l1_1_1
914 enable_api_ms_win_core_kernel32_private_l1_1_1
915 enable_api_ms_win_core_libraryloader_l1_1_0
916 enable_api_ms_win_core_libraryloader_l1_1_1
917 enable_api_ms_win_core_libraryloader_l1_2_0
918 enable_api_ms_win_core_libraryloader_l1_2_2
919 enable_api_ms_win_core_localization_l1_1_0
920 enable_api_ms_win_core_localization_l1_2_0
921 enable_api_ms_win_core_localization_l1_2_1
922 enable_api_ms_win_core_localization_l2_1_0
923 enable_api_ms_win_core_localization_obsolete_l1_1_0
924 enable_api_ms_win_core_localization_obsolete_l1_2_0
925 enable_api_ms_win_core_localization_private_l1_1_0
926 enable_api_ms_win_core_localregistry_l1_1_0
927 enable_api_ms_win_core_memory_l1_1_0
928 enable_api_ms_win_core_memory_l1_1_1
929 enable_api_ms_win_core_memory_l1_1_2
930 enable_api_ms_win_core_misc_l1_1_0
931 enable_api_ms_win_core_namedpipe_l1_1_0
932 enable_api_ms_win_core_namedpipe_l1_2_0
933 enable_api_ms_win_core_namespace_l1_1_0
934 enable_api_ms_win_core_normalization_l1_1_0
935 enable_api_ms_win_core_path_l1_1_0
936 enable_api_ms_win_core_privateprofile_l1_1_1
937 enable_api_ms_win_core_processenvironment_l1_1_0
938 enable_api_ms_win_core_processenvironment_l1_2_0
939 enable_api_ms_win_core_processthreads_l1_1_0
940 enable_api_ms_win_core_processthreads_l1_1_1
941 enable_api_ms_win_core_processthreads_l1_1_2
942 enable_api_ms_win_core_profile_l1_1_0
943 enable_api_ms_win_core_psapi_l1_1_0
944 enable_api_ms_win_core_realtime_l1_1_0
945 enable_api_ms_win_core_registry_l1_1_0
946 enable_api_ms_win_core_registryuserspecific_l1_1_0
947 enable_api_ms_win_core_rtlsupport_l1_1_0
948 enable_api_ms_win_core_rtlsupport_l1_2_0
949 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
950 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
951 enable_api_ms_win_core_sidebyside_l1_1_0
952 enable_api_ms_win_core_string_l1_1_0
953 enable_api_ms_win_core_string_l2_1_0
954 enable_api_ms_win_core_string_obsolete_l1_1_0
955 enable_api_ms_win_core_stringansi_l1_1_0
956 enable_api_ms_win_core_synch_l1_1_0
957 enable_api_ms_win_core_synch_l1_2_0
958 enable_api_ms_win_core_sysinfo_l1_1_0
959 enable_api_ms_win_core_sysinfo_l1_2_0
960 enable_api_ms_win_core_sysinfo_l1_2_1
961 enable_api_ms_win_core_threadpool_l1_1_0
962 enable_api_ms_win_core_threadpool_l1_2_0
963 enable_api_ms_win_core_threadpool_legacy_l1_1_0
964 enable_api_ms_win_core_timezone_l1_1_0
965 enable_api_ms_win_core_toolhelp_l1_1_0
966 enable_api_ms_win_core_url_l1_1_0
967 enable_api_ms_win_core_util_l1_1_0
968 enable_api_ms_win_core_version_l1_1_0
969 enable_api_ms_win_core_version_private_l1_1_0
970 enable_api_ms_win_core_versionansi_l1_1_0
971 enable_api_ms_win_core_windowserrorreporting_l1_1_0
972 enable_api_ms_win_core_winrt_error_l1_1_0
973 enable_api_ms_win_core_winrt_error_l1_1_1
974 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
975 enable_api_ms_win_core_winrt_l1_1_0
976 enable_api_ms_win_core_winrt_registration_l1_1_0
977 enable_api_ms_win_core_winrt_string_l1_1_0
978 enable_api_ms_win_core_wow64_l1_1_0
979 enable_api_ms_win_core_xstate_l1_1_0
980 enable_api_ms_win_core_xstate_l2_1_0
981 enable_api_ms_win_crt_conio_l1_1_0
982 enable_api_ms_win_crt_convert_l1_1_0
983 enable_api_ms_win_crt_environment_l1_1_0
984 enable_api_ms_win_crt_filesystem_l1_1_0
985 enable_api_ms_win_crt_heap_l1_1_0
986 enable_api_ms_win_crt_locale_l1_1_0
987 enable_api_ms_win_crt_math_l1_1_0
988 enable_api_ms_win_crt_multibyte_l1_1_0
989 enable_api_ms_win_crt_private_l1_1_0
990 enable_api_ms_win_crt_process_l1_1_0
991 enable_api_ms_win_crt_runtime_l1_1_0
992 enable_api_ms_win_crt_stdio_l1_1_0
993 enable_api_ms_win_crt_string_l1_1_0
994 enable_api_ms_win_crt_time_l1_1_0
995 enable_api_ms_win_crt_utility_l1_1_0
996 enable_api_ms_win_downlevel_advapi32_l1_1_0
997 enable_api_ms_win_downlevel_advapi32_l2_1_0
998 enable_api_ms_win_downlevel_normaliz_l1_1_0
999 enable_api_ms_win_downlevel_ole32_l1_1_0
1000 enable_api_ms_win_downlevel_shell32_l1_1_0
1001 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1002 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1003 enable_api_ms_win_downlevel_user32_l1_1_0
1004 enable_api_ms_win_downlevel_version_l1_1_0
1005 enable_api_ms_win_eventing_classicprovider_l1_1_0
1006 enable_api_ms_win_eventing_consumer_l1_1_0
1007 enable_api_ms_win_eventing_controller_l1_1_0
1008 enable_api_ms_win_eventing_provider_l1_1_0
1009 enable_api_ms_win_eventlog_legacy_l1_1_0
1010 enable_api_ms_win_ntuser_dc_access_l1_1_0
1011 enable_api_ms_win_security_audit_l1_1_1
1012 enable_api_ms_win_security_base_l1_1_0
1013 enable_api_ms_win_security_base_l1_2_0
1014 enable_api_ms_win_security_base_private_l1_1_1
1015 enable_api_ms_win_security_lsalookup_l1_1_0
1016 enable_api_ms_win_security_lsalookup_l1_1_1
1017 enable_api_ms_win_security_sddl_l1_1_0
1018 enable_api_ms_win_service_core_l1_1_0
1019 enable_api_ms_win_service_core_l1_1_1
1020 enable_api_ms_win_service_management_l1_1_0
1021 enable_api_ms_win_service_management_l2_1_0
1022 enable_api_ms_win_service_private_l1_1_1
1023 enable_api_ms_win_service_winsvc_l1_1_0
1024 enable_api_ms_win_service_winsvc_l1_2_0
1025 enable_api_ms_win_shell_shellcom_l1_1_0
1026 enable_api_ms_win_shell_shellfolders_l1_1_0
1039 enable_bluetoothapis
1072 enable_d3dcompiler_33
1073 enable_d3dcompiler_34
1074 enable_d3dcompiler_35
1075 enable_d3dcompiler_36
1076 enable_d3dcompiler_37
1077 enable_d3dcompiler_38
1078 enable_d3dcompiler_39
1079 enable_d3dcompiler_40
1080 enable_d3dcompiler_41
1081 enable_d3dcompiler_42
1082 enable_d3dcompiler_43
1083 enable_d3dcompiler_46
1084 enable_d3dcompiler_47
1162 enable_explorerframe
1163 enable_ext_ms_win_gdi_devcaps_l1_1_0
1330 enable_photometadatahandler
1420 enable_windowscodecs
1421 enable_windowscodecsext
1424 enable_winecoreaudio_drv
1426 enable_winegstreamer
1427 enable_winejoystick_drv
1433 enable_winepulse_drv
1434 enable_wineqtdecoder
1503 enable_aspnet_regiis
1539 enable_presentationfontcache
1552 enable_servicemodelreg
1574 enable_winemenubuilder
1576 enable_winemsibuilder
1591 ac_precious_vars
='build_alias
1646 # Initialize some variables set by options.
1648 ac_init_version
=false
1649 ac_unrecognized_opts
=
1650 ac_unrecognized_sep
=
1651 # The variables have the same names as the options, with
1652 # dashes changed to underlines.
1653 cache_file
=/dev
/null
1660 program_transform_name
=s
,x
,x
,
1668 # Installation directory options.
1669 # These are left unexpanded so users can "make install exec_prefix=/foo"
1670 # and all the variables that are supposed to be based on exec_prefix
1671 # by default will actually change.
1672 # Use braces instead of parens because sh, perl, etc. also accept them.
1673 # (The list follows the same order as the GNU Coding Standards.)
1674 bindir
='${exec_prefix}/bin'
1675 sbindir
='${exec_prefix}/sbin'
1676 libexecdir
='${exec_prefix}/libexec'
1677 datarootdir
='${prefix}/share'
1678 datadir
='${datarootdir}'
1679 sysconfdir
='${prefix}/etc'
1680 sharedstatedir
='${prefix}/com'
1681 localstatedir
='${prefix}/var'
1682 runstatedir
='${localstatedir}/run'
1683 includedir
='${prefix}/include'
1684 oldincludedir
='/usr/include'
1685 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1686 infodir
='${datarootdir}/info'
1691 libdir
='${exec_prefix}/lib'
1692 localedir
='${datarootdir}/locale'
1693 mandir
='${datarootdir}/man'
1699 # If the previous option needs an argument, assign it.
1700 if test -n "$ac_prev"; then
1701 eval $ac_prev=\
$ac_option
1707 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1712 # Accept the important Cygnus configure options, so we can diagnose typos.
1714 case $ac_dashdash$ac_option in
1718 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1720 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1721 bindir
=$ac_optarg ;;
1723 -build |
--build |
--buil |
--bui |
--bu)
1724 ac_prev
=build_alias
;;
1725 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1726 build_alias
=$ac_optarg ;;
1728 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1729 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1730 ac_prev
=cache_file
;;
1731 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1732 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1733 cache_file
=$ac_optarg ;;
1735 --config-cache |
-C)
1736 cache_file
=config.cache
;;
1738 -datadir |
--datadir |
--datadi |
--datad)
1740 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1741 datadir
=$ac_optarg ;;
1743 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1744 |
--dataroo |
--dataro |
--datar)
1745 ac_prev
=datarootdir
;;
1746 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1747 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1748 datarootdir
=$ac_optarg ;;
1750 -disable-* |
--disable-*)
1751 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1752 # Reject names that are not valid shell variable names.
1753 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1754 as_fn_error $?
"invalid feature name: $ac_useropt"
1755 ac_useropt_orig
=$ac_useropt
1756 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1757 case $ac_user_opts in
1759 "enable_
$ac_useropt"
1761 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1762 ac_unrecognized_sep
=', ';;
1764 eval enable_
$ac_useropt=no
;;
1766 -docdir |
--docdir |
--docdi |
--doc |
--do)
1768 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1769 docdir
=$ac_optarg ;;
1771 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1773 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1774 dvidir
=$ac_optarg ;;
1776 -enable-* |
--enable-*)
1777 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1778 # Reject names that are not valid shell variable names.
1779 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1780 as_fn_error $?
"invalid feature name: $ac_useropt"
1781 ac_useropt_orig
=$ac_useropt
1782 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1783 case $ac_user_opts in
1785 "enable_
$ac_useropt"
1787 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1788 ac_unrecognized_sep
=', ';;
1790 eval enable_
$ac_useropt=\
$ac_optarg ;;
1792 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1793 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1794 |
--exec |
--exe |
--ex)
1795 ac_prev
=exec_prefix
;;
1796 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1797 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1798 |
--exec=* |
--exe=* |
--ex=*)
1799 exec_prefix
=$ac_optarg ;;
1801 -gas |
--gas |
--ga |
--g)
1802 # Obsolete; use --with-gas.
1805 -help |
--help |
--hel |
--he |
-h)
1806 ac_init_help
=long
;;
1807 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1808 ac_init_help
=recursive
;;
1809 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1810 ac_init_help
=short
;;
1812 -host |
--host |
--hos |
--ho)
1813 ac_prev
=host_alias
;;
1814 -host=* |
--host=* |
--hos=* |
--ho=*)
1815 host_alias
=$ac_optarg ;;
1817 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1819 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1821 htmldir
=$ac_optarg ;;
1823 -includedir |
--includedir |
--includedi |
--included |
--include \
1824 |
--includ |
--inclu |
--incl |
--inc)
1825 ac_prev
=includedir
;;
1826 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1827 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1828 includedir
=$ac_optarg ;;
1830 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1832 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1833 infodir
=$ac_optarg ;;
1835 -libdir |
--libdir |
--libdi |
--libd)
1837 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1838 libdir
=$ac_optarg ;;
1840 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1841 |
--libexe |
--libex |
--libe)
1842 ac_prev
=libexecdir
;;
1843 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1844 |
--libexe=* |
--libex=* |
--libe=*)
1845 libexecdir
=$ac_optarg ;;
1847 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1848 ac_prev
=localedir
;;
1849 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1850 localedir
=$ac_optarg ;;
1852 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1853 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1854 ac_prev
=localstatedir
;;
1855 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1856 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1857 localstatedir
=$ac_optarg ;;
1859 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1861 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1862 mandir
=$ac_optarg ;;
1864 -nfp |
--nfp |
--nf)
1865 # Obsolete; use --without-fp.
1868 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1869 |
--no-cr |
--no-c |
-n)
1872 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1873 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1876 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1877 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1878 |
--oldin |
--oldi |
--old |
--ol |
--o)
1879 ac_prev
=oldincludedir
;;
1880 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1881 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1882 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1883 oldincludedir
=$ac_optarg ;;
1885 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1887 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1888 prefix
=$ac_optarg ;;
1890 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1891 |
--program-pre |
--program-pr |
--program-p)
1892 ac_prev
=program_prefix
;;
1893 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1894 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1895 program_prefix
=$ac_optarg ;;
1897 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1898 |
--program-suf |
--program-su |
--program-s)
1899 ac_prev
=program_suffix
;;
1900 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1901 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1902 program_suffix
=$ac_optarg ;;
1904 -program-transform-name |
--program-transform-name \
1905 |
--program-transform-nam |
--program-transform-na \
1906 |
--program-transform-n |
--program-transform- \
1907 |
--program-transform |
--program-transfor \
1908 |
--program-transfo |
--program-transf \
1909 |
--program-trans |
--program-tran \
1910 |
--progr-tra |
--program-tr |
--program-t)
1911 ac_prev
=program_transform_name
;;
1912 -program-transform-name=* |
--program-transform-name=* \
1913 |
--program-transform-nam=* |
--program-transform-na=* \
1914 |
--program-transform-n=* |
--program-transform-=* \
1915 |
--program-transform=* |
--program-transfor=* \
1916 |
--program-transfo=* |
--program-transf=* \
1917 |
--program-trans=* |
--program-tran=* \
1918 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1919 program_transform_name
=$ac_optarg ;;
1921 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1923 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1924 pdfdir
=$ac_optarg ;;
1926 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1928 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1931 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1932 |
-silent |
--silent |
--silen |
--sile |
--sil)
1935 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1936 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1937 |
--run |
--ru |
--r)
1938 ac_prev
=runstatedir
;;
1939 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1940 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1941 |
--run=* |
--ru=* |
--r=*)
1942 runstatedir
=$ac_optarg ;;
1944 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1946 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1948 sbindir
=$ac_optarg ;;
1950 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1951 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1952 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1954 ac_prev
=sharedstatedir
;;
1955 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1956 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1957 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1959 sharedstatedir
=$ac_optarg ;;
1961 -site |
--site |
--sit)
1963 -site=* |
--site=* |
--sit=*)
1966 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1968 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1969 srcdir
=$ac_optarg ;;
1971 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1972 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1973 ac_prev
=sysconfdir
;;
1974 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1975 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1976 sysconfdir
=$ac_optarg ;;
1978 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1979 ac_prev
=target_alias
;;
1980 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1981 target_alias
=$ac_optarg ;;
1983 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1986 -version |
--version |
--versio |
--versi |
--vers |
-V)
1987 ac_init_version
=: ;;
1990 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1991 # Reject names that are not valid shell variable names.
1992 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1993 as_fn_error $?
"invalid package name: $ac_useropt"
1994 ac_useropt_orig
=$ac_useropt
1995 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1996 case $ac_user_opts in
2000 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2001 ac_unrecognized_sep
=', ';;
2003 eval with_
$ac_useropt=\
$ac_optarg ;;
2005 -without-* |
--without-*)
2006 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2007 # Reject names that are not valid shell variable names.
2008 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2009 as_fn_error $?
"invalid package name: $ac_useropt"
2010 ac_useropt_orig
=$ac_useropt
2011 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2012 case $ac_user_opts in
2016 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2017 ac_unrecognized_sep
=', ';;
2019 eval with_
$ac_useropt=no
;;
2022 # Obsolete; use --with-x.
2025 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2026 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2027 ac_prev
=x_includes
;;
2028 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2029 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2030 x_includes
=$ac_optarg ;;
2032 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2033 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2034 ac_prev
=x_libraries
;;
2035 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2036 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2037 x_libraries
=$ac_optarg ;;
2039 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2040 Try \`$0 --help' for more information"
2044 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2045 # Reject names that are not valid shell variable names.
2046 case $ac_envvar in #(
2047 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2048 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2050 eval $ac_envvar=\
$ac_optarg
2051 export $ac_envvar ;;
2054 # FIXME: should be removed in autoconf 3.0.
2055 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2056 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2057 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2058 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2064 if test -n "$ac_prev"; then
2065 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2066 as_fn_error $?
"missing argument to $ac_option"
2069 if test -n "$ac_unrecognized_opts"; then
2070 case $enable_option_checking in
2072 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2073 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2077 # Check all directory arguments for consistency.
2078 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2079 datadir sysconfdir sharedstatedir localstatedir includedir \
2080 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2081 libdir localedir mandir runstatedir
2083 eval ac_val
=\$
$ac_var
2084 # Remove trailing slashes.
2087 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2088 eval $ac_var=\
$ac_val;;
2090 # Be sure to have absolute directory names.
2092 [\\/$
]* | ?
:[\\/]* ) continue;;
2093 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2095 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2098 # There might be people who depend on the old broken behavior: `$host'
2099 # used to hold the argument of --host etc.
2100 # FIXME: To remove some day.
2103 target
=$target_alias
2105 # FIXME: To remove some day.
2106 if test "x$host_alias" != x
; then
2107 if test "x$build_alias" = x
; then
2108 cross_compiling
=maybe
2109 elif test "x$build_alias" != "x$host_alias"; then
2115 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2117 test "$silent" = yes && exec 6>/dev
/null
2120 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2121 ac_ls_di
=`ls -di .` &&
2122 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2123 as_fn_error $?
"working directory cannot be determined"
2124 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2125 as_fn_error $?
"pwd does not report name of working directory"
2128 # Find the source files, if location was not specified.
2129 if test -z "$srcdir"; then
2130 ac_srcdir_defaulted
=yes
2131 # Try the directory containing this script, then the parent directory.
2132 ac_confdir
=`$as_dirname -- "$as_myself" ||
2133 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2134 X"$as_myself" : 'X\(//\)[^/]' \| \
2135 X"$as_myself" : 'X\(//\)$' \| \
2136 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2137 $as_echo X"$as_myself" |
2138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2156 if test ! -r "$srcdir/$ac_unique_file"; then
2160 ac_srcdir_defaulted
=no
2162 if test ! -r "$srcdir/$ac_unique_file"; then
2163 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2164 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2166 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2168 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2170 # When building in place, set srcdir=.
2171 if test "$ac_abs_confdir" = "$ac_pwd"; then
2174 # Remove unnecessary trailing slashes from srcdir.
2175 # Double slashes in file names in object file debugging info
2176 # mess up M-x gdb in Emacs.
2178 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2180 for ac_var
in $ac_precious_vars; do
2181 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2182 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2183 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2184 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2188 # Report the --help message.
2190 if test "$ac_init_help" = "long"; then
2191 # Omit some internal or obsolete options to make the list less imposing.
2192 # This message is too long to be a string in the A/UX 3.1 sh.
2194 \`configure' configures Wine 1.9.19 to adapt to many kinds of systems.
2196 Usage: $0 [OPTION]... [VAR=VALUE]...
2198 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2199 VAR=VALUE. See below for descriptions of some of the useful variables.
2201 Defaults for the options are specified in brackets.
2204 -h, --help display this help and exit
2205 --help=short display options specific to this package
2206 --help=recursive display the short help of all the included packages
2207 -V, --version display version information and exit
2208 -q, --quiet, --silent do not print \`checking ...' messages
2209 --cache-file=FILE cache test results in FILE [disabled]
2210 -C, --config-cache alias for \`--cache-file=config.cache'
2211 -n, --no-create do not create output files
2212 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2214 Installation directories:
2215 --prefix=PREFIX install architecture-independent files in PREFIX
2216 [$ac_default_prefix]
2217 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2220 By default, \`make install' will install all the files in
2221 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2222 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2223 for instance \`--prefix=\$HOME'.
2225 For better control, use the options below.
2227 Fine tuning of the installation directories:
2228 --bindir=DIR user executables [EPREFIX/bin]
2229 --sbindir=DIR system admin executables [EPREFIX/sbin]
2230 --libexecdir=DIR program executables [EPREFIX/libexec]
2231 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2232 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2233 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2234 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2235 --libdir=DIR object code libraries [EPREFIX/lib]
2236 --includedir=DIR C header files [PREFIX/include]
2237 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2238 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2239 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2240 --infodir=DIR info documentation [DATAROOTDIR/info]
2241 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2242 --mandir=DIR man documentation [DATAROOTDIR/man]
2243 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2244 --htmldir=DIR html documentation [DOCDIR]
2245 --dvidir=DIR dvi documentation [DOCDIR]
2246 --pdfdir=DIR pdf documentation [DOCDIR]
2247 --psdir=DIR ps documentation [DOCDIR]
2253 --x-includes=DIR X include files are
in DIR
2254 --x-libraries=DIR X library files are
in DIR
2257 --build=BUILD configure
for building on BUILD
[guessed
]
2258 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2262 if test -n "$ac_init_help"; then
2263 case $ac_init_help in
2264 short | recursive
) echo "Configuration of Wine 1.9.19:";;
2269 --disable-option-checking ignore unrecognized
--enable/--with options
2270 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2271 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2272 --disable-win16 do not include Win16 support
2273 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2275 --disable-tests do not build the regression tests
2276 --enable-maintainer-mode
2277 enable maintainer-specific build rules
2278 --disable-largefile omit support for large files
2281 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2282 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2283 --without-alsa do not use the Alsa sound support
2284 --without-capi do not use CAPI (ISDN support)
2285 --without-cms do not use CMS (color management support)
2286 --without-coreaudio do not use the CoreAudio sound support
2287 --without-cups do not use CUPS
2288 --without-curses do not use (n)curses
2289 --without-dbus do not use DBus (dynamic device support)
2290 --without-fontconfig do not use fontconfig
2291 --without-freetype do not use the FreeType library
2292 --without-gettext do not use gettext
2293 --with-gettextpo use the GetTextPO library to rebuild po files
2294 --without-gphoto do not use gphoto (Digital Camera support)
2295 --without-glu do not use the GLU library
2296 --without-gnutls do not use GnuTLS (schannel support)
2297 --without-gsm do not use libgsm (GSM 06.10 codec support)
2298 --without-gstreamer do not use GStreamer (codecs support)
2299 --without-hal do not use HAL (dynamic device support)
2300 --without-jpeg do not use JPEG
2301 --without-ldap do not use LDAP
2302 --without-mpg123 do not use the mpg123 library
2303 --without-netapi do not use the Samba NetAPI library
2304 --without-openal do not use OpenAL
2305 --without-opencl do not use OpenCL
2306 --without-opengl do not use OpenGL
2307 --without-osmesa do not use the OSMesa library
2308 --without-oss do not use the OSS sound support
2309 --without-pcap do not use the Packet Capture library
2310 --without-png do not use PNG
2311 --without-pthread do not use the pthread library
2312 --without-pulse do not use PulseAudio sound support
2313 --without-sane do not use SANE (scanner support)
2314 --without-tiff do not use TIFF
2315 --without-udev do not use udev (plug and play support)
2316 --without-v4l do not use v4l1 (v4l support)
2317 --without-xcomposite do not use the Xcomposite extension
2318 --without-xcursor do not use the Xcursor extension
2319 --without-xinerama do not use Xinerama (multi-monitor support)
2320 --without-xinput do not use the Xinput extension
2321 --without-xinput2 do not use the Xinput 2 extension
2322 --without-xml do not use XML
2323 --without-xrandr do not use Xrandr (resolution changes)
2324 --without-xrender do not use the Xrender extension
2325 --without-xshape do not use the Xshape extension
2326 --without-xshm do not use XShm (shared memory extension)
2327 --without-xslt do not use XSLT
2328 --without-xxf86vm do not use XFree video mode extension
2329 --without-zlib do not use Zlib (data compression)
2330 --with-wine-tools=DIR use Wine tools from directory DIR
2331 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2332 --with-x use the X Window System
2334 Some influential environment variables:
2335 CC C compiler command
2336 CFLAGS C compiler flags
2337 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2338 nonstandard directory <lib dir>
2339 LIBS libraries to pass to the linker, e.g. -l<library>
2340 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2341 you have headers in a nonstandard directory <include dir>
2342 CXX C++ compiler command
2343 CXXFLAGS C++ compiler flags
2345 XMKMF Path to xmkmf, Makefile generator for X Window System
2346 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2347 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2348 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2349 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2350 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2351 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2352 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2353 HAL_LIBS Linker flags for hal, overriding pkg-config
2355 C compiler flags for gnutls, overriding pkg-config
2356 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2357 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2358 SANE_LIBS Linker flags for libsane, overriding pkg-config
2360 C compiler flags for libgphoto2, overriding pkg-config
2362 Linker flags for libgphoto2, overriding pkg-config
2364 C compiler flags for libgphoto2_port, overriding pkg-config
2366 Linker flags for libgphoto2_port, overriding pkg-config
2368 C compiler flags for lcms2, overriding pkg-config
2369 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2371 C compiler flags for freetype2, overriding pkg-config
2373 Linker flags for freetype2, overriding pkg-config
2375 C compiler flags for libpulse, overriding pkg-config
2376 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2378 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2379 gstreamer-audio-1.0, overriding pkg-config
2381 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2382 gstreamer-audio-1.0, overriding pkg-config
2383 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2384 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2386 C compiler flags for capi20, overriding pkg-config
2387 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2389 C compiler flags for fontconfig, overriding pkg-config
2391 Linker flags for fontconfig, overriding pkg-config
2392 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2393 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2394 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2395 PNG_LIBS Linker flags for libpng, overriding pkg-config
2396 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2397 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2399 C compiler flags for libmpg123, overriding pkg-config
2400 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2402 C compiler flags for netapi, overriding pkg-config
2403 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2405 Use these variables to override the choices made by `configure' or to
help
2406 it to
find libraries and programs with nonstandard names
/locations.
2408 Report bugs to
<wine-devel@winehq.org
>.
2409 Wine home page
: <http
://www.winehq.org
>.
2414 if test "$ac_init_help" = "recursive"; then
2415 # If there are subdirs, report their specific --help.
2416 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2417 test -d "$ac_dir" ||
2418 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2423 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2425 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2426 # A ".." for each directory in $ac_dir_suffix.
2427 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2428 case $ac_top_builddir_sub in
2429 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2430 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2433 ac_abs_top_builddir
=$ac_pwd
2434 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2435 # for backward compatibility:
2436 ac_top_builddir
=$ac_top_build_prefix
2439 .
) # We are building in place.
2441 ac_top_srcdir
=$ac_top_builddir_sub
2442 ac_abs_top_srcdir
=$ac_pwd ;;
2443 [\\/]* | ?
:[\\/]* ) # Absolute name.
2444 ac_srcdir
=$srcdir$ac_dir_suffix;
2445 ac_top_srcdir
=$srcdir
2446 ac_abs_top_srcdir
=$srcdir ;;
2448 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2449 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2450 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2452 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2454 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2455 # Check for guested configure.
2456 if test -f "$ac_srcdir/configure.gnu"; then
2458 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2459 elif test -f "$ac_srcdir/configure"; then
2461 $SHELL "$ac_srcdir/configure" --help=recursive
2463 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2465 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2469 test -n "$ac_init_help" && exit $ac_status
2470 if $ac_init_version; then
2472 Wine configure
1.9.19
2473 generated by GNU Autoconf
2.69
2475 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2476 This configure
script is free software
; the Free Software Foundation
2477 gives unlimited permission to copy
, distribute and modify it.
2482 ## ------------------------ ##
2483 ## Autoconf initialization. ##
2484 ## ------------------------ ##
2486 # ac_fn_c_try_compile LINENO
2487 # --------------------------
2488 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2489 ac_fn_c_try_compile
()
2491 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2492 rm -f conftest.
$ac_objext
2493 if { { ac_try
="$ac_compile"
2495 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2496 *) ac_try_echo=$ac_try;;
2498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2499 $as_echo "$ac_try_echo"; } >&5
2500 (eval "$ac_compile") 2>conftest.err
2502 if test -s conftest.err; then
2503 grep -v '^ *+' conftest.err >conftest.er1
2504 cat conftest.er1 >&5
2505 mv -f conftest.er1 conftest.err
2507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2508 test $ac_status = 0; } && {
2509 test -z "$ac_c_werror_flag" ||
2510 test ! -s conftest.err
2511 } && test -s conftest.$ac_objext; then :
2514 $as_echo "$as_me: failed program was:" >&5
2515 sed 's/^/| /' conftest.$ac_ext >&5
2519 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2520 as_fn_set_status $ac_retval
2522 } # ac_fn_c_try_compile
2524 # ac_fn_cxx_try_compile LINENO
2525 # ----------------------------
2526 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2527 ac_fn_cxx_try_compile ()
2529 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2530 rm -f conftest.$ac_objext
2531 if { { ac_try="$ac_compile"
2533 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2534 *) ac_try_echo
=$ac_try;;
2536 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2537 $as_echo "$ac_try_echo"; } >&5
2538 (eval "$ac_compile") 2>conftest.err
2540 if test -s conftest.err
; then
2541 grep -v '^ *+' conftest.err
>conftest.er1
2542 cat conftest.er1
>&5
2543 mv -f conftest.er1 conftest.err
2545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2546 test $ac_status = 0; } && {
2547 test -z "$ac_cxx_werror_flag" ||
2548 test ! -s conftest.err
2549 } && test -s conftest.
$ac_objext; then :
2552 $as_echo "$as_me: failed program was:" >&5
2553 sed 's/^/| /' conftest.
$ac_ext >&5
2557 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2558 as_fn_set_status
$ac_retval
2560 } # ac_fn_cxx_try_compile
2562 # ac_fn_c_try_link LINENO
2563 # -----------------------
2564 # Try to link conftest.$ac_ext, and return whether this succeeded.
2567 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2568 rm -f conftest.
$ac_objext conftest
$ac_exeext
2569 if { { ac_try
="$ac_link"
2571 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2572 *) ac_try_echo=$ac_try;;
2574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2575 $as_echo "$ac_try_echo"; } >&5
2576 (eval "$ac_link") 2>conftest.err
2578 if test -s conftest.err; then
2579 grep -v '^ *+' conftest.err >conftest.er1
2580 cat conftest.er1 >&5
2581 mv -f conftest.er1 conftest.err
2583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2584 test $ac_status = 0; } && {
2585 test -z "$ac_c_werror_flag" ||
2586 test ! -s conftest.err
2587 } && test -s conftest$ac_exeext && {
2588 test "$cross_compiling" = yes ||
2589 test -x conftest$ac_exeext
2593 $as_echo "$as_me: failed program was:" >&5
2594 sed 's/^/| /' conftest.$ac_ext >&5
2598 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2599 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2600 # interfere with the next link command; also delete a directory that is
2601 # left behind by Apple's compiler. We do this before executing the actions.
2602 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2603 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2604 as_fn_set_status $ac_retval
2606 } # ac_fn_c_try_link
2608 # ac_fn_c_try_cpp LINENO
2609 # ----------------------
2610 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2614 if { { ac_try="$ac_cpp conftest.$ac_ext"
2616 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2617 *) ac_try_echo
=$ac_try;;
2619 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2620 $as_echo "$ac_try_echo"; } >&5
2621 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2623 if test -s conftest.err
; then
2624 grep -v '^ *+' conftest.err
>conftest.er1
2625 cat conftest.er1
>&5
2626 mv -f conftest.er1 conftest.err
2628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2629 test $ac_status = 0; } > conftest.i
&& {
2630 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2631 test ! -s conftest.err
2635 $as_echo "$as_me: failed program was:" >&5
2636 sed 's/^/| /' conftest.
$ac_ext >&5
2640 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2641 as_fn_set_status
$ac_retval
2645 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2646 # -------------------------------------------------------
2647 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2648 # the include files in INCLUDES and setting the cache variable VAR
2650 ac_fn_c_check_header_mongrel
()
2652 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2653 if eval \
${$3+:} false
; then :
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2655 $as_echo_n "checking for $2... " >&6; }
2656 if eval \
${$3+:} false
; then :
2657 $as_echo_n "(cached) " >&6
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2661 $as_echo "$ac_res" >&6; }
2663 # Is the header compilable?
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2665 $as_echo_n "checking $2 usability... " >&6; }
2666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2667 /* end confdefs.h. */
2671 if ac_fn_c_try_compile
"$LINENO"; then :
2672 ac_header_compiler
=yes
2674 ac_header_compiler
=no
2676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2678 $as_echo "$ac_header_compiler" >&6; }
2680 # Is the header present?
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2682 $as_echo_n "checking $2 presence... " >&6; }
2683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2684 /* end confdefs.h. */
2687 if ac_fn_c_try_cpp
"$LINENO"; then :
2688 ac_header_preproc
=yes
2690 ac_header_preproc
=no
2692 rm -f conftest.err conftest.i conftest.
$ac_ext
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2694 $as_echo "$ac_header_preproc" >&6; }
2696 # So? What about this header?
2697 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2700 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2702 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2706 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2708 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2710 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2712 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2714 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2715 ( $as_echo "## ------------------------------------ ##
2716 ## Report this to wine-devel@winehq.org ##
2717 ## ------------------------------------ ##"
2718 ) |
sed "s/^/$as_me: WARNING: /" >&2
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2722 $as_echo_n "checking for $2... " >&6; }
2723 if eval \
${$3+:} false
; then :
2724 $as_echo_n "(cached) " >&6
2726 eval "$3=\$ac_header_compiler"
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2730 $as_echo "$ac_res" >&6; }
2732 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2734 } # ac_fn_c_check_header_mongrel
2736 # ac_fn_c_try_run LINENO
2737 # ----------------------
2738 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2739 # that executables *can* be run.
2742 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2743 if { { ac_try
="$ac_link"
2745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2746 *) ac_try_echo=$ac_try;;
2748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2749 $as_echo "$ac_try_echo"; } >&5
2750 (eval "$ac_link") 2>&5
2752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2753 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2754 { { case "(($ac_try" in
2755 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2756 *) ac_try_echo
=$ac_try;;
2758 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2759 $as_echo "$ac_try_echo"; } >&5
2760 (eval "$ac_try") 2>&5
2762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2763 test $ac_status = 0; }; }; then :
2766 $as_echo "$as_me: program exited with status $ac_status" >&5
2767 $as_echo "$as_me: failed program was:" >&5
2768 sed 's/^/| /' conftest.
$ac_ext >&5
2770 ac_retval
=$ac_status
2772 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2773 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2774 as_fn_set_status
$ac_retval
2778 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2779 # -------------------------------------------------------
2780 # Tests whether HEADER exists and can be compiled using the include files in
2781 # INCLUDES, setting the cache variable VAR accordingly.
2782 ac_fn_c_check_header_compile
()
2784 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2786 $as_echo_n "checking for $2... " >&6; }
2787 if eval \
${$3+:} false
; then :
2788 $as_echo_n "(cached) " >&6
2790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2791 /* end confdefs.h. */
2795 if ac_fn_c_try_compile
"$LINENO"; then :
2800 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2804 $as_echo "$ac_res" >&6; }
2805 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2807 } # ac_fn_c_check_header_compile
2809 # ac_fn_c_check_func LINENO FUNC VAR
2810 # ----------------------------------
2811 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2812 ac_fn_c_check_func
()
2814 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2816 $as_echo_n "checking for $2... " >&6; }
2817 if eval \
${$3+:} false
; then :
2818 $as_echo_n "(cached) " >&6
2820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2821 /* end confdefs.h. */
2822 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2824 #define $2 innocuous_$2
2826 /* System header to define __stub macros and hopefully few prototypes,
2827 which can conflict with char $2 (); below.
2828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2829 <limits.h> exists even on freestanding compilers. */
2832 # include <limits.h>
2834 # include <assert.h>
2839 /* Override any GCC internal prototype to avoid an error.
2840 Use char because int might match the return type of a GCC
2841 builtin and then its argument prototype would still apply. */
2846 /* The GNU C library defines this for functions which it implements
2847 to always fail with ENOSYS. Some functions are actually named
2848 something starting with __ and the normal name is an alias. */
2849 #if defined __stub_$2 || defined __stub___$2
2861 if ac_fn_c_try_link
"$LINENO"; then :
2866 rm -f core conftest.err conftest.
$ac_objext \
2867 conftest
$ac_exeext conftest.
$ac_ext
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2871 $as_echo "$ac_res" >&6; }
2872 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2874 } # ac_fn_c_check_func
2876 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2877 # ----------------------------------------------------
2878 # Tries to find if the field MEMBER exists in type AGGR, after including
2879 # INCLUDES, setting cache variable VAR accordingly.
2880 ac_fn_c_check_member
()
2882 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2884 $as_echo_n "checking for $2.$3... " >&6; }
2885 if eval \
${$4+:} false
; then :
2886 $as_echo_n "(cached) " >&6
2888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2889 /* end confdefs.h. */
2901 if ac_fn_c_try_compile
"$LINENO"; then :
2904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2905 /* end confdefs.h. */
2911 if (sizeof ac_aggr.$3)
2917 if ac_fn_c_try_compile
"$LINENO"; then :
2922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2928 $as_echo "$ac_res" >&6; }
2929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2931 } # ac_fn_c_check_member
2933 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2934 # -------------------------------------------
2935 # Tests whether TYPE exists after having included INCLUDES, setting cache
2936 # variable VAR accordingly.
2937 ac_fn_c_check_type
()
2939 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2941 $as_echo_n "checking for $2... " >&6; }
2942 if eval \
${$3+:} false
; then :
2943 $as_echo_n "(cached) " >&6
2946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2947 /* end confdefs.h. */
2958 if ac_fn_c_try_compile
"$LINENO"; then :
2959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2960 /* end confdefs.h. */
2971 if ac_fn_c_try_compile
"$LINENO"; then :
2976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2982 $as_echo "$ac_res" >&6; }
2983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2985 } # ac_fn_c_check_type
2986 cat >config.log
<<_ACEOF
2987 This file contains any messages produced by compilers while
2988 running configure, to aid debugging if configure makes a mistake.
2990 It was created by Wine $as_me 1.9.19, which was
2991 generated by GNU Autoconf 2.69. Invocation command line was
3003 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3004 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3005 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3006 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3007 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3009 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3010 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3012 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3013 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3014 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3015 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3016 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3017 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3018 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3026 test -z "$as_dir" && as_dir
=.
3027 $as_echo "PATH: $as_dir"
3043 # Keep a trace of the command line.
3044 # Strip out --no-create and --no-recursion so they do not pile up.
3045 # Strip out --silent because we don't want to record it for future runs.
3046 # Also quote any args containing shell meta-characters.
3047 # Make two passes to allow for proper duplicate-argument suppression.
3051 ac_must_keep_next
=false
3057 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3058 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3059 |
-silent |
--silent |
--silen |
--sile |
--sil)
3062 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3065 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3067 as_fn_append ac_configure_args1
" '$ac_arg'"
3068 if test $ac_must_keep_next = true
; then
3069 ac_must_keep_next
=false
# Got value, back to normal.
3072 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3073 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3074 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3075 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3076 case "$ac_configure_args0 " in
3077 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3080 -* ) ac_must_keep_next
=true
;;
3083 as_fn_append ac_configure_args
" '$ac_arg'"
3088 { ac_configure_args0
=; unset ac_configure_args0
;}
3089 { ac_configure_args1
=; unset ac_configure_args1
;}
3091 # When interrupted or exit'd, cleanup temporary files, and complete
3092 # config.log. We remove comments because anyway the quotes in there
3093 # would cause problems or look ugly.
3094 # WARNING: Use '\'' to represent an apostrophe within the trap.
3095 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3096 trap 'exit_status=$?
3097 # Save into config.log some information that might help in debugging.
3101 $as_echo "## ---------------- ##
3102 ## Cache variables. ##
3103 ## ---------------- ##"
3105 # The following way of writing the cache mishandles newlines in values,
3107 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3108 eval ac_val=\$$ac_var
3112 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3113 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3116 _ | IFS | as_nl) ;; #(
3117 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3118 *) { eval $ac_var=; unset $ac_var;} ;;
3123 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3124 *${as_nl}ac_space=\ *)
3126 "s/'\''/'\''\\\\'\'''\''/g;
3127 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3130 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3137 $as_echo "## ----------------- ##
3138 ## Output variables. ##
3139 ## ----------------- ##"
3141 for ac_var in $ac_subst_vars
3143 eval ac_val=\$$ac_var
3145 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3147 $as_echo "$ac_var='\''$ac_val'\''"
3151 if test -n "$ac_subst_files"; then
3152 $as_echo "## ------------------- ##
3153 ## File substitutions. ##
3154 ## ------------------- ##"
3156 for ac_var
in $ac_subst_files
3158 eval ac_val
=\$
$ac_var
3160 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3162 $as_echo "$ac_var='\''$ac_val'\''"
3167 if test -s confdefs.h; then
3168 $as_echo "## ----------- ##
3175 test "$ac_signal" != 0 &&
3176 $as_echo "$as_me: caught signal $ac_signal"
3177 $as_echo "$as_me: exit $exit_status"
3179 rm -f core *.core core.conftest.* &&
3180 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3183 for ac_signal
in 1 2 13 15; do
3184 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3188 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3189 rm -f -r conftest
* confdefs.h
3191 $as_echo "/* confdefs.h */" > confdefs.h
3193 # Predefined preprocessor variables.
3195 cat >>confdefs.h
<<_ACEOF
3196 #define PACKAGE_NAME "$PACKAGE_NAME"
3199 cat >>confdefs.h
<<_ACEOF
3200 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3203 cat >>confdefs.h
<<_ACEOF
3204 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3207 cat >>confdefs.h
<<_ACEOF
3208 #define PACKAGE_STRING "$PACKAGE_STRING"
3211 cat >>confdefs.h
<<_ACEOF
3212 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3215 cat >>confdefs.h
<<_ACEOF
3216 #define PACKAGE_URL "$PACKAGE_URL"
3220 # Let the site file select an alternate cache file if it wants to.
3221 # Prefer an explicitly selected file to automatically selected ones.
3224 if test -n "$CONFIG_SITE"; then
3225 # We do not want a PATH search for config.site.
3226 case $CONFIG_SITE in #((
3227 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3228 */*) ac_site_file1
=$CONFIG_SITE;;
3229 *) ac_site_file1
=.
/$CONFIG_SITE;;
3231 elif test "x$prefix" != xNONE
; then
3232 ac_site_file1
=$prefix/share
/config.site
3233 ac_site_file2
=$prefix/etc
/config.site
3235 ac_site_file1
=$ac_default_prefix/share
/config.site
3236 ac_site_file2
=$ac_default_prefix/etc
/config.site
3238 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3240 test "x$ac_site_file" = xNONE
&& continue
3241 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3243 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3244 sed 's/^/| /' "$ac_site_file" >&5
3246 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3248 as_fn_error $?
"failed to load site script $ac_site_file
3249 See \`config.log' for more details" "$LINENO" 5; }
3253 if test -r "$cache_file"; then
3254 # Some versions of bash will fail to source /dev/null (special files
3255 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3256 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3258 $as_echo "$as_me: loading cache $cache_file" >&6;}
3260 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3261 *) .
"./$cache_file";;
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3266 $as_echo "$as_me: creating cache $cache_file" >&6;}
3270 # Check that the precious variables saved in the cache have kept the same
3272 ac_cache_corrupted
=false
3273 for ac_var
in $ac_precious_vars; do
3274 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3275 eval ac_new_set
=\
$ac_env_${ac_var}_set
3276 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3277 eval ac_new_val
=\
$ac_env_${ac_var}_value
3278 case $ac_old_set,$ac_new_set in
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3281 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3282 ac_cache_corrupted
=: ;;
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3285 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3286 ac_cache_corrupted
=: ;;
3289 if test "x$ac_old_val" != "x$ac_new_val"; then
3290 # differences in whitespace do not lead to failure.
3291 ac_old_val_w
=`echo x $ac_old_val`
3292 ac_new_val_w
=`echo x $ac_new_val`
3293 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3295 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3296 ac_cache_corrupted
=:
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3299 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3300 eval $ac_var=\
$ac_old_val
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3303 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3305 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3308 # Pass precious variables to config.status.
3309 if test "$ac_new_set" = set; then
3311 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3312 *) ac_arg
=$ac_var=$ac_new_val ;;
3314 case " $ac_configure_args " in
3315 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3316 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3320 if $ac_cache_corrupted; then
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3324 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3325 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3327 ## -------------------- ##
3328 ## Main body of script. ##
3329 ## -------------------- ##
3332 ac_cpp
='$CPP $CPPFLAGS'
3333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3339 ac_config_headers
="$ac_config_headers include/config.h"
3342 for ac_dir
in tools
"$srcdir"/tools
; do
3343 if test -f "$ac_dir/install-sh"; then
3345 ac_install_sh
="$ac_aux_dir/install-sh -c"
3347 elif test -f "$ac_dir/install.sh"; then
3349 ac_install_sh
="$ac_aux_dir/install.sh -c"
3351 elif test -f "$ac_dir/shtool"; then
3353 ac_install_sh
="$ac_aux_dir/shtool install -c"
3357 if test -z "$ac_aux_dir"; then
3358 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3361 # These three variables are undocumented and unsupported,
3362 # and are intended to be withdrawn in a future Autoconf release.
3363 # They can cause serious problems if a builder's source tree is in a directory
3364 # whose full name contains unusual characters.
3365 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3366 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3367 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3371 libwine_version
="1.0"
3375 # Check whether --enable-win16 was given.
3376 if test "${enable_win16+set}" = set; then :
3377 enableval
=$enable_win16;
3380 # Check whether --enable-win64 was given.
3381 if test "${enable_win64+set}" = set; then :
3382 enableval
=$enable_win64;
3385 # Check whether --enable-tests was given.
3386 if test "${enable_tests+set}" = set; then :
3387 enableval
=$enable_tests;
3390 # Check whether --enable-maintainer-mode was given.
3391 if test "${enable_maintainer_mode+set}" = set; then :
3392 enableval
=$enable_maintainer_mode;
3397 # Check whether --with-alsa was given.
3398 if test "${with_alsa+set}" = set; then :
3399 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3403 # Check whether --with-capi was given.
3404 if test "${with_capi+set}" = set; then :
3409 # Check whether --with-cms was given.
3410 if test "${with_cms+set}" = set; then :
3415 # Check whether --with-coreaudio was given.
3416 if test "${with_coreaudio+set}" = set; then :
3417 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3421 # Check whether --with-cups was given.
3422 if test "${with_cups+set}" = set; then :
3427 # Check whether --with-curses was given.
3428 if test "${with_curses+set}" = set; then :
3429 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3433 # Check whether --with-dbus was given.
3434 if test "${with_dbus+set}" = set; then :
3439 # Check whether --with-fontconfig was given.
3440 if test "${with_fontconfig+set}" = set; then :
3441 withval
=$with_fontconfig;
3445 # Check whether --with-freetype was given.
3446 if test "${with_freetype+set}" = set; then :
3447 withval
=$with_freetype;
3451 # Check whether --with-gettext was given.
3452 if test "${with_gettext+set}" = set; then :
3453 withval
=$with_gettext;
3457 # Check whether --with-gettextpo was given.
3458 if test "${with_gettextpo+set}" = set; then :
3459 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3463 # Check whether --with-gphoto was given.
3464 if test "${with_gphoto+set}" = set; then :
3465 withval
=$with_gphoto;
3469 # Check whether --with-glu was given.
3470 if test "${with_glu+set}" = set; then :
3475 # Check whether --with-gnutls was given.
3476 if test "${with_gnutls+set}" = set; then :
3477 withval
=$with_gnutls;
3481 # Check whether --with-gsm was given.
3482 if test "${with_gsm+set}" = set; then :
3483 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3487 # Check whether --with-gstreamer was given.
3488 if test "${with_gstreamer+set}" = set; then :
3489 withval
=$with_gstreamer;
3493 # Check whether --with-hal was given.
3494 if test "${with_hal+set}" = set; then :
3499 # Check whether --with-jpeg was given.
3500 if test "${with_jpeg+set}" = set; then :
3505 # Check whether --with-ldap was given.
3506 if test "${with_ldap+set}" = set; then :
3507 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3511 # Check whether --with-mpg123 was given.
3512 if test "${with_mpg123+set}" = set; then :
3513 withval
=$with_mpg123;
3517 # Check whether --with-netapi was given.
3518 if test "${with_netapi+set}" = set; then :
3519 withval
=$with_netapi;
3523 # Check whether --with-openal was given.
3524 if test "${with_openal+set}" = set; then :
3525 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3529 # Check whether --with-opencl was given.
3530 if test "${with_opencl+set}" = set; then :
3531 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3535 # Check whether --with-opengl was given.
3536 if test "${with_opengl+set}" = set; then :
3537 withval
=$with_opengl;
3541 # Check whether --with-osmesa was given.
3542 if test "${with_osmesa+set}" = set; then :
3543 withval
=$with_osmesa;
3547 # Check whether --with-oss was given.
3548 if test "${with_oss+set}" = set; then :
3553 # Check whether --with-pcap was given.
3554 if test "${with_pcap+set}" = set; then :
3555 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3559 # Check whether --with-png was given.
3560 if test "${with_png+set}" = set; then :
3565 # Check whether --with-pthread was given.
3566 if test "${with_pthread+set}" = set; then :
3567 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3571 # Check whether --with-pulse was given.
3572 if test "${with_pulse+set}" = set; then :
3573 withval
=$with_pulse;
3577 # Check whether --with-sane was given.
3578 if test "${with_sane+set}" = set; then :
3583 # Check whether --with-tiff was given.
3584 if test "${with_tiff+set}" = set; then :
3589 # Check whether --with-udev was given.
3590 if test "${with_udev+set}" = set; then :
3595 # Check whether --with-v4l was given.
3596 if test "${with_v4l+set}" = set; then :
3601 # Check whether --with-xcomposite was given.
3602 if test "${with_xcomposite+set}" = set; then :
3603 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3607 # Check whether --with-xcursor was given.
3608 if test "${with_xcursor+set}" = set; then :
3609 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3613 # Check whether --with-xinerama was given.
3614 if test "${with_xinerama+set}" = set; then :
3615 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3619 # Check whether --with-xinput was given.
3620 if test "${with_xinput+set}" = set; then :
3621 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3625 # Check whether --with-xinput2 was given.
3626 if test "${with_xinput2+set}" = set; then :
3627 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3631 # Check whether --with-xml was given.
3632 if test "${with_xml+set}" = set; then :
3637 # Check whether --with-xrandr was given.
3638 if test "${with_xrandr+set}" = set; then :
3639 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3643 # Check whether --with-xrender was given.
3644 if test "${with_xrender+set}" = set; then :
3645 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3649 # Check whether --with-xshape was given.
3650 if test "${with_xshape+set}" = set; then :
3651 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3655 # Check whether --with-xshm was given.
3656 if test "${with_xshm+set}" = set; then :
3657 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3661 # Check whether --with-xslt was given.
3662 if test "${with_xslt+set}" = set; then :
3667 # Check whether --with-xxf86vm was given.
3668 if test "${with_xxf86vm+set}" = set; then :
3669 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
3673 # Check whether --with-zlib was given.
3674 if test "${with_zlib+set}" = set; then :
3675 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3680 # Check whether --with-wine-tools was given.
3681 if test "${with_wine_tools+set}" = set; then :
3682 withval
=$with_wine_tools;
3686 # Check whether --with-wine64 was given.
3687 if test "${with_wine64+set}" = set; then :
3688 withval
=$with_wine64;
3692 # Make sure we can run config.sub.
3693 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3694 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3697 $as_echo_n "checking build system type... " >&6; }
3698 if ${ac_cv_build+:} false
; then :
3699 $as_echo_n "(cached) " >&6
3701 ac_build_alias
=$build_alias
3702 test "x$ac_build_alias" = x
&&
3703 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3704 test "x$ac_build_alias" = x
&&
3705 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3706 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3707 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3711 $as_echo "$ac_cv_build" >&6; }
3712 case $ac_cv_build in
3714 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3717 ac_save_IFS
=$IFS; IFS
='-'
3723 # Remember, the first character of IFS is used to create $*,
3724 # except with old shells:
3727 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3731 $as_echo_n "checking host system type... " >&6; }
3732 if ${ac_cv_host+:} false
; then :
3733 $as_echo_n "(cached) " >&6
3735 if test "x$host_alias" = x
; then
3736 ac_cv_host
=$ac_cv_build
3738 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3739 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3744 $as_echo "$ac_cv_host" >&6; }
3747 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3750 ac_save_IFS
=$IFS; IFS
='-'
3756 # Remember, the first character of IFS is used to create $*,
3757 # except with old shells:
3760 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3766 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3767 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3768 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3774 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3776 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3777 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3778 $as_echo_n "(cached) " >&6
3780 cat >conftest.
make <<\_ACEOF
3783 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3785 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3786 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3788 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3790 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3794 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3796 $as_echo "yes" >&6; }
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3800 $as_echo "no" >&6; }
3801 SET_MAKE
="MAKE=${MAKE-make}"
3805 ac_cpp
='$CPP $CPPFLAGS'
3806 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3807 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3808 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3809 if test -n "$ac_tool_prefix"; then
3810 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3811 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3813 $as_echo_n "checking for $ac_word... " >&6; }
3814 if ${ac_cv_prog_CC+:} false
; then :
3815 $as_echo_n "(cached) " >&6
3817 if test -n "$CC"; then
3818 ac_cv_prog_CC
="$CC" # Let the user override the test.
3820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3824 test -z "$as_dir" && as_dir
=.
3825 for ac_exec_ext
in '' $ac_executable_extensions; do
3826 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3827 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3838 if test -n "$CC"; then
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3840 $as_echo "$CC" >&6; }
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843 $as_echo "no" >&6; }
3848 if test -z "$ac_cv_prog_CC"; then
3850 # Extract the first word of "gcc", so it can be a program name with args.
3851 set dummy gcc
; ac_word
=$2
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3853 $as_echo_n "checking for $ac_word... " >&6; }
3854 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3855 $as_echo_n "(cached) " >&6
3857 if test -n "$ac_ct_CC"; then
3858 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3864 test -z "$as_dir" && as_dir
=.
3865 for ac_exec_ext
in '' $ac_executable_extensions; do
3866 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3867 ac_cv_prog_ac_ct_CC
="gcc"
3868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3877 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3878 if test -n "$ac_ct_CC"; then
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3880 $as_echo "$ac_ct_CC" >&6; }
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3883 $as_echo "no" >&6; }
3886 if test "x$ac_ct_CC" = x
; then
3889 case $cross_compiling:$ac_tool_warned in
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3893 ac_tool_warned
=yes ;;
3901 if test -z "$CC"; then
3902 if test -n "$ac_tool_prefix"; then
3903 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3904 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3906 $as_echo_n "checking for $ac_word... " >&6; }
3907 if ${ac_cv_prog_CC+:} false
; then :
3908 $as_echo_n "(cached) " >&6
3910 if test -n "$CC"; then
3911 ac_cv_prog_CC
="$CC" # Let the user override the test.
3913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3917 test -z "$as_dir" && as_dir
=.
3918 for ac_exec_ext
in '' $ac_executable_extensions; do
3919 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3920 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3931 if test -n "$CC"; then
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3933 $as_echo "$CC" >&6; }
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3936 $as_echo "no" >&6; }
3942 if test -z "$CC"; then
3943 # Extract the first word of "cc", so it can be a program name with args.
3944 set dummy cc
; ac_word
=$2
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3946 $as_echo_n "checking for $ac_word... " >&6; }
3947 if ${ac_cv_prog_CC+:} false
; then :
3948 $as_echo_n "(cached) " >&6
3950 if test -n "$CC"; then
3951 ac_cv_prog_CC
="$CC" # Let the user override the test.
3954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3958 test -z "$as_dir" && as_dir
=.
3959 for ac_exec_ext
in '' $ac_executable_extensions; do
3960 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3961 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3962 ac_prog_rejected
=yes
3966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3973 if test $ac_prog_rejected = yes; then
3974 # We found a bogon in the path, so make sure we never use it.
3975 set dummy
$ac_cv_prog_CC
3977 if test $# != 0; then
3978 # We chose a different compiler from the bogus one.
3979 # However, it has the same basename, so the bogon will be chosen
3980 # first if we set CC to just the basename; use the full file name.
3982 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3988 if test -n "$CC"; then
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3990 $as_echo "$CC" >&6; }
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3993 $as_echo "no" >&6; }
3998 if test -z "$CC"; then
3999 if test -n "$ac_tool_prefix"; then
4000 for ac_prog
in cl.exe
4002 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4003 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4005 $as_echo_n "checking for $ac_word... " >&6; }
4006 if ${ac_cv_prog_CC+:} false
; then :
4007 $as_echo_n "(cached) " >&6
4009 if test -n "$CC"; then
4010 ac_cv_prog_CC
="$CC" # Let the user override the test.
4012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4016 test -z "$as_dir" && as_dir
=.
4017 for ac_exec_ext
in '' $ac_executable_extensions; do
4018 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4019 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4030 if test -n "$CC"; then
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4032 $as_echo "$CC" >&6; }
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4035 $as_echo "no" >&6; }
4039 test -n "$CC" && break
4042 if test -z "$CC"; then
4044 for ac_prog
in cl.exe
4046 # Extract the first word of "$ac_prog", so it can be a program name with args.
4047 set dummy
$ac_prog; ac_word
=$2
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4049 $as_echo_n "checking for $ac_word... " >&6; }
4050 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4051 $as_echo_n "(cached) " >&6
4053 if test -n "$ac_ct_CC"; then
4054 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4060 test -z "$as_dir" && as_dir
=.
4061 for ac_exec_ext
in '' $ac_executable_extensions; do
4062 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4063 ac_cv_prog_ac_ct_CC
="$ac_prog"
4064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4073 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4074 if test -n "$ac_ct_CC"; then
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4076 $as_echo "$ac_ct_CC" >&6; }
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4079 $as_echo "no" >&6; }
4083 test -n "$ac_ct_CC" && break
4086 if test "x$ac_ct_CC" = x
; then
4089 case $cross_compiling:$ac_tool_warned in
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4093 ac_tool_warned
=yes ;;
4102 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4104 as_fn_error $?
"no acceptable C compiler found in \$PATH
4105 See \`config.log' for more details" "$LINENO" 5; }
4107 # Provide some information about the compiler.
4108 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4111 for ac_option
in --version -v -V -qversion; do
4112 { { ac_try
="$ac_compiler $ac_option >&5"
4114 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4115 *) ac_try_echo=$ac_try;;
4117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4118 $as_echo "$ac_try_echo"; } >&5
4119 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4121 if test -s conftest.err; then
4123 ... rest of stderr output deleted ...
4124 10q' conftest.err >conftest.er1
4125 cat conftest.er1 >&5
4127 rm -f conftest.er1 conftest.err
4128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4129 test $ac_status = 0; }
4132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4133 /* end confdefs.h. */
4143 ac_clean_files_save=$ac_clean_files
4144 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4145 # Try to create an executable without -o first, disregard a.out.
4146 # It will help us diagnose broken compilers, and finding out an intuition
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4149 $as_echo_n "checking whether the C compiler works... " >&6; }
4150 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4152 # The possible output files:
4153 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4156 for ac_file in $ac_files
4159 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4160 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4165 if { { ac_try="$ac_link_default"
4167 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4168 *) ac_try_echo
=$ac_try;;
4170 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4171 $as_echo "$ac_try_echo"; } >&5
4172 (eval "$ac_link_default") 2>&5
4174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4175 test $ac_status = 0; }; then :
4176 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4177 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4178 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4179 # so that the user can short-circuit this test for compilers unknown to
4181 for ac_file
in $ac_files ''
4183 test -f "$ac_file" ||
continue
4185 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4188 # We found the default executable, but exeext='' is most
4192 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4194 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4196 # We set ac_cv_exeext here because the later test for it is not
4197 # safe: cross compilers may not add the suffix if given an `-o'
4198 # argument, so we may need to know it at that point already.
4199 # Even if this section looks crufty: it has the advantage of
4206 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4211 if test -z "$ac_file"; then :
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4213 $as_echo "no" >&6; }
4214 $as_echo "$as_me: failed program was:" >&5
4215 sed 's/^/| /' conftest.
$ac_ext >&5
4217 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4219 as_fn_error
77 "C compiler cannot create executables
4220 See \`config.log' for more details" "$LINENO" 5; }
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4223 $as_echo "yes" >&6; }
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4226 $as_echo_n "checking for C compiler default output file name... " >&6; }
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4228 $as_echo "$ac_file" >&6; }
4229 ac_exeext
=$ac_cv_exeext
4231 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4232 ac_clean_files
=$ac_clean_files_save
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4234 $as_echo_n "checking for suffix of executables... " >&6; }
4235 if { { ac_try
="$ac_link"
4237 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4238 *) ac_try_echo=$ac_try;;
4240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4241 $as_echo "$ac_try_echo"; } >&5
4242 (eval "$ac_link") 2>&5
4244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4245 test $ac_status = 0; }; then :
4246 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4247 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4248 # work properly (i.e., refer to `conftest.exe'), while it won't with
4250 for ac_file
in conftest.exe conftest conftest.
*; do
4251 test -f "$ac_file" ||
continue
4253 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4254 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4260 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4262 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4263 See \`config.log' for more details" "$LINENO" 5; }
4265 rm -f conftest conftest
$ac_cv_exeext
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4267 $as_echo "$ac_cv_exeext" >&6; }
4269 rm -f conftest.
$ac_ext
4270 EXEEXT
=$ac_cv_exeext
4272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4278 FILE *f = fopen ("conftest.out", "w");
4279 return ferror (f) || fclose (f) != 0;
4285 ac_clean_files
="$ac_clean_files conftest.out"
4286 # Check that the compiler produces executables we can run. If not, either
4287 # the compiler is broken, or we cross compile.
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4289 $as_echo_n "checking whether we are cross compiling... " >&6; }
4290 if test "$cross_compiling" != yes; then
4291 { { ac_try
="$ac_link"
4293 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4294 *) ac_try_echo=$ac_try;;
4296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4297 $as_echo "$ac_try_echo"; } >&5
4298 (eval "$ac_link") 2>&5
4300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4301 test $ac_status = 0; }
4302 if { ac_try='./conftest$ac_cv_exeext'
4303 { { case "(($ac_try" in
4304 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4305 *) ac_try_echo
=$ac_try;;
4307 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4308 $as_echo "$ac_try_echo"; } >&5
4309 (eval "$ac_try") 2>&5
4311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4312 test $ac_status = 0; }; }; then
4315 if test "$cross_compiling" = maybe
; then
4318 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4320 as_fn_error $?
"cannot run C compiled programs.
4321 If you meant to cross compile, use \`--host'.
4322 See \`config.log' for more details" "$LINENO" 5; }
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4327 $as_echo "$cross_compiling" >&6; }
4329 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4330 ac_clean_files
=$ac_clean_files_save
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4332 $as_echo_n "checking for suffix of object files... " >&6; }
4333 if ${ac_cv_objext+:} false
; then :
4334 $as_echo_n "(cached) " >&6
4336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4337 /* end confdefs.h. */
4347 rm -f conftest.o conftest.obj
4348 if { { ac_try
="$ac_compile"
4350 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4351 *) ac_try_echo=$ac_try;;
4353 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4354 $as_echo "$ac_try_echo"; } >&5
4355 (eval "$ac_compile") 2>&5
4357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4358 test $ac_status = 0; }; then :
4359 for ac_file in conftest.o conftest.obj conftest.*; do
4360 test -f "$ac_file" || continue;
4362 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4363 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4368 $as_echo "$as_me: failed program was:" >&5
4369 sed 's/^/| /' conftest.$ac_ext >&5
4371 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4373 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4374 See \
`config.log' for more details" "$LINENO" 5; }
4376 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4379 $as_echo "$ac_cv_objext" >&6; }
4380 OBJEXT=$ac_cv_objext
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4383 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4384 if ${ac_cv_c_compiler_gnu+:} false; then :
4385 $as_echo_n "(cached) " >&6
4387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4388 /* end confdefs.h. */
4401 if ac_fn_c_try_compile "$LINENO"; then :
4406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4407 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4411 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4412 if test $ac_compiler_gnu = yes; then
4417 ac_test_CFLAGS=${CFLAGS+set}
4418 ac_save_CFLAGS=$CFLAGS
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4420 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4421 if ${ac_cv_prog_cc_g+:} false; then :
4422 $as_echo_n "(cached) " >&6
4424 ac_save_c_werror_flag=$ac_c_werror_flag
4425 ac_c_werror_flag=yes
4428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4429 /* end confdefs.h. */
4439 if ac_fn_c_try_compile "$LINENO"; then :
4443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4444 /* end confdefs.h. */
4454 if ac_fn_c_try_compile "$LINENO"; then :
4457 ac_c_werror_flag=$ac_save_c_werror_flag
4459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4460 /* end confdefs.h. */
4470 if ac_fn_c_try_compile "$LINENO"; then :
4473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4478 ac_c_werror_flag=$ac_save_c_werror_flag
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4481 $as_echo "$ac_cv_prog_cc_g" >&6; }
4482 if test "$ac_test_CFLAGS" = set; then
4483 CFLAGS=$ac_save_CFLAGS
4484 elif test $ac_cv_prog_cc_g = yes; then
4485 if test "$GCC" = yes; then
4491 if test "$GCC" = yes; then
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4498 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4499 if ${ac_cv_prog_cc_c89+:} false; then :
4500 $as_echo_n "(cached) " >&6
4502 ac_cv_prog_cc_c89=no
4504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4505 /* end confdefs.h. */
4509 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4510 struct buf { int x; };
4511 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4512 static char *e (p, i)
4518 static char *f (char * (*g) (char **, int), char **p, ...)
4523 s = g (p, va_arg (v,int));
4528 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4529 function prototypes and stuff, but not '\xHH' hex character constants.
4530 These don't provoke an error unfortunately, instead are silently treated
4531 as 'x'. The following induces an error, until -std is added to get
4532 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4533 array size at least. It's necessary to write '\x00'==0 to get something
4534 that's true only with -std. */
4535 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4537 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4538 inside strings and character constants. */
4540 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4542 int test (int i, double x);
4543 struct s1 {int (*f) (int a);};
4544 struct s2 {int (*f) (double a);};
4545 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4551 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4556 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4557 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4559 CC="$ac_save_CC $ac_arg"
4560 if ac_fn_c_try_compile "$LINENO"; then :
4561 ac_cv_prog_cc_c89=$ac_arg
4563 rm -f core conftest.err conftest.$ac_objext
4564 test "x$ac_cv_prog_cc_c89" != "xno" && break
4566 rm -f conftest.$ac_ext
4571 case "x$ac_cv_prog_cc_c89" in
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4574 $as_echo "none needed" >&6; } ;;
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4577 $as_echo "unsupported" >&6; } ;;
4579 CC="$CC $ac_cv_prog_cc_c89"
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4581 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4583 if test "x$ac_cv_prog_cc_c89" != xno; then :
4588 ac_cpp='$CPP $CPPFLAGS'
4589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4594 ac_cpp='$CXXCPP $CPPFLAGS'
4595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4598 if test -z "$CXX"; then
4599 if test -n "$CCC"; then
4602 if test -n "$ac_tool_prefix"; then
4603 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4605 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4606 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4608 $as_echo_n "checking for $ac_word... " >&6; }
4609 if ${ac_cv_prog_CXX+:} false; then :
4610 $as_echo_n "(cached) " >&6
4612 if test -n "$CXX"; then
4613 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4619 test -z "$as_dir" && as_dir=.
4620 for ac_exec_ext in '' $ac_executable_extensions; do
4621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4622 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4633 if test -n "$CXX"; then
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4635 $as_echo "$CXX" >&6; }
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638 $as_echo "no" >&6; }
4642 test -n "$CXX" && break
4645 if test -z "$CXX"; then
4647 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4649 # Extract the first word of "$ac_prog", so it can be a program name with args.
4650 set dummy $ac_prog; ac_word=$2
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4652 $as_echo_n "checking for $ac_word... " >&6; }
4653 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4654 $as_echo_n "(cached) " >&6
4656 if test -n "$ac_ct_CXX"; then
4657 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4663 test -z "$as_dir" && as_dir=.
4664 for ac_exec_ext in '' $ac_executable_extensions; do
4665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4666 ac_cv_prog_ac_ct_CXX="$ac_prog"
4667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4676 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4677 if test -n "$ac_ct_CXX"; then
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4679 $as_echo "$ac_ct_CXX" >&6; }
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4682 $as_echo "no" >&6; }
4686 test -n "$ac_ct_CXX" && break
4689 if test "x$ac_ct_CXX" = x; then
4692 case $cross_compiling:$ac_tool_warned in
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4696 ac_tool_warned=yes ;;
4704 # Provide some information about the compiler.
4705 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4708 for ac_option in --version -v -V -qversion; do
4709 { { ac_try="$ac_compiler $ac_option >&5"
4711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4712 *) ac_try_echo
=$ac_try;;
4714 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4715 $as_echo "$ac_try_echo"; } >&5
4716 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4718 if test -s conftest.err
; then
4720 ... rest of stderr output deleted ...
4721 10q' conftest.err
>conftest.er1
4722 cat conftest.er1
>&5
4724 rm -f conftest.er1 conftest.err
4725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4726 test $ac_status = 0; }
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4730 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4731 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4732 $as_echo_n "(cached) " >&6
4734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4735 /* end confdefs.h. */
4748 if ac_fn_cxx_try_compile
"$LINENO"; then :
4753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4754 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4758 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4759 if test $ac_compiler_gnu = yes; then
4764 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4765 ac_save_CXXFLAGS
=$CXXFLAGS
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4767 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4768 if ${ac_cv_prog_cxx_g+:} false
; then :
4769 $as_echo_n "(cached) " >&6
4771 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4772 ac_cxx_werror_flag
=yes
4775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4786 if ac_fn_cxx_try_compile
"$LINENO"; then :
4787 ac_cv_prog_cxx_g
=yes
4790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4801 if ac_fn_cxx_try_compile
"$LINENO"; then :
4804 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4807 /* end confdefs.h. */
4817 if ac_fn_cxx_try_compile
"$LINENO"; then :
4818 ac_cv_prog_cxx_g
=yes
4820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4825 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4828 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4829 if test "$ac_test_CXXFLAGS" = set; then
4830 CXXFLAGS
=$ac_save_CXXFLAGS
4831 elif test $ac_cv_prog_cxx_g = yes; then
4832 if test "$GXX" = yes; then
4838 if test "$GXX" = yes; then
4845 ac_cpp
='$CPP $CPPFLAGS'
4846 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4847 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4848 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4850 if test -n "$ac_tool_prefix"; then
4851 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4852 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4854 $as_echo_n "checking for $ac_word... " >&6; }
4855 if ${ac_cv_prog_CPPBIN+:} false
; then :
4856 $as_echo_n "(cached) " >&6
4858 if test -n "$CPPBIN"; then
4859 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4865 test -z "$as_dir" && as_dir
=.
4866 for ac_exec_ext
in '' $ac_executable_extensions; do
4867 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4868 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4878 CPPBIN
=$ac_cv_prog_CPPBIN
4879 if test -n "$CPPBIN"; then
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4881 $as_echo "$CPPBIN" >&6; }
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884 $as_echo "no" >&6; }
4889 if test -z "$ac_cv_prog_CPPBIN"; then
4890 ac_ct_CPPBIN
=$CPPBIN
4891 # Extract the first word of "cpp", so it can be a program name with args.
4892 set dummy cpp
; ac_word
=$2
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4894 $as_echo_n "checking for $ac_word... " >&6; }
4895 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4896 $as_echo_n "(cached) " >&6
4898 if test -n "$ac_ct_CPPBIN"; then
4899 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4905 test -z "$as_dir" && as_dir
=.
4906 for ac_exec_ext
in '' $ac_executable_extensions; do
4907 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4908 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4918 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4919 if test -n "$ac_ct_CPPBIN"; then
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4921 $as_echo "$ac_ct_CPPBIN" >&6; }
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4924 $as_echo "no" >&6; }
4927 if test "x$ac_ct_CPPBIN" = x
; then
4930 case $cross_compiling:$ac_tool_warned in
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4934 ac_tool_warned
=yes ;;
4936 CPPBIN
=$ac_ct_CPPBIN
4939 CPPBIN
="$ac_cv_prog_CPPBIN"
4943 cat >>confdefs.h
<<_ACEOF
4944 #define EXEEXT "$ac_exeext"
4947 if test -n "$ac_tool_prefix"; then
4948 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4949 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4951 $as_echo_n "checking for $ac_word... " >&6; }
4952 if ${ac_cv_prog_LD+:} false
; then :
4953 $as_echo_n "(cached) " >&6
4955 if test -n "$LD"; then
4956 ac_cv_prog_LD
="$LD" # Let the user override the test.
4958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4962 test -z "$as_dir" && as_dir
=.
4963 for ac_exec_ext
in '' $ac_executable_extensions; do
4964 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4965 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4976 if test -n "$LD"; then
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4978 $as_echo "$LD" >&6; }
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4981 $as_echo "no" >&6; }
4986 if test -z "$ac_cv_prog_LD"; then
4988 # Extract the first word of "ld", so it can be a program name with args.
4989 set dummy ld
; ac_word
=$2
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4991 $as_echo_n "checking for $ac_word... " >&6; }
4992 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4993 $as_echo_n "(cached) " >&6
4995 if test -n "$ac_ct_LD"; then
4996 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5002 test -z "$as_dir" && as_dir
=.
5003 for ac_exec_ext
in '' $ac_executable_extensions; do
5004 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5005 ac_cv_prog_ac_ct_LD
="ld"
5006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5015 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5016 if test -n "$ac_ct_LD"; then
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5018 $as_echo "$ac_ct_LD" >&6; }
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5021 $as_echo "no" >&6; }
5024 if test "x$ac_ct_LD" = x
; then
5027 case $cross_compiling:$ac_tool_warned in
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5031 ac_tool_warned
=yes ;;
5042 with_fontconfig
=${with_fontconfig:-no}
5044 *-mingw32*|
*-cygwin*)
5045 enable_win16
=${enable_win16:-no}
5046 CFLAGS
="$CFLAGS -D_WIN32"
5052 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5057 $as_echo_n "checking whether $CC works... " >&6; }
5059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5060 /* end confdefs.h. */
5070 if ac_fn_c_try_link
"$LINENO"; then :
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5072 $as_echo "yes" >&6; }
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5076 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5078 rm -f core conftest.err conftest.
$ac_objext \
5079 conftest
$ac_exeext conftest.
$ac_ext
5081 notice_platform
="32-bit "
5084 enable_win16
=${enable_win16:-yes}
5086 if test "x${GCC}" = "xyes"
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5089 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5091 /* end confdefs.h. */
5096 void func(__builtin_ms_va_list *args);
5101 if ac_fn_c_try_compile
"$LINENO"; then :
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5103 $as_echo "yes" >&6; }
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106 $as_echo "no" >&6; }
5107 as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5114 notice_platform
="64-bit "
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5121 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5123 /* end confdefs.h. */
5124 int ac_test(int i) { return i; }
5128 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5133 if ac_fn_c_try_link
"$LINENO"; then :
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5135 $as_echo "yes" >&6; }
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5139 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5141 rm -f core conftest.err conftest.
$ac_objext \
5142 conftest
$ac_exeext conftest.
$ac_ext
5143 CFLAGS
="$CFLAGS -marm"
5148 enable_win16
=${enable_win16:-yes}
5152 enable_win16
=${enable_win16:-no}
5153 enable_win64
=${enable_win64:-no}
5155 enable_winetest
=${enable_winetest:-$enable_tests}
5157 if test -n "$with_wine64"
5159 if test "x$enable_win64" = "xyes"
5161 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5162 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5164 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5165 You should create a separate build directory and run configure from there." "$LINENO" 5
5166 enable_fonts
=${enable_fonts:-no}
5167 enable_server
=${enable_server:-no}
5168 elif test "x$enable_win64" = "xyes"
5170 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5174 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5175 if ${wine_cv_toolsdir+:} false
; then :
5176 $as_echo_n "(cached) " >&6
5178 wine_cv_toolsdir
="$with_wine_tools"
5179 if test -z "$with_wine_tools"; then
5180 if test "$cross_compiling" = "yes"; then
5181 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5182 elif test -n "$with_wine64"; then
5183 wine_cv_toolsdir
="$with_wine64"
5186 if test -z "$wine_cv_toolsdir"; then
5187 wine_makedep
=tools
/makedep
5188 wine_cv_toolsdir
="\$(top_builddir)"
5189 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5190 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5191 case "$wine_cv_toolsdir" in
5193 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5195 enable_tools
=${enable_tools:-no}
5196 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5198 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5202 $as_echo "$wine_cv_toolsdir" >&6; }
5203 TOOLSDIR
=$wine_cv_toolsdir
5205 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5207 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5213 # Extract the first word of "$ac_prog", so it can be a program name with args.
5214 set dummy
$ac_prog; ac_word
=$2
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5216 $as_echo_n "checking for $ac_word... " >&6; }
5217 if ${ac_cv_prog_FLEX+:} false
; then :
5218 $as_echo_n "(cached) " >&6
5220 if test -n "$FLEX"; then
5221 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5227 test -z "$as_dir" && as_dir
=.
5228 for ac_exec_ext
in '' $ac_executable_extensions; do
5229 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5230 ac_cv_prog_FLEX
="$ac_prog"
5231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5240 FLEX
=$ac_cv_prog_FLEX
5241 if test -n "$FLEX"; then
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5243 $as_echo "$FLEX" >&6; }
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5246 $as_echo "no" >&6; }
5250 test -n "$FLEX" && break
5252 test -n "$FLEX" || FLEX
="none"
5254 if test "$FLEX" = "none"
5256 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5259 $as_echo_n "checking whether flex is recent enough... " >&6; }
5260 cat >conftest.l
<<EOF
5262 #include "prediluvian.h"
5266 if $FLEX -t conftest.l
>/dev
/null
2>&5
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5269 $as_echo "yes" >&6; }
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5272 $as_echo "no" >&6; }
5273 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5276 for ac_prog
in bison
5278 # Extract the first word of "$ac_prog", so it can be a program name with args.
5279 set dummy
$ac_prog; ac_word
=$2
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5281 $as_echo_n "checking for $ac_word... " >&6; }
5282 if ${ac_cv_prog_BISON+:} false
; then :
5283 $as_echo_n "(cached) " >&6
5285 if test -n "$BISON"; then
5286 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5292 test -z "$as_dir" && as_dir
=.
5293 for ac_exec_ext
in '' $ac_executable_extensions; do
5294 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5295 ac_cv_prog_BISON
="$ac_prog"
5296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5305 BISON
=$ac_cv_prog_BISON
5306 if test -n "$BISON"; then
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5308 $as_echo "$BISON" >&6; }
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5311 $as_echo "no" >&6; }
5315 test -n "$BISON" && break
5317 test -n "$BISON" || BISON
="none"
5319 if test "$BISON" = "none"
5321 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5324 if test -n "$ac_tool_prefix"; then
5325 for ac_prog
in ar gar
5327 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5328 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5330 $as_echo_n "checking for $ac_word... " >&6; }
5331 if ${ac_cv_prog_AR+:} false
; then :
5332 $as_echo_n "(cached) " >&6
5334 if test -n "$AR"; then
5335 ac_cv_prog_AR
="$AR" # Let the user override the test.
5337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5341 test -z "$as_dir" && as_dir
=.
5342 for ac_exec_ext
in '' $ac_executable_extensions; do
5343 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5344 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5355 if test -n "$AR"; then
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5357 $as_echo "$AR" >&6; }
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5360 $as_echo "no" >&6; }
5364 test -n "$AR" && break
5367 if test -z "$AR"; then
5369 for ac_prog
in ar gar
5371 # Extract the first word of "$ac_prog", so it can be a program name with args.
5372 set dummy
$ac_prog; ac_word
=$2
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5374 $as_echo_n "checking for $ac_word... " >&6; }
5375 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5376 $as_echo_n "(cached) " >&6
5378 if test -n "$ac_ct_AR"; then
5379 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5385 test -z "$as_dir" && as_dir
=.
5386 for ac_exec_ext
in '' $ac_executable_extensions; do
5387 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5388 ac_cv_prog_ac_ct_AR
="$ac_prog"
5389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5398 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5399 if test -n "$ac_ct_AR"; then
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5401 $as_echo "$ac_ct_AR" >&6; }
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5404 $as_echo "no" >&6; }
5408 test -n "$ac_ct_AR" && break
5411 if test "x$ac_ct_AR" = x
; then
5414 case $cross_compiling:$ac_tool_warned in
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5418 ac_tool_warned
=yes ;;
5424 if test -n "$ac_tool_prefix"; then
5425 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5426 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5428 $as_echo_n "checking for $ac_word... " >&6; }
5429 if ${ac_cv_prog_STRIP+:} false
; then :
5430 $as_echo_n "(cached) " >&6
5432 if test -n "$STRIP"; then
5433 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5439 test -z "$as_dir" && as_dir
=.
5440 for ac_exec_ext
in '' $ac_executable_extensions; do
5441 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5442 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 STRIP
=$ac_cv_prog_STRIP
5453 if test -n "$STRIP"; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5455 $as_echo "$STRIP" >&6; }
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5463 if test -z "$ac_cv_prog_STRIP"; then
5465 # Extract the first word of "strip", so it can be a program name with args.
5466 set dummy strip
; ac_word
=$2
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5468 $as_echo_n "checking for $ac_word... " >&6; }
5469 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5470 $as_echo_n "(cached) " >&6
5472 if test -n "$ac_ct_STRIP"; then
5473 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5479 test -z "$as_dir" && as_dir
=.
5480 for ac_exec_ext
in '' $ac_executable_extensions; do
5481 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5482 ac_cv_prog_ac_ct_STRIP
="strip"
5483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5493 if test -n "$ac_ct_STRIP"; then
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5495 $as_echo "$ac_ct_STRIP" >&6; }
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5498 $as_echo "no" >&6; }
5501 if test "x$ac_ct_STRIP" = x
; then
5504 case $cross_compiling:$ac_tool_warned in
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5508 ac_tool_warned
=yes ;;
5513 STRIP
="$ac_cv_prog_STRIP"
5518 if test -n "$ac_tool_prefix"; then
5519 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5520 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5522 $as_echo_n "checking for $ac_word... " >&6; }
5523 if ${ac_cv_prog_RANLIB+:} false
; then :
5524 $as_echo_n "(cached) " >&6
5526 if test -n "$RANLIB"; then
5527 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5533 test -z "$as_dir" && as_dir
=.
5534 for ac_exec_ext
in '' $ac_executable_extensions; do
5535 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5536 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5546 RANLIB
=$ac_cv_prog_RANLIB
5547 if test -n "$RANLIB"; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5549 $as_echo "$RANLIB" >&6; }
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5552 $as_echo "no" >&6; }
5557 if test -z "$ac_cv_prog_RANLIB"; then
5558 ac_ct_RANLIB
=$RANLIB
5559 # Extract the first word of "ranlib", so it can be a program name with args.
5560 set dummy ranlib
; ac_word
=$2
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5562 $as_echo_n "checking for $ac_word... " >&6; }
5563 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5564 $as_echo_n "(cached) " >&6
5566 if test -n "$ac_ct_RANLIB"; then
5567 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5573 test -z "$as_dir" && as_dir
=.
5574 for ac_exec_ext
in '' $ac_executable_extensions; do
5575 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5576 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5586 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5587 if test -n "$ac_ct_RANLIB"; then
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5589 $as_echo "$ac_ct_RANLIB" >&6; }
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5592 $as_echo "no" >&6; }
5595 if test "x$ac_ct_RANLIB" = x
; then
5598 case $cross_compiling:$ac_tool_warned in
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5602 ac_tool_warned
=yes ;;
5604 RANLIB
=$ac_ct_RANLIB
5607 RANLIB
="$ac_cv_prog_RANLIB"
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5611 $as_echo_n "checking whether ln -s works... " >&6; }
5613 if test "$LN_S" = "ln -s"; then
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5615 $as_echo "yes" >&6; }
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5618 $as_echo "no, using $LN_S" >&6; }
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5622 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5623 if ${ac_cv_path_GREP+:} false
; then :
5624 $as_echo_n "(cached) " >&6
5626 if test -z "$GREP"; then
5627 ac_path_GREP_found
=false
5628 # Loop through the user's path and test for each of PROGNAME-LIST
5629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5630 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5633 test -z "$as_dir" && as_dir
=.
5634 for ac_prog
in grep ggrep
; do
5635 for ac_exec_ext
in '' $ac_executable_extensions; do
5636 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5637 as_fn_executable_p
"$ac_path_GREP" ||
continue
5638 # Check for GNU ac_path_GREP and select it if it is found.
5639 # Check for GNU $ac_path_GREP
5640 case `"$ac_path_GREP" --version 2>&1` in
5642 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5645 $as_echo_n 0123456789 >"conftest.in"
5648 cat "conftest.in" "conftest.in" >"conftest.tmp"
5649 mv "conftest.tmp" "conftest.in"
5650 cp "conftest.in" "conftest.nl"
5651 $as_echo 'GREP' >> "conftest.nl"
5652 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5653 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5654 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5655 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5656 # Best one so far, save it but keep looking for a better one
5657 ac_cv_path_GREP
="$ac_path_GREP"
5658 ac_path_GREP_max
=$ac_count
5660 # 10*(2^10) chars as input seems more than enough
5661 test $ac_count -gt 10 && break
5663 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5666 $ac_path_GREP_found && break 3
5671 if test -z "$ac_cv_path_GREP"; then
5672 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5675 ac_cv_path_GREP
=$GREP
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5680 $as_echo "$ac_cv_path_GREP" >&6; }
5681 GREP
="$ac_cv_path_GREP"
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5685 $as_echo_n "checking for egrep... " >&6; }
5686 if ${ac_cv_path_EGREP+:} false
; then :
5687 $as_echo_n "(cached) " >&6
5689 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5690 then ac_cv_path_EGREP
="$GREP -E"
5692 if test -z "$EGREP"; then
5693 ac_path_EGREP_found
=false
5694 # Loop through the user's path and test for each of PROGNAME-LIST
5695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5696 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5699 test -z "$as_dir" && as_dir
=.
5700 for ac_prog
in egrep; do
5701 for ac_exec_ext
in '' $ac_executable_extensions; do
5702 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5703 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5704 # Check for GNU ac_path_EGREP and select it if it is found.
5705 # Check for GNU $ac_path_EGREP
5706 case `"$ac_path_EGREP" --version 2>&1` in
5708 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5711 $as_echo_n 0123456789 >"conftest.in"
5714 cat "conftest.in" "conftest.in" >"conftest.tmp"
5715 mv "conftest.tmp" "conftest.in"
5716 cp "conftest.in" "conftest.nl"
5717 $as_echo 'EGREP' >> "conftest.nl"
5718 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5719 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5720 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5721 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5722 # Best one so far, save it but keep looking for a better one
5723 ac_cv_path_EGREP
="$ac_path_EGREP"
5724 ac_path_EGREP_max
=$ac_count
5726 # 10*(2^10) chars as input seems more than enough
5727 test $ac_count -gt 10 && break
5729 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5732 $ac_path_EGREP_found && break 3
5737 if test -z "$ac_cv_path_EGREP"; then
5738 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5741 ac_cv_path_EGREP
=$EGREP
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5747 $as_echo "$ac_cv_path_EGREP" >&6; }
5748 EGREP
="$ac_cv_path_EGREP"
5751 # Extract the first word of "ldconfig", so it can be a program name with args.
5752 set dummy ldconfig
; ac_word
=$2
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5754 $as_echo_n "checking for $ac_word... " >&6; }
5755 if ${ac_cv_path_LDCONFIG+:} false
; then :
5756 $as_echo_n "(cached) " >&6
5760 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5764 for as_dir
in /sbin
/usr
/sbin
$PATH
5767 test -z "$as_dir" && as_dir
=.
5768 for ac_exec_ext
in '' $ac_executable_extensions; do
5769 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5770 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5778 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5782 LDCONFIG
=$ac_cv_path_LDCONFIG
5783 if test -n "$LDCONFIG"; then
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5785 $as_echo "$LDCONFIG" >&6; }
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5788 $as_echo "no" >&6; }
5792 for ac_prog
in msgfmt
5794 # Extract the first word of "$ac_prog", so it can be a program name with args.
5795 set dummy
$ac_prog; ac_word
=$2
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5797 $as_echo_n "checking for $ac_word... " >&6; }
5798 if ${ac_cv_prog_MSGFMT+:} false
; then :
5799 $as_echo_n "(cached) " >&6
5801 if test -n "$MSGFMT"; then
5802 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5808 test -z "$as_dir" && as_dir
=.
5809 for ac_exec_ext
in '' $ac_executable_extensions; do
5810 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5811 ac_cv_prog_MSGFMT
="$ac_prog"
5812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5821 MSGFMT
=$ac_cv_prog_MSGFMT
5822 if test -n "$MSGFMT"; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5824 $as_echo "$MSGFMT" >&6; }
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827 $as_echo "no" >&6; }
5831 test -n "$MSGFMT" && break
5833 test -n "$MSGFMT" || MSGFMT
="false"
5835 if ${ac_tool_prefix+:} false
; then :
5836 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5837 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5839 $as_echo_n "checking for $ac_word... " >&6; }
5840 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5841 $as_echo_n "(cached) " >&6
5843 if test -n "$PKG_CONFIG"; then
5844 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5850 test -z "$as_dir" && as_dir
=.
5851 for ac_exec_ext
in '' $ac_executable_extensions; do
5852 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5853 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5863 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5864 if test -n "$PKG_CONFIG"; then
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5866 $as_echo "$PKG_CONFIG" >&6; }
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5869 $as_echo "no" >&6; }
5874 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5875 if test "x$cross_compiling" = xyes
; then :
5878 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5879 # Extract the first word of "pkg-config", so it can be a program name with args.
5880 set dummy pkg-config
; ac_word
=$2
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5882 $as_echo_n "checking for $ac_word... " >&6; }
5883 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5884 $as_echo_n "(cached) " >&6
5886 if test -n "$PKG_CONFIG"; then
5887 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5893 test -z "$as_dir" && as_dir
=.
5894 for ac_exec_ext
in '' $ac_executable_extensions; do
5895 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5896 ac_cv_prog_PKG_CONFIG
="pkg-config"
5897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5906 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5907 if test -n "$PKG_CONFIG"; then
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5909 $as_echo "$PKG_CONFIG" >&6; }
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5912 $as_echo "no" >&6; }
5918 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5921 if test "x$enable_maintainer_mode" != "xyes"
5928 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5929 for ac_prog
in fontforge
5931 # Extract the first word of "$ac_prog", so it can be a program name with args.
5932 set dummy
$ac_prog; ac_word
=$2
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5934 $as_echo_n "checking for $ac_word... " >&6; }
5935 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5936 $as_echo_n "(cached) " >&6
5938 if test -n "$FONTFORGE"; then
5939 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5945 test -z "$as_dir" && as_dir
=.
5946 for ac_exec_ext
in '' $ac_executable_extensions; do
5947 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5948 ac_cv_prog_FONTFORGE
="$ac_prog"
5949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5958 FONTFORGE
=$ac_cv_prog_FONTFORGE
5959 if test -n "$FONTFORGE"; then
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5961 $as_echo "$FONTFORGE" >&6; }
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5964 $as_echo "no" >&6; }
5968 test -n "$FONTFORGE" && break
5970 test -n "$FONTFORGE" || FONTFORGE
="false"
5972 for ac_prog
in rsvg-convert rsvg
5974 # Extract the first word of "$ac_prog", so it can be a program name with args.
5975 set dummy
$ac_prog; ac_word
=$2
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5977 $as_echo_n "checking for $ac_word... " >&6; }
5978 if ${ac_cv_prog_RSVG+:} false
; then :
5979 $as_echo_n "(cached) " >&6
5981 if test -n "$RSVG"; then
5982 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5988 test -z "$as_dir" && as_dir
=.
5989 for ac_exec_ext
in '' $ac_executable_extensions; do
5990 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5991 ac_cv_prog_RSVG
="$ac_prog"
5992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6001 RSVG
=$ac_cv_prog_RSVG
6002 if test -n "$RSVG"; then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6004 $as_echo "$RSVG" >&6; }
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6007 $as_echo "no" >&6; }
6011 test -n "$RSVG" && break
6013 test -n "$RSVG" || RSVG
="false"
6015 for ac_prog
in convert
6017 # Extract the first word of "$ac_prog", so it can be a program name with args.
6018 set dummy
$ac_prog; ac_word
=$2
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6020 $as_echo_n "checking for $ac_word... " >&6; }
6021 if ${ac_cv_prog_CONVERT+:} false
; then :
6022 $as_echo_n "(cached) " >&6
6024 if test -n "$CONVERT"; then
6025 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
6027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6031 test -z "$as_dir" && as_dir
=.
6032 for ac_exec_ext
in '' $ac_executable_extensions; do
6033 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6034 ac_cv_prog_CONVERT
="$ac_prog"
6035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 CONVERT
=$ac_cv_prog_CONVERT
6045 if test -n "$CONVERT"; then
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6047 $as_echo "$CONVERT" >&6; }
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6050 $as_echo "no" >&6; }
6054 test -n "$CONVERT" && break
6056 test -n "$CONVERT" || CONVERT
="false"
6058 for ac_prog
in icotool
6060 # Extract the first word of "$ac_prog", so it can be a program name with args.
6061 set dummy
$ac_prog; ac_word
=$2
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6063 $as_echo_n "checking for $ac_word... " >&6; }
6064 if ${ac_cv_prog_ICOTOOL+:} false
; then :
6065 $as_echo_n "(cached) " >&6
6067 if test -n "$ICOTOOL"; then
6068 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6074 test -z "$as_dir" && as_dir
=.
6075 for ac_exec_ext
in '' $ac_executable_extensions; do
6076 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6077 ac_cv_prog_ICOTOOL
="$ac_prog"
6078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6087 ICOTOOL
=$ac_cv_prog_ICOTOOL
6088 if test -n "$ICOTOOL"; then
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6090 $as_echo "$ICOTOOL" >&6; }
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6093 $as_echo "no" >&6; }
6097 test -n "$ICOTOOL" && break
6099 test -n "$ICOTOOL" || ICOTOOL
="false"
6101 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6102 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6104 if test "$CONVERT" = false
6106 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6109 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6110 convert_version
=`convert --version | head -n1`
6111 if test "x$convert_version" != "x"
6113 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6114 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6115 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6120 if test "$CONVERT" = false
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6123 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6124 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6127 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6131 if test "$ICOTOOL" = false
6133 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6136 $as_echo_n "checking for recent enough icotool... " >&6; }
6137 icotool_version
=`icotool --version | head -n1`
6138 if test "x$icotool_version" != "x"
6140 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6141 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6142 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6145 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6148 if test "$ICOTOOL" = false
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6151 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6152 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6155 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6161 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6164 test "x$with_gettext" != xno || MSGFMT
=false
6165 if test "$MSGFMT" != "false"
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6168 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6169 cat >conftest.po
<<EOF
6175 if $MSGFMT -o /dev
/null conftest.po
2>&5
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6178 $as_echo "yes" >&6; }
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6181 $as_echo "no" >&6; }
6185 if test "$MSGFMT" = false
; then :
6186 case "x$with_gettext" in
6187 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6189 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6190 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6192 enable_po
=${enable_po:-no}
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6197 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6198 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6199 $as_echo_n "(cached) " >&6
6201 ac_check_lib_save_LIBS
=$LIBS
6203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6204 /* end confdefs.h. */
6206 /* Override any GCC internal prototype to avoid an error.
6207 Use char because int might match the return type of a GCC
6208 builtin and then its argument prototype would still apply. */
6212 char i386_set_ldt ();
6216 return i386_set_ldt ();
6221 if ac_fn_c_try_link
"$LINENO"; then :
6222 ac_cv_lib_i386_i386_set_ldt
=yes
6224 ac_cv_lib_i386_i386_set_ldt
=no
6226 rm -f core conftest.err conftest.
$ac_objext \
6227 conftest
$ac_exeext conftest.
$ac_ext
6228 LIBS
=$ac_check_lib_save_LIBS
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6231 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6232 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6233 cat >>confdefs.h
<<_ACEOF
6234 #define HAVE_LIBI386 1
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6242 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6243 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6244 $as_echo_n "(cached) " >&6
6246 ac_check_lib_save_LIBS
=$LIBS
6247 LIBS
="-lossaudio $LIBS"
6248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6249 /* end confdefs.h. */
6251 /* Override any GCC internal prototype to avoid an error.
6252 Use char because int might match the return type of a GCC
6253 builtin and then its argument prototype would still apply. */
6261 return _oss_ioctl ();
6266 if ac_fn_c_try_link
"$LINENO"; then :
6267 ac_cv_lib_ossaudio__oss_ioctl
=yes
6269 ac_cv_lib_ossaudio__oss_ioctl
=no
6271 rm -f core conftest.err conftest.
$ac_objext \
6272 conftest
$ac_exeext conftest.
$ac_ext
6273 LIBS
=$ac_check_lib_save_LIBS
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6276 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6277 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6278 cat >>confdefs.h
<<_ACEOF
6279 #define HAVE_LIBOSSAUDIO 1
6282 LIBS
="-lossaudio $LIBS"
6291 # Check whether --enable-largefile was given.
6292 if test "${enable_largefile+set}" = set; then :
6293 enableval
=$enable_largefile;
6296 if test "$enable_largefile" != no
; then
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6299 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6300 if ${ac_cv_sys_largefile_CC+:} false
; then :
6301 $as_echo_n "(cached) " >&6
6303 ac_cv_sys_largefile_CC
=no
6304 if test "$GCC" != yes; then
6307 # IRIX 6.2 and later do not support large files by default,
6308 # so use the C compiler's -n32 option if that helps.
6309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6310 /* end confdefs.h. */
6311 #include <sys/types.h>
6312 /* Check that off_t can represent 2**63 - 1 correctly.
6313 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6314 since some C++ compilers masquerading as C compilers
6315 incorrectly reject 9223372036854775807. */
6316 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6317 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6318 && LARGE_OFF_T % 2147483647 == 1)
6328 if ac_fn_c_try_compile
"$LINENO"; then :
6331 rm -f core conftest.err conftest.
$ac_objext
6333 if ac_fn_c_try_compile
"$LINENO"; then :
6334 ac_cv_sys_largefile_CC
=' -n32'; break
6336 rm -f core conftest.err conftest.
$ac_objext
6340 rm -f conftest.
$ac_ext
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6344 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6345 if test "$ac_cv_sys_largefile_CC" != no
; then
6346 CC
=$CC$ac_cv_sys_largefile_CC
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6350 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6351 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6352 $as_echo_n "(cached) " >&6
6355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6356 /* end confdefs.h. */
6357 #include <sys/types.h>
6358 /* Check that off_t can represent 2**63 - 1 correctly.
6359 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6360 since some C++ compilers masquerading as C compilers
6361 incorrectly reject 9223372036854775807. */
6362 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6363 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6364 && LARGE_OFF_T % 2147483647 == 1)
6374 if ac_fn_c_try_compile
"$LINENO"; then :
6375 ac_cv_sys_file_offset_bits
=no
; break
6377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6379 /* end confdefs.h. */
6380 #define _FILE_OFFSET_BITS 64
6381 #include <sys/types.h>
6382 /* Check that off_t can represent 2**63 - 1 correctly.
6383 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6384 since some C++ compilers masquerading as C compilers
6385 incorrectly reject 9223372036854775807. */
6386 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6387 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6388 && LARGE_OFF_T % 2147483647 == 1)
6398 if ac_fn_c_try_compile
"$LINENO"; then :
6399 ac_cv_sys_file_offset_bits
=64; break
6401 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6402 ac_cv_sys_file_offset_bits
=unknown
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6407 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6408 case $ac_cv_sys_file_offset_bits in #(
6411 cat >>confdefs.h
<<_ACEOF
6412 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6417 if test $ac_cv_sys_file_offset_bits = unknown
; then
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6419 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6420 if ${ac_cv_sys_large_files+:} false
; then :
6421 $as_echo_n "(cached) " >&6
6424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6425 /* end confdefs.h. */
6426 #include <sys/types.h>
6427 /* Check that off_t can represent 2**63 - 1 correctly.
6428 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6429 since some C++ compilers masquerading as C compilers
6430 incorrectly reject 9223372036854775807. */
6431 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6432 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6433 && LARGE_OFF_T % 2147483647 == 1)
6443 if ac_fn_c_try_compile
"$LINENO"; then :
6444 ac_cv_sys_large_files
=no
; break
6446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6448 /* end confdefs.h. */
6449 #define _LARGE_FILES 1
6450 #include <sys/types.h>
6451 /* Check that off_t can represent 2**63 - 1 correctly.
6452 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6453 since some C++ compilers masquerading as C compilers
6454 incorrectly reject 9223372036854775807. */
6455 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6456 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6457 && LARGE_OFF_T % 2147483647 == 1)
6467 if ac_fn_c_try_compile
"$LINENO"; then :
6468 ac_cv_sys_large_files
=1; break
6470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6471 ac_cv_sys_large_files
=unknown
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6476 $as_echo "$ac_cv_sys_large_files" >&6; }
6477 case $ac_cv_sys_large_files in #(
6480 cat >>confdefs.h
<<_ACEOF
6481 #define _LARGE_FILES $ac_cv_sys_large_files
6493 ac_cpp
='$CPP $CPPFLAGS'
6494 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6495 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6496 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6498 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6499 # On Suns, sometimes $CPP names a directory.
6500 if test -n "$CPP" && test -d "$CPP"; then
6503 if test -z "$CPP"; then
6504 if ${ac_cv_prog_CPP+:} false
; then :
6505 $as_echo_n "(cached) " >&6
6507 # Double quotes because CPP needs to be expanded
6508 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6511 for ac_c_preproc_warn_flag
in '' yes
6513 # Use a header file that comes with gcc, so configuring glibc
6514 # with a fresh cross-compiler works.
6515 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6516 # <limits.h> exists even on freestanding compilers.
6517 # On the NeXT, cc -E runs the code through the compiler's parser,
6518 # not just through cpp. "Syntax error" is here to catch this case.
6519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6520 /* end confdefs.h. */
6522 # include <limits.h>
6524 # include <assert.h>
6528 if ac_fn_c_try_cpp
"$LINENO"; then :
6531 # Broken: fails on valid input.
6534 rm -f conftest.err conftest.i conftest.
$ac_ext
6536 # OK, works on sane cases. Now check whether nonexistent headers
6537 # can be detected and how.
6538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6539 /* end confdefs.h. */
6540 #include <ac_nonexistent.h>
6542 if ac_fn_c_try_cpp
"$LINENO"; then :
6543 # Broken: success on invalid input.
6546 # Passes both tests.
6550 rm -f conftest.err conftest.i conftest.
$ac_ext
6553 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6554 rm -f conftest.i conftest.err conftest.
$ac_ext
6555 if $ac_preproc_ok; then :
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6568 $as_echo "$CPP" >&6; }
6570 for ac_c_preproc_warn_flag
in '' yes
6572 # Use a header file that comes with gcc, so configuring glibc
6573 # with a fresh cross-compiler works.
6574 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6575 # <limits.h> exists even on freestanding compilers.
6576 # On the NeXT, cc -E runs the code through the compiler's parser,
6577 # not just through cpp. "Syntax error" is here to catch this case.
6578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6579 /* end confdefs.h. */
6581 # include <limits.h>
6583 # include <assert.h>
6587 if ac_fn_c_try_cpp
"$LINENO"; then :
6590 # Broken: fails on valid input.
6593 rm -f conftest.err conftest.i conftest.
$ac_ext
6595 # OK, works on sane cases. Now check whether nonexistent headers
6596 # can be detected and how.
6597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6598 /* end confdefs.h. */
6599 #include <ac_nonexistent.h>
6601 if ac_fn_c_try_cpp
"$LINENO"; then :
6602 # Broken: success on invalid input.
6605 # Passes both tests.
6609 rm -f conftest.err conftest.i conftest.
$ac_ext
6612 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6613 rm -f conftest.i conftest.err conftest.
$ac_ext
6614 if $ac_preproc_ok; then :
6617 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6619 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6620 See \`config.log' for more details" "$LINENO" 5; }
6624 ac_cpp
='$CPP $CPPFLAGS'
6625 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6626 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6627 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6631 $as_echo_n "checking for ANSI C header files... " >&6; }
6632 if ${ac_cv_header_stdc+:} false
; then :
6633 $as_echo_n "(cached) " >&6
6635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6636 /* end confdefs.h. */
6650 if ac_fn_c_try_compile
"$LINENO"; then :
6651 ac_cv_header_stdc
=yes
6653 ac_cv_header_stdc
=no
6655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6657 if test $ac_cv_header_stdc = yes; then
6658 # SunOS 4.x string.h does not declare mem*, 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 "memchr" >/dev
/null
2>&1; then :
6668 ac_cv_header_stdc
=no
6674 if test $ac_cv_header_stdc = yes; then
6675 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6677 /* end confdefs.h. */
6681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6682 $EGREP "free" >/dev
/null
2>&1; then :
6685 ac_cv_header_stdc
=no
6691 if test $ac_cv_header_stdc = yes; then
6692 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6693 if test "$cross_compiling" = yes; then :
6696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6697 /* end confdefs.h. */
6700 #if ((' ' & 0x0FF) == 0x020)
6701 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6702 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6704 # define ISLOWER(c) \
6705 (('a' <= (c) && (c) <= 'i') \
6706 || ('j' <= (c) && (c) <= 'r') \
6707 || ('s' <= (c) && (c) <= 'z'))
6708 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6711 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6716 for (i = 0; i < 256; i++)
6717 if (XOR (islower (i), ISLOWER (i))
6718 || toupper (i) != TOUPPER (i))
6723 if ac_fn_c_try_run
"$LINENO"; then :
6726 ac_cv_header_stdc
=no
6728 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6729 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6735 $as_echo "$ac_cv_header_stdc" >&6; }
6736 if test $ac_cv_header_stdc = yes; then
6738 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6742 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6743 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6744 inttypes.h stdint.h unistd.h
6746 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6747 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6749 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6750 cat >>confdefs.h
<<_ACEOF
6751 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6761 ApplicationServices
/ApplicationServices.h \
6762 AudioToolbox
/AudioConverter.h \
6763 AudioUnit
/AudioUnit.h \
6764 AudioUnit
/AudioComponent.h \
6767 CommonCrypto
/CommonDigest.h \
6768 CoreAudio
/CoreAudio.h \
6769 CoreServices
/CoreServices.h \
6770 DiskArbitration
/DiskArbitration.h \
6772 IOKit
/hid
/IOHIDLib.h \
6775 QuickTime
/ImageCompression.h \
6776 Security
/Security.h \
6827 netinet
/in_systm.h \
6891 valgrind
/memcheck.h \
6892 valgrind
/valgrind.h \
6896 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6897 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6898 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6899 cat >>confdefs.h
<<_ACEOF
6900 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6908 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6909 if ${ac_cv_header_sys_types_h_makedev+:} false
; then :
6910 $as_echo_n "(cached) " >&6
6912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6913 /* end confdefs.h. */
6914 #include <sys/types.h>
6918 return makedev(0, 0);
6923 if ac_fn_c_try_link
"$LINENO"; then :
6924 ac_cv_header_sys_types_h_makedev
=yes
6926 ac_cv_header_sys_types_h_makedev
=no
6928 rm -f core conftest.err conftest.
$ac_objext \
6929 conftest
$ac_exeext conftest.
$ac_ext
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6933 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6935 if test $ac_cv_header_sys_types_h_makedev = no
; then
6936 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6937 if test "x$ac_cv_header_sys_mkdev_h" = xyes
; then :
6939 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6945 if test $ac_cv_header_sys_mkdev_h = no
; then
6946 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6947 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
; then :
6949 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6958 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6959 if ${ac_cv_header_stat_broken+:} false
; then :
6960 $as_echo_n "(cached) " >&6
6962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6963 /* end confdefs.h. */
6964 #include <sys/types.h>
6965 #include <sys/stat.h>
6967 #if defined S_ISBLK && defined S_IFDIR
6968 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6971 #if defined S_ISBLK && defined S_IFCHR
6972 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6975 #if defined S_ISLNK && defined S_IFREG
6976 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6979 #if defined S_ISSOCK && defined S_IFREG
6980 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6984 if ac_fn_c_try_compile
"$LINENO"; then :
6985 ac_cv_header_stat_broken
=no
6987 ac_cv_header_stat_broken
=yes
6989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6992 $as_echo "$ac_cv_header_stat_broken" >&6; }
6993 if test $ac_cv_header_stat_broken = yes; then
6995 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7001 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
7003 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7004 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7005 #ifdef HAVE_SYS_PARAM_H
7006 # include <sys/param.h>
7009 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7010 cat >>confdefs.h
<<_ACEOF
7011 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7026 netinet
/if_ether.h \
7027 netinet
/if_inarp.h \
7036 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7037 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7038 #ifdef HAVE_SYS_SOCKET_H
7039 # include <sys/socket.h>
7041 #ifdef HAVE_SYS_SOCKETVAR_H
7042 # include <sys/socketvar.h>
7044 #ifdef HAVE_NET_ROUTE_H
7045 # include <net/route.h>
7047 #ifdef HAVE_NETINET_IN_H
7048 # include <netinet/in.h>
7050 #ifdef HAVE_NETINET_IN_SYSTM_H
7051 # include <netinet/in_systm.h>
7053 #ifdef HAVE_NET_IF_H
7054 # include <net/if.h>
7056 #ifdef HAVE_NETINET_IP_H
7057 # include <netinet/ip.h>
7060 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7061 cat >>confdefs.h
<<_ACEOF
7062 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7070 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
7072 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7073 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7077 #ifdef HAVE_SYS_SOCKET_H
7078 # include <sys/socket.h>
7080 #ifdef HAVE_SYS_SOCKETVAR_H
7081 # include <sys/socketvar.h>
7083 #ifdef HAVE_SYS_TIMEOUT_H
7084 # include <sys/timeout.h>
7086 #ifdef HAVE_NETINET_IN_H
7087 # include <netinet/in.h>
7089 #ifdef HAVE_NETINET_IN_SYSTM_H
7090 # include <netinet/in_systm.h>
7092 #ifdef HAVE_NETINET_IP_H
7093 # include <netinet/ip.h>
7095 #ifdef HAVE_NETINET_IP_VAR_H
7096 # include <netinet/ip_var.h>
7098 #ifdef HAVE_NETINET_IP_ICMP_H
7099 # include <netinet/ip_icmp.h>
7101 #ifdef HAVE_NETINET_UDP_H
7102 # include <netinet/udp.h>
7104 #ifdef HAVE_NETINET_TCP_H
7105 # include <netinet/tcp.h>
7107 #ifdef HAVE_NETINET_TCP_TIMER_H
7108 #include <netinet/tcp_timer.h>
7111 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7112 cat >>confdefs.h
<<_ACEOF
7113 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7121 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
7123 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7124 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7125 #ifdef HAVE_ASM_TYPES_H
7126 # include <asm/types.h>
7128 #ifdef HAVE_SYS_SOCKET_H
7129 # include <sys/socket.h>
7131 #ifdef HAVE_LINUX_TYPES_H
7132 # include <linux/types.h>
7135 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7136 cat >>confdefs.h
<<_ACEOF
7137 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7145 for ac_header
in mach-o
/dyld_images.h
7147 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7148 # include <stdbool.h>
7150 #ifdef HAVE_STDINT_H
7151 # include <stdint.h>
7154 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7155 cat >>confdefs.h
<<_ACEOF
7156 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7164 for ac_header
in resolv.h
7166 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7167 #ifdef HAVE_SYS_SOCKET_H
7168 # include <sys/socket.h>
7170 #ifdef HAVE_NETINET_IN_H
7171 # include <netinet/in.h>
7173 #ifdef HAVE_ARPA_NAMESER_H
7174 # include <arpa/nameser.h>
7177 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7178 cat >>confdefs.h
<<_ACEOF
7179 #define HAVE_RESOLV_H 1
7187 for ac_header
in ifaddrs.h
7189 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7191 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7192 cat >>confdefs.h
<<_ACEOF
7193 #define HAVE_IFADDRS_H 1
7201 for ac_header
in sys
/ucontext.h
7203 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7205 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7206 cat >>confdefs.h
<<_ACEOF
7207 #define HAVE_SYS_UCONTEXT_H 1
7215 for ac_header
in sys
/thr.h
7217 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7218 #ifdef HAVE_SYS_UCONTEXT_H
7219 #include <sys/ucontext.h>
7222 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7223 cat >>confdefs.h
<<_ACEOF
7224 #define HAVE_SYS_THR_H 1
7232 for ac_header
in pthread_np.h
7234 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7235 #include <pthread.h>
7238 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7239 cat >>confdefs.h
<<_ACEOF
7240 #define HAVE_PTHREAD_NP_H 1
7248 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7250 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7251 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7252 #include <sys/time.h>
7254 #include <sys/types.h>
7255 #ifdef HAVE_ASM_TYPES_H
7256 #include <asm/types.h>
7259 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7260 cat >>confdefs.h
<<_ACEOF
7261 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7269 for ac_header
in libprocstat.h
7271 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7272 #include <sys/param.h>
7274 #ifdef HAVE_SYS_QUEUE_H
7275 #include <sys/queue.h>
7277 #ifdef HAVE_SYS_SOCKET_H
7278 #include <sys/socket.h>
7281 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7282 cat >>confdefs.h
<<_ACEOF
7283 #define HAVE_LIBPROCSTAT_H 1
7292 dlldir
="\${libdir}/wine"
7294 DLLFLAGS
="-D_REENTRANT"
7305 # Extract the first word of "ldd", so it can be a program name with args.
7306 set dummy ldd
; ac_word
=$2
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7308 $as_echo_n "checking for $ac_word... " >&6; }
7309 if ${ac_cv_path_LDD+:} false
; then :
7310 $as_echo_n "(cached) " >&6
7314 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7318 as_dummy
="/sbin:/usr/sbin:$PATH"
7319 for as_dir
in $as_dummy
7322 test -z "$as_dir" && as_dir
=.
7323 for ac_exec_ext
in '' $ac_executable_extensions; do
7324 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7325 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7333 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7338 if test -n "$LDD"; then
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7340 $as_echo "$LDD" >&6; }
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7343 $as_echo "no" >&6; }
7347 if test -n "$ac_tool_prefix"; then
7348 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7349 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7351 $as_echo_n "checking for $ac_word... " >&6; }
7352 if ${ac_cv_prog_OTOOL+:} false
; then :
7353 $as_echo_n "(cached) " >&6
7355 if test -n "$OTOOL"; then
7356 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7362 test -z "$as_dir" && as_dir
=.
7363 for ac_exec_ext
in '' $ac_executable_extensions; do
7364 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7365 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7375 OTOOL
=$ac_cv_prog_OTOOL
7376 if test -n "$OTOOL"; then
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7378 $as_echo "$OTOOL" >&6; }
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7381 $as_echo "no" >&6; }
7386 if test -z "$ac_cv_prog_OTOOL"; then
7388 # Extract the first word of "otool", so it can be a program name with args.
7389 set dummy otool
; ac_word
=$2
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7391 $as_echo_n "checking for $ac_word... " >&6; }
7392 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7393 $as_echo_n "(cached) " >&6
7395 if test -n "$ac_ct_OTOOL"; then
7396 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7402 test -z "$as_dir" && as_dir
=.
7403 for ac_exec_ext
in '' $ac_executable_extensions; do
7404 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7405 ac_cv_prog_ac_ct_OTOOL
="otool"
7406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7415 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7416 if test -n "$ac_ct_OTOOL"; then
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7418 $as_echo "$ac_ct_OTOOL" >&6; }
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7421 $as_echo "no" >&6; }
7424 if test "x$ac_ct_OTOOL" = x
; then
7427 case $cross_compiling:$ac_tool_warned in
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7431 ac_tool_warned
=yes ;;
7436 OTOOL
="$ac_cv_prog_OTOOL"
7439 if test -n "$ac_tool_prefix"; then
7440 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7441 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7443 $as_echo_n "checking for $ac_word... " >&6; }
7444 if ${ac_cv_prog_READELF+:} false
; then :
7445 $as_echo_n "(cached) " >&6
7447 if test -n "$READELF"; then
7448 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7454 test -z "$as_dir" && as_dir
=.
7455 for ac_exec_ext
in '' $ac_executable_extensions; do
7456 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7457 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7467 READELF
=$ac_cv_prog_READELF
7468 if test -n "$READELF"; then
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7470 $as_echo "$READELF" >&6; }
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7473 $as_echo "no" >&6; }
7478 if test -z "$ac_cv_prog_READELF"; then
7479 ac_ct_READELF
=$READELF
7480 # Extract the first word of "readelf", so it can be a program name with args.
7481 set dummy readelf
; ac_word
=$2
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7483 $as_echo_n "checking for $ac_word... " >&6; }
7484 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7485 $as_echo_n "(cached) " >&6
7487 if test -n "$ac_ct_READELF"; then
7488 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7494 test -z "$as_dir" && as_dir
=.
7495 for ac_exec_ext
in '' $ac_executable_extensions; do
7496 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7497 ac_cv_prog_ac_ct_READELF
="readelf"
7498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7507 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7508 if test -n "$ac_ct_READELF"; then
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7510 $as_echo "$ac_ct_READELF" >&6; }
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7513 $as_echo "no" >&6; }
7516 if test "x$ac_ct_READELF" = x
; then
7519 case $cross_compiling:$ac_tool_warned in
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7523 ac_tool_warned
=yes ;;
7525 READELF
=$ac_ct_READELF
7528 READELF
="$ac_cv_prog_READELF"
7531 wine_rules_file
=conf$
$rules.
make
7532 rm -f $wine_rules_file
7537 CONFIGURE_TARGETS
=""
7539 ALL_TEST_RESOURCES
=""
7542 wine_fn_append_file
()
7544 as_fn_append
$1 " \\$as_nl $2"
7547 wine_fn_append_rule
()
7549 $as_echo "$1" >>$wine_rules_file
7554 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7557 wine_fn_all_rules
()
7559 wine_fn_append_file SUBDIRS
$ac_dir
7560 wine_fn_append_rule \
7564 @cd $ac_dir && \$(MAKE)"
7567 wine_fn_install_rules
()
7569 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7571 wine_fn_append_rule \
7572 ".PHONY: $ac_dir/install $ac_dir/uninstall
7573 $ac_dir/install:: $ac_dir
7574 @cd $ac_dir && \$(MAKE) install
7576 @cd $ac_dir && \$(MAKE) uninstall
7577 install:: $ac_dir/install
7578 __uninstall__: $ac_dir/uninstall"
7580 if wine_fn_has_flag install-lib
7582 wine_fn_append_rule \
7583 ".PHONY: $ac_dir/install-lib
7584 $ac_dir/install-lib:: $ac_dir
7585 @cd $ac_dir && \$(MAKE) install-lib
7586 install-lib:: $ac_dir/install-lib"
7589 if wine_fn_has_flag install-dev
7591 wine_fn_append_rule \
7592 ".PHONY: $ac_dir/install-dev
7593 $ac_dir/install-dev:: $ac_dir
7594 @cd $ac_dir && \$(MAKE) install-dev
7595 install-dev:: $ac_dir/install-dev"
7599 wine_fn_clean_rules
()
7603 if wine_fn_has_flag clean
7605 wine_fn_append_rule \
7606 "$ac_dir/clean: dummy
7607 @cd $ac_dir && \$(MAKE) clean"
7609 wine_fn_append_rule \
7610 "$ac_dir/clean: dummy
7611 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7613 wine_fn_append_rule \
7614 "__clean__: $ac_dir/clean
7615 .PHONY: $ac_dir/clean"
7618 wine_fn_disabled_rules
()
7622 wine_fn_append_file SUBDIRS
$ac_dir
7623 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7624 wine_fn_append_rule \
7625 "__clean__: $ac_dir/clean
7626 .PHONY: $ac_dir/clean
7627 $ac_dir/clean: dummy
7628 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7631 wine_fn_config_makefile
()
7638 fonts|server
) test -z "$with_wine64" ||
return ;;
7640 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7641 wine_fn_disabled_rules
; return
7644 wine_fn_install_rules
7648 wine_fn_config_lib
()
7652 ac_dir
=dlls
/$ac_name
7655 if test "x$enable_tools" = xno
; then :
7658 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7663 wine_fn_append_rule \
7664 ".PHONY: $ac_dir/install $ac_dir/uninstall
7665 $ac_dir/install:: $ac_dir
7666 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7668 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7669 install install-dev:: $ac_dir/install
7670 __uninstall__: $ac_dir/uninstall
7671 __builddeps__: $ac_dir
7675 wine_fn_config_dll
()
7678 ac_dir
=dlls
/$ac_name
7681 ac_implib
=${4:-$ac_name}
7682 ac_file
=$ac_dir/lib
$ac_implib
7687 if test "x$enable_tools" = xno
; then :
7690 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7693 *16) ac_implibflags
=" -m16" ;;
7695 *) ac_dll
=$ac_dll.dll
;;
7699 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7700 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7702 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7703 if test "$ac_enable" != enable_win16
7705 wine_fn_clean_rules
$ac_clean
7706 wine_fn_append_file SUBDIRS
$ac_dir
7707 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7709 wine_fn_disabled_rules
$ac_clean
7714 wine_fn_clean_rules
$ac_clean
7715 wine_fn_append_rule \
7716 "$ac_dir: __builddeps__
7717 manpages htmlpages sgmlpages xmlpages::
7718 @cd $ac_dir && \$(MAKE) \$@
7719 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7720 install install-lib:: $ac_dir/install-lib
7721 __uninstall__: $ac_dir/uninstall"
7722 if test -n "$DLLEXT"
7724 wine_fn_append_rule \
7725 "$ac_dir/install-lib:: $ac_dir
7726 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7727 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7729 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7731 wine_fn_append_rule \
7732 "$ac_dir/install-lib:: $ac_dir
7733 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7735 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7739 if wine_fn_has_flag staticimplib
7741 wine_fn_append_rule \
7742 "__builddeps__: $ac_file.a
7743 $ac_file.a $ac_file.cross.a: $ac_deps
7745 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7746 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7747 $ac_dir/install-dev:: $ac_file.a
7748 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7750 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7751 install install-dev:: $ac_dir/install-dev
7752 __uninstall__: $ac_dir/uninstall"
7754 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7756 wine_fn_append_rule \
7757 "__builddeps__: $ac_file.cross.a
7758 $ac_file.cross.a: dummy
7759 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7762 elif wine_fn_has_flag implib
7764 wine_fn_append_rule \
7765 "__builddeps__: $ac_file.$IMPLIBEXT
7766 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7767 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7768 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7769 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7770 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7771 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7772 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7774 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7775 install install-dev:: $ac_dir/install-dev
7776 __uninstall__: $ac_dir/uninstall"
7777 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7779 wine_fn_append_rule \
7780 "__builddeps__: $ac_file.cross.a
7781 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7782 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7787 wine_fn_config_program
()
7790 ac_dir
=programs
/$ac_name
7797 *) ac_program
=$ac_program.exe
;;
7801 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7802 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7804 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7805 wine_fn_disabled_rules
$ac_clean; return
7809 wine_fn_clean_rules
$ac_clean
7810 wine_fn_append_rule
"$ac_dir: __builddeps__"
7812 wine_fn_has_flag
install ||
return
7813 wine_fn_append_rule \
7814 ".PHONY: $ac_dir/install $ac_dir/uninstall
7815 install install-lib:: $ac_dir/install
7816 __uninstall__: $ac_dir/uninstall"
7818 if test -n "$DLLEXT"
7820 wine_fn_append_rule \
7821 "$ac_dir/install:: $ac_dir
7822 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7823 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7825 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7827 if test -z "$with_wine64" && wine_fn_has_flag installbin
7829 wine_fn_append_rule \
7830 "$ac_dir/install:: __tooldeps__
7831 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7833 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7836 wine_fn_append_rule \
7837 "$ac_dir/install:: $ac_dir
7838 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7840 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7843 if test -z "$with_wine64" && wine_fn_has_flag manpage
7845 wine_fn_append_rule \
7846 "$ac_dir/install:: $ac_dir
7847 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7849 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7853 wine_fn_config_test
()
7860 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7861 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7863 if test "x$enable_tests" = xno
; then :
7864 wine_fn_disabled_rules
$ac_clean; return
7867 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7869 wine_fn_clean_rules
$ac_clean
7871 wine_fn_append_rule \
7872 "$ac_dir: __builddeps__
7873 programs/winetest: $ac_dir
7874 check test: $ac_dir/test
7875 .PHONY: $ac_dir/test
7877 @cd $ac_dir && \$(MAKE) test
7879 \$(RM) $ac_dir/*.ok"
7881 if test -n "$CROSSTARGET"
7883 wine_fn_append_rule \
7884 "crosstest: $ac_dir/crosstest
7885 .PHONY: $ac_dir/crosstest
7886 $ac_dir/crosstest: __builddeps__ dummy
7887 @cd $ac_dir && \$(MAKE) crosstest"
7891 wine_fn_config_tool
()
7895 if test "x$enable_tools" = xno
; then :
7896 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir; return
7900 wine_fn_install_rules
7903 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7904 wine_fn_append_rule
"$ac_dir: libs/port"
7906 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7910 wine_fn_config_symlink
()
7913 if test "x$1" = "x-d"
7919 wine_fn_append_rule \
7921 @./config.status \$@"
7922 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
7923 test -n "$ac_linkdir" ||
return
7924 wine_fn_append_rule
"$ac_linkdir/depend: $ac_links"
7928 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7929 WINELOADER_PROGRAMS
="$wine_binary"
7931 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7935 if test -n "$ac_tool_prefix"; then
7936 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7937 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7939 $as_echo_n "checking for $ac_word... " >&6; }
7940 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7941 $as_echo_n "(cached) " >&6
7943 if test -n "$DLLTOOL"; then
7944 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7950 test -z "$as_dir" && as_dir
=.
7951 for ac_exec_ext
in '' $ac_executable_extensions; do
7952 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7953 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7963 DLLTOOL
=$ac_cv_prog_DLLTOOL
7964 if test -n "$DLLTOOL"; then
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7966 $as_echo "$DLLTOOL" >&6; }
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7969 $as_echo "no" >&6; }
7974 if test -z "$ac_cv_prog_DLLTOOL"; then
7975 ac_ct_DLLTOOL
=$DLLTOOL
7976 # Extract the first word of "dlltool", so it can be a program name with args.
7977 set dummy dlltool
; ac_word
=$2
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7979 $as_echo_n "checking for $ac_word... " >&6; }
7980 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7981 $as_echo_n "(cached) " >&6
7983 if test -n "$ac_ct_DLLTOOL"; then
7984 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7990 test -z "$as_dir" && as_dir
=.
7991 for ac_exec_ext
in '' $ac_executable_extensions; do
7992 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7993 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8003 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8004 if test -n "$ac_ct_DLLTOOL"; then
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8006 $as_echo "$ac_ct_DLLTOOL" >&6; }
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8009 $as_echo "no" >&6; }
8012 if test "x$ac_ct_DLLTOOL" = x
; then
8015 case $cross_compiling:$ac_tool_warned in
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8019 ac_tool_warned
=yes ;;
8021 DLLTOOL
=$ac_ct_DLLTOOL
8024 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8030 enable_iphlpapi
=${enable_iphlpapi:-no}
8031 enable_kernel32
=${enable_kernel32:-no}
8032 enable_msvcrt
=${enable_msvcrt:-no}
8033 enable_ntdll
=${enable_ntdll:-no}
8034 enable_ws2_32
=${enable_ws2_32:-no}
8035 enable_loader
=${enable_loader:-no}
8036 enable_server
=${enable_server:-no}
8037 with_x
=${with_x:-no}
8038 with_pthread
=${with_pthread:-no}
8044 SOCKET_LIBS
="-lws2_32"
8048 LIBWINE_SHAREDLIB
="libwine.dll"
8050 LIBWINE_IMPORTLIB
="libwine.a"
8052 LIBWINE_INSTALL_LIB
="libwine.dll"
8054 LIBWINE_INSTALL_DEV
="libwine.a"
8056 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
8058 LIBWINE_DEPENDS
="wine.def"
8063 for ac_header
in libunwind.h
8065 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8066 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8067 cat >>confdefs.h
<<_ACEOF
8068 #define HAVE_LIBUNWIND_H 1
8076 DLLFLAGS
="$DLLFLAGS -fPIC"
8077 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8078 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8079 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8081 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8083 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8085 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8087 CORESERVICES_LIBS
="-framework CoreServices"
8089 APPKIT_LIBS
="-framework AppKit"
8091 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8093 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8094 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8095 $as_echo_n "(cached) " >&6
8097 ac_wine_try_cflags_saved
=$CFLAGS
8098 CFLAGS
="$CFLAGS -Wl,-no_pie"
8099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8100 /* end confdefs.h. */
8101 int main(int argc, char **argv) { return 0; }
8103 if ac_fn_c_try_link
"$LINENO"; then :
8104 ac_cv_cflags__Wl__no_pie
=yes
8106 ac_cv_cflags__Wl__no_pie
=no
8108 rm -f core conftest.err conftest.
$ac_objext \
8109 conftest
$ac_exeext conftest.
$ac_ext
8110 CFLAGS
=$ac_wine_try_cflags_saved
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8113 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8114 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8115 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8117 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8119 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8122 if test "$ac_cv_header_Security_Security_h" = "yes"
8124 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8126 ac_save_LIBS
="$LIBS"
8127 LIBS
="$LIBS $SECURITY_LIBS"
8128 for ac_func
in SSLCopyPeerCertificates
8130 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8131 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8132 cat >>confdefs.h
<<_ACEOF
8133 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8139 LIBS
="$ac_save_LIBS"
8140 with_gnutls
=${with_gnutls:-no}
8142 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8144 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8146 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8149 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8152 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8153 ac_save_LIBS
="$LIBS"
8154 LIBS
="$LIBS $COREAUDIO_LIBS"
8155 for ac_func
in AUGraphAddNode
8157 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8158 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8159 cat >>confdefs.h
<<_ACEOF
8160 #define HAVE_AUGRAPHADDNODE 1
8166 LIBS
="$ac_save_LIBS"
8168 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8170 OPENAL_LIBS
="-framework OpenAL"
8173 cat >>confdefs.h
<<_ACEOF
8174 #define HAVE_OPENAL 1
8177 ac_cv_lib_openal
=yes
8179 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8181 OPENCL_LIBS
="-framework OpenCL"
8183 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8185 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8187 ac_save_LIBS
="$LIBS"
8188 LIBS
="$LIBS $IOKIT_LIBS"
8189 for ac_func
in IOHIDManagerCreate
8191 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8192 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8193 cat >>confdefs.h
<<_ACEOF
8194 #define HAVE_IOHIDMANAGERCREATE 1
8200 LIBS
="$ac_save_LIBS"
8202 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8204 ac_save_LIBS
="$LIBS"
8205 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8207 $as_echo_n "checking for the QuickTime framework... " >&6; }
8208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8209 /* end confdefs.h. */
8210 #include <QuickTime/ImageCompression.h>
8214 CodecManagerVersion(NULL);
8219 if ac_fn_c_try_link
"$LINENO"; then :
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8221 $as_echo "yes" >&6; }
8222 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8224 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8227 $as_echo "no" >&6; }
8228 ac_cv_header_QuickTime_ImageCompression_h
=no
8230 rm -f core conftest.err conftest.
$ac_objext \
8231 conftest
$ac_exeext conftest.
$ac_ext
8232 LIBS
="$ac_save_LIBS"
8234 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8236 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8238 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8240 CARBON_LIBS
="-framework Carbon"
8244 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8246 ac_save_LIBS
="$LIBS"
8247 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8248 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8249 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8250 enable_winemac_drv
=${enable_winemac_drv:-yes}
8253 LIBS
="$ac_save_LIBS"
8256 if test "x$enable_win16" = "xyes"
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8259 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8260 if test "$cross_compiling" = yes; then :
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8262 $as_echo "cross-compiling, assuming yes" >&6; }
8264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8265 /* end confdefs.h. */
8268 "good:\tnop;nop\n\t"
8269 ".globl _testfunc\n"
8270 "_testfunc:\tcallw good");
8271 extern void testfunc();
8275 unsigned short *p = (unsigned short *)testfunc;
8276 return p[0] != 0xe866 || p[1] != 0xfffa
8281 if ac_fn_c_try_run
"$LINENO"; then :
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8283 $as_echo "yes" >&6; }
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8286 $as_echo "no" >&6; }
8287 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
8289 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8290 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8295 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8297 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8299 LIBWINE_INSTALL_DEV
="libwine.dylib"
8301 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8303 WINELOADER_DEPENDS
="wine_info.plist"
8308 DLLFLAGS
="$DLLFLAGS -fPIC"
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8310 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8311 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8312 $as_echo_n "(cached) " >&6
8314 ac_wine_try_cflags_saved
=$CFLAGS
8315 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8317 /* end confdefs.h. */
8318 int main(int argc, char **argv) { return 0; }
8320 if ac_fn_c_try_link
"$LINENO"; then :
8321 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8323 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8325 rm -f core conftest.err conftest.
$ac_objext \
8326 conftest
$ac_exeext conftest.
$ac_ext
8327 CFLAGS
=$ac_wine_try_cflags_saved
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8330 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8331 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8332 LDEXECFLAGS
="-Wl,--export-dynamic"
8334 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8336 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8337 if eval \
${$as_ac_var+:} false
; then :
8338 $as_echo_n "(cached) " >&6
8340 ac_wine_try_cflags_saved
=$CFLAGS
8341 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8343 /* end confdefs.h. */
8344 int main(int argc, char **argv) { return 0; }
8346 if ac_fn_c_try_link
"$LINENO"; then :
8347 eval "$as_ac_var=yes"
8349 eval "$as_ac_var=no"
8351 rm -f core conftest.err conftest.
$ac_objext \
8352 conftest
$ac_exeext conftest.
$ac_ext
8353 CFLAGS
=$ac_wine_try_cflags_saved
8355 eval ac_res
=\$
$as_ac_var
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8357 $as_echo "$ac_res" >&6; }
8358 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8359 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8360 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8362 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8364 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8365 if eval \
${$as_ac_var+:} false
; then :
8366 $as_echo_n "(cached) " >&6
8368 ac_wine_try_cflags_saved
=$CFLAGS
8369 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8371 /* end confdefs.h. */
8372 int main(int argc, char **argv) { return 0; }
8374 if ac_fn_c_try_link
"$LINENO"; then :
8375 eval "$as_ac_var=yes"
8377 eval "$as_ac_var=no"
8379 rm -f core conftest.err conftest.
$ac_objext \
8380 conftest
$ac_exeext conftest.
$ac_ext
8381 CFLAGS
=$ac_wine_try_cflags_saved
8383 eval ac_res
=\$
$as_ac_var
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8385 $as_echo "$ac_res" >&6; }
8386 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8387 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8388 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8393 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8394 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8395 $as_echo_n "(cached) " >&6
8397 ac_wine_try_cflags_saved
=$CFLAGS
8398 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8400 /* end confdefs.h. */
8401 int main(int argc, char **argv) { return 0; }
8403 if ac_fn_c_try_link
"$LINENO"; then :
8404 ac_cv_cflags__Wl___enable_new_dtags
=yes
8406 ac_cv_cflags__Wl___enable_new_dtags
=no
8408 rm -f core conftest.err conftest.
$ac_objext \
8409 conftest
$ac_exeext conftest.
$ac_ext
8410 CFLAGS
=$ac_wine_try_cflags_saved
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8413 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8414 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8415 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8418 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8419 if ${ac_cv_cflags__Wl__pie+:} false
; then :
8420 $as_echo_n "(cached) " >&6
8422 ac_wine_try_cflags_saved
=$CFLAGS
8423 CFLAGS
="$CFLAGS -Wl,-pie"
8424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8425 /* end confdefs.h. */
8426 int main(int argc, char **argv) { return 0; }
8428 if ac_fn_c_try_link
"$LINENO"; then :
8429 ac_cv_cflags__Wl__pie
=yes
8431 ac_cv_cflags__Wl__pie
=no
8433 rm -f core conftest.err conftest.
$ac_objext \
8434 conftest
$ac_exeext conftest.
$ac_ext
8435 CFLAGS
=$ac_wine_try_cflags_saved
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8438 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8439 if test "x$ac_cv_cflags__Wl__pie" = xyes
; then :
8440 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,-pie"
8443 LIBWINE_SHAREDLIB
="libwine.so"
8445 LIBWINE_INSTALL_LIB
="libwine.so"
8447 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so"
8452 DLLFLAGS
="$DLLFLAGS -fPIC"
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8455 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8456 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8457 $as_echo_n "(cached) " >&6
8459 ac_wine_try_cflags_saved
=$CFLAGS
8460 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8462 /* end confdefs.h. */
8465 if ac_fn_c_try_link
"$LINENO"; then :
8466 ac_cv_c_dll_gnuelf
="yes"
8468 ac_cv_c_dll_gnuelf
="no"
8470 rm -f core conftest.err conftest.
$ac_objext \
8471 conftest
$ac_exeext conftest.
$ac_ext
8472 CFLAGS
=$ac_wine_try_cflags_saved
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8475 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8476 if test "$ac_cv_c_dll_gnuelf" = "yes"
8478 LIBWINE_LDFLAGS
="-shared"
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8480 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8481 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8482 $as_echo_n "(cached) " >&6
8484 ac_wine_try_cflags_saved
=$CFLAGS
8485 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8487 /* end confdefs.h. */
8488 int main(int argc, char **argv) { return 0; }
8490 if ac_fn_c_try_link
"$LINENO"; then :
8491 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8493 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8495 rm -f core conftest.err conftest.
$ac_objext \
8496 conftest
$ac_exeext conftest.
$ac_ext
8497 CFLAGS
=$ac_wine_try_cflags_saved
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8500 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8501 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8502 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8505 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8506 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8507 $as_echo_n "(cached) " >&6
8509 ac_wine_try_cflags_saved
=$CFLAGS
8510 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8512 /* end confdefs.h. */
8513 int main(int argc, char **argv) { return 0; }
8515 if ac_fn_c_try_link
"$LINENO"; then :
8516 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8518 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8520 rm -f core conftest.err conftest.
$ac_objext \
8521 conftest
$ac_exeext conftest.
$ac_ext
8522 CFLAGS
=$ac_wine_try_cflags_saved
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8525 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8526 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8527 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8531 echo '{ global: *; };' >conftest.map
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8533 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8534 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8535 $as_echo_n "(cached) " >&6
8537 ac_wine_try_cflags_saved
=$CFLAGS
8538 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8540 /* end confdefs.h. */
8541 int main(int argc, char **argv) { return 0; }
8543 if ac_fn_c_try_link
"$LINENO"; then :
8544 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8546 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8548 rm -f core conftest.err conftest.
$ac_objext \
8549 conftest
$ac_exeext conftest.
$ac_ext
8550 CFLAGS
=$ac_wine_try_cflags_saved
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8553 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8554 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8555 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8560 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8561 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8562 $as_echo_n "(cached) " >&6
8564 ac_wine_try_cflags_saved
=$CFLAGS
8565 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8567 /* end confdefs.h. */
8568 int main(int argc, char **argv) { return 0; }
8570 if ac_fn_c_try_link
"$LINENO"; then :
8571 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8573 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8575 rm -f core conftest.err conftest.
$ac_objext \
8576 conftest
$ac_exeext conftest.
$ac_ext
8577 CFLAGS
=$ac_wine_try_cflags_saved
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8580 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8581 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8582 LDEXECFLAGS
="-Wl,--export-dynamic"
8585 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8587 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8588 if eval \
${$as_ac_var+:} false
; then :
8589 $as_echo_n "(cached) " >&6
8591 ac_wine_try_cflags_saved
=$CFLAGS
8592 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8594 /* end confdefs.h. */
8595 int main(int argc, char **argv) { return 0; }
8597 if ac_fn_c_try_link
"$LINENO"; then :
8598 eval "$as_ac_var=yes"
8600 eval "$as_ac_var=no"
8602 rm -f core conftest.err conftest.
$ac_objext \
8603 conftest
$ac_exeext conftest.
$ac_ext
8604 CFLAGS
=$ac_wine_try_cflags_saved
8606 eval ac_res
=\$
$as_ac_var
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8608 $as_echo "$ac_res" >&6; }
8609 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8610 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8611 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8613 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8615 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8616 if eval \
${$as_ac_var+:} false
; then :
8617 $as_echo_n "(cached) " >&6
8619 ac_wine_try_cflags_saved
=$CFLAGS
8620 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8622 /* end confdefs.h. */
8623 int main(int argc, char **argv) { return 0; }
8625 if ac_fn_c_try_link
"$LINENO"; then :
8626 eval "$as_ac_var=yes"
8628 eval "$as_ac_var=no"
8630 rm -f core conftest.err conftest.
$ac_objext \
8631 conftest
$ac_exeext conftest.
$ac_ext
8632 CFLAGS
=$ac_wine_try_cflags_saved
8634 eval ac_res
=\$
$as_ac_var
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8636 $as_echo "$ac_res" >&6; }
8637 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8638 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8639 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8644 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8645 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8646 $as_echo_n "(cached) " >&6
8648 ac_wine_try_cflags_saved
=$CFLAGS
8649 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8651 /* end confdefs.h. */
8652 int main(int argc, char **argv) { return 0; }
8654 if ac_fn_c_try_link
"$LINENO"; then :
8655 ac_cv_cflags__Wl___enable_new_dtags
=yes
8657 ac_cv_cflags__Wl___enable_new_dtags
=no
8659 rm -f core conftest.err conftest.
$ac_objext \
8660 conftest
$ac_exeext conftest.
$ac_ext
8661 CFLAGS
=$ac_wine_try_cflags_saved
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8664 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8665 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8666 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8670 *i
[3456789]86* | x86_64
)
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8672 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8673 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8674 $as_echo_n "(cached) " >&6
8676 ac_wine_try_cflags_saved
=$CFLAGS
8677 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8679 /* end confdefs.h. */
8680 int main(int argc, char **argv) { return 0; }
8682 if ac_fn_c_try_link
"$LINENO"; then :
8683 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8685 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8687 rm -f core conftest.err conftest.
$ac_objext \
8688 conftest
$ac_exeext conftest.
$ac_ext
8689 CFLAGS
=$ac_wine_try_cflags_saved
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8692 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8693 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8695 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8696 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8700 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8701 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false
; then :
8702 $as_echo_n "(cached) " >&6
8704 ac_wine_try_cflags_saved
=$CFLAGS
8705 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8707 /* end confdefs.h. */
8708 int main(int argc, char **argv) { return 0; }
8710 if ac_fn_c_try_link
"$LINENO"; then :
8711 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=yes
8713 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=no
8715 rm -f core conftest.err conftest.
$ac_objext \
8716 conftest
$ac_exeext conftest.
$ac_ext
8717 CFLAGS
=$ac_wine_try_cflags_saved
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8720 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8721 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes
; then :
8723 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8724 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8727 # Extract the first word of "prelink", so it can be a program name with args.
8728 set dummy prelink
; ac_word
=$2
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8730 $as_echo_n "checking for $ac_word... " >&6; }
8731 if ${ac_cv_path_PRELINK+:} false
; then :
8732 $as_echo_n "(cached) " >&6
8736 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8740 for as_dir
in /sbin
/usr
/sbin
$PATH
8743 test -z "$as_dir" && as_dir
=.
8744 for ac_exec_ext
in '' $ac_executable_extensions; do
8745 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8746 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8754 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8758 PRELINK
=$ac_cv_path_PRELINK
8759 if test -n "$PRELINK"; then
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8761 $as_echo "$PRELINK" >&6; }
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8764 $as_echo "no" >&6; }
8768 if test "x$PRELINK" = xfalse
8770 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8774 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8775 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false
; then :
8776 $as_echo_n "(cached) " >&6
8778 ac_wine_try_cflags_saved
=$CFLAGS
8779 CFLAGS
="$CFLAGS -Wl,-z,max-page-size=0x1000"
8780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8781 /* end confdefs.h. */
8782 int main(int argc, char **argv) { return 0; }
8784 if ac_fn_c_try_link
"$LINENO"; then :
8785 ac_cv_cflags__Wl__z_max_page_size_0x1000
=yes
8787 ac_cv_cflags__Wl__z_max_page_size_0x1000
=no
8789 rm -f core conftest.err conftest.
$ac_objext \
8790 conftest
$ac_exeext conftest.
$ac_ext
8791 CFLAGS
=$ac_wine_try_cflags_saved
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8794 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8795 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
; then :
8796 LDEXECFLAGS
="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8803 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8804 if ${ac_cv_c_dll_unixware+:} false
; then :
8805 $as_echo_n "(cached) " >&6
8807 ac_wine_try_cflags_saved
=$CFLAGS
8808 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8810 /* end confdefs.h. */
8813 if ac_fn_c_try_link
"$LINENO"; then :
8814 ac_cv_c_dll_unixware
="yes"
8816 ac_cv_c_dll_unixware
="no"
8818 rm -f core conftest.err conftest.
$ac_objext \
8819 conftest
$ac_exeext conftest.
$ac_ext
8820 CFLAGS
=$ac_wine_try_cflags_saved
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8823 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8824 if test "$ac_cv_c_dll_unixware" = "yes"
8826 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
8829 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
8831 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8833 LIBWINE_INSTALL_DEV
="libwine.so"
8835 LIBWINE_DEPENDS
="wine.map"
8840 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
8841 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8842 enable_winemac_drv
=${enable_winemac_drv:-no}
8843 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
8847 if test "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8851 ac_prefix_list
="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8853 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
8854 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8857 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
8858 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8860 ac_prefix_list
="" ;;
8862 for ac_prog
in $ac_prefix_list
8864 # Extract the first word of "$ac_prog", so it can be a program name with args.
8865 set dummy
$ac_prog; ac_word
=$2
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8867 $as_echo_n "checking for $ac_word... " >&6; }
8868 if ${ac_cv_prog_CROSSCC+:} false
; then :
8869 $as_echo_n "(cached) " >&6
8871 if test -n "$CROSSCC"; then
8872 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8878 test -z "$as_dir" && as_dir
=.
8879 for ac_exec_ext
in '' $ac_executable_extensions; do
8880 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8881 ac_cv_prog_CROSSCC
="$ac_prog"
8882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8891 CROSSCC
=$ac_cv_prog_CROSSCC
8892 if test -n "$CROSSCC"; then
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8894 $as_echo "$CROSSCC" >&6; }
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8897 $as_echo "no" >&6; }
8901 test -n "$CROSSCC" && break
8903 test -n "$CROSSCC" || CROSSCC
="false"
8905 if test "$CROSSCC" != "false"
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8910 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8912 /* end confdefs.h. */
8922 if ac_fn_c_try_compile
"$LINENO"; then :
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8924 $as_echo "yes" >&6; }
8930 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8931 *-clang) CROSSTARGET
=`expr "$1" : '\(.*\)-clang'` ;;
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8937 $as_echo "no" >&6; }
8939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8945 if test "$ac_cv_header_pthread_h" = "yes"
8947 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8948 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8952 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8953 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8954 $as_echo_n "(cached) " >&6
8956 ac_check_lib_save_LIBS
=$LIBS
8957 LIBS
="-lpthread $LIBS"
8958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8959 /* end confdefs.h. */
8961 /* Override any GCC internal prototype to avoid an error.
8962 Use char because int might match the return type of a GCC
8963 builtin and then its argument prototype would still apply. */
8967 char pthread_create ();
8971 return pthread_create ();
8976 if ac_fn_c_try_link
"$LINENO"; then :
8977 ac_cv_lib_pthread_pthread_create
=yes
8979 ac_cv_lib_pthread_pthread_create
=no
8981 rm -f core conftest.err conftest.
$ac_objext \
8982 conftest
$ac_exeext conftest.
$ac_ext
8983 LIBS
=$ac_check_lib_save_LIBS
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8986 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8987 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8988 PTHREAD_LIBS
="-lpthread"
8995 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8996 case "x$with_pthread" in
8998 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8999 Wine cannot support threads without libpthread.
9000 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9007 $as_echo_n "checking for X... " >&6; }
9010 # Check whether --with-x was given.
9011 if test "${with_x+set}" = set; then :
9015 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9016 if test "x$with_x" = xno
; then
9017 # The user explicitly disabled X.
9020 case $x_includes,$x_libraries in #(
9021 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
9022 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
9023 $as_echo_n "(cached) " >&6
9025 # One or both of the vars are not set, and there is no cached value.
9026 ac_x_includes
=no ac_x_libraries
=no
9027 rm -f -r conftest.dir
9028 if mkdir conftest.dir
; then
9030 cat >Imakefile
<<'_ACEOF'
9032 @echo incroot='${INCROOT}'
9034 @echo usrlibdir='${USRLIBDIR}'
9036 @echo libdir='${LIBDIR}'
9038 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9039 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9040 for ac_var
in incroot usrlibdir libdir
; do
9041 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9043 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9044 for ac_extension
in a so sl dylib la dll
; do
9045 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9046 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9047 ac_im_usrlibdir
=$ac_im_libdir; break
9050 # Screen out bogus values from the imake configuration. They are
9051 # bogus both because they are the default anyway, and because
9052 # using them would break gcc on systems where it needs fixed includes.
9053 case $ac_im_incroot in
9054 /usr
/include
) ac_x_includes
= ;;
9055 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9057 case $ac_im_usrlibdir in
9058 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9059 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9063 rm -f -r conftest.dir
9066 # Standard set of common directories for X headers.
9067 # Check X11 before X11Rn because it is often a symlink to the current release.
9081 /usr/local/X11/include
9082 /usr/local/X11R7/include
9083 /usr/local/X11R6/include
9084 /usr/local/X11R5/include
9085 /usr/local/X11R4/include
9087 /usr/local/include/X11
9088 /usr/local/include/X11R7
9089 /usr/local/include/X11R6
9090 /usr/local/include/X11R5
9091 /usr/local/include/X11R4
9095 /usr/XFree86/include/X11
9099 /usr/unsupported/include
9101 /usr/local/x11r5/include
9102 /usr/lpp/Xamples/include
9104 /usr/openwin/include
9105 /usr/openwin/share/include'
9107 if test "$ac_x_includes" = no
; then
9108 # Guess where to find include files, by looking for Xlib.h.
9109 # First, try using that file with no special directory specified.
9110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9111 /* end confdefs.h. */
9112 #include <X11/Xlib.h>
9114 if ac_fn_c_try_cpp
"$LINENO"; then :
9115 # We can compile using X headers with no special include directory.
9118 for ac_dir
in $ac_x_header_dirs; do
9119 if test -r "$ac_dir/X11/Xlib.h"; then
9120 ac_x_includes
=$ac_dir
9125 rm -f conftest.err conftest.i conftest.
$ac_ext
9126 fi # $ac_x_includes = no
9128 if test "$ac_x_libraries" = no
; then
9129 # Check for the libraries.
9130 # See if we find them without any special options.
9131 # Don't add to $LIBS permanently.
9134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9135 /* end confdefs.h. */
9136 #include <X11/Xlib.h>
9145 if ac_fn_c_try_link
"$LINENO"; then :
9147 # We can link X programs with no special library path.
9151 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9153 # Don't even attempt the hair of trying to link an X program!
9154 for ac_extension
in a so sl dylib la dll
; do
9155 if test -r "$ac_dir/libX11.$ac_extension"; then
9156 ac_x_libraries
=$ac_dir
9162 rm -f core conftest.err conftest.
$ac_objext \
9163 conftest
$ac_exeext conftest.
$ac_ext
9164 fi # $ac_x_libraries = no
9166 case $ac_x_includes,$ac_x_libraries in #(
9168 # Didn't find X, or a directory has "'" in its name.
9169 ac_cv_have_x
="have_x=no";; #(
9171 # Record where we found X for the cache.
9172 ac_cv_have_x
="have_x=yes\
9173 ac_x_includes='$ac_x_includes'\
9174 ac_x_libraries='$ac_x_libraries'"
9180 eval "$ac_cv_have_x"
9183 if test "$have_x" != yes; then
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9185 $as_echo "$have_x" >&6; }
9188 # If each of the values was on the command line, it overrides each guess.
9189 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9190 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9191 # Update the cache value to reflect the command line values.
9192 ac_cv_have_x
="have_x=yes\
9193 ac_x_includes='$x_includes'\
9194 ac_x_libraries='$x_libraries'"
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9196 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9199 if test "$no_x" = yes; then
9200 # Not all programs may use this symbol, but it does not hurt to define it.
9202 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9204 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9206 if test -n "$x_includes"; then
9207 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9210 # It would also be nice to do this for all -L options, not just this one.
9211 if test -n "$x_libraries"; then
9212 X_LIBS
="$X_LIBS -L$x_libraries"
9213 # For Solaris; some versions of Sun CC require a space after -R and
9214 # others require no space. Words are not sufficient . . . .
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9216 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9217 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9218 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9219 ac_c_werror_flag
=yes
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: no" >&5
9233 $as_echo "no" >&6; }
9234 X_LIBS
="$X_LIBS -R$x_libraries"
9236 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9238 /* end confdefs.h. */
9248 if ac_fn_c_try_link
"$LINENO"; then :
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9250 $as_echo "yes" >&6; }
9251 X_LIBS
="$X_LIBS -R $x_libraries"
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9254 $as_echo "neither works" >&6; }
9256 rm -f core conftest.err conftest.
$ac_objext \
9257 conftest
$ac_exeext conftest.
$ac_ext
9259 rm -f core conftest.err conftest.
$ac_objext \
9260 conftest
$ac_exeext conftest.
$ac_ext
9261 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9265 # Check for system-dependent libraries X programs must link with.
9266 # Do this before checking for the system-independent R6 libraries
9267 # (-lICE), since we may need -lsocket or whatever for X linking.
9269 if test "$ISC" = yes; then
9270 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9272 # Martyn Johnson says this is needed for Ultrix, if the X
9273 # libraries were built with DECnet support. And Karl Berry says
9274 # the Alpha needs dnet_stub (dnet does not exist).
9275 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9277 /* end confdefs.h. */
9279 /* Override any GCC internal prototype to avoid an error.
9280 Use char because int might match the return type of a GCC
9281 builtin and then its argument prototype would still apply. */
9285 char XOpenDisplay ();
9289 return XOpenDisplay ();
9294 if ac_fn_c_try_link
"$LINENO"; then :
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9298 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9299 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9300 $as_echo_n "(cached) " >&6
9302 ac_check_lib_save_LIBS
=$LIBS
9304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9305 /* end confdefs.h. */
9307 /* Override any GCC internal prototype to avoid an error.
9308 Use char because int might match the return type of a GCC
9309 builtin and then its argument prototype would still apply. */
9317 return dnet_ntoa ();
9322 if ac_fn_c_try_link
"$LINENO"; then :
9323 ac_cv_lib_dnet_dnet_ntoa
=yes
9325 ac_cv_lib_dnet_dnet_ntoa
=no
9327 rm -f core conftest.err conftest.
$ac_objext \
9328 conftest
$ac_exeext conftest.
$ac_ext
9329 LIBS
=$ac_check_lib_save_LIBS
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9332 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9333 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9334 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9337 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9339 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9340 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9341 $as_echo_n "(cached) " >&6
9343 ac_check_lib_save_LIBS
=$LIBS
9344 LIBS
="-ldnet_stub $LIBS"
9345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9346 /* end confdefs.h. */
9348 /* Override any GCC internal prototype to avoid an error.
9349 Use char because int might match the return type of a GCC
9350 builtin and then its argument prototype would still apply. */
9358 return dnet_ntoa ();
9363 if ac_fn_c_try_link
"$LINENO"; then :
9364 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9366 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9368 rm -f core conftest.err conftest.
$ac_objext \
9369 conftest
$ac_exeext conftest.
$ac_ext
9370 LIBS
=$ac_check_lib_save_LIBS
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9373 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9374 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9375 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9380 rm -f core conftest.err conftest.
$ac_objext \
9381 conftest
$ac_exeext conftest.
$ac_ext
9382 LIBS
="$ac_xsave_LIBS"
9384 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9385 # to get the SysV transport functions.
9386 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9388 # The nsl library prevents programs from opening the X display
9389 # on Irix 5.2, according to T.E. Dickey.
9390 # The functions gethostbyname, getservbyname, and inet_addr are
9391 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9392 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9393 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9397 if test $ac_cv_func_gethostbyname = no
; then
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9399 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9400 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9401 $as_echo_n "(cached) " >&6
9403 ac_check_lib_save_LIBS
=$LIBS
9405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9406 /* end confdefs.h. */
9408 /* Override any GCC internal prototype to avoid an error.
9409 Use char because int might match the return type of a GCC
9410 builtin and then its argument prototype would still apply. */
9414 char gethostbyname ();
9418 return gethostbyname ();
9423 if ac_fn_c_try_link
"$LINENO"; then :
9424 ac_cv_lib_nsl_gethostbyname
=yes
9426 ac_cv_lib_nsl_gethostbyname
=no
9428 rm -f core conftest.err conftest.
$ac_objext \
9429 conftest
$ac_exeext conftest.
$ac_ext
9430 LIBS
=$ac_check_lib_save_LIBS
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9433 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9434 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9435 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9438 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9440 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9441 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9442 $as_echo_n "(cached) " >&6
9444 ac_check_lib_save_LIBS
=$LIBS
9446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9447 /* end confdefs.h. */
9449 /* Override any GCC internal prototype to avoid an error.
9450 Use char because int might match the return type of a GCC
9451 builtin and then its argument prototype would still apply. */
9455 char gethostbyname ();
9459 return gethostbyname ();
9464 if ac_fn_c_try_link
"$LINENO"; then :
9465 ac_cv_lib_bsd_gethostbyname
=yes
9467 ac_cv_lib_bsd_gethostbyname
=no
9469 rm -f core conftest.err conftest.
$ac_objext \
9470 conftest
$ac_exeext conftest.
$ac_ext
9471 LIBS
=$ac_check_lib_save_LIBS
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9474 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9475 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9476 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9482 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9483 # socket/setsockopt and other routines are undefined under SCO ODT
9484 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9485 # on later versions), says Simon Leinen: it contains gethostby*
9486 # variants that don't use the name server (or something). -lsocket
9487 # must be given before -lnsl if both are needed. We assume that
9488 # if connect needs -lnsl, so does gethostbyname.
9489 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9490 if test "x$ac_cv_func_connect" = xyes
; then :
9494 if test $ac_cv_func_connect = no
; then
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9496 $as_echo_n "checking for connect in -lsocket... " >&6; }
9497 if ${ac_cv_lib_socket_connect+:} false
; then :
9498 $as_echo_n "(cached) " >&6
9500 ac_check_lib_save_LIBS
=$LIBS
9501 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9503 /* end confdefs.h. */
9505 /* Override any GCC internal prototype to avoid an error.
9506 Use char because int might match the return type of a GCC
9507 builtin and then its argument prototype would still apply. */
9520 if ac_fn_c_try_link
"$LINENO"; then :
9521 ac_cv_lib_socket_connect
=yes
9523 ac_cv_lib_socket_connect
=no
9525 rm -f core conftest.err conftest.
$ac_objext \
9526 conftest
$ac_exeext conftest.
$ac_ext
9527 LIBS
=$ac_check_lib_save_LIBS
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9530 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9531 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9532 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9537 # Guillermo Gomez says -lposix is necessary on A/UX.
9538 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9539 if test "x$ac_cv_func_remove" = xyes
; then :
9543 if test $ac_cv_func_remove = no
; then
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9545 $as_echo_n "checking for remove in -lposix... " >&6; }
9546 if ${ac_cv_lib_posix_remove+:} false
; then :
9547 $as_echo_n "(cached) " >&6
9549 ac_check_lib_save_LIBS
=$LIBS
9550 LIBS
="-lposix $LIBS"
9551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9552 /* end confdefs.h. */
9554 /* Override any GCC internal prototype to avoid an error.
9555 Use char because int might match the return type of a GCC
9556 builtin and then its argument prototype would still apply. */
9569 if ac_fn_c_try_link
"$LINENO"; then :
9570 ac_cv_lib_posix_remove
=yes
9572 ac_cv_lib_posix_remove
=no
9574 rm -f core conftest.err conftest.
$ac_objext \
9575 conftest
$ac_exeext conftest.
$ac_ext
9576 LIBS
=$ac_check_lib_save_LIBS
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9579 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9580 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9581 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9586 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9587 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9588 if test "x$ac_cv_func_shmat" = xyes
; then :
9592 if test $ac_cv_func_shmat = no
; then
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9594 $as_echo_n "checking for shmat in -lipc... " >&6; }
9595 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9596 $as_echo_n "(cached) " >&6
9598 ac_check_lib_save_LIBS
=$LIBS
9600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9601 /* end confdefs.h. */
9603 /* Override any GCC internal prototype to avoid an error.
9604 Use char because int might match the return type of a GCC
9605 builtin and then its argument prototype would still apply. */
9618 if ac_fn_c_try_link
"$LINENO"; then :
9619 ac_cv_lib_ipc_shmat
=yes
9621 ac_cv_lib_ipc_shmat
=no
9623 rm -f core conftest.err conftest.
$ac_objext \
9624 conftest
$ac_exeext conftest.
$ac_ext
9625 LIBS
=$ac_check_lib_save_LIBS
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9628 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9629 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9630 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9636 # Check for libraries that X11R6 Xt/Xaw programs need.
9637 ac_save_LDFLAGS
=$LDFLAGS
9638 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9639 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9640 # check for ICE first), but we must link in the order -lSM -lICE or
9641 # we get undefined symbols. So assume we have SM if we have ICE.
9642 # These have to be linked with before -lX11, unlike the other
9643 # libraries we check for below, so use a different variable.
9644 # John Interrante, Karl Berry
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9646 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9647 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9648 $as_echo_n "(cached) " >&6
9650 ac_check_lib_save_LIBS
=$LIBS
9651 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9653 /* end confdefs.h. */
9655 /* Override any GCC internal prototype to avoid an error.
9656 Use char because int might match the return type of a GCC
9657 builtin and then its argument prototype would still apply. */
9661 char IceConnectionNumber ();
9665 return IceConnectionNumber ();
9670 if ac_fn_c_try_link
"$LINENO"; then :
9671 ac_cv_lib_ICE_IceConnectionNumber
=yes
9673 ac_cv_lib_ICE_IceConnectionNumber
=no
9675 rm -f core conftest.err conftest.
$ac_objext \
9676 conftest
$ac_exeext conftest.
$ac_ext
9677 LIBS
=$ac_check_lib_save_LIBS
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9680 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9681 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9682 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9685 LDFLAGS
=$ac_save_LDFLAGS
9690 if test "$have_x" = "yes"
9692 ac_save_CPPFLAGS
="$CPPFLAGS"
9693 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9696 $as_echo_n "checking for -lX11... " >&6; }
9697 if ${ac_cv_lib_soname_X11+:} false
; then :
9698 $as_echo_n "(cached) " >&6
9700 ac_check_soname_save_LIBS
=$LIBS
9701 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9703 /* end confdefs.h. */
9705 /* Override any GCC internal prototype to avoid an error.
9706 Use char because int might match the return type of a GCC
9707 builtin and then its argument prototype would still apply. */
9711 char XCreateWindow ();
9715 return XCreateWindow ();
9720 if ac_fn_c_try_link
"$LINENO"; then :
9722 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9723 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'` ;;
9724 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9725 if ${ac_cv_lib_soname_X11:+false} :; then :
9726 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9730 rm -f core conftest.err conftest.
$ac_objext \
9731 conftest
$ac_exeext conftest.
$ac_ext
9732 LIBS
=$ac_check_soname_save_LIBS
9734 if ${ac_cv_lib_soname_X11:+false} :; then :
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9736 $as_echo "not found" >&6; }
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9740 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9742 cat >>confdefs.h
<<_ACEOF
9743 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9749 $as_echo_n "checking for -lXext... " >&6; }
9750 if ${ac_cv_lib_soname_Xext+:} false
; then :
9751 $as_echo_n "(cached) " >&6
9753 ac_check_soname_save_LIBS
=$LIBS
9754 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9756 /* end confdefs.h. */
9758 /* Override any GCC internal prototype to avoid an error.
9759 Use char because int might match the return type of a GCC
9760 builtin and then its argument prototype would still apply. */
9764 char XextCreateExtension ();
9768 return XextCreateExtension ();
9773 if ac_fn_c_try_link
"$LINENO"; then :
9775 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9776 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'` ;;
9777 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9778 if ${ac_cv_lib_soname_Xext:+false} :; then :
9779 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9783 rm -f core conftest.err conftest.
$ac_objext \
9784 conftest
$ac_exeext conftest.
$ac_ext
9785 LIBS
=$ac_check_soname_save_LIBS
9787 if ${ac_cv_lib_soname_Xext:+false} :; then :
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9789 $as_echo "not found" >&6; }
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9793 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9795 cat >>confdefs.h
<<_ACEOF
9796 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9799 X_LIBS
="$X_LIBS -lXext"
9801 X_LIBS
="$X_LIBS -lX11"
9803 for ac_header
in X11
/Xlib.h \
9806 X11
/Xcursor
/Xcursor.h \
9807 X11
/extensions
/shape.h \
9808 X11
/extensions
/XInput.h \
9809 X11
/extensions
/XInput2.h \
9810 X11
/extensions
/XShm.h \
9811 X11
/extensions
/Xcomposite.h \
9812 X11
/extensions
/Xinerama.h \
9813 X11
/extensions
/Xrandr.h \
9814 X11
/extensions
/Xrender.h \
9815 X11
/extensions
/xf86vmode.h \
9816 X11
/extensions
/xf86vmproto.h
9818 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9819 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9820 # include <X11/Xlib.h>
9822 #ifdef HAVE_X11_XUTIL_H
9823 # include <X11/Xutil.h>
9826 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9827 cat >>confdefs.h
<<_ACEOF
9828 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9836 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9839 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9840 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9841 $as_echo_n "(cached) " >&6
9843 ac_check_lib_save_LIBS
=$LIBS
9844 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9846 /* end confdefs.h. */
9848 /* Override any GCC internal prototype to avoid an error.
9849 Use char because int might match the return type of a GCC
9850 builtin and then its argument prototype would still apply. */
9854 char XkbQueryExtension ();
9858 return XkbQueryExtension ();
9863 if ac_fn_c_try_link
"$LINENO"; then :
9864 ac_cv_lib_X11_XkbQueryExtension
=yes
9866 ac_cv_lib_X11_XkbQueryExtension
=no
9868 rm -f core conftest.err conftest.
$ac_objext \
9869 conftest
$ac_exeext conftest.
$ac_ext
9870 LIBS
=$ac_check_lib_save_LIBS
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9873 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9874 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9876 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9882 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9885 $as_echo_n "checking for -lXcursor... " >&6; }
9886 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9887 $as_echo_n "(cached) " >&6
9889 ac_check_soname_save_LIBS
=$LIBS
9890 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9894 /* Override any GCC internal prototype to avoid an error.
9895 Use char because int might match the return type of a GCC
9896 builtin and then its argument prototype would still apply. */
9900 char XcursorImageLoadCursor ();
9904 return XcursorImageLoadCursor ();
9909 if ac_fn_c_try_link
"$LINENO"; then :
9911 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9912 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'` ;;
9913 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9914 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9915 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9919 rm -f core conftest.err conftest.
$ac_objext \
9920 conftest
$ac_exeext conftest.
$ac_ext
9921 LIBS
=$ac_check_soname_save_LIBS
9923 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9925 $as_echo "not found" >&6; }
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9929 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9931 cat >>confdefs.h
<<_ACEOF
9932 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9938 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9939 case "x$with_xcursor" in
9940 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9942 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9943 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9948 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9951 $as_echo_n "checking for -lXi... " >&6; }
9952 if ${ac_cv_lib_soname_Xi+:} false
; then :
9953 $as_echo_n "(cached) " >&6
9955 ac_check_soname_save_LIBS
=$LIBS
9956 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9958 /* end confdefs.h. */
9960 /* Override any GCC internal prototype to avoid an error.
9961 Use char because int might match the return type of a GCC
9962 builtin and then its argument prototype would still apply. */
9966 char XOpenDevice ();
9970 return XOpenDevice ();
9975 if ac_fn_c_try_link
"$LINENO"; then :
9977 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9978 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'` ;;
9979 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9980 if ${ac_cv_lib_soname_Xi:+false} :; then :
9981 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9985 rm -f core conftest.err conftest.
$ac_objext \
9986 conftest
$ac_exeext conftest.
$ac_ext
9987 LIBS
=$ac_check_soname_save_LIBS
9989 if ${ac_cv_lib_soname_Xi:+false} :; then :
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9991 $as_echo "not found" >&6; }
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9995 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9997 cat >>confdefs.h
<<_ACEOF
9998 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10004 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10005 case "x$with_xinput" in
10006 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10008 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10009 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10014 if test "x$ac_cv_lib_soname_Xi" != x
10016 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10017 case "x$with_xinput2" in
10018 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10020 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
10021 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10027 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10030 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10031 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
10032 $as_echo_n "(cached) " >&6
10034 ac_check_lib_save_LIBS
=$LIBS
10035 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10037 /* end confdefs.h. */
10039 /* Override any GCC internal prototype to avoid an error.
10040 Use char because int might match the return type of a GCC
10041 builtin and then its argument prototype would still apply. */
10045 char XShmQueryExtension ();
10049 return XShmQueryExtension ();
10054 if ac_fn_c_try_link
"$LINENO"; then :
10055 ac_cv_lib_Xext_XShmQueryExtension
=yes
10057 ac_cv_lib_Xext_XShmQueryExtension
=no
10059 rm -f core conftest.err conftest.
$ac_objext \
10060 conftest
$ac_exeext conftest.
$ac_ext
10061 LIBS
=$ac_check_lib_save_LIBS
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10064 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10065 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10067 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10072 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10073 case "x$with_xshm" in
10074 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10076 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10077 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10082 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10085 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10086 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10087 $as_echo_n "(cached) " >&6
10089 ac_check_lib_save_LIBS
=$LIBS
10090 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10092 /* end confdefs.h. */
10094 /* Override any GCC internal prototype to avoid an error.
10095 Use char because int might match the return type of a GCC
10096 builtin and then its argument prototype would still apply. */
10100 char XShapeQueryExtension ();
10104 return XShapeQueryExtension ();
10109 if ac_fn_c_try_link
"$LINENO"; then :
10110 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10112 ac_cv_lib_Xext_XShapeQueryExtension
=no
10114 rm -f core conftest.err conftest.
$ac_objext \
10115 conftest
$ac_exeext conftest.
$ac_ext
10116 LIBS
=$ac_check_lib_save_LIBS
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10119 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10120 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10122 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10127 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10128 case "x$with_xshape" in
10129 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10131 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10132 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10137 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10140 $as_echo_n "checking for -lXxf86vm... " >&6; }
10141 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10142 $as_echo_n "(cached) " >&6
10144 ac_check_soname_save_LIBS
=$LIBS
10145 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h. */
10149 /* Override any GCC internal prototype to avoid an error.
10150 Use char because int might match the return type of a GCC
10151 builtin and then its argument prototype would still apply. */
10155 char XF86VidModeQueryExtension ();
10159 return XF86VidModeQueryExtension ();
10164 if ac_fn_c_try_link
"$LINENO"; then :
10166 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10167 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'` ;;
10168 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10169 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10170 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10174 rm -f core conftest.err conftest.
$ac_objext \
10175 conftest
$ac_exeext conftest.
$ac_ext
10176 LIBS
=$ac_check_soname_save_LIBS
10178 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10180 $as_echo "not found" >&6; }
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10184 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10186 cat >>confdefs.h
<<_ACEOF
10187 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10193 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10194 case "x$with_xxf86vm" in
10195 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10197 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10198 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10203 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10206 $as_echo_n "checking for -lXrender... " >&6; }
10207 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10208 $as_echo_n "(cached) " >&6
10210 ac_check_soname_save_LIBS
=$LIBS
10211 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10215 /* Override any GCC internal prototype to avoid an error.
10216 Use char because int might match the return type of a GCC
10217 builtin and then its argument prototype would still apply. */
10221 char XRenderQueryExtension ();
10225 return XRenderQueryExtension ();
10230 if ac_fn_c_try_link
"$LINENO"; then :
10232 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10233 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'` ;;
10234 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10235 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10236 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10240 rm -f core conftest.err conftest.
$ac_objext \
10241 conftest
$ac_exeext conftest.
$ac_ext
10242 LIBS
=$ac_check_soname_save_LIBS
10244 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10246 $as_echo "not found" >&6; }
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10250 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10252 cat >>confdefs.h
<<_ACEOF
10253 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10257 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10258 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10259 $as_echo_n "(cached) " >&6
10261 ac_check_lib_save_LIBS
=$LIBS
10262 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10264 /* end confdefs.h. */
10266 /* Override any GCC internal prototype to avoid an error.
10267 Use char because int might match the return type of a GCC
10268 builtin and then its argument prototype would still apply. */
10272 char XRenderSetPictureTransform ();
10276 return XRenderSetPictureTransform ();
10281 if ac_fn_c_try_link
"$LINENO"; then :
10282 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10284 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10286 rm -f core conftest.err conftest.
$ac_objext \
10287 conftest
$ac_exeext conftest.
$ac_ext
10288 LIBS
=$ac_check_lib_save_LIBS
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10291 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10292 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10294 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10299 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10300 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10301 $as_echo_n "(cached) " >&6
10303 ac_check_lib_save_LIBS
=$LIBS
10304 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10306 /* end confdefs.h. */
10308 /* Override any GCC internal prototype to avoid an error.
10309 Use char because int might match the return type of a GCC
10310 builtin and then its argument prototype would still apply. */
10314 char XRenderCreateLinearGradient ();
10318 return XRenderCreateLinearGradient ();
10323 if ac_fn_c_try_link
"$LINENO"; then :
10324 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10326 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10328 rm -f core conftest.err conftest.
$ac_objext \
10329 conftest
$ac_exeext conftest.
$ac_ext
10330 LIBS
=$ac_check_lib_save_LIBS
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10333 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10334 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10336 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10343 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10344 case "x$with_xrender" in
10345 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10347 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10348 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10353 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10356 /* end confdefs.h. */
10357 #include <X11/Xlib.h>
10358 #include <X11/extensions/Xrandr.h>
10362 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10367 if ac_fn_c_try_compile
"$LINENO"; then :
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10369 $as_echo_n "checking for -lXrandr... " >&6; }
10370 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10371 $as_echo_n "(cached) " >&6
10373 ac_check_soname_save_LIBS
=$LIBS
10374 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10376 /* end confdefs.h. */
10378 /* Override any GCC internal prototype to avoid an error.
10379 Use char because int might match the return type of a GCC
10380 builtin and then its argument prototype would still apply. */
10384 char XRRQueryExtension ();
10388 return XRRQueryExtension ();
10393 if ac_fn_c_try_link
"$LINENO"; then :
10395 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10396 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'` ;;
10397 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10398 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10399 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10403 rm -f core conftest.err conftest.
$ac_objext \
10404 conftest
$ac_exeext conftest.
$ac_ext
10405 LIBS
=$ac_check_soname_save_LIBS
10407 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10409 $as_echo "not found" >&6; }
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10413 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10415 cat >>confdefs.h
<<_ACEOF
10416 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10420 /* end confdefs.h. */
10421 #include <X11/Xlib.h>
10422 #include <X11/extensions/Xrandr.h>
10426 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10431 if ac_fn_c_try_compile
"$LINENO"; then :
10433 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10436 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10441 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10442 case "x$with_xrandr" in
10443 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10445 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10446 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10451 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10454 /* end confdefs.h. */
10455 #include <X11/Xlib.h>
10456 #include <X11/extensions/Xinerama.h>
10460 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10465 if ac_fn_c_try_compile
"$LINENO"; then :
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10467 $as_echo_n "checking for -lXinerama... " >&6; }
10468 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10469 $as_echo_n "(cached) " >&6
10471 ac_check_soname_save_LIBS
=$LIBS
10472 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10474 /* end confdefs.h. */
10476 /* Override any GCC internal prototype to avoid an error.
10477 Use char because int might match the return type of a GCC
10478 builtin and then its argument prototype would still apply. */
10482 char XineramaQueryScreens ();
10486 return XineramaQueryScreens ();
10491 if ac_fn_c_try_link
"$LINENO"; then :
10493 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10494 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'` ;;
10495 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10496 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10497 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10501 rm -f core conftest.err conftest.
$ac_objext \
10502 conftest
$ac_exeext conftest.
$ac_ext
10503 LIBS
=$ac_check_soname_save_LIBS
10505 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10507 $as_echo "not found" >&6; }
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10511 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10513 cat >>confdefs.h
<<_ACEOF
10514 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10522 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10523 case "x$with_xinerama" in
10524 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10526 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10527 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10532 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10535 $as_echo_n "checking for -lXcomposite... " >&6; }
10536 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10537 $as_echo_n "(cached) " >&6
10539 ac_check_soname_save_LIBS
=$LIBS
10540 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10542 /* end confdefs.h. */
10544 /* Override any GCC internal prototype to avoid an error.
10545 Use char because int might match the return type of a GCC
10546 builtin and then its argument prototype would still apply. */
10550 char XCompositeRedirectWindow ();
10554 return XCompositeRedirectWindow ();
10559 if ac_fn_c_try_link
"$LINENO"; then :
10561 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10562 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'` ;;
10563 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10564 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10565 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10569 rm -f core conftest.err conftest.
$ac_objext \
10570 conftest
$ac_exeext conftest.
$ac_ext
10571 LIBS
=$ac_check_soname_save_LIBS
10573 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10575 $as_echo "not found" >&6; }
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10579 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10581 cat >>confdefs.h
<<_ACEOF
10582 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10588 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10589 case "x$with_xcomposite" in
10590 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10592 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10593 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10598 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10599 #include <X11/Xlib.h>
10602 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10604 cat >>confdefs.h
<<_ACEOF
10605 #define HAVE_XICCALLBACK_CALLBACK 1
10610 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10611 #include <X11/Xlib.h>
10614 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10616 cat >>confdefs.h
<<_ACEOF
10617 #define HAVE_XEVENT_XCOOKIE 1
10626 if test "x$with_opengl" != "xno"
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10629 $as_echo_n "checking for -lGL... " >&6; }
10630 if ${ac_cv_lib_soname_GL+:} false
; then :
10631 $as_echo_n "(cached) " >&6
10633 ac_check_soname_save_LIBS
=$LIBS
10634 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10636 /* end confdefs.h. */
10638 /* Override any GCC internal prototype to avoid an error.
10639 Use char because int might match the return type of a GCC
10640 builtin and then its argument prototype would still apply. */
10644 char glXCreateContext ();
10648 return glXCreateContext ();
10653 if ac_fn_c_try_link
"$LINENO"; then :
10655 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10656 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'` ;;
10657 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10658 if ${ac_cv_lib_soname_GL:+false} :; then :
10659 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10663 rm -f core conftest.err conftest.
$ac_objext \
10664 conftest
$ac_exeext conftest.
$ac_ext
10665 LIBS
=$ac_check_soname_save_LIBS
10667 if ${ac_cv_lib_soname_GL:+false} :; then :
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10669 $as_echo "not found" >&6; }
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10671 $as_echo_n "checking for -lGL... " >&6; }
10672 if ${ac_cv_lib_soname_GL+:} false
; then :
10673 $as_echo_n "(cached) " >&6
10675 ac_check_soname_save_LIBS
=$LIBS
10676 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"
10677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10678 /* end confdefs.h. */
10680 /* Override any GCC internal prototype to avoid an error.
10681 Use char because int might match the return type of a GCC
10682 builtin and then its argument prototype would still apply. */
10686 char glXCreateContext ();
10690 return glXCreateContext ();
10695 if ac_fn_c_try_link
"$LINENO"; then :
10697 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10698 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'` ;;
10699 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10700 if ${ac_cv_lib_soname_GL:+false} :; then :
10701 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10705 rm -f core conftest.err conftest.
$ac_objext \
10706 conftest
$ac_exeext conftest.
$ac_ext
10707 LIBS
=$ac_check_soname_save_LIBS
10709 if ${ac_cv_lib_soname_GL:+false} :; then :
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10711 $as_echo "not found" >&6; }
10712 if test -f /usr
/X11R
6/lib
/libGL.a
10714 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10715 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10717 opengl_msg
="No OpenGL library found on this system."
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10721 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10723 cat >>confdefs.h
<<_ACEOF
10724 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10727 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"
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10731 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10733 cat >>confdefs.h
<<_ACEOF
10734 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10739 if test "x$with_glu" != "xno"
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10742 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10743 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10744 $as_echo_n "(cached) " >&6
10746 ac_check_lib_save_LIBS
=$LIBS
10747 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10749 /* end confdefs.h. */
10751 /* Override any GCC internal prototype to avoid an error.
10752 Use char because int might match the return type of a GCC
10753 builtin and then its argument prototype would still apply. */
10761 return gluLookAt ();
10766 if ac_fn_c_try_link
"$LINENO"; then :
10767 ac_cv_lib_GLU_gluLookAt
=yes
10769 ac_cv_lib_GLU_gluLookAt
=no
10771 rm -f core conftest.err conftest.
$ac_objext \
10772 conftest
$ac_exeext conftest.
$ac_ext
10773 LIBS
=$ac_check_lib_save_LIBS
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10776 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10777 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10781 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10782 case "x$with_glu" in
10783 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10785 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10786 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10792 if test "x$with_osmesa" != "xno"
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10795 $as_echo_n "checking for -lOSMesa... " >&6; }
10796 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10797 $as_echo_n "(cached) " >&6
10799 ac_check_soname_save_LIBS
=$LIBS
10800 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10802 /* end confdefs.h. */
10804 /* Override any GCC internal prototype to avoid an error.
10805 Use char because int might match the return type of a GCC
10806 builtin and then its argument prototype would still apply. */
10819 if ac_fn_c_try_link
"$LINENO"; then :
10821 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10822 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'` ;;
10823 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10824 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10825 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10829 rm -f core conftest.err conftest.
$ac_objext \
10830 conftest
$ac_exeext conftest.
$ac_ext
10831 LIBS
=$ac_check_soname_save_LIBS
10833 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10835 $as_echo "not found" >&6; }
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10839 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10841 cat >>confdefs.h
<<_ACEOF
10842 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10847 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10848 case "x$with_osmesa" in
10849 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10851 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10852 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10858 if test -n "$opengl_msg"; then :
10859 case "x$with_opengl" in
10860 x
) as_fn_append wine_warnings
"|$opengl_msg
10861 OpenGL and Direct3D won't be supported." ;;
10863 *) as_fn_error $?
"$opengl_msg
10864 OpenGL and Direct3D won't be supported.
10865 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10870 CPPFLAGS
="$ac_save_CPPFLAGS"
10875 if test "x$X_LIBS" = "x"; then :
10878 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10879 without X support, which probably isn't what you want. You will need
10880 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10881 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10883 enable_winex11_drv
=${enable_winex11_drv:-no}
10886 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10888 if test "$ac_cv_header_CL_cl_h" = "yes"
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10891 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10892 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10893 $as_echo_n "(cached) " >&6
10895 ac_check_lib_save_LIBS
=$LIBS
10896 LIBS
="-lOpenCL $LIBS"
10897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10898 /* end confdefs.h. */
10900 /* Override any GCC internal prototype to avoid an error.
10901 Use char because int might match the return type of a GCC
10902 builtin and then its argument prototype would still apply. */
10906 char clGetPlatformInfo ();
10910 return clGetPlatformInfo ();
10915 if ac_fn_c_try_link
"$LINENO"; then :
10916 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10918 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10920 rm -f core conftest.err conftest.
$ac_objext \
10921 conftest
$ac_exeext conftest.
$ac_ext
10922 LIBS
=$ac_check_lib_save_LIBS
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10925 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10926 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10927 OPENCL_LIBS
="-lOpenCL"
10932 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10933 case "x$with_opencl" in
10934 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10936 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10937 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10939 enable_opencl
=${enable_opencl:-no}
10942 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10945 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10946 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10947 $as_echo_n "(cached) " >&6
10949 ac_check_lib_save_LIBS
=$LIBS
10950 LIBS
="-lpcap $LIBS"
10951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10952 /* end confdefs.h. */
10954 /* Override any GCC internal prototype to avoid an error.
10955 Use char because int might match the return type of a GCC
10956 builtin and then its argument prototype would still apply. */
10960 char pcap_create ();
10964 return pcap_create ();
10969 if ac_fn_c_try_link
"$LINENO"; then :
10970 ac_cv_lib_pcap_pcap_create
=yes
10972 ac_cv_lib_pcap_pcap_create
=no
10974 rm -f core conftest.err conftest.
$ac_objext \
10975 conftest
$ac_exeext conftest.
$ac_ext
10976 LIBS
=$ac_check_lib_save_LIBS
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10979 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10980 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10986 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10987 case "x$with_pcap" in
10988 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10990 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10991 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10993 enable_wpcap
=${enable_wpcap:-no}
10997 if test "x$with_xml" != "xno"
10999 if ${XML2_CFLAGS:+false} :; then :
11000 if ${PKG_CONFIG+:} false
; then :
11001 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11004 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11005 if ${XML2_LIBS:+false} :; then :
11006 if ${PKG_CONFIG+:} false
; then :
11007 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11010 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11011 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
11012 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11013 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11014 ac_save_CPPFLAGS
=$CPPFLAGS
11015 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
11016 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
11018 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11019 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11020 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11021 cat >>confdefs.h
<<_ACEOF
11022 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11029 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"
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11032 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11033 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
11034 $as_echo_n "(cached) " >&6
11036 ac_check_lib_save_LIBS
=$LIBS
11037 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11039 /* end confdefs.h. */
11041 /* Override any GCC internal prototype to avoid an error.
11042 Use char because int might match the return type of a GCC
11043 builtin and then its argument prototype would still apply. */
11047 char xmlParseMemory ();
11051 return xmlParseMemory ();
11056 if ac_fn_c_try_link
"$LINENO"; then :
11057 ac_cv_lib_xml2_xmlParseMemory
=yes
11059 ac_cv_lib_xml2_xmlParseMemory
=no
11061 rm -f core conftest.err conftest.
$ac_objext \
11062 conftest
$ac_exeext conftest.
$ac_ext
11063 LIBS
=$ac_check_lib_save_LIBS
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11066 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11067 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11069 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11076 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11077 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11078 $as_echo_n "(cached) " >&6
11080 ac_check_lib_save_LIBS
=$LIBS
11081 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11083 /* end confdefs.h. */
11085 /* Override any GCC internal prototype to avoid an error.
11086 Use char because int might match the return type of a GCC
11087 builtin and then its argument prototype would still apply. */
11091 char xmlReadMemory ();
11095 return xmlReadMemory ();
11100 if ac_fn_c_try_link
"$LINENO"; then :
11101 ac_cv_lib_xml2_xmlReadMemory
=yes
11103 ac_cv_lib_xml2_xmlReadMemory
=no
11105 rm -f core conftest.err conftest.
$ac_objext \
11106 conftest
$ac_exeext conftest.
$ac_ext
11107 LIBS
=$ac_check_lib_save_LIBS
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11110 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11111 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11113 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11118 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11119 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11120 $as_echo_n "(cached) " >&6
11122 ac_check_lib_save_LIBS
=$LIBS
11123 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11125 /* end confdefs.h. */
11127 /* Override any GCC internal prototype to avoid an error.
11128 Use char because int might match the return type of a GCC
11129 builtin and then its argument prototype would still apply. */
11133 char xmlNewDocPI ();
11137 return xmlNewDocPI ();
11142 if ac_fn_c_try_link
"$LINENO"; then :
11143 ac_cv_lib_xml2_xmlNewDocPI
=yes
11145 ac_cv_lib_xml2_xmlNewDocPI
=no
11147 rm -f core conftest.err conftest.
$ac_objext \
11148 conftest
$ac_exeext conftest.
$ac_ext
11149 LIBS
=$ac_check_lib_save_LIBS
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11152 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11153 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11155 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11160 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11161 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11162 $as_echo_n "(cached) " >&6
11164 ac_check_lib_save_LIBS
=$LIBS
11165 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11167 /* end confdefs.h. */
11169 /* Override any GCC internal prototype to avoid an error.
11170 Use char because int might match the return type of a GCC
11171 builtin and then its argument prototype would still apply. */
11175 char xmlSchemaSetParserStructuredErrors ();
11179 return xmlSchemaSetParserStructuredErrors ();
11184 if ac_fn_c_try_link
"$LINENO"; then :
11185 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11187 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11189 rm -f core conftest.err conftest.
$ac_objext \
11190 conftest
$ac_exeext conftest.
$ac_ext
11191 LIBS
=$ac_check_lib_save_LIBS
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11194 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11195 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11197 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11202 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11203 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11204 $as_echo_n "(cached) " >&6
11206 ac_check_lib_save_LIBS
=$LIBS
11207 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11209 /* end confdefs.h. */
11211 /* Override any GCC internal prototype to avoid an error.
11212 Use char because int might match the return type of a GCC
11213 builtin and then its argument prototype would still apply. */
11217 char xmlSchemaSetValidStructuredErrors ();
11221 return xmlSchemaSetValidStructuredErrors ();
11226 if ac_fn_c_try_link
"$LINENO"; then :
11227 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11229 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11231 rm -f core conftest.err conftest.
$ac_objext \
11232 conftest
$ac_exeext conftest.
$ac_ext
11233 LIBS
=$ac_check_lib_save_LIBS
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11236 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11237 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11239 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11244 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11245 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11246 $as_echo_n "(cached) " >&6
11248 ac_check_lib_save_LIBS
=$LIBS
11249 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11251 /* end confdefs.h. */
11253 /* Override any GCC internal prototype to avoid an error.
11254 Use char because int might match the return type of a GCC
11255 builtin and then its argument prototype would still apply. */
11259 char xmlFirstElementChild ();
11263 return xmlFirstElementChild ();
11268 if ac_fn_c_try_link
"$LINENO"; then :
11269 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11271 ac_cv_lib_xml2_xmlFirstElementChild
=no
11273 rm -f core conftest.err conftest.
$ac_objext \
11274 conftest
$ac_exeext conftest.
$ac_ext
11275 LIBS
=$ac_check_lib_save_LIBS
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11278 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11279 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11281 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11285 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11287 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11289 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11297 CPPFLAGS
=$ac_save_CPPFLAGS
11298 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11299 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11302 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11303 case "x$with_xml" in
11304 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11306 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11307 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11312 if test "x$with_xslt" != "xno"
11314 if ${XSLT_CFLAGS:+false} :; then :
11315 if ${PKG_CONFIG+:} false
; then :
11316 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11319 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11320 if ${XSLT_LIBS:+false} :; then :
11321 if ${PKG_CONFIG+:} false
; then :
11322 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11325 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11326 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11327 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11328 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11329 ac_save_CPPFLAGS
=$CPPFLAGS
11330 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11331 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11333 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11334 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11335 # include <libxslt/pattern.h>
11338 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11339 cat >>confdefs.h
<<_ACEOF
11340 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11347 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11350 $as_echo_n "checking for -lxslt... " >&6; }
11351 if ${ac_cv_lib_soname_xslt+:} false
; then :
11352 $as_echo_n "(cached) " >&6
11354 ac_check_soname_save_LIBS
=$LIBS
11355 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11357 /* end confdefs.h. */
11359 /* Override any GCC internal prototype to avoid an error.
11360 Use char because int might match the return type of a GCC
11361 builtin and then its argument prototype would still apply. */
11365 char xsltCompilePattern ();
11369 return xsltCompilePattern ();
11374 if ac_fn_c_try_link
"$LINENO"; then :
11376 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11377 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'` ;;
11378 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11379 if ${ac_cv_lib_soname_xslt:+false} :; then :
11380 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11384 rm -f core conftest.err conftest.
$ac_objext \
11385 conftest
$ac_exeext conftest.
$ac_ext
11386 LIBS
=$ac_check_soname_save_LIBS
11388 if ${ac_cv_lib_soname_xslt:+false} :; then :
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11390 $as_echo "not found" >&6; }
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11394 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11396 cat >>confdefs.h
<<_ACEOF
11397 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11405 CPPFLAGS
=$ac_save_CPPFLAGS
11406 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11407 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11410 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11411 case "x$with_xslt" in
11412 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11414 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11415 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11420 if test "x$with_dbus" != "xno"
11422 if ${DBUS_CFLAGS:+false} :; then :
11423 if ${PKG_CONFIG+:} false
; then :
11424 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11428 if ${DBUS_LIBS:+false} :; then :
11429 if ${PKG_CONFIG+:} false
; then :
11430 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11435 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11436 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11437 ac_save_CPPFLAGS
=$CPPFLAGS
11438 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11439 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11440 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11442 $as_echo_n "checking for -ldbus-1... " >&6; }
11443 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11444 $as_echo_n "(cached) " >&6
11446 ac_check_soname_save_LIBS
=$LIBS
11447 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11449 /* end confdefs.h. */
11451 /* Override any GCC internal prototype to avoid an error.
11452 Use char because int might match the return type of a GCC
11453 builtin and then its argument prototype would still apply. */
11457 char dbus_connection_close ();
11461 return dbus_connection_close ();
11466 if ac_fn_c_try_link
"$LINENO"; then :
11468 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11469 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'` ;;
11470 *) 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'`
11471 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11472 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11476 rm -f core conftest.err conftest.
$ac_objext \
11477 conftest
$ac_exeext conftest.
$ac_ext
11478 LIBS
=$ac_check_soname_save_LIBS
11480 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11482 $as_echo "not found" >&6; }
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11486 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11488 cat >>confdefs.h
<<_ACEOF
11489 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11499 CPPFLAGS
=$ac_save_CPPFLAGS
11500 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11501 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11504 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11505 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11506 case "x$with_dbus" in
11507 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11509 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11510 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11515 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11517 if ${HAL_CFLAGS:+false} :; then :
11518 if ${PKG_CONFIG+:} false
; then :
11519 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11523 if ${HAL_LIBS:+false} :; then :
11524 if ${PKG_CONFIG+:} false
; then :
11525 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11529 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11530 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11531 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11532 ac_save_CPPFLAGS
=$CPPFLAGS
11533 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11534 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11535 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11537 $as_echo_n "checking for -lhal... " >&6; }
11538 if ${ac_cv_lib_soname_hal+:} false
; then :
11539 $as_echo_n "(cached) " >&6
11541 ac_check_soname_save_LIBS
=$LIBS
11542 LIBS
="-lhal $HAL_LIBS $LIBS"
11543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11544 /* end confdefs.h. */
11546 /* Override any GCC internal prototype to avoid an error.
11547 Use char because int might match the return type of a GCC
11548 builtin and then its argument prototype would still apply. */
11552 char libhal_ctx_new ();
11556 return libhal_ctx_new ();
11561 if ac_fn_c_try_link
"$LINENO"; then :
11563 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11564 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'` ;;
11565 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11566 if ${ac_cv_lib_soname_hal:+false} :; then :
11567 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11571 rm -f core conftest.err conftest.
$ac_objext \
11572 conftest
$ac_exeext conftest.
$ac_ext
11573 LIBS
=$ac_check_soname_save_LIBS
11575 if ${ac_cv_lib_soname_hal:+false} :; then :
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11577 $as_echo "not found" >&6; }
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11581 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11583 cat >>confdefs.h
<<_ACEOF
11584 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11594 CPPFLAGS
=$ac_save_CPPFLAGS
11595 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11596 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11598 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11599 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11600 case "x$with_hal" in
11601 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11603 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11604 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11610 if test "x$with_gnutls" != "xno"
11612 if ${GNUTLS_CFLAGS:+false} :; then :
11613 if ${PKG_CONFIG+:} false
; then :
11614 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11618 if ${GNUTLS_LIBS:+false} :; then :
11619 if ${PKG_CONFIG+:} false
; then :
11620 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11625 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11626 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11627 ac_save_CPPFLAGS
=$CPPFLAGS
11628 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11629 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11630 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11632 /* end confdefs.h. */
11633 #include <gnutls/gnutls.h>
11634 #include <gnutls/crypto.h>
11638 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11643 if ac_fn_c_try_compile
"$LINENO"; then :
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11645 $as_echo_n "checking for -lgnutls... " >&6; }
11646 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11647 $as_echo_n "(cached) " >&6
11649 ac_check_soname_save_LIBS
=$LIBS
11650 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11654 /* Override any GCC internal prototype to avoid an error.
11655 Use char because int might match the return type of a GCC
11656 builtin and then its argument prototype would still apply. */
11660 char gnutls_global_init ();
11664 return gnutls_global_init ();
11669 if ac_fn_c_try_link
"$LINENO"; then :
11671 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11672 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'` ;;
11673 *) 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'`
11674 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11675 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'`
11679 rm -f core conftest.err conftest.
$ac_objext \
11680 conftest
$ac_exeext conftest.
$ac_ext
11681 LIBS
=$ac_check_soname_save_LIBS
11683 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11685 $as_echo "not found" >&6; }
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11689 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11691 cat >>confdefs.h
<<_ACEOF
11692 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11697 ac_wine_check_funcs_save_LIBS
="$LIBS"
11698 LIBS
="$LIBS $GNUTLS_LIBS"
11699 for ac_func
in gnutls_hash
11701 ac_fn_c_check_func
"$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11702 if test "x$ac_cv_func_gnutls_hash" = xyes
; then :
11703 cat >>confdefs.h
<<_ACEOF
11704 #define HAVE_GNUTLS_HASH 1
11708 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11712 LIBS
="$ac_wine_check_funcs_save_LIBS"
11714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11720 CPPFLAGS
=$ac_save_CPPFLAGS
11721 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11722 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11725 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11726 case "x$with_gnutls" in
11727 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11729 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11730 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11736 if test "$ac_cv_header_ncurses_h" = "yes"
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11739 $as_echo_n "checking for -lncurses... " >&6; }
11740 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11741 $as_echo_n "(cached) " >&6
11743 ac_check_soname_save_LIBS
=$LIBS
11744 LIBS
="-lncurses $LIBS"
11745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11746 /* end confdefs.h. */
11748 /* Override any GCC internal prototype to avoid an error.
11749 Use char because int might match the return type of a GCC
11750 builtin and then its argument prototype would still apply. */
11763 if ac_fn_c_try_link
"$LINENO"; then :
11765 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11766 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'` ;;
11767 *) 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'`
11768 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11769 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11773 rm -f core conftest.err conftest.
$ac_objext \
11774 conftest
$ac_exeext conftest.
$ac_ext
11775 LIBS
=$ac_check_soname_save_LIBS
11777 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11779 $as_echo "not found" >&6; }
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11783 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11785 cat >>confdefs.h
<<_ACEOF
11786 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11789 CURSES_LIBS
="-lncurses"
11791 elif test "$ac_cv_header_curses_h" = "yes"
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11794 $as_echo_n "checking for -lcurses... " >&6; }
11795 if ${ac_cv_lib_soname_curses+:} false
; then :
11796 $as_echo_n "(cached) " >&6
11798 ac_check_soname_save_LIBS
=$LIBS
11799 LIBS
="-lcurses $LIBS"
11800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11801 /* end confdefs.h. */
11803 /* Override any GCC internal prototype to avoid an error.
11804 Use char because int might match the return type of a GCC
11805 builtin and then its argument prototype would still apply. */
11818 if ac_fn_c_try_link
"$LINENO"; then :
11820 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11821 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'` ;;
11822 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11823 if ${ac_cv_lib_soname_curses:+false} :; then :
11824 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11828 rm -f core conftest.err conftest.
$ac_objext \
11829 conftest
$ac_exeext conftest.
$ac_ext
11830 LIBS
=$ac_check_soname_save_LIBS
11832 if ${ac_cv_lib_soname_curses:+false} :; then :
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11834 $as_echo "not found" >&6; }
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11838 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11840 cat >>confdefs.h
<<_ACEOF
11841 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11844 CURSES_LIBS
="-lcurses"
11847 ac_save_LIBS
="$LIBS"
11848 LIBS
="$LIBS $CURSES_LIBS"
11849 for ac_func
in mousemask
11851 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11852 if test "x$ac_cv_func_mousemask" = xyes
; then :
11853 cat >>confdefs.h
<<_ACEOF
11854 #define HAVE_MOUSEMASK 1
11860 LIBS
="$ac_save_LIBS"
11861 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11862 case "x$with_curses" in
11863 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11865 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11866 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11871 if test "x$with_sane" != "xno"
11873 if ${SANE_CFLAGS:+false} :; then :
11874 if ${PKG_CONFIG+:} false
; then :
11875 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11878 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11879 if ${SANE_LIBS:+false} :; then :
11880 if ${PKG_CONFIG+:} false
; then :
11881 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11884 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11886 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11887 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11888 ac_save_CPPFLAGS
=$CPPFLAGS
11889 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11890 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11891 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11893 $as_echo_n "checking for -lsane... " >&6; }
11894 if ${ac_cv_lib_soname_sane+:} false
; then :
11895 $as_echo_n "(cached) " >&6
11897 ac_check_soname_save_LIBS
=$LIBS
11898 LIBS
="-lsane $SANE_LIBS $LIBS"
11899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11902 /* Override any GCC internal prototype to avoid an error.
11903 Use char because int might match the return type of a GCC
11904 builtin and then its argument prototype would still apply. */
11912 return sane_init ();
11917 if ac_fn_c_try_link
"$LINENO"; then :
11919 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11920 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'` ;;
11921 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11922 if ${ac_cv_lib_soname_sane:+false} :; then :
11923 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11927 rm -f core conftest.err conftest.
$ac_objext \
11928 conftest
$ac_exeext conftest.
$ac_ext
11929 LIBS
=$ac_check_soname_save_LIBS
11931 if ${ac_cv_lib_soname_sane:+false} :; then :
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11933 $as_echo "not found" >&6; }
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11937 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11939 cat >>confdefs.h
<<_ACEOF
11940 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11950 CPPFLAGS
=$ac_save_CPPFLAGS
11951 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11952 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11955 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11956 case "x$with_sane" in
11957 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11959 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11960 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11965 if test "x$with_v4l" != "xno"
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11968 $as_echo_n "checking for -lv4l1... " >&6; }
11969 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11970 $as_echo_n "(cached) " >&6
11972 ac_check_soname_save_LIBS
=$LIBS
11973 LIBS
="-lv4l1 $LIBS"
11974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11975 /* end confdefs.h. */
11977 /* Override any GCC internal prototype to avoid an error.
11978 Use char because int might match the return type of a GCC
11979 builtin and then its argument prototype would still apply. */
11987 return v4l1_open ();
11992 if ac_fn_c_try_link
"$LINENO"; then :
11994 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11995 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'` ;;
11996 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11997 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11998 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12002 rm -f core conftest.err conftest.
$ac_objext \
12003 conftest
$ac_exeext conftest.
$ac_ext
12004 LIBS
=$ac_check_soname_save_LIBS
12006 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12008 $as_echo "not found" >&6; }
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12012 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12014 cat >>confdefs.h
<<_ACEOF
12015 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12021 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12022 case "x$with_v4l" in
12023 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
12025 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
12026 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12031 if test "x$with_gphoto" != "xno"
12033 if ${GPHOTO2_CFLAGS:+false} :; then :
12034 if ${PKG_CONFIG+:} false
; then :
12035 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12038 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12039 if ${GPHOTO2_LIBS:+false} :; then :
12040 if ${PKG_CONFIG+:} false
; then :
12041 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12044 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12045 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
12046 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12047 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12048 ac_save_CPPFLAGS
=$CPPFLAGS
12049 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
12050 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12051 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12053 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12054 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
12055 $as_echo_n "(cached) " >&6
12057 ac_check_lib_save_LIBS
=$LIBS
12058 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12060 /* end confdefs.h. */
12062 /* Override any GCC internal prototype to avoid an error.
12063 Use char because int might match the return type of a GCC
12064 builtin and then its argument prototype would still apply. */
12068 char gp_camera_new ();
12072 return gp_camera_new ();
12077 if ac_fn_c_try_link
"$LINENO"; then :
12078 ac_cv_lib_gphoto2_gp_camera_new
=yes
12080 ac_cv_lib_gphoto2_gp_camera_new
=no
12082 rm -f core conftest.err conftest.
$ac_objext \
12083 conftest
$ac_exeext conftest.
$ac_ext
12084 LIBS
=$ac_check_lib_save_LIBS
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12087 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12088 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12090 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12093 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12097 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12101 CPPFLAGS
=$ac_save_CPPFLAGS
12102 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12103 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12105 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12106 if ${PKG_CONFIG+:} false
; then :
12107 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12110 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12111 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12112 if ${PKG_CONFIG+:} false
; then :
12113 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12116 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12117 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12118 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12119 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12120 ac_save_CPPFLAGS
=$CPPFLAGS
12121 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12122 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12123 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12125 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12126 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12127 $as_echo_n "(cached) " >&6
12129 ac_check_lib_save_LIBS
=$LIBS
12130 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12132 /* end confdefs.h. */
12134 /* Override any GCC internal prototype to avoid an error.
12135 Use char because int might match the return type of a GCC
12136 builtin and then its argument prototype would still apply. */
12140 char gp_port_info_list_new ();
12144 return gp_port_info_list_new ();
12149 if ac_fn_c_try_link
"$LINENO"; then :
12150 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12152 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12154 rm -f core conftest.err conftest.
$ac_objext \
12155 conftest
$ac_exeext conftest.
$ac_ext
12156 LIBS
=$ac_check_lib_save_LIBS
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12159 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12160 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12162 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12165 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12169 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12173 CPPFLAGS
=$ac_save_CPPFLAGS
12174 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12175 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12178 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12179 case "x$with_gphoto" in
12180 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12182 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12183 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12187 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12188 case "x$with_gphoto" in
12189 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12191 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12192 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12198 if test "$ac_cv_header_resolv_h" = "yes"
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12201 $as_echo_n "checking for resolver library... " >&6; }
12202 if ${ac_cv_have_resolv+:} false
; then :
12203 $as_echo_n "(cached) " >&6
12205 ac_save_LIBS
="$LIBS"
12206 for lib
in '' -lresolv
12208 LIBS
="$lib $ac_save_LIBS"
12209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12210 /* end confdefs.h. */
12211 #ifdef HAVE_NETINET_IN_H
12212 #include <netinet/in.h>
12214 #include <resolv.h>
12218 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12223 if ac_fn_c_try_link
"$LINENO"; then :
12224 ac_cv_have_resolv
=${lib:-"none required"}
12226 ac_cv_have_resolv
="not found"
12228 rm -f core conftest.err conftest.
$ac_objext \
12229 conftest
$ac_exeext conftest.
$ac_ext
12230 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12232 LIBS
="$ac_save_LIBS"
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12235 $as_echo "$ac_cv_have_resolv" >&6; }
12237 case "$ac_cv_have_resolv" in
12241 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12244 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12246 RESOLV_LIBS
=$ac_cv_have_resolv
12251 if test "x$with_cms" != "xno"
12253 if ${LCMS2_CFLAGS:+false} :; then :
12254 if ${PKG_CONFIG+:} false
; then :
12255 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12259 if ${LCMS2_LIBS:+false} :; then :
12260 if ${PKG_CONFIG+:} false
; then :
12261 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12265 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12266 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12267 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12268 ac_save_CPPFLAGS
=$CPPFLAGS
12269 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12270 for ac_header
in lcms2.h
12272 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12273 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12274 cat >>confdefs.h
<<_ACEOF
12275 #define HAVE_LCMS2_H 1
12282 if test "$ac_cv_header_lcms2_h" = "yes"
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12285 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12286 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12287 $as_echo_n "(cached) " >&6
12289 ac_check_lib_save_LIBS
=$LIBS
12290 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12292 /* end confdefs.h. */
12294 /* Override any GCC internal prototype to avoid an error.
12295 Use char because int might match the return type of a GCC
12296 builtin and then its argument prototype would still apply. */
12300 char cmsOpenProfileFromFile ();
12304 return cmsOpenProfileFromFile ();
12309 if ac_fn_c_try_link
"$LINENO"; then :
12310 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12312 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12314 rm -f core conftest.err conftest.
$ac_objext \
12315 conftest
$ac_exeext conftest.
$ac_ext
12316 LIBS
=$ac_check_lib_save_LIBS
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12319 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12320 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12322 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12332 CPPFLAGS
=$ac_save_CPPFLAGS
12333 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12334 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12337 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12338 case "x$with_cms" in
12339 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12341 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12342 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12347 if test "x$with_freetype" != "xno"
12349 if ${FREETYPE_CFLAGS:+false} :; then :
12350 if ${PKG_CONFIG+:} false
; then :
12351 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12354 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12355 if ${FREETYPE_LIBS:+false} :; then :
12356 if ${PKG_CONFIG+:} false
; then :
12357 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12360 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12361 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12362 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12363 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12364 ac_save_CPPFLAGS
=$CPPFLAGS
12365 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12366 for ac_header
in ft2build.h
12368 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12369 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12370 cat >>confdefs.h
<<_ACEOF
12371 #define HAVE_FT2BUILD_H 1
12378 if test "$ac_cv_header_ft2build_h" = "yes"
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12381 $as_echo_n "checking for -lfreetype... " >&6; }
12382 if ${ac_cv_lib_soname_freetype+:} false
; then :
12383 $as_echo_n "(cached) " >&6
12385 ac_check_soname_save_LIBS
=$LIBS
12386 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12388 /* end confdefs.h. */
12390 /* Override any GCC internal prototype to avoid an error.
12391 Use char because int might match the return type of a GCC
12392 builtin and then its argument prototype would still apply. */
12396 char FT_Init_FreeType ();
12400 return FT_Init_FreeType ();
12405 if ac_fn_c_try_link
"$LINENO"; then :
12407 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12408 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'` ;;
12409 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12410 if ${ac_cv_lib_soname_freetype:+false} :; then :
12411 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12415 rm -f core conftest.err conftest.
$ac_objext \
12416 conftest
$ac_exeext conftest.
$ac_ext
12417 LIBS
=$ac_check_soname_save_LIBS
12419 if ${ac_cv_lib_soname_freetype:+false} :; then :
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12421 $as_echo "not found" >&6; }
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12425 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12427 cat >>confdefs.h
<<_ACEOF
12428 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12432 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12434 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12435 #include FT_MODULE_H
12437 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12439 cat >>confdefs.h
<<_ACEOF
12440 #define HAVE_FT_TRUETYPEENGINETYPE 1
12451 CPPFLAGS
=$ac_save_CPPFLAGS
12452 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12453 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12456 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12457 case "x$with_freetype" in
12459 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12460 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12462 enable_fonts
=${enable_fonts:-no}
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12466 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12467 if ${ac_cv_c_ppdev+:} false
; then :
12468 $as_echo_n "(cached) " >&6
12470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12471 /* end confdefs.h. */
12472 #ifdef HAVE_SYS_IOCTL_H
12473 # include <sys/ioctl.h>
12475 #include <linux/ppdev.h>
12479 ioctl (1,PPCLAIM,0)
12484 if ac_fn_c_try_compile
"$LINENO"; then :
12485 ac_cv_c_ppdev
="yes"
12489 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12492 $as_echo "$ac_cv_c_ppdev" >&6; }
12493 if test "$ac_cv_c_ppdev" = "yes"
12496 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12500 ac_wine_check_funcs_save_LIBS
="$LIBS"
12501 LIBS
="$LIBS $PTHREAD_LIBS"
12503 pthread_attr_get_np \
12504 pthread_getattr_np \
12505 pthread_getthreadid_np \
12506 pthread_get_stackaddr_np \
12507 pthread_get_stacksize_np
12509 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12510 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12511 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12512 cat >>confdefs.h
<<_ACEOF
12513 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12519 LIBS
="$ac_wine_check_funcs_save_LIBS"
12521 if test "$ac_cv_header_zlib_h" = "yes"
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12524 $as_echo_n "checking for inflate in -lz... " >&6; }
12525 if ${ac_cv_lib_z_inflate+:} false
; then :
12526 $as_echo_n "(cached) " >&6
12528 ac_check_lib_save_LIBS
=$LIBS
12530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12531 /* end confdefs.h. */
12533 /* Override any GCC internal prototype to avoid an error.
12534 Use char because int might match the return type of a GCC
12535 builtin and then its argument prototype would still apply. */
12548 if ac_fn_c_try_link
"$LINENO"; then :
12549 ac_cv_lib_z_inflate
=yes
12551 ac_cv_lib_z_inflate
=no
12553 rm -f core conftest.err conftest.
$ac_objext \
12554 conftest
$ac_exeext conftest.
$ac_ext
12555 LIBS
=$ac_check_lib_save_LIBS
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12558 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12559 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12561 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12568 if test "x$Z_LIBS" = "x"; then :
12569 case "x$with_zlib" in
12570 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12572 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12573 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12578 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
12580 if test "$ac_cv_header_gettext_po_h" = "yes"
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12583 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12584 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12585 $as_echo_n "(cached) " >&6
12587 ac_check_lib_save_LIBS
=$LIBS
12588 LIBS
="-lgettextpo $LIBS"
12589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12590 /* end confdefs.h. */
12592 /* Override any GCC internal prototype to avoid an error.
12593 Use char because int might match the return type of a GCC
12594 builtin and then its argument prototype would still apply. */
12598 char po_message_msgctxt ();
12602 return po_message_msgctxt ();
12607 if ac_fn_c_try_link
"$LINENO"; then :
12608 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12610 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12612 rm -f core conftest.err conftest.
$ac_objext \
12613 conftest
$ac_exeext conftest.
$ac_ext
12614 LIBS
=$ac_check_lib_save_LIBS
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12617 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12618 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12620 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12622 GETTEXTPO_LIBS
="-lgettextpo"
12627 if test "x$GETTEXTPO_LIBS" = "x"; then :
12628 case "x$with_gettextpo" in
12629 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12631 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12632 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12636 if test "$srcdir" != .
; then :
12637 case "x$with_gettextpo" in
12638 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
12640 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
12641 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12647 if test "x$with_pulse" != "xno";
12649 if ${PULSE_CFLAGS:+false} :; then :
12650 if ${PKG_CONFIG+:} false
; then :
12651 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12655 if ${PULSE_LIBS:+false} :; then :
12656 if ${PKG_CONFIG+:} false
; then :
12657 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12662 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12663 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12664 ac_save_CPPFLAGS
=$CPPFLAGS
12665 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12666 for ac_header
in pulse
/pulseaudio.h
12668 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12669 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12670 cat >>confdefs.h
<<_ACEOF
12671 #define HAVE_PULSE_PULSEAUDIO_H 1
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12674 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12675 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12676 $as_echo_n "(cached) " >&6
12678 ac_check_lib_save_LIBS
=$LIBS
12679 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12681 /* end confdefs.h. */
12683 /* Override any GCC internal prototype to avoid an error.
12684 Use char because int might match the return type of a GCC
12685 builtin and then its argument prototype would still apply. */
12689 char pa_stream_is_corked ();
12693 return pa_stream_is_corked ();
12698 if ac_fn_c_try_link
"$LINENO"; then :
12699 ac_cv_lib_pulse_pa_stream_is_corked
=yes
12701 ac_cv_lib_pulse_pa_stream_is_corked
=no
12703 rm -f core conftest.err conftest.
$ac_objext \
12704 conftest
$ac_exeext conftest.
$ac_ext
12705 LIBS
=$ac_check_lib_save_LIBS
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12708 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12709 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
12721 CPPFLAGS
=$ac_save_CPPFLAGS
12722 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12723 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12726 if test -z "$PULSE_LIBS"; then :
12727 case "x$with_pulse" in
12728 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12730 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12731 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12733 enable_winepulse_drv
=${enable_winepulse_drv:-no}
12736 if test "x$with_gstreamer" != "xno"
12738 if ${GSTREAMER_CFLAGS:+false} :; then :
12739 if ${PKG_CONFIG+:} false
; then :
12740 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12744 if ${GSTREAMER_LIBS:+false} :; then :
12745 if ${PKG_CONFIG+:} false
; then :
12746 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12751 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12752 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12753 ac_save_CPPFLAGS
=$CPPFLAGS
12754 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12756 for i
in $GSTREAMER_CFLAGS
12759 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12762 GSTREAMER_CFLAGS
=$ac_gst_incl
12763 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12764 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12765 if test "x$ac_cv_header_gst_gst_h" = xyes
; then :
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12767 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12769 /* end confdefs.h. */
12770 #include <gst/gst.h>
12774 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12779 if ac_fn_c_try_compile
"$LINENO"; then :
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12781 $as_echo "yes" >&6; }
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12783 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12784 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false
; then :
12785 $as_echo_n "(cached) " >&6
12787 ac_check_lib_save_LIBS
=$LIBS
12788 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12790 /* end confdefs.h. */
12792 /* Override any GCC internal prototype to avoid an error.
12793 Use char because int might match the return type of a GCC
12794 builtin and then its argument prototype would still apply. */
12798 char gst_pad_new ();
12802 return gst_pad_new ();
12807 if ac_fn_c_try_link
"$LINENO"; then :
12808 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
12810 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
12812 rm -f core conftest.err conftest.
$ac_objext \
12813 conftest
$ac_exeext conftest.
$ac_ext
12814 LIBS
=$ac_check_lib_save_LIBS
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12817 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12818 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
; then :
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12824 $as_echo "no" >&6; }
12825 ac_glib2_broken
=yes
12826 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12832 CPPFLAGS
=$ac_save_CPPFLAGS
12833 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12834 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12837 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 :
12838 case "x$with_gstreamer" in
12839 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12841 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12842 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12846 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12850 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12853 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12854 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12855 $as_echo_n "(cached) " >&6
12857 ac_check_lib_save_LIBS
=$LIBS
12858 LIBS
="-lasound $LIBS"
12859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12860 /* end confdefs.h. */
12862 /* Override any GCC internal prototype to avoid an error.
12863 Use char because int might match the return type of a GCC
12864 builtin and then its argument prototype would still apply. */
12868 char snd_pcm_hw_params_get_access_mask ();
12872 return snd_pcm_hw_params_get_access_mask ();
12877 if ac_fn_c_try_link
"$LINENO"; then :
12878 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12880 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12882 rm -f core conftest.err conftest.
$ac_objext \
12883 conftest
$ac_exeext conftest.
$ac_ext
12884 LIBS
=$ac_check_lib_save_LIBS
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12887 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12888 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12890 /* end confdefs.h. */
12891 #ifdef HAVE_ALSA_ASOUNDLIB_H
12892 #include <alsa/asoundlib.h>
12893 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12894 #include <sys/asoundlib.h>
12899 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12904 if ac_fn_c_try_compile
"$LINENO"; then :
12905 ALSA_LIBS
="-lasound"
12907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12911 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12913 if test "x$with_oss" != xno
12915 ac_save_CPPFLAGS
="$CPPFLAGS"
12916 if test -f /etc
/oss.conf
12920 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12921 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12922 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12923 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12924 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12926 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12928 cat >>confdefs.h
<<_ACEOF
12929 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12932 OSS4_CFLAGS
="$ac_oss_incl"
12939 CPPFLAGS
="$ac_save_CPPFLAGS"
12941 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
; then :
12942 case "x$with_oss" in
12943 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12945 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12946 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12948 enable_wineoss_drv
=${enable_wineoss_drv:-no}
12951 if test "x$with_udev" != "xno"
12953 if ${UDEV_CFLAGS:+false} :; then :
12954 if ${PKG_CONFIG+:} false
; then :
12955 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12959 if ${UDEV_LIBS:+false} :; then :
12960 if ${PKG_CONFIG+:} false
; then :
12961 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
12966 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12967 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12968 ac_save_CPPFLAGS
=$CPPFLAGS
12969 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
12970 for ac_header
in libudev.h
12972 ac_fn_c_check_header_mongrel
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12973 if test "x$ac_cv_header_libudev_h" = xyes
; then :
12974 cat >>confdefs.h
<<_ACEOF
12975 #define HAVE_LIBUDEV_H 1
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12978 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12979 if ${ac_cv_lib_udev_udev_new+:} false
; then :
12980 $as_echo_n "(cached) " >&6
12982 ac_check_lib_save_LIBS
=$LIBS
12983 LIBS
="-ludev $UDEV_LIBS $LIBS"
12984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12985 /* end confdefs.h. */
12987 /* Override any GCC internal prototype to avoid an error.
12988 Use char because int might match the return type of a GCC
12989 builtin and then its argument prototype would still apply. */
12997 return udev_new ();
13002 if ac_fn_c_try_link
"$LINENO"; then :
13003 ac_cv_lib_udev_udev_new
=yes
13005 ac_cv_lib_udev_udev_new
=no
13007 rm -f core conftest.err conftest.
$ac_objext \
13008 conftest
$ac_exeext conftest.
$ac_ext
13009 LIBS
=$ac_check_lib_save_LIBS
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13012 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13013 if test "x$ac_cv_lib_udev_udev_new" = xyes
; then :
13015 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13027 CPPFLAGS
=$ac_save_CPPFLAGS
13028 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS
=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13029 test -z "$UDEV_LIBS" || UDEV_LIBS
=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13032 if test "x$UDEV_LIBS" = "x"; then :
13033 case "x$with_udev" in
13034 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13036 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
13037 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13042 if test "x$with_capi" != "xno"
13044 if ${CAPI20_CFLAGS:+false} :; then :
13045 if ${PKG_CONFIG+:} false
; then :
13046 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13050 if ${CAPI20_LIBS:+false} :; then :
13051 if ${PKG_CONFIG+:} false
; then :
13052 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
13057 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13058 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13059 ac_save_CPPFLAGS
=$CPPFLAGS
13060 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
13061 for ac_header
in capi20.h linux
/capi.h
13063 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13064 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13066 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13067 cat >>confdefs.h
<<_ACEOF
13068 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13075 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13078 $as_echo_n "checking for -lcapi20... " >&6; }
13079 if ${ac_cv_lib_soname_capi20+:} false
; then :
13080 $as_echo_n "(cached) " >&6
13082 ac_check_soname_save_LIBS
=$LIBS
13083 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
13084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13085 /* end confdefs.h. */
13087 /* Override any GCC internal prototype to avoid an error.
13088 Use char because int might match the return type of a GCC
13089 builtin and then its argument prototype would still apply. */
13093 char capi20_register ();
13097 return capi20_register ();
13102 if ac_fn_c_try_link
"$LINENO"; then :
13104 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13105 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'` ;;
13106 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13107 if ${ac_cv_lib_soname_capi20:+false} :; then :
13108 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13112 rm -f core conftest.err conftest.
$ac_objext \
13113 conftest
$ac_exeext conftest.
$ac_ext
13114 LIBS
=$ac_check_soname_save_LIBS
13116 if ${ac_cv_lib_soname_capi20:+false} :; then :
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13118 $as_echo "not found" >&6; }
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13122 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13124 cat >>confdefs.h
<<_ACEOF
13125 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13131 CPPFLAGS
=$ac_save_CPPFLAGS
13132 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13133 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13136 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13137 case "x$with_capi" in
13138 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13140 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13141 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13148 if test "x$with_cups" != "xno"
13150 ac_save_CPPFLAGS
="$CPPFLAGS"
13151 ac_cups_cflags
=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13152 ac_cups_libs
=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13153 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
13154 for ac_header
in cups
/cups.h
13156 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13157 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
13158 cat >>confdefs.h
<<_ACEOF
13159 #define HAVE_CUPS_CUPS_H 1
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13162 $as_echo_n "checking for -lcups... " >&6; }
13163 if ${ac_cv_lib_soname_cups+:} false
; then :
13164 $as_echo_n "(cached) " >&6
13166 ac_check_soname_save_LIBS
=$LIBS
13167 LIBS
="-lcups $ac_cups_libs $LIBS"
13168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13169 /* end confdefs.h. */
13171 /* Override any GCC internal prototype to avoid an error.
13172 Use char because int might match the return type of a GCC
13173 builtin and then its argument prototype would still apply. */
13177 char cupsGetDefault ();
13181 return cupsGetDefault ();
13186 if ac_fn_c_try_link
"$LINENO"; then :
13188 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13189 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'` ;;
13190 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13191 if ${ac_cv_lib_soname_cups:+false} :; then :
13192 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13196 rm -f core conftest.err conftest.
$ac_objext \
13197 conftest
$ac_exeext conftest.
$ac_ext
13198 LIBS
=$ac_check_soname_save_LIBS
13200 if ${ac_cv_lib_soname_cups:+false} :; then :
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13202 $as_echo "not found" >&6; }
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13206 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13208 cat >>confdefs.h
<<_ACEOF
13209 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13212 CUPS_CFLAGS
="$ac_cups_cflags"
13214 for ac_header
in cups
/ppd.h
13216 ac_fn_c_check_header_mongrel
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13217 if test "x$ac_cv_header_cups_ppd_h" = xyes
; then :
13218 cat >>confdefs.h
<<_ACEOF
13219 #define HAVE_CUPS_PPD_H 1
13230 CPPFLAGS
="$ac_save_CPPFLAGS"
13232 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13233 case "x$with_cups" in
13234 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13236 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13237 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13242 if test "x$with_fontconfig" != "xno"
13244 if ${FONTCONFIG_CFLAGS:+false} :; then :
13245 if ${PKG_CONFIG+:} false
; then :
13246 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13249 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13250 if ${FONTCONFIG_LIBS:+false} :; then :
13251 if ${PKG_CONFIG+:} false
; then :
13252 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13255 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13257 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13258 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13259 ac_save_CPPFLAGS
=$CPPFLAGS
13260 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13261 for ac_header
in fontconfig
/fontconfig.h
13263 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13264 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13265 cat >>confdefs.h
<<_ACEOF
13266 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13273 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13276 $as_echo_n "checking for -lfontconfig... " >&6; }
13277 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13278 $as_echo_n "(cached) " >&6
13280 ac_check_soname_save_LIBS
=$LIBS
13281 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13283 /* end confdefs.h. */
13285 /* Override any GCC internal prototype to avoid an error.
13286 Use char because int might match the return type of a GCC
13287 builtin and then its argument prototype would still apply. */
13300 if ac_fn_c_try_link
"$LINENO"; then :
13302 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13303 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'` ;;
13304 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13305 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13306 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13310 rm -f core conftest.err conftest.
$ac_objext \
13311 conftest
$ac_exeext conftest.
$ac_ext
13312 LIBS
=$ac_check_soname_save_LIBS
13314 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13316 $as_echo "not found" >&6; }
13317 FONTCONFIG_CFLAGS
=""
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13320 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13322 cat >>confdefs.h
<<_ACEOF
13323 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13329 FONTCONFIG_CFLAGS
=""
13331 CPPFLAGS
=$ac_save_CPPFLAGS
13332 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13333 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13336 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13337 case "x$with_fontconfig" in
13338 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13340 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13341 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13346 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13349 $as_echo_n "checking for -lgsm... " >&6; }
13350 if ${ac_cv_lib_soname_gsm+:} false
; then :
13351 $as_echo_n "(cached) " >&6
13353 ac_check_soname_save_LIBS
=$LIBS
13355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13356 /* end confdefs.h. */
13358 /* Override any GCC internal prototype to avoid an error.
13359 Use char because int might match the return type of a GCC
13360 builtin and then its argument prototype would still apply. */
13364 char gsm_create ();
13368 return gsm_create ();
13373 if ac_fn_c_try_link
"$LINENO"; then :
13375 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13376 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'` ;;
13377 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13378 if ${ac_cv_lib_soname_gsm:+false} :; then :
13379 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13383 rm -f core conftest.err conftest.
$ac_objext \
13384 conftest
$ac_exeext conftest.
$ac_ext
13385 LIBS
=$ac_check_soname_save_LIBS
13387 if ${ac_cv_lib_soname_gsm:+false} :; then :
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13389 $as_echo "not found" >&6; }
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13393 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13395 cat >>confdefs.h
<<_ACEOF
13396 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13402 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13403 case "x$with_gsm" in
13404 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13406 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13407 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13412 if test "x$with_jpeg" != "xno"
13414 if ${JPEG_CFLAGS:+false} :; then :
13415 if ${PKG_CONFIG+:} false
; then :
13416 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13420 if ${JPEG_LIBS:+false} :; then :
13421 if ${PKG_CONFIG+:} false
; then :
13422 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13427 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13428 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13429 ac_save_CPPFLAGS
=$CPPFLAGS
13430 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13431 for ac_header
in jpeglib.h
13433 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13434 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13435 cat >>confdefs.h
<<_ACEOF
13436 #define HAVE_JPEGLIB_H 1
13443 if test "$ac_cv_header_jpeglib_h" = "yes"
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13446 $as_echo_n "checking for -ljpeg... " >&6; }
13447 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13448 $as_echo_n "(cached) " >&6
13450 ac_check_soname_save_LIBS
=$LIBS
13451 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13453 /* end confdefs.h. */
13455 /* Override any GCC internal prototype to avoid an error.
13456 Use char because int might match the return type of a GCC
13457 builtin and then its argument prototype would still apply. */
13461 char jpeg_start_decompress ();
13465 return jpeg_start_decompress ();
13470 if ac_fn_c_try_link
"$LINENO"; then :
13472 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13473 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'` ;;
13474 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13475 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13476 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13480 rm -f core conftest.err conftest.
$ac_objext \
13481 conftest
$ac_exeext conftest.
$ac_ext
13482 LIBS
=$ac_check_soname_save_LIBS
13484 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13486 $as_echo "not found" >&6; }
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13490 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13492 cat >>confdefs.h
<<_ACEOF
13493 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13501 CPPFLAGS
=$ac_save_CPPFLAGS
13502 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13503 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13506 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13507 case "x$with_jpeg" in
13508 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13510 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13511 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13516 if test "x$with_png" != "xno"
13518 if ${PNG_CFLAGS:+false} :; then :
13519 if ${PKG_CONFIG+:} false
; then :
13520 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13523 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13524 if ${PNG_LIBS:+false} :; then :
13525 if ${PKG_CONFIG+:} false
; then :
13526 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13529 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13531 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13532 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13533 ac_save_CPPFLAGS
=$CPPFLAGS
13534 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13535 for ac_header
in png.h
13537 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13538 if test "x$ac_cv_header_png_h" = xyes
; then :
13539 cat >>confdefs.h
<<_ACEOF
13540 #define HAVE_PNG_H 1
13547 if test "$ac_cv_header_png_h" = "yes"
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13550 $as_echo_n "checking for -lpng... " >&6; }
13551 if ${ac_cv_lib_soname_png+:} false
; then :
13552 $as_echo_n "(cached) " >&6
13554 ac_check_soname_save_LIBS
=$LIBS
13555 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13557 /* end confdefs.h. */
13559 /* Override any GCC internal prototype to avoid an error.
13560 Use char because int might match the return type of a GCC
13561 builtin and then its argument prototype would still apply. */
13565 char png_create_read_struct ();
13569 return png_create_read_struct ();
13574 if ac_fn_c_try_link
"$LINENO"; then :
13576 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13577 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'` ;;
13578 *) 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'`
13579 if ${ac_cv_lib_soname_png:+false} :; then :
13580 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13584 rm -f core conftest.err conftest.
$ac_objext \
13585 conftest
$ac_exeext conftest.
$ac_ext
13586 LIBS
=$ac_check_soname_save_LIBS
13588 if ${ac_cv_lib_soname_png:+false} :; then :
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13590 $as_echo "not found" >&6; }
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13594 $as_echo "$ac_cv_lib_soname_png" >&6; }
13596 cat >>confdefs.h
<<_ACEOF
13597 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13601 /* end confdefs.h. */
13606 typeof(png_set_expand_gray_1_2_4_to_8) *p
13611 if ac_fn_c_try_compile
"$LINENO"; then :
13613 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13621 CPPFLAGS
=$ac_save_CPPFLAGS
13622 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13623 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13626 if test "x$ac_cv_lib_soname_png" = "x"; then :
13627 case "x$with_png" in
13628 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13630 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13631 This is an error since --with-png was requested." "$LINENO" 5 ;;
13636 if test "x$with_tiff" != "xno"
13638 if ${TIFF_CFLAGS:+false} :; then :
13639 if ${PKG_CONFIG+:} false
; then :
13640 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13644 if ${TIFF_LIBS:+false} :; then :
13645 if ${PKG_CONFIG+:} false
; then :
13646 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13651 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13652 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13653 ac_save_CPPFLAGS
=$CPPFLAGS
13654 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13655 for ac_header
in tiffio.h
13657 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13658 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13659 cat >>confdefs.h
<<_ACEOF
13660 #define HAVE_TIFFIO_H 1
13667 if test "$ac_cv_header_tiffio_h" = "yes"
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13670 $as_echo_n "checking for -ltiff... " >&6; }
13671 if ${ac_cv_lib_soname_tiff+:} false
; then :
13672 $as_echo_n "(cached) " >&6
13674 ac_check_soname_save_LIBS
=$LIBS
13675 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13677 /* end confdefs.h. */
13679 /* Override any GCC internal prototype to avoid an error.
13680 Use char because int might match the return type of a GCC
13681 builtin and then its argument prototype would still apply. */
13685 char TIFFClientOpen ();
13689 return TIFFClientOpen ();
13694 if ac_fn_c_try_link
"$LINENO"; then :
13696 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13697 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'` ;;
13698 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13699 if ${ac_cv_lib_soname_tiff:+false} :; then :
13700 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13704 rm -f core conftest.err conftest.
$ac_objext \
13705 conftest
$ac_exeext conftest.
$ac_ext
13706 LIBS
=$ac_check_soname_save_LIBS
13708 if ${ac_cv_lib_soname_tiff:+false} :; then :
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13710 $as_echo "not found" >&6; }
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13714 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13716 cat >>confdefs.h
<<_ACEOF
13717 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13723 CPPFLAGS
=$ac_save_CPPFLAGS
13724 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13725 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13728 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13729 case "x$with_tiff" in
13730 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13732 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13733 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13738 if test "x$with_mpg123" != "xno"
13740 if ${MPG123_CFLAGS:+false} :; then :
13741 if ${PKG_CONFIG+:} false
; then :
13742 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13746 if ${MPG123_LIBS:+false} :; then :
13747 if ${PKG_CONFIG+:} false
; then :
13748 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13752 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13753 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13754 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13755 ac_save_CPPFLAGS
=$CPPFLAGS
13756 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13757 for ac_header
in mpg123.h
13759 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13760 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13761 cat >>confdefs.h
<<_ACEOF
13762 #define HAVE_MPG123_H 1
13769 if test "$ac_cv_header_mpg123_h" = "yes"
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13772 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13773 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13774 $as_echo_n "(cached) " >&6
13776 ac_check_lib_save_LIBS
=$LIBS
13777 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13779 /* end confdefs.h. */
13781 /* Override any GCC internal prototype to avoid an error.
13782 Use char because int might match the return type of a GCC
13783 builtin and then its argument prototype would still apply. */
13787 char mpg123_feed ();
13791 return mpg123_feed ();
13796 if ac_fn_c_try_link
"$LINENO"; then :
13797 ac_cv_lib_mpg123_mpg123_feed
=yes
13799 ac_cv_lib_mpg123_mpg123_feed
=no
13801 rm -f core conftest.err conftest.
$ac_objext \
13802 conftest
$ac_exeext conftest.
$ac_ext
13803 LIBS
=$ac_check_lib_save_LIBS
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13806 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13807 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13817 CPPFLAGS
=$ac_save_CPPFLAGS
13818 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13819 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13822 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13823 case "x$with_mpg123" in
13824 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13826 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13827 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13829 enable_winemp3_acm
=${enable_winemp3_acm:-no}
13832 if test "$ac_cv_header_AL_al_h" = "yes"
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13835 $as_echo_n "checking for -lopenal... " >&6; }
13836 if ${ac_cv_lib_soname_openal+:} false
; then :
13837 $as_echo_n "(cached) " >&6
13839 ac_check_soname_save_LIBS
=$LIBS
13840 LIBS
="-lopenal $LIBS"
13841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13842 /* end confdefs.h. */
13844 /* Override any GCC internal prototype to avoid an error.
13845 Use char because int might match the return type of a GCC
13846 builtin and then its argument prototype would still apply. */
13850 char alGetSource3i ();
13854 return alGetSource3i ();
13859 if ac_fn_c_try_link
"$LINENO"; then :
13861 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13862 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'` ;;
13863 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13864 if ${ac_cv_lib_soname_openal:+false} :; then :
13865 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13869 rm -f core conftest.err conftest.
$ac_objext \
13870 conftest
$ac_exeext conftest.
$ac_ext
13871 LIBS
=$ac_check_soname_save_LIBS
13873 if ${ac_cv_lib_soname_openal:+false} :; then :
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13875 $as_echo "not found" >&6; }
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13879 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13881 cat >>confdefs.h
<<_ACEOF
13882 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13885 OPENAL_LIBS
="-lopenal"
13887 ac_cv_lib_openal
=yes
13889 cat >>confdefs.h
<<_ACEOF
13890 #define HAVE_OPENAL 1
13895 if test "x$ac_cv_lib_openal" != xyes
; then :
13896 case "x$with_openal" in
13897 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13899 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13900 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13902 enable_openal32
=${enable_openal32:-no}
13905 if test "x$ac_cv_lib_openal" = xyes
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13908 $as_echo_n "checking for openal-soft... " >&6; }
13909 if ${ac_cv_have_openalsoft+:} false
; then :
13910 $as_echo_n "(cached) " >&6
13912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13913 /* end confdefs.h. */
13915 #include <AL/alc.h>
13916 #include <AL/alext.h>
13917 LPALCRENDERSAMPLESSOFT x;
13926 if ac_fn_c_try_compile
"$LINENO"; then :
13927 ac_cv_have_openalsoft
=yes
13929 ac_cv_have_openalsoft
=no
13931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13934 $as_echo "$ac_cv_have_openalsoft" >&6; }
13936 if test "x$ac_cv_have_openalsoft" != xyes
13938 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13939 enable_x3daudio1_0
=${enable_x3daudio1_0:-no}
13940 enable_x3daudio1_1
=${enable_x3daudio1_1:-no}
13941 enable_x3daudio1_2
=${enable_x3daudio1_2:-no}
13942 enable_x3daudio1_3
=${enable_x3daudio1_3:-no}
13943 enable_x3daudio1_4
=${enable_x3daudio1_4:-no}
13944 enable_x3daudio1_5
=${enable_x3daudio1_5:-no}
13945 enable_x3daudio1_6
=${enable_x3daudio1_6:-no}
13946 enable_x3daudio1_7
=${enable_x3daudio1_7:-no}
13947 enable_xapofx1_1
=${enable_xapofx1_1:-no}
13948 enable_xapofx1_2
=${enable_xapofx1_2:-no}
13949 enable_xapofx1_3
=${enable_xapofx1_3:-no}
13950 enable_xapofx1_4
=${enable_xapofx1_4:-no}
13951 enable_xapofx1_5
=${enable_xapofx1_5:-no}
13952 enable_xaudio2_0
=${enable_xaudio2_0:-no}
13953 enable_xaudio2_1
=${enable_xaudio2_1:-no}
13954 enable_xaudio2_2
=${enable_xaudio2_2:-no}
13955 enable_xaudio2_3
=${enable_xaudio2_3:-no}
13956 enable_xaudio2_4
=${enable_xaudio2_4:-no}
13957 enable_xaudio2_5
=${enable_xaudio2_5:-no}
13958 enable_xaudio2_6
=${enable_xaudio2_6:-no}
13959 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13960 enable_xaudio2_8
=${enable_xaudio2_8:-no}
13961 enable_xaudio2_9
=${enable_xaudio2_9:-no}
13964 if test "$ac_cv_header_kstat_h" = "yes"
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13967 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13968 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13969 $as_echo_n "(cached) " >&6
13971 ac_check_lib_save_LIBS
=$LIBS
13972 LIBS
="-lkstat $LIBS"
13973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13974 /* end confdefs.h. */
13976 /* Override any GCC internal prototype to avoid an error.
13977 Use char because int might match the return type of a GCC
13978 builtin and then its argument prototype would still apply. */
13982 char kstat_open ();
13986 return kstat_open ();
13991 if ac_fn_c_try_link
"$LINENO"; then :
13992 ac_cv_lib_kstat_kstat_open
=yes
13994 ac_cv_lib_kstat_kstat_open
=no
13996 rm -f core conftest.err conftest.
$ac_objext \
13997 conftest
$ac_exeext conftest.
$ac_ext
13998 LIBS
=$ac_check_lib_save_LIBS
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14001 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14002 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
14004 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14006 KSTAT_LIBS
="-lkstat"
14012 if test "$ac_cv_header_libprocstat_h" = "yes"
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14015 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14016 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
14017 $as_echo_n "(cached) " >&6
14019 ac_check_lib_save_LIBS
=$LIBS
14020 LIBS
="-lprocstat $LIBS"
14021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14022 /* end confdefs.h. */
14024 /* Override any GCC internal prototype to avoid an error.
14025 Use char because int might match the return type of a GCC
14026 builtin and then its argument prototype would still apply. */
14030 char procstat_open_sysctl ();
14034 return procstat_open_sysctl ();
14039 if ac_fn_c_try_link
"$LINENO"; then :
14040 ac_cv_lib_procstat_procstat_open_sysctl
=yes
14042 ac_cv_lib_procstat_procstat_open_sysctl
=no
14044 rm -f core conftest.err conftest.
$ac_objext \
14045 conftest
$ac_exeext conftest.
$ac_ext
14046 LIBS
=$ac_check_lib_save_LIBS
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14049 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14050 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
14052 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14054 PROCSTAT_LIBS
="-lprocstat"
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14061 $as_echo_n "checking for -lodbc... " >&6; }
14062 if ${ac_cv_lib_soname_odbc+:} false
; then :
14063 $as_echo_n "(cached) " >&6
14065 ac_check_soname_save_LIBS
=$LIBS
14066 LIBS
="-lodbc $LIBS"
14067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14070 /* Override any GCC internal prototype to avoid an error.
14071 Use char because int might match the return type of a GCC
14072 builtin and then its argument prototype would still apply. */
14076 char SQLConnect ();
14080 return SQLConnect ();
14085 if ac_fn_c_try_link
"$LINENO"; then :
14087 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14088 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'` ;;
14089 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14090 if ${ac_cv_lib_soname_odbc:+false} :; then :
14091 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14095 rm -f core conftest.err conftest.
$ac_objext \
14096 conftest
$ac_exeext conftest.
$ac_ext
14097 LIBS
=$ac_check_soname_save_LIBS
14099 if ${ac_cv_lib_soname_odbc:+false} :; then :
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14101 $as_echo "not found" >&6; }
14102 cat >>confdefs.h
<<_ACEOF
14103 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14108 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14110 cat >>confdefs.h
<<_ACEOF
14111 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14117 if test "x$with_netapi" != "xno"
14119 if ${NETAPI_CFLAGS:+false} :; then :
14120 if ${PKG_CONFIG+:} false
; then :
14121 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14125 if ${NETAPI_LIBS:+false} :; then :
14126 if ${PKG_CONFIG+:} false
; then :
14127 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
14132 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14133 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14134 ac_save_CPPFLAGS
=$CPPFLAGS
14135 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14137 $as_echo_n "checking for -lnetapi... " >&6; }
14138 if ${ac_cv_lib_soname_netapi+:} false
; then :
14139 $as_echo_n "(cached) " >&6
14141 ac_check_soname_save_LIBS
=$LIBS
14142 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
14143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14144 /* end confdefs.h. */
14146 /* Override any GCC internal prototype to avoid an error.
14147 Use char because int might match the return type of a GCC
14148 builtin and then its argument prototype would still apply. */
14152 char libnetapi_init ();
14156 return libnetapi_init ();
14161 if ac_fn_c_try_link
"$LINENO"; then :
14163 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14164 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'` ;;
14165 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14166 if ${ac_cv_lib_soname_netapi:+false} :; then :
14167 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14171 rm -f core conftest.err conftest.
$ac_objext \
14172 conftest
$ac_exeext conftest.
$ac_ext
14173 LIBS
=$ac_check_soname_save_LIBS
14175 if ${ac_cv_lib_soname_netapi:+false} :; then :
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14177 $as_echo "not found" >&6; }
14178 cat >>confdefs.h
<<_ACEOF
14179 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14184 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14186 cat >>confdefs.h
<<_ACEOF
14187 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14192 CPPFLAGS
=$ac_save_CPPFLAGS
14193 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS
=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14194 test -z "$NETAPI_LIBS" || NETAPI_LIBS
=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14198 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono
-a \
14199 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14201 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
14207 if test "x${GCC}" = "xyes"
14209 EXTRACFLAGS
="-Wall -pipe"
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14212 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14213 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
14214 $as_echo_n "(cached) " >&6
14216 if test "$cross_compiling" = yes; then :
14217 ac_cv_c_gcc_strength_bug
="no"
14219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14220 /* end confdefs.h. */
14221 int L[4] = {0,1,2,3};
14225 static int Array[3];
14226 unsigned int B = 3;
14228 for(i=0; i<B; i++) Array[i] = i - 3;
14229 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14231 return (Array[1] != -2 || L[2] != 3)
14236 if ac_fn_c_try_run
"$LINENO"; then :
14237 ac_cv_c_gcc_strength_bug
="no"
14239 ac_cv_c_gcc_strength_bug
="yes"
14241 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14242 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14247 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14248 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14250 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14254 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14255 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14256 $as_echo_n "(cached) " >&6
14258 ac_wine_try_cflags_saved
=$CFLAGS
14259 CFLAGS
="$CFLAGS -fno-builtin"
14260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14262 int main(int argc, char **argv) { return 0; }
14264 if ac_fn_c_try_link
"$LINENO"; then :
14265 ac_cv_cflags__fno_builtin
=yes
14267 ac_cv_cflags__fno_builtin
=no
14269 rm -f core conftest.err conftest.
$ac_objext \
14270 conftest
$ac_exeext conftest.
$ac_ext
14271 CFLAGS
=$ac_wine_try_cflags_saved
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14274 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14275 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14276 BUILTINFLAG
="-fno-builtin"
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14280 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14281 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14282 $as_echo_n "(cached) " >&6
14284 ac_wine_try_cflags_saved
=$CFLAGS
14285 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14287 /* end confdefs.h. */
14288 int main(int argc, char **argv) { return 0; }
14290 if ac_fn_c_try_link
"$LINENO"; then :
14291 ac_cv_cflags__fno_strict_aliasing
=yes
14293 ac_cv_cflags__fno_strict_aliasing
=no
14295 rm -f core conftest.err conftest.
$ac_objext \
14296 conftest
$ac_exeext conftest.
$ac_ext
14297 CFLAGS
=$ac_wine_try_cflags_saved
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14300 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14301 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14302 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14305 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14306 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14307 $as_echo_n "(cached) " >&6
14309 ac_wine_try_cflags_saved
=$CFLAGS
14310 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14312 /* end confdefs.h. */
14313 int main(int argc, char **argv) { return 0; }
14315 if ac_fn_c_try_link
"$LINENO"; then :
14316 ac_cv_cflags__fexcess_precision_standard
=yes
14318 ac_cv_cflags__fexcess_precision_standard
=no
14320 rm -f core conftest.err conftest.
$ac_objext \
14321 conftest
$ac_exeext conftest.
$ac_ext
14322 CFLAGS
=$ac_wine_try_cflags_saved
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14325 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14326 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14327 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14330 saved_CFLAGS
=$CFLAGS
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14332 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14333 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14334 $as_echo_n "(cached) " >&6
14336 ac_wine_try_cflags_saved
=$CFLAGS
14337 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14339 /* end confdefs.h. */
14340 int main(int argc, char **argv) { return 0; }
14342 if ac_fn_c_try_link
"$LINENO"; then :
14343 ac_cv_cflags__Werror_unknown_warning_option
=yes
14345 ac_cv_cflags__Werror_unknown_warning_option
=no
14347 rm -f core conftest.err conftest.
$ac_objext \
14348 conftest
$ac_exeext conftest.
$ac_ext
14349 CFLAGS
=$ac_wine_try_cflags_saved
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14352 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14353 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14354 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14357 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14358 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14359 $as_echo_n "(cached) " >&6
14361 ac_wine_try_cflags_saved
=$CFLAGS
14362 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14364 /* end confdefs.h. */
14365 int main(int argc, char **argv) { return 0; }
14367 if ac_fn_c_try_link
"$LINENO"; then :
14368 ac_cv_cflags__Wdeclaration_after_statement
=yes
14370 ac_cv_cflags__Wdeclaration_after_statement
=no
14372 rm -f core conftest.err conftest.
$ac_objext \
14373 conftest
$ac_exeext conftest.
$ac_ext
14374 CFLAGS
=$ac_wine_try_cflags_saved
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14377 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14378 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14379 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14382 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14383 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14384 $as_echo_n "(cached) " >&6
14386 ac_wine_try_cflags_saved
=$CFLAGS
14387 CFLAGS
="$CFLAGS -Wempty-body"
14388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14389 /* end confdefs.h. */
14390 int main(int argc, char **argv) { return 0; }
14392 if ac_fn_c_try_link
"$LINENO"; then :
14393 ac_cv_cflags__Wempty_body
=yes
14395 ac_cv_cflags__Wempty_body
=no
14397 rm -f core conftest.err conftest.
$ac_objext \
14398 conftest
$ac_exeext conftest.
$ac_ext
14399 CFLAGS
=$ac_wine_try_cflags_saved
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14402 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14403 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14404 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14407 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14408 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14409 $as_echo_n "(cached) " >&6
14411 ac_wine_try_cflags_saved
=$CFLAGS
14412 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14414 /* end confdefs.h. */
14415 int main(int argc, char **argv) { return 0; }
14417 if ac_fn_c_try_link
"$LINENO"; then :
14418 ac_cv_cflags__Wignored_qualifiers
=yes
14420 ac_cv_cflags__Wignored_qualifiers
=no
14422 rm -f core conftest.err conftest.
$ac_objext \
14423 conftest
$ac_exeext conftest.
$ac_ext
14424 CFLAGS
=$ac_wine_try_cflags_saved
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14427 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14428 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14429 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14432 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14433 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
14434 $as_echo_n "(cached) " >&6
14436 ac_wine_try_cflags_saved
=$CFLAGS
14437 CFLAGS
="$CFLAGS -Wshift-overflow=2"
14438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14439 /* end confdefs.h. */
14440 int main(int argc, char **argv) { return 0; }
14442 if ac_fn_c_try_link
"$LINENO"; then :
14443 ac_cv_cflags__Wshift_overflow_2
=yes
14445 ac_cv_cflags__Wshift_overflow_2
=no
14447 rm -f core conftest.err conftest.
$ac_objext \
14448 conftest
$ac_exeext conftest.
$ac_ext
14449 CFLAGS
=$ac_wine_try_cflags_saved
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14452 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14453 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
14454 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14457 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14458 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14459 $as_echo_n "(cached) " >&6
14461 ac_wine_try_cflags_saved
=$CFLAGS
14462 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14464 /* end confdefs.h. */
14465 int main(int argc, char **argv) { return 0; }
14467 if ac_fn_c_try_link
"$LINENO"; then :
14468 ac_cv_cflags__Wstrict_prototypes
=yes
14470 ac_cv_cflags__Wstrict_prototypes
=no
14472 rm -f core conftest.err conftest.
$ac_objext \
14473 conftest
$ac_exeext conftest.
$ac_ext
14474 CFLAGS
=$ac_wine_try_cflags_saved
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14477 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14478 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14479 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14482 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14483 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14484 $as_echo_n "(cached) " >&6
14486 ac_wine_try_cflags_saved
=$CFLAGS
14487 CFLAGS
="$CFLAGS -Wtype-limits"
14488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14489 /* end confdefs.h. */
14490 int main(int argc, char **argv) { return 0; }
14492 if ac_fn_c_try_link
"$LINENO"; then :
14493 ac_cv_cflags__Wtype_limits
=yes
14495 ac_cv_cflags__Wtype_limits
=no
14497 rm -f core conftest.err conftest.
$ac_objext \
14498 conftest
$ac_exeext conftest.
$ac_ext
14499 CFLAGS
=$ac_wine_try_cflags_saved
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14502 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14503 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14504 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14507 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14508 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14509 $as_echo_n "(cached) " >&6
14511 ac_wine_try_cflags_saved
=$CFLAGS
14512 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14514 /* end confdefs.h. */
14515 int main(int argc, char **argv) { return 0; }
14517 if ac_fn_c_try_link
"$LINENO"; then :
14518 ac_cv_cflags__Wunused_but_set_parameter
=yes
14520 ac_cv_cflags__Wunused_but_set_parameter
=no
14522 rm -f core conftest.err conftest.
$ac_objext \
14523 conftest
$ac_exeext conftest.
$ac_ext
14524 CFLAGS
=$ac_wine_try_cflags_saved
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14527 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14528 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14529 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14532 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14533 if ${ac_cv_cflags__Wvla+:} false
; then :
14534 $as_echo_n "(cached) " >&6
14536 ac_wine_try_cflags_saved
=$CFLAGS
14537 CFLAGS
="$CFLAGS -Wvla"
14538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14539 /* end confdefs.h. */
14540 int main(int argc, char **argv) { return 0; }
14542 if ac_fn_c_try_link
"$LINENO"; then :
14543 ac_cv_cflags__Wvla
=yes
14545 ac_cv_cflags__Wvla
=no
14547 rm -f core conftest.err conftest.
$ac_objext \
14548 conftest
$ac_exeext conftest.
$ac_ext
14549 CFLAGS
=$ac_wine_try_cflags_saved
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14552 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14553 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14554 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14557 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14558 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14559 $as_echo_n "(cached) " >&6
14561 ac_wine_try_cflags_saved
=$CFLAGS
14562 CFLAGS
="$CFLAGS -Wwrite-strings"
14563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14565 int main(int argc, char **argv) { return 0; }
14567 if ac_fn_c_try_link
"$LINENO"; then :
14568 ac_cv_cflags__Wwrite_strings
=yes
14570 ac_cv_cflags__Wwrite_strings
=no
14572 rm -f core conftest.err conftest.
$ac_objext \
14573 conftest
$ac_exeext conftest.
$ac_ext
14574 CFLAGS
=$ac_wine_try_cflags_saved
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14577 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14578 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14579 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14583 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14584 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14585 $as_echo_n "(cached) " >&6
14587 ac_wine_try_cflags_saved
=$CFLAGS
14588 CFLAGS
="$CFLAGS -Wpointer-arith"
14589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14590 /* end confdefs.h. */
14591 int main(int argc, char **argv) { return 0; }
14593 if ac_fn_c_try_link
"$LINENO"; then :
14594 ac_cv_cflags__Wpointer_arith
=yes
14596 ac_cv_cflags__Wpointer_arith
=no
14598 rm -f core conftest.err conftest.
$ac_objext \
14599 conftest
$ac_exeext conftest.
$ac_ext
14600 CFLAGS
=$ac_wine_try_cflags_saved
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14603 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14604 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14605 saved_string_h_CFLAGS
=$CFLAGS
14606 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14608 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14609 if ${ac_cv_c_string_h_warnings+:} false
; then :
14610 $as_echo_n "(cached) " >&6
14612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14613 /* end confdefs.h. */
14614 #include <string.h>
14623 if ac_fn_c_try_compile
"$LINENO"; then :
14624 ac_cv_c_string_h_warnings
=no
14626 ac_cv_c_string_h_warnings
=yes
14628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14631 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14632 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14633 CFLAGS
=$saved_string_h_CFLAGS
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14637 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14638 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14639 $as_echo_n "(cached) " >&6
14641 ac_wine_try_cflags_saved
=$CFLAGS
14642 CFLAGS
="$CFLAGS -Wlogical-op"
14643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14644 /* end confdefs.h. */
14645 int main(int argc, char **argv) { return 0; }
14647 if ac_fn_c_try_link
"$LINENO"; then :
14648 ac_cv_cflags__Wlogical_op
=yes
14650 ac_cv_cflags__Wlogical_op
=no
14652 rm -f core conftest.err conftest.
$ac_objext \
14653 conftest
$ac_exeext conftest.
$ac_ext
14654 CFLAGS
=$ac_wine_try_cflags_saved
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14657 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14658 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14659 saved_string_h_CFLAGS
=$CFLAGS
14660 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14662 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14663 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14664 $as_echo_n "(cached) " >&6
14666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14667 /* end confdefs.h. */
14668 #include <string.h>
14669 char*f(const char *h,char n) {return strchr(h,n);}
14678 if ac_fn_c_try_compile
"$LINENO"; then :
14679 ac_cv_c_logicalop_noisy
=no
14681 ac_cv_c_logicalop_noisy
=yes
14683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14686 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14687 CFLAGS
=$saved_string_h_CFLAGS
14688 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14691 CFLAGS
=$saved_CFLAGS
14693 for ac_flag
in $CFLAGS; do
14695 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14696 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14697 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14698 $as_echo_n "(cached) " >&6
14700 ac_wine_try_cflags_saved
=$CFLAGS
14701 CFLAGS
="$CFLAGS -gdwarf-2"
14702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14703 /* end confdefs.h. */
14704 int main(int argc, char **argv) { return 0; }
14706 if ac_fn_c_try_link
"$LINENO"; then :
14707 ac_cv_cflags__gdwarf_2
=yes
14709 ac_cv_cflags__gdwarf_2
=no
14711 rm -f core conftest.err conftest.
$ac_objext \
14712 conftest
$ac_exeext conftest.
$ac_ext
14713 CFLAGS
=$ac_wine_try_cflags_saved
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14716 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14717 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14718 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14721 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14722 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14723 $as_echo_n "(cached) " >&6
14725 ac_wine_try_cflags_saved
=$CFLAGS
14726 CFLAGS
="$CFLAGS -gstrict-dwarf"
14727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14728 /* end confdefs.h. */
14729 int main(int argc, char **argv) { return 0; }
14731 if ac_fn_c_try_link
"$LINENO"; then :
14732 ac_cv_cflags__gstrict_dwarf
=yes
14734 ac_cv_cflags__gstrict_dwarf
=no
14736 rm -f core conftest.err conftest.
$ac_objext \
14737 conftest
$ac_exeext conftest.
$ac_ext
14738 CFLAGS
=$ac_wine_try_cflags_saved
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14741 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14742 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14743 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14749 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14750 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14751 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14752 $as_echo_n "(cached) " >&6
14754 ac_wine_try_cflags_saved
=$CFLAGS
14755 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h. */
14758 int main(int argc, char **argv) { return 0; }
14760 if ac_fn_c_try_link
"$LINENO"; then :
14761 ac_cv_cflags__fno_omit_frame_pointer
=yes
14763 ac_cv_cflags__fno_omit_frame_pointer
=no
14765 rm -f core conftest.err conftest.
$ac_objext \
14766 conftest
$ac_exeext conftest.
$ac_ext
14767 CFLAGS
=$ac_wine_try_cflags_saved
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14770 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14771 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14772 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14777 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14778 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14779 if ${ac_cv_cflags__Wno_format+:} false
; then :
14780 $as_echo_n "(cached) " >&6
14782 ac_wine_try_cflags_saved
=$CFLAGS
14783 CFLAGS
="$CFLAGS -Wno-format"
14784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14785 /* end confdefs.h. */
14786 int main(int argc, char **argv) { return 0; }
14788 if ac_fn_c_try_link
"$LINENO"; then :
14789 ac_cv_cflags__Wno_format
=yes
14791 ac_cv_cflags__Wno_format
=no
14793 rm -f core conftest.err conftest.
$ac_objext \
14794 conftest
$ac_exeext conftest.
$ac_ext
14795 CFLAGS
=$ac_wine_try_cflags_saved
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14798 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14799 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14800 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14804 if test "x$enable_maintainer_mode" = "xyes"
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14807 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14808 if ${ac_cv_cflags__Werror+:} false
; then :
14809 $as_echo_n "(cached) " >&6
14811 ac_wine_try_cflags_saved
=$CFLAGS
14812 CFLAGS
="$CFLAGS -Werror"
14813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14814 /* end confdefs.h. */
14815 int main(int argc, char **argv) { return 0; }
14817 if ac_fn_c_try_link
"$LINENO"; then :
14818 ac_cv_cflags__Werror
=yes
14820 ac_cv_cflags__Werror
=no
14822 rm -f core conftest.err conftest.
$ac_objext \
14823 conftest
$ac_exeext conftest.
$ac_ext
14824 CFLAGS
=$ac_wine_try_cflags_saved
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14827 $as_echo "$ac_cv_cflags__Werror" >&6; }
14828 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14829 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14833 saved_CFLAGS
="$CFLAGS"
14834 CFLAGS
="$CFLAGS -Werror"
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14836 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14837 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14838 $as_echo_n "(cached) " >&6
14840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14841 /* end confdefs.h. */
14842 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14851 if ac_fn_c_try_compile
"$LINENO"; then :
14852 ac_cv_have_ms_hook_prologue
="yes"
14854 ac_cv_have_ms_hook_prologue
="no"
14856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14859 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14860 CFLAGS
="$saved_CFLAGS"
14861 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14864 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14867 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14874 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14875 if ${ac_cv_c_fortify_enabled+:} false
; then :
14876 $as_echo_n "(cached) " >&6
14878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14879 /* end confdefs.h. */
14880 #include <string.h>
14884 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14885 #error Fortify enabled
14891 if ac_fn_c_try_compile
"$LINENO"; then :
14892 ac_cv_c_fortify_enabled
=no
14894 ac_cv_c_fortify_enabled
=yes
14896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14899 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14900 if test "$ac_cv_c_fortify_enabled" = yes
14902 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14907 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14908 if ${ac_cv_c_extern_prefix+:} false
; then :
14909 $as_echo_n "(cached) " >&6
14911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14912 /* end confdefs.h. */
14913 extern int ac_test;
14917 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14922 if ac_fn_c_try_link
"$LINENO"; then :
14923 ac_cv_c_extern_prefix
="yes"
14925 ac_cv_c_extern_prefix
="no"
14927 rm -f core conftest.err conftest.
$ac_objext \
14928 conftest
$ac_exeext conftest.
$ac_ext
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14931 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14936 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14937 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14938 $as_echo_n "(cached) " >&6
14940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14941 /* end confdefs.h. */
14943 #define __stdcall __attribute__((__stdcall__))
14945 int __stdcall ac_test(int i) { return i; }
14949 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14954 if ac_fn_c_try_link
"$LINENO"; then :
14955 ac_cv_c_stdcall_suffix
="yes"
14957 ac_cv_c_stdcall_suffix
="no"
14959 rm -f core conftest.err conftest.
$ac_objext \
14960 conftest
$ac_exeext conftest.
$ac_ext
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14963 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14964 *) ac_cv_c_stdcall_suffix
="no" ;;
14968 if test "$ac_cv_c_extern_prefix" = "yes"
14970 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14972 asm_name_prefix
="_"
14974 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14980 if test "$ac_cv_c_stdcall_suffix" = "yes"
14982 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14985 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14991 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14992 if ${ac_cv_asm_func_def+:} false
; then :
14993 $as_echo_n "(cached) " >&6
14995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14996 /* end confdefs.h. */
15001 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15006 if ac_fn_c_try_link
"$LINENO"; then :
15007 ac_cv_asm_func_def
=".def"
15009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15010 /* end confdefs.h. */
15015 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15020 if ac_fn_c_try_link
"$LINENO"; then :
15021 ac_cv_asm_func_def
=".type @function"
15023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15024 /* end confdefs.h. */
15029 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15034 if ac_fn_c_try_link
"$LINENO"; then :
15035 ac_cv_asm_func_def
=".type 2"
15037 ac_cv_asm_func_def
="unknown"
15039 rm -f core conftest.err conftest.
$ac_objext \
15040 conftest
$ac_exeext conftest.
$ac_ext
15042 rm -f core conftest.err conftest.
$ac_objext \
15043 conftest
$ac_exeext conftest.
$ac_ext
15045 rm -f core conftest.err conftest.
$ac_objext \
15046 conftest
$ac_exeext conftest.
$ac_ext
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15049 $as_echo "$ac_cv_asm_func_def" >&6; }
15052 case "$ac_cv_asm_func_def" in
15054 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15056 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15058 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15060 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
15062 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15064 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
15066 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15068 asm_func_header
="" ;;
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15072 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15073 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
15074 $as_echo_n "(cached) " >&6
15076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15077 /* end confdefs.h. */
15078 asm(".text\n\t.long 0");
15087 if ac_fn_c_try_compile
"$LINENO"; then :
15088 ac_cv_c_asm_outside_funcs
="yes"
15090 ac_cv_c_asm_outside_funcs
="no"
15092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15095 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15098 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15099 if ${ac_cv_c_dot_previous+:} false
; then :
15100 $as_echo_n "(cached) " >&6
15102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15103 /* end confdefs.h. */
15108 asm(".text\nac_test:\t.long 0\n\t.previous");
15113 if ac_fn_c_try_link
"$LINENO"; then :
15114 ac_cv_c_dot_previous
="yes"
15116 ac_cv_c_dot_previous
="no"
15118 rm -f core conftest.err conftest.
$ac_objext \
15119 conftest
$ac_exeext conftest.
$ac_ext
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15122 $as_echo "$ac_cv_c_dot_previous" >&6; }
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15125 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15126 if ${ac_cv_c_cfi_support+:} false
; then :
15127 $as_echo_n "(cached) " >&6
15129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15130 /* end confdefs.h. */
15131 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15140 if ac_fn_c_try_compile
"$LINENO"; then :
15141 ac_cv_c_cfi_support
="yes"
15143 ac_cv_c_cfi_support
="no"
15145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15148 $as_echo "$ac_cv_c_cfi_support" >&6; }
15150 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15151 asm_func_trailer
=""
15152 if test "$ac_cv_c_dot_previous" = "yes"
15154 asm_func_trailer
="\\n\\t.previous"
15156 if test "$ac_cv_c_cfi_support" = "yes"
15158 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
15159 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
15161 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15163 UNWINDFLAGS
=-fasynchronous-unwind-tables
15166 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15168 if test "x$enable_win64" = "xyes"
15170 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15174 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
15177 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15179 cat >>confdefs.h
<<_ACEOF
15180 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15184 cat >>confdefs.h
<<_ACEOF
15185 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15190 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15193 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15198 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
15206 *i
[3456789]86*|x86_64
*)
15207 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
15208 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
15215 ac_save_CFLAGS
="$CFLAGS"
15216 CFLAGS
="$CFLAGS $BUILTINFLAG"
15296 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15297 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15298 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15299 cat >>confdefs.h
<<_ACEOF
15300 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15306 CFLAGS
="$ac_save_CFLAGS"
15308 if test "$ac_cv_func_dlopen" = no
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15311 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15312 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15313 $as_echo_n "(cached) " >&6
15315 ac_check_lib_save_LIBS
=$LIBS
15317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15318 /* end confdefs.h. */
15320 /* Override any GCC internal prototype to avoid an error.
15321 Use char because int might match the return type of a GCC
15322 builtin and then its argument prototype would still apply. */
15335 if ac_fn_c_try_link
"$LINENO"; then :
15336 ac_cv_lib_dl_dlopen
=yes
15338 ac_cv_lib_dl_dlopen
=no
15340 rm -f core conftest.err conftest.
$ac_objext \
15341 conftest
$ac_exeext conftest.
$ac_ext
15342 LIBS
=$ac_check_lib_save_LIBS
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15345 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15346 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15347 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15353 ac_wine_check_funcs_save_LIBS
="$LIBS"
15354 LIBS
="$LIBS $DL_LIBS"
15355 for ac_func
in dladdr
15357 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15358 if test "x$ac_cv_func_dladdr" = xyes
; then :
15359 cat >>confdefs.h
<<_ACEOF
15360 #define HAVE_DLADDR 1
15366 LIBS
="$ac_wine_check_funcs_save_LIBS"
15368 if test "$ac_cv_func_poll" = no
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15371 $as_echo_n "checking for poll in -lpoll... " >&6; }
15372 if ${ac_cv_lib_poll_poll+:} false
; then :
15373 $as_echo_n "(cached) " >&6
15375 ac_check_lib_save_LIBS
=$LIBS
15376 LIBS
="-lpoll $LIBS"
15377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15378 /* end confdefs.h. */
15380 /* Override any GCC internal prototype to avoid an error.
15381 Use char because int might match the return type of a GCC
15382 builtin and then its argument prototype would still apply. */
15395 if ac_fn_c_try_link
"$LINENO"; then :
15396 ac_cv_lib_poll_poll
=yes
15398 ac_cv_lib_poll_poll
=no
15400 rm -f core conftest.err conftest.
$ac_objext \
15401 conftest
$ac_exeext conftest.
$ac_ext
15402 LIBS
=$ac_check_lib_save_LIBS
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15405 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15406 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15407 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15415 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15416 if ${ac_cv_search_gethostbyname+:} false
; then :
15417 $as_echo_n "(cached) " >&6
15419 ac_func_search_save_LIBS
=$LIBS
15420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15421 /* end confdefs.h. */
15423 /* Override any GCC internal prototype to avoid an error.
15424 Use char because int might match the return type of a GCC
15425 builtin and then its argument prototype would still apply. */
15429 char gethostbyname ();
15433 return gethostbyname ();
15438 for ac_lib
in '' nsl
; do
15439 if test -z "$ac_lib"; then
15440 ac_res
="none required"
15443 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15445 if ac_fn_c_try_link
"$LINENO"; then :
15446 ac_cv_search_gethostbyname
=$ac_res
15448 rm -f core conftest.err conftest.
$ac_objext \
15450 if ${ac_cv_search_gethostbyname+:} false
; then :
15454 if ${ac_cv_search_gethostbyname+:} false
; then :
15457 ac_cv_search_gethostbyname
=no
15459 rm conftest.
$ac_ext
15460 LIBS
=$ac_func_search_save_LIBS
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15463 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15464 ac_res
=$ac_cv_search_gethostbyname
15465 if test "$ac_res" != no
; then :
15466 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15472 $as_echo_n "checking for library containing connect... " >&6; }
15473 if ${ac_cv_search_connect+:} false
; then :
15474 $as_echo_n "(cached) " >&6
15476 ac_func_search_save_LIBS
=$LIBS
15477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15478 /* end confdefs.h. */
15480 /* Override any GCC internal prototype to avoid an error.
15481 Use char because int might match the return type of a GCC
15482 builtin and then its argument prototype would still apply. */
15495 for ac_lib
in '' socket
; do
15496 if test -z "$ac_lib"; then
15497 ac_res
="none required"
15500 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15502 if ac_fn_c_try_link
"$LINENO"; then :
15503 ac_cv_search_connect
=$ac_res
15505 rm -f core conftest.err conftest.
$ac_objext \
15507 if ${ac_cv_search_connect+:} false
; then :
15511 if ${ac_cv_search_connect+:} false
; then :
15514 ac_cv_search_connect
=no
15516 rm conftest.
$ac_ext
15517 LIBS
=$ac_func_search_save_LIBS
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15520 $as_echo "$ac_cv_search_connect" >&6; }
15521 ac_res
=$ac_cv_search_connect
15522 if test "$ac_res" != no
; then :
15523 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15529 $as_echo_n "checking for library containing inet_aton... " >&6; }
15530 if ${ac_cv_search_inet_aton+:} false
; then :
15531 $as_echo_n "(cached) " >&6
15533 ac_func_search_save_LIBS
=$LIBS
15534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15535 /* end confdefs.h. */
15537 /* Override any GCC internal prototype to avoid an error.
15538 Use char because int might match the return type of a GCC
15539 builtin and then its argument prototype would still apply. */
15547 return inet_aton ();
15552 for ac_lib
in '' resolv
; do
15553 if test -z "$ac_lib"; then
15554 ac_res
="none required"
15557 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15559 if ac_fn_c_try_link
"$LINENO"; then :
15560 ac_cv_search_inet_aton
=$ac_res
15562 rm -f core conftest.err conftest.
$ac_objext \
15564 if ${ac_cv_search_inet_aton+:} false
; then :
15568 if ${ac_cv_search_inet_aton+:} false
; then :
15571 ac_cv_search_inet_aton
=no
15573 rm conftest.
$ac_ext
15574 LIBS
=$ac_func_search_save_LIBS
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15577 $as_echo "$ac_cv_search_inet_aton" >&6; }
15578 ac_res
=$ac_cv_search_inet_aton
15579 if test "$ac_res" != no
; then :
15580 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15600 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15601 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15602 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15603 cat >>confdefs.h
<<_ACEOF
15604 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15613 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15614 if ${ac_cv_search_clock_gettime+:} false
; then :
15615 $as_echo_n "(cached) " >&6
15617 ac_func_search_save_LIBS
=$LIBS
15618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15619 /* end confdefs.h. */
15621 /* Override any GCC internal prototype to avoid an error.
15622 Use char because int might match the return type of a GCC
15623 builtin and then its argument prototype would still apply. */
15627 char clock_gettime ();
15631 return clock_gettime ();
15636 for ac_lib
in '' rt
; do
15637 if test -z "$ac_lib"; then
15638 ac_res
="none required"
15641 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15643 if ac_fn_c_try_link
"$LINENO"; then :
15644 ac_cv_search_clock_gettime
=$ac_res
15646 rm -f core conftest.err conftest.
$ac_objext \
15648 if ${ac_cv_search_clock_gettime+:} false
; then :
15652 if ${ac_cv_search_clock_gettime+:} false
; then :
15655 ac_cv_search_clock_gettime
=no
15657 rm conftest.
$ac_ext
15658 LIBS
=$ac_func_search_save_LIBS
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15661 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15662 ac_res
=$ac_cv_search_clock_gettime
15663 if test "$ac_res" != no
; then :
15664 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15666 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15668 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15676 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15678 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15680 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15682 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15683 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15684 $as_echo_n "(cached) " >&6
15686 ac_check_lib_save_LIBS
=$LIBS
15687 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15689 /* end confdefs.h. */
15691 /* Override any GCC internal prototype to avoid an error.
15692 Use char because int might match the return type of a GCC
15693 builtin and then its argument prototype would still apply. */
15697 char ldap_initialize ();
15701 return ldap_initialize ();
15706 if ac_fn_c_try_link
"$LINENO"; then :
15707 ac_cv_lib_ldap_r_ldap_initialize
=yes
15709 ac_cv_lib_ldap_r_ldap_initialize
=no
15711 rm -f core conftest.err conftest.
$ac_objext \
15712 conftest
$ac_exeext conftest.
$ac_ext
15713 LIBS
=$ac_check_lib_save_LIBS
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15716 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15717 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15719 $as_echo_n "checking for ber_init in -llber... " >&6; }
15720 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15721 $as_echo_n "(cached) " >&6
15723 ac_check_lib_save_LIBS
=$LIBS
15724 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15726 /* end confdefs.h. */
15728 /* Override any GCC internal prototype to avoid an error.
15729 Use char because int might match the return type of a GCC
15730 builtin and then its argument prototype would still apply. */
15738 return ber_init ();
15743 if ac_fn_c_try_link
"$LINENO"; then :
15744 ac_cv_lib_lber_ber_init
=yes
15746 ac_cv_lib_lber_ber_init
=no
15748 rm -f core conftest.err conftest.
$ac_objext \
15749 conftest
$ac_exeext conftest.
$ac_ext
15750 LIBS
=$ac_check_lib_save_LIBS
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15753 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15754 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15756 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15758 LDAP_LIBS
="-lldap_r -llber"
15765 ac_wine_check_funcs_save_LIBS
="$LIBS"
15766 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15768 ldap_count_references \
15769 ldap_first_reference \
15770 ldap_next_reference \
15771 ldap_parse_reference \
15772 ldap_parse_sort_control \
15773 ldap_parse_sortresponse_control \
15774 ldap_parse_vlv_control \
15775 ldap_parse_vlvresponse_control
15777 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15778 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15779 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15780 cat >>confdefs.h
<<_ACEOF
15781 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15787 LIBS
="$ac_wine_check_funcs_save_LIBS"
15789 if test "x$LDAP_LIBS" = "x"; then :
15790 case "x$with_ldap" in
15791 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15793 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15794 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15800 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15801 if ${wine_cv_one_arg_mkdir+:} false
; then :
15802 $as_echo_n "(cached) " >&6
15804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15805 /* end confdefs.h. */
15806 #include <sys/stat.h>
15815 if ac_fn_c_try_compile
"$LINENO"; then :
15816 wine_cv_one_arg_mkdir
=yes
15818 wine_cv_one_arg_mkdir
=no
15820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15823 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15824 if test "$wine_cv_one_arg_mkdir" = "yes"
15827 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15832 $as_echo_n "checking for sched_setaffinity... " >&6; }
15833 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15834 $as_echo_n "(cached) " >&6
15836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15837 /* end confdefs.h. */
15838 #define _GNU_SOURCE
15843 sched_setaffinity(0, 0, 0);
15848 if ac_fn_c_try_link
"$LINENO"; then :
15849 wine_cv_have_sched_setaffinity
=yes
15851 wine_cv_have_sched_setaffinity
=no
15853 rm -f core conftest.err conftest.
$ac_objext \
15854 conftest
$ac_exeext conftest.
$ac_ext
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15857 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15858 if test "$wine_cv_have_sched_setaffinity" = "yes"
15861 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15866 $as_echo_n "checking for fallocate... " >&6; }
15867 if ${wine_cv_have_fallocate+:} false
; then :
15868 $as_echo_n "(cached) " >&6
15870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15871 /* end confdefs.h. */
15872 #define _GNU_SOURCE
15877 fallocate(-1, 0, 0, 0);
15882 if ac_fn_c_try_link
"$LINENO"; then :
15883 wine_cv_have_fallocate
=yes
15885 wine_cv_have_fallocate
=no
15887 rm -f core conftest.err conftest.
$ac_objext \
15888 conftest
$ac_exeext conftest.
$ac_ext
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15891 $as_echo "$wine_cv_have_fallocate" >&6; }
15892 if test "$wine_cv_have_fallocate" = "yes"
15895 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15901 $as_echo_n "checking for inline... " >&6; }
15902 if ${ac_cv_c_inline+:} false
; then :
15903 $as_echo_n "(cached) " >&6
15906 for ac_kw
in inline __inline__ __inline
; do
15907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15908 /* end confdefs.h. */
15909 #ifndef __cplusplus
15911 static $ac_kw foo_t static_foo () {return 0; }
15912 $ac_kw foo_t foo () {return 0; }
15916 if ac_fn_c_try_compile
"$LINENO"; then :
15917 ac_cv_c_inline
=$ac_kw
15919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15920 test "$ac_cv_c_inline" != no
&& break
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15925 $as_echo "$ac_cv_c_inline" >&6; }
15927 case $ac_cv_c_inline in
15930 case $ac_cv_c_inline in
15932 *) ac_val
=$ac_cv_c_inline;;
15934 cat >>confdefs.h
<<_ACEOF
15935 #ifndef __cplusplus
15936 #define inline $ac_val
15942 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15943 if test "x$ac_cv_type_mode_t" = xyes
; then :
15945 cat >>confdefs.h
<<_ACEOF
15946 #define HAVE_MODE_T 1
15951 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15952 if test "x$ac_cv_type_off_t" = xyes
; then :
15954 cat >>confdefs.h
<<_ACEOF
15955 #define HAVE_OFF_T 1
15960 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15961 if test "x$ac_cv_type_pid_t" = xyes
; then :
15963 cat >>confdefs.h
<<_ACEOF
15964 #define HAVE_PID_T 1
15969 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15970 if test "x$ac_cv_type_size_t" = xyes
; then :
15972 cat >>confdefs.h
<<_ACEOF
15973 #define HAVE_SIZE_T 1
15978 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15979 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15981 cat >>confdefs.h
<<_ACEOF
15982 #define HAVE_SSIZE_T 1
15987 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15988 if test "x$ac_cv_type_long_long" = xyes
; then :
15990 cat >>confdefs.h
<<_ACEOF
15991 #define HAVE_LONG_LONG 1
15996 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15997 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15999 cat >>confdefs.h
<<_ACEOF
16000 #define HAVE_FSBLKCNT_T 1
16005 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16006 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
16008 cat >>confdefs.h
<<_ACEOF
16009 #define HAVE_FSFILCNT_T 1
16015 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16016 #include <signal.h>
16018 if test "x$ac_cv_type_sigset_t" = xyes
; then :
16020 cat >>confdefs.h
<<_ACEOF
16021 #define HAVE_SIGSET_T 1
16027 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16029 if test "x$ac_cv_type_request_sense" = xyes
; then :
16031 cat >>confdefs.h
<<_ACEOF
16032 #define HAVE_REQUEST_SENSE 1
16039 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16040 #ifdef HAVE_SYS_SOCKET_H
16041 #include <sys/socket.h>
16043 #ifdef HAVE_SYS_SOCKETVAR_H
16044 #include <sys/socketvar.h>
16046 #ifdef HAVE_NET_ROUTE_H
16047 #include <net/route.h>
16049 #ifdef HAVE_NETINET_IN_H
16050 #include <netinet/in.h>
16052 #ifdef HAVE_NETINET_IN_SYSTM_H
16053 #include <netinet/in_systm.h>
16055 #ifdef HAVE_NETINET_IP_H
16056 #include <netinet/ip.h>
16058 #ifdef HAVE_NETINET_IN_PCB_H
16059 #include <netinet/in_pcb.h>
16062 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
16064 cat >>confdefs.h
<<_ACEOF
16065 #define HAVE_STRUCT_XINPGEN 1
16072 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16075 #ifdef HAVE_SYS_LINK_H
16076 #include <sys/link.h>
16079 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
16081 cat >>confdefs.h
<<_ACEOF
16082 #define HAVE_STRUCT_R_DEBUG 1
16087 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16090 #ifdef HAVE_SYS_LINK_H
16091 #include <sys/link.h>
16094 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
16096 cat >>confdefs.h
<<_ACEOF
16097 #define HAVE_STRUCT_LINK_MAP 1
16104 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16105 #include <linux/input.h>
16108 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
16110 cat >>confdefs.h
<<_ACEOF
16111 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16119 $as_echo_n "checking for sigaddset... " >&6; }
16120 if ${wine_cv_have_sigaddset+:} false
; then :
16121 $as_echo_n "(cached) " >&6
16123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16124 /* end confdefs.h. */
16125 #include <signal.h>
16129 sigset_t set; sigaddset(&set,SIGTERM);
16134 if ac_fn_c_try_link
"$LINENO"; then :
16135 wine_cv_have_sigaddset
=yes
16137 wine_cv_have_sigaddset
=no
16139 rm -f core conftest.err conftest.
$ac_objext \
16140 conftest
$ac_exeext conftest.
$ac_ext
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16143 $as_echo "$wine_cv_have_sigaddset" >&6; }
16144 if test "$wine_cv_have_sigaddset" = "yes"
16147 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16153 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16154 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
16155 $as_echo_n "(cached) " >&6
16157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16158 /* end confdefs.h. */
16166 struct hostent *result;
16173 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16174 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16180 if ac_fn_c_try_link
"$LINENO"; then :
16181 wine_cv_linux_gethostbyname_r_6
=yes
16183 wine_cv_linux_gethostbyname_r_6
=no
16186 rm -f core conftest.err conftest.
$ac_objext \
16187 conftest
$ac_exeext conftest.
$ac_ext
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16191 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16192 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16195 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16199 if test "$ac_cv_header_linux_joystick_h" = "yes"
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16202 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16203 if ${wine_cv_linux_joystick_22_api+:} false
; then :
16204 $as_echo_n "(cached) " >&6
16206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16207 /* end confdefs.h. */
16209 #include <sys/ioctl.h>
16210 #include <sys/types.h>
16211 #include <linux/joystick.h>
16213 struct js_event blub;
16214 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16215 #error "no 2.2 header"
16226 if ac_fn_c_try_compile
"$LINENO"; then :
16227 wine_cv_linux_joystick_22_api
=yes
16229 wine_cv_linux_joystick_22_api
=no
16231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16235 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16236 if test "$wine_cv_linux_joystick_22_api" = "yes"
16239 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16245 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16246 #ifdef HAVE_SYS_PARAM_H
16247 # include <sys/param.h>
16249 #ifdef HAVE_SYS_MOUNT_H
16250 # include <sys/mount.h>
16252 #ifdef HAVE_SYS_VFS_H
16253 # include <sys/vfs.h>
16255 #ifdef HAVE_SYS_STATFS_H
16256 # include <sys/statfs.h>
16259 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16261 cat >>confdefs.h
<<_ACEOF
16262 #define HAVE_STRUCT_STATFS_F_BFREE 1
16267 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16268 #ifdef HAVE_SYS_PARAM_H
16269 # include <sys/param.h>
16271 #ifdef HAVE_SYS_MOUNT_H
16272 # include <sys/mount.h>
16274 #ifdef HAVE_SYS_VFS_H
16275 # include <sys/vfs.h>
16277 #ifdef HAVE_SYS_STATFS_H
16278 # include <sys/statfs.h>
16281 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16283 cat >>confdefs.h
<<_ACEOF
16284 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16289 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16290 #ifdef HAVE_SYS_PARAM_H
16291 # include <sys/param.h>
16293 #ifdef HAVE_SYS_MOUNT_H
16294 # include <sys/mount.h>
16296 #ifdef HAVE_SYS_VFS_H
16297 # include <sys/vfs.h>
16299 #ifdef HAVE_SYS_STATFS_H
16300 # include <sys/statfs.h>
16303 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16305 cat >>confdefs.h
<<_ACEOF
16306 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16311 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16312 #ifdef HAVE_SYS_PARAM_H
16313 # include <sys/param.h>
16315 #ifdef HAVE_SYS_MOUNT_H
16316 # include <sys/mount.h>
16318 #ifdef HAVE_SYS_VFS_H
16319 # include <sys/vfs.h>
16321 #ifdef HAVE_SYS_STATFS_H
16322 # include <sys/statfs.h>
16325 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16327 cat >>confdefs.h
<<_ACEOF
16328 #define HAVE_STRUCT_STATFS_F_FFREE 1
16333 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16334 #ifdef HAVE_SYS_PARAM_H
16335 # include <sys/param.h>
16337 #ifdef HAVE_SYS_MOUNT_H
16338 # include <sys/mount.h>
16340 #ifdef HAVE_SYS_VFS_H
16341 # include <sys/vfs.h>
16343 #ifdef HAVE_SYS_STATFS_H
16344 # include <sys/statfs.h>
16347 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16349 cat >>confdefs.h
<<_ACEOF
16350 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16355 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16356 #ifdef HAVE_SYS_PARAM_H
16357 # include <sys/param.h>
16359 #ifdef HAVE_SYS_MOUNT_H
16360 # include <sys/mount.h>
16362 #ifdef HAVE_SYS_VFS_H
16363 # include <sys/vfs.h>
16365 #ifdef HAVE_SYS_STATFS_H
16366 # include <sys/statfs.h>
16369 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16371 cat >>confdefs.h
<<_ACEOF
16372 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16379 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16380 #include <sys/statvfs.h>
16383 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16385 cat >>confdefs.h
<<_ACEOF
16386 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16393 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16394 #include <dirent.h>
16397 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16399 cat >>confdefs.h
<<_ACEOF
16400 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16407 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16408 #ifdef HAVE_SYS_SOCKET_H
16409 # include <sys/socket.h>
16411 #ifdef HAVE_SYS_UN_H
16412 # include <sys/un.h>
16415 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16417 cat >>confdefs.h
<<_ACEOF
16418 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16423 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16424 #ifdef HAVE_SYS_SOCKET_H
16425 # include <sys/socket.h>
16427 #ifdef HAVE_SYS_UN_H
16428 # include <sys/un.h>
16431 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16433 cat >>confdefs.h
<<_ACEOF
16434 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16439 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16440 #ifdef HAVE_SYS_SOCKET_H
16441 # include <sys/socket.h>
16443 #ifdef HAVE_SYS_UN_H
16444 # include <sys/un.h>
16447 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16449 cat >>confdefs.h
<<_ACEOF
16450 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16457 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16458 #ifdef HAVE_SCSI_SG_H
16459 #include <scsi/sg.h>
16462 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16464 cat >>confdefs.h
<<_ACEOF
16465 #define HAVE_SCSIREQ_T_CMD 1
16470 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>
16471 #ifdef HAVE_SCSI_SG_H
16472 #include <scsi/sg.h>
16475 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16477 cat >>confdefs.h
<<_ACEOF
16478 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16485 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16487 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16489 cat >>confdefs.h
<<_ACEOF
16490 #define HAVE_SIGINFO_T_SI_FD 1
16497 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16498 #ifdef HAVE_SYS_MTIO_H
16499 #include <sys/mtio.h>
16502 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16504 cat >>confdefs.h
<<_ACEOF
16505 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16510 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16511 #ifdef HAVE_SYS_MTIO_H
16512 #include <sys/mtio.h>
16515 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16517 cat >>confdefs.h
<<_ACEOF
16518 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16523 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16524 #ifdef HAVE_SYS_MTIO_H
16525 #include <sys/mtio.h>
16528 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16530 cat >>confdefs.h
<<_ACEOF
16531 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16538 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16539 #include <getopt.h>
16542 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16544 cat >>confdefs.h
<<_ACEOF
16545 #define HAVE_STRUCT_OPTION_NAME 1
16552 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16553 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16555 cat >>confdefs.h
<<_ACEOF
16556 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16561 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16562 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16564 cat >>confdefs.h
<<_ACEOF
16565 #define HAVE_STRUCT_STAT_ST_MTIM 1
16570 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16571 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16573 cat >>confdefs.h
<<_ACEOF
16574 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16579 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16580 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16582 cat >>confdefs.h
<<_ACEOF
16583 #define HAVE_STRUCT_STAT_ST_CTIM 1
16588 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16589 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16591 cat >>confdefs.h
<<_ACEOF
16592 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16597 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16598 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16600 cat >>confdefs.h
<<_ACEOF
16601 #define HAVE_STRUCT_STAT_ST_ATIM 1
16606 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16607 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16609 cat >>confdefs.h
<<_ACEOF
16610 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16615 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16616 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16618 cat >>confdefs.h
<<_ACEOF
16619 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16624 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16625 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16627 cat >>confdefs.h
<<_ACEOF
16628 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16633 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16634 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16636 cat >>confdefs.h
<<_ACEOF
16637 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16642 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16643 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16645 cat >>confdefs.h
<<_ACEOF
16646 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16651 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16652 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16654 cat >>confdefs.h
<<_ACEOF
16655 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16662 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
16663 #include <sys/types.h>
16665 #ifdef HAVE_NETINET_IN_H
16666 #include <netinet/in.h>
16669 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16671 cat >>confdefs.h
<<_ACEOF
16672 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16679 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16680 #include <resolv.h>
16683 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16685 cat >>confdefs.h
<<_ACEOF
16686 #define HAVE_STRUCT___RES_STATE 1
16693 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
16694 #include <resolv.h>
16697 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16699 cat >>confdefs.h
<<_ACEOF
16700 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16707 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16708 #include <sys/types.h>
16710 #ifdef HAVE_NETINET_IN_H
16711 # include <netinet/in.h>
16713 #ifdef HAVE_ARPA_NAMESER_H
16714 # include <arpa/nameser.h>
16717 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16719 cat >>confdefs.h
<<_ACEOF
16720 #define HAVE_NS_MSG__MSG_PTR 1
16727 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16728 #include <sys/types.h>
16730 #ifdef HAVE_NETINET_IP_H
16731 #include <netinet/ip.h>
16733 #ifdef HAVE_NETINET_IP_ICMP_H
16734 #include <netinet/ip_icmp.h>
16736 #ifdef HAVE_NETINET_ICMP_VAR_H
16737 #include <netinet/icmp_var.h>
16740 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16742 cat >>confdefs.h
<<_ACEOF
16743 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16750 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16751 #include <sys/types.h>
16753 #ifdef HAVE_ALIAS_H
16756 #ifdef HAVE_SYS_SOCKET_H
16757 #include <sys/socket.h>
16759 #ifdef HAVE_SYS_SOCKETVAR_H
16760 #include <sys/socketvar.h>
16762 #ifdef HAVE_SYS_TIMEOUT_H
16763 #include <sys/timeout.h>
16765 #ifdef HAVE_NETINET_IN_H
16766 #include <netinet/in.h>
16768 #ifdef HAVE_NETINET_IN_SYSTM_H
16769 #include <netinet/in_systm.h>
16771 #ifdef HAVE_NETINET_IP_H
16772 #include <netinet/ip.h>
16774 #ifdef HAVE_NETINET_IP_VAR_H
16775 #include <netinet/ip_var.h>
16777 #ifdef HAVE_NETINET_IP_ICMP_H
16778 #include <netinet/ip_icmp.h>
16780 #ifdef HAVE_NETINET_ICMP_VAR_H
16781 #include <netinet/icmp_var.h>
16784 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16786 cat >>confdefs.h
<<_ACEOF
16787 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16794 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16795 #include <sys/types.h>
16797 #ifdef HAVE_SYS_SOCKETVAR_H
16798 #include <sys/socketvar.h>
16800 #ifdef HAVE_NETINET_IN_H
16801 #include <netinet/in.h>
16803 #ifdef HAVE_NETINET_IP_VAR_H
16804 #include <netinet/ip_var.h>
16807 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16809 cat >>confdefs.h
<<_ACEOF
16810 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16817 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
16818 #include <netinet/ip_var.h>
16821 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16823 cat >>confdefs.h
<<_ACEOF
16824 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16831 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16832 #include <sys/types.h>
16834 #ifdef HAVE_SYS_SOCKETVAR_H
16835 #include <sys/socketvar.h>
16837 #ifdef HAVE_NETINET_IN_H
16838 #include <netinet/in.h>
16840 #ifdef HAVE_NETINET_TCP_H
16841 #include <netinet/tcp.h>
16843 #ifdef HAVE_NETINET_TCP_VAR_H
16844 #include <netinet/tcp_var.h>
16847 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16849 cat >>confdefs.h
<<_ACEOF
16850 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16857 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
16858 #include <netinet/tcp_var.h>
16861 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16863 cat >>confdefs.h
<<_ACEOF
16864 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16871 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16872 #include <sys/types.h>
16874 #ifdef HAVE_NETINET_IN_H
16875 #include <netinet/in.h>
16877 #ifdef HAVE_NETINET_IP_VAR_H
16878 #include <netinet/ip_var.h>
16880 #ifdef HAVE_NETINET_UDP_H
16881 #include <netinet/udp.h>
16883 #ifdef HAVE_NETINET_UDP_VAR_H
16884 #include <netinet/udp_var.h>
16887 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16889 cat >>confdefs.h
<<_ACEOF
16890 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16897 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16898 #include <sys/types.h>
16900 #ifdef HAVE_NET_IF_H
16901 # include <net/if.h>
16904 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16906 cat >>confdefs.h
<<_ACEOF
16907 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16915 $as_echo_n "checking for timezone variable... " >&6; }
16916 if ${ac_cv_have_timezone+:} false
; then :
16917 $as_echo_n "(cached) " >&6
16919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16920 /* end confdefs.h. */
16930 if ac_fn_c_try_link
"$LINENO"; then :
16931 ac_cv_have_timezone
="yes"
16933 ac_cv_have_timezone
="no"
16935 rm -f core conftest.err conftest.
$ac_objext \
16936 conftest
$ac_exeext conftest.
$ac_ext
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16939 $as_echo "$ac_cv_have_timezone" >&6; }
16940 if test "$ac_cv_have_timezone" = "yes"
16943 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16947 $as_echo_n "checking for daylight variable... " >&6; }
16948 if ${ac_cv_have_daylight+:} false
; then :
16949 $as_echo_n "(cached) " >&6
16951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16952 /* end confdefs.h. */
16962 if ac_fn_c_try_link
"$LINENO"; then :
16963 ac_cv_have_daylight
="yes"
16965 ac_cv_have_daylight
="no"
16967 rm -f core conftest.err conftest.
$ac_objext \
16968 conftest
$ac_exeext conftest.
$ac_ext
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16971 $as_echo "$ac_cv_have_daylight" >&6; }
16972 if test "$ac_cv_have_daylight" = "yes"
16975 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16979 ac_save_LIBS
="$LIBS"
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16982 $as_echo_n "checking for isfinite... " >&6; }
16983 if ${ac_cv_have_isfinite+:} false
; then :
16984 $as_echo_n "(cached) " >&6
16986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16987 /* end confdefs.h. */
16988 #define _GNU_SOURCE
16993 float f = 0.0; return isfinite(f)
16998 if ac_fn_c_try_link
"$LINENO"; then :
16999 ac_cv_have_isfinite
="yes"
17001 ac_cv_have_isfinite
="no"
17003 rm -f core conftest.err conftest.
$ac_objext \
17004 conftest
$ac_exeext conftest.
$ac_ext
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17007 $as_echo "$ac_cv_have_isfinite" >&6; }
17008 if test "$ac_cv_have_isfinite" = "yes"
17011 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17016 $as_echo_n "checking for isinf... " >&6; }
17017 if ${ac_cv_have_isinf+:} false
; then :
17018 $as_echo_n "(cached) " >&6
17020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17021 /* end confdefs.h. */
17026 float f = 0.0; return isinf(f)
17031 if ac_fn_c_try_link
"$LINENO"; then :
17032 ac_cv_have_isinf
="yes"
17034 ac_cv_have_isinf
="no"
17036 rm -f core conftest.err conftest.
$ac_objext \
17037 conftest
$ac_exeext conftest.
$ac_ext
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17040 $as_echo "$ac_cv_have_isinf" >&6; }
17041 if test "$ac_cv_have_isinf" = "yes"
17044 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17049 $as_echo_n "checking for isnan... " >&6; }
17050 if ${ac_cv_have_isnan+:} false
; then :
17051 $as_echo_n "(cached) " >&6
17053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17054 /* end confdefs.h. */
17059 float f = 0.0; return isnan(f)
17064 if ac_fn_c_try_link
"$LINENO"; then :
17065 ac_cv_have_isnan
="yes"
17067 ac_cv_have_isnan
="no"
17069 rm -f core conftest.err conftest.
$ac_objext \
17070 conftest
$ac_exeext conftest.
$ac_ext
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17073 $as_echo "$ac_cv_have_isnan" >&6; }
17074 if test "$ac_cv_have_isnan" = "yes"
17077 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17113 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17114 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17115 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17116 cat >>confdefs.h
<<_ACEOF
17117 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17123 LIBS
="$ac_save_LIBS"
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17126 $as_echo_n "checking for __builtin_clz... " >&6; }
17127 if ${ac_cv_have___builtin_clz+:} false
; then :
17128 $as_echo_n "(cached) " >&6
17130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h. */
17136 return __builtin_clz(1)
17141 if ac_fn_c_try_link
"$LINENO"; then :
17142 ac_cv_have___builtin_clz
="yes"
17144 ac_cv_have___builtin_clz
="no"
17146 rm -f core conftest.err conftest.
$ac_objext \
17147 conftest
$ac_exeext conftest.
$ac_ext
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17150 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17151 if test "$ac_cv_have___builtin_clz" = "yes"
17154 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17159 $as_echo_n "checking for __builtin_popcount... " >&6; }
17160 if ${ac_cv_have___builtin_popcount+:} false
; then :
17161 $as_echo_n "(cached) " >&6
17163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17164 /* end confdefs.h. */
17169 return __builtin_popcount(1)
17174 if ac_fn_c_try_link
"$LINENO"; then :
17175 ac_cv_have___builtin_popcount
="yes"
17177 ac_cv_have___builtin_popcount
="no"
17179 rm -f core conftest.err conftest.
$ac_objext \
17180 conftest
$ac_exeext conftest.
$ac_ext
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17183 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17184 if test "$ac_cv_have___builtin_popcount" = "yes"
17187 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17193 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17194 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17195 if ${ac_cv_cpp_def___i386__+:} false
; then :
17196 $as_echo_n "(cached) " >&6
17198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17199 /* end confdefs.h. */
17204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17205 $EGREP "yes" >/dev
/null
2>&1; then :
17206 ac_cv_cpp_def___i386__
=yes
17208 ac_cv_cpp_def___i386__
=no
17213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17214 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17215 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
17216 CFLAGS
="$CFLAGS -D__i386__"
17217 LINTFLAGS
="$LINTFLAGS -D__i386__"
17219 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17220 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17221 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
17222 $as_echo_n "(cached) " >&6
17224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17225 /* end confdefs.h. */
17230 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17231 $EGREP "yes" >/dev
/null
2>&1; then :
17232 ac_cv_cpp_def___x86_64__
=yes
17234 ac_cv_cpp_def___x86_64__
=no
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17240 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17241 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
17242 CFLAGS
="$CFLAGS -D__x86_64__"
17243 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
17245 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17246 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17247 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
17248 $as_echo_n "(cached) " >&6
17250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17251 /* end confdefs.h. */
17252 #ifndef __sparc64__
17256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17257 $EGREP "yes" >/dev
/null
2>&1; then :
17258 ac_cv_cpp_def___sparc64__
=yes
17260 ac_cv_cpp_def___sparc64__
=no
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17266 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17267 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
17268 CFLAGS
="$CFLAGS -D__sparc64__"
17269 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
17271 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17272 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17273 if ${ac_cv_cpp_def___sparc__+:} false
; then :
17274 $as_echo_n "(cached) " >&6
17276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17277 /* end confdefs.h. */
17282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17283 $EGREP "yes" >/dev
/null
2>&1; then :
17284 ac_cv_cpp_def___sparc__
=yes
17286 ac_cv_cpp_def___sparc__
=no
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17292 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17293 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
17294 CFLAGS
="$CFLAGS -D__sparc__"
17295 LINTFLAGS
="$LINTFLAGS -D__sparc__"
17297 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17298 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17299 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
17300 $as_echo_n "(cached) " >&6
17302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17303 /* end confdefs.h. */
17304 #ifndef __powerpc64__
17308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17309 $EGREP "yes" >/dev
/null
2>&1; then :
17310 ac_cv_cpp_def___powerpc64__
=yes
17312 ac_cv_cpp_def___powerpc64__
=no
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17318 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17319 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
17320 CFLAGS
="$CFLAGS -D__powerpc64__"
17321 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
17323 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17324 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17325 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
17326 $as_echo_n "(cached) " >&6
17328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17329 /* end confdefs.h. */
17330 #ifndef __powerpc__
17334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17335 $EGREP "yes" >/dev
/null
2>&1; then :
17336 ac_cv_cpp_def___powerpc__
=yes
17338 ac_cv_cpp_def___powerpc__
=no
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17344 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17345 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
17346 CFLAGS
="$CFLAGS -D__powerpc__"
17347 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
17349 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17350 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17351 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
17352 $as_echo_n "(cached) " >&6
17354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17355 /* end confdefs.h. */
17356 #ifndef __aarch64__
17360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17361 $EGREP "yes" >/dev
/null
2>&1; then :
17362 ac_cv_cpp_def___aarch64__
=yes
17364 ac_cv_cpp_def___aarch64__
=no
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17370 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17371 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17372 CFLAGS
="$CFLAGS -D__aarch64__"
17373 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17375 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17376 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17377 if ${ac_cv_cpp_def___arm__+:} false
; then :
17378 $as_echo_n "(cached) " >&6
17380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17381 /* end confdefs.h. */
17386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17387 $EGREP "yes" >/dev
/null
2>&1; then :
17388 ac_cv_cpp_def___arm__
=yes
17390 ac_cv_cpp_def___arm__
=no
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17396 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17397 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17398 CFLAGS
="$CFLAGS -D__arm__"
17399 LINTFLAGS
="$LINTFLAGS -D__arm__"
17403 case $host_vendor in
17404 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17405 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17406 if ${ac_cv_cpp_def___sun__+:} false
; then :
17407 $as_echo_n "(cached) " >&6
17409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17410 /* end confdefs.h. */
17415 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17416 $EGREP "yes" >/dev
/null
2>&1; then :
17417 ac_cv_cpp_def___sun__
=yes
17419 ac_cv_cpp_def___sun__
=no
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17425 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17426 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17427 CFLAGS
="$CFLAGS -D__sun__"
17428 LINTFLAGS
="$LINTFLAGS -D__sun__"
17436 ac_config_commands
="$ac_config_commands include/stamp-h"
17438 $as_echo_n "creating Makefile rules..." >&6
17440 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17441 SOCKET_LIBS = $SOCKET_LIBS
17442 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17443 IOKIT_LIBS = $IOKIT_LIBS
17444 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17445 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17446 CORESERVICES_LIBS = $CORESERVICES_LIBS
17447 APPKIT_LIBS = $APPKIT_LIBS
17448 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17449 SECURITY_LIBS = $SECURITY_LIBS
17450 COREAUDIO_LIBS = $COREAUDIO_LIBS
17451 OPENAL_LIBS = $OPENAL_LIBS
17452 OPENCL_LIBS = $OPENCL_LIBS
17453 QUICKTIME_LIBS = $QUICKTIME_LIBS
17454 CARBON_LIBS = $CARBON_LIBS
17455 PTHREAD_LIBS = $PTHREAD_LIBS
17456 X_CFLAGS = $X_CFLAGS
17457 X_PRE_LIBS = $X_PRE_LIBS
17459 X_EXTRA_LIBS = $X_EXTRA_LIBS
17460 PCAP_LIBS = $PCAP_LIBS
17461 XML2_CFLAGS = $XML2_CFLAGS
17462 XML2_LIBS = $XML2_LIBS
17463 XSLT_CFLAGS = $XSLT_CFLAGS
17464 XSLT_LIBS = $XSLT_LIBS
17465 DBUS_CFLAGS = $DBUS_CFLAGS
17466 DBUS_LIBS = $DBUS_LIBS
17467 HAL_CFLAGS = $HAL_CFLAGS
17468 HAL_LIBS = $HAL_LIBS
17469 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17470 GNUTLS_LIBS = $GNUTLS_LIBS
17471 SANE_CFLAGS = $SANE_CFLAGS
17472 SANE_LIBS = $SANE_LIBS
17473 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17474 GPHOTO2_LIBS = $GPHOTO2_LIBS
17475 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17476 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17477 RESOLV_LIBS = $RESOLV_LIBS
17478 LCMS2_CFLAGS = $LCMS2_CFLAGS
17479 LCMS2_LIBS = $LCMS2_LIBS
17480 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17481 FREETYPE_LIBS = $FREETYPE_LIBS
17483 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17484 PULSE_CFLAGS = $PULSE_CFLAGS
17485 PULSE_LIBS = $PULSE_LIBS
17486 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17487 GSTREAMER_LIBS = $GSTREAMER_LIBS
17488 ALSA_LIBS = $ALSA_LIBS
17489 OSS4_CFLAGS = $OSS4_CFLAGS
17490 UDEV_CFLAGS = $UDEV_CFLAGS
17491 UDEV_LIBS = $UDEV_LIBS
17492 CAPI20_CFLAGS = $CAPI20_CFLAGS
17493 CAPI20_LIBS = $CAPI20_LIBS
17494 CUPS_CFLAGS = $CUPS_CFLAGS
17495 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17496 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17497 JPEG_CFLAGS = $JPEG_CFLAGS
17498 JPEG_LIBS = $JPEG_LIBS
17499 PNG_CFLAGS = $PNG_CFLAGS
17500 PNG_LIBS = $PNG_LIBS
17501 TIFF_CFLAGS = $TIFF_CFLAGS
17502 TIFF_LIBS = $TIFF_LIBS
17503 MPG123_CFLAGS = $MPG123_CFLAGS
17504 MPG123_LIBS = $MPG123_LIBS
17505 KSTAT_LIBS = $KSTAT_LIBS
17506 PROCSTAT_LIBS = $PROCSTAT_LIBS
17507 NETAPI_CFLAGS = $NETAPI_CFLAGS
17508 NETAPI_LIBS = $NETAPI_LIBS
17509 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17511 POLL_LIBS = $POLL_LIBS
17513 LDAP_LIBS = $LDAP_LIBS
17518 wine_fn_append_rule
"
17519 # Rules automatically generated by configure
17521 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17526 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17527 @./config.status Make.tmp Makefile
17528 depend: \$(MAKEDEP) dummy
17531 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17532 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17534 if test "x$enable_fonts" != xno
; then
17535 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17536 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17537 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17538 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17539 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17540 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17542 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17543 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17544 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17545 wine_fn_config_symlink wine
17546 if test "x$enable_win64" != xno
; then
17547 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17548 wine_fn_config_symlink wine64
17551 wine_fn_config_dll acledit enable_acledit
17552 wine_fn_config_dll aclui enable_aclui implib
17553 wine_fn_config_dll activeds enable_activeds implib
17554 wine_fn_config_dll actxprxy enable_actxprxy clean
17555 wine_fn_config_lib adsiid
17556 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17557 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17558 wine_fn_config_dll advpack enable_advpack implib
17559 wine_fn_config_test dlls
/advpack
/tests advpack_test
17560 wine_fn_config_dll amstream enable_amstream clean
17561 wine_fn_config_test dlls
/amstream
/tests amstream_test
17562 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17563 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17564 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17565 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17566 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17567 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17568 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17569 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17570 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17571 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17572 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17573 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17574 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17575 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17576 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17577 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17578 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17579 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17580 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17581 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17582 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17583 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17584 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17585 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17586 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17587 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17588 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17590 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17591 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17592 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17593 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17594 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17595 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17596 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17597 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17598 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17599 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17600 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17601 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17602 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17603 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17604 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17605 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17606 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17607 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17608 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17609 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17610 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17611 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17613 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17614 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17615 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17616 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17618 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17620 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17622 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17624 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17626 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17627 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17629 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17630 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17634 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17635 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17639 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17643 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17645 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17646 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17647 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17648 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17649 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17651 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17659 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17660 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17661 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17663 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17666 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17667 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17668 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17669 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17670 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17671 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17672 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17673 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17674 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17675 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17676 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17677 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17678 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17679 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17680 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17681 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17682 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17683 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17684 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17685 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17686 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17687 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17688 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17689 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17690 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17691 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17692 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17693 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17694 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17695 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17696 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17697 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17698 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17699 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17700 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17701 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17702 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17703 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17704 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17705 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17706 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17707 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17708 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17709 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17710 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17711 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17712 wine_fn_config_dll apphelp enable_apphelp
17713 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17714 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17715 wine_fn_config_dll atl enable_atl clean
,implib
17716 wine_fn_config_test dlls
/atl
/tests atl_test
17717 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17718 wine_fn_config_test dlls
/atl100
/tests atl100_test
17719 wine_fn_config_dll atl110 enable_atl110 clean
17720 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17721 wine_fn_config_test dlls
/atl80
/tests atl80_test
17722 wine_fn_config_dll atl90 enable_atl90 clean
17723 wine_fn_config_dll authz enable_authz
17724 wine_fn_config_dll avicap32 enable_avicap32 implib
17725 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
17726 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17727 wine_fn_config_dll avifile.dll16 enable_win16
17728 wine_fn_config_dll avrt enable_avrt implib
17729 wine_fn_config_dll bcrypt enable_bcrypt implib
17730 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17731 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17732 wine_fn_config_dll browseui enable_browseui clean
17733 wine_fn_config_test dlls
/browseui
/tests browseui_test
17734 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17735 wine_fn_config_dll cabinet enable_cabinet implib
17736 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17737 wine_fn_config_dll capi2032 enable_capi2032 implib
17738 wine_fn_config_dll cards enable_cards implib
17739 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17740 wine_fn_config_dll clusapi enable_clusapi implib
17741 wine_fn_config_dll combase enable_combase
17742 wine_fn_config_test dlls
/combase
/tests combase_test
17743 wine_fn_config_dll comcat enable_comcat
17744 wine_fn_config_test dlls
/comcat
/tests comcat_test
17745 wine_fn_config_dll comctl32 enable_comctl32 clean
,implib
17746 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17747 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
17748 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17749 wine_fn_config_dll
comm.drv16 enable_win16
17750 wine_fn_config_dll commdlg.dll16 enable_win16
17751 wine_fn_config_dll compobj.dll16 enable_win16
17752 wine_fn_config_dll compstui enable_compstui implib
17753 wine_fn_config_dll comsvcs enable_comsvcs implib
17754 wine_fn_config_dll concrt140 enable_concrt140
17755 wine_fn_config_dll connect enable_connect
17756 wine_fn_config_dll credui enable_credui clean
,implib
17757 wine_fn_config_test dlls
/credui
/tests credui_test
17758 wine_fn_config_dll crtdll enable_crtdll
17759 wine_fn_config_dll crypt32 enable_crypt32 clean
,implib
17760 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17761 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17762 wine_fn_config_dll cryptdll enable_cryptdll implib
17763 wine_fn_config_dll cryptext enable_cryptext
17764 wine_fn_config_dll cryptnet enable_cryptnet implib
17765 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17766 wine_fn_config_dll cryptui enable_cryptui clean
,implib
17767 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17768 wine_fn_config_dll ctapi32 enable_ctapi32
17769 wine_fn_config_dll ctl3d.dll16 enable_win16
17770 wine_fn_config_dll ctl3d32 enable_ctl3d32
17771 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17772 wine_fn_config_dll d2d1 enable_d2d1 implib
17773 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17774 wine_fn_config_dll d3d10 enable_d3d10 implib
17775 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17776 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17777 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
17778 wine_fn_config_dll d3d10core enable_d3d10core implib
17779 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17780 wine_fn_config_dll d3d11 enable_d3d11 implib
17781 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17782 wine_fn_config_dll d3d8 enable_d3d8 implib
17783 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17784 wine_fn_config_dll d3d9 enable_d3d9 implib
17785 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17786 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17787 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17788 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17789 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17790 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17791 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17792 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17793 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17794 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17795 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17796 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17797 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17798 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17799 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17800 wine_fn_config_dll d3dim enable_d3dim
17801 wine_fn_config_dll d3drm enable_d3drm implib
17802 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17803 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17804 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17805 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17806 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17807 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17808 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17809 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17810 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17811 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17812 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17813 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17814 wine_fn_config_test dlls
/d3dx10_43
/tests d3dx10_43_test
17815 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17816 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17817 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17818 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17819 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17820 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17821 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17822 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17823 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17824 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17825 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17826 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17827 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17828 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17829 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17830 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17831 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17832 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17833 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17834 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17835 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17836 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17837 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17838 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17839 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17840 wine_fn_config_dll davclnt enable_davclnt
17841 wine_fn_config_dll dbgeng enable_dbgeng implib
17842 wine_fn_config_dll dbghelp enable_dbghelp implib
17843 wine_fn_config_dll dciman32 enable_dciman32 implib
17844 wine_fn_config_dll ddeml.dll16 enable_win16
17845 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17846 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17847 wine_fn_config_dll ddrawex enable_ddrawex clean
17848 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17849 wine_fn_config_dll devenum enable_devenum clean
17850 wine_fn_config_test dlls
/devenum
/tests devenum_test
17851 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17852 wine_fn_config_dll difxapi enable_difxapi
17853 wine_fn_config_dll dinput enable_dinput clean
,implib
,staticimplib
17854 wine_fn_config_test dlls
/dinput
/tests dinput_test
17855 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17856 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17857 wine_fn_config_dll dispdib.dll16 enable_win16
17858 wine_fn_config_dll dispex enable_dispex clean
17859 wine_fn_config_test dlls
/dispex
/tests dispex_test
17860 wine_fn_config_dll display.drv16 enable_win16
17861 wine_fn_config_dll dmband enable_dmband clean
17862 wine_fn_config_test dlls
/dmband
/tests dmband_test
17863 wine_fn_config_dll dmcompos enable_dmcompos clean
17864 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17865 wine_fn_config_dll dmime enable_dmime clean
17866 wine_fn_config_test dlls
/dmime
/tests dmime_test
17867 wine_fn_config_dll dmloader enable_dmloader clean
17868 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17869 wine_fn_config_dll dmscript enable_dmscript clean
17870 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17871 wine_fn_config_dll dmstyle enable_dmstyle clean
17872 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17873 wine_fn_config_dll dmsynth enable_dmsynth clean
17874 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17875 wine_fn_config_dll dmusic enable_dmusic clean
17876 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17877 wine_fn_config_dll dmusic32 enable_dmusic32
17878 wine_fn_config_dll dnsapi enable_dnsapi implib
17879 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17880 wine_fn_config_dll dplay enable_dplay
17881 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17882 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17883 wine_fn_config_dll dpnaddr enable_dpnaddr
17884 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17885 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17886 wine_fn_config_dll dpnhpast enable_dpnhpast
17887 wine_fn_config_dll dpnlobby enable_dpnlobby
17888 wine_fn_config_dll dpvoice enable_dpvoice clean
17889 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17890 wine_fn_config_dll dpwsockx enable_dpwsockx
17891 wine_fn_config_dll drmclien enable_drmclien
17892 wine_fn_config_dll dsound enable_dsound clean
,implib
17893 wine_fn_config_test dlls
/dsound
/tests dsound_test
17894 wine_fn_config_dll dssenh enable_dssenh
17895 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17896 wine_fn_config_dll dswave enable_dswave clean
17897 wine_fn_config_test dlls
/dswave
/tests dswave_test
17898 wine_fn_config_dll dwmapi enable_dwmapi implib
17899 wine_fn_config_dll dwrite enable_dwrite implib
17900 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17901 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17902 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17903 wine_fn_config_lib dxerr8
17904 wine_fn_config_lib dxerr9
17905 wine_fn_config_dll dxgi enable_dxgi implib
17906 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17907 wine_fn_config_lib dxguid
17908 wine_fn_config_dll dxva2 enable_dxva2
17909 wine_fn_config_dll esent enable_esent
17910 wine_fn_config_dll evr enable_evr
17911 wine_fn_config_dll explorerframe enable_explorerframe clean
17912 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17913 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17914 wine_fn_config_dll faultrep enable_faultrep implib
17915 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17916 wine_fn_config_dll fltlib enable_fltlib
17917 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17918 wine_fn_config_dll fntcache enable_fntcache
17919 wine_fn_config_dll fontsub enable_fontsub
17920 wine_fn_config_dll fusion enable_fusion
17921 wine_fn_config_test dlls
/fusion
/tests fusion_test
17922 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17923 wine_fn_config_dll gameux enable_gameux clean
17924 wine_fn_config_test dlls
/gameux
/tests gameux_test
17925 wine_fn_config_dll gdi.exe16 enable_win16
17926 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
17927 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17928 wine_fn_config_dll gdiplus enable_gdiplus implib
17929 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17930 wine_fn_config_dll glu32 enable_glu32 implib
17931 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17932 wine_fn_config_dll gpkcsp enable_gpkcsp
17933 wine_fn_config_dll hal enable_hal
17934 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib htmlhelp
17935 wine_fn_config_dll hid enable_hid implib
17936 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17937 wine_fn_config_dll hlink enable_hlink clean
,implib
17938 wine_fn_config_test dlls
/hlink
/tests hlink_test
17939 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17940 wine_fn_config_test dlls
/hnetcfg
/tests hnetcfg_test
17941 wine_fn_config_dll httpapi enable_httpapi
17942 wine_fn_config_dll iccvid enable_iccvid clean
17943 wine_fn_config_dll icmp enable_icmp
17944 wine_fn_config_dll ieframe enable_ieframe clean
,implib
17945 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17946 wine_fn_config_dll ifsmgr.vxd enable_win16
17947 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17948 wine_fn_config_dll imagehlp enable_imagehlp implib
17949 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17950 wine_fn_config_dll imm.dll16 enable_win16
17951 wine_fn_config_dll imm32 enable_imm32 implib
17952 wine_fn_config_test dlls
/imm32
/tests imm32_test
17953 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17954 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17955 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17956 wine_fn_config_dll inetmib1 enable_inetmib1
17957 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17958 wine_fn_config_dll infosoft enable_infosoft clean
17959 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17960 wine_fn_config_dll initpki enable_initpki
17961 wine_fn_config_dll inkobj enable_inkobj
17962 wine_fn_config_dll inseng enable_inseng clean
17963 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17964 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17965 wine_fn_config_dll iprop enable_iprop
17966 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17967 wine_fn_config_dll itircl enable_itircl
17968 wine_fn_config_dll itss enable_itss clean
17969 wine_fn_config_test dlls
/itss
/tests itss_test
17970 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17971 wine_fn_config_dll jscript enable_jscript clean
17972 wine_fn_config_test dlls
/jscript
/tests jscript_test
17973 wine_fn_config_dll jsproxy enable_jsproxy implib
17974 wine_fn_config_test dlls
/jsproxy
/tests jsproxy_test
17975 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
17976 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17977 wine_fn_config_dll kernelbase enable_kernelbase
17978 wine_fn_config_dll keyboard.drv16 enable_win16
17979 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17980 wine_fn_config_dll ksuser enable_ksuser
17981 wine_fn_config_dll ktmw32 enable_ktmw32
17982 wine_fn_config_dll loadperf enable_loadperf implib
17983 wine_fn_config_dll localspl enable_localspl clean
17984 wine_fn_config_test dlls
/localspl
/tests localspl_test
17985 wine_fn_config_dll localui enable_localui clean
17986 wine_fn_config_test dlls
/localui
/tests localui_test
17987 wine_fn_config_dll lz32 enable_lz32 implib
17988 wine_fn_config_test dlls
/lz32
/tests lz32_test
17989 wine_fn_config_dll lzexpand.dll16 enable_win16
17990 wine_fn_config_dll mapi32 enable_mapi32 clean
,implib
17991 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17992 wine_fn_config_dll mapistub enable_mapistub
17993 wine_fn_config_dll mciavi32 enable_mciavi32
17994 wine_fn_config_dll mcicda enable_mcicda
17995 wine_fn_config_dll mciqtz32 enable_mciqtz32
17996 wine_fn_config_dll mciseq enable_mciseq
17997 wine_fn_config_dll mciwave enable_mciwave
17998 wine_fn_config_dll mf enable_mf
17999 wine_fn_config_dll mfplat enable_mfplat
18000 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18001 wine_fn_config_dll mgmtapi enable_mgmtapi
18002 wine_fn_config_dll midimap enable_midimap
18003 wine_fn_config_dll mlang enable_mlang clean
,implib
18004 wine_fn_config_test dlls
/mlang
/tests mlang_test
18005 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18006 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
18007 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18008 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
18009 wine_fn_config_dll mmdevldr.vxd enable_win16
18010 wine_fn_config_dll mmsystem.dll16 enable_win16
18011 wine_fn_config_dll monodebg.vxd enable_win16
18012 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18013 wine_fn_config_dll mouse.drv16 enable_win16
18014 wine_fn_config_dll mpr enable_mpr clean
,implib
18015 wine_fn_config_test dlls
/mpr
/tests mpr_test
18016 wine_fn_config_dll mprapi enable_mprapi implib
18017 wine_fn_config_dll msacm.dll16 enable_win16
18018 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18019 wine_fn_config_dll msacm32 enable_msacm32 clean
,implib
18020 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
18021 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18022 wine_fn_config_dll msasn1 enable_msasn1 implib
18023 wine_fn_config_dll mscat32 enable_mscat32
18024 wine_fn_config_dll mscms enable_mscms implib
18025 wine_fn_config_test dlls
/mscms
/tests mscms_test
18026 wine_fn_config_dll mscoree enable_mscoree clean
18027 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
18028 wine_fn_config_dll msctf enable_msctf clean
18029 wine_fn_config_test dlls
/msctf
/tests msctf_test
18030 wine_fn_config_dll msctfp enable_msctfp clean
18031 wine_fn_config_dll msdaps enable_msdaps clean
18032 wine_fn_config_dll msdelta enable_msdelta
18033 wine_fn_config_dll msdmo enable_msdmo implib
18034 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
18035 wine_fn_config_dll msdrm enable_msdrm
18036 wine_fn_config_dll msftedit enable_msftedit
18037 wine_fn_config_dll msg711.acm enable_msg711_acm
18038 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18039 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18040 wine_fn_config_dll mshtml enable_mshtml clean
,implib
18041 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
18042 wine_fn_config_dll msi enable_msi clean
,implib
18043 wine_fn_config_test dlls
/msi
/tests msi_test
18044 wine_fn_config_dll msident enable_msident clean
18045 wine_fn_config_dll msimg32 enable_msimg32 implib
18046 wine_fn_config_dll msimsg enable_msimsg
18047 wine_fn_config_dll msimtf enable_msimtf clean
18048 wine_fn_config_dll msisip enable_msisip
18049 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18050 wine_fn_config_dll msls31 enable_msls31
18051 wine_fn_config_dll msnet32 enable_msnet32
18052 wine_fn_config_dll mspatcha enable_mspatcha implib
18053 wine_fn_config_dll msports enable_msports
18054 wine_fn_config_dll msrle32 enable_msrle32 clean
18055 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
18056 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18057 wine_fn_config_test dlls
/msscript.ocx
/tests msscript.ocx_test clean
18058 wine_fn_config_dll mssign32 enable_mssign32
18059 wine_fn_config_dll mssip32 enable_mssip32
18060 wine_fn_config_dll mstask enable_mstask clean
18061 wine_fn_config_test dlls
/mstask
/tests mstask_test
18062 wine_fn_config_dll msvcirt enable_msvcirt
18063 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
18064 wine_fn_config_dll msvcm80 enable_msvcm80
18065 wine_fn_config_dll msvcm90 enable_msvcm90
18066 wine_fn_config_dll msvcp100 enable_msvcp100
18067 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
18068 wine_fn_config_dll msvcp110 enable_msvcp110
18069 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
18070 wine_fn_config_dll msvcp120 enable_msvcp120
18071 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
18072 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18073 wine_fn_config_dll msvcp140 enable_msvcp140
18074 wine_fn_config_test dlls
/msvcp140
/tests msvcp140_test
18075 wine_fn_config_dll msvcp60 enable_msvcp60
18076 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
18077 wine_fn_config_dll msvcp70 enable_msvcp70
18078 wine_fn_config_dll msvcp71 enable_msvcp71
18079 wine_fn_config_dll msvcp80 enable_msvcp80
18080 wine_fn_config_dll msvcp90 enable_msvcp90
18081 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
18082 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18083 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
18084 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18085 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18086 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
18087 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18088 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18089 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18090 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18091 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18092 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
18093 wine_fn_config_dll msvcrt enable_msvcrt implib
18094 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
18095 wine_fn_config_dll msvcrt20 enable_msvcrt20
18096 wine_fn_config_dll msvcrt40 enable_msvcrt40
18097 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18098 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
18099 wine_fn_config_dll msvfw32 enable_msvfw32 clean
,implib
18100 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
18101 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18102 wine_fn_config_dll msvideo.dll16 enable_win16
18103 wine_fn_config_dll mswsock enable_mswsock implib
18104 wine_fn_config_dll msxml enable_msxml clean
18105 wine_fn_config_dll msxml2 enable_msxml2 clean
18106 wine_fn_config_dll msxml3 enable_msxml3 clean
18107 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
18108 wine_fn_config_dll msxml4 enable_msxml4 clean
18109 wine_fn_config_dll msxml6 enable_msxml6 clean
18110 wine_fn_config_dll ncrypt enable_ncrypt
18111 wine_fn_config_dll nddeapi enable_nddeapi implib
18112 wine_fn_config_dll ndis.sys enable_ndis_sys
18113 wine_fn_config_dll netapi32 enable_netapi32 implib
18114 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
18115 wine_fn_config_dll netcfgx enable_netcfgx clean
18116 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
18117 wine_fn_config_dll netprofm enable_netprofm clean
18118 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
18119 wine_fn_config_dll newdev enable_newdev implib
18120 wine_fn_config_dll normaliz enable_normaliz implib
18121 wine_fn_config_dll npmshtml enable_npmshtml
18122 wine_fn_config_dll npptools enable_npptools
18123 wine_fn_config_dll ntdll enable_ntdll implib
18124 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
18125 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18126 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
18127 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18128 wine_fn_config_dll ntprint enable_ntprint
18129 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
18130 wine_fn_config_dll objsel enable_objsel clean
18131 wine_fn_config_dll odbc32 enable_odbc32 implib
18132 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18133 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
18134 wine_fn_config_dll odbccu32 enable_odbccu32
18135 wine_fn_config_dll ole2.dll16 enable_win16
18136 wine_fn_config_dll ole2conv.dll16 enable_win16
18137 wine_fn_config_dll ole2disp.dll16 enable_win16
18138 wine_fn_config_dll ole2nls.dll16 enable_win16
18139 wine_fn_config_dll ole2prox.dll16 enable_win16
18140 wine_fn_config_dll ole2thk.dll16 enable_win16
18141 wine_fn_config_dll ole32 enable_ole32 clean
,implib
18142 wine_fn_config_test dlls
/ole32
/tests ole32_test
18143 wine_fn_config_dll oleacc enable_oleacc clean
,implib
18144 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
18145 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
18146 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
18147 wine_fn_config_dll olecli.dll16 enable_win16
18148 wine_fn_config_dll olecli32 enable_olecli32 implib
18149 wine_fn_config_dll oledb32 enable_oledb32 clean
18150 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
18151 wine_fn_config_dll oledlg enable_oledlg clean
,implib
18152 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
18153 wine_fn_config_dll olepro32 enable_olepro32 clean
,implib
18154 wine_fn_config_dll olesvr.dll16 enable_win16
18155 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18156 wine_fn_config_dll olethk32 enable_olethk32
18157 wine_fn_config_dll openal32 enable_openal32
18158 wine_fn_config_dll opencl enable_opencl
18159 wine_fn_config_dll opengl32 enable_opengl32 implib
18160 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
18161 wine_fn_config_dll packager enable_packager clean
18162 wine_fn_config_test dlls
/packager
/tests packager_test
18163 wine_fn_config_dll pdh enable_pdh implib
18164 wine_fn_config_test dlls
/pdh
/tests pdh_test
18165 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18166 wine_fn_config_dll pidgen enable_pidgen
18167 wine_fn_config_dll powrprof enable_powrprof implib
18168 wine_fn_config_dll printui enable_printui
18169 wine_fn_config_dll prntvpt enable_prntvpt
18170 wine_fn_config_dll propsys enable_propsys clean
,implib
18171 wine_fn_config_test dlls
/propsys
/tests propsys_test
18172 wine_fn_config_dll psapi enable_psapi implib
18173 wine_fn_config_test dlls
/psapi
/tests psapi_test
18174 wine_fn_config_dll pstorec enable_pstorec clean
18175 wine_fn_config_dll qcap enable_qcap
18176 wine_fn_config_test dlls
/qcap
/tests qcap_test
18177 wine_fn_config_dll qedit enable_qedit clean
18178 wine_fn_config_test dlls
/qedit
/tests qedit_test
18179 wine_fn_config_dll qmgr enable_qmgr clean
18180 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
18181 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18182 wine_fn_config_dll quartz enable_quartz clean
,implib
18183 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
18184 wine_fn_config_dll query enable_query
18185 wine_fn_config_dll rasapi16.dll16 enable_win16
18186 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18187 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
18188 wine_fn_config_dll rasdlg enable_rasdlg implib
18189 wine_fn_config_dll regapi enable_regapi
18190 wine_fn_config_dll resutils enable_resutils implib
18191 wine_fn_config_dll riched20 enable_riched20 clean
,implib
18192 wine_fn_config_test dlls
/riched20
/tests riched20_test
18193 wine_fn_config_dll riched32 enable_riched32
18194 wine_fn_config_test dlls
/riched32
/tests riched32_test
18195 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
18196 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
18197 wine_fn_config_dll rsabase enable_rsabase
18198 wine_fn_config_dll rsaenh enable_rsaenh implib
18199 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
18200 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18201 wine_fn_config_dll rtutils enable_rtutils implib
18202 wine_fn_config_dll samlib enable_samlib
18203 wine_fn_config_dll sane.ds enable_sane_ds clean
18204 wine_fn_config_dll scarddlg enable_scarddlg
18205 wine_fn_config_dll sccbase enable_sccbase
18206 wine_fn_config_dll schannel enable_schannel
18207 wine_fn_config_test dlls
/schannel
/tests schannel_test
18208 wine_fn_config_dll schedsvc enable_schedsvc clean
18209 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
18210 wine_fn_config_dll scrrun enable_scrrun clean
18211 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
18212 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18213 wine_fn_config_dll secur32 enable_secur32 implib
18214 wine_fn_config_test dlls
/secur32
/tests secur32_test
18215 wine_fn_config_dll security enable_security
18216 wine_fn_config_dll sensapi enable_sensapi implib
18217 wine_fn_config_dll serialui enable_serialui clean
18218 wine_fn_config_test dlls
/serialui
/tests serialui_test
18219 wine_fn_config_dll setupapi enable_setupapi clean
,implib
18220 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
18221 wine_fn_config_dll setupx.dll16 enable_win16
18222 wine_fn_config_dll sfc enable_sfc implib
18223 wine_fn_config_dll sfc_os enable_sfc_os implib
18224 wine_fn_config_dll shdoclc enable_shdoclc clean
18225 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
18226 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
18227 wine_fn_config_dll shell.dll16 enable_win16
18228 wine_fn_config_dll shell32 enable_shell32 clean
,implib
18229 wine_fn_config_test dlls
/shell32
/tests shell32_test
18230 wine_fn_config_dll shfolder enable_shfolder implib
18231 wine_fn_config_dll shlwapi enable_shlwapi clean
,implib
18232 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
18233 wine_fn_config_dll slbcsp enable_slbcsp
18234 wine_fn_config_dll slc enable_slc implib
18235 wine_fn_config_test dlls
/slc
/tests slc_test
18236 wine_fn_config_dll snmpapi enable_snmpapi implib
18237 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
18238 wine_fn_config_dll softpub enable_softpub
18239 wine_fn_config_dll sound.drv16 enable_win16
18240 wine_fn_config_dll spoolss enable_spoolss implib
18241 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
18242 wine_fn_config_dll sspicli enable_sspicli
18243 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18244 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18245 wine_fn_config_dll sti enable_sti clean
,implib
18246 wine_fn_config_test dlls
/sti
/tests sti_test
18247 wine_fn_config_dll storage.dll16 enable_win16
18248 wine_fn_config_dll stress.dll16 enable_win16
18249 wine_fn_config_lib strmbase
18250 wine_fn_config_lib strmiids
18251 wine_fn_config_dll svrapi enable_svrapi
18252 wine_fn_config_dll sxs enable_sxs implib
18253 wine_fn_config_test dlls
/sxs
/tests sxs_test
18254 wine_fn_config_dll system.drv16 enable_win16
18255 wine_fn_config_dll t2embed enable_t2embed implib
18256 wine_fn_config_test dlls
/t2embed
/tests t2embed_test
18257 wine_fn_config_dll tapi32 enable_tapi32 implib
18258 wine_fn_config_dll taskschd enable_taskschd clean
18259 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
18260 wine_fn_config_dll tdi.sys enable_tdi_sys
18261 wine_fn_config_dll toolhelp.dll16 enable_win16
18262 wine_fn_config_dll traffic enable_traffic
18263 wine_fn_config_dll twain.dll16 enable_win16
18264 wine_fn_config_dll twain_32 enable_twain_32
18265 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
18266 wine_fn_config_dll typelib.dll16 enable_win16
18267 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18268 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
18269 wine_fn_config_dll unicows enable_unicows implib
18270 wine_fn_config_dll updspapi enable_updspapi
18271 wine_fn_config_dll url enable_url implib
18272 wine_fn_config_dll urlmon enable_urlmon clean
,implib
18273 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
18274 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18275 wine_fn_config_dll user.exe16 enable_win16
18276 wine_fn_config_dll user32 enable_user32 clean
,implib
18277 wine_fn_config_test dlls
/user32
/tests user32_test
18278 wine_fn_config_dll userenv enable_userenv implib
18279 wine_fn_config_test dlls
/userenv
/tests userenv_test
18280 wine_fn_config_dll usp10 enable_usp10 implib
18281 wine_fn_config_test dlls
/usp10
/tests usp10_test
18282 wine_fn_config_lib uuid
18283 wine_fn_config_dll uxtheme enable_uxtheme implib
18284 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
18285 wine_fn_config_dll vbscript enable_vbscript clean
18286 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
18287 wine_fn_config_dll vcomp enable_vcomp
18288 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
18289 wine_fn_config_dll vcomp100 enable_vcomp100
18290 wine_fn_config_dll vcomp110 enable_vcomp110
18291 wine_fn_config_dll vcomp120 enable_vcomp120
18292 wine_fn_config_dll vcomp140 enable_vcomp140
18293 wine_fn_config_dll vcomp90 enable_vcomp90
18294 wine_fn_config_dll vcruntime140 enable_vcruntime140
18295 wine_fn_config_dll vdhcp.vxd enable_win16
18296 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18297 wine_fn_config_dll ver.dll16 enable_win16
18298 wine_fn_config_dll version enable_version implib
18299 wine_fn_config_test dlls
/version
/tests version_test
18300 wine_fn_config_dll vmm.vxd enable_win16
18301 wine_fn_config_dll vnbt.vxd enable_win16
18302 wine_fn_config_dll vnetbios.vxd enable_win16
18303 wine_fn_config_dll vssapi enable_vssapi
18304 wine_fn_config_dll vtdapi.vxd enable_win16
18305 wine_fn_config_dll vwin32.vxd enable_win16
18306 wine_fn_config_dll w32skrnl enable_win16
18307 wine_fn_config_dll w32sys.dll16 enable_win16
18308 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18309 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
18310 wine_fn_config_dll wbemprox enable_wbemprox clean
18311 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
18312 wine_fn_config_dll webservices enable_webservices implib
18313 wine_fn_config_test dlls
/webservices
/tests webservices_test
18314 wine_fn_config_dll wer enable_wer implib
18315 wine_fn_config_test dlls
/wer
/tests wer_test
18316 wine_fn_config_dll wevtapi enable_wevtapi
18317 wine_fn_config_dll wiaservc enable_wiaservc clean
18318 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
18319 wine_fn_config_dll wimgapi enable_wimgapi
18320 wine_fn_config_dll win32s16.dll16 enable_win16
18321 wine_fn_config_dll win87em.dll16 enable_win16
18322 wine_fn_config_dll winaspi.dll16 enable_win16
18323 wine_fn_config_dll windebug.dll16 enable_win16
18324 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
18325 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
18326 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18327 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
18328 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18329 wine_fn_config_dll winebus.sys enable_winebus_sys
18330 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18331 wine_fn_config_lib winecrt0
18332 wine_fn_config_dll wined3d enable_wined3d implib
18333 wine_fn_config_dll winegstreamer enable_winegstreamer
18334 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18335 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18336 wine_fn_config_dll winemapi enable_winemapi
18337 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18338 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18339 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18340 wine_fn_config_dll wineps16.drv16 enable_win16
18341 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18342 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18343 wine_fn_config_dll winex11.drv enable_winex11_drv
18344 wine_fn_config_dll wing.dll16 enable_win16
18345 wine_fn_config_dll wing32 enable_wing32
18346 wine_fn_config_dll winhttp enable_winhttp clean
,implib
18347 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
18348 wine_fn_config_dll wininet enable_wininet clean
,implib
18349 wine_fn_config_test dlls
/wininet
/tests wininet_test
18350 wine_fn_config_dll winmm enable_winmm clean
,implib
18351 wine_fn_config_test dlls
/winmm
/tests winmm_test
18352 wine_fn_config_dll winnls.dll16 enable_win16
18353 wine_fn_config_dll winnls32 enable_winnls32 implib
18354 wine_fn_config_dll winscard enable_winscard implib
18355 wine_fn_config_dll winsock.dll16 enable_win16
18356 wine_fn_config_dll winspool.drv enable_winspool_drv clean
,implib winspool
18357 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
18358 wine_fn_config_dll winsta enable_winsta
18359 wine_fn_config_dll wintab.dll16 enable_win16
18360 wine_fn_config_dll wintab32 enable_wintab32 implib
18361 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
18362 wine_fn_config_dll wintrust enable_wintrust implib
18363 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
18364 wine_fn_config_dll wlanapi enable_wlanapi
18365 wine_fn_config_dll wldap32 enable_wldap32 clean
,implib
18366 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
18367 wine_fn_config_dll wmasf enable_wmasf
18368 wine_fn_config_dll wmi enable_wmi
18369 wine_fn_config_dll wmiutils enable_wmiutils clean
18370 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
18371 wine_fn_config_dll wmp enable_wmp clean
18372 wine_fn_config_test dlls
/wmp
/tests wmp_test
18373 wine_fn_config_dll wmvcore enable_wmvcore
18374 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18375 wine_fn_config_dll wow32 enable_win16 implib
18376 wine_fn_config_dll wpc enable_wpc clean
18377 wine_fn_config_test dlls
/wpc
/tests wpc_test
18378 wine_fn_config_dll wpcap enable_wpcap
18379 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18380 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
18381 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18382 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
18383 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18384 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
18385 wine_fn_config_dll wsock32 enable_wsock32 implib
18386 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18387 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
18388 wine_fn_config_dll wuapi enable_wuapi clean
18389 wine_fn_config_dll wuaueng enable_wuaueng
18390 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18391 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18392 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18393 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18394 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18395 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18396 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18397 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18398 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18399 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18400 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18401 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18402 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18403 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18404 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18405 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18406 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18407 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18408 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18409 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18410 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18411 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
18412 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18413 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18414 wine_fn_config_dll xinput1_1 enable_xinput1_1
18415 wine_fn_config_dll xinput1_2 enable_xinput1_2
18416 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18417 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
18418 wine_fn_config_dll xinput1_4 enable_xinput1_4
18419 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18420 wine_fn_config_dll xmllite enable_xmllite implib
18421 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
18422 wine_fn_config_dll xolehlp enable_xolehlp
18423 wine_fn_config_dll xpsprint enable_xpsprint
18424 wine_fn_config_dll xpssvcs enable_xpssvcs
18425 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
18426 wine_fn_config_makefile include enable_include clean
,install-dev
18427 wine_fn_config_makefile libs
/port enable_libs_port
18428 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,implib
,install-dev
,install-lib
18429 wine_fn_config_makefile libs
/wpp enable_libs_wpp
18430 wine_fn_config_makefile loader enable_loader clean
,install-lib
18431 wine_fn_config_makefile po enable_po clean
18432 wine_fn_config_program arp enable_arp
install
18433 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
18434 wine_fn_config_program attrib enable_attrib clean
,install
18435 wine_fn_config_program cabarc enable_cabarc
install
18436 wine_fn_config_program cacls enable_cacls
install
18437 wine_fn_config_program
clock enable_clock clean
,install
18438 wine_fn_config_program cmd enable_cmd clean
,install
18439 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
18440 wine_fn_config_program conhost enable_conhost
install
18441 wine_fn_config_program control enable_control
install
18442 wine_fn_config_program cscript enable_cscript clean
,install
18443 wine_fn_config_program dpnsvr enable_dpnsvr
install
18444 wine_fn_config_program dxdiag enable_dxdiag clean
,install
18445 wine_fn_config_program eject enable_eject
install
18446 wine_fn_config_program
expand enable_expand
install
18447 wine_fn_config_program explorer enable_explorer clean
,install
18448 wine_fn_config_program extrac32 enable_extrac32
install
18449 wine_fn_config_program findstr enable_findstr
install
18450 wine_fn_config_program fsutil enable_fsutil
install
18451 wine_fn_config_program hh enable_hh
install
18452 wine_fn_config_program hostname enable_hostname clean
,install
18453 wine_fn_config_program icacls enable_icacls
install
18454 wine_fn_config_program icinfo enable_icinfo
install
18455 wine_fn_config_program iexplore enable_iexplore
install
18456 wine_fn_config_program ipconfig enable_ipconfig clean
,install
18457 wine_fn_config_program lodctr enable_lodctr
install
18458 wine_fn_config_program mofcomp enable_mofcomp
install
18459 wine_fn_config_program mshta enable_mshta
install
18460 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18461 wine_fn_config_program msinfo32 enable_msinfo32
install
18462 wine_fn_config_program net enable_net clean
,install
18463 wine_fn_config_program netsh enable_netsh
install
18464 wine_fn_config_program netstat enable_netstat clean
,install
18465 wine_fn_config_program ngen enable_ngen
install
18466 wine_fn_config_program notepad enable_notepad clean
,install,installbin
,manpage
18467 wine_fn_config_program oleview enable_oleview clean
,install
18468 wine_fn_config_program
ping enable_ping
install
18469 wine_fn_config_program plugplay enable_plugplay
install
18470 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18471 wine_fn_config_program progman enable_progman clean
,install
18472 wine_fn_config_program reg enable_reg clean
,install
18473 wine_fn_config_test programs
/reg
/tests reg.exe_test
18474 wine_fn_config_program regasm enable_regasm
install
18475 wine_fn_config_program regedit enable_regedit clean
,install,installbin
,manpage
18476 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18477 wine_fn_config_program regsvcs enable_regsvcs
install
18478 wine_fn_config_program regsvr32 enable_regsvr32 clean
,install,installbin
,manpage
18479 wine_fn_config_program rpcss enable_rpcss clean
,install
18480 wine_fn_config_program rundll.exe16 enable_win16
install
18481 wine_fn_config_program rundll32 enable_rundll32
install
18482 wine_fn_config_program sc enable_sc
install
18483 wine_fn_config_program schtasks enable_schtasks
install
18484 wine_fn_config_program sdbinst enable_sdbinst
install
18485 wine_fn_config_program secedit enable_secedit
install
18486 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18487 wine_fn_config_program services enable_services clean
,install
18488 wine_fn_config_test programs
/services
/tests services.exe_test
18489 wine_fn_config_program shutdown enable_shutdown
install
18490 wine_fn_config_program spoolsv enable_spoolsv
install
18491 wine_fn_config_program start enable_start clean
,install
18492 wine_fn_config_program svchost enable_svchost
install
18493 wine_fn_config_program systeminfo enable_systeminfo
install
18494 wine_fn_config_program taskkill enable_taskkill clean
,install
18495 wine_fn_config_program tasklist enable_tasklist
install
18496 wine_fn_config_program taskmgr enable_taskmgr clean
,install
18497 wine_fn_config_program termsv enable_termsv
install
18498 wine_fn_config_program uninstaller enable_uninstaller clean
,install
18499 wine_fn_config_program unlodctr enable_unlodctr
install
18500 wine_fn_config_program view enable_view clean
,install
18501 wine_fn_config_program wevtutil enable_wevtutil
install
18502 wine_fn_config_program wineboot enable_wineboot clean
,install,installbin
,manpage
18503 wine_fn_config_program winebrowser enable_winebrowser
install
18504 wine_fn_config_program winecfg enable_winecfg clean
,install,installbin
,manpage
18505 wine_fn_config_program wineconsole enable_wineconsole clean
,install,installbin
,manpage
18506 wine_fn_config_program winedbg enable_winedbg clean
,install,installbin
,manpage
18507 wine_fn_config_program winedevice enable_winedevice
install
18508 wine_fn_config_program winefile enable_winefile clean
,install,installbin
,manpage
18509 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18510 wine_fn_config_program winemine enable_winemine clean
,install,installbin
,manpage
18511 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18512 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18513 wine_fn_config_program winetest enable_winetest clean
18514 wine_fn_config_program winevdm enable_win16
install
18515 wine_fn_config_program winhelp.exe16 enable_win16
install
18516 wine_fn_config_program winhlp32 enable_winhlp32 clean
,install
18517 wine_fn_config_program winoldap.mod16 enable_win16
install
18518 wine_fn_config_program winver enable_winver
install
18519 wine_fn_config_program wmic enable_wmic clean
,install
18520 wine_fn_config_program wmplayer enable_wmplayer
install
18521 wine_fn_config_program wordpad enable_wordpad clean
,install
18522 wine_fn_config_program
write enable_write clean
,install
18523 wine_fn_config_program wscript enable_wscript clean
,install
18524 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18525 wine_fn_config_program wusa enable_wusa
install
18526 wine_fn_config_program xcopy enable_xcopy clean
,install
18527 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18528 wine_fn_config_makefile server enable_server clean
,install-lib
18529 wine_fn_config_tool tools clean
18530 wine_fn_config_tool tools
/sfnt2fon clean
18531 wine_fn_config_tool tools
/widl clean
,install-dev
18532 wine_fn_config_tool tools
/winebuild clean
,install-dev
18533 wine_fn_config_tool tools
/winedump clean
,install-dev
18534 wine_fn_config_tool tools
/winegcc clean
,install-dev
18535 wine_fn_config_tool tools
/winemaker clean
,install-dev
18536 wine_fn_config_tool tools
/wmc clean
,install-dev
18537 wine_fn_config_tool tools
/wrc clean
,install-dev
18540 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
18541 wine_fn_append_file CONFIGURE_TARGETS
"tags"
18542 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
18543 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
18544 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
18545 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
18546 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
18547 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
18549 if test "x$enable_tools" != xno
18551 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
18552 ac_config_commands
="$ac_config_commands tools/makedep"
18556 ac_config_commands
="$ac_config_commands Makefile"
18559 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
18563 if test "x$enable_maintainer_mode" = xyes
18565 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18566 autoconf --warnings=all
18567 include/config.h.in: include/stamp-h.in
18568 include/stamp-h.in: configure.ac aclocal.m4
18569 autoheader --warnings=all
18570 @echo timestamp > \$@"
18573 if test "x$enable_tools" != xno
18575 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18576 @./config.status tools/makedep
18577 Makefile: tools/makedep$ac_exeext"
18579 wine_fn_append_rule
"\$(MAKEDEP):
18580 @echo \"You need to run make in $TOOLSDIR first\" && false"
18583 if test -n "$with_wine64"
18585 wine_fn_append_rule
"all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18587 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18588 $with_wine64/loader/wine:
18589 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18590 $with_wine64/loader/wine-preloader:
18591 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18593 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18595 WINELOADER_INSTALL
="wine.inf"
18597 wine_fn_append_rule
"install install-lib::
18598 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18600 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18602 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
18603 *) wine_fn_append_rule
"install install-lib::
18604 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18606 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18610 $as_echo " done" >&6
18611 cat >confcache
<<\_ACEOF
18612 # This file is a shell script that caches the results of configure
18613 # tests run on this system so they can be shared between configure
18614 # scripts and configure runs, see configure's option --config-cache.
18615 # It is not useful on other systems. If it contains results you don't
18616 # want to keep, you may remove or edit it.
18618 # config.status only pays attention to the cache file if you give it
18619 # the --recheck option to rerun configure.
18621 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18622 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18623 # following values.
18627 # The following way of writing the cache mishandles newlines in values,
18628 # but we know of no workaround that is simple, portable, and efficient.
18629 # So, we kill variables containing newlines.
18630 # Ultrix sh set writes to stderr and can't be redirected directly,
18631 # and sets the high bit in the cache file unless we assign to the vars.
18633 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18634 eval ac_val
=\$
$ac_var
18638 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18639 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18642 _ | IFS | as_nl
) ;; #(
18643 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18644 *) { eval $ac_var=; unset $ac_var;} ;;
18650 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18651 *${as_nl}ac_space
=\
*)
18652 # `set' does not quote correctly, so add quotes: double-quote
18653 # substitution turns \\\\ into \\, and sed turns \\ into \.
18656 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18659 # `set' quotes correctly as required by POSIX, so do not add quotes.
18660 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18669 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18671 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18673 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18674 if test -w "$cache_file"; then
18675 if test "x$cache_file" != "x/dev/null"; then
18676 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18677 $as_echo "$as_me: updating cache $cache_file" >&6;}
18678 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18679 cat confcache
>"$cache_file"
18681 case $cache_file in #(
18683 mv -f confcache
"$cache_file"$$
&&
18684 mv -f "$cache_file"$$
"$cache_file" ;; #(
18686 mv -f confcache
"$cache_file" ;;
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18692 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18697 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18698 # Let make expand exec_prefix.
18699 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18701 DEFS
=-DHAVE_CONFIG_H
18706 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18707 # 1. Remove the extension, and $U if already installed.
18708 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18709 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18710 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18711 # will be set to the directory where LIBOBJS objects are built.
18712 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18713 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18715 LIBOBJS
=$ac_libobjs
18717 LTLIBOBJS
=$ac_ltlibobjs
18721 : "${CONFIG_STATUS=./config.status}"
18723 ac_clean_files_save
=$ac_clean_files
18724 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18726 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18728 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18730 # Generated by $as_me.
18731 # Run this file to recreate the current configuration.
18732 # Compiler output produced by configure, useful for debugging
18733 # configure, is in config.log if it exists.
18736 ac_cs_recheck=false
18739 SHELL=\${CONFIG_SHELL-$SHELL}
18742 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18743 ## -------------------- ##
18744 ## M4sh Initialization. ##
18745 ## -------------------- ##
18747 # Be more Bourne compatible
18748 DUALCASE
=1; export DUALCASE
# for MKS sh
18749 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18752 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18753 # is contrary to our usage. Disable this feature.
18754 alias -g '${1+"$@"}'='"$@"'
18755 setopt NO_GLOB_SUBST
18757 case `(set -o) 2>/dev/null` in #(
18769 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18770 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18771 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18772 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18773 # Prefer a ksh shell builtin over an external printf program on Solaris,
18774 # but without wasting forks for bash or zsh.
18775 if test -z "$BASH_VERSION$ZSH_VERSION" \
18776 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18777 as_echo='print
-r --'
18778 as_echo_n='print
-rn --'
18779 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18780 as_echo='printf %s
\n'
18781 as_echo_n='printf %s
'
18783 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18784 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18785 as_echo_n='/usr
/ucb
/echo -n'
18787 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18788 as_echo_n_body='eval
18792 expr "X$arg" : "X\\(.*\\)$as_nl";
18793 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18795 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18797 export as_echo_n_body
18798 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18800 export as_echo_body
18801 as_echo='sh
-c $as_echo_body as_echo
'
18804 # The user is always right.
18805 if test "${PATH_SEPARATOR+set}" != set; then
18807 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18808 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18815 # We need space, tab and new line, in precisely that order. Quoting is
18816 # there to prevent editors from complaining about space-tab.
18817 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18818 # splitting by setting IFS to empty value.)
18821 # Find who we are. Look in the path if we contain no directory separator.
18824 *[\\/]* ) as_myself=$0 ;;
18825 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18826 for as_dir in $PATH
18829 test -z "$as_dir" && as_dir=.
18830 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18836 # We did not find ourselves, most probably we were run as `sh COMMAND'
18837 # in which case we are not to be found in the path.
18838 if test "x$as_myself" = x
; then
18841 if test ! -f "$as_myself"; then
18842 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18846 # Unset variables that we do not need and which cause bugs (e.g. in
18847 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18848 # suppresses any "Segmentation fault" message there. '((' could
18849 # trigger a bug in pdksh 5.2.14.
18850 for as_var
in BASH_ENV ENV MAIL MAILPATH
18851 do eval test x\
${$as_var+set} = xset \
18852 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18865 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18868 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18869 # ----------------------------------------
18870 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18871 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18872 # script with STATUS, using 1 if that was 0.
18875 as_status
=$1; test $as_status -eq 0 && as_status
=1
18877 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18878 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18880 $as_echo "$as_me: error: $2" >&2
18881 as_fn_exit
$as_status
18885 # as_fn_set_status STATUS
18886 # -----------------------
18887 # Set $? to STATUS, without forking.
18888 as_fn_set_status
()
18891 } # as_fn_set_status
18893 # as_fn_exit STATUS
18894 # -----------------
18895 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18899 as_fn_set_status
$1
18905 # Portably unset VAR.
18908 { eval $1=; unset $1;}
18910 as_unset
=as_fn_unset
18911 # as_fn_append VAR VALUE
18912 # ----------------------
18913 # Append the text in VALUE to the end of the definition contained in VAR. Take
18914 # advantage of any shell optimizations that allow amortized linear growth over
18915 # repeated appends, instead of the typical quadratic growth present in naive
18917 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18918 eval 'as_fn_append ()
18929 # as_fn_arith ARG...
18930 # ------------------
18931 # Perform arithmetic evaluation on the ARGs, and store the result in the
18932 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18933 # must be portable across $(()) and expr.
18934 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18935 eval 'as_fn_arith ()
18942 as_val
=`expr "$@" || test $? -eq 1`
18947 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18948 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18954 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18955 as_basename
=basename
18960 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18966 as_me
=`$as_basename -- "$0" ||
18967 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18968 X"$0" : 'X\(//\)$' \| \
18969 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18971 sed '/^.*\/\([^/][^/]*\)\/*$/{
18985 # Avoid depending upon Character Ranges.
18986 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18987 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18988 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18989 as_cr_digits
='0123456789'
18990 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18992 ECHO_C
= ECHO_N
= ECHO_T
=
18993 case `echo -n x` in #(((((
18995 case `echo 'xy\c'` in
18996 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18998 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19005 rm -f conf$$ conf$$.exe conf$$.
file
19006 if test -d conf$$.dir
; then
19007 rm -f conf$$.dir
/conf$$.
file
19010 mkdir conf$$.dir
2>/dev
/null
19012 if (echo >conf$$.
file) 2>/dev
/null
; then
19013 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19015 # ... but there are two gotchas:
19016 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19017 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19018 # In both cases, we have to default to `cp -pR'.
19019 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19021 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19029 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19030 rmdir conf$$.dir
2>/dev
/null
19035 # Create "$as_dir" as a directory, including parents if necessary.
19040 -*) as_dir
=.
/$as_dir;;
19042 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19046 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19047 *) as_qdir
=$as_dir;;
19049 as_dirs
="'$as_qdir' $as_dirs"
19050 as_dir
=`$as_dirname -- "$as_dir" ||
19051 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19052 X"$as_dir" : 'X\(//\)[^/]' \| \
19053 X"$as_dir" : 'X\(//\)$' \| \
19054 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19055 $as_echo X"$as_dir" |
19056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19060 /^X\(\/\/\)[^/].*/{
19073 test -d "$as_dir" && break
19075 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19076 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19080 if mkdir
-p .
2>/dev
/null
; then
19081 as_mkdir_p
='mkdir -p "$as_dir"'
19083 test -d .
/-p && rmdir .
/-p
19088 # as_fn_executable_p FILE
19089 # -----------------------
19090 # Test if FILE is an executable regular file.
19091 as_fn_executable_p
()
19093 test -f "$1" && test -x "$1"
19094 } # as_fn_executable_p
19095 as_test_x
='test -x'
19096 as_executable_p
=as_fn_executable_p
19098 # Sed expression to map a string onto a valid CPP name.
19099 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19101 # Sed expression to map a string onto a valid variable name.
19102 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19106 ## ----------------------------------- ##
19107 ## Main body of $CONFIG_STATUS script. ##
19108 ## ----------------------------------- ##
19110 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19113 # Save the log message, to keep $0 and so on meaningful, and to
19114 # report actual input values of CONFIG_FILES etc. instead of their
19115 # values after options handling.
19117 This file was extended by Wine $as_me 1.9.19, which was
19118 generated by GNU Autoconf 2.69. Invocation command line was
19120 CONFIG_FILES = $CONFIG_FILES
19121 CONFIG_HEADERS = $CONFIG_HEADERS
19122 CONFIG_LINKS = $CONFIG_LINKS
19123 CONFIG_COMMANDS = $CONFIG_COMMANDS
19126 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19131 case $ac_config_files in *"
19132 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19135 case $ac_config_headers in *"
19136 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19140 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19141 # Files that config.status was made for.
19142 config_files="$ac_config_files"
19143 config_headers="$ac_config_headers"
19144 config_links="$ac_config_links"
19145 config_commands="$ac_config_commands"
19149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19151 \`$as_me' instantiates files and other configuration actions
19152 from templates according to the current configuration. Unless the files
19153 and actions are specified as TAGs, all are instantiated by default.
19155 Usage: $0 [OPTION]... [TAG]...
19157 -h, --help print this help, then exit
19158 -V, --version print version number and configuration settings, then exit
19159 --config print configuration, then exit
19160 -q, --quiet, --silent
19161 do not print progress messages
19162 -d, --debug don't remove temporary files
19163 --recheck update $as_me by reconfiguring in the same conditions
19164 --file=FILE[:TEMPLATE]
19165 instantiate the configuration file FILE
19166 --header=FILE[:TEMPLATE]
19167 instantiate the configuration header FILE
19169 Configuration files:
19172 Configuration headers:
19175 Configuration links:
19178 Configuration commands:
19181 Report bugs to <wine-devel@winehq.org>.
19182 Wine home page: <http://www.winehq.org>."
19185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19186 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19188 Wine config.status 1.9.19
19189 configured by $0, generated by GNU Autoconf 2.69,
19190 with options \\"\$ac_cs_config\\"
19192 Copyright (C) 2012 Free Software Foundation, Inc.
19193 This config.status script is free software; the Free Software Foundation
19194 gives unlimited permission to copy, distribute and modify it."
19198 test -n "\$AWK" || AWK=awk
19201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19202 # The default lists apply if the user does not specify any file.
19208 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19209 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19213 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19225 # Handling of the options.
19226 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19228 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19229 $as_echo "$ac_cs_version"; exit ;;
19230 --config |
--confi |
--conf |
--con |
--co |
--c )
19231 $as_echo "$ac_cs_config"; exit ;;
19232 --debug |
--debu |
--deb |
--de |
--d |
-d )
19234 --file |
--fil |
--fi |
--f )
19237 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19238 '') as_fn_error $?
"missing file argument" ;;
19240 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19241 ac_need_defaults
=false
;;
19242 --header |
--heade |
--head |
--hea )
19245 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19247 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19248 ac_need_defaults
=false
;;
19250 # Conflict between --help and --header
19251 as_fn_error $?
"ambiguous option: \`$1'
19252 Try \`$0 --help' for more information.";;
19253 --help |
--hel |
-h )
19254 $as_echo "$ac_cs_usage"; exit ;;
19255 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19256 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19259 # This is an error.
19260 -*) as_fn_error $?
"unrecognized option: \`$1'
19261 Try \`$0 --help' for more information." ;;
19263 *) as_fn_append ac_config_targets
" $1"
19264 ac_need_defaults
=false
;;
19270 ac_configure_extra_args
=
19272 if $ac_cs_silent; then
19274 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19279 if \$ac_cs_recheck; then
19280 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19282 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19283 CONFIG_SHELL='$SHELL'
19284 export CONFIG_SHELL
19289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19293 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19294 ## Running $as_me. ##
19300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19304 wine_fn_output_makedep ()
19306 as_dir=tools; as_fn_mkdir_p
19307 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19309 wine_fn_output_makefile ()
19311 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19312 `cat $wine_rules_file`
19314 as_fn_error $? "could not create Makefile" "$LINENO" 5
19319 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19321 # Handling of arguments.
19322 for ac_config_target
in $ac_config_targets
19324 case $ac_config_target in
19325 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19326 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
19327 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19328 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19329 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19330 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19331 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19332 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19333 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
19334 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19335 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
19336 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
19337 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19339 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19344 # If the user did not use the arguments to specify the items to instantiate,
19345 # then the envvar interface is used. Set only those that are not.
19346 # We use the long form for the default assignment because of an extremely
19347 # bizarre bug on SunOS 4.1.3.
19348 if $ac_need_defaults; then
19349 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19350 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19351 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19352 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19355 # Have a temporary directory for convenience. Make it in the build tree
19356 # simply because there is no reason against having it here, and in addition,
19357 # creating and moving files from /tmp can sometimes cause problems.
19358 # Hook for its removal unless debugging.
19359 # Note that there is a small window in which the directory will not be cleaned:
19360 # after its creation but before its name has been assigned to `$tmp'.
19364 trap 'exit_status=$?
19365 : "${ac_tmp:=$tmp}"
19366 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19368 trap 'as_fn_exit 1' 1 2 13 15
19370 # Create a (secure) tmp directory for tmp files.
19373 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19377 tmp
=.
/conf$$
-$RANDOM
19378 (umask 077 && mkdir
"$tmp")
19379 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19382 # Set up the scripts for CONFIG_FILES section.
19383 # No need to generate them if there are no CONFIG_FILES.
19384 # This happens for instance with `./config.status config.h'.
19385 if test -n "$CONFIG_FILES"; then
19388 ac_cr
=`echo X | tr X '\015'`
19389 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19390 # But we know of no other shell where ac_cr would be empty at this
19391 # point, so we can use a bashism as a fallback.
19392 if test "x$ac_cr" = x
; then
19393 eval ac_cr
=\$
\'\\r
\'
19395 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19396 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19399 ac_cs_awk_cr
=$ac_cr
19402 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19407 echo "cat >conf$$subs.awk <<_ACEOF" &&
19408 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19410 } >conf$$subs.sh ||
19411 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19412 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19414 for ac_last_try in false false false false false :; do
19415 . ./conf$$subs.sh ||
19416 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19418 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19419 if test $ac_delim_n = $ac_delim_num; then
19421 elif $ac_last_try; then
19422 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19424 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19427 rm -f conf$$subs.sh
19429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19430 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19434 s/^/S["/; s
/!.
*/"]=/
19444 s/\(.\{148\}\)..*/\1/
19446 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19451 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19458 s/\(.\{148\}\)..*/\1/
19460 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19464 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19469 ' <conf$$subs.awk | sed '
19474 ' >>$CONFIG_STATUS || ac_write_fail=1
19475 rm -f conf$$subs.awk
19476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19478 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19479 for (key in S) S_is_set[key] = 1
19485 nfields = split(line, field, "@
")
19487 len = length(field[1])
19488 for (i = 2; i < nfields; i++) {
19490 keylen = length(key)
19491 if (S_is_set[key]) {
19493 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19494 len += length(value) + length(field[++i])
19505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19506 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19507 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19510 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19511 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19514 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19515 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19516 # trailing colons and then remove the whole line if VPATH becomes empty
19517 # (actually we leave an empty line to preserve line numbers).
19518 if test "x
$srcdir" = x.; then
19519 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19538 fi # test -n "$CONFIG_FILES"
19540 # Set up the scripts for CONFIG_HEADERS section.
19541 # No need to generate them if there are no CONFIG_HEADERS.
19542 # This happens for instance with `./config.status Makefile'.
19543 if test -n "$CONFIG_HEADERS"; then
19544 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19548 # Transform confdefs.h into an awk script `defines.awk', embedded as
19549 # here-document in config.status, that substitutes the proper values into
19550 # config.h.in to produce config.h.
19552 # Create a delimiter string that does not exist in confdefs.h, to ease
19553 # handling of long lines.
19555 for ac_last_try in false false :; do
19556 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19557 if test -z "$ac_tt"; then
19559 elif $ac_last_try; then
19560 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19562 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19566 # For the awk script, D is an array of macro values keyed by name,
19567 # likewise P contains macro parameters if any. Preserve backslash
19568 # newline sequences.
19570 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19572 s/.\{148\}/&'"$ac_delim"'/g
19575 s/^[ ]*#[ ]*define[ ][ ]*/ /
19582 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19584 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19588 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19589 D["\
1"]=" \
3\\\\\\n
"\\/p
19591 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19596 s/.\{148\}/&'"$ac_delim"'/g
19601 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19604 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19606 ' <confdefs.h | sed '
19607 s/'"$ac_delim"'/"\\\
19608 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19611 for (key in D) D_is_set[key] = 1
19614 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19616 split(line, arg, " ")
19617 if (arg[1] == "#") {
19621 defundef
= substr
(arg
[1], 2)
19624 split(mac1
, mac2
, "(") #)
19626 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19627 if (D_is_set
[macro
]) {
19628 # Preserve the white space surrounding the "#".
19629 print prefix
"define", macro P
[macro
] D
[macro
]
19632 # Replace #undef with comments. This is necessary, for example,
19633 # in the case of _POSIX_SOURCE, which is predefined and required
19634 # on some systems where configure will not decide to define it.
19635 if (defundef
== "undef") {
19636 print
"/*", prefix defundef
, macro
, "*/"
19644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19645 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19646 fi # test -n "$CONFIG_HEADERS"
19649 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19654 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19656 case $ac_mode$ac_tag in
19658 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19659 :[FH
]-) ac_tag
=-:-;;
19660 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19677 -) ac_f
="$ac_tmp/stdin";;
19678 *) # Look for the file first in the build tree, then in the source tree
19679 # (if the path is not absolute). The absolute path cannot be DOS-style,
19680 # because $ac_f cannot contain `:'.
19684 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19686 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19688 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19689 as_fn_append ac_file_inputs
" '$ac_f'"
19692 # Let's still pretend it is `configure' which instantiates (i.e., don't
19693 # use $as_me), people would be surprised to read:
19694 # /* config.h. Generated by config.status. */
19695 configure_input
='Generated from '`
19696 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19698 if test x
"$ac_file" != x-
; then
19699 configure_input
="$ac_file. $configure_input"
19700 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19701 $as_echo "$as_me: creating $ac_file" >&6;}
19703 # Neutralize special characters interpreted by sed in replacement strings.
19704 case $configure_input in #(
19705 *\
&* |
*\|
* |
*\\* )
19706 ac_sed_conf_input
=`$as_echo "$configure_input" |
19707 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19708 *) ac_sed_conf_input
=$configure_input;;
19712 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19713 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19718 ac_dir
=`$as_dirname -- "$ac_file" ||
19719 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19720 X"$ac_file" : 'X\(//\)[^/]' \| \
19721 X"$ac_file" : 'X\(//\)$' \| \
19722 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19723 $as_echo X"$ac_file" |
19724 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19728 /^X\(\/\/\)[^/].*/{
19741 as_dir
="$ac_dir"; as_fn_mkdir_p
19745 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19747 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19748 # A ".." for each directory in $ac_dir_suffix.
19749 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19750 case $ac_top_builddir_sub in
19751 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19752 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19755 ac_abs_top_builddir
=$ac_pwd
19756 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19757 # for backward compatibility:
19758 ac_top_builddir
=$ac_top_build_prefix
19761 .
) # We are building in place.
19763 ac_top_srcdir
=$ac_top_builddir_sub
19764 ac_abs_top_srcdir
=$ac_pwd ;;
19765 [\\/]* | ?
:[\\/]* ) # Absolute name.
19766 ac_srcdir
=$srcdir$ac_dir_suffix;
19767 ac_top_srcdir
=$srcdir
19768 ac_abs_top_srcdir
=$srcdir ;;
19769 *) # Relative name.
19770 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19771 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19772 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19774 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19786 # If the template does not know about datarootdir, expand it.
19787 # FIXME: This hack should be removed a few years after 2.60.
19788 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19799 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19800 *datarootdir
*) ac_datarootdir_seen
=yes;;
19801 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19803 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19806 ac_datarootdir_hack='
19807 s&@datadir@&$datadir&g
19808 s&@docdir@&$docdir&g
19809 s&@infodir@&$infodir&g
19810 s&@localedir@&$localedir&g
19811 s&@mandir@&$mandir&g
19812 s&\\\${datarootdir}&$datarootdir&g' ;;
19816 # Neutralize VPATH when `$srcdir' = `.'.
19817 # Shell code in configure.ac might set extrasub.
19818 # FIXME: do we really want to maintain this feature?
19819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19820 ac_sed_extra="$ac_vpsub
19823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19825 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19826 s|@configure_input@|
$ac_sed_conf_input|
;t t
19827 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19828 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19829 s
&@srcdir@
&$ac_srcdir&;t t
19830 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19831 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19832 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19833 s
&@builddir@
&$ac_builddir&;t t
19834 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19835 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19836 $ac_datarootdir_hack
19838 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19839 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19841 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19842 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19843 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19844 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19846 which seems to be undefined. Please make sure it is defined" >&5
19847 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19848 which seems to be undefined. Please make sure it is defined" >&2;}
19850 rm -f "$ac_tmp/stdin"
19852 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19853 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19855 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19861 if test x"$ac_file" != x-; then
19863 $as_echo "/* $configure_input */" \
19864 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19865 } >"$ac_tmp/config.h" \
19866 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19867 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19868 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19869 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19872 mv "$ac_tmp/config.h" "$ac_file" \
19873 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19876 $as_echo "/* $configure_input */" \
19877 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19878 || as_fn_error $? "could not create -" "$LINENO" 5
19886 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19889 # Prefer the file from the source tree if names are identical.
19890 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19891 ac_source=$srcdir/$ac_source
19894 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19895 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19897 if test ! -r "$ac_source"; then
19898 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19902 # Try a relative symlink, then a hard link, then a copy.
19904 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19905 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19907 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19908 ln "$ac_source" "$ac_file" 2>/dev/null ||
19909 cp -p "$ac_source" "$ac_file" ||
19910 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19913 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19914 $as_echo "$as_me: executing $ac_file commands" >&6;}
19919 case $ac_file$ac_mode in
19920 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19921 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19922 "Makefile":C) wine_fn_output_makefile Makefile ;;
19930 ac_clean_files=$ac_clean_files_save
19932 test $ac_write_fail = 0 ||
19933 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19936 # configure is writing to config.log, and then calls config.status.
19937 # config.status does its own redirection, appending to config.log.
19938 # Unfortunately, on DOS this fails, as config.log is still kept open
19939 # by configure, so config.status won't be able to
write to it
; its
19940 # output is simply discarded. So we exec the FD to /dev/null,
19941 # effectively closing config.log, so it can be properly (re)opened and
19942 # appended to by config.status. When coming back to configure, we
19943 # need to make the FD available again.
19944 if test "$no_create" != yes; then
19946 ac_config_status_args
=
19947 test "$silent" = yes &&
19948 ac_config_status_args
="$ac_config_status_args --quiet"
19950 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19952 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19953 # would make configure fail if this is the last instruction.
19954 $ac_cs_success || as_fn_exit
1
19956 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19958 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19962 if test "$no_create" = "yes"
19968 if test "x$wine_notices" != x
; then
19971 for msg
in $wine_notices; do
19973 if ${msg:+false} :; then :
19976 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19977 $as_echo "$as_me: $msg" >&6;}
19982 for msg
in $wine_warnings; do
19984 if ${msg:+false} :; then :
19988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19989 $as_echo "$as_me: WARNING: $msg" >&2;}
19995 $as_me: Finished. Do '${ac_make}' to compile Wine.