2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.0.4.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='2.0.4'
584 PACKAGE_STRING
='Wine 2.0.4'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='https://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_appmodel_identity_l1_1_0
878 enable_api_ms_win_appmodel_runtime_l1_1_1
879 enable_api_ms_win_core_apiquery_l1_1_0
880 enable_api_ms_win_core_appcompat_l1_1_1
881 enable_api_ms_win_core_appinit_l1_1_0
882 enable_api_ms_win_core_atoms_l1_1_0
883 enable_api_ms_win_core_bem_l1_1_0
884 enable_api_ms_win_core_com_l1_1_0
885 enable_api_ms_win_core_com_l1_1_1
886 enable_api_ms_win_core_com_private_l1_1_0
887 enable_api_ms_win_core_console_l1_1_0
888 enable_api_ms_win_core_console_l2_1_0
889 enable_api_ms_win_core_datetime_l1_1_0
890 enable_api_ms_win_core_datetime_l1_1_1
891 enable_api_ms_win_core_debug_l1_1_0
892 enable_api_ms_win_core_debug_l1_1_1
893 enable_api_ms_win_core_delayload_l1_1_0
894 enable_api_ms_win_core_delayload_l1_1_1
895 enable_api_ms_win_core_errorhandling_l1_1_0
896 enable_api_ms_win_core_errorhandling_l1_1_1
897 enable_api_ms_win_core_errorhandling_l1_1_2
898 enable_api_ms_win_core_fibers_l1_1_0
899 enable_api_ms_win_core_fibers_l1_1_1
900 enable_api_ms_win_core_file_l1_1_0
901 enable_api_ms_win_core_file_l1_2_0
902 enable_api_ms_win_core_file_l1_2_1
903 enable_api_ms_win_core_file_l2_1_0
904 enable_api_ms_win_core_file_l2_1_1
905 enable_api_ms_win_core_handle_l1_1_0
906 enable_api_ms_win_core_heap_l1_1_0
907 enable_api_ms_win_core_heap_l1_2_0
908 enable_api_ms_win_core_heap_obsolete_l1_1_0
909 enable_api_ms_win_core_interlocked_l1_1_0
910 enable_api_ms_win_core_interlocked_l1_2_0
911 enable_api_ms_win_core_io_l1_1_0
912 enable_api_ms_win_core_io_l1_1_1
913 enable_api_ms_win_core_job_l1_1_0
914 enable_api_ms_win_core_job_l2_1_0
915 enable_api_ms_win_core_kernel32_legacy_l1_1_0
916 enable_api_ms_win_core_kernel32_legacy_l1_1_1
917 enable_api_ms_win_core_kernel32_private_l1_1_1
918 enable_api_ms_win_core_libraryloader_l1_1_0
919 enable_api_ms_win_core_libraryloader_l1_1_1
920 enable_api_ms_win_core_libraryloader_l1_2_0
921 enable_api_ms_win_core_libraryloader_l1_2_2
922 enable_api_ms_win_core_localization_l1_1_0
923 enable_api_ms_win_core_localization_l1_2_0
924 enable_api_ms_win_core_localization_l1_2_1
925 enable_api_ms_win_core_localization_l2_1_0
926 enable_api_ms_win_core_localization_obsolete_l1_1_0
927 enable_api_ms_win_core_localization_obsolete_l1_2_0
928 enable_api_ms_win_core_localization_private_l1_1_0
929 enable_api_ms_win_core_localregistry_l1_1_0
930 enable_api_ms_win_core_memory_l1_1_0
931 enable_api_ms_win_core_memory_l1_1_1
932 enable_api_ms_win_core_memory_l1_1_2
933 enable_api_ms_win_core_misc_l1_1_0
934 enable_api_ms_win_core_namedpipe_l1_1_0
935 enable_api_ms_win_core_namedpipe_l1_2_0
936 enable_api_ms_win_core_namespace_l1_1_0
937 enable_api_ms_win_core_normalization_l1_1_0
938 enable_api_ms_win_core_path_l1_1_0
939 enable_api_ms_win_core_privateprofile_l1_1_1
940 enable_api_ms_win_core_processenvironment_l1_1_0
941 enable_api_ms_win_core_processenvironment_l1_2_0
942 enable_api_ms_win_core_processthreads_l1_1_0
943 enable_api_ms_win_core_processthreads_l1_1_1
944 enable_api_ms_win_core_processthreads_l1_1_2
945 enable_api_ms_win_core_profile_l1_1_0
946 enable_api_ms_win_core_psapi_l1_1_0
947 enable_api_ms_win_core_psapi_obsolete_l1_1_0
948 enable_api_ms_win_core_realtime_l1_1_0
949 enable_api_ms_win_core_registry_l1_1_0
950 enable_api_ms_win_core_registryuserspecific_l1_1_0
951 enable_api_ms_win_core_rtlsupport_l1_1_0
952 enable_api_ms_win_core_rtlsupport_l1_2_0
953 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
954 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
955 enable_api_ms_win_core_sidebyside_l1_1_0
956 enable_api_ms_win_core_string_l1_1_0
957 enable_api_ms_win_core_string_l2_1_0
958 enable_api_ms_win_core_string_obsolete_l1_1_0
959 enable_api_ms_win_core_stringansi_l1_1_0
960 enable_api_ms_win_core_synch_l1_1_0
961 enable_api_ms_win_core_synch_l1_2_0
962 enable_api_ms_win_core_sysinfo_l1_1_0
963 enable_api_ms_win_core_sysinfo_l1_2_0
964 enable_api_ms_win_core_sysinfo_l1_2_1
965 enable_api_ms_win_core_threadpool_l1_1_0
966 enable_api_ms_win_core_threadpool_l1_2_0
967 enable_api_ms_win_core_threadpool_legacy_l1_1_0
968 enable_api_ms_win_core_timezone_l1_1_0
969 enable_api_ms_win_core_toolhelp_l1_1_0
970 enable_api_ms_win_core_url_l1_1_0
971 enable_api_ms_win_core_util_l1_1_0
972 enable_api_ms_win_core_version_l1_1_0
973 enable_api_ms_win_core_version_private_l1_1_0
974 enable_api_ms_win_core_versionansi_l1_1_0
975 enable_api_ms_win_core_windowserrorreporting_l1_1_0
976 enable_api_ms_win_core_winrt_error_l1_1_0
977 enable_api_ms_win_core_winrt_error_l1_1_1
978 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
979 enable_api_ms_win_core_winrt_l1_1_0
980 enable_api_ms_win_core_winrt_registration_l1_1_0
981 enable_api_ms_win_core_winrt_string_l1_1_0
982 enable_api_ms_win_core_wow64_l1_1_0
983 enable_api_ms_win_core_xstate_l1_1_0
984 enable_api_ms_win_core_xstate_l2_1_0
985 enable_api_ms_win_crt_conio_l1_1_0
986 enable_api_ms_win_crt_convert_l1_1_0
987 enable_api_ms_win_crt_environment_l1_1_0
988 enable_api_ms_win_crt_filesystem_l1_1_0
989 enable_api_ms_win_crt_heap_l1_1_0
990 enable_api_ms_win_crt_locale_l1_1_0
991 enable_api_ms_win_crt_math_l1_1_0
992 enable_api_ms_win_crt_multibyte_l1_1_0
993 enable_api_ms_win_crt_private_l1_1_0
994 enable_api_ms_win_crt_process_l1_1_0
995 enable_api_ms_win_crt_runtime_l1_1_0
996 enable_api_ms_win_crt_stdio_l1_1_0
997 enable_api_ms_win_crt_string_l1_1_0
998 enable_api_ms_win_crt_time_l1_1_0
999 enable_api_ms_win_crt_utility_l1_1_0
1000 enable_api_ms_win_devices_config_l1_1_1
1001 enable_api_ms_win_devices_query_l1_1_1
1002 enable_api_ms_win_downlevel_advapi32_l1_1_0
1003 enable_api_ms_win_downlevel_advapi32_l2_1_0
1004 enable_api_ms_win_downlevel_normaliz_l1_1_0
1005 enable_api_ms_win_downlevel_ole32_l1_1_0
1006 enable_api_ms_win_downlevel_shell32_l1_1_0
1007 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1008 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1009 enable_api_ms_win_downlevel_user32_l1_1_0
1010 enable_api_ms_win_downlevel_version_l1_1_0
1011 enable_api_ms_win_dx_d3dkmt_l1_1_0
1012 enable_api_ms_win_eventing_classicprovider_l1_1_0
1013 enable_api_ms_win_eventing_consumer_l1_1_0
1014 enable_api_ms_win_eventing_controller_l1_1_0
1015 enable_api_ms_win_eventing_provider_l1_1_0
1016 enable_api_ms_win_eventlog_legacy_l1_1_0
1017 enable_api_ms_win_ntuser_dc_access_l1_1_0
1018 enable_api_ms_win_power_base_l1_1_0
1019 enable_api_ms_win_power_setting_l1_1_0
1020 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1021 enable_api_ms_win_security_audit_l1_1_1
1022 enable_api_ms_win_security_base_l1_1_0
1023 enable_api_ms_win_security_base_l1_2_0
1024 enable_api_ms_win_security_base_private_l1_1_1
1025 enable_api_ms_win_security_lsalookup_l1_1_0
1026 enable_api_ms_win_security_lsalookup_l1_1_1
1027 enable_api_ms_win_security_lsalookup_l2_1_1
1028 enable_api_ms_win_security_lsapolicy_l1_1_0
1029 enable_api_ms_win_security_sddl_l1_1_0
1030 enable_api_ms_win_service_core_l1_1_0
1031 enable_api_ms_win_service_core_l1_1_1
1032 enable_api_ms_win_service_management_l1_1_0
1033 enable_api_ms_win_service_management_l2_1_0
1034 enable_api_ms_win_service_private_l1_1_1
1035 enable_api_ms_win_service_winsvc_l1_1_0
1036 enable_api_ms_win_service_winsvc_l1_2_0
1037 enable_api_ms_win_shell_shellcom_l1_1_0
1038 enable_api_ms_win_shell_shellfolders_l1_1_0
1051 enable_bluetoothapis
1084 enable_d3dcompiler_33
1085 enable_d3dcompiler_34
1086 enable_d3dcompiler_35
1087 enable_d3dcompiler_36
1088 enable_d3dcompiler_37
1089 enable_d3dcompiler_38
1090 enable_d3dcompiler_39
1091 enable_d3dcompiler_40
1092 enable_d3dcompiler_41
1093 enable_d3dcompiler_42
1094 enable_d3dcompiler_43
1095 enable_d3dcompiler_46
1096 enable_d3dcompiler_47
1174 enable_explorerframe
1175 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1176 enable_ext_ms_win_gdi_dc_create_l1_1_1
1177 enable_ext_ms_win_gdi_dc_l1_2_0
1178 enable_ext_ms_win_gdi_devcaps_l1_1_0
1179 enable_ext_ms_win_gdi_draw_l1_1_1
1180 enable_ext_ms_win_gdi_render_l1_1_0
1181 enable_ext_ms_win_kernel32_package_current_l1_1_0
1182 enable_ext_ms_win_ntuser_message_l1_1_1
1183 enable_ext_ms_win_ntuser_private_l1_1_1
1184 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1185 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1186 enable_ext_ms_win_ntuser_window_l1_1_1
1187 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1188 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1189 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1190 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1191 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1358 enable_photometadatahandler
1448 enable_windowscodecs
1449 enable_windowscodecsext
1452 enable_winecoreaudio_drv
1454 enable_winegstreamer
1456 enable_winejoystick_drv
1462 enable_winepulse_drv
1463 enable_wineqtdecoder
1532 enable_aspnet_regiis
1568 enable_presentationfontcache
1581 enable_servicemodelreg
1604 enable_winemenubuilder
1606 enable_winemsibuilder
1621 ac_precious_vars
='build_alias
1676 # Initialize some variables set by options.
1678 ac_init_version
=false
1679 ac_unrecognized_opts
=
1680 ac_unrecognized_sep
=
1681 # The variables have the same names as the options, with
1682 # dashes changed to underlines.
1683 cache_file
=/dev
/null
1690 program_transform_name
=s
,x
,x
,
1698 # Installation directory options.
1699 # These are left unexpanded so users can "make install exec_prefix=/foo"
1700 # and all the variables that are supposed to be based on exec_prefix
1701 # by default will actually change.
1702 # Use braces instead of parens because sh, perl, etc. also accept them.
1703 # (The list follows the same order as the GNU Coding Standards.)
1704 bindir
='${exec_prefix}/bin'
1705 sbindir
='${exec_prefix}/sbin'
1706 libexecdir
='${exec_prefix}/libexec'
1707 datarootdir
='${prefix}/share'
1708 datadir
='${datarootdir}'
1709 sysconfdir
='${prefix}/etc'
1710 sharedstatedir
='${prefix}/com'
1711 localstatedir
='${prefix}/var'
1712 runstatedir
='${localstatedir}/run'
1713 includedir
='${prefix}/include'
1714 oldincludedir
='/usr/include'
1715 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1716 infodir
='${datarootdir}/info'
1721 libdir
='${exec_prefix}/lib'
1722 localedir
='${datarootdir}/locale'
1723 mandir
='${datarootdir}/man'
1729 # If the previous option needs an argument, assign it.
1730 if test -n "$ac_prev"; then
1731 eval $ac_prev=\
$ac_option
1737 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1742 # Accept the important Cygnus configure options, so we can diagnose typos.
1744 case $ac_dashdash$ac_option in
1748 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1750 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1751 bindir
=$ac_optarg ;;
1753 -build |
--build |
--buil |
--bui |
--bu)
1754 ac_prev
=build_alias
;;
1755 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1756 build_alias
=$ac_optarg ;;
1758 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1759 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1760 ac_prev
=cache_file
;;
1761 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1762 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1763 cache_file
=$ac_optarg ;;
1765 --config-cache |
-C)
1766 cache_file
=config.cache
;;
1768 -datadir |
--datadir |
--datadi |
--datad)
1770 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1771 datadir
=$ac_optarg ;;
1773 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1774 |
--dataroo |
--dataro |
--datar)
1775 ac_prev
=datarootdir
;;
1776 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1777 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1778 datarootdir
=$ac_optarg ;;
1780 -disable-* |
--disable-*)
1781 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1782 # Reject names that are not valid shell variable names.
1783 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1784 as_fn_error $?
"invalid feature name: $ac_useropt"
1785 ac_useropt_orig
=$ac_useropt
1786 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1787 case $ac_user_opts in
1789 "enable_
$ac_useropt"
1791 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1792 ac_unrecognized_sep
=', ';;
1794 eval enable_
$ac_useropt=no
;;
1796 -docdir |
--docdir |
--docdi |
--doc |
--do)
1798 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1799 docdir
=$ac_optarg ;;
1801 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1803 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1804 dvidir
=$ac_optarg ;;
1806 -enable-* |
--enable-*)
1807 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1808 # Reject names that are not valid shell variable names.
1809 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1810 as_fn_error $?
"invalid feature name: $ac_useropt"
1811 ac_useropt_orig
=$ac_useropt
1812 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1813 case $ac_user_opts in
1815 "enable_
$ac_useropt"
1817 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1818 ac_unrecognized_sep
=', ';;
1820 eval enable_
$ac_useropt=\
$ac_optarg ;;
1822 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1823 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1824 |
--exec |
--exe |
--ex)
1825 ac_prev
=exec_prefix
;;
1826 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1827 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1828 |
--exec=* |
--exe=* |
--ex=*)
1829 exec_prefix
=$ac_optarg ;;
1831 -gas |
--gas |
--ga |
--g)
1832 # Obsolete; use --with-gas.
1835 -help |
--help |
--hel |
--he |
-h)
1836 ac_init_help
=long
;;
1837 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1838 ac_init_help
=recursive
;;
1839 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1840 ac_init_help
=short
;;
1842 -host |
--host |
--hos |
--ho)
1843 ac_prev
=host_alias
;;
1844 -host=* |
--host=* |
--hos=* |
--ho=*)
1845 host_alias
=$ac_optarg ;;
1847 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1849 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1851 htmldir
=$ac_optarg ;;
1853 -includedir |
--includedir |
--includedi |
--included |
--include \
1854 |
--includ |
--inclu |
--incl |
--inc)
1855 ac_prev
=includedir
;;
1856 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1857 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1858 includedir
=$ac_optarg ;;
1860 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1862 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1863 infodir
=$ac_optarg ;;
1865 -libdir |
--libdir |
--libdi |
--libd)
1867 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1868 libdir
=$ac_optarg ;;
1870 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1871 |
--libexe |
--libex |
--libe)
1872 ac_prev
=libexecdir
;;
1873 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1874 |
--libexe=* |
--libex=* |
--libe=*)
1875 libexecdir
=$ac_optarg ;;
1877 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1878 ac_prev
=localedir
;;
1879 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1880 localedir
=$ac_optarg ;;
1882 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1883 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1884 ac_prev
=localstatedir
;;
1885 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1886 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1887 localstatedir
=$ac_optarg ;;
1889 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1891 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1892 mandir
=$ac_optarg ;;
1894 -nfp |
--nfp |
--nf)
1895 # Obsolete; use --without-fp.
1898 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1899 |
--no-cr |
--no-c |
-n)
1902 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1903 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1906 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1907 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1908 |
--oldin |
--oldi |
--old |
--ol |
--o)
1909 ac_prev
=oldincludedir
;;
1910 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1911 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1912 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1913 oldincludedir
=$ac_optarg ;;
1915 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1917 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1918 prefix
=$ac_optarg ;;
1920 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1921 |
--program-pre |
--program-pr |
--program-p)
1922 ac_prev
=program_prefix
;;
1923 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1924 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1925 program_prefix
=$ac_optarg ;;
1927 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1928 |
--program-suf |
--program-su |
--program-s)
1929 ac_prev
=program_suffix
;;
1930 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1931 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1932 program_suffix
=$ac_optarg ;;
1934 -program-transform-name |
--program-transform-name \
1935 |
--program-transform-nam |
--program-transform-na \
1936 |
--program-transform-n |
--program-transform- \
1937 |
--program-transform |
--program-transfor \
1938 |
--program-transfo |
--program-transf \
1939 |
--program-trans |
--program-tran \
1940 |
--progr-tra |
--program-tr |
--program-t)
1941 ac_prev
=program_transform_name
;;
1942 -program-transform-name=* |
--program-transform-name=* \
1943 |
--program-transform-nam=* |
--program-transform-na=* \
1944 |
--program-transform-n=* |
--program-transform-=* \
1945 |
--program-transform=* |
--program-transfor=* \
1946 |
--program-transfo=* |
--program-transf=* \
1947 |
--program-trans=* |
--program-tran=* \
1948 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1949 program_transform_name
=$ac_optarg ;;
1951 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1953 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1954 pdfdir
=$ac_optarg ;;
1956 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1958 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1961 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1962 |
-silent |
--silent |
--silen |
--sile |
--sil)
1965 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1966 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1967 |
--run |
--ru |
--r)
1968 ac_prev
=runstatedir
;;
1969 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1970 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1971 |
--run=* |
--ru=* |
--r=*)
1972 runstatedir
=$ac_optarg ;;
1974 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1976 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1978 sbindir
=$ac_optarg ;;
1980 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1981 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1982 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1984 ac_prev
=sharedstatedir
;;
1985 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1986 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1987 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1989 sharedstatedir
=$ac_optarg ;;
1991 -site |
--site |
--sit)
1993 -site=* |
--site=* |
--sit=*)
1996 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1998 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1999 srcdir
=$ac_optarg ;;
2001 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2002 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2003 ac_prev
=sysconfdir
;;
2004 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2005 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2006 sysconfdir
=$ac_optarg ;;
2008 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2009 ac_prev
=target_alias
;;
2010 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2011 target_alias
=$ac_optarg ;;
2013 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2016 -version |
--version |
--versio |
--versi |
--vers |
-V)
2017 ac_init_version
=: ;;
2020 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2021 # Reject names that are not valid shell variable names.
2022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2023 as_fn_error $?
"invalid package name: $ac_useropt"
2024 ac_useropt_orig
=$ac_useropt
2025 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2026 case $ac_user_opts in
2030 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2031 ac_unrecognized_sep
=', ';;
2033 eval with_
$ac_useropt=\
$ac_optarg ;;
2035 -without-* |
--without-*)
2036 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2037 # Reject names that are not valid shell variable names.
2038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2039 as_fn_error $?
"invalid package name: $ac_useropt"
2040 ac_useropt_orig
=$ac_useropt
2041 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2042 case $ac_user_opts in
2046 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2047 ac_unrecognized_sep
=', ';;
2049 eval with_
$ac_useropt=no
;;
2052 # Obsolete; use --with-x.
2055 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2056 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2057 ac_prev
=x_includes
;;
2058 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2059 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2060 x_includes
=$ac_optarg ;;
2062 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2063 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2064 ac_prev
=x_libraries
;;
2065 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2066 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2067 x_libraries
=$ac_optarg ;;
2069 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2070 Try \`$0 --help' for more information"
2074 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2075 # Reject names that are not valid shell variable names.
2076 case $ac_envvar in #(
2077 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2078 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2080 eval $ac_envvar=\
$ac_optarg
2081 export $ac_envvar ;;
2084 # FIXME: should be removed in autoconf 3.0.
2085 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2086 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2087 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2088 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2094 if test -n "$ac_prev"; then
2095 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2096 as_fn_error $?
"missing argument to $ac_option"
2099 if test -n "$ac_unrecognized_opts"; then
2100 case $enable_option_checking in
2102 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2103 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2107 # Check all directory arguments for consistency.
2108 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2109 datadir sysconfdir sharedstatedir localstatedir includedir \
2110 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2111 libdir localedir mandir runstatedir
2113 eval ac_val
=\$
$ac_var
2114 # Remove trailing slashes.
2117 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2118 eval $ac_var=\
$ac_val;;
2120 # Be sure to have absolute directory names.
2122 [\\/$
]* | ?
:[\\/]* ) continue;;
2123 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2125 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2128 # There might be people who depend on the old broken behavior: `$host'
2129 # used to hold the argument of --host etc.
2130 # FIXME: To remove some day.
2133 target
=$target_alias
2135 # FIXME: To remove some day.
2136 if test "x$host_alias" != x
; then
2137 if test "x$build_alias" = x
; then
2138 cross_compiling
=maybe
2139 elif test "x$build_alias" != "x$host_alias"; then
2145 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2147 test "$silent" = yes && exec 6>/dev
/null
2150 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2151 ac_ls_di
=`ls -di .` &&
2152 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2153 as_fn_error $?
"working directory cannot be determined"
2154 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2155 as_fn_error $?
"pwd does not report name of working directory"
2158 # Find the source files, if location was not specified.
2159 if test -z "$srcdir"; then
2160 ac_srcdir_defaulted
=yes
2161 # Try the directory containing this script, then the parent directory.
2162 ac_confdir
=`$as_dirname -- "$as_myself" ||
2163 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2164 X"$as_myself" : 'X\(//\)[^/]' \| \
2165 X"$as_myself" : 'X\(//\)$' \| \
2166 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2167 $as_echo X"$as_myself" |
2168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2186 if test ! -r "$srcdir/$ac_unique_file"; then
2190 ac_srcdir_defaulted
=no
2192 if test ! -r "$srcdir/$ac_unique_file"; then
2193 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2194 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2196 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2198 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2200 # When building in place, set srcdir=.
2201 if test "$ac_abs_confdir" = "$ac_pwd"; then
2204 # Remove unnecessary trailing slashes from srcdir.
2205 # Double slashes in file names in object file debugging info
2206 # mess up M-x gdb in Emacs.
2208 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2210 for ac_var
in $ac_precious_vars; do
2211 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2212 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2213 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2214 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2218 # Report the --help message.
2220 if test "$ac_init_help" = "long"; then
2221 # Omit some internal or obsolete options to make the list less imposing.
2222 # This message is too long to be a string in the A/UX 3.1 sh.
2224 \`configure' configures Wine 2.0.4 to adapt to many kinds of systems.
2226 Usage: $0 [OPTION]... [VAR=VALUE]...
2228 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2229 VAR=VALUE. See below for descriptions of some of the useful variables.
2231 Defaults for the options are specified in brackets.
2234 -h, --help display this help and exit
2235 --help=short display options specific to this package
2236 --help=recursive display the short help of all the included packages
2237 -V, --version display version information and exit
2238 -q, --quiet, --silent do not print \`checking ...' messages
2239 --cache-file=FILE cache test results in FILE [disabled]
2240 -C, --config-cache alias for \`--cache-file=config.cache'
2241 -n, --no-create do not create output files
2242 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2244 Installation directories:
2245 --prefix=PREFIX install architecture-independent files in PREFIX
2246 [$ac_default_prefix]
2247 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2250 By default, \`make install' will install all the files in
2251 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2252 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2253 for instance \`--prefix=\$HOME'.
2255 For better control, use the options below.
2257 Fine tuning of the installation directories:
2258 --bindir=DIR user executables [EPREFIX/bin]
2259 --sbindir=DIR system admin executables [EPREFIX/sbin]
2260 --libexecdir=DIR program executables [EPREFIX/libexec]
2261 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2262 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2263 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2264 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2265 --libdir=DIR object code libraries [EPREFIX/lib]
2266 --includedir=DIR C header files [PREFIX/include]
2267 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2268 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2269 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2270 --infodir=DIR info documentation [DATAROOTDIR/info]
2271 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2272 --mandir=DIR man documentation [DATAROOTDIR/man]
2273 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2274 --htmldir=DIR html documentation [DOCDIR]
2275 --dvidir=DIR dvi documentation [DOCDIR]
2276 --pdfdir=DIR pdf documentation [DOCDIR]
2277 --psdir=DIR ps documentation [DOCDIR]
2283 --x-includes=DIR X include files are
in DIR
2284 --x-libraries=DIR X library files are
in DIR
2287 --build=BUILD configure
for building on BUILD
[guessed
]
2288 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2292 if test -n "$ac_init_help"; then
2293 case $ac_init_help in
2294 short | recursive
) echo "Configuration of Wine 2.0.4:";;
2299 --disable-option-checking ignore unrecognized
--enable/--with options
2300 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2301 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2302 --disable-win16 do not include Win16 support
2303 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2305 --disable-tests do not build the regression tests
2306 --enable-maintainer-mode
2307 enable maintainer-specific build rules
2308 --disable-largefile omit support for large files
2311 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2312 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2313 --without-alsa do not use the Alsa sound support
2314 --without-capi do not use CAPI (ISDN support)
2315 --without-cms do not use CMS (color management support)
2316 --without-coreaudio do not use the CoreAudio sound support
2317 --without-cups do not use CUPS
2318 --without-curses do not use (n)curses
2319 --without-dbus do not use DBus (dynamic device support)
2320 --without-fontconfig do not use fontconfig
2321 --without-freetype do not use the FreeType library
2322 --without-gettext do not use gettext
2323 --with-gettextpo use the GetTextPO library to rebuild po files
2324 --without-gphoto do not use gphoto (Digital Camera support)
2325 --without-glu do not use the GLU library
2326 --without-gnutls do not use GnuTLS (schannel support)
2327 --without-gsm do not use libgsm (GSM 06.10 codec support)
2328 --without-gstreamer do not use GStreamer (codecs support)
2329 --without-hal do not use HAL (dynamic device support)
2330 --without-jpeg do not use JPEG
2331 --without-ldap do not use LDAP
2332 --without-mpg123 do not use the mpg123 library
2333 --without-netapi do not use the Samba NetAPI library
2334 --without-openal do not use OpenAL
2335 --without-opencl do not use OpenCL
2336 --without-opengl do not use OpenGL
2337 --without-osmesa do not use the OSMesa library
2338 --without-oss do not use the OSS sound support
2339 --without-pcap do not use the Packet Capture library
2340 --without-png do not use PNG
2341 --without-pthread do not use the pthread library
2342 --without-pulse do not use PulseAudio sound support
2343 --without-sane do not use SANE (scanner support)
2344 --without-tiff do not use TIFF
2345 --without-udev do not use udev (plug and play support)
2346 --without-v4l do not use v4l1 (v4l support)
2347 --without-xcomposite do not use the Xcomposite extension
2348 --without-xcursor do not use the Xcursor extension
2349 --without-xinerama do not use Xinerama (multi-monitor support)
2350 --without-xinput do not use the Xinput extension
2351 --without-xinput2 do not use the Xinput 2 extension
2352 --without-xml do not use XML
2353 --without-xrandr do not use Xrandr (resolution changes)
2354 --without-xrender do not use the Xrender extension
2355 --without-xshape do not use the Xshape extension
2356 --without-xshm do not use XShm (shared memory extension)
2357 --without-xslt do not use XSLT
2358 --without-xxf86vm do not use XFree video mode extension
2359 --without-zlib do not use Zlib (data compression)
2360 --with-wine-tools=DIR use Wine tools from directory DIR
2361 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2362 --with-x use the X Window System
2364 Some influential environment variables:
2365 CC C compiler command
2366 CFLAGS C compiler flags
2367 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2368 nonstandard directory <lib dir>
2369 LIBS libraries to pass to the linker, e.g. -l<library>
2370 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2371 you have headers in a nonstandard directory <include dir>
2372 CXX C++ compiler command
2373 CXXFLAGS C++ compiler flags
2375 XMKMF Path to xmkmf, Makefile generator for X Window System
2376 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2377 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2378 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2379 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2380 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2381 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2382 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2383 HAL_LIBS Linker flags for hal, overriding pkg-config
2385 C compiler flags for gnutls, overriding pkg-config
2386 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2387 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2388 SANE_LIBS Linker flags for libsane, overriding pkg-config
2390 C compiler flags for libgphoto2, overriding pkg-config
2392 Linker flags for libgphoto2, overriding pkg-config
2394 C compiler flags for libgphoto2_port, overriding pkg-config
2396 Linker flags for libgphoto2_port, overriding pkg-config
2398 C compiler flags for lcms2, overriding pkg-config
2399 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2401 C compiler flags for freetype2, overriding pkg-config
2403 Linker flags for freetype2, overriding pkg-config
2405 C compiler flags for libpulse, overriding pkg-config
2406 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2408 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2409 gstreamer-audio-1.0, overriding pkg-config
2411 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2412 gstreamer-audio-1.0, overriding pkg-config
2413 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2414 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2416 C compiler flags for capi20, overriding pkg-config
2417 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2419 C compiler flags for fontconfig, overriding pkg-config
2421 Linker flags for fontconfig, overriding pkg-config
2422 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2423 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2424 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2425 PNG_LIBS Linker flags for libpng, overriding pkg-config
2426 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2427 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2429 C compiler flags for libmpg123, overriding pkg-config
2430 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2432 C compiler flags for netapi, overriding pkg-config
2433 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2435 Use these variables to override the choices made by `configure' or to
help
2436 it to
find libraries and programs with nonstandard names
/locations.
2438 Report bugs to
<wine-devel@winehq.org
>.
2439 Wine home page
: <https
://www.winehq.org
>.
2444 if test "$ac_init_help" = "recursive"; then
2445 # If there are subdirs, report their specific --help.
2446 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2447 test -d "$ac_dir" ||
2448 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2453 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2455 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2456 # A ".." for each directory in $ac_dir_suffix.
2457 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2458 case $ac_top_builddir_sub in
2459 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2460 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2463 ac_abs_top_builddir
=$ac_pwd
2464 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2465 # for backward compatibility:
2466 ac_top_builddir
=$ac_top_build_prefix
2469 .
) # We are building in place.
2471 ac_top_srcdir
=$ac_top_builddir_sub
2472 ac_abs_top_srcdir
=$ac_pwd ;;
2473 [\\/]* | ?
:[\\/]* ) # Absolute name.
2474 ac_srcdir
=$srcdir$ac_dir_suffix;
2475 ac_top_srcdir
=$srcdir
2476 ac_abs_top_srcdir
=$srcdir ;;
2478 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2479 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2480 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2482 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2484 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2485 # Check for guested configure.
2486 if test -f "$ac_srcdir/configure.gnu"; then
2488 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2489 elif test -f "$ac_srcdir/configure"; then
2491 $SHELL "$ac_srcdir/configure" --help=recursive
2493 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2495 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2499 test -n "$ac_init_help" && exit $ac_status
2500 if $ac_init_version; then
2502 Wine configure
2.0.4
2503 generated by GNU Autoconf
2.69
2505 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2506 This configure
script is free software
; the Free Software Foundation
2507 gives unlimited permission to copy
, distribute and modify it.
2512 ## ------------------------ ##
2513 ## Autoconf initialization. ##
2514 ## ------------------------ ##
2516 # ac_fn_c_try_compile LINENO
2517 # --------------------------
2518 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2519 ac_fn_c_try_compile
()
2521 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2522 rm -f conftest.
$ac_objext
2523 if { { ac_try
="$ac_compile"
2525 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2526 *) ac_try_echo=$ac_try;;
2528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2529 $as_echo "$ac_try_echo"; } >&5
2530 (eval "$ac_compile") 2>conftest.err
2532 if test -s conftest.err; then
2533 grep -v '^ *+' conftest.err >conftest.er1
2534 cat conftest.er1 >&5
2535 mv -f conftest.er1 conftest.err
2537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2538 test $ac_status = 0; } && {
2539 test -z "$ac_c_werror_flag" ||
2540 test ! -s conftest.err
2541 } && test -s conftest.$ac_objext; then :
2544 $as_echo "$as_me: failed program was:" >&5
2545 sed 's/^/| /' conftest.$ac_ext >&5
2549 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2550 as_fn_set_status $ac_retval
2552 } # ac_fn_c_try_compile
2554 # ac_fn_cxx_try_compile LINENO
2555 # ----------------------------
2556 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2557 ac_fn_cxx_try_compile ()
2559 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2560 rm -f conftest.$ac_objext
2561 if { { ac_try="$ac_compile"
2563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2564 *) ac_try_echo
=$ac_try;;
2566 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2567 $as_echo "$ac_try_echo"; } >&5
2568 (eval "$ac_compile") 2>conftest.err
2570 if test -s conftest.err
; then
2571 grep -v '^ *+' conftest.err
>conftest.er1
2572 cat conftest.er1
>&5
2573 mv -f conftest.er1 conftest.err
2575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2576 test $ac_status = 0; } && {
2577 test -z "$ac_cxx_werror_flag" ||
2578 test ! -s conftest.err
2579 } && test -s conftest.
$ac_objext; then :
2582 $as_echo "$as_me: failed program was:" >&5
2583 sed 's/^/| /' conftest.
$ac_ext >&5
2587 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2588 as_fn_set_status
$ac_retval
2590 } # ac_fn_cxx_try_compile
2592 # ac_fn_c_try_link LINENO
2593 # -----------------------
2594 # Try to link conftest.$ac_ext, and return whether this succeeded.
2597 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2598 rm -f conftest.
$ac_objext conftest
$ac_exeext
2599 if { { ac_try
="$ac_link"
2601 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2602 *) ac_try_echo=$ac_try;;
2604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2605 $as_echo "$ac_try_echo"; } >&5
2606 (eval "$ac_link") 2>conftest.err
2608 if test -s conftest.err; then
2609 grep -v '^ *+' conftest.err >conftest.er1
2610 cat conftest.er1 >&5
2611 mv -f conftest.er1 conftest.err
2613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2614 test $ac_status = 0; } && {
2615 test -z "$ac_c_werror_flag" ||
2616 test ! -s conftest.err
2617 } && test -s conftest$ac_exeext && {
2618 test "$cross_compiling" = yes ||
2619 test -x conftest$ac_exeext
2623 $as_echo "$as_me: failed program was:" >&5
2624 sed 's/^/| /' conftest.$ac_ext >&5
2628 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2629 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2630 # interfere with the next link command; also delete a directory that is
2631 # left behind by Apple's compiler. We do this before executing the actions.
2632 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2633 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2634 as_fn_set_status $ac_retval
2636 } # ac_fn_c_try_link
2638 # ac_fn_c_try_cpp LINENO
2639 # ----------------------
2640 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2643 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2644 if { { ac_try="$ac_cpp conftest.$ac_ext"
2646 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2647 *) ac_try_echo
=$ac_try;;
2649 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2650 $as_echo "$ac_try_echo"; } >&5
2651 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2653 if test -s conftest.err
; then
2654 grep -v '^ *+' conftest.err
>conftest.er1
2655 cat conftest.er1
>&5
2656 mv -f conftest.er1 conftest.err
2658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2659 test $ac_status = 0; } > conftest.i
&& {
2660 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2661 test ! -s conftest.err
2665 $as_echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.
$ac_ext >&5
2670 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2671 as_fn_set_status
$ac_retval
2675 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2676 # -------------------------------------------------------
2677 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2678 # the include files in INCLUDES and setting the cache variable VAR
2680 ac_fn_c_check_header_mongrel
()
2682 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2683 if eval \
${$3+:} false
; then :
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2685 $as_echo_n "checking for $2... " >&6; }
2686 if eval \
${$3+:} false
; then :
2687 $as_echo_n "(cached) " >&6
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2691 $as_echo "$ac_res" >&6; }
2693 # Is the header compilable?
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2695 $as_echo_n "checking $2 usability... " >&6; }
2696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2697 /* end confdefs.h. */
2701 if ac_fn_c_try_compile
"$LINENO"; then :
2702 ac_header_compiler
=yes
2704 ac_header_compiler
=no
2706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2708 $as_echo "$ac_header_compiler" >&6; }
2710 # Is the header present?
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2712 $as_echo_n "checking $2 presence... " >&6; }
2713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2714 /* end confdefs.h. */
2717 if ac_fn_c_try_cpp
"$LINENO"; then :
2718 ac_header_preproc
=yes
2720 ac_header_preproc
=no
2722 rm -f conftest.err conftest.i conftest.
$ac_ext
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2724 $as_echo "$ac_header_preproc" >&6; }
2726 # So? What about this header?
2727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2730 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2732 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2736 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2738 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2740 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2742 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2744 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2745 ( $as_echo "## ------------------------------------ ##
2746 ## Report this to wine-devel@winehq.org ##
2747 ## ------------------------------------ ##"
2748 ) |
sed "s/^/$as_me: WARNING: /" >&2
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2752 $as_echo_n "checking for $2... " >&6; }
2753 if eval \
${$3+:} false
; then :
2754 $as_echo_n "(cached) " >&6
2756 eval "$3=\$ac_header_compiler"
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2760 $as_echo "$ac_res" >&6; }
2762 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2764 } # ac_fn_c_check_header_mongrel
2766 # ac_fn_c_try_run LINENO
2767 # ----------------------
2768 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2769 # that executables *can* be run.
2772 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2773 if { { ac_try
="$ac_link"
2775 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2776 *) ac_try_echo=$ac_try;;
2778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2779 $as_echo "$ac_try_echo"; } >&5
2780 (eval "$ac_link") 2>&5
2782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2783 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2784 { { case "(($ac_try" in
2785 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2786 *) ac_try_echo
=$ac_try;;
2788 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2789 $as_echo "$ac_try_echo"; } >&5
2790 (eval "$ac_try") 2>&5
2792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2793 test $ac_status = 0; }; }; then :
2796 $as_echo "$as_me: program exited with status $ac_status" >&5
2797 $as_echo "$as_me: failed program was:" >&5
2798 sed 's/^/| /' conftest.
$ac_ext >&5
2800 ac_retval
=$ac_status
2802 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2804 as_fn_set_status
$ac_retval
2808 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2809 # -------------------------------------------------------
2810 # Tests whether HEADER exists and can be compiled using the include files in
2811 # INCLUDES, setting the cache variable VAR accordingly.
2812 ac_fn_c_check_header_compile
()
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. */
2825 if ac_fn_c_try_compile
"$LINENO"; then :
2830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2834 $as_echo "$ac_res" >&6; }
2835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2837 } # ac_fn_c_check_header_compile
2839 # ac_fn_c_check_func LINENO FUNC VAR
2840 # ----------------------------------
2841 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2842 ac_fn_c_check_func
()
2844 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2846 $as_echo_n "checking for $2... " >&6; }
2847 if eval \
${$3+:} false
; then :
2848 $as_echo_n "(cached) " >&6
2850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2851 /* end confdefs.h. */
2852 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2854 #define $2 innocuous_$2
2856 /* System header to define __stub macros and hopefully few prototypes,
2857 which can conflict with char $2 (); below.
2858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2859 <limits.h> exists even on freestanding compilers. */
2862 # include <limits.h>
2864 # include <assert.h>
2869 /* Override any GCC internal prototype to avoid an error.
2870 Use char because int might match the return type of a GCC
2871 builtin and then its argument prototype would still apply. */
2876 /* The GNU C library defines this for functions which it implements
2877 to always fail with ENOSYS. Some functions are actually named
2878 something starting with __ and the normal name is an alias. */
2879 #if defined __stub_$2 || defined __stub___$2
2891 if ac_fn_c_try_link
"$LINENO"; then :
2896 rm -f core conftest.err conftest.
$ac_objext \
2897 conftest
$ac_exeext conftest.
$ac_ext
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2901 $as_echo "$ac_res" >&6; }
2902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2904 } # ac_fn_c_check_func
2906 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2907 # ----------------------------------------------------
2908 # Tries to find if the field MEMBER exists in type AGGR, after including
2909 # INCLUDES, setting cache variable VAR accordingly.
2910 ac_fn_c_check_member
()
2912 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2914 $as_echo_n "checking for $2.$3... " >&6; }
2915 if eval \
${$4+:} false
; then :
2916 $as_echo_n "(cached) " >&6
2918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2919 /* end confdefs.h. */
2931 if ac_fn_c_try_compile
"$LINENO"; then :
2934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2935 /* end confdefs.h. */
2941 if (sizeof ac_aggr.$3)
2947 if ac_fn_c_try_compile
"$LINENO"; then :
2952 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2958 $as_echo "$ac_res" >&6; }
2959 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2961 } # ac_fn_c_check_member
2963 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2964 # -------------------------------------------
2965 # Tests whether TYPE exists after having included INCLUDES, setting cache
2966 # variable VAR accordingly.
2967 ac_fn_c_check_type
()
2969 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2971 $as_echo_n "checking for $2... " >&6; }
2972 if eval \
${$3+:} false
; then :
2973 $as_echo_n "(cached) " >&6
2976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2977 /* end confdefs.h. */
2988 if ac_fn_c_try_compile
"$LINENO"; then :
2989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2990 /* end confdefs.h. */
3001 if ac_fn_c_try_compile
"$LINENO"; then :
3006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3012 $as_echo "$ac_res" >&6; }
3013 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3015 } # ac_fn_c_check_type
3016 cat >config.log
<<_ACEOF
3017 This file contains any messages produced by compilers while
3018 running configure, to aid debugging if configure makes a mistake.
3020 It was created by Wine $as_me 2.0.4, which was
3021 generated by GNU Autoconf 2.69. Invocation command line was
3033 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3034 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3035 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3036 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3037 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3039 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3040 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3042 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3043 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3044 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3045 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3046 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3047 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3048 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3056 test -z "$as_dir" && as_dir
=.
3057 $as_echo "PATH: $as_dir"
3073 # Keep a trace of the command line.
3074 # Strip out --no-create and --no-recursion so they do not pile up.
3075 # Strip out --silent because we don't want to record it for future runs.
3076 # Also quote any args containing shell meta-characters.
3077 # Make two passes to allow for proper duplicate-argument suppression.
3081 ac_must_keep_next
=false
3087 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3088 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3089 |
-silent |
--silent |
--silen |
--sile |
--sil)
3092 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3095 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3097 as_fn_append ac_configure_args1
" '$ac_arg'"
3098 if test $ac_must_keep_next = true
; then
3099 ac_must_keep_next
=false
# Got value, back to normal.
3102 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3103 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3104 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3105 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3106 case "$ac_configure_args0 " in
3107 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3110 -* ) ac_must_keep_next
=true
;;
3113 as_fn_append ac_configure_args
" '$ac_arg'"
3118 { ac_configure_args0
=; unset ac_configure_args0
;}
3119 { ac_configure_args1
=; unset ac_configure_args1
;}
3121 # When interrupted or exit'd, cleanup temporary files, and complete
3122 # config.log. We remove comments because anyway the quotes in there
3123 # would cause problems or look ugly.
3124 # WARNING: Use '\'' to represent an apostrophe within the trap.
3125 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3126 trap 'exit_status=$?
3127 # Save into config.log some information that might help in debugging.
3131 $as_echo "## ---------------- ##
3132 ## Cache variables. ##
3133 ## ---------------- ##"
3135 # The following way of writing the cache mishandles newlines in values,
3137 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3138 eval ac_val=\$$ac_var
3142 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3143 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3146 _ | IFS | as_nl) ;; #(
3147 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3148 *) { eval $ac_var=; unset $ac_var;} ;;
3153 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3154 *${as_nl}ac_space=\ *)
3156 "s/'\''/'\''\\\\'\'''\''/g;
3157 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3160 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3167 $as_echo "## ----------------- ##
3168 ## Output variables. ##
3169 ## ----------------- ##"
3171 for ac_var in $ac_subst_vars
3173 eval ac_val=\$$ac_var
3175 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3177 $as_echo "$ac_var='\''$ac_val'\''"
3181 if test -n "$ac_subst_files"; then
3182 $as_echo "## ------------------- ##
3183 ## File substitutions. ##
3184 ## ------------------- ##"
3186 for ac_var
in $ac_subst_files
3188 eval ac_val
=\$
$ac_var
3190 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3192 $as_echo "$ac_var='\''$ac_val'\''"
3197 if test -s confdefs.h; then
3198 $as_echo "## ----------- ##
3205 test "$ac_signal" != 0 &&
3206 $as_echo "$as_me: caught signal $ac_signal"
3207 $as_echo "$as_me: exit $exit_status"
3209 rm -f core *.core core.conftest.* &&
3210 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3213 for ac_signal
in 1 2 13 15; do
3214 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3218 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3219 rm -f -r conftest
* confdefs.h
3221 $as_echo "/* confdefs.h */" > confdefs.h
3223 # Predefined preprocessor variables.
3225 cat >>confdefs.h
<<_ACEOF
3226 #define PACKAGE_NAME "$PACKAGE_NAME"
3229 cat >>confdefs.h
<<_ACEOF
3230 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3233 cat >>confdefs.h
<<_ACEOF
3234 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3237 cat >>confdefs.h
<<_ACEOF
3238 #define PACKAGE_STRING "$PACKAGE_STRING"
3241 cat >>confdefs.h
<<_ACEOF
3242 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3245 cat >>confdefs.h
<<_ACEOF
3246 #define PACKAGE_URL "$PACKAGE_URL"
3250 # Let the site file select an alternate cache file if it wants to.
3251 # Prefer an explicitly selected file to automatically selected ones.
3254 if test -n "$CONFIG_SITE"; then
3255 # We do not want a PATH search for config.site.
3256 case $CONFIG_SITE in #((
3257 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3258 */*) ac_site_file1
=$CONFIG_SITE;;
3259 *) ac_site_file1
=.
/$CONFIG_SITE;;
3261 elif test "x$prefix" != xNONE
; then
3262 ac_site_file1
=$prefix/share
/config.site
3263 ac_site_file2
=$prefix/etc
/config.site
3265 ac_site_file1
=$ac_default_prefix/share
/config.site
3266 ac_site_file2
=$ac_default_prefix/etc
/config.site
3268 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3270 test "x$ac_site_file" = xNONE
&& continue
3271 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3273 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3274 sed 's/^/| /' "$ac_site_file" >&5
3276 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3278 as_fn_error $?
"failed to load site script $ac_site_file
3279 See \`config.log' for more details" "$LINENO" 5; }
3283 if test -r "$cache_file"; then
3284 # Some versions of bash will fail to source /dev/null (special files
3285 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3286 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3288 $as_echo "$as_me: loading cache $cache_file" >&6;}
3290 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3291 *) .
"./$cache_file";;
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3296 $as_echo "$as_me: creating cache $cache_file" >&6;}
3300 # Check that the precious variables saved in the cache have kept the same
3302 ac_cache_corrupted
=false
3303 for ac_var
in $ac_precious_vars; do
3304 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3305 eval ac_new_set
=\
$ac_env_${ac_var}_set
3306 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3307 eval ac_new_val
=\
$ac_env_${ac_var}_value
3308 case $ac_old_set,$ac_new_set in
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3311 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3312 ac_cache_corrupted
=: ;;
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3315 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3316 ac_cache_corrupted
=: ;;
3319 if test "x$ac_old_val" != "x$ac_new_val"; then
3320 # differences in whitespace do not lead to failure.
3321 ac_old_val_w
=`echo x $ac_old_val`
3322 ac_new_val_w
=`echo x $ac_new_val`
3323 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3325 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3326 ac_cache_corrupted
=:
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3329 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3330 eval $ac_var=\
$ac_old_val
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3333 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3335 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3338 # Pass precious variables to config.status.
3339 if test "$ac_new_set" = set; then
3341 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3342 *) ac_arg
=$ac_var=$ac_new_val ;;
3344 case " $ac_configure_args " in
3345 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3346 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3350 if $ac_cache_corrupted; then
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3354 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3355 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3357 ## -------------------- ##
3358 ## Main body of script. ##
3359 ## -------------------- ##
3362 ac_cpp
='$CPP $CPPFLAGS'
3363 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3364 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3365 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3369 ac_config_headers
="$ac_config_headers include/config.h"
3372 for ac_dir
in tools
"$srcdir"/tools
; do
3373 if test -f "$ac_dir/install-sh"; then
3375 ac_install_sh
="$ac_aux_dir/install-sh -c"
3377 elif test -f "$ac_dir/install.sh"; then
3379 ac_install_sh
="$ac_aux_dir/install.sh -c"
3381 elif test -f "$ac_dir/shtool"; then
3383 ac_install_sh
="$ac_aux_dir/shtool install -c"
3387 if test -z "$ac_aux_dir"; then
3388 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3391 # These three variables are undocumented and unsupported,
3392 # and are intended to be withdrawn in a future Autoconf release.
3393 # They can cause serious problems if a builder's source tree is in a directory
3394 # whose full name contains unusual characters.
3395 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3396 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3397 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3401 libwine_version
="1.0"
3405 # Check whether --enable-win16 was given.
3406 if test "${enable_win16+set}" = set; then :
3407 enableval
=$enable_win16;
3410 # Check whether --enable-win64 was given.
3411 if test "${enable_win64+set}" = set; then :
3412 enableval
=$enable_win64;
3415 # Check whether --enable-tests was given.
3416 if test "${enable_tests+set}" = set; then :
3417 enableval
=$enable_tests;
3420 # Check whether --enable-maintainer-mode was given.
3421 if test "${enable_maintainer_mode+set}" = set; then :
3422 enableval
=$enable_maintainer_mode;
3427 # Check whether --with-alsa was given.
3428 if test "${with_alsa+set}" = set; then :
3429 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3433 # Check whether --with-capi was given.
3434 if test "${with_capi+set}" = set; then :
3439 # Check whether --with-cms was given.
3440 if test "${with_cms+set}" = set; then :
3445 # Check whether --with-coreaudio was given.
3446 if test "${with_coreaudio+set}" = set; then :
3447 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3451 # Check whether --with-cups was given.
3452 if test "${with_cups+set}" = set; then :
3457 # Check whether --with-curses was given.
3458 if test "${with_curses+set}" = set; then :
3459 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3463 # Check whether --with-dbus was given.
3464 if test "${with_dbus+set}" = set; then :
3469 # Check whether --with-fontconfig was given.
3470 if test "${with_fontconfig+set}" = set; then :
3471 withval
=$with_fontconfig;
3475 # Check whether --with-freetype was given.
3476 if test "${with_freetype+set}" = set; then :
3477 withval
=$with_freetype;
3481 # Check whether --with-gettext was given.
3482 if test "${with_gettext+set}" = set; then :
3483 withval
=$with_gettext;
3487 # Check whether --with-gettextpo was given.
3488 if test "${with_gettextpo+set}" = set; then :
3489 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3493 # Check whether --with-gphoto was given.
3494 if test "${with_gphoto+set}" = set; then :
3495 withval
=$with_gphoto;
3499 # Check whether --with-glu was given.
3500 if test "${with_glu+set}" = set; then :
3505 # Check whether --with-gnutls was given.
3506 if test "${with_gnutls+set}" = set; then :
3507 withval
=$with_gnutls;
3511 # Check whether --with-gsm was given.
3512 if test "${with_gsm+set}" = set; then :
3513 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3517 # Check whether --with-gstreamer was given.
3518 if test "${with_gstreamer+set}" = set; then :
3519 withval
=$with_gstreamer;
3523 # Check whether --with-hal was given.
3524 if test "${with_hal+set}" = set; then :
3529 # Check whether --with-jpeg was given.
3530 if test "${with_jpeg+set}" = set; then :
3535 # Check whether --with-ldap was given.
3536 if test "${with_ldap+set}" = set; then :
3537 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3541 # Check whether --with-mpg123 was given.
3542 if test "${with_mpg123+set}" = set; then :
3543 withval
=$with_mpg123;
3547 # Check whether --with-netapi was given.
3548 if test "${with_netapi+set}" = set; then :
3549 withval
=$with_netapi;
3553 # Check whether --with-openal was given.
3554 if test "${with_openal+set}" = set; then :
3555 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3559 # Check whether --with-opencl was given.
3560 if test "${with_opencl+set}" = set; then :
3561 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3565 # Check whether --with-opengl was given.
3566 if test "${with_opengl+set}" = set; then :
3567 withval
=$with_opengl;
3571 # Check whether --with-osmesa was given.
3572 if test "${with_osmesa+set}" = set; then :
3573 withval
=$with_osmesa;
3577 # Check whether --with-oss was given.
3578 if test "${with_oss+set}" = set; then :
3583 # Check whether --with-pcap was given.
3584 if test "${with_pcap+set}" = set; then :
3585 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3589 # Check whether --with-png was given.
3590 if test "${with_png+set}" = set; then :
3595 # Check whether --with-pthread was given.
3596 if test "${with_pthread+set}" = set; then :
3597 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3601 # Check whether --with-pulse was given.
3602 if test "${with_pulse+set}" = set; then :
3603 withval
=$with_pulse;
3607 # Check whether --with-sane was given.
3608 if test "${with_sane+set}" = set; then :
3613 # Check whether --with-tiff was given.
3614 if test "${with_tiff+set}" = set; then :
3619 # Check whether --with-udev was given.
3620 if test "${with_udev+set}" = set; then :
3625 # Check whether --with-v4l was given.
3626 if test "${with_v4l+set}" = set; then :
3631 # Check whether --with-xcomposite was given.
3632 if test "${with_xcomposite+set}" = set; then :
3633 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3637 # Check whether --with-xcursor was given.
3638 if test "${with_xcursor+set}" = set; then :
3639 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3643 # Check whether --with-xinerama was given.
3644 if test "${with_xinerama+set}" = set; then :
3645 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3649 # Check whether --with-xinput was given.
3650 if test "${with_xinput+set}" = set; then :
3651 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3655 # Check whether --with-xinput2 was given.
3656 if test "${with_xinput2+set}" = set; then :
3657 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3661 # Check whether --with-xml was given.
3662 if test "${with_xml+set}" = set; then :
3667 # Check whether --with-xrandr was given.
3668 if test "${with_xrandr+set}" = set; then :
3669 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3673 # Check whether --with-xrender was given.
3674 if test "${with_xrender+set}" = set; then :
3675 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3679 # Check whether --with-xshape was given.
3680 if test "${with_xshape+set}" = set; then :
3681 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3685 # Check whether --with-xshm was given.
3686 if test "${with_xshm+set}" = set; then :
3687 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3691 # Check whether --with-xslt was given.
3692 if test "${with_xslt+set}" = set; then :
3697 # Check whether --with-xxf86vm was given.
3698 if test "${with_xxf86vm+set}" = set; then :
3699 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
3703 # Check whether --with-zlib was given.
3704 if test "${with_zlib+set}" = set; then :
3705 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3710 # Check whether --with-wine-tools was given.
3711 if test "${with_wine_tools+set}" = set; then :
3712 withval
=$with_wine_tools;
3716 # Check whether --with-wine64 was given.
3717 if test "${with_wine64+set}" = set; then :
3718 withval
=$with_wine64;
3722 # Make sure we can run config.sub.
3723 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3724 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3727 $as_echo_n "checking build system type... " >&6; }
3728 if ${ac_cv_build+:} false
; then :
3729 $as_echo_n "(cached) " >&6
3731 ac_build_alias
=$build_alias
3732 test "x$ac_build_alias" = x
&&
3733 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3734 test "x$ac_build_alias" = x
&&
3735 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3736 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3737 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3741 $as_echo "$ac_cv_build" >&6; }
3742 case $ac_cv_build in
3744 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3747 ac_save_IFS
=$IFS; IFS
='-'
3753 # Remember, the first character of IFS is used to create $*,
3754 # except with old shells:
3757 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3761 $as_echo_n "checking host system type... " >&6; }
3762 if ${ac_cv_host+:} false
; then :
3763 $as_echo_n "(cached) " >&6
3765 if test "x$host_alias" = x
; then
3766 ac_cv_host
=$ac_cv_build
3768 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3769 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3774 $as_echo "$ac_cv_host" >&6; }
3777 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3780 ac_save_IFS
=$IFS; IFS
='-'
3786 # Remember, the first character of IFS is used to create $*,
3787 # except with old shells:
3790 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3796 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3797 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3798 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3804 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3806 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3807 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3808 $as_echo_n "(cached) " >&6
3810 cat >conftest.
make <<\_ACEOF
3813 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3815 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3816 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3818 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3820 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3824 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3826 $as_echo "yes" >&6; }
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830 $as_echo "no" >&6; }
3831 SET_MAKE
="MAKE=${MAKE-make}"
3835 ac_cpp
='$CPP $CPPFLAGS'
3836 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3837 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3838 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3839 if test -n "$ac_tool_prefix"; then
3840 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3841 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3843 $as_echo_n "checking for $ac_word... " >&6; }
3844 if ${ac_cv_prog_CC+:} false
; then :
3845 $as_echo_n "(cached) " >&6
3847 if test -n "$CC"; then
3848 ac_cv_prog_CC
="$CC" # Let the user override the test.
3850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3854 test -z "$as_dir" && as_dir
=.
3855 for ac_exec_ext
in '' $ac_executable_extensions; do
3856 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3857 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3868 if test -n "$CC"; then
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3870 $as_echo "$CC" >&6; }
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3873 $as_echo "no" >&6; }
3878 if test -z "$ac_cv_prog_CC"; then
3880 # Extract the first word of "gcc", so it can be a program name with args.
3881 set dummy gcc
; ac_word
=$2
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3883 $as_echo_n "checking for $ac_word... " >&6; }
3884 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3885 $as_echo_n "(cached) " >&6
3887 if test -n "$ac_ct_CC"; then
3888 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3894 test -z "$as_dir" && as_dir
=.
3895 for ac_exec_ext
in '' $ac_executable_extensions; do
3896 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3897 ac_cv_prog_ac_ct_CC
="gcc"
3898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3907 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3908 if test -n "$ac_ct_CC"; then
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3910 $as_echo "$ac_ct_CC" >&6; }
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3913 $as_echo "no" >&6; }
3916 if test "x$ac_ct_CC" = x
; then
3919 case $cross_compiling:$ac_tool_warned in
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3923 ac_tool_warned
=yes ;;
3931 if test -z "$CC"; then
3932 if test -n "$ac_tool_prefix"; then
3933 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3934 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3936 $as_echo_n "checking for $ac_word... " >&6; }
3937 if ${ac_cv_prog_CC+:} false
; then :
3938 $as_echo_n "(cached) " >&6
3940 if test -n "$CC"; then
3941 ac_cv_prog_CC
="$CC" # Let the user override the test.
3943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3947 test -z "$as_dir" && as_dir
=.
3948 for ac_exec_ext
in '' $ac_executable_extensions; do
3949 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3950 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3961 if test -n "$CC"; then
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3963 $as_echo "$CC" >&6; }
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3966 $as_echo "no" >&6; }
3972 if test -z "$CC"; then
3973 # Extract the first word of "cc", so it can be a program name with args.
3974 set dummy cc
; ac_word
=$2
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3976 $as_echo_n "checking for $ac_word... " >&6; }
3977 if ${ac_cv_prog_CC+:} false
; then :
3978 $as_echo_n "(cached) " >&6
3980 if test -n "$CC"; then
3981 ac_cv_prog_CC
="$CC" # Let the user override the test.
3984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3988 test -z "$as_dir" && as_dir
=.
3989 for ac_exec_ext
in '' $ac_executable_extensions; do
3990 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3991 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3992 ac_prog_rejected
=yes
3996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4003 if test $ac_prog_rejected = yes; then
4004 # We found a bogon in the path, so make sure we never use it.
4005 set dummy
$ac_cv_prog_CC
4007 if test $# != 0; then
4008 # We chose a different compiler from the bogus one.
4009 # However, it has the same basename, so the bogon will be chosen
4010 # first if we set CC to just the basename; use the full file name.
4012 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4018 if test -n "$CC"; then
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4020 $as_echo "$CC" >&6; }
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4023 $as_echo "no" >&6; }
4028 if test -z "$CC"; then
4029 if test -n "$ac_tool_prefix"; then
4030 for ac_prog
in cl.exe
4032 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4033 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 $as_echo_n "checking for $ac_word... " >&6; }
4036 if ${ac_cv_prog_CC+:} false
; then :
4037 $as_echo_n "(cached) " >&6
4039 if test -n "$CC"; then
4040 ac_cv_prog_CC
="$CC" # Let the user override the test.
4042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4046 test -z "$as_dir" && as_dir
=.
4047 for ac_exec_ext
in '' $ac_executable_extensions; do
4048 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4049 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4060 if test -n "$CC"; then
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4062 $as_echo "$CC" >&6; }
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4065 $as_echo "no" >&6; }
4069 test -n "$CC" && break
4072 if test -z "$CC"; then
4074 for ac_prog
in cl.exe
4076 # Extract the first word of "$ac_prog", so it can be a program name with args.
4077 set dummy
$ac_prog; ac_word
=$2
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4079 $as_echo_n "checking for $ac_word... " >&6; }
4080 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4081 $as_echo_n "(cached) " >&6
4083 if test -n "$ac_ct_CC"; then
4084 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4090 test -z "$as_dir" && as_dir
=.
4091 for ac_exec_ext
in '' $ac_executable_extensions; do
4092 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4093 ac_cv_prog_ac_ct_CC
="$ac_prog"
4094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4103 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4104 if test -n "$ac_ct_CC"; then
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4106 $as_echo "$ac_ct_CC" >&6; }
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4109 $as_echo "no" >&6; }
4113 test -n "$ac_ct_CC" && break
4116 if test "x$ac_ct_CC" = x
; then
4119 case $cross_compiling:$ac_tool_warned in
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4123 ac_tool_warned
=yes ;;
4132 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4134 as_fn_error $?
"no acceptable C compiler found in \$PATH
4135 See \`config.log' for more details" "$LINENO" 5; }
4137 # Provide some information about the compiler.
4138 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4141 for ac_option
in --version -v -V -qversion; do
4142 { { ac_try
="$ac_compiler $ac_option >&5"
4144 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4145 *) ac_try_echo=$ac_try;;
4147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4148 $as_echo "$ac_try_echo"; } >&5
4149 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4151 if test -s conftest.err; then
4153 ... rest of stderr output deleted ...
4154 10q' conftest.err >conftest.er1
4155 cat conftest.er1 >&5
4157 rm -f conftest.er1 conftest.err
4158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4159 test $ac_status = 0; }
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4173 ac_clean_files_save=$ac_clean_files
4174 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4175 # Try to create an executable without -o first, disregard a.out.
4176 # It will help us diagnose broken compilers, and finding out an intuition
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4179 $as_echo_n "checking whether the C compiler works... " >&6; }
4180 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4182 # The possible output files:
4183 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4186 for ac_file in $ac_files
4189 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4190 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4195 if { { ac_try="$ac_link_default"
4197 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4198 *) ac_try_echo
=$ac_try;;
4200 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4201 $as_echo "$ac_try_echo"; } >&5
4202 (eval "$ac_link_default") 2>&5
4204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4205 test $ac_status = 0; }; then :
4206 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4207 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4208 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4209 # so that the user can short-circuit this test for compilers unknown to
4211 for ac_file
in $ac_files ''
4213 test -f "$ac_file" ||
continue
4215 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4218 # We found the default executable, but exeext='' is most
4222 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4224 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4226 # We set ac_cv_exeext here because the later test for it is not
4227 # safe: cross compilers may not add the suffix if given an `-o'
4228 # argument, so we may need to know it at that point already.
4229 # Even if this section looks crufty: it has the advantage of
4236 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4241 if test -z "$ac_file"; then :
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4243 $as_echo "no" >&6; }
4244 $as_echo "$as_me: failed program was:" >&5
4245 sed 's/^/| /' conftest.
$ac_ext >&5
4247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4249 as_fn_error
77 "C compiler cannot create executables
4250 See \`config.log' for more details" "$LINENO" 5; }
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4253 $as_echo "yes" >&6; }
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4256 $as_echo_n "checking for C compiler default output file name... " >&6; }
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4258 $as_echo "$ac_file" >&6; }
4259 ac_exeext
=$ac_cv_exeext
4261 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4262 ac_clean_files
=$ac_clean_files_save
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4264 $as_echo_n "checking for suffix of executables... " >&6; }
4265 if { { ac_try
="$ac_link"
4267 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4268 *) ac_try_echo=$ac_try;;
4270 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4271 $as_echo "$ac_try_echo"; } >&5
4272 (eval "$ac_link") 2>&5
4274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4275 test $ac_status = 0; }; then :
4276 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4277 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4278 # work properly (i.e., refer to `conftest.exe'), while it won't with
4280 for ac_file
in conftest.exe conftest conftest.
*; do
4281 test -f "$ac_file" ||
continue
4283 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4284 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4290 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4292 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4293 See \`config.log' for more details" "$LINENO" 5; }
4295 rm -f conftest conftest
$ac_cv_exeext
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4297 $as_echo "$ac_cv_exeext" >&6; }
4299 rm -f conftest.
$ac_ext
4300 EXEEXT
=$ac_cv_exeext
4302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4303 /* end confdefs.h. */
4308 FILE *f = fopen ("conftest.out", "w");
4309 return ferror (f) || fclose (f) != 0;
4315 ac_clean_files
="$ac_clean_files conftest.out"
4316 # Check that the compiler produces executables we can run. If not, either
4317 # the compiler is broken, or we cross compile.
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4319 $as_echo_n "checking whether we are cross compiling... " >&6; }
4320 if test "$cross_compiling" != yes; then
4321 { { ac_try
="$ac_link"
4323 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4324 *) ac_try_echo=$ac_try;;
4326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4327 $as_echo "$ac_try_echo"; } >&5
4328 (eval "$ac_link") 2>&5
4330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4331 test $ac_status = 0; }
4332 if { ac_try='./conftest$ac_cv_exeext'
4333 { { case "(($ac_try" in
4334 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4335 *) ac_try_echo
=$ac_try;;
4337 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4338 $as_echo "$ac_try_echo"; } >&5
4339 (eval "$ac_try") 2>&5
4341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4342 test $ac_status = 0; }; }; then
4345 if test "$cross_compiling" = maybe
; then
4348 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4350 as_fn_error $?
"cannot run C compiled programs.
4351 If you meant to cross compile, use \`--host'.
4352 See \`config.log' for more details" "$LINENO" 5; }
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4357 $as_echo "$cross_compiling" >&6; }
4359 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4360 ac_clean_files
=$ac_clean_files_save
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4362 $as_echo_n "checking for suffix of object files... " >&6; }
4363 if ${ac_cv_objext+:} false
; then :
4364 $as_echo_n "(cached) " >&6
4366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4367 /* end confdefs.h. */
4377 rm -f conftest.o conftest.obj
4378 if { { ac_try
="$ac_compile"
4380 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4381 *) ac_try_echo=$ac_try;;
4383 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4384 $as_echo "$ac_try_echo"; } >&5
4385 (eval "$ac_compile") 2>&5
4387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4388 test $ac_status = 0; }; then :
4389 for ac_file in conftest.o conftest.obj conftest.*; do
4390 test -f "$ac_file" || continue;
4392 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4393 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4398 $as_echo "$as_me: failed program was:" >&5
4399 sed 's/^/| /' conftest.$ac_ext >&5
4401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4403 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4404 See \
`config.log' for more details" "$LINENO" 5; }
4406 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4409 $as_echo "$ac_cv_objext" >&6; }
4410 OBJEXT=$ac_cv_objext
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4413 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4414 if ${ac_cv_c_compiler_gnu+:} false; then :
4415 $as_echo_n "(cached) " >&6
4417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4418 /* end confdefs.h. */
4431 if ac_fn_c_try_compile "$LINENO"; then :
4436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4437 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4441 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4442 if test $ac_compiler_gnu = yes; then
4447 ac_test_CFLAGS=${CFLAGS+set}
4448 ac_save_CFLAGS=$CFLAGS
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4450 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4451 if ${ac_cv_prog_cc_g+:} false; then :
4452 $as_echo_n "(cached) " >&6
4454 ac_save_c_werror_flag=$ac_c_werror_flag
4455 ac_c_werror_flag=yes
4458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4459 /* end confdefs.h. */
4469 if ac_fn_c_try_compile "$LINENO"; then :
4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4484 if ac_fn_c_try_compile "$LINENO"; then :
4487 ac_c_werror_flag=$ac_save_c_werror_flag
4489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4490 /* end confdefs.h. */
4500 if ac_fn_c_try_compile "$LINENO"; then :
4503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4508 ac_c_werror_flag=$ac_save_c_werror_flag
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4511 $as_echo "$ac_cv_prog_cc_g" >&6; }
4512 if test "$ac_test_CFLAGS" = set; then
4513 CFLAGS=$ac_save_CFLAGS
4514 elif test $ac_cv_prog_cc_g = yes; then
4515 if test "$GCC" = yes; then
4521 if test "$GCC" = yes; then
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4528 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4529 if ${ac_cv_prog_cc_c89+:} false; then :
4530 $as_echo_n "(cached) " >&6
4532 ac_cv_prog_cc_c89=no
4534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4535 /* end confdefs.h. */
4539 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4540 struct buf { int x; };
4541 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4542 static char *e (p, i)
4548 static char *f (char * (*g) (char **, int), char **p, ...)
4553 s = g (p, va_arg (v,int));
4558 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4559 function prototypes and stuff, but not '\xHH' hex character constants.
4560 These don't provoke an error unfortunately, instead are silently treated
4561 as 'x'. The following induces an error, until -std is added to get
4562 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4563 array size at least. It's necessary to write '\x00'==0 to get something
4564 that's true only with -std. */
4565 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4567 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4568 inside strings and character constants. */
4570 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4572 int test (int i, double x);
4573 struct s1 {int (*f) (int a);};
4574 struct s2 {int (*f) (double a);};
4575 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4581 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4586 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4587 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4589 CC="$ac_save_CC $ac_arg"
4590 if ac_fn_c_try_compile "$LINENO"; then :
4591 ac_cv_prog_cc_c89=$ac_arg
4593 rm -f core conftest.err conftest.$ac_objext
4594 test "x$ac_cv_prog_cc_c89" != "xno" && break
4596 rm -f conftest.$ac_ext
4601 case "x$ac_cv_prog_cc_c89" in
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4604 $as_echo "none needed" >&6; } ;;
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4607 $as_echo "unsupported" >&6; } ;;
4609 CC="$CC $ac_cv_prog_cc_c89"
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4611 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4613 if test "x$ac_cv_prog_cc_c89" != xno; then :
4618 ac_cpp='$CPP $CPPFLAGS'
4619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4624 ac_cpp='$CXXCPP $CPPFLAGS'
4625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4628 if test -z "$CXX"; then
4629 if test -n "$CCC"; then
4632 if test -n "$ac_tool_prefix"; then
4633 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4635 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4636 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4638 $as_echo_n "checking for $ac_word... " >&6; }
4639 if ${ac_cv_prog_CXX+:} false; then :
4640 $as_echo_n "(cached) " >&6
4642 if test -n "$CXX"; then
4643 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4649 test -z "$as_dir" && as_dir=.
4650 for ac_exec_ext in '' $ac_executable_extensions; do
4651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4652 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4663 if test -n "$CXX"; then
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4665 $as_echo "$CXX" >&6; }
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4668 $as_echo "no" >&6; }
4672 test -n "$CXX" && break
4675 if test -z "$CXX"; then
4677 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4679 # Extract the first word of "$ac_prog", so it can be a program name with args.
4680 set dummy $ac_prog; ac_word=$2
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4682 $as_echo_n "checking for $ac_word... " >&6; }
4683 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4684 $as_echo_n "(cached) " >&6
4686 if test -n "$ac_ct_CXX"; then
4687 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4693 test -z "$as_dir" && as_dir=.
4694 for ac_exec_ext in '' $ac_executable_extensions; do
4695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4696 ac_cv_prog_ac_ct_CXX="$ac_prog"
4697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4706 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4707 if test -n "$ac_ct_CXX"; then
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4709 $as_echo "$ac_ct_CXX" >&6; }
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4712 $as_echo "no" >&6; }
4716 test -n "$ac_ct_CXX" && break
4719 if test "x$ac_ct_CXX" = x; then
4722 case $cross_compiling:$ac_tool_warned in
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4726 ac_tool_warned=yes ;;
4734 # Provide some information about the compiler.
4735 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4738 for ac_option in --version -v -V -qversion; do
4739 { { ac_try="$ac_compiler $ac_option >&5"
4741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4742 *) ac_try_echo
=$ac_try;;
4744 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4745 $as_echo "$ac_try_echo"; } >&5
4746 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4748 if test -s conftest.err
; then
4750 ... rest of stderr output deleted ...
4751 10q' conftest.err
>conftest.er1
4752 cat conftest.er1
>&5
4754 rm -f conftest.er1 conftest.err
4755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4756 test $ac_status = 0; }
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4760 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4761 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4762 $as_echo_n "(cached) " >&6
4764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4765 /* end confdefs.h. */
4778 if ac_fn_cxx_try_compile
"$LINENO"; then :
4783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4784 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4788 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4789 if test $ac_compiler_gnu = yes; then
4794 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4795 ac_save_CXXFLAGS
=$CXXFLAGS
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4797 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4798 if ${ac_cv_prog_cxx_g+:} false
; then :
4799 $as_echo_n "(cached) " >&6
4801 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4802 ac_cxx_werror_flag
=yes
4805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4806 /* end confdefs.h. */
4816 if ac_fn_cxx_try_compile
"$LINENO"; then :
4817 ac_cv_prog_cxx_g
=yes
4820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4821 /* end confdefs.h. */
4831 if ac_fn_cxx_try_compile
"$LINENO"; then :
4834 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4837 /* end confdefs.h. */
4847 if ac_fn_cxx_try_compile
"$LINENO"; then :
4848 ac_cv_prog_cxx_g
=yes
4850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4855 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4858 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4859 if test "$ac_test_CXXFLAGS" = set; then
4860 CXXFLAGS
=$ac_save_CXXFLAGS
4861 elif test $ac_cv_prog_cxx_g = yes; then
4862 if test "$GXX" = yes; then
4868 if test "$GXX" = yes; then
4875 ac_cpp
='$CPP $CPPFLAGS'
4876 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4877 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4878 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4880 if test -n "$ac_tool_prefix"; then
4881 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4882 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4884 $as_echo_n "checking for $ac_word... " >&6; }
4885 if ${ac_cv_prog_CPPBIN+:} false
; then :
4886 $as_echo_n "(cached) " >&6
4888 if test -n "$CPPBIN"; then
4889 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4895 test -z "$as_dir" && as_dir
=.
4896 for ac_exec_ext
in '' $ac_executable_extensions; do
4897 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4898 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4908 CPPBIN
=$ac_cv_prog_CPPBIN
4909 if test -n "$CPPBIN"; then
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4911 $as_echo "$CPPBIN" >&6; }
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4914 $as_echo "no" >&6; }
4919 if test -z "$ac_cv_prog_CPPBIN"; then
4920 ac_ct_CPPBIN
=$CPPBIN
4921 # Extract the first word of "cpp", so it can be a program name with args.
4922 set dummy cpp
; ac_word
=$2
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924 $as_echo_n "checking for $ac_word... " >&6; }
4925 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4926 $as_echo_n "(cached) " >&6
4928 if test -n "$ac_ct_CPPBIN"; then
4929 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4935 test -z "$as_dir" && as_dir
=.
4936 for ac_exec_ext
in '' $ac_executable_extensions; do
4937 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4938 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4948 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4949 if test -n "$ac_ct_CPPBIN"; then
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4951 $as_echo "$ac_ct_CPPBIN" >&6; }
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4957 if test "x$ac_ct_CPPBIN" = x
; then
4960 case $cross_compiling:$ac_tool_warned in
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4964 ac_tool_warned
=yes ;;
4966 CPPBIN
=$ac_ct_CPPBIN
4969 CPPBIN
="$ac_cv_prog_CPPBIN"
4973 cat >>confdefs.h
<<_ACEOF
4974 #define EXEEXT "$ac_exeext"
4977 if test -n "$ac_tool_prefix"; then
4978 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4979 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4981 $as_echo_n "checking for $ac_word... " >&6; }
4982 if ${ac_cv_prog_LD+:} false
; then :
4983 $as_echo_n "(cached) " >&6
4985 if test -n "$LD"; then
4986 ac_cv_prog_LD
="$LD" # Let the user override the test.
4988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4992 test -z "$as_dir" && as_dir
=.
4993 for ac_exec_ext
in '' $ac_executable_extensions; do
4994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4995 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5006 if test -n "$LD"; then
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5008 $as_echo "$LD" >&6; }
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011 $as_echo "no" >&6; }
5016 if test -z "$ac_cv_prog_LD"; then
5018 # Extract the first word of "ld", so it can be a program name with args.
5019 set dummy ld
; ac_word
=$2
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5021 $as_echo_n "checking for $ac_word... " >&6; }
5022 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
5023 $as_echo_n "(cached) " >&6
5025 if test -n "$ac_ct_LD"; then
5026 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5032 test -z "$as_dir" && as_dir
=.
5033 for ac_exec_ext
in '' $ac_executable_extensions; do
5034 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5035 ac_cv_prog_ac_ct_LD
="ld"
5036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5045 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5046 if test -n "$ac_ct_LD"; then
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5048 $as_echo "$ac_ct_LD" >&6; }
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5051 $as_echo "no" >&6; }
5054 if test "x$ac_ct_LD" = x
; then
5057 case $cross_compiling:$ac_tool_warned in
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5061 ac_tool_warned
=yes ;;
5072 with_fontconfig
=${with_fontconfig:-no}
5074 *-mingw32*|
*-cygwin*)
5075 enable_win16
=${enable_win16:-no}
5076 CFLAGS
="$CFLAGS -D_WIN32"
5082 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5087 $as_echo_n "checking whether $CC works... " >&6; }
5089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5090 /* end confdefs.h. */
5100 if ac_fn_c_try_link
"$LINENO"; then :
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5102 $as_echo "yes" >&6; }
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5105 $as_echo "no" >&6; }
5106 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5108 rm -f core conftest.err conftest.
$ac_objext \
5109 conftest
$ac_exeext conftest.
$ac_ext
5111 notice_platform
="32-bit "
5114 enable_win16
=${enable_win16:-yes}
5116 if test "x${GCC}" = "xyes"
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5119 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5121 /* end confdefs.h. */
5126 void func(__builtin_ms_va_list *args);
5131 if ac_fn_c_try_compile
"$LINENO"; then :
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5133 $as_echo "yes" >&6; }
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5137 as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5144 notice_platform
="64-bit "
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5151 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5153 /* end confdefs.h. */
5154 int ac_test(int i) { return i; }
5158 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5163 if ac_fn_c_try_link
"$LINENO"; then :
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5165 $as_echo "yes" >&6; }
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 $as_echo "no" >&6; }
5169 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5171 rm -f core conftest.err conftest.
$ac_objext \
5172 conftest
$ac_exeext conftest.
$ac_ext
5173 CFLAGS
="$CFLAGS -marm"
5178 enable_win16
=${enable_win16:-yes}
5182 enable_win16
=${enable_win16:-no}
5183 enable_win64
=${enable_win64:-no}
5185 enable_winetest
=${enable_winetest:-$enable_tests}
5187 if test -n "$with_wine64"
5189 if test "x$enable_win64" = "xyes"
5191 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5192 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5194 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5195 You should create a separate build directory and run configure from there." "$LINENO" 5
5196 enable_fonts
=${enable_fonts:-no}
5197 enable_server
=${enable_server:-no}
5198 elif test "x$enable_win64" = "xyes"
5200 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5204 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5205 if ${wine_cv_toolsdir+:} false
; then :
5206 $as_echo_n "(cached) " >&6
5208 wine_cv_toolsdir
="$with_wine_tools"
5209 if test -z "$with_wine_tools"; then
5210 if test "$cross_compiling" = "yes"; then
5211 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5212 elif test -n "$with_wine64"; then
5213 wine_cv_toolsdir
="$with_wine64"
5216 if test -z "$wine_cv_toolsdir"; then
5217 wine_makedep
=tools
/makedep
5218 wine_cv_toolsdir
="\$(top_builddir)"
5219 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5220 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5221 case "$wine_cv_toolsdir" in
5223 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5225 enable_tools
=${enable_tools:-no}
5226 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5228 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5232 $as_echo "$wine_cv_toolsdir" >&6; }
5233 TOOLSDIR
=$wine_cv_toolsdir
5235 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5237 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5243 # Extract the first word of "$ac_prog", so it can be a program name with args.
5244 set dummy
$ac_prog; ac_word
=$2
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5246 $as_echo_n "checking for $ac_word... " >&6; }
5247 if ${ac_cv_prog_FLEX+:} false
; then :
5248 $as_echo_n "(cached) " >&6
5250 if test -n "$FLEX"; then
5251 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5257 test -z "$as_dir" && as_dir
=.
5258 for ac_exec_ext
in '' $ac_executable_extensions; do
5259 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5260 ac_cv_prog_FLEX
="$ac_prog"
5261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5270 FLEX
=$ac_cv_prog_FLEX
5271 if test -n "$FLEX"; then
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5273 $as_echo "$FLEX" >&6; }
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5276 $as_echo "no" >&6; }
5280 test -n "$FLEX" && break
5282 test -n "$FLEX" || FLEX
="none"
5284 if test "$FLEX" = "none"
5286 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5289 $as_echo_n "checking whether flex is recent enough... " >&6; }
5290 cat >conftest.l
<<EOF
5292 #include "prediluvian.h"
5296 if $FLEX -t conftest.l
>/dev
/null
2>&5
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5299 $as_echo "yes" >&6; }
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5302 $as_echo "no" >&6; }
5303 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5306 for ac_prog
in bison
5308 # Extract the first word of "$ac_prog", so it can be a program name with args.
5309 set dummy
$ac_prog; ac_word
=$2
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5311 $as_echo_n "checking for $ac_word... " >&6; }
5312 if ${ac_cv_prog_BISON+:} false
; then :
5313 $as_echo_n "(cached) " >&6
5315 if test -n "$BISON"; then
5316 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5322 test -z "$as_dir" && as_dir
=.
5323 for ac_exec_ext
in '' $ac_executable_extensions; do
5324 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5325 ac_cv_prog_BISON
="$ac_prog"
5326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5335 BISON
=$ac_cv_prog_BISON
5336 if test -n "$BISON"; then
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5338 $as_echo "$BISON" >&6; }
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5341 $as_echo "no" >&6; }
5345 test -n "$BISON" && break
5347 test -n "$BISON" || BISON
="none"
5349 if test "$BISON" = "none"
5351 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5354 if test -n "$ac_tool_prefix"; then
5355 for ac_prog
in ar gar
5357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5358 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5360 $as_echo_n "checking for $ac_word... " >&6; }
5361 if ${ac_cv_prog_AR+:} false
; then :
5362 $as_echo_n "(cached) " >&6
5364 if test -n "$AR"; then
5365 ac_cv_prog_AR
="$AR" # Let the user override the test.
5367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5371 test -z "$as_dir" && as_dir
=.
5372 for ac_exec_ext
in '' $ac_executable_extensions; do
5373 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5374 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5385 if test -n "$AR"; then
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5387 $as_echo "$AR" >&6; }
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5390 $as_echo "no" >&6; }
5394 test -n "$AR" && break
5397 if test -z "$AR"; then
5399 for ac_prog
in ar gar
5401 # Extract the first word of "$ac_prog", so it can be a program name with args.
5402 set dummy
$ac_prog; ac_word
=$2
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5404 $as_echo_n "checking for $ac_word... " >&6; }
5405 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5406 $as_echo_n "(cached) " >&6
5408 if test -n "$ac_ct_AR"; then
5409 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5415 test -z "$as_dir" && as_dir
=.
5416 for ac_exec_ext
in '' $ac_executable_extensions; do
5417 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5418 ac_cv_prog_ac_ct_AR
="$ac_prog"
5419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5428 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5429 if test -n "$ac_ct_AR"; then
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5431 $as_echo "$ac_ct_AR" >&6; }
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5434 $as_echo "no" >&6; }
5438 test -n "$ac_ct_AR" && break
5441 if test "x$ac_ct_AR" = x
; then
5444 case $cross_compiling:$ac_tool_warned in
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5448 ac_tool_warned
=yes ;;
5454 if test -n "$ac_tool_prefix"; then
5455 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5456 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5458 $as_echo_n "checking for $ac_word... " >&6; }
5459 if ${ac_cv_prog_STRIP+:} false
; then :
5460 $as_echo_n "(cached) " >&6
5462 if test -n "$STRIP"; then
5463 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5469 test -z "$as_dir" && as_dir
=.
5470 for ac_exec_ext
in '' $ac_executable_extensions; do
5471 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5472 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5482 STRIP
=$ac_cv_prog_STRIP
5483 if test -n "$STRIP"; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5485 $as_echo "$STRIP" >&6; }
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5488 $as_echo "no" >&6; }
5493 if test -z "$ac_cv_prog_STRIP"; then
5495 # Extract the first word of "strip", so it can be a program name with args.
5496 set dummy strip
; ac_word
=$2
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5498 $as_echo_n "checking for $ac_word... " >&6; }
5499 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5500 $as_echo_n "(cached) " >&6
5502 if test -n "$ac_ct_STRIP"; then
5503 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5509 test -z "$as_dir" && as_dir
=.
5510 for ac_exec_ext
in '' $ac_executable_extensions; do
5511 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5512 ac_cv_prog_ac_ct_STRIP
="strip"
5513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5522 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5523 if test -n "$ac_ct_STRIP"; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5525 $as_echo "$ac_ct_STRIP" >&6; }
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5528 $as_echo "no" >&6; }
5531 if test "x$ac_ct_STRIP" = x
; then
5534 case $cross_compiling:$ac_tool_warned in
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5538 ac_tool_warned
=yes ;;
5543 STRIP
="$ac_cv_prog_STRIP"
5548 if test -n "$ac_tool_prefix"; then
5549 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5550 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5552 $as_echo_n "checking for $ac_word... " >&6; }
5553 if ${ac_cv_prog_RANLIB+:} false
; then :
5554 $as_echo_n "(cached) " >&6
5556 if test -n "$RANLIB"; then
5557 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5563 test -z "$as_dir" && as_dir
=.
5564 for ac_exec_ext
in '' $ac_executable_extensions; do
5565 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5566 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5576 RANLIB
=$ac_cv_prog_RANLIB
5577 if test -n "$RANLIB"; then
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5579 $as_echo "$RANLIB" >&6; }
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5582 $as_echo "no" >&6; }
5587 if test -z "$ac_cv_prog_RANLIB"; then
5588 ac_ct_RANLIB
=$RANLIB
5589 # Extract the first word of "ranlib", so it can be a program name with args.
5590 set dummy ranlib
; ac_word
=$2
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5592 $as_echo_n "checking for $ac_word... " >&6; }
5593 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5594 $as_echo_n "(cached) " >&6
5596 if test -n "$ac_ct_RANLIB"; then
5597 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5603 test -z "$as_dir" && as_dir
=.
5604 for ac_exec_ext
in '' $ac_executable_extensions; do
5605 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5606 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5616 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5617 if test -n "$ac_ct_RANLIB"; then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5619 $as_echo "$ac_ct_RANLIB" >&6; }
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5622 $as_echo "no" >&6; }
5625 if test "x$ac_ct_RANLIB" = x
; then
5628 case $cross_compiling:$ac_tool_warned in
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5632 ac_tool_warned
=yes ;;
5634 RANLIB
=$ac_ct_RANLIB
5637 RANLIB
="$ac_cv_prog_RANLIB"
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5641 $as_echo_n "checking whether ln -s works... " >&6; }
5643 if test "$LN_S" = "ln -s"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5645 $as_echo "yes" >&6; }
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5648 $as_echo "no, using $LN_S" >&6; }
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5652 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5653 if ${ac_cv_path_GREP+:} false
; then :
5654 $as_echo_n "(cached) " >&6
5656 if test -z "$GREP"; then
5657 ac_path_GREP_found
=false
5658 # Loop through the user's path and test for each of PROGNAME-LIST
5659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5660 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5663 test -z "$as_dir" && as_dir
=.
5664 for ac_prog
in grep ggrep
; do
5665 for ac_exec_ext
in '' $ac_executable_extensions; do
5666 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5667 as_fn_executable_p
"$ac_path_GREP" ||
continue
5668 # Check for GNU ac_path_GREP and select it if it is found.
5669 # Check for GNU $ac_path_GREP
5670 case `"$ac_path_GREP" --version 2>&1` in
5672 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5675 $as_echo_n 0123456789 >"conftest.in"
5678 cat "conftest.in" "conftest.in" >"conftest.tmp"
5679 mv "conftest.tmp" "conftest.in"
5680 cp "conftest.in" "conftest.nl"
5681 $as_echo 'GREP' >> "conftest.nl"
5682 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5683 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5684 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5685 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5686 # Best one so far, save it but keep looking for a better one
5687 ac_cv_path_GREP
="$ac_path_GREP"
5688 ac_path_GREP_max
=$ac_count
5690 # 10*(2^10) chars as input seems more than enough
5691 test $ac_count -gt 10 && break
5693 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5696 $ac_path_GREP_found && break 3
5701 if test -z "$ac_cv_path_GREP"; then
5702 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5705 ac_cv_path_GREP
=$GREP
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5710 $as_echo "$ac_cv_path_GREP" >&6; }
5711 GREP
="$ac_cv_path_GREP"
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5715 $as_echo_n "checking for egrep... " >&6; }
5716 if ${ac_cv_path_EGREP+:} false
; then :
5717 $as_echo_n "(cached) " >&6
5719 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5720 then ac_cv_path_EGREP
="$GREP -E"
5722 if test -z "$EGREP"; then
5723 ac_path_EGREP_found
=false
5724 # Loop through the user's path and test for each of PROGNAME-LIST
5725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5726 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5729 test -z "$as_dir" && as_dir
=.
5730 for ac_prog
in egrep; do
5731 for ac_exec_ext
in '' $ac_executable_extensions; do
5732 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5733 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5734 # Check for GNU ac_path_EGREP and select it if it is found.
5735 # Check for GNU $ac_path_EGREP
5736 case `"$ac_path_EGREP" --version 2>&1` in
5738 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5741 $as_echo_n 0123456789 >"conftest.in"
5744 cat "conftest.in" "conftest.in" >"conftest.tmp"
5745 mv "conftest.tmp" "conftest.in"
5746 cp "conftest.in" "conftest.nl"
5747 $as_echo 'EGREP' >> "conftest.nl"
5748 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5749 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5750 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5751 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5752 # Best one so far, save it but keep looking for a better one
5753 ac_cv_path_EGREP
="$ac_path_EGREP"
5754 ac_path_EGREP_max
=$ac_count
5756 # 10*(2^10) chars as input seems more than enough
5757 test $ac_count -gt 10 && break
5759 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5762 $ac_path_EGREP_found && break 3
5767 if test -z "$ac_cv_path_EGREP"; then
5768 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5771 ac_cv_path_EGREP
=$EGREP
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5777 $as_echo "$ac_cv_path_EGREP" >&6; }
5778 EGREP
="$ac_cv_path_EGREP"
5781 # Extract the first word of "ldconfig", so it can be a program name with args.
5782 set dummy ldconfig
; ac_word
=$2
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5784 $as_echo_n "checking for $ac_word... " >&6; }
5785 if ${ac_cv_path_LDCONFIG+:} false
; then :
5786 $as_echo_n "(cached) " >&6
5790 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5794 for as_dir
in /sbin
/usr
/sbin
$PATH
5797 test -z "$as_dir" && as_dir
=.
5798 for ac_exec_ext
in '' $ac_executable_extensions; do
5799 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5800 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5808 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5812 LDCONFIG
=$ac_cv_path_LDCONFIG
5813 if test -n "$LDCONFIG"; then
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5815 $as_echo "$LDCONFIG" >&6; }
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5818 $as_echo "no" >&6; }
5822 for ac_prog
in msgfmt
5824 # Extract the first word of "$ac_prog", so it can be a program name with args.
5825 set dummy
$ac_prog; ac_word
=$2
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5827 $as_echo_n "checking for $ac_word... " >&6; }
5828 if ${ac_cv_prog_MSGFMT+:} false
; then :
5829 $as_echo_n "(cached) " >&6
5831 if test -n "$MSGFMT"; then
5832 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5838 test -z "$as_dir" && as_dir
=.
5839 for ac_exec_ext
in '' $ac_executable_extensions; do
5840 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5841 ac_cv_prog_MSGFMT
="$ac_prog"
5842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5851 MSGFMT
=$ac_cv_prog_MSGFMT
5852 if test -n "$MSGFMT"; then
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5854 $as_echo "$MSGFMT" >&6; }
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5857 $as_echo "no" >&6; }
5861 test -n "$MSGFMT" && break
5863 test -n "$MSGFMT" || MSGFMT
="false"
5865 if ${ac_tool_prefix+:} false
; then :
5866 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5867 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5869 $as_echo_n "checking for $ac_word... " >&6; }
5870 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5871 $as_echo_n "(cached) " >&6
5873 if test -n "$PKG_CONFIG"; then
5874 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5880 test -z "$as_dir" && as_dir
=.
5881 for ac_exec_ext
in '' $ac_executable_extensions; do
5882 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5883 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5893 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5894 if test -n "$PKG_CONFIG"; then
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5896 $as_echo "$PKG_CONFIG" >&6; }
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5899 $as_echo "no" >&6; }
5904 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5905 if test "x$cross_compiling" = xyes
; then :
5908 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5909 # Extract the first word of "pkg-config", so it can be a program name with args.
5910 set dummy pkg-config
; ac_word
=$2
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5912 $as_echo_n "checking for $ac_word... " >&6; }
5913 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5914 $as_echo_n "(cached) " >&6
5916 if test -n "$PKG_CONFIG"; then
5917 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5923 test -z "$as_dir" && as_dir
=.
5924 for ac_exec_ext
in '' $ac_executable_extensions; do
5925 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5926 ac_cv_prog_PKG_CONFIG
="pkg-config"
5927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5936 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5937 if test -n "$PKG_CONFIG"; then
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5939 $as_echo "$PKG_CONFIG" >&6; }
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5942 $as_echo "no" >&6; }
5948 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5951 if test "x$enable_maintainer_mode" != "xyes"
5958 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5959 for ac_prog
in fontforge
5961 # Extract the first word of "$ac_prog", so it can be a program name with args.
5962 set dummy
$ac_prog; ac_word
=$2
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5964 $as_echo_n "checking for $ac_word... " >&6; }
5965 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5966 $as_echo_n "(cached) " >&6
5968 if test -n "$FONTFORGE"; then
5969 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5975 test -z "$as_dir" && as_dir
=.
5976 for ac_exec_ext
in '' $ac_executable_extensions; do
5977 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5978 ac_cv_prog_FONTFORGE
="$ac_prog"
5979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5988 FONTFORGE
=$ac_cv_prog_FONTFORGE
5989 if test -n "$FONTFORGE"; then
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5991 $as_echo "$FONTFORGE" >&6; }
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5994 $as_echo "no" >&6; }
5998 test -n "$FONTFORGE" && break
6000 test -n "$FONTFORGE" || FONTFORGE
="false"
6002 for ac_prog
in rsvg-convert rsvg
6004 # Extract the first word of "$ac_prog", so it can be a program name with args.
6005 set dummy
$ac_prog; ac_word
=$2
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007 $as_echo_n "checking for $ac_word... " >&6; }
6008 if ${ac_cv_prog_RSVG+:} false
; then :
6009 $as_echo_n "(cached) " >&6
6011 if test -n "$RSVG"; then
6012 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
6014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6018 test -z "$as_dir" && as_dir
=.
6019 for ac_exec_ext
in '' $ac_executable_extensions; do
6020 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6021 ac_cv_prog_RSVG
="$ac_prog"
6022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6031 RSVG
=$ac_cv_prog_RSVG
6032 if test -n "$RSVG"; then
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6034 $as_echo "$RSVG" >&6; }
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6037 $as_echo "no" >&6; }
6041 test -n "$RSVG" && break
6043 test -n "$RSVG" || RSVG
="false"
6045 for ac_prog
in convert
6047 # Extract the first word of "$ac_prog", so it can be a program name with args.
6048 set dummy
$ac_prog; ac_word
=$2
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6050 $as_echo_n "checking for $ac_word... " >&6; }
6051 if ${ac_cv_prog_CONVERT+:} false
; then :
6052 $as_echo_n "(cached) " >&6
6054 if test -n "$CONVERT"; then
6055 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
6057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6061 test -z "$as_dir" && as_dir
=.
6062 for ac_exec_ext
in '' $ac_executable_extensions; do
6063 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6064 ac_cv_prog_CONVERT
="$ac_prog"
6065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6074 CONVERT
=$ac_cv_prog_CONVERT
6075 if test -n "$CONVERT"; then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6077 $as_echo "$CONVERT" >&6; }
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6080 $as_echo "no" >&6; }
6084 test -n "$CONVERT" && break
6086 test -n "$CONVERT" || CONVERT
="false"
6088 for ac_prog
in icotool
6090 # Extract the first word of "$ac_prog", so it can be a program name with args.
6091 set dummy
$ac_prog; ac_word
=$2
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6093 $as_echo_n "checking for $ac_word... " >&6; }
6094 if ${ac_cv_prog_ICOTOOL+:} false
; then :
6095 $as_echo_n "(cached) " >&6
6097 if test -n "$ICOTOOL"; then
6098 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6104 test -z "$as_dir" && as_dir
=.
6105 for ac_exec_ext
in '' $ac_executable_extensions; do
6106 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6107 ac_cv_prog_ICOTOOL
="$ac_prog"
6108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6117 ICOTOOL
=$ac_cv_prog_ICOTOOL
6118 if test -n "$ICOTOOL"; then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6120 $as_echo "$ICOTOOL" >&6; }
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6123 $as_echo "no" >&6; }
6127 test -n "$ICOTOOL" && break
6129 test -n "$ICOTOOL" || ICOTOOL
="false"
6131 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6132 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6134 if test "$CONVERT" = false
6136 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6139 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6140 convert_version
=`convert --version | head -n1`
6141 if test "x$convert_version" != "x"
6143 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6144 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6145 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6150 if test "$CONVERT" = false
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6153 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6154 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6157 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6161 if test "$ICOTOOL" = false
6163 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6166 $as_echo_n "checking for recent enough icotool... " >&6; }
6167 icotool_version
=`icotool --version | head -n1`
6168 if test "x$icotool_version" != "x"
6170 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6171 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6172 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6175 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6178 if test "$ICOTOOL" = false
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6181 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6182 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6185 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6191 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6194 test "x$with_gettext" != xno || MSGFMT
=false
6195 if test "$MSGFMT" != "false"
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6198 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6199 cat >conftest.po
<<EOF
6205 if $MSGFMT -o /dev
/null conftest.po
2>&5
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6208 $as_echo "yes" >&6; }
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6211 $as_echo "no" >&6; }
6215 if test "$MSGFMT" = false
; then :
6216 case "x$with_gettext" in
6217 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6219 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6220 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6222 enable_po
=${enable_po:-no}
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6227 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6228 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6229 $as_echo_n "(cached) " >&6
6231 ac_check_lib_save_LIBS
=$LIBS
6233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6234 /* end confdefs.h. */
6236 /* Override any GCC internal prototype to avoid an error.
6237 Use char because int might match the return type of a GCC
6238 builtin and then its argument prototype would still apply. */
6242 char i386_set_ldt ();
6246 return i386_set_ldt ();
6251 if ac_fn_c_try_link
"$LINENO"; then :
6252 ac_cv_lib_i386_i386_set_ldt
=yes
6254 ac_cv_lib_i386_i386_set_ldt
=no
6256 rm -f core conftest.err conftest.
$ac_objext \
6257 conftest
$ac_exeext conftest.
$ac_ext
6258 LIBS
=$ac_check_lib_save_LIBS
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6261 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6262 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6263 cat >>confdefs.h
<<_ACEOF
6264 #define HAVE_LIBI386 1
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6272 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6273 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6274 $as_echo_n "(cached) " >&6
6276 ac_check_lib_save_LIBS
=$LIBS
6277 LIBS
="-lossaudio $LIBS"
6278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6279 /* end confdefs.h. */
6281 /* Override any GCC internal prototype to avoid an error.
6282 Use char because int might match the return type of a GCC
6283 builtin and then its argument prototype would still apply. */
6291 return _oss_ioctl ();
6296 if ac_fn_c_try_link
"$LINENO"; then :
6297 ac_cv_lib_ossaudio__oss_ioctl
=yes
6299 ac_cv_lib_ossaudio__oss_ioctl
=no
6301 rm -f core conftest.err conftest.
$ac_objext \
6302 conftest
$ac_exeext conftest.
$ac_ext
6303 LIBS
=$ac_check_lib_save_LIBS
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6306 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6307 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6308 cat >>confdefs.h
<<_ACEOF
6309 #define HAVE_LIBOSSAUDIO 1
6312 LIBS
="-lossaudio $LIBS"
6321 # Check whether --enable-largefile was given.
6322 if test "${enable_largefile+set}" = set; then :
6323 enableval
=$enable_largefile;
6326 if test "$enable_largefile" != no
; then
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6329 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6330 if ${ac_cv_sys_largefile_CC+:} false
; then :
6331 $as_echo_n "(cached) " >&6
6333 ac_cv_sys_largefile_CC
=no
6334 if test "$GCC" != yes; then
6337 # IRIX 6.2 and later do not support large files by default,
6338 # so use the C compiler's -n32 option if that helps.
6339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6340 /* end confdefs.h. */
6341 #include <sys/types.h>
6342 /* Check that off_t can represent 2**63 - 1 correctly.
6343 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6344 since some C++ compilers masquerading as C compilers
6345 incorrectly reject 9223372036854775807. */
6346 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6347 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6348 && LARGE_OFF_T % 2147483647 == 1)
6358 if ac_fn_c_try_compile
"$LINENO"; then :
6361 rm -f core conftest.err conftest.
$ac_objext
6363 if ac_fn_c_try_compile
"$LINENO"; then :
6364 ac_cv_sys_largefile_CC
=' -n32'; break
6366 rm -f core conftest.err conftest.
$ac_objext
6370 rm -f conftest.
$ac_ext
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6374 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6375 if test "$ac_cv_sys_largefile_CC" != no
; then
6376 CC
=$CC$ac_cv_sys_largefile_CC
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6380 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6381 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6382 $as_echo_n "(cached) " >&6
6385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6386 /* end confdefs.h. */
6387 #include <sys/types.h>
6388 /* Check that off_t can represent 2**63 - 1 correctly.
6389 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6390 since some C++ compilers masquerading as C compilers
6391 incorrectly reject 9223372036854775807. */
6392 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6393 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6394 && LARGE_OFF_T % 2147483647 == 1)
6404 if ac_fn_c_try_compile
"$LINENO"; then :
6405 ac_cv_sys_file_offset_bits
=no
; break
6407 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6409 /* end confdefs.h. */
6410 #define _FILE_OFFSET_BITS 64
6411 #include <sys/types.h>
6412 /* Check that off_t can represent 2**63 - 1 correctly.
6413 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6414 since some C++ compilers masquerading as C compilers
6415 incorrectly reject 9223372036854775807. */
6416 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6417 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6418 && LARGE_OFF_T % 2147483647 == 1)
6428 if ac_fn_c_try_compile
"$LINENO"; then :
6429 ac_cv_sys_file_offset_bits
=64; break
6431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6432 ac_cv_sys_file_offset_bits
=unknown
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6437 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6438 case $ac_cv_sys_file_offset_bits in #(
6441 cat >>confdefs.h
<<_ACEOF
6442 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6447 if test $ac_cv_sys_file_offset_bits = unknown
; then
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6449 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6450 if ${ac_cv_sys_large_files+:} false
; then :
6451 $as_echo_n "(cached) " >&6
6454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6455 /* end confdefs.h. */
6456 #include <sys/types.h>
6457 /* Check that off_t can represent 2**63 - 1 correctly.
6458 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6459 since some C++ compilers masquerading as C compilers
6460 incorrectly reject 9223372036854775807. */
6461 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6462 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6463 && LARGE_OFF_T % 2147483647 == 1)
6473 if ac_fn_c_try_compile
"$LINENO"; then :
6474 ac_cv_sys_large_files
=no
; break
6476 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6478 /* end confdefs.h. */
6479 #define _LARGE_FILES 1
6480 #include <sys/types.h>
6481 /* Check that off_t can represent 2**63 - 1 correctly.
6482 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6483 since some C++ compilers masquerading as C compilers
6484 incorrectly reject 9223372036854775807. */
6485 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6486 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6487 && LARGE_OFF_T % 2147483647 == 1)
6497 if ac_fn_c_try_compile
"$LINENO"; then :
6498 ac_cv_sys_large_files
=1; break
6500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6501 ac_cv_sys_large_files
=unknown
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6506 $as_echo "$ac_cv_sys_large_files" >&6; }
6507 case $ac_cv_sys_large_files in #(
6510 cat >>confdefs.h
<<_ACEOF
6511 #define _LARGE_FILES $ac_cv_sys_large_files
6523 ac_cpp
='$CPP $CPPFLAGS'
6524 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6525 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6526 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6528 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6529 # On Suns, sometimes $CPP names a directory.
6530 if test -n "$CPP" && test -d "$CPP"; then
6533 if test -z "$CPP"; then
6534 if ${ac_cv_prog_CPP+:} false
; then :
6535 $as_echo_n "(cached) " >&6
6537 # Double quotes because CPP needs to be expanded
6538 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6541 for ac_c_preproc_warn_flag
in '' yes
6543 # Use a header file that comes with gcc, so configuring glibc
6544 # with a fresh cross-compiler works.
6545 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6546 # <limits.h> exists even on freestanding compilers.
6547 # On the NeXT, cc -E runs the code through the compiler's parser,
6548 # not just through cpp. "Syntax error" is here to catch this case.
6549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6550 /* end confdefs.h. */
6552 # include <limits.h>
6554 # include <assert.h>
6558 if ac_fn_c_try_cpp
"$LINENO"; then :
6561 # Broken: fails on valid input.
6564 rm -f conftest.err conftest.i conftest.
$ac_ext
6566 # OK, works on sane cases. Now check whether nonexistent headers
6567 # can be detected and how.
6568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6569 /* end confdefs.h. */
6570 #include <ac_nonexistent.h>
6572 if ac_fn_c_try_cpp
"$LINENO"; then :
6573 # Broken: success on invalid input.
6576 # Passes both tests.
6580 rm -f conftest.err conftest.i conftest.
$ac_ext
6583 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6584 rm -f conftest.i conftest.err conftest.
$ac_ext
6585 if $ac_preproc_ok; then :
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6598 $as_echo "$CPP" >&6; }
6600 for ac_c_preproc_warn_flag
in '' yes
6602 # Use a header file that comes with gcc, so configuring glibc
6603 # with a fresh cross-compiler works.
6604 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6605 # <limits.h> exists even on freestanding compilers.
6606 # On the NeXT, cc -E runs the code through the compiler's parser,
6607 # not just through cpp. "Syntax error" is here to catch this case.
6608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6609 /* end confdefs.h. */
6611 # include <limits.h>
6613 # include <assert.h>
6617 if ac_fn_c_try_cpp
"$LINENO"; then :
6620 # Broken: fails on valid input.
6623 rm -f conftest.err conftest.i conftest.
$ac_ext
6625 # OK, works on sane cases. Now check whether nonexistent headers
6626 # can be detected and how.
6627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6628 /* end confdefs.h. */
6629 #include <ac_nonexistent.h>
6631 if ac_fn_c_try_cpp
"$LINENO"; then :
6632 # Broken: success on invalid input.
6635 # Passes both tests.
6639 rm -f conftest.err conftest.i conftest.
$ac_ext
6642 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6643 rm -f conftest.i conftest.err conftest.
$ac_ext
6644 if $ac_preproc_ok; then :
6647 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6648 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6649 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6650 See \`config.log' for more details" "$LINENO" 5; }
6654 ac_cpp
='$CPP $CPPFLAGS'
6655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6661 $as_echo_n "checking for ANSI C header files... " >&6; }
6662 if ${ac_cv_header_stdc+:} false
; then :
6663 $as_echo_n "(cached) " >&6
6665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6666 /* end confdefs.h. */
6680 if ac_fn_c_try_compile
"$LINENO"; then :
6681 ac_cv_header_stdc
=yes
6683 ac_cv_header_stdc
=no
6685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6687 if test $ac_cv_header_stdc = yes; then
6688 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6690 /* end confdefs.h. */
6694 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6695 $EGREP "memchr" >/dev
/null
2>&1; then :
6698 ac_cv_header_stdc
=no
6704 if test $ac_cv_header_stdc = yes; then
6705 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6707 /* end confdefs.h. */
6711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6712 $EGREP "free" >/dev
/null
2>&1; then :
6715 ac_cv_header_stdc
=no
6721 if test $ac_cv_header_stdc = yes; then
6722 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6723 if test "$cross_compiling" = yes; then :
6726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6727 /* end confdefs.h. */
6730 #if ((' ' & 0x0FF) == 0x020)
6731 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6732 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6734 # define ISLOWER(c) \
6735 (('a' <= (c) && (c) <= 'i') \
6736 || ('j' <= (c) && (c) <= 'r') \
6737 || ('s' <= (c) && (c) <= 'z'))
6738 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6741 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6746 for (i = 0; i < 256; i++)
6747 if (XOR (islower (i), ISLOWER (i))
6748 || toupper (i) != TOUPPER (i))
6753 if ac_fn_c_try_run
"$LINENO"; then :
6756 ac_cv_header_stdc
=no
6758 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6759 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6765 $as_echo "$ac_cv_header_stdc" >&6; }
6766 if test $ac_cv_header_stdc = yes; then
6768 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6772 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6773 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6774 inttypes.h stdint.h unistd.h
6776 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6777 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6779 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6780 cat >>confdefs.h
<<_ACEOF
6781 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6791 ApplicationServices
/ApplicationServices.h \
6792 AudioToolbox
/AudioConverter.h \
6793 AudioUnit
/AudioUnit.h \
6794 AudioUnit
/AudioComponent.h \
6797 CommonCrypto
/CommonDigest.h \
6798 CoreAudio
/CoreAudio.h \
6799 CoreServices
/CoreServices.h \
6800 DiskArbitration
/DiskArbitration.h \
6802 IOKit
/hid
/IOHIDLib.h \
6805 QuickTime
/ImageCompression.h \
6806 Security
/Security.h \
6858 netinet
/in_systm.h \
6922 valgrind
/memcheck.h \
6923 valgrind
/valgrind.h \
6927 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6928 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6929 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6930 cat >>confdefs.h
<<_ACEOF
6931 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6938 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6939 if test "x$ac_cv_header_sys_mkdev_h" = xyes
; then :
6941 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6946 if test $ac_cv_header_sys_mkdev_h = no
; then
6947 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6948 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
; then :
6950 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6957 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6958 if ${ac_cv_header_stat_broken+:} false
; then :
6959 $as_echo_n "(cached) " >&6
6961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6962 /* end confdefs.h. */
6963 #include <sys/types.h>
6964 #include <sys/stat.h>
6966 #if defined S_ISBLK && defined S_IFDIR
6967 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6970 #if defined S_ISBLK && defined S_IFCHR
6971 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6974 #if defined S_ISLNK && defined S_IFREG
6975 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6978 #if defined S_ISSOCK && defined S_IFREG
6979 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6983 if ac_fn_c_try_compile
"$LINENO"; then :
6984 ac_cv_header_stat_broken
=no
6986 ac_cv_header_stat_broken
=yes
6988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6991 $as_echo "$ac_cv_header_stat_broken" >&6; }
6992 if test $ac_cv_header_stat_broken = yes; then
6994 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7000 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
7002 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7003 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7004 #ifdef HAVE_SYS_PARAM_H
7005 # include <sys/param.h>
7008 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7009 cat >>confdefs.h
<<_ACEOF
7010 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7025 netinet
/if_ether.h \
7026 netinet
/if_inarp.h \
7035 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7036 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7037 #ifdef HAVE_SYS_SOCKET_H
7038 # include <sys/socket.h>
7040 #ifdef HAVE_SYS_SOCKETVAR_H
7041 # include <sys/socketvar.h>
7043 #ifdef HAVE_NET_ROUTE_H
7044 # include <net/route.h>
7046 #ifdef HAVE_NETINET_IN_H
7047 # include <netinet/in.h>
7049 #ifdef HAVE_NETINET_IN_SYSTM_H
7050 # include <netinet/in_systm.h>
7052 #ifdef HAVE_NET_IF_H
7053 # include <net/if.h>
7055 #ifdef HAVE_NETINET_IP_H
7056 # include <netinet/ip.h>
7059 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7060 cat >>confdefs.h
<<_ACEOF
7061 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7069 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
7071 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7072 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7076 #ifdef HAVE_SYS_SOCKET_H
7077 # include <sys/socket.h>
7079 #ifdef HAVE_SYS_SOCKETVAR_H
7080 # include <sys/socketvar.h>
7082 #ifdef HAVE_SYS_TIMEOUT_H
7083 # include <sys/timeout.h>
7085 #ifdef HAVE_NETINET_IN_H
7086 # include <netinet/in.h>
7088 #ifdef HAVE_NETINET_IN_SYSTM_H
7089 # include <netinet/in_systm.h>
7091 #ifdef HAVE_NETINET_IP_H
7092 # include <netinet/ip.h>
7094 #ifdef HAVE_NETINET_IP_VAR_H
7095 # include <netinet/ip_var.h>
7097 #ifdef HAVE_NETINET_IP_ICMP_H
7098 # include <netinet/ip_icmp.h>
7100 #ifdef HAVE_NETINET_UDP_H
7101 # include <netinet/udp.h>
7103 #ifdef HAVE_NETINET_TCP_H
7104 # include <netinet/tcp.h>
7106 #ifdef HAVE_NETINET_TCP_TIMER_H
7107 #include <netinet/tcp_timer.h>
7110 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7111 cat >>confdefs.h
<<_ACEOF
7112 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7120 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
7122 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7123 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7124 #ifdef HAVE_ASM_TYPES_H
7125 # include <asm/types.h>
7127 #ifdef HAVE_SYS_SOCKET_H
7128 # include <sys/socket.h>
7130 #ifdef HAVE_LINUX_TYPES_H
7131 # include <linux/types.h>
7134 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7135 cat >>confdefs.h
<<_ACEOF
7136 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7144 for ac_header
in mach-o
/dyld_images.h
7146 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7147 # include <stdbool.h>
7149 #ifdef HAVE_STDINT_H
7150 # include <stdint.h>
7153 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7154 cat >>confdefs.h
<<_ACEOF
7155 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7163 for ac_header
in resolv.h
7165 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7166 #ifdef HAVE_SYS_SOCKET_H
7167 # include <sys/socket.h>
7169 #ifdef HAVE_NETINET_IN_H
7170 # include <netinet/in.h>
7172 #ifdef HAVE_ARPA_NAMESER_H
7173 # include <arpa/nameser.h>
7176 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7177 cat >>confdefs.h
<<_ACEOF
7178 #define HAVE_RESOLV_H 1
7186 for ac_header
in ifaddrs.h
7188 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7190 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7191 cat >>confdefs.h
<<_ACEOF
7192 #define HAVE_IFADDRS_H 1
7200 for ac_header
in sys
/ucontext.h
7202 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7204 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7205 cat >>confdefs.h
<<_ACEOF
7206 #define HAVE_SYS_UCONTEXT_H 1
7214 for ac_header
in sys
/thr.h
7216 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7217 #ifdef HAVE_SYS_UCONTEXT_H
7218 #include <sys/ucontext.h>
7221 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7222 cat >>confdefs.h
<<_ACEOF
7223 #define HAVE_SYS_THR_H 1
7231 for ac_header
in pthread_np.h
7233 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7234 #include <pthread.h>
7237 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7238 cat >>confdefs.h
<<_ACEOF
7239 #define HAVE_PTHREAD_NP_H 1
7247 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7249 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7250 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7251 #include <sys/time.h>
7253 #include <sys/types.h>
7254 #ifdef HAVE_ASM_TYPES_H
7255 #include <asm/types.h>
7258 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7259 cat >>confdefs.h
<<_ACEOF
7260 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7268 for ac_header
in libprocstat.h
7270 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7271 #include <sys/param.h>
7273 #ifdef HAVE_SYS_QUEUE_H
7274 #include <sys/queue.h>
7276 #ifdef HAVE_SYS_SOCKET_H
7277 #include <sys/socket.h>
7280 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7281 cat >>confdefs.h
<<_ACEOF
7282 #define HAVE_LIBPROCSTAT_H 1
7291 dlldir
="\${libdir}/wine"
7293 DLLFLAGS
="-D_REENTRANT"
7304 # Extract the first word of "ldd", so it can be a program name with args.
7305 set dummy ldd
; ac_word
=$2
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7307 $as_echo_n "checking for $ac_word... " >&6; }
7308 if ${ac_cv_path_LDD+:} false
; then :
7309 $as_echo_n "(cached) " >&6
7313 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7317 as_dummy
="/sbin:/usr/sbin:$PATH"
7318 for as_dir
in $as_dummy
7321 test -z "$as_dir" && as_dir
=.
7322 for ac_exec_ext
in '' $ac_executable_extensions; do
7323 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7324 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7332 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7337 if test -n "$LDD"; then
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7339 $as_echo "$LDD" >&6; }
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342 $as_echo "no" >&6; }
7346 if test -n "$ac_tool_prefix"; then
7347 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7348 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if ${ac_cv_prog_OTOOL+:} false
; then :
7352 $as_echo_n "(cached) " >&6
7354 if test -n "$OTOOL"; then
7355 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7361 test -z "$as_dir" && as_dir
=.
7362 for ac_exec_ext
in '' $ac_executable_extensions; do
7363 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7364 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7374 OTOOL
=$ac_cv_prog_OTOOL
7375 if test -n "$OTOOL"; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7377 $as_echo "$OTOOL" >&6; }
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 $as_echo "no" >&6; }
7385 if test -z "$ac_cv_prog_OTOOL"; then
7387 # Extract the first word of "otool", so it can be a program name with args.
7388 set dummy otool
; ac_word
=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7392 $as_echo_n "(cached) " >&6
7394 if test -n "$ac_ct_OTOOL"; then
7395 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7401 test -z "$as_dir" && as_dir
=.
7402 for ac_exec_ext
in '' $ac_executable_extensions; do
7403 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7404 ac_cv_prog_ac_ct_OTOOL
="otool"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7414 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7415 if test -n "$ac_ct_OTOOL"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7417 $as_echo "$ac_ct_OTOOL" >&6; }
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7423 if test "x$ac_ct_OTOOL" = x
; then
7426 case $cross_compiling:$ac_tool_warned in
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7430 ac_tool_warned
=yes ;;
7435 OTOOL
="$ac_cv_prog_OTOOL"
7438 if test -n "$ac_tool_prefix"; then
7439 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7440 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442 $as_echo_n "checking for $ac_word... " >&6; }
7443 if ${ac_cv_prog_READELF+:} false
; then :
7444 $as_echo_n "(cached) " >&6
7446 if test -n "$READELF"; then
7447 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7453 test -z "$as_dir" && as_dir
=.
7454 for ac_exec_ext
in '' $ac_executable_extensions; do
7455 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7456 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7466 READELF
=$ac_cv_prog_READELF
7467 if test -n "$READELF"; then
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7469 $as_echo "$READELF" >&6; }
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7477 if test -z "$ac_cv_prog_READELF"; then
7478 ac_ct_READELF
=$READELF
7479 # Extract the first word of "readelf", so it can be a program name with args.
7480 set dummy readelf
; ac_word
=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7484 $as_echo_n "(cached) " >&6
7486 if test -n "$ac_ct_READELF"; then
7487 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7493 test -z "$as_dir" && as_dir
=.
7494 for ac_exec_ext
in '' $ac_executable_extensions; do
7495 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7496 ac_cv_prog_ac_ct_READELF
="readelf"
7497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7506 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7507 if test -n "$ac_ct_READELF"; then
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7509 $as_echo "$ac_ct_READELF" >&6; }
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7515 if test "x$ac_ct_READELF" = x
; then
7518 case $cross_compiling:$ac_tool_warned in
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7522 ac_tool_warned
=yes ;;
7524 READELF
=$ac_ct_READELF
7527 READELF
="$ac_cv_prog_READELF"
7530 wine_rules_file
=conf$
$rules.
make
7531 rm -f $wine_rules_file
7536 CONFIGURE_TARGETS
=""
7538 ALL_TEST_RESOURCES
=""
7541 wine_fn_append_file
()
7543 as_fn_append
$1 " \\$as_nl $2"
7546 wine_fn_append_rule
()
7548 $as_echo "$1" >>$wine_rules_file
7553 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7556 wine_fn_all_rules
()
7558 wine_fn_append_file SUBDIRS
$ac_dir
7559 wine_fn_append_rule \
7563 @cd $ac_dir && \$(MAKE)"
7566 wine_fn_install_rules
()
7568 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7570 wine_fn_append_rule \
7571 ".PHONY: $ac_dir/install $ac_dir/uninstall
7572 $ac_dir/install:: $ac_dir
7573 @cd $ac_dir && \$(MAKE) install
7575 @cd $ac_dir && \$(MAKE) uninstall
7576 install:: $ac_dir/install
7577 __uninstall__: $ac_dir/uninstall"
7579 if wine_fn_has_flag install-lib
7581 wine_fn_append_rule \
7582 ".PHONY: $ac_dir/install-lib
7583 $ac_dir/install-lib:: $ac_dir
7584 @cd $ac_dir && \$(MAKE) install-lib
7585 install-lib:: $ac_dir/install-lib"
7588 if wine_fn_has_flag install-dev
7590 wine_fn_append_rule \
7591 ".PHONY: $ac_dir/install-dev
7592 $ac_dir/install-dev:: $ac_dir
7593 @cd $ac_dir && \$(MAKE) install-dev
7594 install-dev:: $ac_dir/install-dev"
7598 wine_fn_clean_rules
()
7602 if wine_fn_has_flag clean
7604 wine_fn_append_rule \
7605 "$ac_dir/clean: dummy
7606 @cd $ac_dir && \$(MAKE) clean"
7608 wine_fn_append_rule \
7609 "$ac_dir/clean: dummy
7610 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7612 wine_fn_append_rule \
7613 "__clean__: $ac_dir/clean
7614 .PHONY: $ac_dir/clean"
7617 wine_fn_disabled_rules
()
7621 wine_fn_append_file SUBDIRS
$ac_dir
7622 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7623 wine_fn_append_rule \
7624 "__clean__: $ac_dir/clean
7625 .PHONY: $ac_dir/clean
7626 $ac_dir/clean: dummy
7627 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7630 wine_fn_config_makefile
()
7637 fonts|server
) test -z "$with_wine64" ||
return ;;
7639 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7640 wine_fn_disabled_rules
; return
7643 wine_fn_install_rules
7647 wine_fn_config_lib
()
7651 ac_dir
=dlls
/$ac_name
7654 if test "x$enable_tools" = xno
; then :
7657 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7662 wine_fn_append_rule \
7663 ".PHONY: $ac_dir/install $ac_dir/uninstall
7664 $ac_dir/install:: $ac_dir
7665 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7667 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7668 install install-dev:: $ac_dir/install
7669 __uninstall__: $ac_dir/uninstall
7670 __builddeps__: $ac_dir
7674 wine_fn_config_dll
()
7677 ac_dir
=dlls
/$ac_name
7680 ac_implib
=${4:-$ac_name}
7681 ac_file
=$ac_dir/lib
$ac_implib
7686 if test "x$enable_tools" = xno
; then :
7689 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7692 *16) ac_implibflags
=" -m16" ;;
7694 *) ac_dll
=$ac_dll.dll
;;
7698 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7699 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7701 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7702 if test "$ac_enable" != enable_win16
7704 wine_fn_clean_rules
$ac_clean
7705 wine_fn_append_file SUBDIRS
$ac_dir
7706 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7708 wine_fn_disabled_rules
$ac_clean
7713 wine_fn_clean_rules
$ac_clean
7714 wine_fn_append_rule \
7715 "$ac_dir: __builddeps__
7716 manpages htmlpages sgmlpages xmlpages::
7717 @cd $ac_dir && \$(MAKE) \$@
7718 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7719 install install-lib:: $ac_dir/install-lib
7720 __uninstall__: $ac_dir/uninstall"
7721 if test -n "$DLLEXT"
7723 wine_fn_append_rule \
7724 "$ac_dir/install-lib:: $ac_dir
7725 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7726 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7728 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7730 wine_fn_append_rule \
7731 "$ac_dir/install-lib:: $ac_dir
7732 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7734 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7738 if wine_fn_has_flag staticimplib
7740 wine_fn_append_rule \
7741 "__builddeps__: $ac_file.a
7742 $ac_file.a $ac_file.cross.a: $ac_deps
7744 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7745 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7746 $ac_dir/install-dev:: $ac_file.a
7747 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7749 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7750 install install-dev:: $ac_dir/install-dev
7751 __uninstall__: $ac_dir/uninstall"
7753 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7755 wine_fn_append_rule \
7756 "__builddeps__: $ac_file.cross.a
7757 $ac_file.cross.a: dummy
7758 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7761 elif wine_fn_has_flag implib
7763 wine_fn_append_rule \
7764 "__builddeps__: $ac_file.$IMPLIBEXT
7765 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7766 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7767 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7768 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7769 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7770 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7771 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7773 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7774 install install-dev:: $ac_dir/install-dev
7775 __uninstall__: $ac_dir/uninstall"
7776 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7778 wine_fn_append_rule \
7779 "__builddeps__: $ac_file.cross.a
7780 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7781 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7786 wine_fn_config_program
()
7789 ac_dir
=programs
/$ac_name
7796 *) ac_program
=$ac_program.exe
;;
7800 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7801 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7803 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7804 wine_fn_disabled_rules
$ac_clean; return
7808 wine_fn_clean_rules
$ac_clean
7809 wine_fn_append_rule
"$ac_dir: __builddeps__"
7811 wine_fn_has_flag
install ||
return
7812 wine_fn_append_rule \
7813 ".PHONY: $ac_dir/install $ac_dir/uninstall
7814 install install-lib:: $ac_dir/install
7815 __uninstall__: $ac_dir/uninstall"
7817 if test -n "$DLLEXT"
7819 wine_fn_append_rule \
7820 "$ac_dir/install:: $ac_dir
7821 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7822 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7824 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7826 if test -z "$with_wine64" && wine_fn_has_flag installbin
7828 wine_fn_append_rule \
7829 "$ac_dir/install:: __tooldeps__
7830 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7832 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7835 wine_fn_append_rule \
7836 "$ac_dir/install:: $ac_dir
7837 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7839 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7842 if test -z "$with_wine64" && wine_fn_has_flag manpage
7844 wine_fn_append_rule \
7845 "$ac_dir/install:: $ac_dir
7846 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7848 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7852 wine_fn_config_test
()
7859 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7860 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7862 if test "x$enable_tests" = xno
; then :
7863 wine_fn_disabled_rules
$ac_clean; return
7866 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7868 wine_fn_clean_rules
$ac_clean
7870 wine_fn_append_rule \
7871 "$ac_dir: __builddeps__
7872 programs/winetest: $ac_dir
7873 check test: $ac_dir/test
7874 .PHONY: $ac_dir/test
7876 @cd $ac_dir && \$(MAKE) test
7878 \$(RM) $ac_dir/*.ok"
7880 if test -n "$CROSSTARGET"
7882 wine_fn_append_rule \
7883 "crosstest: $ac_dir/crosstest
7884 .PHONY: $ac_dir/crosstest
7885 $ac_dir/crosstest: __builddeps__ dummy
7886 @cd $ac_dir && \$(MAKE) crosstest"
7890 wine_fn_config_tool
()
7894 if test "x$enable_tools" = xno
; then :
7895 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir; return
7899 wine_fn_install_rules
7902 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7903 wine_fn_append_rule
"$ac_dir: libs/port"
7905 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7909 wine_fn_config_symlink
()
7912 if test "x$1" = "x-d"
7918 wine_fn_append_rule \
7920 @./config.status \$@"
7921 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
7922 test -n "$ac_linkdir" ||
return
7923 wine_fn_append_rule
"$ac_linkdir/depend: $ac_links"
7927 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7928 WINELOADER_PROGRAMS
="$wine_binary"
7930 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7934 if test -n "$ac_tool_prefix"; then
7935 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7936 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7938 $as_echo_n "checking for $ac_word... " >&6; }
7939 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7940 $as_echo_n "(cached) " >&6
7942 if test -n "$DLLTOOL"; then
7943 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7949 test -z "$as_dir" && as_dir
=.
7950 for ac_exec_ext
in '' $ac_executable_extensions; do
7951 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7952 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7962 DLLTOOL
=$ac_cv_prog_DLLTOOL
7963 if test -n "$DLLTOOL"; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7965 $as_echo "$DLLTOOL" >&6; }
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7968 $as_echo "no" >&6; }
7973 if test -z "$ac_cv_prog_DLLTOOL"; then
7974 ac_ct_DLLTOOL
=$DLLTOOL
7975 # Extract the first word of "dlltool", so it can be a program name with args.
7976 set dummy dlltool
; ac_word
=$2
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7978 $as_echo_n "checking for $ac_word... " >&6; }
7979 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7980 $as_echo_n "(cached) " >&6
7982 if test -n "$ac_ct_DLLTOOL"; then
7983 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7989 test -z "$as_dir" && as_dir
=.
7990 for ac_exec_ext
in '' $ac_executable_extensions; do
7991 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7992 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8002 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8003 if test -n "$ac_ct_DLLTOOL"; then
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8005 $as_echo "$ac_ct_DLLTOOL" >&6; }
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8008 $as_echo "no" >&6; }
8011 if test "x$ac_ct_DLLTOOL" = x
; then
8014 case $cross_compiling:$ac_tool_warned in
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8018 ac_tool_warned
=yes ;;
8020 DLLTOOL
=$ac_ct_DLLTOOL
8023 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8029 enable_iphlpapi
=${enable_iphlpapi:-no}
8030 enable_kernel32
=${enable_kernel32:-no}
8031 enable_msvcrt
=${enable_msvcrt:-no}
8032 enable_ntdll
=${enable_ntdll:-no}
8033 enable_ws2_32
=${enable_ws2_32:-no}
8034 enable_loader
=${enable_loader:-no}
8035 enable_server
=${enable_server:-no}
8036 with_x
=${with_x:-no}
8037 with_pthread
=${with_pthread:-no}
8043 SOCKET_LIBS
="-lws2_32"
8047 LIBWINE_SHAREDLIB
="libwine.dll"
8049 LIBWINE_IMPORTLIB
="libwine.a"
8051 LIBWINE_INSTALL_LIB
="libwine.dll"
8053 LIBWINE_INSTALL_DEV
="libwine.a"
8055 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
8057 LIBWINE_DEPENDS
="wine.def"
8062 for ac_header
in libunwind.h
8064 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8065 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8066 cat >>confdefs.h
<<_ACEOF
8067 #define HAVE_LIBUNWIND_H 1
8075 DLLFLAGS
="$DLLFLAGS -fPIC"
8076 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8077 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8078 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8080 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8082 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8084 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8086 CORESERVICES_LIBS
="-framework CoreServices"
8088 APPKIT_LIBS
="-framework AppKit"
8090 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8092 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8093 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8094 $as_echo_n "(cached) " >&6
8096 ac_wine_try_cflags_saved
=$CFLAGS
8097 CFLAGS
="$CFLAGS -Wl,-no_pie"
8098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8099 /* end confdefs.h. */
8100 int main(int argc, char **argv) { return 0; }
8102 if ac_fn_c_try_link
"$LINENO"; then :
8103 ac_cv_cflags__Wl__no_pie
=yes
8105 ac_cv_cflags__Wl__no_pie
=no
8107 rm -f core conftest.err conftest.
$ac_objext \
8108 conftest
$ac_exeext conftest.
$ac_ext
8109 CFLAGS
=$ac_wine_try_cflags_saved
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8112 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8113 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8114 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8116 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8118 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8121 if test "$ac_cv_header_Security_Security_h" = "yes"
8123 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8125 ac_save_LIBS
="$LIBS"
8126 LIBS
="$LIBS $SECURITY_LIBS"
8127 for ac_func
in SSLCopyPeerCertificates
8129 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8130 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8131 cat >>confdefs.h
<<_ACEOF
8132 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8138 LIBS
="$ac_save_LIBS"
8139 with_gnutls
=${with_gnutls:-no}
8141 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8143 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8145 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8148 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8151 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8152 ac_save_LIBS
="$LIBS"
8153 LIBS
="$LIBS $COREAUDIO_LIBS"
8154 for ac_func
in AUGraphAddNode
8156 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8157 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8158 cat >>confdefs.h
<<_ACEOF
8159 #define HAVE_AUGRAPHADDNODE 1
8165 LIBS
="$ac_save_LIBS"
8167 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8169 OPENAL_LIBS
="-framework OpenAL"
8172 cat >>confdefs.h
<<_ACEOF
8173 #define HAVE_OPENAL 1
8176 ac_cv_lib_openal
=yes
8178 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8180 OPENCL_LIBS
="-framework OpenCL"
8182 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8184 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8186 ac_save_LIBS
="$LIBS"
8187 LIBS
="$LIBS $IOKIT_LIBS"
8188 for ac_func
in IOHIDManagerCreate
8190 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8191 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8192 cat >>confdefs.h
<<_ACEOF
8193 #define HAVE_IOHIDMANAGERCREATE 1
8199 LIBS
="$ac_save_LIBS"
8201 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8203 ac_save_LIBS
="$LIBS"
8204 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8206 $as_echo_n "checking for the QuickTime framework... " >&6; }
8207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8208 /* end confdefs.h. */
8209 #include <QuickTime/ImageCompression.h>
8213 CodecManagerVersion(NULL);
8218 if ac_fn_c_try_link
"$LINENO"; then :
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8220 $as_echo "yes" >&6; }
8221 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8223 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8226 $as_echo "no" >&6; }
8227 ac_cv_header_QuickTime_ImageCompression_h
=no
8229 rm -f core conftest.err conftest.
$ac_objext \
8230 conftest
$ac_exeext conftest.
$ac_ext
8231 LIBS
="$ac_save_LIBS"
8233 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8235 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8237 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8239 CARBON_LIBS
="-framework Carbon"
8243 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8245 ac_save_LIBS
="$LIBS"
8246 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8247 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8248 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8249 enable_winemac_drv
=${enable_winemac_drv:-yes}
8252 LIBS
="$ac_save_LIBS"
8255 if test "x$enable_win16" = "xyes"
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8258 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8259 if test "$cross_compiling" = yes; then :
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8261 $as_echo "cross-compiling, assuming yes" >&6; }
8263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8264 /* end confdefs.h. */
8267 "good:\tnop;nop\n\t"
8268 ".globl _testfunc\n"
8269 "_testfunc:\tcallw good");
8270 extern void testfunc();
8274 unsigned short *p = (unsigned short *)testfunc;
8275 return p[0] != 0xe866 || p[1] != 0xfffa
8280 if ac_fn_c_try_run
"$LINENO"; then :
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8282 $as_echo "yes" >&6; }
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8285 $as_echo "no" >&6; }
8286 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
8288 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8289 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8294 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8296 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8298 LIBWINE_INSTALL_DEV
="libwine.dylib"
8300 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8302 WINELOADER_DEPENDS
="wine_info.plist"
8307 DLLFLAGS
="$DLLFLAGS -fPIC"
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8309 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8310 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8311 $as_echo_n "(cached) " >&6
8313 ac_wine_try_cflags_saved
=$CFLAGS
8314 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8316 /* end confdefs.h. */
8317 int main(int argc, char **argv) { return 0; }
8319 if ac_fn_c_try_link
"$LINENO"; then :
8320 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8322 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8324 rm -f core conftest.err conftest.
$ac_objext \
8325 conftest
$ac_exeext conftest.
$ac_ext
8326 CFLAGS
=$ac_wine_try_cflags_saved
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8329 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8330 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8331 LDEXECFLAGS
="-Wl,--export-dynamic"
8333 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8335 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8336 if eval \
${$as_ac_var+:} false
; then :
8337 $as_echo_n "(cached) " >&6
8339 ac_wine_try_cflags_saved
=$CFLAGS
8340 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8342 /* end confdefs.h. */
8343 int main(int argc, char **argv) { return 0; }
8345 if ac_fn_c_try_link
"$LINENO"; then :
8346 eval "$as_ac_var=yes"
8348 eval "$as_ac_var=no"
8350 rm -f core conftest.err conftest.
$ac_objext \
8351 conftest
$ac_exeext conftest.
$ac_ext
8352 CFLAGS
=$ac_wine_try_cflags_saved
8354 eval ac_res
=\$
$as_ac_var
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8356 $as_echo "$ac_res" >&6; }
8357 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8358 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8359 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8361 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8363 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8364 if eval \
${$as_ac_var+:} false
; then :
8365 $as_echo_n "(cached) " >&6
8367 ac_wine_try_cflags_saved
=$CFLAGS
8368 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8370 /* end confdefs.h. */
8371 int main(int argc, char **argv) { return 0; }
8373 if ac_fn_c_try_link
"$LINENO"; then :
8374 eval "$as_ac_var=yes"
8376 eval "$as_ac_var=no"
8378 rm -f core conftest.err conftest.
$ac_objext \
8379 conftest
$ac_exeext conftest.
$ac_ext
8380 CFLAGS
=$ac_wine_try_cflags_saved
8382 eval ac_res
=\$
$as_ac_var
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8384 $as_echo "$ac_res" >&6; }
8385 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8386 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8387 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8392 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8393 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8394 $as_echo_n "(cached) " >&6
8396 ac_wine_try_cflags_saved
=$CFLAGS
8397 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8399 /* end confdefs.h. */
8400 int main(int argc, char **argv) { return 0; }
8402 if ac_fn_c_try_link
"$LINENO"; then :
8403 ac_cv_cflags__Wl___enable_new_dtags
=yes
8405 ac_cv_cflags__Wl___enable_new_dtags
=no
8407 rm -f core conftest.err conftest.
$ac_objext \
8408 conftest
$ac_exeext conftest.
$ac_ext
8409 CFLAGS
=$ac_wine_try_cflags_saved
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8412 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8413 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8414 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8417 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8418 if ${ac_cv_cflags__Wl__pie+:} false
; then :
8419 $as_echo_n "(cached) " >&6
8421 ac_wine_try_cflags_saved
=$CFLAGS
8422 CFLAGS
="$CFLAGS -Wl,-pie"
8423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8424 /* end confdefs.h. */
8425 int main(int argc, char **argv) { return 0; }
8427 if ac_fn_c_try_link
"$LINENO"; then :
8428 ac_cv_cflags__Wl__pie
=yes
8430 ac_cv_cflags__Wl__pie
=no
8432 rm -f core conftest.err conftest.
$ac_objext \
8433 conftest
$ac_exeext conftest.
$ac_ext
8434 CFLAGS
=$ac_wine_try_cflags_saved
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8437 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8438 if test "x$ac_cv_cflags__Wl__pie" = xyes
; then :
8439 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,-pie"
8442 LIBWINE_SHAREDLIB
="libwine.so"
8444 LIBWINE_INSTALL_LIB
="libwine.so"
8446 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so"
8451 DLLFLAGS
="$DLLFLAGS -fPIC"
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8454 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8455 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8456 $as_echo_n "(cached) " >&6
8458 ac_wine_try_cflags_saved
=$CFLAGS
8459 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8461 /* end confdefs.h. */
8464 if ac_fn_c_try_link
"$LINENO"; then :
8465 ac_cv_c_dll_gnuelf
="yes"
8467 ac_cv_c_dll_gnuelf
="no"
8469 rm -f core conftest.err conftest.
$ac_objext \
8470 conftest
$ac_exeext conftest.
$ac_ext
8471 CFLAGS
=$ac_wine_try_cflags_saved
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8474 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8475 if test "$ac_cv_c_dll_gnuelf" = "yes"
8477 LIBWINE_LDFLAGS
="-shared"
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8479 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8480 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8481 $as_echo_n "(cached) " >&6
8483 ac_wine_try_cflags_saved
=$CFLAGS
8484 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8486 /* end confdefs.h. */
8487 int main(int argc, char **argv) { return 0; }
8489 if ac_fn_c_try_link
"$LINENO"; then :
8490 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8492 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8494 rm -f core conftest.err conftest.
$ac_objext \
8495 conftest
$ac_exeext conftest.
$ac_ext
8496 CFLAGS
=$ac_wine_try_cflags_saved
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8499 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8500 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8501 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8504 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8505 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8506 $as_echo_n "(cached) " >&6
8508 ac_wine_try_cflags_saved
=$CFLAGS
8509 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8511 /* end confdefs.h. */
8512 int main(int argc, char **argv) { return 0; }
8514 if ac_fn_c_try_link
"$LINENO"; then :
8515 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8517 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8519 rm -f core conftest.err conftest.
$ac_objext \
8520 conftest
$ac_exeext conftest.
$ac_ext
8521 CFLAGS
=$ac_wine_try_cflags_saved
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8524 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8525 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8526 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8530 echo '{ global: *; };' >conftest.map
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8532 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8533 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8534 $as_echo_n "(cached) " >&6
8536 ac_wine_try_cflags_saved
=$CFLAGS
8537 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8539 /* end confdefs.h. */
8540 int main(int argc, char **argv) { return 0; }
8542 if ac_fn_c_try_link
"$LINENO"; then :
8543 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8545 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8547 rm -f core conftest.err conftest.
$ac_objext \
8548 conftest
$ac_exeext conftest.
$ac_ext
8549 CFLAGS
=$ac_wine_try_cflags_saved
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8552 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8553 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8554 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8559 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8560 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8561 $as_echo_n "(cached) " >&6
8563 ac_wine_try_cflags_saved
=$CFLAGS
8564 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8566 /* end confdefs.h. */
8567 int main(int argc, char **argv) { return 0; }
8569 if ac_fn_c_try_link
"$LINENO"; then :
8570 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8572 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8574 rm -f core conftest.err conftest.
$ac_objext \
8575 conftest
$ac_exeext conftest.
$ac_ext
8576 CFLAGS
=$ac_wine_try_cflags_saved
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8579 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8580 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8581 LDEXECFLAGS
="-Wl,--export-dynamic"
8584 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8586 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8587 if eval \
${$as_ac_var+:} false
; then :
8588 $as_echo_n "(cached) " >&6
8590 ac_wine_try_cflags_saved
=$CFLAGS
8591 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8593 /* end confdefs.h. */
8594 int main(int argc, char **argv) { return 0; }
8596 if ac_fn_c_try_link
"$LINENO"; then :
8597 eval "$as_ac_var=yes"
8599 eval "$as_ac_var=no"
8601 rm -f core conftest.err conftest.
$ac_objext \
8602 conftest
$ac_exeext conftest.
$ac_ext
8603 CFLAGS
=$ac_wine_try_cflags_saved
8605 eval ac_res
=\$
$as_ac_var
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8607 $as_echo "$ac_res" >&6; }
8608 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8609 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8610 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8612 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8614 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8615 if eval \
${$as_ac_var+:} false
; then :
8616 $as_echo_n "(cached) " >&6
8618 ac_wine_try_cflags_saved
=$CFLAGS
8619 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8621 /* end confdefs.h. */
8622 int main(int argc, char **argv) { return 0; }
8624 if ac_fn_c_try_link
"$LINENO"; then :
8625 eval "$as_ac_var=yes"
8627 eval "$as_ac_var=no"
8629 rm -f core conftest.err conftest.
$ac_objext \
8630 conftest
$ac_exeext conftest.
$ac_ext
8631 CFLAGS
=$ac_wine_try_cflags_saved
8633 eval ac_res
=\$
$as_ac_var
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8635 $as_echo "$ac_res" >&6; }
8636 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8637 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8638 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8643 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8644 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8645 $as_echo_n "(cached) " >&6
8647 ac_wine_try_cflags_saved
=$CFLAGS
8648 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8650 /* end confdefs.h. */
8651 int main(int argc, char **argv) { return 0; }
8653 if ac_fn_c_try_link
"$LINENO"; then :
8654 ac_cv_cflags__Wl___enable_new_dtags
=yes
8656 ac_cv_cflags__Wl___enable_new_dtags
=no
8658 rm -f core conftest.err conftest.
$ac_objext \
8659 conftest
$ac_exeext conftest.
$ac_ext
8660 CFLAGS
=$ac_wine_try_cflags_saved
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8663 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8664 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8665 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8669 *i
[3456789]86* | x86_64
)
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8671 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8672 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8673 $as_echo_n "(cached) " >&6
8675 ac_wine_try_cflags_saved
=$CFLAGS
8676 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8678 /* end confdefs.h. */
8679 int main(int argc, char **argv) { return 0; }
8681 if ac_fn_c_try_link
"$LINENO"; then :
8682 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8684 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8686 rm -f core conftest.err conftest.
$ac_objext \
8687 conftest
$ac_exeext conftest.
$ac_ext
8688 CFLAGS
=$ac_wine_try_cflags_saved
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8691 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8692 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8694 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8695 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8699 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8700 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false
; then :
8701 $as_echo_n "(cached) " >&6
8703 ac_wine_try_cflags_saved
=$CFLAGS
8704 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8706 /* end confdefs.h. */
8707 int main(int argc, char **argv) { return 0; }
8709 if ac_fn_c_try_link
"$LINENO"; then :
8710 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=yes
8712 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=no
8714 rm -f core conftest.err conftest.
$ac_objext \
8715 conftest
$ac_exeext conftest.
$ac_ext
8716 CFLAGS
=$ac_wine_try_cflags_saved
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8719 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8720 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes
; then :
8722 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8723 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8726 # Extract the first word of "prelink", so it can be a program name with args.
8727 set dummy prelink
; ac_word
=$2
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8729 $as_echo_n "checking for $ac_word... " >&6; }
8730 if ${ac_cv_path_PRELINK+:} false
; then :
8731 $as_echo_n "(cached) " >&6
8735 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8739 for as_dir
in /sbin
/usr
/sbin
$PATH
8742 test -z "$as_dir" && as_dir
=.
8743 for ac_exec_ext
in '' $ac_executable_extensions; do
8744 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8745 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8753 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8757 PRELINK
=$ac_cv_path_PRELINK
8758 if test -n "$PRELINK"; then
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8760 $as_echo "$PRELINK" >&6; }
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8763 $as_echo "no" >&6; }
8767 if test "x$PRELINK" = xfalse
8769 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8773 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8774 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false
; then :
8775 $as_echo_n "(cached) " >&6
8777 ac_wine_try_cflags_saved
=$CFLAGS
8778 CFLAGS
="$CFLAGS -Wl,-z,max-page-size=0x1000"
8779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8780 /* end confdefs.h. */
8781 int main(int argc, char **argv) { return 0; }
8783 if ac_fn_c_try_link
"$LINENO"; then :
8784 ac_cv_cflags__Wl__z_max_page_size_0x1000
=yes
8786 ac_cv_cflags__Wl__z_max_page_size_0x1000
=no
8788 rm -f core conftest.err conftest.
$ac_objext \
8789 conftest
$ac_exeext conftest.
$ac_ext
8790 CFLAGS
=$ac_wine_try_cflags_saved
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8793 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8794 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
; then :
8795 LDEXECFLAGS
="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8802 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8803 if ${ac_cv_c_dll_unixware+:} false
; then :
8804 $as_echo_n "(cached) " >&6
8806 ac_wine_try_cflags_saved
=$CFLAGS
8807 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8809 /* end confdefs.h. */
8812 if ac_fn_c_try_link
"$LINENO"; then :
8813 ac_cv_c_dll_unixware
="yes"
8815 ac_cv_c_dll_unixware
="no"
8817 rm -f core conftest.err conftest.
$ac_objext \
8818 conftest
$ac_exeext conftest.
$ac_ext
8819 CFLAGS
=$ac_wine_try_cflags_saved
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8822 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8823 if test "$ac_cv_c_dll_unixware" = "yes"
8825 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
8828 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
8830 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8832 LIBWINE_INSTALL_DEV
="libwine.so"
8834 LIBWINE_DEPENDS
="wine.map"
8839 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
8840 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8841 enable_winemac_drv
=${enable_winemac_drv:-no}
8842 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
8846 if test "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8850 ac_prefix_list
="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8852 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
8853 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8856 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
8857 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8859 ac_prefix_list
="" ;;
8861 for ac_prog
in $ac_prefix_list
8863 # Extract the first word of "$ac_prog", so it can be a program name with args.
8864 set dummy
$ac_prog; ac_word
=$2
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8866 $as_echo_n "checking for $ac_word... " >&6; }
8867 if ${ac_cv_prog_CROSSCC+:} false
; then :
8868 $as_echo_n "(cached) " >&6
8870 if test -n "$CROSSCC"; then
8871 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8877 test -z "$as_dir" && as_dir
=.
8878 for ac_exec_ext
in '' $ac_executable_extensions; do
8879 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8880 ac_cv_prog_CROSSCC
="$ac_prog"
8881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8890 CROSSCC
=$ac_cv_prog_CROSSCC
8891 if test -n "$CROSSCC"; then
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8893 $as_echo "$CROSSCC" >&6; }
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8896 $as_echo "no" >&6; }
8900 test -n "$CROSSCC" && break
8902 test -n "$CROSSCC" || CROSSCC
="false"
8904 if test "$CROSSCC" != "false"
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8909 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8911 /* end confdefs.h. */
8921 if ac_fn_c_try_compile
"$LINENO"; then :
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8923 $as_echo "yes" >&6; }
8929 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8930 *-clang) CROSSTARGET
=`expr "$1" : '\(.*\)-clang'` ;;
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8936 $as_echo "no" >&6; }
8938 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8944 if test "$ac_cv_header_pthread_h" = "yes"
8946 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8947 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8951 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8952 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8953 $as_echo_n "(cached) " >&6
8955 ac_check_lib_save_LIBS
=$LIBS
8956 LIBS
="-lpthread $LIBS"
8957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8958 /* end confdefs.h. */
8960 /* Override any GCC internal prototype to avoid an error.
8961 Use char because int might match the return type of a GCC
8962 builtin and then its argument prototype would still apply. */
8966 char pthread_create ();
8970 return pthread_create ();
8975 if ac_fn_c_try_link
"$LINENO"; then :
8976 ac_cv_lib_pthread_pthread_create
=yes
8978 ac_cv_lib_pthread_pthread_create
=no
8980 rm -f core conftest.err conftest.
$ac_objext \
8981 conftest
$ac_exeext conftest.
$ac_ext
8982 LIBS
=$ac_check_lib_save_LIBS
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8985 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8986 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8987 PTHREAD_LIBS
="-lpthread"
8994 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8995 case "x$with_pthread" in
8997 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8998 Wine cannot support threads without libpthread.
8999 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9006 $as_echo_n "checking for X... " >&6; }
9009 # Check whether --with-x was given.
9010 if test "${with_x+set}" = set; then :
9014 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9015 if test "x$with_x" = xno
; then
9016 # The user explicitly disabled X.
9019 case $x_includes,$x_libraries in #(
9020 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
9021 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
9022 $as_echo_n "(cached) " >&6
9024 # One or both of the vars are not set, and there is no cached value.
9025 ac_x_includes
=no ac_x_libraries
=no
9026 rm -f -r conftest.dir
9027 if mkdir conftest.dir
; then
9029 cat >Imakefile
<<'_ACEOF'
9031 @echo incroot='${INCROOT}'
9033 @echo usrlibdir='${USRLIBDIR}'
9035 @echo libdir='${LIBDIR}'
9037 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9038 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9039 for ac_var
in incroot usrlibdir libdir
; do
9040 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9042 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9043 for ac_extension
in a so sl dylib la dll
; do
9044 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9045 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9046 ac_im_usrlibdir
=$ac_im_libdir; break
9049 # Screen out bogus values from the imake configuration. They are
9050 # bogus both because they are the default anyway, and because
9051 # using them would break gcc on systems where it needs fixed includes.
9052 case $ac_im_incroot in
9053 /usr
/include
) ac_x_includes
= ;;
9054 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9056 case $ac_im_usrlibdir in
9057 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9058 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9062 rm -f -r conftest.dir
9065 # Standard set of common directories for X headers.
9066 # Check X11 before X11Rn because it is often a symlink to the current release.
9080 /usr/local/X11/include
9081 /usr/local/X11R7/include
9082 /usr/local/X11R6/include
9083 /usr/local/X11R5/include
9084 /usr/local/X11R4/include
9086 /usr/local/include/X11
9087 /usr/local/include/X11R7
9088 /usr/local/include/X11R6
9089 /usr/local/include/X11R5
9090 /usr/local/include/X11R4
9094 /usr/XFree86/include/X11
9098 /usr/unsupported/include
9100 /usr/local/x11r5/include
9101 /usr/lpp/Xamples/include
9103 /usr/openwin/include
9104 /usr/openwin/share/include'
9106 if test "$ac_x_includes" = no
; then
9107 # Guess where to find include files, by looking for Xlib.h.
9108 # First, try using that file with no special directory specified.
9109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9110 /* end confdefs.h. */
9111 #include <X11/Xlib.h>
9113 if ac_fn_c_try_cpp
"$LINENO"; then :
9114 # We can compile using X headers with no special include directory.
9117 for ac_dir
in $ac_x_header_dirs; do
9118 if test -r "$ac_dir/X11/Xlib.h"; then
9119 ac_x_includes
=$ac_dir
9124 rm -f conftest.err conftest.i conftest.
$ac_ext
9125 fi # $ac_x_includes = no
9127 if test "$ac_x_libraries" = no
; then
9128 # Check for the libraries.
9129 # See if we find them without any special options.
9130 # Don't add to $LIBS permanently.
9133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9134 /* end confdefs.h. */
9135 #include <X11/Xlib.h>
9144 if ac_fn_c_try_link
"$LINENO"; then :
9146 # We can link X programs with no special library path.
9150 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9152 # Don't even attempt the hair of trying to link an X program!
9153 for ac_extension
in a so sl dylib la dll
; do
9154 if test -r "$ac_dir/libX11.$ac_extension"; then
9155 ac_x_libraries
=$ac_dir
9161 rm -f core conftest.err conftest.
$ac_objext \
9162 conftest
$ac_exeext conftest.
$ac_ext
9163 fi # $ac_x_libraries = no
9165 case $ac_x_includes,$ac_x_libraries in #(
9167 # Didn't find X, or a directory has "'" in its name.
9168 ac_cv_have_x
="have_x=no";; #(
9170 # Record where we found X for the cache.
9171 ac_cv_have_x
="have_x=yes\
9172 ac_x_includes='$ac_x_includes'\
9173 ac_x_libraries='$ac_x_libraries'"
9179 eval "$ac_cv_have_x"
9182 if test "$have_x" != yes; then
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9184 $as_echo "$have_x" >&6; }
9187 # If each of the values was on the command line, it overrides each guess.
9188 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9189 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9190 # Update the cache value to reflect the command line values.
9191 ac_cv_have_x
="have_x=yes\
9192 ac_x_includes='$x_includes'\
9193 ac_x_libraries='$x_libraries'"
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9195 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9198 if test "$no_x" = yes; then
9199 # Not all programs may use this symbol, but it does not hurt to define it.
9201 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9203 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9205 if test -n "$x_includes"; then
9206 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9209 # It would also be nice to do this for all -L options, not just this one.
9210 if test -n "$x_libraries"; then
9211 X_LIBS
="$X_LIBS -L$x_libraries"
9212 # For Solaris; some versions of Sun CC require a space after -R and
9213 # others require no space. Words are not sufficient . . . .
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9215 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9216 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9217 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9218 ac_c_werror_flag
=yes
9219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9220 /* end confdefs.h. */
9230 if ac_fn_c_try_link
"$LINENO"; then :
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9232 $as_echo "no" >&6; }
9233 X_LIBS
="$X_LIBS -R$x_libraries"
9235 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9237 /* end confdefs.h. */
9247 if ac_fn_c_try_link
"$LINENO"; then :
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9249 $as_echo "yes" >&6; }
9250 X_LIBS
="$X_LIBS -R $x_libraries"
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9253 $as_echo "neither works" >&6; }
9255 rm -f core conftest.err conftest.
$ac_objext \
9256 conftest
$ac_exeext conftest.
$ac_ext
9258 rm -f core conftest.err conftest.
$ac_objext \
9259 conftest
$ac_exeext conftest.
$ac_ext
9260 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9264 # Check for system-dependent libraries X programs must link with.
9265 # Do this before checking for the system-independent R6 libraries
9266 # (-lICE), since we may need -lsocket or whatever for X linking.
9268 if test "$ISC" = yes; then
9269 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9271 # Martyn Johnson says this is needed for Ultrix, if the X
9272 # libraries were built with DECnet support. And Karl Berry says
9273 # the Alpha needs dnet_stub (dnet does not exist).
9274 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9276 /* end confdefs.h. */
9278 /* Override any GCC internal prototype to avoid an error.
9279 Use char because int might match the return type of a GCC
9280 builtin and then its argument prototype would still apply. */
9284 char XOpenDisplay ();
9288 return XOpenDisplay ();
9293 if ac_fn_c_try_link
"$LINENO"; then :
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9297 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9298 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9299 $as_echo_n "(cached) " >&6
9301 ac_check_lib_save_LIBS
=$LIBS
9303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9304 /* end confdefs.h. */
9306 /* Override any GCC internal prototype to avoid an error.
9307 Use char because int might match the return type of a GCC
9308 builtin and then its argument prototype would still apply. */
9316 return dnet_ntoa ();
9321 if ac_fn_c_try_link
"$LINENO"; then :
9322 ac_cv_lib_dnet_dnet_ntoa
=yes
9324 ac_cv_lib_dnet_dnet_ntoa
=no
9326 rm -f core conftest.err conftest.
$ac_objext \
9327 conftest
$ac_exeext conftest.
$ac_ext
9328 LIBS
=$ac_check_lib_save_LIBS
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9331 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9332 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9333 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9336 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9338 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9339 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9340 $as_echo_n "(cached) " >&6
9342 ac_check_lib_save_LIBS
=$LIBS
9343 LIBS
="-ldnet_stub $LIBS"
9344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9345 /* end confdefs.h. */
9347 /* Override any GCC internal prototype to avoid an error.
9348 Use char because int might match the return type of a GCC
9349 builtin and then its argument prototype would still apply. */
9357 return dnet_ntoa ();
9362 if ac_fn_c_try_link
"$LINENO"; then :
9363 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9365 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9367 rm -f core conftest.err conftest.
$ac_objext \
9368 conftest
$ac_exeext conftest.
$ac_ext
9369 LIBS
=$ac_check_lib_save_LIBS
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9372 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9373 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9374 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9379 rm -f core conftest.err conftest.
$ac_objext \
9380 conftest
$ac_exeext conftest.
$ac_ext
9381 LIBS
="$ac_xsave_LIBS"
9383 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9384 # to get the SysV transport functions.
9385 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9387 # The nsl library prevents programs from opening the X display
9388 # on Irix 5.2, according to T.E. Dickey.
9389 # The functions gethostbyname, getservbyname, and inet_addr are
9390 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9391 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9392 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9396 if test $ac_cv_func_gethostbyname = no
; then
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9398 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9399 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9400 $as_echo_n "(cached) " >&6
9402 ac_check_lib_save_LIBS
=$LIBS
9404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9405 /* end confdefs.h. */
9407 /* Override any GCC internal prototype to avoid an error.
9408 Use char because int might match the return type of a GCC
9409 builtin and then its argument prototype would still apply. */
9413 char gethostbyname ();
9417 return gethostbyname ();
9422 if ac_fn_c_try_link
"$LINENO"; then :
9423 ac_cv_lib_nsl_gethostbyname
=yes
9425 ac_cv_lib_nsl_gethostbyname
=no
9427 rm -f core conftest.err conftest.
$ac_objext \
9428 conftest
$ac_exeext conftest.
$ac_ext
9429 LIBS
=$ac_check_lib_save_LIBS
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9432 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9433 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9434 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9437 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9439 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9440 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9441 $as_echo_n "(cached) " >&6
9443 ac_check_lib_save_LIBS
=$LIBS
9445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9446 /* end confdefs.h. */
9448 /* Override any GCC internal prototype to avoid an error.
9449 Use char because int might match the return type of a GCC
9450 builtin and then its argument prototype would still apply. */
9454 char gethostbyname ();
9458 return gethostbyname ();
9463 if ac_fn_c_try_link
"$LINENO"; then :
9464 ac_cv_lib_bsd_gethostbyname
=yes
9466 ac_cv_lib_bsd_gethostbyname
=no
9468 rm -f core conftest.err conftest.
$ac_objext \
9469 conftest
$ac_exeext conftest.
$ac_ext
9470 LIBS
=$ac_check_lib_save_LIBS
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9473 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9474 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9475 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9481 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9482 # socket/setsockopt and other routines are undefined under SCO ODT
9483 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9484 # on later versions), says Simon Leinen: it contains gethostby*
9485 # variants that don't use the name server (or something). -lsocket
9486 # must be given before -lnsl if both are needed. We assume that
9487 # if connect needs -lnsl, so does gethostbyname.
9488 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9489 if test "x$ac_cv_func_connect" = xyes
; then :
9493 if test $ac_cv_func_connect = no
; then
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9495 $as_echo_n "checking for connect in -lsocket... " >&6; }
9496 if ${ac_cv_lib_socket_connect+:} false
; then :
9497 $as_echo_n "(cached) " >&6
9499 ac_check_lib_save_LIBS
=$LIBS
9500 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9502 /* end confdefs.h. */
9504 /* Override any GCC internal prototype to avoid an error.
9505 Use char because int might match the return type of a GCC
9506 builtin and then its argument prototype would still apply. */
9519 if ac_fn_c_try_link
"$LINENO"; then :
9520 ac_cv_lib_socket_connect
=yes
9522 ac_cv_lib_socket_connect
=no
9524 rm -f core conftest.err conftest.
$ac_objext \
9525 conftest
$ac_exeext conftest.
$ac_ext
9526 LIBS
=$ac_check_lib_save_LIBS
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9529 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9530 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9531 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9536 # Guillermo Gomez says -lposix is necessary on A/UX.
9537 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9538 if test "x$ac_cv_func_remove" = xyes
; then :
9542 if test $ac_cv_func_remove = no
; then
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9544 $as_echo_n "checking for remove in -lposix... " >&6; }
9545 if ${ac_cv_lib_posix_remove+:} false
; then :
9546 $as_echo_n "(cached) " >&6
9548 ac_check_lib_save_LIBS
=$LIBS
9549 LIBS
="-lposix $LIBS"
9550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9551 /* end confdefs.h. */
9553 /* Override any GCC internal prototype to avoid an error.
9554 Use char because int might match the return type of a GCC
9555 builtin and then its argument prototype would still apply. */
9568 if ac_fn_c_try_link
"$LINENO"; then :
9569 ac_cv_lib_posix_remove
=yes
9571 ac_cv_lib_posix_remove
=no
9573 rm -f core conftest.err conftest.
$ac_objext \
9574 conftest
$ac_exeext conftest.
$ac_ext
9575 LIBS
=$ac_check_lib_save_LIBS
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9578 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9579 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9580 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9585 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9586 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9587 if test "x$ac_cv_func_shmat" = xyes
; then :
9591 if test $ac_cv_func_shmat = no
; then
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9593 $as_echo_n "checking for shmat in -lipc... " >&6; }
9594 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9595 $as_echo_n "(cached) " >&6
9597 ac_check_lib_save_LIBS
=$LIBS
9599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9600 /* end confdefs.h. */
9602 /* Override any GCC internal prototype to avoid an error.
9603 Use char because int might match the return type of a GCC
9604 builtin and then its argument prototype would still apply. */
9617 if ac_fn_c_try_link
"$LINENO"; then :
9618 ac_cv_lib_ipc_shmat
=yes
9620 ac_cv_lib_ipc_shmat
=no
9622 rm -f core conftest.err conftest.
$ac_objext \
9623 conftest
$ac_exeext conftest.
$ac_ext
9624 LIBS
=$ac_check_lib_save_LIBS
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9627 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9628 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9629 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9635 # Check for libraries that X11R6 Xt/Xaw programs need.
9636 ac_save_LDFLAGS
=$LDFLAGS
9637 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9638 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9639 # check for ICE first), but we must link in the order -lSM -lICE or
9640 # we get undefined symbols. So assume we have SM if we have ICE.
9641 # These have to be linked with before -lX11, unlike the other
9642 # libraries we check for below, so use a different variable.
9643 # John Interrante, Karl Berry
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9645 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9646 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9647 $as_echo_n "(cached) " >&6
9649 ac_check_lib_save_LIBS
=$LIBS
9650 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9652 /* end confdefs.h. */
9654 /* Override any GCC internal prototype to avoid an error.
9655 Use char because int might match the return type of a GCC
9656 builtin and then its argument prototype would still apply. */
9660 char IceConnectionNumber ();
9664 return IceConnectionNumber ();
9669 if ac_fn_c_try_link
"$LINENO"; then :
9670 ac_cv_lib_ICE_IceConnectionNumber
=yes
9672 ac_cv_lib_ICE_IceConnectionNumber
=no
9674 rm -f core conftest.err conftest.
$ac_objext \
9675 conftest
$ac_exeext conftest.
$ac_ext
9676 LIBS
=$ac_check_lib_save_LIBS
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9679 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9680 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9681 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9684 LDFLAGS
=$ac_save_LDFLAGS
9689 if test "$have_x" = "yes"
9691 ac_save_CPPFLAGS
="$CPPFLAGS"
9692 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9695 $as_echo_n "checking for -lX11... " >&6; }
9696 if ${ac_cv_lib_soname_X11+:} false
; then :
9697 $as_echo_n "(cached) " >&6
9699 ac_check_soname_save_LIBS
=$LIBS
9700 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9702 /* end confdefs.h. */
9704 /* Override any GCC internal prototype to avoid an error.
9705 Use char because int might match the return type of a GCC
9706 builtin and then its argument prototype would still apply. */
9710 char XCreateWindow ();
9714 return XCreateWindow ();
9719 if ac_fn_c_try_link
"$LINENO"; then :
9721 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9722 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'` ;;
9723 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9724 if ${ac_cv_lib_soname_X11:+false} :; then :
9725 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9729 rm -f core conftest.err conftest.
$ac_objext \
9730 conftest
$ac_exeext conftest.
$ac_ext
9731 LIBS
=$ac_check_soname_save_LIBS
9733 if ${ac_cv_lib_soname_X11:+false} :; then :
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9735 $as_echo "not found" >&6; }
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9739 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9741 cat >>confdefs.h
<<_ACEOF
9742 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9748 $as_echo_n "checking for -lXext... " >&6; }
9749 if ${ac_cv_lib_soname_Xext+:} false
; then :
9750 $as_echo_n "(cached) " >&6
9752 ac_check_soname_save_LIBS
=$LIBS
9753 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9755 /* end confdefs.h. */
9757 /* Override any GCC internal prototype to avoid an error.
9758 Use char because int might match the return type of a GCC
9759 builtin and then its argument prototype would still apply. */
9763 char XextCreateExtension ();
9767 return XextCreateExtension ();
9772 if ac_fn_c_try_link
"$LINENO"; then :
9774 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9775 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'` ;;
9776 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9777 if ${ac_cv_lib_soname_Xext:+false} :; then :
9778 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9782 rm -f core conftest.err conftest.
$ac_objext \
9783 conftest
$ac_exeext conftest.
$ac_ext
9784 LIBS
=$ac_check_soname_save_LIBS
9786 if ${ac_cv_lib_soname_Xext:+false} :; then :
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9788 $as_echo "not found" >&6; }
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9792 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9794 cat >>confdefs.h
<<_ACEOF
9795 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9798 X_LIBS
="$X_LIBS -lXext"
9800 X_LIBS
="$X_LIBS -lX11"
9802 for ac_header
in X11
/Xlib.h \
9805 X11
/Xcursor
/Xcursor.h \
9806 X11
/extensions
/shape.h \
9807 X11
/extensions
/XInput.h \
9808 X11
/extensions
/XInput2.h \
9809 X11
/extensions
/XShm.h \
9810 X11
/extensions
/Xcomposite.h \
9811 X11
/extensions
/Xinerama.h \
9812 X11
/extensions
/Xrandr.h \
9813 X11
/extensions
/Xrender.h \
9814 X11
/extensions
/xf86vmode.h \
9815 X11
/extensions
/xf86vmproto.h
9817 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9818 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9819 # include <X11/Xlib.h>
9821 #ifdef HAVE_X11_XUTIL_H
9822 # include <X11/Xutil.h>
9825 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9826 cat >>confdefs.h
<<_ACEOF
9827 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9835 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9838 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9839 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9840 $as_echo_n "(cached) " >&6
9842 ac_check_lib_save_LIBS
=$LIBS
9843 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9845 /* end confdefs.h. */
9847 /* Override any GCC internal prototype to avoid an error.
9848 Use char because int might match the return type of a GCC
9849 builtin and then its argument prototype would still apply. */
9853 char XkbQueryExtension ();
9857 return XkbQueryExtension ();
9862 if ac_fn_c_try_link
"$LINENO"; then :
9863 ac_cv_lib_X11_XkbQueryExtension
=yes
9865 ac_cv_lib_X11_XkbQueryExtension
=no
9867 rm -f core conftest.err conftest.
$ac_objext \
9868 conftest
$ac_exeext conftest.
$ac_ext
9869 LIBS
=$ac_check_lib_save_LIBS
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9872 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9873 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9875 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9881 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9884 $as_echo_n "checking for -lXcursor... " >&6; }
9885 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9886 $as_echo_n "(cached) " >&6
9888 ac_check_soname_save_LIBS
=$LIBS
9889 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9891 /* end confdefs.h. */
9893 /* Override any GCC internal prototype to avoid an error.
9894 Use char because int might match the return type of a GCC
9895 builtin and then its argument prototype would still apply. */
9899 char XcursorImageLoadCursor ();
9903 return XcursorImageLoadCursor ();
9908 if ac_fn_c_try_link
"$LINENO"; then :
9910 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9911 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'` ;;
9912 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9913 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9914 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9918 rm -f core conftest.err conftest.
$ac_objext \
9919 conftest
$ac_exeext conftest.
$ac_ext
9920 LIBS
=$ac_check_soname_save_LIBS
9922 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9924 $as_echo "not found" >&6; }
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9928 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9930 cat >>confdefs.h
<<_ACEOF
9931 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9937 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9938 case "x$with_xcursor" in
9939 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9941 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9942 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9947 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9950 $as_echo_n "checking for -lXi... " >&6; }
9951 if ${ac_cv_lib_soname_Xi+:} false
; then :
9952 $as_echo_n "(cached) " >&6
9954 ac_check_soname_save_LIBS
=$LIBS
9955 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9957 /* end confdefs.h. */
9959 /* Override any GCC internal prototype to avoid an error.
9960 Use char because int might match the return type of a GCC
9961 builtin and then its argument prototype would still apply. */
9965 char XOpenDevice ();
9969 return XOpenDevice ();
9974 if ac_fn_c_try_link
"$LINENO"; then :
9976 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9977 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'` ;;
9978 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9979 if ${ac_cv_lib_soname_Xi:+false} :; then :
9980 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9984 rm -f core conftest.err conftest.
$ac_objext \
9985 conftest
$ac_exeext conftest.
$ac_ext
9986 LIBS
=$ac_check_soname_save_LIBS
9988 if ${ac_cv_lib_soname_Xi:+false} :; then :
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9990 $as_echo "not found" >&6; }
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9994 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9996 cat >>confdefs.h
<<_ACEOF
9997 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10003 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10004 case "x$with_xinput" in
10005 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10007 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10008 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10013 if test "x$ac_cv_lib_soname_Xi" != x
10015 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10016 case "x$with_xinput2" in
10017 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10019 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
10020 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10026 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10029 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10030 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
10031 $as_echo_n "(cached) " >&6
10033 ac_check_lib_save_LIBS
=$LIBS
10034 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10036 /* end confdefs.h. */
10038 /* Override any GCC internal prototype to avoid an error.
10039 Use char because int might match the return type of a GCC
10040 builtin and then its argument prototype would still apply. */
10044 char XShmQueryExtension ();
10048 return XShmQueryExtension ();
10053 if ac_fn_c_try_link
"$LINENO"; then :
10054 ac_cv_lib_Xext_XShmQueryExtension
=yes
10056 ac_cv_lib_Xext_XShmQueryExtension
=no
10058 rm -f core conftest.err conftest.
$ac_objext \
10059 conftest
$ac_exeext conftest.
$ac_ext
10060 LIBS
=$ac_check_lib_save_LIBS
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10063 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10064 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10066 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10071 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10072 case "x$with_xshm" in
10073 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10075 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10076 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10081 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10084 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10085 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10086 $as_echo_n "(cached) " >&6
10088 ac_check_lib_save_LIBS
=$LIBS
10089 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10091 /* end confdefs.h. */
10093 /* Override any GCC internal prototype to avoid an error.
10094 Use char because int might match the return type of a GCC
10095 builtin and then its argument prototype would still apply. */
10099 char XShapeQueryExtension ();
10103 return XShapeQueryExtension ();
10108 if ac_fn_c_try_link
"$LINENO"; then :
10109 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10111 ac_cv_lib_Xext_XShapeQueryExtension
=no
10113 rm -f core conftest.err conftest.
$ac_objext \
10114 conftest
$ac_exeext conftest.
$ac_ext
10115 LIBS
=$ac_check_lib_save_LIBS
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10118 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10119 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10121 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10126 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10127 case "x$with_xshape" in
10128 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10130 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10131 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10136 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10139 $as_echo_n "checking for -lXxf86vm... " >&6; }
10140 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10141 $as_echo_n "(cached) " >&6
10143 ac_check_soname_save_LIBS
=$LIBS
10144 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10146 /* end confdefs.h. */
10148 /* Override any GCC internal prototype to avoid an error.
10149 Use char because int might match the return type of a GCC
10150 builtin and then its argument prototype would still apply. */
10154 char XF86VidModeQueryExtension ();
10158 return XF86VidModeQueryExtension ();
10163 if ac_fn_c_try_link
"$LINENO"; then :
10165 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10166 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'` ;;
10167 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10168 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10169 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10173 rm -f core conftest.err conftest.
$ac_objext \
10174 conftest
$ac_exeext conftest.
$ac_ext
10175 LIBS
=$ac_check_soname_save_LIBS
10177 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10179 $as_echo "not found" >&6; }
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10183 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10185 cat >>confdefs.h
<<_ACEOF
10186 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10192 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10193 case "x$with_xxf86vm" in
10194 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10196 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10197 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10202 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10205 $as_echo_n "checking for -lXrender... " >&6; }
10206 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10207 $as_echo_n "(cached) " >&6
10209 ac_check_soname_save_LIBS
=$LIBS
10210 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10212 /* end confdefs.h. */
10214 /* Override any GCC internal prototype to avoid an error.
10215 Use char because int might match the return type of a GCC
10216 builtin and then its argument prototype would still apply. */
10220 char XRenderQueryExtension ();
10224 return XRenderQueryExtension ();
10229 if ac_fn_c_try_link
"$LINENO"; then :
10231 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10232 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'` ;;
10233 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10234 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10235 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10239 rm -f core conftest.err conftest.
$ac_objext \
10240 conftest
$ac_exeext conftest.
$ac_ext
10241 LIBS
=$ac_check_soname_save_LIBS
10243 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10245 $as_echo "not found" >&6; }
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10249 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10251 cat >>confdefs.h
<<_ACEOF
10252 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10256 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10257 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10258 $as_echo_n "(cached) " >&6
10260 ac_check_lib_save_LIBS
=$LIBS
10261 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10263 /* end confdefs.h. */
10265 /* Override any GCC internal prototype to avoid an error.
10266 Use char because int might match the return type of a GCC
10267 builtin and then its argument prototype would still apply. */
10271 char XRenderSetPictureTransform ();
10275 return XRenderSetPictureTransform ();
10280 if ac_fn_c_try_link
"$LINENO"; then :
10281 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10283 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10285 rm -f core conftest.err conftest.
$ac_objext \
10286 conftest
$ac_exeext conftest.
$ac_ext
10287 LIBS
=$ac_check_lib_save_LIBS
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10290 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10291 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10293 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10298 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10299 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10300 $as_echo_n "(cached) " >&6
10302 ac_check_lib_save_LIBS
=$LIBS
10303 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10305 /* end confdefs.h. */
10307 /* Override any GCC internal prototype to avoid an error.
10308 Use char because int might match the return type of a GCC
10309 builtin and then its argument prototype would still apply. */
10313 char XRenderCreateLinearGradient ();
10317 return XRenderCreateLinearGradient ();
10322 if ac_fn_c_try_link
"$LINENO"; then :
10323 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10325 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10327 rm -f core conftest.err conftest.
$ac_objext \
10328 conftest
$ac_exeext conftest.
$ac_ext
10329 LIBS
=$ac_check_lib_save_LIBS
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10332 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10333 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10335 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10342 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10343 case "x$with_xrender" in
10344 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10346 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10347 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10352 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10355 /* end confdefs.h. */
10356 #include <X11/Xlib.h>
10357 #include <X11/extensions/Xrandr.h>
10361 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10366 if ac_fn_c_try_compile
"$LINENO"; then :
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10368 $as_echo_n "checking for -lXrandr... " >&6; }
10369 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10370 $as_echo_n "(cached) " >&6
10372 ac_check_soname_save_LIBS
=$LIBS
10373 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10375 /* end confdefs.h. */
10377 /* Override any GCC internal prototype to avoid an error.
10378 Use char because int might match the return type of a GCC
10379 builtin and then its argument prototype would still apply. */
10383 char XRRQueryExtension ();
10387 return XRRQueryExtension ();
10392 if ac_fn_c_try_link
"$LINENO"; then :
10394 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10395 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'` ;;
10396 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10397 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10398 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10402 rm -f core conftest.err conftest.
$ac_objext \
10403 conftest
$ac_exeext conftest.
$ac_ext
10404 LIBS
=$ac_check_soname_save_LIBS
10406 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10408 $as_echo "not found" >&6; }
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10412 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10414 cat >>confdefs.h
<<_ACEOF
10415 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10419 /* end confdefs.h. */
10420 #include <X11/Xlib.h>
10421 #include <X11/extensions/Xrandr.h>
10425 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10430 if ac_fn_c_try_compile
"$LINENO"; then :
10432 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10438 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10440 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10441 case "x$with_xrandr" in
10442 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10444 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10445 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10450 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10453 /* end confdefs.h. */
10454 #include <X11/Xlib.h>
10455 #include <X11/extensions/Xinerama.h>
10459 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10464 if ac_fn_c_try_compile
"$LINENO"; then :
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10466 $as_echo_n "checking for -lXinerama... " >&6; }
10467 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10468 $as_echo_n "(cached) " >&6
10470 ac_check_soname_save_LIBS
=$LIBS
10471 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10473 /* end confdefs.h. */
10475 /* Override any GCC internal prototype to avoid an error.
10476 Use char because int might match the return type of a GCC
10477 builtin and then its argument prototype would still apply. */
10481 char XineramaQueryScreens ();
10485 return XineramaQueryScreens ();
10490 if ac_fn_c_try_link
"$LINENO"; then :
10492 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10493 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'` ;;
10494 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10495 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10496 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10500 rm -f core conftest.err conftest.
$ac_objext \
10501 conftest
$ac_exeext conftest.
$ac_ext
10502 LIBS
=$ac_check_soname_save_LIBS
10504 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10506 $as_echo "not found" >&6; }
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10510 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10512 cat >>confdefs.h
<<_ACEOF
10513 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10521 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10522 case "x$with_xinerama" in
10523 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10525 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10526 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10531 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10534 $as_echo_n "checking for -lXcomposite... " >&6; }
10535 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10536 $as_echo_n "(cached) " >&6
10538 ac_check_soname_save_LIBS
=$LIBS
10539 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10541 /* end confdefs.h. */
10543 /* Override any GCC internal prototype to avoid an error.
10544 Use char because int might match the return type of a GCC
10545 builtin and then its argument prototype would still apply. */
10549 char XCompositeRedirectWindow ();
10553 return XCompositeRedirectWindow ();
10558 if ac_fn_c_try_link
"$LINENO"; then :
10560 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10561 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'` ;;
10562 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10563 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10564 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10568 rm -f core conftest.err conftest.
$ac_objext \
10569 conftest
$ac_exeext conftest.
$ac_ext
10570 LIBS
=$ac_check_soname_save_LIBS
10572 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10574 $as_echo "not found" >&6; }
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10578 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10580 cat >>confdefs.h
<<_ACEOF
10581 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10587 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10588 case "x$with_xcomposite" in
10589 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10591 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10592 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10597 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10598 #include <X11/Xlib.h>
10601 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10603 cat >>confdefs.h
<<_ACEOF
10604 #define HAVE_XICCALLBACK_CALLBACK 1
10609 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10610 #include <X11/Xlib.h>
10613 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10615 cat >>confdefs.h
<<_ACEOF
10616 #define HAVE_XEVENT_XCOOKIE 1
10625 if test "x$with_opengl" != "xno"
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10628 $as_echo_n "checking for -lGL... " >&6; }
10629 if ${ac_cv_lib_soname_GL+:} false
; then :
10630 $as_echo_n "(cached) " >&6
10632 ac_check_soname_save_LIBS
=$LIBS
10633 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10635 /* end confdefs.h. */
10637 /* Override any GCC internal prototype to avoid an error.
10638 Use char because int might match the return type of a GCC
10639 builtin and then its argument prototype would still apply. */
10643 char glXCreateContext ();
10647 return glXCreateContext ();
10652 if ac_fn_c_try_link
"$LINENO"; then :
10654 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10655 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'` ;;
10656 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10657 if ${ac_cv_lib_soname_GL:+false} :; then :
10658 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10662 rm -f core conftest.err conftest.
$ac_objext \
10663 conftest
$ac_exeext conftest.
$ac_ext
10664 LIBS
=$ac_check_soname_save_LIBS
10666 if ${ac_cv_lib_soname_GL:+false} :; then :
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10668 $as_echo "not found" >&6; }
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10670 $as_echo_n "checking for -lGL... " >&6; }
10671 if ${ac_cv_lib_soname_GL+:} false
; then :
10672 $as_echo_n "(cached) " >&6
10674 ac_check_soname_save_LIBS
=$LIBS
10675 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"
10676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10677 /* end confdefs.h. */
10679 /* Override any GCC internal prototype to avoid an error.
10680 Use char because int might match the return type of a GCC
10681 builtin and then its argument prototype would still apply. */
10685 char glXCreateContext ();
10689 return glXCreateContext ();
10694 if ac_fn_c_try_link
"$LINENO"; then :
10696 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10697 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'` ;;
10698 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10699 if ${ac_cv_lib_soname_GL:+false} :; then :
10700 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10704 rm -f core conftest.err conftest.
$ac_objext \
10705 conftest
$ac_exeext conftest.
$ac_ext
10706 LIBS
=$ac_check_soname_save_LIBS
10708 if ${ac_cv_lib_soname_GL:+false} :; then :
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10710 $as_echo "not found" >&6; }
10711 if test -f /usr
/X11R
6/lib
/libGL.a
10713 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10714 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10716 opengl_msg
="No OpenGL library found on this system."
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10720 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10722 cat >>confdefs.h
<<_ACEOF
10723 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10726 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"
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10730 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10732 cat >>confdefs.h
<<_ACEOF
10733 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10738 if test "x$with_glu" != "xno"
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10741 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10742 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10743 $as_echo_n "(cached) " >&6
10745 ac_check_lib_save_LIBS
=$LIBS
10746 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10748 /* end confdefs.h. */
10750 /* Override any GCC internal prototype to avoid an error.
10751 Use char because int might match the return type of a GCC
10752 builtin and then its argument prototype would still apply. */
10760 return gluLookAt ();
10765 if ac_fn_c_try_link
"$LINENO"; then :
10766 ac_cv_lib_GLU_gluLookAt
=yes
10768 ac_cv_lib_GLU_gluLookAt
=no
10770 rm -f core conftest.err conftest.
$ac_objext \
10771 conftest
$ac_exeext conftest.
$ac_ext
10772 LIBS
=$ac_check_lib_save_LIBS
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10775 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10776 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10780 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10781 case "x$with_glu" in
10782 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10784 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10785 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10791 if test "x$with_osmesa" != "xno"
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10794 $as_echo_n "checking for -lOSMesa... " >&6; }
10795 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10796 $as_echo_n "(cached) " >&6
10798 ac_check_soname_save_LIBS
=$LIBS
10799 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10801 /* end confdefs.h. */
10803 /* Override any GCC internal prototype to avoid an error.
10804 Use char because int might match the return type of a GCC
10805 builtin and then its argument prototype would still apply. */
10818 if ac_fn_c_try_link
"$LINENO"; then :
10820 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10821 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'` ;;
10822 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10823 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10824 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10828 rm -f core conftest.err conftest.
$ac_objext \
10829 conftest
$ac_exeext conftest.
$ac_ext
10830 LIBS
=$ac_check_soname_save_LIBS
10832 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10834 $as_echo "not found" >&6; }
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10838 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10840 cat >>confdefs.h
<<_ACEOF
10841 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10846 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10847 case "x$with_osmesa" in
10848 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10850 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10851 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10857 if test -n "$opengl_msg"; then :
10858 case "x$with_opengl" in
10859 x
) as_fn_append wine_warnings
"|$opengl_msg
10860 OpenGL and Direct3D won't be supported." ;;
10862 *) as_fn_error $?
"$opengl_msg
10863 OpenGL and Direct3D won't be supported.
10864 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10869 CPPFLAGS
="$ac_save_CPPFLAGS"
10874 if test "x$X_LIBS" = "x"; then :
10877 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10878 without X support, which probably isn't what you want. You will need
10879 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10880 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10882 enable_winex11_drv
=${enable_winex11_drv:-no}
10885 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10887 if test "$ac_cv_header_CL_cl_h" = "yes"
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10890 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10891 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10892 $as_echo_n "(cached) " >&6
10894 ac_check_lib_save_LIBS
=$LIBS
10895 LIBS
="-lOpenCL $LIBS"
10896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10897 /* end confdefs.h. */
10899 /* Override any GCC internal prototype to avoid an error.
10900 Use char because int might match the return type of a GCC
10901 builtin and then its argument prototype would still apply. */
10905 char clGetPlatformInfo ();
10909 return clGetPlatformInfo ();
10914 if ac_fn_c_try_link
"$LINENO"; then :
10915 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10917 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10919 rm -f core conftest.err conftest.
$ac_objext \
10920 conftest
$ac_exeext conftest.
$ac_ext
10921 LIBS
=$ac_check_lib_save_LIBS
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10924 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10925 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10926 OPENCL_LIBS
="-lOpenCL"
10931 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10932 case "x$with_opencl" in
10933 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10935 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10936 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10938 enable_opencl
=${enable_opencl:-no}
10941 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10944 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10945 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10946 $as_echo_n "(cached) " >&6
10948 ac_check_lib_save_LIBS
=$LIBS
10949 LIBS
="-lpcap $LIBS"
10950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10951 /* end confdefs.h. */
10953 /* Override any GCC internal prototype to avoid an error.
10954 Use char because int might match the return type of a GCC
10955 builtin and then its argument prototype would still apply. */
10959 char pcap_create ();
10963 return pcap_create ();
10968 if ac_fn_c_try_link
"$LINENO"; then :
10969 ac_cv_lib_pcap_pcap_create
=yes
10971 ac_cv_lib_pcap_pcap_create
=no
10973 rm -f core conftest.err conftest.
$ac_objext \
10974 conftest
$ac_exeext conftest.
$ac_ext
10975 LIBS
=$ac_check_lib_save_LIBS
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10978 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10979 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10985 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10986 case "x$with_pcap" in
10987 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10989 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10990 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10992 enable_wpcap
=${enable_wpcap:-no}
10996 if test "x$with_xml" != "xno"
10998 if ${XML2_CFLAGS:+false} :; then :
10999 if ${PKG_CONFIG+:} false
; then :
11000 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11003 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11004 if ${XML2_LIBS:+false} :; then :
11005 if ${PKG_CONFIG+:} false
; then :
11006 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11009 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11010 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
11011 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11012 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11013 ac_save_CPPFLAGS
=$CPPFLAGS
11014 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
11015 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
11017 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11018 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11019 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11020 cat >>confdefs.h
<<_ACEOF
11021 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11028 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"
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11031 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11032 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
11033 $as_echo_n "(cached) " >&6
11035 ac_check_lib_save_LIBS
=$LIBS
11036 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11038 /* end confdefs.h. */
11040 /* Override any GCC internal prototype to avoid an error.
11041 Use char because int might match the return type of a GCC
11042 builtin and then its argument prototype would still apply. */
11046 char xmlParseMemory ();
11050 return xmlParseMemory ();
11055 if ac_fn_c_try_link
"$LINENO"; then :
11056 ac_cv_lib_xml2_xmlParseMemory
=yes
11058 ac_cv_lib_xml2_xmlParseMemory
=no
11060 rm -f core conftest.err conftest.
$ac_objext \
11061 conftest
$ac_exeext conftest.
$ac_ext
11062 LIBS
=$ac_check_lib_save_LIBS
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11065 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11066 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11068 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11075 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11076 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11077 $as_echo_n "(cached) " >&6
11079 ac_check_lib_save_LIBS
=$LIBS
11080 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11082 /* end confdefs.h. */
11084 /* Override any GCC internal prototype to avoid an error.
11085 Use char because int might match the return type of a GCC
11086 builtin and then its argument prototype would still apply. */
11090 char xmlReadMemory ();
11094 return xmlReadMemory ();
11099 if ac_fn_c_try_link
"$LINENO"; then :
11100 ac_cv_lib_xml2_xmlReadMemory
=yes
11102 ac_cv_lib_xml2_xmlReadMemory
=no
11104 rm -f core conftest.err conftest.
$ac_objext \
11105 conftest
$ac_exeext conftest.
$ac_ext
11106 LIBS
=$ac_check_lib_save_LIBS
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11109 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11110 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11112 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11117 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11118 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11119 $as_echo_n "(cached) " >&6
11121 ac_check_lib_save_LIBS
=$LIBS
11122 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11124 /* end confdefs.h. */
11126 /* Override any GCC internal prototype to avoid an error.
11127 Use char because int might match the return type of a GCC
11128 builtin and then its argument prototype would still apply. */
11132 char xmlNewDocPI ();
11136 return xmlNewDocPI ();
11141 if ac_fn_c_try_link
"$LINENO"; then :
11142 ac_cv_lib_xml2_xmlNewDocPI
=yes
11144 ac_cv_lib_xml2_xmlNewDocPI
=no
11146 rm -f core conftest.err conftest.
$ac_objext \
11147 conftest
$ac_exeext conftest.
$ac_ext
11148 LIBS
=$ac_check_lib_save_LIBS
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11151 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11152 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11154 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11159 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11160 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11161 $as_echo_n "(cached) " >&6
11163 ac_check_lib_save_LIBS
=$LIBS
11164 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11166 /* end confdefs.h. */
11168 /* Override any GCC internal prototype to avoid an error.
11169 Use char because int might match the return type of a GCC
11170 builtin and then its argument prototype would still apply. */
11174 char xmlSchemaSetParserStructuredErrors ();
11178 return xmlSchemaSetParserStructuredErrors ();
11183 if ac_fn_c_try_link
"$LINENO"; then :
11184 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11186 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11188 rm -f core conftest.err conftest.
$ac_objext \
11189 conftest
$ac_exeext conftest.
$ac_ext
11190 LIBS
=$ac_check_lib_save_LIBS
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11193 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11194 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11196 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11201 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11202 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11203 $as_echo_n "(cached) " >&6
11205 ac_check_lib_save_LIBS
=$LIBS
11206 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11208 /* end confdefs.h. */
11210 /* Override any GCC internal prototype to avoid an error.
11211 Use char because int might match the return type of a GCC
11212 builtin and then its argument prototype would still apply. */
11216 char xmlSchemaSetValidStructuredErrors ();
11220 return xmlSchemaSetValidStructuredErrors ();
11225 if ac_fn_c_try_link
"$LINENO"; then :
11226 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11228 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11230 rm -f core conftest.err conftest.
$ac_objext \
11231 conftest
$ac_exeext conftest.
$ac_ext
11232 LIBS
=$ac_check_lib_save_LIBS
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11235 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11236 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11238 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11243 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11244 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11245 $as_echo_n "(cached) " >&6
11247 ac_check_lib_save_LIBS
=$LIBS
11248 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11250 /* end confdefs.h. */
11252 /* Override any GCC internal prototype to avoid an error.
11253 Use char because int might match the return type of a GCC
11254 builtin and then its argument prototype would still apply. */
11258 char xmlFirstElementChild ();
11262 return xmlFirstElementChild ();
11267 if ac_fn_c_try_link
"$LINENO"; then :
11268 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11270 ac_cv_lib_xml2_xmlFirstElementChild
=no
11272 rm -f core conftest.err conftest.
$ac_objext \
11273 conftest
$ac_exeext conftest.
$ac_ext
11274 LIBS
=$ac_check_lib_save_LIBS
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11277 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11278 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11280 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11284 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11286 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11288 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11296 CPPFLAGS
=$ac_save_CPPFLAGS
11297 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11298 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11301 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11302 case "x$with_xml" in
11303 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11305 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11306 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11311 if test "x$with_xslt" != "xno"
11313 if ${XSLT_CFLAGS:+false} :; then :
11314 if ${PKG_CONFIG+:} false
; then :
11315 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11318 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11319 if ${XSLT_LIBS:+false} :; then :
11320 if ${PKG_CONFIG+:} false
; then :
11321 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11324 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11325 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11326 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11327 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11328 ac_save_CPPFLAGS
=$CPPFLAGS
11329 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11330 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11332 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11333 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11334 # include <libxslt/pattern.h>
11337 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11338 cat >>confdefs.h
<<_ACEOF
11339 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11346 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11349 $as_echo_n "checking for -lxslt... " >&6; }
11350 if ${ac_cv_lib_soname_xslt+:} false
; then :
11351 $as_echo_n "(cached) " >&6
11353 ac_check_soname_save_LIBS
=$LIBS
11354 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11356 /* end confdefs.h. */
11358 /* Override any GCC internal prototype to avoid an error.
11359 Use char because int might match the return type of a GCC
11360 builtin and then its argument prototype would still apply. */
11364 char xsltCompilePattern ();
11368 return xsltCompilePattern ();
11373 if ac_fn_c_try_link
"$LINENO"; then :
11375 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11376 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'` ;;
11377 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11378 if ${ac_cv_lib_soname_xslt:+false} :; then :
11379 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11383 rm -f core conftest.err conftest.
$ac_objext \
11384 conftest
$ac_exeext conftest.
$ac_ext
11385 LIBS
=$ac_check_soname_save_LIBS
11387 if ${ac_cv_lib_soname_xslt:+false} :; then :
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11389 $as_echo "not found" >&6; }
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11393 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11395 cat >>confdefs.h
<<_ACEOF
11396 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11404 CPPFLAGS
=$ac_save_CPPFLAGS
11405 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11406 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11409 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11410 case "x$with_xslt" in
11411 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11413 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11414 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11419 if test "x$with_dbus" != "xno"
11421 if ${DBUS_CFLAGS:+false} :; then :
11422 if ${PKG_CONFIG+:} false
; then :
11423 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11427 if ${DBUS_LIBS:+false} :; then :
11428 if ${PKG_CONFIG+:} false
; then :
11429 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11434 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11435 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11436 ac_save_CPPFLAGS
=$CPPFLAGS
11437 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11438 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11439 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11441 $as_echo_n "checking for -ldbus-1... " >&6; }
11442 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11443 $as_echo_n "(cached) " >&6
11445 ac_check_soname_save_LIBS
=$LIBS
11446 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h. */
11450 /* Override any GCC internal prototype to avoid an error.
11451 Use char because int might match the return type of a GCC
11452 builtin and then its argument prototype would still apply. */
11456 char dbus_connection_close ();
11460 return dbus_connection_close ();
11465 if ac_fn_c_try_link
"$LINENO"; then :
11467 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11468 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'` ;;
11469 *) 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'`
11470 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11471 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11475 rm -f core conftest.err conftest.
$ac_objext \
11476 conftest
$ac_exeext conftest.
$ac_ext
11477 LIBS
=$ac_check_soname_save_LIBS
11479 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11481 $as_echo "not found" >&6; }
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11485 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11487 cat >>confdefs.h
<<_ACEOF
11488 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11498 CPPFLAGS
=$ac_save_CPPFLAGS
11499 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11500 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11503 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11504 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11505 case "x$with_dbus" in
11506 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11508 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11509 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11514 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11516 if ${HAL_CFLAGS:+false} :; then :
11517 if ${PKG_CONFIG+:} false
; then :
11518 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11522 if ${HAL_LIBS:+false} :; then :
11523 if ${PKG_CONFIG+:} false
; then :
11524 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11528 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11529 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11530 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11531 ac_save_CPPFLAGS
=$CPPFLAGS
11532 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11533 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11534 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11536 $as_echo_n "checking for -lhal... " >&6; }
11537 if ${ac_cv_lib_soname_hal+:} false
; then :
11538 $as_echo_n "(cached) " >&6
11540 ac_check_soname_save_LIBS
=$LIBS
11541 LIBS
="-lhal $HAL_LIBS $LIBS"
11542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11543 /* end confdefs.h. */
11545 /* Override any GCC internal prototype to avoid an error.
11546 Use char because int might match the return type of a GCC
11547 builtin and then its argument prototype would still apply. */
11551 char libhal_ctx_new ();
11555 return libhal_ctx_new ();
11560 if ac_fn_c_try_link
"$LINENO"; then :
11562 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11563 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'` ;;
11564 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11565 if ${ac_cv_lib_soname_hal:+false} :; then :
11566 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11570 rm -f core conftest.err conftest.
$ac_objext \
11571 conftest
$ac_exeext conftest.
$ac_ext
11572 LIBS
=$ac_check_soname_save_LIBS
11574 if ${ac_cv_lib_soname_hal:+false} :; then :
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11576 $as_echo "not found" >&6; }
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11580 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11582 cat >>confdefs.h
<<_ACEOF
11583 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11593 CPPFLAGS
=$ac_save_CPPFLAGS
11594 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11595 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11597 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11598 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11599 case "x$with_hal" in
11600 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11602 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11603 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11609 if test "x$with_gnutls" != "xno"
11611 if ${GNUTLS_CFLAGS:+false} :; then :
11612 if ${PKG_CONFIG+:} false
; then :
11613 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11617 if ${GNUTLS_LIBS:+false} :; then :
11618 if ${PKG_CONFIG+:} false
; then :
11619 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11624 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11625 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11626 ac_save_CPPFLAGS
=$CPPFLAGS
11627 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11628 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11629 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11631 /* end confdefs.h. */
11632 #include <gnutls/gnutls.h>
11633 #include <gnutls/crypto.h>
11637 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11642 if ac_fn_c_try_compile
"$LINENO"; then :
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11644 $as_echo_n "checking for -lgnutls... " >&6; }
11645 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11646 $as_echo_n "(cached) " >&6
11648 ac_check_soname_save_LIBS
=$LIBS
11649 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11651 /* end confdefs.h. */
11653 /* Override any GCC internal prototype to avoid an error.
11654 Use char because int might match the return type of a GCC
11655 builtin and then its argument prototype would still apply. */
11659 char gnutls_global_init ();
11663 return gnutls_global_init ();
11668 if ac_fn_c_try_link
"$LINENO"; then :
11670 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11671 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'` ;;
11672 *) 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'`
11673 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11674 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'`
11678 rm -f core conftest.err conftest.
$ac_objext \
11679 conftest
$ac_exeext conftest.
$ac_ext
11680 LIBS
=$ac_check_soname_save_LIBS
11682 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11684 $as_echo "not found" >&6; }
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11688 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11690 cat >>confdefs.h
<<_ACEOF
11691 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11696 ac_wine_check_funcs_save_LIBS
="$LIBS"
11697 LIBS
="$LIBS $GNUTLS_LIBS"
11698 for ac_func
in gnutls_hash
11700 ac_fn_c_check_func
"$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11701 if test "x$ac_cv_func_gnutls_hash" = xyes
; then :
11702 cat >>confdefs.h
<<_ACEOF
11703 #define HAVE_GNUTLS_HASH 1
11707 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11711 LIBS
="$ac_wine_check_funcs_save_LIBS"
11713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11719 CPPFLAGS
=$ac_save_CPPFLAGS
11720 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11721 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11724 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11725 case "x$with_gnutls" in
11726 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11728 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11729 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11735 if test "$ac_cv_header_ncurses_h" = "yes"
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11738 $as_echo_n "checking for -lncurses... " >&6; }
11739 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11740 $as_echo_n "(cached) " >&6
11742 ac_check_soname_save_LIBS
=$LIBS
11743 LIBS
="-lncurses $LIBS"
11744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11745 /* end confdefs.h. */
11747 /* Override any GCC internal prototype to avoid an error.
11748 Use char because int might match the return type of a GCC
11749 builtin and then its argument prototype would still apply. */
11762 if ac_fn_c_try_link
"$LINENO"; then :
11764 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11765 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'` ;;
11766 *) 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'`
11767 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11768 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11772 rm -f core conftest.err conftest.
$ac_objext \
11773 conftest
$ac_exeext conftest.
$ac_ext
11774 LIBS
=$ac_check_soname_save_LIBS
11776 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11778 $as_echo "not found" >&6; }
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11782 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11784 cat >>confdefs.h
<<_ACEOF
11785 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11788 CURSES_LIBS
="-lncurses"
11790 elif test "$ac_cv_header_curses_h" = "yes"
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11793 $as_echo_n "checking for -lcurses... " >&6; }
11794 if ${ac_cv_lib_soname_curses+:} false
; then :
11795 $as_echo_n "(cached) " >&6
11797 ac_check_soname_save_LIBS
=$LIBS
11798 LIBS
="-lcurses $LIBS"
11799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11800 /* end confdefs.h. */
11802 /* Override any GCC internal prototype to avoid an error.
11803 Use char because int might match the return type of a GCC
11804 builtin and then its argument prototype would still apply. */
11817 if ac_fn_c_try_link
"$LINENO"; then :
11819 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11820 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'` ;;
11821 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11822 if ${ac_cv_lib_soname_curses:+false} :; then :
11823 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11827 rm -f core conftest.err conftest.
$ac_objext \
11828 conftest
$ac_exeext conftest.
$ac_ext
11829 LIBS
=$ac_check_soname_save_LIBS
11831 if ${ac_cv_lib_soname_curses:+false} :; then :
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11833 $as_echo "not found" >&6; }
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11837 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11839 cat >>confdefs.h
<<_ACEOF
11840 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11843 CURSES_LIBS
="-lcurses"
11846 ac_save_LIBS
="$LIBS"
11847 LIBS
="$LIBS $CURSES_LIBS"
11848 for ac_func
in mousemask
11850 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11851 if test "x$ac_cv_func_mousemask" = xyes
; then :
11852 cat >>confdefs.h
<<_ACEOF
11853 #define HAVE_MOUSEMASK 1
11859 LIBS
="$ac_save_LIBS"
11860 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11861 case "x$with_curses" in
11862 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11864 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11865 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11870 if test "x$with_sane" != "xno"
11872 if ${SANE_CFLAGS:+false} :; then :
11873 if ${PKG_CONFIG+:} false
; then :
11874 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11877 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11878 if ${SANE_LIBS:+false} :; then :
11879 if ${PKG_CONFIG+:} false
; then :
11880 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11883 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11885 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11886 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11887 ac_save_CPPFLAGS
=$CPPFLAGS
11888 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11889 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11890 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11892 $as_echo_n "checking for -lsane... " >&6; }
11893 if ${ac_cv_lib_soname_sane+:} false
; then :
11894 $as_echo_n "(cached) " >&6
11896 ac_check_soname_save_LIBS
=$LIBS
11897 LIBS
="-lsane $SANE_LIBS $LIBS"
11898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11899 /* end confdefs.h. */
11901 /* Override any GCC internal prototype to avoid an error.
11902 Use char because int might match the return type of a GCC
11903 builtin and then its argument prototype would still apply. */
11911 return sane_init ();
11916 if ac_fn_c_try_link
"$LINENO"; then :
11918 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11919 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'` ;;
11920 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11921 if ${ac_cv_lib_soname_sane:+false} :; then :
11922 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11926 rm -f core conftest.err conftest.
$ac_objext \
11927 conftest
$ac_exeext conftest.
$ac_ext
11928 LIBS
=$ac_check_soname_save_LIBS
11930 if ${ac_cv_lib_soname_sane:+false} :; then :
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11932 $as_echo "not found" >&6; }
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11936 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11938 cat >>confdefs.h
<<_ACEOF
11939 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11949 CPPFLAGS
=$ac_save_CPPFLAGS
11950 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11951 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11954 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11955 case "x$with_sane" in
11956 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11958 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11959 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11964 if test "x$with_v4l" != "xno"
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11967 $as_echo_n "checking for -lv4l1... " >&6; }
11968 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11969 $as_echo_n "(cached) " >&6
11971 ac_check_soname_save_LIBS
=$LIBS
11972 LIBS
="-lv4l1 $LIBS"
11973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11974 /* end confdefs.h. */
11976 /* Override any GCC internal prototype to avoid an error.
11977 Use char because int might match the return type of a GCC
11978 builtin and then its argument prototype would still apply. */
11986 return v4l1_open ();
11991 if ac_fn_c_try_link
"$LINENO"; then :
11993 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11994 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'` ;;
11995 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11996 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11997 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12001 rm -f core conftest.err conftest.
$ac_objext \
12002 conftest
$ac_exeext conftest.
$ac_ext
12003 LIBS
=$ac_check_soname_save_LIBS
12005 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12007 $as_echo "not found" >&6; }
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12011 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12013 cat >>confdefs.h
<<_ACEOF
12014 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12020 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12021 case "x$with_v4l" in
12022 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
12024 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
12025 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12030 if test "x$with_gphoto" != "xno"
12032 if ${GPHOTO2_CFLAGS:+false} :; then :
12033 if ${PKG_CONFIG+:} false
; then :
12034 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12037 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12038 if ${GPHOTO2_LIBS:+false} :; then :
12039 if ${PKG_CONFIG+:} false
; then :
12040 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12043 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12044 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
12045 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12046 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12047 ac_save_CPPFLAGS
=$CPPFLAGS
12048 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
12049 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12050 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12052 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12053 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
12054 $as_echo_n "(cached) " >&6
12056 ac_check_lib_save_LIBS
=$LIBS
12057 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12059 /* end confdefs.h. */
12061 /* Override any GCC internal prototype to avoid an error.
12062 Use char because int might match the return type of a GCC
12063 builtin and then its argument prototype would still apply. */
12067 char gp_camera_new ();
12071 return gp_camera_new ();
12076 if ac_fn_c_try_link
"$LINENO"; then :
12077 ac_cv_lib_gphoto2_gp_camera_new
=yes
12079 ac_cv_lib_gphoto2_gp_camera_new
=no
12081 rm -f core conftest.err conftest.
$ac_objext \
12082 conftest
$ac_exeext conftest.
$ac_ext
12083 LIBS
=$ac_check_lib_save_LIBS
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12086 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12087 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12089 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12092 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12096 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12100 CPPFLAGS
=$ac_save_CPPFLAGS
12101 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12102 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12104 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12105 if ${PKG_CONFIG+:} false
; then :
12106 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12109 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12110 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12111 if ${PKG_CONFIG+:} false
; then :
12112 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12115 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12116 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12117 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12118 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12119 ac_save_CPPFLAGS
=$CPPFLAGS
12120 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12121 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12122 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12124 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12125 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12126 $as_echo_n "(cached) " >&6
12128 ac_check_lib_save_LIBS
=$LIBS
12129 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12131 /* end confdefs.h. */
12133 /* Override any GCC internal prototype to avoid an error.
12134 Use char because int might match the return type of a GCC
12135 builtin and then its argument prototype would still apply. */
12139 char gp_port_info_list_new ();
12143 return gp_port_info_list_new ();
12148 if ac_fn_c_try_link
"$LINENO"; then :
12149 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12151 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12153 rm -f core conftest.err conftest.
$ac_objext \
12154 conftest
$ac_exeext conftest.
$ac_ext
12155 LIBS
=$ac_check_lib_save_LIBS
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12158 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12159 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12161 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12164 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12168 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12172 CPPFLAGS
=$ac_save_CPPFLAGS
12173 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12174 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12177 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12178 case "x$with_gphoto" in
12179 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12181 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12182 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12186 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12187 case "x$with_gphoto" in
12188 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12190 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12191 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12197 if test "$ac_cv_header_resolv_h" = "yes"
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12200 $as_echo_n "checking for resolver library... " >&6; }
12201 if ${ac_cv_have_resolv+:} false
; then :
12202 $as_echo_n "(cached) " >&6
12204 ac_save_LIBS
="$LIBS"
12205 for lib
in '' -lresolv
12207 LIBS
="$lib $ac_save_LIBS"
12208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12209 /* end confdefs.h. */
12210 #ifdef HAVE_NETINET_IN_H
12211 #include <netinet/in.h>
12213 #include <resolv.h>
12217 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12222 if ac_fn_c_try_link
"$LINENO"; then :
12223 ac_cv_have_resolv
=${lib:-"none required"}
12225 ac_cv_have_resolv
="not found"
12227 rm -f core conftest.err conftest.
$ac_objext \
12228 conftest
$ac_exeext conftest.
$ac_ext
12229 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12231 LIBS
="$ac_save_LIBS"
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12234 $as_echo "$ac_cv_have_resolv" >&6; }
12236 case "$ac_cv_have_resolv" in
12240 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12243 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12245 RESOLV_LIBS
=$ac_cv_have_resolv
12250 if test "x$with_cms" != "xno"
12252 if ${LCMS2_CFLAGS:+false} :; then :
12253 if ${PKG_CONFIG+:} false
; then :
12254 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12258 if ${LCMS2_LIBS:+false} :; then :
12259 if ${PKG_CONFIG+:} false
; then :
12260 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12264 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12265 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12266 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12267 ac_save_CPPFLAGS
=$CPPFLAGS
12268 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12269 for ac_header
in lcms2.h
12271 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12272 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12273 cat >>confdefs.h
<<_ACEOF
12274 #define HAVE_LCMS2_H 1
12281 if test "$ac_cv_header_lcms2_h" = "yes"
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12284 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12285 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12286 $as_echo_n "(cached) " >&6
12288 ac_check_lib_save_LIBS
=$LIBS
12289 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12291 /* end confdefs.h. */
12293 /* Override any GCC internal prototype to avoid an error.
12294 Use char because int might match the return type of a GCC
12295 builtin and then its argument prototype would still apply. */
12299 char cmsOpenProfileFromFile ();
12303 return cmsOpenProfileFromFile ();
12308 if ac_fn_c_try_link
"$LINENO"; then :
12309 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12311 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12313 rm -f core conftest.err conftest.
$ac_objext \
12314 conftest
$ac_exeext conftest.
$ac_ext
12315 LIBS
=$ac_check_lib_save_LIBS
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12318 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12319 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12321 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12331 CPPFLAGS
=$ac_save_CPPFLAGS
12332 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12333 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12336 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12337 case "x$with_cms" in
12338 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12340 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12341 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12346 if test "x$with_freetype" != "xno"
12348 if ${FREETYPE_CFLAGS:+false} :; then :
12349 if ${PKG_CONFIG+:} false
; then :
12350 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12353 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12354 if ${FREETYPE_LIBS:+false} :; then :
12355 if ${PKG_CONFIG+:} false
; then :
12356 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12359 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12360 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12361 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12362 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12363 ac_save_CPPFLAGS
=$CPPFLAGS
12364 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12365 for ac_header
in ft2build.h
12367 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12368 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12369 cat >>confdefs.h
<<_ACEOF
12370 #define HAVE_FT2BUILD_H 1
12377 if test "$ac_cv_header_ft2build_h" = "yes"
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12380 $as_echo_n "checking for -lfreetype... " >&6; }
12381 if ${ac_cv_lib_soname_freetype+:} false
; then :
12382 $as_echo_n "(cached) " >&6
12384 ac_check_soname_save_LIBS
=$LIBS
12385 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12387 /* end confdefs.h. */
12389 /* Override any GCC internal prototype to avoid an error.
12390 Use char because int might match the return type of a GCC
12391 builtin and then its argument prototype would still apply. */
12395 char FT_Init_FreeType ();
12399 return FT_Init_FreeType ();
12404 if ac_fn_c_try_link
"$LINENO"; then :
12406 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12407 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'` ;;
12408 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12409 if ${ac_cv_lib_soname_freetype:+false} :; then :
12410 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12414 rm -f core conftest.err conftest.
$ac_objext \
12415 conftest
$ac_exeext conftest.
$ac_ext
12416 LIBS
=$ac_check_soname_save_LIBS
12418 if ${ac_cv_lib_soname_freetype:+false} :; then :
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12420 $as_echo "not found" >&6; }
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12424 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12426 cat >>confdefs.h
<<_ACEOF
12427 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12431 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12433 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12434 #include FT_MODULE_H
12436 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12438 cat >>confdefs.h
<<_ACEOF
12439 #define HAVE_FT_TRUETYPEENGINETYPE 1
12450 CPPFLAGS
=$ac_save_CPPFLAGS
12451 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12452 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12455 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12456 case "x$with_freetype" in
12458 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12459 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12461 enable_fonts
=${enable_fonts:-no}
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12465 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12466 if ${ac_cv_c_ppdev+:} false
; then :
12467 $as_echo_n "(cached) " >&6
12469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12470 /* end confdefs.h. */
12471 #ifdef HAVE_SYS_IOCTL_H
12472 # include <sys/ioctl.h>
12474 #include <linux/ppdev.h>
12478 ioctl (1,PPCLAIM,0)
12483 if ac_fn_c_try_compile
"$LINENO"; then :
12484 ac_cv_c_ppdev
="yes"
12488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12491 $as_echo "$ac_cv_c_ppdev" >&6; }
12492 if test "$ac_cv_c_ppdev" = "yes"
12495 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12499 ac_wine_check_funcs_save_LIBS
="$LIBS"
12500 LIBS
="$LIBS $PTHREAD_LIBS"
12502 pthread_attr_get_np \
12503 pthread_getattr_np \
12504 pthread_getthreadid_np \
12505 pthread_get_stackaddr_np \
12506 pthread_get_stacksize_np
12508 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12509 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12510 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12511 cat >>confdefs.h
<<_ACEOF
12512 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12518 LIBS
="$ac_wine_check_funcs_save_LIBS"
12520 if test "$ac_cv_header_zlib_h" = "yes"
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12523 $as_echo_n "checking for inflate in -lz... " >&6; }
12524 if ${ac_cv_lib_z_inflate+:} false
; then :
12525 $as_echo_n "(cached) " >&6
12527 ac_check_lib_save_LIBS
=$LIBS
12529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12530 /* end confdefs.h. */
12532 /* Override any GCC internal prototype to avoid an error.
12533 Use char because int might match the return type of a GCC
12534 builtin and then its argument prototype would still apply. */
12547 if ac_fn_c_try_link
"$LINENO"; then :
12548 ac_cv_lib_z_inflate
=yes
12550 ac_cv_lib_z_inflate
=no
12552 rm -f core conftest.err conftest.
$ac_objext \
12553 conftest
$ac_exeext conftest.
$ac_ext
12554 LIBS
=$ac_check_lib_save_LIBS
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12557 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12558 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12560 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12567 if test "x$Z_LIBS" = "x"; then :
12568 case "x$with_zlib" in
12569 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12571 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12572 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12577 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
12579 if test "$ac_cv_header_gettext_po_h" = "yes"
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12582 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12583 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12584 $as_echo_n "(cached) " >&6
12586 ac_check_lib_save_LIBS
=$LIBS
12587 LIBS
="-lgettextpo $LIBS"
12588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12589 /* end confdefs.h. */
12591 /* Override any GCC internal prototype to avoid an error.
12592 Use char because int might match the return type of a GCC
12593 builtin and then its argument prototype would still apply. */
12597 char po_message_msgctxt ();
12601 return po_message_msgctxt ();
12606 if ac_fn_c_try_link
"$LINENO"; then :
12607 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12609 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12611 rm -f core conftest.err conftest.
$ac_objext \
12612 conftest
$ac_exeext conftest.
$ac_ext
12613 LIBS
=$ac_check_lib_save_LIBS
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12616 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12617 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12619 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12621 GETTEXTPO_LIBS
="-lgettextpo"
12626 if test "x$GETTEXTPO_LIBS" = "x"; then :
12627 case "x$with_gettextpo" in
12628 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12630 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12631 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12635 if test "$srcdir" != .
; then :
12636 case "x$with_gettextpo" in
12637 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
12639 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
12640 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12646 if test "x$with_pulse" != "xno";
12648 if ${PULSE_CFLAGS:+false} :; then :
12649 if ${PKG_CONFIG+:} false
; then :
12650 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12654 if ${PULSE_LIBS:+false} :; then :
12655 if ${PKG_CONFIG+:} false
; then :
12656 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12661 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12662 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12663 ac_save_CPPFLAGS
=$CPPFLAGS
12664 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12665 for ac_header
in pulse
/pulseaudio.h
12667 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12668 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12669 cat >>confdefs.h
<<_ACEOF
12670 #define HAVE_PULSE_PULSEAUDIO_H 1
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12673 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12674 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12675 $as_echo_n "(cached) " >&6
12677 ac_check_lib_save_LIBS
=$LIBS
12678 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12680 /* end confdefs.h. */
12682 /* Override any GCC internal prototype to avoid an error.
12683 Use char because int might match the return type of a GCC
12684 builtin and then its argument prototype would still apply. */
12688 char pa_stream_is_corked ();
12692 return pa_stream_is_corked ();
12697 if ac_fn_c_try_link
"$LINENO"; then :
12698 ac_cv_lib_pulse_pa_stream_is_corked
=yes
12700 ac_cv_lib_pulse_pa_stream_is_corked
=no
12702 rm -f core conftest.err conftest.
$ac_objext \
12703 conftest
$ac_exeext conftest.
$ac_ext
12704 LIBS
=$ac_check_lib_save_LIBS
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12707 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12708 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
12720 CPPFLAGS
=$ac_save_CPPFLAGS
12721 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12722 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12725 if test -z "$PULSE_LIBS"; then :
12726 case "x$with_pulse" in
12727 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12729 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12730 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12732 enable_winepulse_drv
=${enable_winepulse_drv:-no}
12735 if test "x$with_gstreamer" != "xno"
12737 if ${GSTREAMER_CFLAGS:+false} :; then :
12738 if ${PKG_CONFIG+:} false
; then :
12739 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12743 if ${GSTREAMER_LIBS:+false} :; then :
12744 if ${PKG_CONFIG+:} false
; then :
12745 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12750 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12751 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12752 ac_save_CPPFLAGS
=$CPPFLAGS
12753 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12755 for i
in $GSTREAMER_CFLAGS
12758 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12761 GSTREAMER_CFLAGS
=$ac_gst_incl
12762 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12763 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12764 if test "x$ac_cv_header_gst_gst_h" = xyes
; then :
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12766 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12768 /* end confdefs.h. */
12769 #include <gst/gst.h>
12773 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12778 if ac_fn_c_try_compile
"$LINENO"; then :
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12780 $as_echo "yes" >&6; }
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12782 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12783 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false
; then :
12784 $as_echo_n "(cached) " >&6
12786 ac_check_lib_save_LIBS
=$LIBS
12787 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12789 /* end confdefs.h. */
12791 /* Override any GCC internal prototype to avoid an error.
12792 Use char because int might match the return type of a GCC
12793 builtin and then its argument prototype would still apply. */
12797 char gst_pad_new ();
12801 return gst_pad_new ();
12806 if ac_fn_c_try_link
"$LINENO"; then :
12807 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
12809 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
12811 rm -f core conftest.err conftest.
$ac_objext \
12812 conftest
$ac_exeext conftest.
$ac_ext
12813 LIBS
=$ac_check_lib_save_LIBS
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12816 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12817 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
; then :
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12823 $as_echo "no" >&6; }
12824 ac_glib2_broken
=yes
12825 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12827 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12831 CPPFLAGS
=$ac_save_CPPFLAGS
12832 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12833 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12836 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 :
12837 case "x$with_gstreamer" in
12838 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12840 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12841 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12845 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12849 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12852 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12853 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12854 $as_echo_n "(cached) " >&6
12856 ac_check_lib_save_LIBS
=$LIBS
12857 LIBS
="-lasound $LIBS"
12858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12859 /* end confdefs.h. */
12861 /* Override any GCC internal prototype to avoid an error.
12862 Use char because int might match the return type of a GCC
12863 builtin and then its argument prototype would still apply. */
12867 char snd_pcm_hw_params_get_access_mask ();
12871 return snd_pcm_hw_params_get_access_mask ();
12876 if ac_fn_c_try_link
"$LINENO"; then :
12877 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12879 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12881 rm -f core conftest.err conftest.
$ac_objext \
12882 conftest
$ac_exeext conftest.
$ac_ext
12883 LIBS
=$ac_check_lib_save_LIBS
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12886 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12887 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12889 /* end confdefs.h. */
12890 #ifdef HAVE_ALSA_ASOUNDLIB_H
12891 #include <alsa/asoundlib.h>
12892 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12893 #include <sys/asoundlib.h>
12898 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12903 if ac_fn_c_try_compile
"$LINENO"; then :
12904 ALSA_LIBS
="-lasound"
12906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12910 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12912 if test "x$with_oss" != xno
12914 ac_save_CPPFLAGS
="$CPPFLAGS"
12915 if test -f /etc
/oss.conf
12919 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12920 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12921 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12922 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12923 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12925 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12927 cat >>confdefs.h
<<_ACEOF
12928 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12931 OSS4_CFLAGS
="$ac_oss_incl"
12938 CPPFLAGS
="$ac_save_CPPFLAGS"
12940 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
; then :
12941 case "x$with_oss" in
12942 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12944 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12945 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12947 enable_wineoss_drv
=${enable_wineoss_drv:-no}
12950 if test "x$with_udev" != "xno"
12952 if ${UDEV_CFLAGS:+false} :; then :
12953 if ${PKG_CONFIG+:} false
; then :
12954 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12958 if ${UDEV_LIBS:+false} :; then :
12959 if ${PKG_CONFIG+:} false
; then :
12960 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
12964 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
12965 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12966 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12967 ac_save_CPPFLAGS
=$CPPFLAGS
12968 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
12969 for ac_header
in libudev.h
12971 ac_fn_c_check_header_mongrel
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12972 if test "x$ac_cv_header_libudev_h" = xyes
; then :
12973 cat >>confdefs.h
<<_ACEOF
12974 #define HAVE_LIBUDEV_H 1
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12977 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12978 if ${ac_cv_lib_udev_udev_new+:} false
; then :
12979 $as_echo_n "(cached) " >&6
12981 ac_check_lib_save_LIBS
=$LIBS
12982 LIBS
="-ludev $UDEV_LIBS $LIBS"
12983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12984 /* end confdefs.h. */
12986 /* Override any GCC internal prototype to avoid an error.
12987 Use char because int might match the return type of a GCC
12988 builtin and then its argument prototype would still apply. */
12996 return udev_new ();
13001 if ac_fn_c_try_link
"$LINENO"; then :
13002 ac_cv_lib_udev_udev_new
=yes
13004 ac_cv_lib_udev_udev_new
=no
13006 rm -f core conftest.err conftest.
$ac_objext \
13007 conftest
$ac_exeext conftest.
$ac_ext
13008 LIBS
=$ac_check_lib_save_LIBS
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13011 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13012 if test "x$ac_cv_lib_udev_udev_new" = xyes
; then :
13014 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13026 CPPFLAGS
=$ac_save_CPPFLAGS
13027 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS
=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13028 test -z "$UDEV_LIBS" || UDEV_LIBS
=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13031 if test "x$UDEV_LIBS" = "x"; then :
13032 case "x$with_udev" in
13033 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13035 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
13036 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13041 if test "x$with_capi" != "xno"
13043 if ${CAPI20_CFLAGS:+false} :; then :
13044 if ${PKG_CONFIG+:} false
; then :
13045 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13049 if ${CAPI20_LIBS:+false} :; then :
13050 if ${PKG_CONFIG+:} false
; then :
13051 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
13056 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13057 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13058 ac_save_CPPFLAGS
=$CPPFLAGS
13059 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
13060 for ac_header
in capi20.h linux
/capi.h
13062 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13063 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13065 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13066 cat >>confdefs.h
<<_ACEOF
13067 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13074 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13077 $as_echo_n "checking for -lcapi20... " >&6; }
13078 if ${ac_cv_lib_soname_capi20+:} false
; then :
13079 $as_echo_n "(cached) " >&6
13081 ac_check_soname_save_LIBS
=$LIBS
13082 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
13083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13084 /* end confdefs.h. */
13086 /* Override any GCC internal prototype to avoid an error.
13087 Use char because int might match the return type of a GCC
13088 builtin and then its argument prototype would still apply. */
13092 char capi20_register ();
13096 return capi20_register ();
13101 if ac_fn_c_try_link
"$LINENO"; then :
13103 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13104 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'` ;;
13105 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13106 if ${ac_cv_lib_soname_capi20:+false} :; then :
13107 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13111 rm -f core conftest.err conftest.
$ac_objext \
13112 conftest
$ac_exeext conftest.
$ac_ext
13113 LIBS
=$ac_check_soname_save_LIBS
13115 if ${ac_cv_lib_soname_capi20:+false} :; then :
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13117 $as_echo "not found" >&6; }
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13121 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13123 cat >>confdefs.h
<<_ACEOF
13124 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13130 CPPFLAGS
=$ac_save_CPPFLAGS
13131 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13132 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13135 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13136 case "x$with_capi" in
13137 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13139 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13140 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13147 if test "x$with_cups" != "xno"
13149 ac_save_CPPFLAGS
="$CPPFLAGS"
13150 ac_cups_cflags
=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13151 ac_cups_libs
=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13152 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
13153 for ac_header
in cups
/cups.h
13155 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13156 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
13157 cat >>confdefs.h
<<_ACEOF
13158 #define HAVE_CUPS_CUPS_H 1
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13161 $as_echo_n "checking for -lcups... " >&6; }
13162 if ${ac_cv_lib_soname_cups+:} false
; then :
13163 $as_echo_n "(cached) " >&6
13165 ac_check_soname_save_LIBS
=$LIBS
13166 LIBS
="-lcups $ac_cups_libs $LIBS"
13167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13168 /* end confdefs.h. */
13170 /* Override any GCC internal prototype to avoid an error.
13171 Use char because int might match the return type of a GCC
13172 builtin and then its argument prototype would still apply. */
13176 char cupsGetDefault ();
13180 return cupsGetDefault ();
13185 if ac_fn_c_try_link
"$LINENO"; then :
13187 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13188 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'` ;;
13189 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13190 if ${ac_cv_lib_soname_cups:+false} :; then :
13191 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13195 rm -f core conftest.err conftest.
$ac_objext \
13196 conftest
$ac_exeext conftest.
$ac_ext
13197 LIBS
=$ac_check_soname_save_LIBS
13199 if ${ac_cv_lib_soname_cups:+false} :; then :
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13201 $as_echo "not found" >&6; }
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13205 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13207 cat >>confdefs.h
<<_ACEOF
13208 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13211 CUPS_CFLAGS
="$ac_cups_cflags"
13213 for ac_header
in cups
/ppd.h
13215 ac_fn_c_check_header_mongrel
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13216 if test "x$ac_cv_header_cups_ppd_h" = xyes
; then :
13217 cat >>confdefs.h
<<_ACEOF
13218 #define HAVE_CUPS_PPD_H 1
13229 CPPFLAGS
="$ac_save_CPPFLAGS"
13231 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13232 case "x$with_cups" in
13233 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13235 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13236 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13241 if test "x$with_fontconfig" != "xno"
13243 if ${FONTCONFIG_CFLAGS:+false} :; then :
13244 if ${PKG_CONFIG+:} false
; then :
13245 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13248 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13249 if ${FONTCONFIG_LIBS:+false} :; then :
13250 if ${PKG_CONFIG+:} false
; then :
13251 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13254 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13256 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13257 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13258 ac_save_CPPFLAGS
=$CPPFLAGS
13259 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13260 for ac_header
in fontconfig
/fontconfig.h
13262 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13263 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13264 cat >>confdefs.h
<<_ACEOF
13265 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13272 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13275 $as_echo_n "checking for -lfontconfig... " >&6; }
13276 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13277 $as_echo_n "(cached) " >&6
13279 ac_check_soname_save_LIBS
=$LIBS
13280 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13282 /* end confdefs.h. */
13284 /* Override any GCC internal prototype to avoid an error.
13285 Use char because int might match the return type of a GCC
13286 builtin and then its argument prototype would still apply. */
13299 if ac_fn_c_try_link
"$LINENO"; then :
13301 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13302 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'` ;;
13303 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13304 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13305 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13309 rm -f core conftest.err conftest.
$ac_objext \
13310 conftest
$ac_exeext conftest.
$ac_ext
13311 LIBS
=$ac_check_soname_save_LIBS
13313 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13315 $as_echo "not found" >&6; }
13316 FONTCONFIG_CFLAGS
=""
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13319 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13321 cat >>confdefs.h
<<_ACEOF
13322 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13328 FONTCONFIG_CFLAGS
=""
13330 CPPFLAGS
=$ac_save_CPPFLAGS
13331 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13332 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13335 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13336 case "x$with_fontconfig" in
13337 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13339 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13340 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13345 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13348 $as_echo_n "checking for -lgsm... " >&6; }
13349 if ${ac_cv_lib_soname_gsm+:} false
; then :
13350 $as_echo_n "(cached) " >&6
13352 ac_check_soname_save_LIBS
=$LIBS
13354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13355 /* end confdefs.h. */
13357 /* Override any GCC internal prototype to avoid an error.
13358 Use char because int might match the return type of a GCC
13359 builtin and then its argument prototype would still apply. */
13363 char gsm_create ();
13367 return gsm_create ();
13372 if ac_fn_c_try_link
"$LINENO"; then :
13374 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13375 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'` ;;
13376 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13377 if ${ac_cv_lib_soname_gsm:+false} :; then :
13378 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13382 rm -f core conftest.err conftest.
$ac_objext \
13383 conftest
$ac_exeext conftest.
$ac_ext
13384 LIBS
=$ac_check_soname_save_LIBS
13386 if ${ac_cv_lib_soname_gsm:+false} :; then :
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13388 $as_echo "not found" >&6; }
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13392 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13394 cat >>confdefs.h
<<_ACEOF
13395 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13401 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13402 case "x$with_gsm" in
13403 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13405 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13406 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13411 if test "x$with_jpeg" != "xno"
13413 if ${JPEG_CFLAGS:+false} :; then :
13414 if ${PKG_CONFIG+:} false
; then :
13415 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13419 if ${JPEG_LIBS:+false} :; then :
13420 if ${PKG_CONFIG+:} false
; then :
13421 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13426 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13427 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13428 ac_save_CPPFLAGS
=$CPPFLAGS
13429 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13430 for ac_header
in jpeglib.h
13432 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13433 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13434 cat >>confdefs.h
<<_ACEOF
13435 #define HAVE_JPEGLIB_H 1
13442 if test "$ac_cv_header_jpeglib_h" = "yes"
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13445 $as_echo_n "checking for -ljpeg... " >&6; }
13446 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13447 $as_echo_n "(cached) " >&6
13449 ac_check_soname_save_LIBS
=$LIBS
13450 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13452 /* end confdefs.h. */
13454 /* Override any GCC internal prototype to avoid an error.
13455 Use char because int might match the return type of a GCC
13456 builtin and then its argument prototype would still apply. */
13460 char jpeg_start_decompress ();
13464 return jpeg_start_decompress ();
13469 if ac_fn_c_try_link
"$LINENO"; then :
13471 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13472 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'` ;;
13473 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13474 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13475 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13479 rm -f core conftest.err conftest.
$ac_objext \
13480 conftest
$ac_exeext conftest.
$ac_ext
13481 LIBS
=$ac_check_soname_save_LIBS
13483 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13485 $as_echo "not found" >&6; }
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13489 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13491 cat >>confdefs.h
<<_ACEOF
13492 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13500 CPPFLAGS
=$ac_save_CPPFLAGS
13501 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13502 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13505 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13506 case "x$with_jpeg" in
13507 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13509 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13510 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13515 if test "x$with_png" != "xno"
13517 if ${PNG_CFLAGS:+false} :; then :
13518 if ${PKG_CONFIG+:} false
; then :
13519 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13522 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13523 if ${PNG_LIBS:+false} :; then :
13524 if ${PKG_CONFIG+:} false
; then :
13525 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13528 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13530 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13531 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13532 ac_save_CPPFLAGS
=$CPPFLAGS
13533 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13534 for ac_header
in png.h
13536 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13537 if test "x$ac_cv_header_png_h" = xyes
; then :
13538 cat >>confdefs.h
<<_ACEOF
13539 #define HAVE_PNG_H 1
13546 if test "$ac_cv_header_png_h" = "yes"
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13549 $as_echo_n "checking for -lpng... " >&6; }
13550 if ${ac_cv_lib_soname_png+:} false
; then :
13551 $as_echo_n "(cached) " >&6
13553 ac_check_soname_save_LIBS
=$LIBS
13554 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13556 /* end confdefs.h. */
13558 /* Override any GCC internal prototype to avoid an error.
13559 Use char because int might match the return type of a GCC
13560 builtin and then its argument prototype would still apply. */
13564 char png_create_read_struct ();
13568 return png_create_read_struct ();
13573 if ac_fn_c_try_link
"$LINENO"; then :
13575 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13576 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'` ;;
13577 *) 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'`
13578 if ${ac_cv_lib_soname_png:+false} :; then :
13579 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13583 rm -f core conftest.err conftest.
$ac_objext \
13584 conftest
$ac_exeext conftest.
$ac_ext
13585 LIBS
=$ac_check_soname_save_LIBS
13587 if ${ac_cv_lib_soname_png:+false} :; then :
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13589 $as_echo "not found" >&6; }
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13593 $as_echo "$ac_cv_lib_soname_png" >&6; }
13595 cat >>confdefs.h
<<_ACEOF
13596 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13600 /* end confdefs.h. */
13605 typeof(png_set_expand_gray_1_2_4_to_8) *p
13610 if ac_fn_c_try_compile
"$LINENO"; then :
13612 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13620 CPPFLAGS
=$ac_save_CPPFLAGS
13621 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13622 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13625 if test "x$ac_cv_lib_soname_png" = "x"; then :
13626 case "x$with_png" in
13627 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13629 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13630 This is an error since --with-png was requested." "$LINENO" 5 ;;
13635 if test "x$with_tiff" != "xno"
13637 if ${TIFF_CFLAGS:+false} :; then :
13638 if ${PKG_CONFIG+:} false
; then :
13639 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13643 if ${TIFF_LIBS:+false} :; then :
13644 if ${PKG_CONFIG+:} false
; then :
13645 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13650 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13651 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13652 ac_save_CPPFLAGS
=$CPPFLAGS
13653 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13654 for ac_header
in tiffio.h
13656 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13657 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13658 cat >>confdefs.h
<<_ACEOF
13659 #define HAVE_TIFFIO_H 1
13666 if test "$ac_cv_header_tiffio_h" = "yes"
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13669 $as_echo_n "checking for -ltiff... " >&6; }
13670 if ${ac_cv_lib_soname_tiff+:} false
; then :
13671 $as_echo_n "(cached) " >&6
13673 ac_check_soname_save_LIBS
=$LIBS
13674 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13676 /* end confdefs.h. */
13678 /* Override any GCC internal prototype to avoid an error.
13679 Use char because int might match the return type of a GCC
13680 builtin and then its argument prototype would still apply. */
13684 char TIFFClientOpen ();
13688 return TIFFClientOpen ();
13693 if ac_fn_c_try_link
"$LINENO"; then :
13695 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13696 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'` ;;
13697 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13698 if ${ac_cv_lib_soname_tiff:+false} :; then :
13699 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13703 rm -f core conftest.err conftest.
$ac_objext \
13704 conftest
$ac_exeext conftest.
$ac_ext
13705 LIBS
=$ac_check_soname_save_LIBS
13707 if ${ac_cv_lib_soname_tiff:+false} :; then :
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13709 $as_echo "not found" >&6; }
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13713 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13715 cat >>confdefs.h
<<_ACEOF
13716 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13722 CPPFLAGS
=$ac_save_CPPFLAGS
13723 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13724 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13727 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13728 case "x$with_tiff" in
13729 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13731 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13732 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13737 if test "x$with_mpg123" != "xno"
13739 if ${MPG123_CFLAGS:+false} :; then :
13740 if ${PKG_CONFIG+:} false
; then :
13741 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13745 if ${MPG123_LIBS:+false} :; then :
13746 if ${PKG_CONFIG+:} false
; then :
13747 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13751 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13752 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13753 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13754 ac_save_CPPFLAGS
=$CPPFLAGS
13755 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13756 for ac_header
in mpg123.h
13758 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13759 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13760 cat >>confdefs.h
<<_ACEOF
13761 #define HAVE_MPG123_H 1
13768 if test "$ac_cv_header_mpg123_h" = "yes"
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13771 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13772 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13773 $as_echo_n "(cached) " >&6
13775 ac_check_lib_save_LIBS
=$LIBS
13776 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13778 /* end confdefs.h. */
13780 /* Override any GCC internal prototype to avoid an error.
13781 Use char because int might match the return type of a GCC
13782 builtin and then its argument prototype would still apply. */
13786 char mpg123_feed ();
13790 return mpg123_feed ();
13795 if ac_fn_c_try_link
"$LINENO"; then :
13796 ac_cv_lib_mpg123_mpg123_feed
=yes
13798 ac_cv_lib_mpg123_mpg123_feed
=no
13800 rm -f core conftest.err conftest.
$ac_objext \
13801 conftest
$ac_exeext conftest.
$ac_ext
13802 LIBS
=$ac_check_lib_save_LIBS
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13805 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13806 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13816 CPPFLAGS
=$ac_save_CPPFLAGS
13817 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13818 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13821 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13822 case "x$with_mpg123" in
13823 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13825 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13826 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13828 enable_winemp3_acm
=${enable_winemp3_acm:-no}
13831 if test "$ac_cv_header_AL_al_h" = "yes"
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13834 $as_echo_n "checking for -lopenal... " >&6; }
13835 if ${ac_cv_lib_soname_openal+:} false
; then :
13836 $as_echo_n "(cached) " >&6
13838 ac_check_soname_save_LIBS
=$LIBS
13839 LIBS
="-lopenal $LIBS"
13840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13841 /* end confdefs.h. */
13843 /* Override any GCC internal prototype to avoid an error.
13844 Use char because int might match the return type of a GCC
13845 builtin and then its argument prototype would still apply. */
13849 char alGetSource3i ();
13853 return alGetSource3i ();
13858 if ac_fn_c_try_link
"$LINENO"; then :
13860 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13861 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'` ;;
13862 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13863 if ${ac_cv_lib_soname_openal:+false} :; then :
13864 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13868 rm -f core conftest.err conftest.
$ac_objext \
13869 conftest
$ac_exeext conftest.
$ac_ext
13870 LIBS
=$ac_check_soname_save_LIBS
13872 if ${ac_cv_lib_soname_openal:+false} :; then :
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13874 $as_echo "not found" >&6; }
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13878 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13880 cat >>confdefs.h
<<_ACEOF
13881 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13884 OPENAL_LIBS
="-lopenal"
13886 ac_cv_lib_openal
=yes
13888 cat >>confdefs.h
<<_ACEOF
13889 #define HAVE_OPENAL 1
13894 if test "x$ac_cv_lib_openal" != xyes
; then :
13895 case "x$with_openal" in
13896 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13898 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13899 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13901 enable_openal32
=${enable_openal32:-no}
13904 if test "x$ac_cv_lib_openal" = xyes
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13907 $as_echo_n "checking for openal-soft... " >&6; }
13908 if ${ac_cv_have_openalsoft+:} false
; then :
13909 $as_echo_n "(cached) " >&6
13911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13912 /* end confdefs.h. */
13914 #include <AL/alc.h>
13915 #include <AL/alext.h>
13916 LPALCRENDERSAMPLESSOFT x;
13925 if ac_fn_c_try_compile
"$LINENO"; then :
13926 ac_cv_have_openalsoft
=yes
13928 ac_cv_have_openalsoft
=no
13930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13933 $as_echo "$ac_cv_have_openalsoft" >&6; }
13935 if test "x$ac_cv_have_openalsoft" != xyes
13937 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13938 enable_x3daudio1_0
=${enable_x3daudio1_0:-no}
13939 enable_x3daudio1_1
=${enable_x3daudio1_1:-no}
13940 enable_x3daudio1_2
=${enable_x3daudio1_2:-no}
13941 enable_x3daudio1_3
=${enable_x3daudio1_3:-no}
13942 enable_x3daudio1_4
=${enable_x3daudio1_4:-no}
13943 enable_x3daudio1_5
=${enable_x3daudio1_5:-no}
13944 enable_x3daudio1_6
=${enable_x3daudio1_6:-no}
13945 enable_x3daudio1_7
=${enable_x3daudio1_7:-no}
13946 enable_xapofx1_1
=${enable_xapofx1_1:-no}
13947 enable_xapofx1_2
=${enable_xapofx1_2:-no}
13948 enable_xapofx1_3
=${enable_xapofx1_3:-no}
13949 enable_xapofx1_4
=${enable_xapofx1_4:-no}
13950 enable_xapofx1_5
=${enable_xapofx1_5:-no}
13951 enable_xaudio2_0
=${enable_xaudio2_0:-no}
13952 enable_xaudio2_1
=${enable_xaudio2_1:-no}
13953 enable_xaudio2_2
=${enable_xaudio2_2:-no}
13954 enable_xaudio2_3
=${enable_xaudio2_3:-no}
13955 enable_xaudio2_4
=${enable_xaudio2_4:-no}
13956 enable_xaudio2_5
=${enable_xaudio2_5:-no}
13957 enable_xaudio2_6
=${enable_xaudio2_6:-no}
13958 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13959 enable_xaudio2_8
=${enable_xaudio2_8:-no}
13960 enable_xaudio2_9
=${enable_xaudio2_9:-no}
13963 if test "$ac_cv_header_kstat_h" = "yes"
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13966 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13967 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13968 $as_echo_n "(cached) " >&6
13970 ac_check_lib_save_LIBS
=$LIBS
13971 LIBS
="-lkstat $LIBS"
13972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13973 /* end confdefs.h. */
13975 /* Override any GCC internal prototype to avoid an error.
13976 Use char because int might match the return type of a GCC
13977 builtin and then its argument prototype would still apply. */
13981 char kstat_open ();
13985 return kstat_open ();
13990 if ac_fn_c_try_link
"$LINENO"; then :
13991 ac_cv_lib_kstat_kstat_open
=yes
13993 ac_cv_lib_kstat_kstat_open
=no
13995 rm -f core conftest.err conftest.
$ac_objext \
13996 conftest
$ac_exeext conftest.
$ac_ext
13997 LIBS
=$ac_check_lib_save_LIBS
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14000 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14001 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
14003 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14005 KSTAT_LIBS
="-lkstat"
14011 if test "$ac_cv_header_libprocstat_h" = "yes"
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14014 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14015 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
14016 $as_echo_n "(cached) " >&6
14018 ac_check_lib_save_LIBS
=$LIBS
14019 LIBS
="-lprocstat $LIBS"
14020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14021 /* end confdefs.h. */
14023 /* Override any GCC internal prototype to avoid an error.
14024 Use char because int might match the return type of a GCC
14025 builtin and then its argument prototype would still apply. */
14029 char procstat_open_sysctl ();
14033 return procstat_open_sysctl ();
14038 if ac_fn_c_try_link
"$LINENO"; then :
14039 ac_cv_lib_procstat_procstat_open_sysctl
=yes
14041 ac_cv_lib_procstat_procstat_open_sysctl
=no
14043 rm -f core conftest.err conftest.
$ac_objext \
14044 conftest
$ac_exeext conftest.
$ac_ext
14045 LIBS
=$ac_check_lib_save_LIBS
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14048 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14049 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
14051 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14053 PROCSTAT_LIBS
="-lprocstat"
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14060 $as_echo_n "checking for -lodbc... " >&6; }
14061 if ${ac_cv_lib_soname_odbc+:} false
; then :
14062 $as_echo_n "(cached) " >&6
14064 ac_check_soname_save_LIBS
=$LIBS
14065 LIBS
="-lodbc $LIBS"
14066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14067 /* end confdefs.h. */
14069 /* Override any GCC internal prototype to avoid an error.
14070 Use char because int might match the return type of a GCC
14071 builtin and then its argument prototype would still apply. */
14075 char SQLConnect ();
14079 return SQLConnect ();
14084 if ac_fn_c_try_link
"$LINENO"; then :
14086 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14087 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'` ;;
14088 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14089 if ${ac_cv_lib_soname_odbc:+false} :; then :
14090 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14094 rm -f core conftest.err conftest.
$ac_objext \
14095 conftest
$ac_exeext conftest.
$ac_ext
14096 LIBS
=$ac_check_soname_save_LIBS
14098 if ${ac_cv_lib_soname_odbc:+false} :; then :
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14100 $as_echo "not found" >&6; }
14101 cat >>confdefs.h
<<_ACEOF
14102 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14107 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14109 cat >>confdefs.h
<<_ACEOF
14110 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14116 if test "x$with_netapi" != "xno"
14118 if ${NETAPI_CFLAGS:+false} :; then :
14119 if ${PKG_CONFIG+:} false
; then :
14120 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14124 if ${NETAPI_LIBS:+false} :; then :
14125 if ${PKG_CONFIG+:} false
; then :
14126 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
14131 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14132 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14133 ac_save_CPPFLAGS
=$CPPFLAGS
14134 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14136 $as_echo_n "checking for -lnetapi... " >&6; }
14137 if ${ac_cv_lib_soname_netapi+:} false
; then :
14138 $as_echo_n "(cached) " >&6
14140 ac_check_soname_save_LIBS
=$LIBS
14141 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
14142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14143 /* end confdefs.h. */
14145 /* Override any GCC internal prototype to avoid an error.
14146 Use char because int might match the return type of a GCC
14147 builtin and then its argument prototype would still apply. */
14151 char libnetapi_init ();
14155 return libnetapi_init ();
14160 if ac_fn_c_try_link
"$LINENO"; then :
14162 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14163 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'` ;;
14164 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14165 if ${ac_cv_lib_soname_netapi:+false} :; then :
14166 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14170 rm -f core conftest.err conftest.
$ac_objext \
14171 conftest
$ac_exeext conftest.
$ac_ext
14172 LIBS
=$ac_check_soname_save_LIBS
14174 if ${ac_cv_lib_soname_netapi:+false} :; then :
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14176 $as_echo "not found" >&6; }
14177 cat >>confdefs.h
<<_ACEOF
14178 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14183 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14185 cat >>confdefs.h
<<_ACEOF
14186 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14191 CPPFLAGS
=$ac_save_CPPFLAGS
14192 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS
=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14193 test -z "$NETAPI_LIBS" || NETAPI_LIBS
=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14197 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono
-a \
14198 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14200 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
14206 if test "x${GCC}" = "xyes"
14208 EXTRACFLAGS
="-Wall -pipe"
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14211 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14212 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
14213 $as_echo_n "(cached) " >&6
14215 if test "$cross_compiling" = yes; then :
14216 ac_cv_c_gcc_strength_bug
="no"
14218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14219 /* end confdefs.h. */
14220 int L[4] = {0,1,2,3};
14224 static int Array[3];
14225 unsigned int B = 3;
14227 for(i=0; i<B; i++) Array[i] = i - 3;
14228 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14230 return (Array[1] != -2 || L[2] != 3)
14235 if ac_fn_c_try_run
"$LINENO"; then :
14236 ac_cv_c_gcc_strength_bug
="no"
14238 ac_cv_c_gcc_strength_bug
="yes"
14240 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14241 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14246 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14247 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14249 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14253 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14254 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14255 $as_echo_n "(cached) " >&6
14257 ac_wine_try_cflags_saved
=$CFLAGS
14258 CFLAGS
="$CFLAGS -fno-builtin"
14259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14260 /* end confdefs.h. */
14261 int main(int argc, char **argv) { return 0; }
14263 if ac_fn_c_try_link
"$LINENO"; then :
14264 ac_cv_cflags__fno_builtin
=yes
14266 ac_cv_cflags__fno_builtin
=no
14268 rm -f core conftest.err conftest.
$ac_objext \
14269 conftest
$ac_exeext conftest.
$ac_ext
14270 CFLAGS
=$ac_wine_try_cflags_saved
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14273 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14274 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14275 BUILTINFLAG
="-fno-builtin"
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14279 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14280 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14281 $as_echo_n "(cached) " >&6
14283 ac_wine_try_cflags_saved
=$CFLAGS
14284 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14286 /* end confdefs.h. */
14287 int main(int argc, char **argv) { return 0; }
14289 if ac_fn_c_try_link
"$LINENO"; then :
14290 ac_cv_cflags__fno_strict_aliasing
=yes
14292 ac_cv_cflags__fno_strict_aliasing
=no
14294 rm -f core conftest.err conftest.
$ac_objext \
14295 conftest
$ac_exeext conftest.
$ac_ext
14296 CFLAGS
=$ac_wine_try_cflags_saved
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14299 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14300 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14301 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14304 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14305 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14306 $as_echo_n "(cached) " >&6
14308 ac_wine_try_cflags_saved
=$CFLAGS
14309 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14311 /* end confdefs.h. */
14312 int main(int argc, char **argv) { return 0; }
14314 if ac_fn_c_try_link
"$LINENO"; then :
14315 ac_cv_cflags__fexcess_precision_standard
=yes
14317 ac_cv_cflags__fexcess_precision_standard
=no
14319 rm -f core conftest.err conftest.
$ac_objext \
14320 conftest
$ac_exeext conftest.
$ac_ext
14321 CFLAGS
=$ac_wine_try_cflags_saved
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14324 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14325 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14326 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14329 saved_CFLAGS
=$CFLAGS
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14331 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14332 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14333 $as_echo_n "(cached) " >&6
14335 ac_wine_try_cflags_saved
=$CFLAGS
14336 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14339 int main(int argc, char **argv) { return 0; }
14341 if ac_fn_c_try_link
"$LINENO"; then :
14342 ac_cv_cflags__Werror_unknown_warning_option
=yes
14344 ac_cv_cflags__Werror_unknown_warning_option
=no
14346 rm -f core conftest.err conftest.
$ac_objext \
14347 conftest
$ac_exeext conftest.
$ac_ext
14348 CFLAGS
=$ac_wine_try_cflags_saved
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14351 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14352 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14353 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14356 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14357 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14358 $as_echo_n "(cached) " >&6
14360 ac_wine_try_cflags_saved
=$CFLAGS
14361 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14363 /* end confdefs.h. */
14364 int main(int argc, char **argv) { return 0; }
14366 if ac_fn_c_try_link
"$LINENO"; then :
14367 ac_cv_cflags__Wdeclaration_after_statement
=yes
14369 ac_cv_cflags__Wdeclaration_after_statement
=no
14371 rm -f core conftest.err conftest.
$ac_objext \
14372 conftest
$ac_exeext conftest.
$ac_ext
14373 CFLAGS
=$ac_wine_try_cflags_saved
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14376 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14377 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14378 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14381 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14382 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14383 $as_echo_n "(cached) " >&6
14385 ac_wine_try_cflags_saved
=$CFLAGS
14386 CFLAGS
="$CFLAGS -Wempty-body"
14387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14388 /* end confdefs.h. */
14389 int main(int argc, char **argv) { return 0; }
14391 if ac_fn_c_try_link
"$LINENO"; then :
14392 ac_cv_cflags__Wempty_body
=yes
14394 ac_cv_cflags__Wempty_body
=no
14396 rm -f core conftest.err conftest.
$ac_objext \
14397 conftest
$ac_exeext conftest.
$ac_ext
14398 CFLAGS
=$ac_wine_try_cflags_saved
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14401 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14402 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14403 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14406 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14407 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14408 $as_echo_n "(cached) " >&6
14410 ac_wine_try_cflags_saved
=$CFLAGS
14411 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14413 /* end confdefs.h. */
14414 int main(int argc, char **argv) { return 0; }
14416 if ac_fn_c_try_link
"$LINENO"; then :
14417 ac_cv_cflags__Wignored_qualifiers
=yes
14419 ac_cv_cflags__Wignored_qualifiers
=no
14421 rm -f core conftest.err conftest.
$ac_objext \
14422 conftest
$ac_exeext conftest.
$ac_ext
14423 CFLAGS
=$ac_wine_try_cflags_saved
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14426 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14427 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14428 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14431 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14432 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
14433 $as_echo_n "(cached) " >&6
14435 ac_wine_try_cflags_saved
=$CFLAGS
14436 CFLAGS
="$CFLAGS -Wshift-overflow=2"
14437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14438 /* end confdefs.h. */
14439 int main(int argc, char **argv) { return 0; }
14441 if ac_fn_c_try_link
"$LINENO"; then :
14442 ac_cv_cflags__Wshift_overflow_2
=yes
14444 ac_cv_cflags__Wshift_overflow_2
=no
14446 rm -f core conftest.err conftest.
$ac_objext \
14447 conftest
$ac_exeext conftest.
$ac_ext
14448 CFLAGS
=$ac_wine_try_cflags_saved
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14451 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14452 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
14453 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14456 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14457 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14458 $as_echo_n "(cached) " >&6
14460 ac_wine_try_cflags_saved
=$CFLAGS
14461 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14463 /* end confdefs.h. */
14464 int main(int argc, char **argv) { return 0; }
14466 if ac_fn_c_try_link
"$LINENO"; then :
14467 ac_cv_cflags__Wstrict_prototypes
=yes
14469 ac_cv_cflags__Wstrict_prototypes
=no
14471 rm -f core conftest.err conftest.
$ac_objext \
14472 conftest
$ac_exeext conftest.
$ac_ext
14473 CFLAGS
=$ac_wine_try_cflags_saved
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14476 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14477 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14478 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14481 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14482 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14483 $as_echo_n "(cached) " >&6
14485 ac_wine_try_cflags_saved
=$CFLAGS
14486 CFLAGS
="$CFLAGS -Wtype-limits"
14487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14488 /* end confdefs.h. */
14489 int main(int argc, char **argv) { return 0; }
14491 if ac_fn_c_try_link
"$LINENO"; then :
14492 ac_cv_cflags__Wtype_limits
=yes
14494 ac_cv_cflags__Wtype_limits
=no
14496 rm -f core conftest.err conftest.
$ac_objext \
14497 conftest
$ac_exeext conftest.
$ac_ext
14498 CFLAGS
=$ac_wine_try_cflags_saved
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14501 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14502 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14503 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14506 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14507 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14508 $as_echo_n "(cached) " >&6
14510 ac_wine_try_cflags_saved
=$CFLAGS
14511 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14513 /* end confdefs.h. */
14514 int main(int argc, char **argv) { return 0; }
14516 if ac_fn_c_try_link
"$LINENO"; then :
14517 ac_cv_cflags__Wunused_but_set_parameter
=yes
14519 ac_cv_cflags__Wunused_but_set_parameter
=no
14521 rm -f core conftest.err conftest.
$ac_objext \
14522 conftest
$ac_exeext conftest.
$ac_ext
14523 CFLAGS
=$ac_wine_try_cflags_saved
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14526 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14527 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14528 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14531 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14532 if ${ac_cv_cflags__Wvla+:} false
; then :
14533 $as_echo_n "(cached) " >&6
14535 ac_wine_try_cflags_saved
=$CFLAGS
14536 CFLAGS
="$CFLAGS -Wvla"
14537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14538 /* end confdefs.h. */
14539 int main(int argc, char **argv) { return 0; }
14541 if ac_fn_c_try_link
"$LINENO"; then :
14542 ac_cv_cflags__Wvla
=yes
14544 ac_cv_cflags__Wvla
=no
14546 rm -f core conftest.err conftest.
$ac_objext \
14547 conftest
$ac_exeext conftest.
$ac_ext
14548 CFLAGS
=$ac_wine_try_cflags_saved
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14551 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14552 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14553 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14556 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14557 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14558 $as_echo_n "(cached) " >&6
14560 ac_wine_try_cflags_saved
=$CFLAGS
14561 CFLAGS
="$CFLAGS -Wwrite-strings"
14562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14563 /* end confdefs.h. */
14564 int main(int argc, char **argv) { return 0; }
14566 if ac_fn_c_try_link
"$LINENO"; then :
14567 ac_cv_cflags__Wwrite_strings
=yes
14569 ac_cv_cflags__Wwrite_strings
=no
14571 rm -f core conftest.err conftest.
$ac_objext \
14572 conftest
$ac_exeext conftest.
$ac_ext
14573 CFLAGS
=$ac_wine_try_cflags_saved
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14576 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14577 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14578 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14582 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14583 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14584 $as_echo_n "(cached) " >&6
14586 ac_wine_try_cflags_saved
=$CFLAGS
14587 CFLAGS
="$CFLAGS -Wpointer-arith"
14588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14590 int main(int argc, char **argv) { return 0; }
14592 if ac_fn_c_try_link
"$LINENO"; then :
14593 ac_cv_cflags__Wpointer_arith
=yes
14595 ac_cv_cflags__Wpointer_arith
=no
14597 rm -f core conftest.err conftest.
$ac_objext \
14598 conftest
$ac_exeext conftest.
$ac_ext
14599 CFLAGS
=$ac_wine_try_cflags_saved
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14602 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14603 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14604 saved_string_h_CFLAGS
=$CFLAGS
14605 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14607 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14608 if ${ac_cv_c_string_h_warnings+:} false
; then :
14609 $as_echo_n "(cached) " >&6
14611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14612 /* end confdefs.h. */
14613 #include <string.h>
14622 if ac_fn_c_try_compile
"$LINENO"; then :
14623 ac_cv_c_string_h_warnings
=no
14625 ac_cv_c_string_h_warnings
=yes
14627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14630 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14631 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14632 CFLAGS
=$saved_string_h_CFLAGS
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14636 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14637 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14638 $as_echo_n "(cached) " >&6
14640 ac_wine_try_cflags_saved
=$CFLAGS
14641 CFLAGS
="$CFLAGS -Wlogical-op"
14642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h. */
14644 int main(int argc, char **argv) { return 0; }
14646 if ac_fn_c_try_link
"$LINENO"; then :
14647 ac_cv_cflags__Wlogical_op
=yes
14649 ac_cv_cflags__Wlogical_op
=no
14651 rm -f core conftest.err conftest.
$ac_objext \
14652 conftest
$ac_exeext conftest.
$ac_ext
14653 CFLAGS
=$ac_wine_try_cflags_saved
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14656 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14657 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14658 saved_string_h_CFLAGS
=$CFLAGS
14659 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14661 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14662 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14663 $as_echo_n "(cached) " >&6
14665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14666 /* end confdefs.h. */
14667 #include <string.h>
14668 char*f(const char *h,char n) {return strchr(h,n);}
14677 if ac_fn_c_try_compile
"$LINENO"; then :
14678 ac_cv_c_logicalop_noisy
=no
14680 ac_cv_c_logicalop_noisy
=yes
14682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14685 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14686 CFLAGS
=$saved_string_h_CFLAGS
14687 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14690 CFLAGS
=$saved_CFLAGS
14692 for ac_flag
in $CFLAGS; do
14694 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14695 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14696 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14697 $as_echo_n "(cached) " >&6
14699 ac_wine_try_cflags_saved
=$CFLAGS
14700 CFLAGS
="$CFLAGS -gdwarf-2"
14701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14702 /* end confdefs.h. */
14703 int main(int argc, char **argv) { return 0; }
14705 if ac_fn_c_try_link
"$LINENO"; then :
14706 ac_cv_cflags__gdwarf_2
=yes
14708 ac_cv_cflags__gdwarf_2
=no
14710 rm -f core conftest.err conftest.
$ac_objext \
14711 conftest
$ac_exeext conftest.
$ac_ext
14712 CFLAGS
=$ac_wine_try_cflags_saved
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14715 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14716 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14717 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14720 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14721 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14722 $as_echo_n "(cached) " >&6
14724 ac_wine_try_cflags_saved
=$CFLAGS
14725 CFLAGS
="$CFLAGS -gstrict-dwarf"
14726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14727 /* end confdefs.h. */
14728 int main(int argc, char **argv) { return 0; }
14730 if ac_fn_c_try_link
"$LINENO"; then :
14731 ac_cv_cflags__gstrict_dwarf
=yes
14733 ac_cv_cflags__gstrict_dwarf
=no
14735 rm -f core conftest.err conftest.
$ac_objext \
14736 conftest
$ac_exeext conftest.
$ac_ext
14737 CFLAGS
=$ac_wine_try_cflags_saved
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14740 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14741 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14742 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14748 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14749 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14750 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14751 $as_echo_n "(cached) " >&6
14753 ac_wine_try_cflags_saved
=$CFLAGS
14754 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14756 /* end confdefs.h. */
14757 int main(int argc, char **argv) { return 0; }
14759 if ac_fn_c_try_link
"$LINENO"; then :
14760 ac_cv_cflags__fno_omit_frame_pointer
=yes
14762 ac_cv_cflags__fno_omit_frame_pointer
=no
14764 rm -f core conftest.err conftest.
$ac_objext \
14765 conftest
$ac_exeext conftest.
$ac_ext
14766 CFLAGS
=$ac_wine_try_cflags_saved
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14769 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14770 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14771 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14776 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14777 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14778 if ${ac_cv_cflags__Wno_format+:} false
; then :
14779 $as_echo_n "(cached) " >&6
14781 ac_wine_try_cflags_saved
=$CFLAGS
14782 CFLAGS
="$CFLAGS -Wno-format"
14783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14784 /* end confdefs.h. */
14785 int main(int argc, char **argv) { return 0; }
14787 if ac_fn_c_try_link
"$LINENO"; then :
14788 ac_cv_cflags__Wno_format
=yes
14790 ac_cv_cflags__Wno_format
=no
14792 rm -f core conftest.err conftest.
$ac_objext \
14793 conftest
$ac_exeext conftest.
$ac_ext
14794 CFLAGS
=$ac_wine_try_cflags_saved
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14797 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14798 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14799 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14803 if test "x$enable_maintainer_mode" = "xyes"
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14806 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14807 if ${ac_cv_cflags__Werror+:} false
; then :
14808 $as_echo_n "(cached) " >&6
14810 ac_wine_try_cflags_saved
=$CFLAGS
14811 CFLAGS
="$CFLAGS -Werror"
14812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14813 /* end confdefs.h. */
14814 int main(int argc, char **argv) { return 0; }
14816 if ac_fn_c_try_link
"$LINENO"; then :
14817 ac_cv_cflags__Werror
=yes
14819 ac_cv_cflags__Werror
=no
14821 rm -f core conftest.err conftest.
$ac_objext \
14822 conftest
$ac_exeext conftest.
$ac_ext
14823 CFLAGS
=$ac_wine_try_cflags_saved
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14826 $as_echo "$ac_cv_cflags__Werror" >&6; }
14827 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14828 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14832 saved_CFLAGS
="$CFLAGS"
14833 CFLAGS
="$CFLAGS -Werror"
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14835 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14836 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14837 $as_echo_n "(cached) " >&6
14839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14840 /* end confdefs.h. */
14841 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14850 if ac_fn_c_try_compile
"$LINENO"; then :
14851 ac_cv_have_ms_hook_prologue
="yes"
14853 ac_cv_have_ms_hook_prologue
="no"
14855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14858 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14859 CFLAGS
="$saved_CFLAGS"
14860 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14863 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14866 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14873 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14874 if ${ac_cv_c_fortify_enabled+:} false
; then :
14875 $as_echo_n "(cached) " >&6
14877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14878 /* end confdefs.h. */
14879 #include <string.h>
14883 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14884 #error Fortify enabled
14890 if ac_fn_c_try_compile
"$LINENO"; then :
14891 ac_cv_c_fortify_enabled
=no
14893 ac_cv_c_fortify_enabled
=yes
14895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14898 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14899 if test "$ac_cv_c_fortify_enabled" = yes
14901 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14906 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14907 if ${ac_cv_c_extern_prefix+:} false
; then :
14908 $as_echo_n "(cached) " >&6
14910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14911 /* end confdefs.h. */
14912 extern int ac_test;
14916 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14921 if ac_fn_c_try_link
"$LINENO"; then :
14922 ac_cv_c_extern_prefix
="yes"
14924 ac_cv_c_extern_prefix
="no"
14926 rm -f core conftest.err conftest.
$ac_objext \
14927 conftest
$ac_exeext conftest.
$ac_ext
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14930 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14935 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14936 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14937 $as_echo_n "(cached) " >&6
14939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14940 /* end confdefs.h. */
14942 #define __stdcall __attribute__((__stdcall__))
14944 int __stdcall ac_test(int i) { return i; }
14948 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14953 if ac_fn_c_try_link
"$LINENO"; then :
14954 ac_cv_c_stdcall_suffix
="yes"
14956 ac_cv_c_stdcall_suffix
="no"
14958 rm -f core conftest.err conftest.
$ac_objext \
14959 conftest
$ac_exeext conftest.
$ac_ext
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14962 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14963 *) ac_cv_c_stdcall_suffix
="no" ;;
14967 if test "$ac_cv_c_extern_prefix" = "yes"
14969 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14971 asm_name_prefix
="_"
14973 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14979 if test "$ac_cv_c_stdcall_suffix" = "yes"
14981 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14984 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14990 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14991 if ${ac_cv_asm_func_def+:} false
; then :
14992 $as_echo_n "(cached) " >&6
14994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14995 /* end confdefs.h. */
15000 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15005 if ac_fn_c_try_link
"$LINENO"; then :
15006 ac_cv_asm_func_def
=".def"
15008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15009 /* end confdefs.h. */
15014 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15019 if ac_fn_c_try_link
"$LINENO"; then :
15020 ac_cv_asm_func_def
=".type @function"
15022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15023 /* end confdefs.h. */
15028 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15033 if ac_fn_c_try_link
"$LINENO"; then :
15034 ac_cv_asm_func_def
=".type 2"
15036 ac_cv_asm_func_def
="unknown"
15038 rm -f core conftest.err conftest.
$ac_objext \
15039 conftest
$ac_exeext conftest.
$ac_ext
15041 rm -f core conftest.err conftest.
$ac_objext \
15042 conftest
$ac_exeext conftest.
$ac_ext
15044 rm -f core conftest.err conftest.
$ac_objext \
15045 conftest
$ac_exeext conftest.
$ac_ext
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15048 $as_echo "$ac_cv_asm_func_def" >&6; }
15051 case "$ac_cv_asm_func_def" in
15053 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15055 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15057 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15059 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
15061 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15063 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
15065 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15067 asm_func_header
="" ;;
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15071 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15072 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
15073 $as_echo_n "(cached) " >&6
15075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15076 /* end confdefs.h. */
15077 asm(".text\n\t.long 0");
15086 if ac_fn_c_try_compile
"$LINENO"; then :
15087 ac_cv_c_asm_outside_funcs
="yes"
15089 ac_cv_c_asm_outside_funcs
="no"
15091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15094 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15097 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15098 if ${ac_cv_c_dot_previous+:} false
; then :
15099 $as_echo_n "(cached) " >&6
15101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15102 /* end confdefs.h. */
15107 asm(".text\nac_test:\t.long 0\n\t.previous");
15112 if ac_fn_c_try_link
"$LINENO"; then :
15113 ac_cv_c_dot_previous
="yes"
15115 ac_cv_c_dot_previous
="no"
15117 rm -f core conftest.err conftest.
$ac_objext \
15118 conftest
$ac_exeext conftest.
$ac_ext
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15121 $as_echo "$ac_cv_c_dot_previous" >&6; }
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15124 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15125 if ${ac_cv_c_cfi_support+:} false
; then :
15126 $as_echo_n "(cached) " >&6
15128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15129 /* end confdefs.h. */
15130 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15139 if ac_fn_c_try_compile
"$LINENO"; then :
15140 ac_cv_c_cfi_support
="yes"
15142 ac_cv_c_cfi_support
="no"
15144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15147 $as_echo "$ac_cv_c_cfi_support" >&6; }
15149 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15150 asm_func_trailer
=""
15151 if test "$ac_cv_c_dot_previous" = "yes"
15153 asm_func_trailer
="\\n\\t.previous"
15155 if test "$ac_cv_c_cfi_support" = "yes"
15157 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
15158 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
15160 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15162 UNWINDFLAGS
=-fasynchronous-unwind-tables
15165 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15167 if test "x$enable_win64" = "xyes"
15169 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15173 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
15176 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15178 cat >>confdefs.h
<<_ACEOF
15179 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15183 cat >>confdefs.h
<<_ACEOF
15184 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15189 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15192 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15197 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
15205 *i
[3456789]86*|x86_64
*)
15206 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
15207 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
15214 ac_save_CFLAGS
="$CFLAGS"
15215 CFLAGS
="$CFLAGS $BUILTINFLAG"
15295 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15296 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15297 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15298 cat >>confdefs.h
<<_ACEOF
15299 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15305 CFLAGS
="$ac_save_CFLAGS"
15307 if test "$ac_cv_func_dlopen" = no
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15310 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15311 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15312 $as_echo_n "(cached) " >&6
15314 ac_check_lib_save_LIBS
=$LIBS
15316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15317 /* end confdefs.h. */
15319 /* Override any GCC internal prototype to avoid an error.
15320 Use char because int might match the return type of a GCC
15321 builtin and then its argument prototype would still apply. */
15334 if ac_fn_c_try_link
"$LINENO"; then :
15335 ac_cv_lib_dl_dlopen
=yes
15337 ac_cv_lib_dl_dlopen
=no
15339 rm -f core conftest.err conftest.
$ac_objext \
15340 conftest
$ac_exeext conftest.
$ac_ext
15341 LIBS
=$ac_check_lib_save_LIBS
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15344 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15345 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15346 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15352 ac_wine_check_funcs_save_LIBS
="$LIBS"
15353 LIBS
="$LIBS $DL_LIBS"
15354 for ac_func
in dladdr
15356 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15357 if test "x$ac_cv_func_dladdr" = xyes
; then :
15358 cat >>confdefs.h
<<_ACEOF
15359 #define HAVE_DLADDR 1
15365 LIBS
="$ac_wine_check_funcs_save_LIBS"
15367 if test "$ac_cv_func_poll" = no
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15370 $as_echo_n "checking for poll in -lpoll... " >&6; }
15371 if ${ac_cv_lib_poll_poll+:} false
; then :
15372 $as_echo_n "(cached) " >&6
15374 ac_check_lib_save_LIBS
=$LIBS
15375 LIBS
="-lpoll $LIBS"
15376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15377 /* end confdefs.h. */
15379 /* Override any GCC internal prototype to avoid an error.
15380 Use char because int might match the return type of a GCC
15381 builtin and then its argument prototype would still apply. */
15394 if ac_fn_c_try_link
"$LINENO"; then :
15395 ac_cv_lib_poll_poll
=yes
15397 ac_cv_lib_poll_poll
=no
15399 rm -f core conftest.err conftest.
$ac_objext \
15400 conftest
$ac_exeext conftest.
$ac_ext
15401 LIBS
=$ac_check_lib_save_LIBS
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15404 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15405 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15406 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15414 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15415 if ${ac_cv_search_gethostbyname+:} false
; then :
15416 $as_echo_n "(cached) " >&6
15418 ac_func_search_save_LIBS
=$LIBS
15419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15420 /* end confdefs.h. */
15422 /* Override any GCC internal prototype to avoid an error.
15423 Use char because int might match the return type of a GCC
15424 builtin and then its argument prototype would still apply. */
15428 char gethostbyname ();
15432 return gethostbyname ();
15437 for ac_lib
in '' nsl
; do
15438 if test -z "$ac_lib"; then
15439 ac_res
="none required"
15442 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15444 if ac_fn_c_try_link
"$LINENO"; then :
15445 ac_cv_search_gethostbyname
=$ac_res
15447 rm -f core conftest.err conftest.
$ac_objext \
15449 if ${ac_cv_search_gethostbyname+:} false
; then :
15453 if ${ac_cv_search_gethostbyname+:} false
; then :
15456 ac_cv_search_gethostbyname
=no
15458 rm conftest.
$ac_ext
15459 LIBS
=$ac_func_search_save_LIBS
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15462 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15463 ac_res
=$ac_cv_search_gethostbyname
15464 if test "$ac_res" != no
; then :
15465 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15471 $as_echo_n "checking for library containing connect... " >&6; }
15472 if ${ac_cv_search_connect+:} false
; then :
15473 $as_echo_n "(cached) " >&6
15475 ac_func_search_save_LIBS
=$LIBS
15476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15477 /* end confdefs.h. */
15479 /* Override any GCC internal prototype to avoid an error.
15480 Use char because int might match the return type of a GCC
15481 builtin and then its argument prototype would still apply. */
15494 for ac_lib
in '' socket
; do
15495 if test -z "$ac_lib"; then
15496 ac_res
="none required"
15499 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15501 if ac_fn_c_try_link
"$LINENO"; then :
15502 ac_cv_search_connect
=$ac_res
15504 rm -f core conftest.err conftest.
$ac_objext \
15506 if ${ac_cv_search_connect+:} false
; then :
15510 if ${ac_cv_search_connect+:} false
; then :
15513 ac_cv_search_connect
=no
15515 rm conftest.
$ac_ext
15516 LIBS
=$ac_func_search_save_LIBS
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15519 $as_echo "$ac_cv_search_connect" >&6; }
15520 ac_res
=$ac_cv_search_connect
15521 if test "$ac_res" != no
; then :
15522 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15528 $as_echo_n "checking for library containing inet_aton... " >&6; }
15529 if ${ac_cv_search_inet_aton+:} false
; then :
15530 $as_echo_n "(cached) " >&6
15532 ac_func_search_save_LIBS
=$LIBS
15533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15534 /* end confdefs.h. */
15536 /* Override any GCC internal prototype to avoid an error.
15537 Use char because int might match the return type of a GCC
15538 builtin and then its argument prototype would still apply. */
15546 return inet_aton ();
15551 for ac_lib
in '' resolv
; do
15552 if test -z "$ac_lib"; then
15553 ac_res
="none required"
15556 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15558 if ac_fn_c_try_link
"$LINENO"; then :
15559 ac_cv_search_inet_aton
=$ac_res
15561 rm -f core conftest.err conftest.
$ac_objext \
15563 if ${ac_cv_search_inet_aton+:} false
; then :
15567 if ${ac_cv_search_inet_aton+:} false
; then :
15570 ac_cv_search_inet_aton
=no
15572 rm conftest.
$ac_ext
15573 LIBS
=$ac_func_search_save_LIBS
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15576 $as_echo "$ac_cv_search_inet_aton" >&6; }
15577 ac_res
=$ac_cv_search_inet_aton
15578 if test "$ac_res" != no
; then :
15579 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15599 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15600 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15601 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15602 cat >>confdefs.h
<<_ACEOF
15603 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15612 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15613 if ${ac_cv_search_clock_gettime+:} false
; then :
15614 $as_echo_n "(cached) " >&6
15616 ac_func_search_save_LIBS
=$LIBS
15617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15618 /* end confdefs.h. */
15620 /* Override any GCC internal prototype to avoid an error.
15621 Use char because int might match the return type of a GCC
15622 builtin and then its argument prototype would still apply. */
15626 char clock_gettime ();
15630 return clock_gettime ();
15635 for ac_lib
in '' rt
; do
15636 if test -z "$ac_lib"; then
15637 ac_res
="none required"
15640 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15642 if ac_fn_c_try_link
"$LINENO"; then :
15643 ac_cv_search_clock_gettime
=$ac_res
15645 rm -f core conftest.err conftest.
$ac_objext \
15647 if ${ac_cv_search_clock_gettime+:} false
; then :
15651 if ${ac_cv_search_clock_gettime+:} false
; then :
15654 ac_cv_search_clock_gettime
=no
15656 rm conftest.
$ac_ext
15657 LIBS
=$ac_func_search_save_LIBS
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15660 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15661 ac_res
=$ac_cv_search_clock_gettime
15662 if test "$ac_res" != no
; then :
15663 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15665 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15667 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15675 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15677 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15679 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15681 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15682 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15683 $as_echo_n "(cached) " >&6
15685 ac_check_lib_save_LIBS
=$LIBS
15686 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15688 /* end confdefs.h. */
15690 /* Override any GCC internal prototype to avoid an error.
15691 Use char because int might match the return type of a GCC
15692 builtin and then its argument prototype would still apply. */
15696 char ldap_initialize ();
15700 return ldap_initialize ();
15705 if ac_fn_c_try_link
"$LINENO"; then :
15706 ac_cv_lib_ldap_r_ldap_initialize
=yes
15708 ac_cv_lib_ldap_r_ldap_initialize
=no
15710 rm -f core conftest.err conftest.
$ac_objext \
15711 conftest
$ac_exeext conftest.
$ac_ext
15712 LIBS
=$ac_check_lib_save_LIBS
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15715 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15716 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15718 $as_echo_n "checking for ber_init in -llber... " >&6; }
15719 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15720 $as_echo_n "(cached) " >&6
15722 ac_check_lib_save_LIBS
=$LIBS
15723 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15725 /* end confdefs.h. */
15727 /* Override any GCC internal prototype to avoid an error.
15728 Use char because int might match the return type of a GCC
15729 builtin and then its argument prototype would still apply. */
15737 return ber_init ();
15742 if ac_fn_c_try_link
"$LINENO"; then :
15743 ac_cv_lib_lber_ber_init
=yes
15745 ac_cv_lib_lber_ber_init
=no
15747 rm -f core conftest.err conftest.
$ac_objext \
15748 conftest
$ac_exeext conftest.
$ac_ext
15749 LIBS
=$ac_check_lib_save_LIBS
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15752 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15753 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15755 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15757 LDAP_LIBS
="-lldap_r -llber"
15764 ac_wine_check_funcs_save_LIBS
="$LIBS"
15765 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15767 ldap_count_references \
15768 ldap_first_reference \
15769 ldap_next_reference \
15770 ldap_parse_reference \
15771 ldap_parse_sort_control \
15772 ldap_parse_sortresponse_control \
15773 ldap_parse_vlv_control \
15774 ldap_parse_vlvresponse_control
15776 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15777 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15778 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15779 cat >>confdefs.h
<<_ACEOF
15780 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15786 LIBS
="$ac_wine_check_funcs_save_LIBS"
15788 if test "x$LDAP_LIBS" = "x"; then :
15789 case "x$with_ldap" in
15790 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15792 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15793 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15799 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15800 if ${wine_cv_one_arg_mkdir+:} false
; then :
15801 $as_echo_n "(cached) " >&6
15803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15804 /* end confdefs.h. */
15805 #include <sys/stat.h>
15814 if ac_fn_c_try_compile
"$LINENO"; then :
15815 wine_cv_one_arg_mkdir
=yes
15817 wine_cv_one_arg_mkdir
=no
15819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15822 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15823 if test "$wine_cv_one_arg_mkdir" = "yes"
15826 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15831 $as_echo_n "checking for sched_setaffinity... " >&6; }
15832 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15833 $as_echo_n "(cached) " >&6
15835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15836 /* end confdefs.h. */
15837 #define _GNU_SOURCE
15842 sched_setaffinity(0, 0, 0);
15847 if ac_fn_c_try_link
"$LINENO"; then :
15848 wine_cv_have_sched_setaffinity
=yes
15850 wine_cv_have_sched_setaffinity
=no
15852 rm -f core conftest.err conftest.
$ac_objext \
15853 conftest
$ac_exeext conftest.
$ac_ext
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15856 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15857 if test "$wine_cv_have_sched_setaffinity" = "yes"
15860 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15865 $as_echo_n "checking for fallocate... " >&6; }
15866 if ${wine_cv_have_fallocate+:} false
; then :
15867 $as_echo_n "(cached) " >&6
15869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15870 /* end confdefs.h. */
15871 #define _GNU_SOURCE
15876 fallocate(-1, 0, 0, 0);
15881 if ac_fn_c_try_link
"$LINENO"; then :
15882 wine_cv_have_fallocate
=yes
15884 wine_cv_have_fallocate
=no
15886 rm -f core conftest.err conftest.
$ac_objext \
15887 conftest
$ac_exeext conftest.
$ac_ext
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15890 $as_echo "$wine_cv_have_fallocate" >&6; }
15891 if test "$wine_cv_have_fallocate" = "yes"
15894 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15900 $as_echo_n "checking for inline... " >&6; }
15901 if ${ac_cv_c_inline+:} false
; then :
15902 $as_echo_n "(cached) " >&6
15905 for ac_kw
in inline __inline__ __inline
; do
15906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15907 /* end confdefs.h. */
15908 #ifndef __cplusplus
15910 static $ac_kw foo_t static_foo () {return 0; }
15911 $ac_kw foo_t foo () {return 0; }
15915 if ac_fn_c_try_compile
"$LINENO"; then :
15916 ac_cv_c_inline
=$ac_kw
15918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15919 test "$ac_cv_c_inline" != no
&& break
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15924 $as_echo "$ac_cv_c_inline" >&6; }
15926 case $ac_cv_c_inline in
15929 case $ac_cv_c_inline in
15931 *) ac_val
=$ac_cv_c_inline;;
15933 cat >>confdefs.h
<<_ACEOF
15934 #ifndef __cplusplus
15935 #define inline $ac_val
15941 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15942 if test "x$ac_cv_type_mode_t" = xyes
; then :
15944 cat >>confdefs.h
<<_ACEOF
15945 #define HAVE_MODE_T 1
15950 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15951 if test "x$ac_cv_type_off_t" = xyes
; then :
15953 cat >>confdefs.h
<<_ACEOF
15954 #define HAVE_OFF_T 1
15959 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15960 if test "x$ac_cv_type_pid_t" = xyes
; then :
15962 cat >>confdefs.h
<<_ACEOF
15963 #define HAVE_PID_T 1
15968 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15969 if test "x$ac_cv_type_size_t" = xyes
; then :
15971 cat >>confdefs.h
<<_ACEOF
15972 #define HAVE_SIZE_T 1
15977 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15978 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15980 cat >>confdefs.h
<<_ACEOF
15981 #define HAVE_SSIZE_T 1
15986 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15987 if test "x$ac_cv_type_long_long" = xyes
; then :
15989 cat >>confdefs.h
<<_ACEOF
15990 #define HAVE_LONG_LONG 1
15995 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15996 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15998 cat >>confdefs.h
<<_ACEOF
15999 #define HAVE_FSBLKCNT_T 1
16004 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16005 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
16007 cat >>confdefs.h
<<_ACEOF
16008 #define HAVE_FSFILCNT_T 1
16014 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16015 #include <signal.h>
16017 if test "x$ac_cv_type_sigset_t" = xyes
; then :
16019 cat >>confdefs.h
<<_ACEOF
16020 #define HAVE_SIGSET_T 1
16026 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16028 if test "x$ac_cv_type_request_sense" = xyes
; then :
16030 cat >>confdefs.h
<<_ACEOF
16031 #define HAVE_REQUEST_SENSE 1
16038 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16039 #ifdef HAVE_SYS_SOCKET_H
16040 #include <sys/socket.h>
16042 #ifdef HAVE_SYS_SOCKETVAR_H
16043 #include <sys/socketvar.h>
16045 #ifdef HAVE_NET_ROUTE_H
16046 #include <net/route.h>
16048 #ifdef HAVE_NETINET_IN_H
16049 #include <netinet/in.h>
16051 #ifdef HAVE_NETINET_IN_SYSTM_H
16052 #include <netinet/in_systm.h>
16054 #ifdef HAVE_NETINET_IP_H
16055 #include <netinet/ip.h>
16057 #ifdef HAVE_NETINET_IN_PCB_H
16058 #include <netinet/in_pcb.h>
16061 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
16063 cat >>confdefs.h
<<_ACEOF
16064 #define HAVE_STRUCT_XINPGEN 1
16071 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16074 #ifdef HAVE_SYS_LINK_H
16075 #include <sys/link.h>
16078 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
16080 cat >>confdefs.h
<<_ACEOF
16081 #define HAVE_STRUCT_R_DEBUG 1
16086 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16089 #ifdef HAVE_SYS_LINK_H
16090 #include <sys/link.h>
16093 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
16095 cat >>confdefs.h
<<_ACEOF
16096 #define HAVE_STRUCT_LINK_MAP 1
16103 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16104 #include <linux/input.h>
16107 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
16109 cat >>confdefs.h
<<_ACEOF
16110 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16118 $as_echo_n "checking for sigaddset... " >&6; }
16119 if ${wine_cv_have_sigaddset+:} false
; then :
16120 $as_echo_n "(cached) " >&6
16122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16123 /* end confdefs.h. */
16124 #include <signal.h>
16128 sigset_t set; sigaddset(&set,SIGTERM);
16133 if ac_fn_c_try_link
"$LINENO"; then :
16134 wine_cv_have_sigaddset
=yes
16136 wine_cv_have_sigaddset
=no
16138 rm -f core conftest.err conftest.
$ac_objext \
16139 conftest
$ac_exeext conftest.
$ac_ext
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16142 $as_echo "$wine_cv_have_sigaddset" >&6; }
16143 if test "$wine_cv_have_sigaddset" = "yes"
16146 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16152 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16153 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
16154 $as_echo_n "(cached) " >&6
16156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16157 /* end confdefs.h. */
16165 struct hostent *result;
16172 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16173 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16179 if ac_fn_c_try_link
"$LINENO"; then :
16180 wine_cv_linux_gethostbyname_r_6
=yes
16182 wine_cv_linux_gethostbyname_r_6
=no
16185 rm -f core conftest.err conftest.
$ac_objext \
16186 conftest
$ac_exeext conftest.
$ac_ext
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16190 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16191 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16194 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16198 if test "$ac_cv_header_linux_joystick_h" = "yes"
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16201 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16202 if ${wine_cv_linux_joystick_22_api+:} false
; then :
16203 $as_echo_n "(cached) " >&6
16205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16206 /* end confdefs.h. */
16208 #include <sys/ioctl.h>
16209 #include <sys/types.h>
16210 #include <linux/joystick.h>
16212 struct js_event blub;
16213 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16214 #error "no 2.2 header"
16225 if ac_fn_c_try_compile
"$LINENO"; then :
16226 wine_cv_linux_joystick_22_api
=yes
16228 wine_cv_linux_joystick_22_api
=no
16230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16234 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16235 if test "$wine_cv_linux_joystick_22_api" = "yes"
16238 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16244 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16245 #ifdef HAVE_SYS_PARAM_H
16246 # include <sys/param.h>
16248 #ifdef HAVE_SYS_MOUNT_H
16249 # include <sys/mount.h>
16251 #ifdef HAVE_SYS_VFS_H
16252 # include <sys/vfs.h>
16254 #ifdef HAVE_SYS_STATFS_H
16255 # include <sys/statfs.h>
16258 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16260 cat >>confdefs.h
<<_ACEOF
16261 #define HAVE_STRUCT_STATFS_F_BFREE 1
16266 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16267 #ifdef HAVE_SYS_PARAM_H
16268 # include <sys/param.h>
16270 #ifdef HAVE_SYS_MOUNT_H
16271 # include <sys/mount.h>
16273 #ifdef HAVE_SYS_VFS_H
16274 # include <sys/vfs.h>
16276 #ifdef HAVE_SYS_STATFS_H
16277 # include <sys/statfs.h>
16280 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16282 cat >>confdefs.h
<<_ACEOF
16283 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16288 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16289 #ifdef HAVE_SYS_PARAM_H
16290 # include <sys/param.h>
16292 #ifdef HAVE_SYS_MOUNT_H
16293 # include <sys/mount.h>
16295 #ifdef HAVE_SYS_VFS_H
16296 # include <sys/vfs.h>
16298 #ifdef HAVE_SYS_STATFS_H
16299 # include <sys/statfs.h>
16302 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16304 cat >>confdefs.h
<<_ACEOF
16305 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16310 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16311 #ifdef HAVE_SYS_PARAM_H
16312 # include <sys/param.h>
16314 #ifdef HAVE_SYS_MOUNT_H
16315 # include <sys/mount.h>
16317 #ifdef HAVE_SYS_VFS_H
16318 # include <sys/vfs.h>
16320 #ifdef HAVE_SYS_STATFS_H
16321 # include <sys/statfs.h>
16324 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16326 cat >>confdefs.h
<<_ACEOF
16327 #define HAVE_STRUCT_STATFS_F_FFREE 1
16332 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16333 #ifdef HAVE_SYS_PARAM_H
16334 # include <sys/param.h>
16336 #ifdef HAVE_SYS_MOUNT_H
16337 # include <sys/mount.h>
16339 #ifdef HAVE_SYS_VFS_H
16340 # include <sys/vfs.h>
16342 #ifdef HAVE_SYS_STATFS_H
16343 # include <sys/statfs.h>
16346 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16348 cat >>confdefs.h
<<_ACEOF
16349 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16354 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16355 #ifdef HAVE_SYS_PARAM_H
16356 # include <sys/param.h>
16358 #ifdef HAVE_SYS_MOUNT_H
16359 # include <sys/mount.h>
16361 #ifdef HAVE_SYS_VFS_H
16362 # include <sys/vfs.h>
16364 #ifdef HAVE_SYS_STATFS_H
16365 # include <sys/statfs.h>
16368 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16370 cat >>confdefs.h
<<_ACEOF
16371 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16378 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16379 #include <sys/statvfs.h>
16382 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16384 cat >>confdefs.h
<<_ACEOF
16385 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16392 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16393 #include <dirent.h>
16396 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16398 cat >>confdefs.h
<<_ACEOF
16399 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16406 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16407 #ifdef HAVE_SYS_SOCKET_H
16408 # include <sys/socket.h>
16410 #ifdef HAVE_SYS_UN_H
16411 # include <sys/un.h>
16414 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16416 cat >>confdefs.h
<<_ACEOF
16417 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16422 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16423 #ifdef HAVE_SYS_SOCKET_H
16424 # include <sys/socket.h>
16426 #ifdef HAVE_SYS_UN_H
16427 # include <sys/un.h>
16430 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16432 cat >>confdefs.h
<<_ACEOF
16433 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16438 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16439 #ifdef HAVE_SYS_SOCKET_H
16440 # include <sys/socket.h>
16442 #ifdef HAVE_SYS_UN_H
16443 # include <sys/un.h>
16446 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16448 cat >>confdefs.h
<<_ACEOF
16449 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16456 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16457 #ifdef HAVE_SCSI_SG_H
16458 #include <scsi/sg.h>
16461 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16463 cat >>confdefs.h
<<_ACEOF
16464 #define HAVE_SCSIREQ_T_CMD 1
16469 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>
16470 #ifdef HAVE_SCSI_SG_H
16471 #include <scsi/sg.h>
16474 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16476 cat >>confdefs.h
<<_ACEOF
16477 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16484 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16486 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16488 cat >>confdefs.h
<<_ACEOF
16489 #define HAVE_SIGINFO_T_SI_FD 1
16496 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16497 #ifdef HAVE_SYS_MTIO_H
16498 #include <sys/mtio.h>
16501 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16503 cat >>confdefs.h
<<_ACEOF
16504 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16509 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16510 #ifdef HAVE_SYS_MTIO_H
16511 #include <sys/mtio.h>
16514 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16516 cat >>confdefs.h
<<_ACEOF
16517 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16522 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16523 #ifdef HAVE_SYS_MTIO_H
16524 #include <sys/mtio.h>
16527 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16529 cat >>confdefs.h
<<_ACEOF
16530 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16537 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16538 #include <getopt.h>
16541 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16543 cat >>confdefs.h
<<_ACEOF
16544 #define HAVE_STRUCT_OPTION_NAME 1
16551 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16552 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16554 cat >>confdefs.h
<<_ACEOF
16555 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16560 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16561 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16563 cat >>confdefs.h
<<_ACEOF
16564 #define HAVE_STRUCT_STAT_ST_MTIM 1
16569 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16570 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16572 cat >>confdefs.h
<<_ACEOF
16573 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16578 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16579 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16581 cat >>confdefs.h
<<_ACEOF
16582 #define HAVE_STRUCT_STAT_ST_CTIM 1
16587 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16588 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16590 cat >>confdefs.h
<<_ACEOF
16591 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16596 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16597 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16599 cat >>confdefs.h
<<_ACEOF
16600 #define HAVE_STRUCT_STAT_ST_ATIM 1
16605 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16606 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16608 cat >>confdefs.h
<<_ACEOF
16609 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16614 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16615 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16617 cat >>confdefs.h
<<_ACEOF
16618 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16623 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16624 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16626 cat >>confdefs.h
<<_ACEOF
16627 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16632 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16633 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16635 cat >>confdefs.h
<<_ACEOF
16636 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16641 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16642 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16644 cat >>confdefs.h
<<_ACEOF
16645 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16650 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16651 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16653 cat >>confdefs.h
<<_ACEOF
16654 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16661 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
16662 #include <sys/types.h>
16664 #ifdef HAVE_NETINET_IN_H
16665 #include <netinet/in.h>
16668 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16670 cat >>confdefs.h
<<_ACEOF
16671 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16678 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16679 #include <resolv.h>
16682 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16684 cat >>confdefs.h
<<_ACEOF
16685 #define HAVE_STRUCT___RES_STATE 1
16692 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
16693 #include <resolv.h>
16696 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16698 cat >>confdefs.h
<<_ACEOF
16699 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16706 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16707 #include <sys/types.h>
16709 #ifdef HAVE_NETINET_IN_H
16710 # include <netinet/in.h>
16712 #ifdef HAVE_ARPA_NAMESER_H
16713 # include <arpa/nameser.h>
16716 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16718 cat >>confdefs.h
<<_ACEOF
16719 #define HAVE_NS_MSG__MSG_PTR 1
16726 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16727 #include <sys/types.h>
16729 #ifdef HAVE_NETINET_IP_H
16730 #include <netinet/ip.h>
16732 #ifdef HAVE_NETINET_IP_ICMP_H
16733 #include <netinet/ip_icmp.h>
16735 #ifdef HAVE_NETINET_ICMP_VAR_H
16736 #include <netinet/icmp_var.h>
16739 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16741 cat >>confdefs.h
<<_ACEOF
16742 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16749 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16750 #include <sys/types.h>
16752 #ifdef HAVE_ALIAS_H
16755 #ifdef HAVE_SYS_SOCKET_H
16756 #include <sys/socket.h>
16758 #ifdef HAVE_SYS_SOCKETVAR_H
16759 #include <sys/socketvar.h>
16761 #ifdef HAVE_SYS_TIMEOUT_H
16762 #include <sys/timeout.h>
16764 #ifdef HAVE_NETINET_IN_H
16765 #include <netinet/in.h>
16767 #ifdef HAVE_NETINET_IN_SYSTM_H
16768 #include <netinet/in_systm.h>
16770 #ifdef HAVE_NETINET_IP_H
16771 #include <netinet/ip.h>
16773 #ifdef HAVE_NETINET_IP_VAR_H
16774 #include <netinet/ip_var.h>
16776 #ifdef HAVE_NETINET_IP_ICMP_H
16777 #include <netinet/ip_icmp.h>
16779 #ifdef HAVE_NETINET_ICMP_VAR_H
16780 #include <netinet/icmp_var.h>
16783 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16785 cat >>confdefs.h
<<_ACEOF
16786 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16793 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16794 #include <sys/types.h>
16796 #ifdef HAVE_SYS_SOCKETVAR_H
16797 #include <sys/socketvar.h>
16799 #ifdef HAVE_NETINET_IN_H
16800 #include <netinet/in.h>
16802 #ifdef HAVE_NETINET_IP_VAR_H
16803 #include <netinet/ip_var.h>
16806 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16808 cat >>confdefs.h
<<_ACEOF
16809 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16816 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
16817 #include <netinet/ip_var.h>
16820 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16822 cat >>confdefs.h
<<_ACEOF
16823 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16830 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16831 #include <sys/types.h>
16833 #ifdef HAVE_SYS_SOCKETVAR_H
16834 #include <sys/socketvar.h>
16836 #ifdef HAVE_NETINET_IN_H
16837 #include <netinet/in.h>
16839 #ifdef HAVE_NETINET_TCP_H
16840 #include <netinet/tcp.h>
16842 #ifdef HAVE_NETINET_TCP_VAR_H
16843 #include <netinet/tcp_var.h>
16846 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16848 cat >>confdefs.h
<<_ACEOF
16849 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16856 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
16857 #include <netinet/tcp_var.h>
16860 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16862 cat >>confdefs.h
<<_ACEOF
16863 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16870 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16871 #include <sys/types.h>
16873 #ifdef HAVE_NETINET_IN_H
16874 #include <netinet/in.h>
16876 #ifdef HAVE_NETINET_IP_VAR_H
16877 #include <netinet/ip_var.h>
16879 #ifdef HAVE_NETINET_UDP_H
16880 #include <netinet/udp.h>
16882 #ifdef HAVE_NETINET_UDP_VAR_H
16883 #include <netinet/udp_var.h>
16886 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16888 cat >>confdefs.h
<<_ACEOF
16889 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16896 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16897 #include <sys/types.h>
16899 #ifdef HAVE_NET_IF_H
16900 # include <net/if.h>
16903 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16905 cat >>confdefs.h
<<_ACEOF
16906 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16914 $as_echo_n "checking for timezone variable... " >&6; }
16915 if ${ac_cv_have_timezone+:} false
; then :
16916 $as_echo_n "(cached) " >&6
16918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16919 /* end confdefs.h. */
16929 if ac_fn_c_try_link
"$LINENO"; then :
16930 ac_cv_have_timezone
="yes"
16932 ac_cv_have_timezone
="no"
16934 rm -f core conftest.err conftest.
$ac_objext \
16935 conftest
$ac_exeext conftest.
$ac_ext
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16938 $as_echo "$ac_cv_have_timezone" >&6; }
16939 if test "$ac_cv_have_timezone" = "yes"
16942 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16946 $as_echo_n "checking for daylight variable... " >&6; }
16947 if ${ac_cv_have_daylight+:} false
; then :
16948 $as_echo_n "(cached) " >&6
16950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16951 /* end confdefs.h. */
16961 if ac_fn_c_try_link
"$LINENO"; then :
16962 ac_cv_have_daylight
="yes"
16964 ac_cv_have_daylight
="no"
16966 rm -f core conftest.err conftest.
$ac_objext \
16967 conftest
$ac_exeext conftest.
$ac_ext
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16970 $as_echo "$ac_cv_have_daylight" >&6; }
16971 if test "$ac_cv_have_daylight" = "yes"
16974 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16978 ac_save_LIBS
="$LIBS"
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16981 $as_echo_n "checking for isfinite... " >&6; }
16982 if ${ac_cv_have_isfinite+:} false
; then :
16983 $as_echo_n "(cached) " >&6
16985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16986 /* end confdefs.h. */
16987 #define _GNU_SOURCE
16992 float f = 0.0; return isfinite(f)
16997 if ac_fn_c_try_link
"$LINENO"; then :
16998 ac_cv_have_isfinite
="yes"
17000 ac_cv_have_isfinite
="no"
17002 rm -f core conftest.err conftest.
$ac_objext \
17003 conftest
$ac_exeext conftest.
$ac_ext
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17006 $as_echo "$ac_cv_have_isfinite" >&6; }
17007 if test "$ac_cv_have_isfinite" = "yes"
17010 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17015 $as_echo_n "checking for isinf... " >&6; }
17016 if ${ac_cv_have_isinf+:} false
; then :
17017 $as_echo_n "(cached) " >&6
17019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17020 /* end confdefs.h. */
17025 float f = 0.0; return isinf(f)
17030 if ac_fn_c_try_link
"$LINENO"; then :
17031 ac_cv_have_isinf
="yes"
17033 ac_cv_have_isinf
="no"
17035 rm -f core conftest.err conftest.
$ac_objext \
17036 conftest
$ac_exeext conftest.
$ac_ext
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17039 $as_echo "$ac_cv_have_isinf" >&6; }
17040 if test "$ac_cv_have_isinf" = "yes"
17043 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17048 $as_echo_n "checking for isnan... " >&6; }
17049 if ${ac_cv_have_isnan+:} false
; then :
17050 $as_echo_n "(cached) " >&6
17052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17053 /* end confdefs.h. */
17058 float f = 0.0; return isnan(f)
17063 if ac_fn_c_try_link
"$LINENO"; then :
17064 ac_cv_have_isnan
="yes"
17066 ac_cv_have_isnan
="no"
17068 rm -f core conftest.err conftest.
$ac_objext \
17069 conftest
$ac_exeext conftest.
$ac_ext
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17072 $as_echo "$ac_cv_have_isnan" >&6; }
17073 if test "$ac_cv_have_isnan" = "yes"
17076 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17122 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17123 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17124 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17125 cat >>confdefs.h
<<_ACEOF
17126 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17132 LIBS
="$ac_save_LIBS"
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17135 $as_echo_n "checking for __builtin_clz... " >&6; }
17136 if ${ac_cv_have___builtin_clz+:} false
; then :
17137 $as_echo_n "(cached) " >&6
17139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17140 /* end confdefs.h. */
17145 return __builtin_clz(1)
17150 if ac_fn_c_try_link
"$LINENO"; then :
17151 ac_cv_have___builtin_clz
="yes"
17153 ac_cv_have___builtin_clz
="no"
17155 rm -f core conftest.err conftest.
$ac_objext \
17156 conftest
$ac_exeext conftest.
$ac_ext
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17159 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17160 if test "$ac_cv_have___builtin_clz" = "yes"
17163 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17168 $as_echo_n "checking for __builtin_popcount... " >&6; }
17169 if ${ac_cv_have___builtin_popcount+:} false
; then :
17170 $as_echo_n "(cached) " >&6
17172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17173 /* end confdefs.h. */
17178 return __builtin_popcount(1)
17183 if ac_fn_c_try_link
"$LINENO"; then :
17184 ac_cv_have___builtin_popcount
="yes"
17186 ac_cv_have___builtin_popcount
="no"
17188 rm -f core conftest.err conftest.
$ac_objext \
17189 conftest
$ac_exeext conftest.
$ac_ext
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17192 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17193 if test "$ac_cv_have___builtin_popcount" = "yes"
17196 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17202 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17203 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17204 if ${ac_cv_cpp_def___i386__+:} false
; then :
17205 $as_echo_n "(cached) " >&6
17207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17213 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17214 $EGREP "yes" >/dev
/null
2>&1; then :
17215 ac_cv_cpp_def___i386__
=yes
17217 ac_cv_cpp_def___i386__
=no
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17223 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17224 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
17225 CFLAGS
="$CFLAGS -D__i386__"
17226 LINTFLAGS
="$LINTFLAGS -D__i386__"
17228 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17229 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17230 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
17231 $as_echo_n "(cached) " >&6
17233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17240 $EGREP "yes" >/dev
/null
2>&1; then :
17241 ac_cv_cpp_def___x86_64__
=yes
17243 ac_cv_cpp_def___x86_64__
=no
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17249 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17250 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
17251 CFLAGS
="$CFLAGS -D__x86_64__"
17252 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
17254 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17255 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17256 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
17257 $as_echo_n "(cached) " >&6
17259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17260 /* end confdefs.h. */
17261 #ifndef __sparc64__
17265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17266 $EGREP "yes" >/dev
/null
2>&1; then :
17267 ac_cv_cpp_def___sparc64__
=yes
17269 ac_cv_cpp_def___sparc64__
=no
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17275 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17276 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
17277 CFLAGS
="$CFLAGS -D__sparc64__"
17278 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
17280 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17281 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17282 if ${ac_cv_cpp_def___sparc__+:} false
; then :
17283 $as_echo_n "(cached) " >&6
17285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17286 /* end confdefs.h. */
17291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17292 $EGREP "yes" >/dev
/null
2>&1; then :
17293 ac_cv_cpp_def___sparc__
=yes
17295 ac_cv_cpp_def___sparc__
=no
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17301 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17302 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
17303 CFLAGS
="$CFLAGS -D__sparc__"
17304 LINTFLAGS
="$LINTFLAGS -D__sparc__"
17306 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17307 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17308 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
17309 $as_echo_n "(cached) " >&6
17311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17312 /* end confdefs.h. */
17313 #ifndef __powerpc64__
17317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17318 $EGREP "yes" >/dev
/null
2>&1; then :
17319 ac_cv_cpp_def___powerpc64__
=yes
17321 ac_cv_cpp_def___powerpc64__
=no
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17327 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17328 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
17329 CFLAGS
="$CFLAGS -D__powerpc64__"
17330 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
17332 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17333 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17334 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
17335 $as_echo_n "(cached) " >&6
17337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17338 /* end confdefs.h. */
17339 #ifndef __powerpc__
17343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17344 $EGREP "yes" >/dev
/null
2>&1; then :
17345 ac_cv_cpp_def___powerpc__
=yes
17347 ac_cv_cpp_def___powerpc__
=no
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17353 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17354 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
17355 CFLAGS
="$CFLAGS -D__powerpc__"
17356 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
17358 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17359 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17360 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
17361 $as_echo_n "(cached) " >&6
17363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17364 /* end confdefs.h. */
17365 #ifndef __aarch64__
17369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17370 $EGREP "yes" >/dev
/null
2>&1; then :
17371 ac_cv_cpp_def___aarch64__
=yes
17373 ac_cv_cpp_def___aarch64__
=no
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17379 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17380 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17381 CFLAGS
="$CFLAGS -D__aarch64__"
17382 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17384 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17385 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17386 if ${ac_cv_cpp_def___arm__+:} false
; then :
17387 $as_echo_n "(cached) " >&6
17389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17390 /* end confdefs.h. */
17395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17396 $EGREP "yes" >/dev
/null
2>&1; then :
17397 ac_cv_cpp_def___arm__
=yes
17399 ac_cv_cpp_def___arm__
=no
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17405 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17406 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17407 CFLAGS
="$CFLAGS -D__arm__"
17408 LINTFLAGS
="$LINTFLAGS -D__arm__"
17412 case $host_vendor in
17413 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17414 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17415 if ${ac_cv_cpp_def___sun__+:} false
; then :
17416 $as_echo_n "(cached) " >&6
17418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17419 /* end confdefs.h. */
17424 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17425 $EGREP "yes" >/dev
/null
2>&1; then :
17426 ac_cv_cpp_def___sun__
=yes
17428 ac_cv_cpp_def___sun__
=no
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17434 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17435 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17436 CFLAGS
="$CFLAGS -D__sun__"
17437 LINTFLAGS
="$LINTFLAGS -D__sun__"
17445 ac_config_commands
="$ac_config_commands include/stamp-h"
17447 $as_echo_n "creating Makefile rules..." >&6
17449 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17450 SOCKET_LIBS = $SOCKET_LIBS
17451 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17452 IOKIT_LIBS = $IOKIT_LIBS
17453 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17454 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17455 CORESERVICES_LIBS = $CORESERVICES_LIBS
17456 APPKIT_LIBS = $APPKIT_LIBS
17457 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17458 SECURITY_LIBS = $SECURITY_LIBS
17459 COREAUDIO_LIBS = $COREAUDIO_LIBS
17460 OPENAL_LIBS = $OPENAL_LIBS
17461 OPENCL_LIBS = $OPENCL_LIBS
17462 QUICKTIME_LIBS = $QUICKTIME_LIBS
17463 CARBON_LIBS = $CARBON_LIBS
17464 PTHREAD_LIBS = $PTHREAD_LIBS
17465 X_CFLAGS = $X_CFLAGS
17466 X_PRE_LIBS = $X_PRE_LIBS
17468 X_EXTRA_LIBS = $X_EXTRA_LIBS
17469 PCAP_LIBS = $PCAP_LIBS
17470 XML2_CFLAGS = $XML2_CFLAGS
17471 XML2_LIBS = $XML2_LIBS
17472 XSLT_CFLAGS = $XSLT_CFLAGS
17473 XSLT_LIBS = $XSLT_LIBS
17474 DBUS_CFLAGS = $DBUS_CFLAGS
17475 DBUS_LIBS = $DBUS_LIBS
17476 HAL_CFLAGS = $HAL_CFLAGS
17477 HAL_LIBS = $HAL_LIBS
17478 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17479 GNUTLS_LIBS = $GNUTLS_LIBS
17480 SANE_CFLAGS = $SANE_CFLAGS
17481 SANE_LIBS = $SANE_LIBS
17482 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17483 GPHOTO2_LIBS = $GPHOTO2_LIBS
17484 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17485 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17486 RESOLV_LIBS = $RESOLV_LIBS
17487 LCMS2_CFLAGS = $LCMS2_CFLAGS
17488 LCMS2_LIBS = $LCMS2_LIBS
17489 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17490 FREETYPE_LIBS = $FREETYPE_LIBS
17492 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17493 PULSE_CFLAGS = $PULSE_CFLAGS
17494 PULSE_LIBS = $PULSE_LIBS
17495 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17496 GSTREAMER_LIBS = $GSTREAMER_LIBS
17497 ALSA_LIBS = $ALSA_LIBS
17498 OSS4_CFLAGS = $OSS4_CFLAGS
17499 UDEV_CFLAGS = $UDEV_CFLAGS
17500 UDEV_LIBS = $UDEV_LIBS
17501 CAPI20_CFLAGS = $CAPI20_CFLAGS
17502 CAPI20_LIBS = $CAPI20_LIBS
17503 CUPS_CFLAGS = $CUPS_CFLAGS
17504 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17505 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17506 JPEG_CFLAGS = $JPEG_CFLAGS
17507 JPEG_LIBS = $JPEG_LIBS
17508 PNG_CFLAGS = $PNG_CFLAGS
17509 PNG_LIBS = $PNG_LIBS
17510 TIFF_CFLAGS = $TIFF_CFLAGS
17511 TIFF_LIBS = $TIFF_LIBS
17512 MPG123_CFLAGS = $MPG123_CFLAGS
17513 MPG123_LIBS = $MPG123_LIBS
17514 KSTAT_LIBS = $KSTAT_LIBS
17515 PROCSTAT_LIBS = $PROCSTAT_LIBS
17516 NETAPI_CFLAGS = $NETAPI_CFLAGS
17517 NETAPI_LIBS = $NETAPI_LIBS
17518 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17520 POLL_LIBS = $POLL_LIBS
17522 LDAP_LIBS = $LDAP_LIBS
17527 wine_fn_append_rule
"
17528 # Rules automatically generated by configure
17530 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17535 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17536 @./config.status Make.tmp Makefile
17537 depend: \$(MAKEDEP) dummy
17540 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17541 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17543 if test "x$enable_fonts" != xno
; then
17544 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17545 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17546 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17547 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17548 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17549 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17551 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17552 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17553 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17554 wine_fn_config_symlink wine
17555 if test "x$enable_win64" != xno
; then
17556 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17557 wine_fn_config_symlink wine64
17560 wine_fn_config_dll acledit enable_acledit
17561 wine_fn_config_dll aclui enable_aclui implib
17562 wine_fn_config_dll activeds enable_activeds implib
17563 wine_fn_config_dll actxprxy enable_actxprxy clean
17564 wine_fn_config_lib adsiid
17565 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17566 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17567 wine_fn_config_dll advpack enable_advpack implib
17568 wine_fn_config_test dlls
/advpack
/tests advpack_test
17569 wine_fn_config_dll amstream enable_amstream clean
17570 wine_fn_config_test dlls
/amstream
/tests amstream_test
17571 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17572 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17573 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17574 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17575 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17576 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17577 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17578 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17579 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17580 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17581 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17582 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17583 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17584 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17585 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17586 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17587 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17588 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17589 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17590 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17591 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17592 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17594 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17595 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17596 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17597 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17598 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17599 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17600 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17601 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17602 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17603 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17604 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17605 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17606 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17607 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17608 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17609 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17610 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17611 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17612 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17613 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17614 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17615 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17616 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17618 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17619 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17620 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17622 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17624 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17626 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17627 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17629 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17630 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17634 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17635 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17636 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17638 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17639 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17643 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17645 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17646 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17647 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17649 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17651 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17652 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17656 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17658 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17659 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17661 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17663 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17667 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17669 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17670 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17671 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17672 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17673 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17674 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17675 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17676 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17677 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17678 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17679 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17680 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17681 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17682 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17683 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17684 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17685 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17686 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17687 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17688 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17689 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17690 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17691 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17692 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17693 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17694 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17695 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17696 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17697 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17698 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17699 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17700 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17701 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17702 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17703 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17704 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17705 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17706 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17707 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17708 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17709 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17710 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17711 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17712 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17713 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17714 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17715 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17716 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17717 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17718 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17719 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17720 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17721 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17722 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17723 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17724 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17725 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17726 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17727 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17728 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17729 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17730 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17731 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17732 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17733 wine_fn_config_dll apphelp enable_apphelp
17734 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17735 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17736 wine_fn_config_dll atl enable_atl clean
,implib
17737 wine_fn_config_test dlls
/atl
/tests atl_test
17738 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17739 wine_fn_config_test dlls
/atl100
/tests atl100_test
17740 wine_fn_config_dll atl110 enable_atl110 clean
17741 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17742 wine_fn_config_test dlls
/atl80
/tests atl80_test
17743 wine_fn_config_dll atl90 enable_atl90 clean
17744 wine_fn_config_dll authz enable_authz
17745 wine_fn_config_dll avicap32 enable_avicap32 implib
17746 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
17747 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17748 wine_fn_config_dll avifile.dll16 enable_win16
17749 wine_fn_config_dll avrt enable_avrt implib
17750 wine_fn_config_dll bcrypt enable_bcrypt implib
17751 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17752 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17753 wine_fn_config_dll browseui enable_browseui clean
17754 wine_fn_config_test dlls
/browseui
/tests browseui_test
17755 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17756 wine_fn_config_dll cabinet enable_cabinet implib
17757 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17758 wine_fn_config_dll capi2032 enable_capi2032 implib
17759 wine_fn_config_dll cards enable_cards implib
17760 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17761 wine_fn_config_dll clusapi enable_clusapi implib
17762 wine_fn_config_dll combase enable_combase
17763 wine_fn_config_test dlls
/combase
/tests combase_test
17764 wine_fn_config_dll comcat enable_comcat
17765 wine_fn_config_test dlls
/comcat
/tests comcat_test
17766 wine_fn_config_dll comctl32 enable_comctl32 clean
,implib
17767 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17768 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
17769 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17770 wine_fn_config_dll
comm.drv16 enable_win16
17771 wine_fn_config_dll commdlg.dll16 enable_win16
17772 wine_fn_config_dll compobj.dll16 enable_win16
17773 wine_fn_config_dll compstui enable_compstui implib
17774 wine_fn_config_dll comsvcs enable_comsvcs implib
17775 wine_fn_config_dll concrt140 enable_concrt140
17776 wine_fn_config_dll connect enable_connect
17777 wine_fn_config_dll credui enable_credui clean
,implib
17778 wine_fn_config_test dlls
/credui
/tests credui_test
17779 wine_fn_config_dll crtdll enable_crtdll
17780 wine_fn_config_dll crypt32 enable_crypt32 clean
,implib
17781 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17782 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17783 wine_fn_config_dll cryptdll enable_cryptdll implib
17784 wine_fn_config_dll cryptext enable_cryptext
17785 wine_fn_config_dll cryptnet enable_cryptnet implib
17786 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17787 wine_fn_config_dll cryptui enable_cryptui clean
,implib
17788 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17789 wine_fn_config_dll ctapi32 enable_ctapi32
17790 wine_fn_config_dll ctl3d.dll16 enable_win16
17791 wine_fn_config_dll ctl3d32 enable_ctl3d32
17792 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17793 wine_fn_config_dll d2d1 enable_d2d1 implib
17794 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17795 wine_fn_config_dll d3d10 enable_d3d10 implib
17796 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17797 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17798 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
17799 wine_fn_config_dll d3d10core enable_d3d10core implib
17800 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17801 wine_fn_config_dll d3d11 enable_d3d11 implib
17802 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17803 wine_fn_config_dll d3d8 enable_d3d8 implib
17804 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17805 wine_fn_config_dll d3d9 enable_d3d9 implib
17806 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17807 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17808 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17809 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17810 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17811 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17812 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17813 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17814 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17815 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17816 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17817 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17818 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17819 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17820 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17821 wine_fn_config_dll d3dim enable_d3dim
17822 wine_fn_config_dll d3drm enable_d3drm implib
17823 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17824 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17825 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17826 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17827 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17828 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17829 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17830 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17831 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17832 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17833 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17834 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17835 wine_fn_config_test dlls
/d3dx10_43
/tests d3dx10_43_test
17836 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17837 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17838 wine_fn_config_test dlls
/d3dx11_43
/tests d3dx11_43_test
17839 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17840 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17841 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17842 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17843 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17844 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17845 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17846 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17847 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17848 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17849 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17850 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17851 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17852 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17853 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17854 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17855 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17856 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17857 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17858 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17859 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17860 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17861 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17862 wine_fn_config_dll davclnt enable_davclnt
17863 wine_fn_config_dll dbgeng enable_dbgeng implib
17864 wine_fn_config_dll dbghelp enable_dbghelp implib
17865 wine_fn_config_dll dciman32 enable_dciman32 implib
17866 wine_fn_config_dll ddeml.dll16 enable_win16
17867 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17868 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17869 wine_fn_config_dll ddrawex enable_ddrawex clean
17870 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17871 wine_fn_config_dll devenum enable_devenum clean
17872 wine_fn_config_test dlls
/devenum
/tests devenum_test
17873 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17874 wine_fn_config_dll difxapi enable_difxapi
17875 wine_fn_config_dll dinput enable_dinput clean
,implib
,staticimplib
17876 wine_fn_config_test dlls
/dinput
/tests dinput_test
17877 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17878 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17879 wine_fn_config_dll dispdib.dll16 enable_win16
17880 wine_fn_config_dll dispex enable_dispex clean
17881 wine_fn_config_test dlls
/dispex
/tests dispex_test
17882 wine_fn_config_dll display.drv16 enable_win16
17883 wine_fn_config_dll dmband enable_dmband clean
17884 wine_fn_config_test dlls
/dmband
/tests dmband_test
17885 wine_fn_config_dll dmcompos enable_dmcompos clean
17886 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17887 wine_fn_config_dll dmime enable_dmime clean
17888 wine_fn_config_test dlls
/dmime
/tests dmime_test
17889 wine_fn_config_dll dmloader enable_dmloader clean
17890 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17891 wine_fn_config_dll dmscript enable_dmscript clean
17892 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17893 wine_fn_config_dll dmstyle enable_dmstyle clean
17894 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17895 wine_fn_config_dll dmsynth enable_dmsynth clean
17896 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17897 wine_fn_config_dll dmusic enable_dmusic clean
17898 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17899 wine_fn_config_dll dmusic32 enable_dmusic32
17900 wine_fn_config_dll dnsapi enable_dnsapi implib
17901 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17902 wine_fn_config_dll dplay enable_dplay
17903 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17904 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17905 wine_fn_config_dll dpnaddr enable_dpnaddr
17906 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17907 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17908 wine_fn_config_dll dpnhpast enable_dpnhpast
17909 wine_fn_config_dll dpnlobby enable_dpnlobby
17910 wine_fn_config_dll dpvoice enable_dpvoice clean
17911 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17912 wine_fn_config_dll dpwsockx enable_dpwsockx
17913 wine_fn_config_dll drmclien enable_drmclien
17914 wine_fn_config_dll dsound enable_dsound clean
,implib
17915 wine_fn_config_test dlls
/dsound
/tests dsound_test
17916 wine_fn_config_dll dssenh enable_dssenh
17917 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17918 wine_fn_config_dll dswave enable_dswave clean
17919 wine_fn_config_test dlls
/dswave
/tests dswave_test
17920 wine_fn_config_dll dwmapi enable_dwmapi implib
17921 wine_fn_config_dll dwrite enable_dwrite implib
17922 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17923 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17924 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17925 wine_fn_config_lib dxerr8
17926 wine_fn_config_lib dxerr9
17927 wine_fn_config_dll dxgi enable_dxgi implib
17928 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17929 wine_fn_config_lib dxguid
17930 wine_fn_config_dll dxva2 enable_dxva2
17931 wine_fn_config_dll esent enable_esent
17932 wine_fn_config_dll evr enable_evr
17933 wine_fn_config_dll explorerframe enable_explorerframe clean
17934 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17935 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
17936 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
17937 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
17938 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17939 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
17940 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
17941 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17942 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
17943 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
17944 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
17945 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
17946 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
17947 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
17948 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
17949 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
17950 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
17951 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
17952 wine_fn_config_dll faultrep enable_faultrep implib
17953 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17954 wine_fn_config_dll fltlib enable_fltlib
17955 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17956 wine_fn_config_dll fntcache enable_fntcache
17957 wine_fn_config_dll fontsub enable_fontsub
17958 wine_fn_config_dll fusion enable_fusion
17959 wine_fn_config_test dlls
/fusion
/tests fusion_test
17960 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17961 wine_fn_config_dll gameux enable_gameux clean
17962 wine_fn_config_test dlls
/gameux
/tests gameux_test
17963 wine_fn_config_dll gdi.exe16 enable_win16
17964 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
17965 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17966 wine_fn_config_dll gdiplus enable_gdiplus implib
17967 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17968 wine_fn_config_dll glu32 enable_glu32 implib
17969 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17970 wine_fn_config_dll gpkcsp enable_gpkcsp
17971 wine_fn_config_dll hal enable_hal
17972 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib htmlhelp
17973 wine_fn_config_dll hid enable_hid implib
17974 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17975 wine_fn_config_dll hlink enable_hlink clean
,implib
17976 wine_fn_config_test dlls
/hlink
/tests hlink_test
17977 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17978 wine_fn_config_test dlls
/hnetcfg
/tests hnetcfg_test
17979 wine_fn_config_dll httpapi enable_httpapi
17980 wine_fn_config_dll iccvid enable_iccvid clean
17981 wine_fn_config_dll icmp enable_icmp
17982 wine_fn_config_dll ieframe enable_ieframe clean
,implib
17983 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17984 wine_fn_config_dll ifsmgr.vxd enable_win16
17985 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17986 wine_fn_config_dll imagehlp enable_imagehlp implib
17987 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17988 wine_fn_config_dll imm.dll16 enable_win16
17989 wine_fn_config_dll imm32 enable_imm32 implib
17990 wine_fn_config_test dlls
/imm32
/tests imm32_test
17991 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17992 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17993 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17994 wine_fn_config_dll inetmib1 enable_inetmib1
17995 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17996 wine_fn_config_dll infosoft enable_infosoft clean
17997 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17998 wine_fn_config_dll initpki enable_initpki
17999 wine_fn_config_dll inkobj enable_inkobj
18000 wine_fn_config_dll inseng enable_inseng clean
18001 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18002 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
18003 wine_fn_config_dll iprop enable_iprop
18004 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18005 wine_fn_config_dll itircl enable_itircl
18006 wine_fn_config_dll itss enable_itss clean
18007 wine_fn_config_test dlls
/itss
/tests itss_test
18008 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18009 wine_fn_config_dll jscript enable_jscript clean
18010 wine_fn_config_test dlls
/jscript
/tests jscript_test
18011 wine_fn_config_dll jsproxy enable_jsproxy implib
18012 wine_fn_config_test dlls
/jsproxy
/tests jsproxy_test
18013 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
18014 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
18015 wine_fn_config_dll kernelbase enable_kernelbase
18016 wine_fn_config_dll keyboard.drv16 enable_win16
18017 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18018 wine_fn_config_dll ksuser enable_ksuser
18019 wine_fn_config_dll ktmw32 enable_ktmw32
18020 wine_fn_config_dll loadperf enable_loadperf implib
18021 wine_fn_config_dll localspl enable_localspl clean
18022 wine_fn_config_test dlls
/localspl
/tests localspl_test
18023 wine_fn_config_dll localui enable_localui clean
18024 wine_fn_config_test dlls
/localui
/tests localui_test
18025 wine_fn_config_dll lz32 enable_lz32 implib
18026 wine_fn_config_test dlls
/lz32
/tests lz32_test
18027 wine_fn_config_dll lzexpand.dll16 enable_win16
18028 wine_fn_config_dll mapi32 enable_mapi32 clean
,implib
18029 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
18030 wine_fn_config_dll mapistub enable_mapistub
18031 wine_fn_config_dll mciavi32 enable_mciavi32
18032 wine_fn_config_dll mcicda enable_mcicda
18033 wine_fn_config_dll mciqtz32 enable_mciqtz32
18034 wine_fn_config_dll mciseq enable_mciseq
18035 wine_fn_config_dll mciwave enable_mciwave
18036 wine_fn_config_dll mf enable_mf
18037 wine_fn_config_dll mfplat enable_mfplat
18038 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18039 wine_fn_config_dll mgmtapi enable_mgmtapi
18040 wine_fn_config_dll midimap enable_midimap
18041 wine_fn_config_dll mlang enable_mlang clean
,implib
18042 wine_fn_config_test dlls
/mlang
/tests mlang_test
18043 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18044 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
18045 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18046 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
18047 wine_fn_config_dll mmdevldr.vxd enable_win16
18048 wine_fn_config_dll mmsystem.dll16 enable_win16
18049 wine_fn_config_dll monodebg.vxd enable_win16
18050 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18051 wine_fn_config_dll mouse.drv16 enable_win16
18052 wine_fn_config_dll mpr enable_mpr clean
,implib
18053 wine_fn_config_test dlls
/mpr
/tests mpr_test
18054 wine_fn_config_dll mprapi enable_mprapi implib
18055 wine_fn_config_dll msacm.dll16 enable_win16
18056 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18057 wine_fn_config_dll msacm32 enable_msacm32 clean
,implib
18058 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
18059 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18060 wine_fn_config_dll msasn1 enable_msasn1 implib
18061 wine_fn_config_dll mscat32 enable_mscat32
18062 wine_fn_config_dll mscms enable_mscms implib
18063 wine_fn_config_test dlls
/mscms
/tests mscms_test
18064 wine_fn_config_dll mscoree enable_mscoree clean
18065 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
18066 wine_fn_config_dll msctf enable_msctf clean
18067 wine_fn_config_test dlls
/msctf
/tests msctf_test
18068 wine_fn_config_dll msctfp enable_msctfp clean
18069 wine_fn_config_dll msdaps enable_msdaps clean
18070 wine_fn_config_dll msdelta enable_msdelta
18071 wine_fn_config_dll msdmo enable_msdmo implib
18072 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
18073 wine_fn_config_dll msdrm enable_msdrm
18074 wine_fn_config_dll msftedit enable_msftedit
18075 wine_fn_config_dll msg711.acm enable_msg711_acm
18076 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18077 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18078 wine_fn_config_dll mshtml enable_mshtml clean
,implib
18079 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
18080 wine_fn_config_dll msi enable_msi clean
,implib
18081 wine_fn_config_test dlls
/msi
/tests msi_test
18082 wine_fn_config_dll msident enable_msident clean
18083 wine_fn_config_dll msimg32 enable_msimg32 implib
18084 wine_fn_config_dll msimsg enable_msimsg
18085 wine_fn_config_dll msimtf enable_msimtf clean
18086 wine_fn_config_dll msisip enable_msisip
18087 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18088 wine_fn_config_dll msls31 enable_msls31
18089 wine_fn_config_dll msnet32 enable_msnet32
18090 wine_fn_config_dll mspatcha enable_mspatcha implib
18091 wine_fn_config_dll msports enable_msports
18092 wine_fn_config_dll msrle32 enable_msrle32 clean
18093 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
18094 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18095 wine_fn_config_test dlls
/msscript.ocx
/tests msscript.ocx_test clean
18096 wine_fn_config_dll mssign32 enable_mssign32
18097 wine_fn_config_dll mssip32 enable_mssip32
18098 wine_fn_config_dll mstask enable_mstask clean
18099 wine_fn_config_test dlls
/mstask
/tests mstask_test
18100 wine_fn_config_dll msvcirt enable_msvcirt
18101 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
18102 wine_fn_config_dll msvcm80 enable_msvcm80
18103 wine_fn_config_dll msvcm90 enable_msvcm90
18104 wine_fn_config_dll msvcp100 enable_msvcp100
18105 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
18106 wine_fn_config_dll msvcp110 enable_msvcp110
18107 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
18108 wine_fn_config_dll msvcp120 enable_msvcp120
18109 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
18110 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18111 wine_fn_config_dll msvcp140 enable_msvcp140
18112 wine_fn_config_test dlls
/msvcp140
/tests msvcp140_test
18113 wine_fn_config_dll msvcp60 enable_msvcp60
18114 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
18115 wine_fn_config_dll msvcp70 enable_msvcp70
18116 wine_fn_config_dll msvcp71 enable_msvcp71
18117 wine_fn_config_dll msvcp80 enable_msvcp80
18118 wine_fn_config_dll msvcp90 enable_msvcp90
18119 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
18120 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18121 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
18122 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18123 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18124 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
18125 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18126 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18127 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18128 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18129 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18130 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
18131 wine_fn_config_dll msvcrt enable_msvcrt implib
18132 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
18133 wine_fn_config_dll msvcrt20 enable_msvcrt20
18134 wine_fn_config_dll msvcrt40 enable_msvcrt40
18135 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18136 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
18137 wine_fn_config_dll msvfw32 enable_msvfw32 clean
,implib
18138 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
18139 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18140 wine_fn_config_dll msvideo.dll16 enable_win16
18141 wine_fn_config_dll mswsock enable_mswsock implib
18142 wine_fn_config_dll msxml enable_msxml clean
18143 wine_fn_config_dll msxml2 enable_msxml2 clean
18144 wine_fn_config_dll msxml3 enable_msxml3 clean
18145 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
18146 wine_fn_config_dll msxml4 enable_msxml4 clean
18147 wine_fn_config_dll msxml6 enable_msxml6 clean
18148 wine_fn_config_dll ncrypt enable_ncrypt
18149 wine_fn_config_dll nddeapi enable_nddeapi implib
18150 wine_fn_config_dll ndis.sys enable_ndis_sys
18151 wine_fn_config_dll netapi32 enable_netapi32 implib
18152 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
18153 wine_fn_config_dll netcfgx enable_netcfgx clean
18154 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
18155 wine_fn_config_dll netprofm enable_netprofm clean
18156 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
18157 wine_fn_config_dll newdev enable_newdev implib
18158 wine_fn_config_dll normaliz enable_normaliz implib
18159 wine_fn_config_dll npmshtml enable_npmshtml
18160 wine_fn_config_dll npptools enable_npptools
18161 wine_fn_config_dll ntdll enable_ntdll implib
18162 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
18163 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18164 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
18165 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18166 wine_fn_config_dll ntprint enable_ntprint
18167 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
18168 wine_fn_config_dll objsel enable_objsel clean
18169 wine_fn_config_dll odbc32 enable_odbc32 implib
18170 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18171 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
18172 wine_fn_config_dll odbccu32 enable_odbccu32
18173 wine_fn_config_dll ole2.dll16 enable_win16
18174 wine_fn_config_dll ole2conv.dll16 enable_win16
18175 wine_fn_config_dll ole2disp.dll16 enable_win16
18176 wine_fn_config_dll ole2nls.dll16 enable_win16
18177 wine_fn_config_dll ole2prox.dll16 enable_win16
18178 wine_fn_config_dll ole2thk.dll16 enable_win16
18179 wine_fn_config_dll ole32 enable_ole32 clean
,implib
18180 wine_fn_config_test dlls
/ole32
/tests ole32_test
18181 wine_fn_config_dll oleacc enable_oleacc clean
,implib
18182 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
18183 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
18184 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
18185 wine_fn_config_dll olecli.dll16 enable_win16
18186 wine_fn_config_dll olecli32 enable_olecli32 implib
18187 wine_fn_config_dll oledb32 enable_oledb32 clean
18188 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
18189 wine_fn_config_dll oledlg enable_oledlg clean
,implib
18190 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
18191 wine_fn_config_dll olepro32 enable_olepro32 clean
,implib
18192 wine_fn_config_dll olesvr.dll16 enable_win16
18193 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18194 wine_fn_config_dll olethk32 enable_olethk32
18195 wine_fn_config_dll openal32 enable_openal32
18196 wine_fn_config_dll opencl enable_opencl
18197 wine_fn_config_dll opengl32 enable_opengl32 implib
18198 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
18199 wine_fn_config_dll packager enable_packager clean
18200 wine_fn_config_test dlls
/packager
/tests packager_test
18201 wine_fn_config_dll pdh enable_pdh implib
18202 wine_fn_config_test dlls
/pdh
/tests pdh_test
18203 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18204 wine_fn_config_dll pidgen enable_pidgen
18205 wine_fn_config_dll powrprof enable_powrprof implib
18206 wine_fn_config_dll printui enable_printui
18207 wine_fn_config_dll prntvpt enable_prntvpt
18208 wine_fn_config_dll propsys enable_propsys clean
,implib
18209 wine_fn_config_test dlls
/propsys
/tests propsys_test
18210 wine_fn_config_dll psapi enable_psapi implib
18211 wine_fn_config_test dlls
/psapi
/tests psapi_test
18212 wine_fn_config_dll pstorec enable_pstorec clean
18213 wine_fn_config_dll qcap enable_qcap
18214 wine_fn_config_test dlls
/qcap
/tests qcap_test
18215 wine_fn_config_dll qedit enable_qedit clean
18216 wine_fn_config_test dlls
/qedit
/tests qedit_test
18217 wine_fn_config_dll qmgr enable_qmgr clean
18218 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
18219 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18220 wine_fn_config_dll quartz enable_quartz clean
,implib
18221 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
18222 wine_fn_config_dll query enable_query
18223 wine_fn_config_dll rasapi16.dll16 enable_win16
18224 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18225 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
18226 wine_fn_config_dll rasdlg enable_rasdlg implib
18227 wine_fn_config_dll regapi enable_regapi
18228 wine_fn_config_dll resutils enable_resutils implib
18229 wine_fn_config_dll riched20 enable_riched20 clean
,implib
18230 wine_fn_config_test dlls
/riched20
/tests riched20_test
18231 wine_fn_config_dll riched32 enable_riched32
18232 wine_fn_config_test dlls
/riched32
/tests riched32_test
18233 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
18234 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
18235 wine_fn_config_dll rsabase enable_rsabase
18236 wine_fn_config_dll rsaenh enable_rsaenh implib
18237 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
18238 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18239 wine_fn_config_dll rtutils enable_rtutils implib
18240 wine_fn_config_dll samlib enable_samlib
18241 wine_fn_config_dll sane.ds enable_sane_ds clean
18242 wine_fn_config_dll scarddlg enable_scarddlg
18243 wine_fn_config_dll sccbase enable_sccbase
18244 wine_fn_config_dll schannel enable_schannel
18245 wine_fn_config_test dlls
/schannel
/tests schannel_test
18246 wine_fn_config_dll schedsvc enable_schedsvc clean
18247 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
18248 wine_fn_config_dll scrrun enable_scrrun clean
18249 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
18250 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18251 wine_fn_config_dll secur32 enable_secur32 implib
18252 wine_fn_config_test dlls
/secur32
/tests secur32_test
18253 wine_fn_config_dll security enable_security
18254 wine_fn_config_dll sensapi enable_sensapi implib
18255 wine_fn_config_dll serialui enable_serialui clean
18256 wine_fn_config_test dlls
/serialui
/tests serialui_test
18257 wine_fn_config_dll setupapi enable_setupapi clean
,implib
18258 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
18259 wine_fn_config_dll setupx.dll16 enable_win16
18260 wine_fn_config_dll sfc enable_sfc implib
18261 wine_fn_config_dll sfc_os enable_sfc_os implib
18262 wine_fn_config_dll shdoclc enable_shdoclc clean
18263 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
18264 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
18265 wine_fn_config_dll shell.dll16 enable_win16
18266 wine_fn_config_dll shell32 enable_shell32 clean
,implib
18267 wine_fn_config_test dlls
/shell32
/tests shell32_test
18268 wine_fn_config_dll shfolder enable_shfolder implib
18269 wine_fn_config_dll shlwapi enable_shlwapi clean
,implib
18270 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
18271 wine_fn_config_dll slbcsp enable_slbcsp
18272 wine_fn_config_dll slc enable_slc implib
18273 wine_fn_config_test dlls
/slc
/tests slc_test
18274 wine_fn_config_dll snmpapi enable_snmpapi implib
18275 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
18276 wine_fn_config_dll softpub enable_softpub
18277 wine_fn_config_dll sound.drv16 enable_win16
18278 wine_fn_config_dll spoolss enable_spoolss implib
18279 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
18280 wine_fn_config_dll sspicli enable_sspicli
18281 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18282 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18283 wine_fn_config_dll sti enable_sti clean
,implib
18284 wine_fn_config_test dlls
/sti
/tests sti_test
18285 wine_fn_config_dll storage.dll16 enable_win16
18286 wine_fn_config_dll stress.dll16 enable_win16
18287 wine_fn_config_lib strmbase
18288 wine_fn_config_lib strmiids
18289 wine_fn_config_dll svrapi enable_svrapi
18290 wine_fn_config_dll sxs enable_sxs implib
18291 wine_fn_config_test dlls
/sxs
/tests sxs_test
18292 wine_fn_config_dll system.drv16 enable_win16
18293 wine_fn_config_dll t2embed enable_t2embed implib
18294 wine_fn_config_test dlls
/t2embed
/tests t2embed_test
18295 wine_fn_config_dll tapi32 enable_tapi32 implib
18296 wine_fn_config_dll taskschd enable_taskschd clean
18297 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
18298 wine_fn_config_dll tdi.sys enable_tdi_sys
18299 wine_fn_config_dll toolhelp.dll16 enable_win16
18300 wine_fn_config_dll traffic enable_traffic
18301 wine_fn_config_dll twain.dll16 enable_win16
18302 wine_fn_config_dll twain_32 enable_twain_32
18303 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
18304 wine_fn_config_dll typelib.dll16 enable_win16
18305 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18306 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
18307 wine_fn_config_dll unicows enable_unicows implib
18308 wine_fn_config_dll updspapi enable_updspapi
18309 wine_fn_config_dll url enable_url implib
18310 wine_fn_config_dll urlmon enable_urlmon clean
,implib
18311 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
18312 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18313 wine_fn_config_dll user.exe16 enable_win16
18314 wine_fn_config_dll user32 enable_user32 clean
,implib
18315 wine_fn_config_test dlls
/user32
/tests user32_test
18316 wine_fn_config_dll userenv enable_userenv implib
18317 wine_fn_config_test dlls
/userenv
/tests userenv_test
18318 wine_fn_config_dll usp10 enable_usp10 implib
18319 wine_fn_config_test dlls
/usp10
/tests usp10_test
18320 wine_fn_config_lib uuid
18321 wine_fn_config_dll uxtheme enable_uxtheme implib
18322 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
18323 wine_fn_config_dll vbscript enable_vbscript clean
18324 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
18325 wine_fn_config_dll vcomp enable_vcomp
18326 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
18327 wine_fn_config_dll vcomp100 enable_vcomp100
18328 wine_fn_config_dll vcomp110 enable_vcomp110
18329 wine_fn_config_dll vcomp120 enable_vcomp120
18330 wine_fn_config_dll vcomp140 enable_vcomp140
18331 wine_fn_config_dll vcomp90 enable_vcomp90
18332 wine_fn_config_dll vcruntime140 enable_vcruntime140
18333 wine_fn_config_dll vdhcp.vxd enable_win16
18334 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18335 wine_fn_config_dll ver.dll16 enable_win16
18336 wine_fn_config_dll version enable_version implib
18337 wine_fn_config_test dlls
/version
/tests version_test
18338 wine_fn_config_dll vmm.vxd enable_win16
18339 wine_fn_config_dll vnbt.vxd enable_win16
18340 wine_fn_config_dll vnetbios.vxd enable_win16
18341 wine_fn_config_dll vssapi enable_vssapi
18342 wine_fn_config_dll vtdapi.vxd enable_win16
18343 wine_fn_config_dll vwin32.vxd enable_win16
18344 wine_fn_config_dll w32skrnl enable_win16
18345 wine_fn_config_dll w32sys.dll16 enable_win16
18346 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18347 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
18348 wine_fn_config_dll wbemprox enable_wbemprox clean
18349 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
18350 wine_fn_config_dll webservices enable_webservices implib
18351 wine_fn_config_test dlls
/webservices
/tests webservices_test
18352 wine_fn_config_dll wer enable_wer implib
18353 wine_fn_config_test dlls
/wer
/tests wer_test
18354 wine_fn_config_dll wevtapi enable_wevtapi
18355 wine_fn_config_dll wiaservc enable_wiaservc clean
18356 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
18357 wine_fn_config_dll wimgapi enable_wimgapi
18358 wine_fn_config_dll win32s16.dll16 enable_win16
18359 wine_fn_config_dll win87em.dll16 enable_win16
18360 wine_fn_config_dll winaspi.dll16 enable_win16
18361 wine_fn_config_dll windebug.dll16 enable_win16
18362 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
18363 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
18364 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18365 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
18366 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18367 wine_fn_config_dll winebus.sys enable_winebus_sys
18368 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18369 wine_fn_config_lib winecrt0
18370 wine_fn_config_dll wined3d enable_wined3d implib
18371 wine_fn_config_dll winegstreamer enable_winegstreamer
18372 wine_fn_config_dll winehid.sys enable_winehid_sys
18373 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18374 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18375 wine_fn_config_dll winemapi enable_winemapi
18376 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18377 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18378 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18379 wine_fn_config_dll wineps16.drv16 enable_win16
18380 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18381 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18382 wine_fn_config_dll winex11.drv enable_winex11_drv
18383 wine_fn_config_dll wing.dll16 enable_win16
18384 wine_fn_config_dll wing32 enable_wing32
18385 wine_fn_config_dll winhttp enable_winhttp clean
,implib
18386 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
18387 wine_fn_config_dll wininet enable_wininet clean
,implib
18388 wine_fn_config_test dlls
/wininet
/tests wininet_test
18389 wine_fn_config_dll winmm enable_winmm clean
,implib
18390 wine_fn_config_test dlls
/winmm
/tests winmm_test
18391 wine_fn_config_dll winnls.dll16 enable_win16
18392 wine_fn_config_dll winnls32 enable_winnls32 implib
18393 wine_fn_config_dll winscard enable_winscard implib
18394 wine_fn_config_dll winsock.dll16 enable_win16
18395 wine_fn_config_dll winspool.drv enable_winspool_drv clean
,implib winspool
18396 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
18397 wine_fn_config_dll winsta enable_winsta
18398 wine_fn_config_dll wintab.dll16 enable_win16
18399 wine_fn_config_dll wintab32 enable_wintab32 implib
18400 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
18401 wine_fn_config_dll wintrust enable_wintrust implib
18402 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
18403 wine_fn_config_dll wlanapi enable_wlanapi
18404 wine_fn_config_dll wldap32 enable_wldap32 clean
,implib
18405 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
18406 wine_fn_config_dll wmasf enable_wmasf
18407 wine_fn_config_dll wmi enable_wmi
18408 wine_fn_config_dll wmiutils enable_wmiutils clean
18409 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
18410 wine_fn_config_dll wmp enable_wmp clean
18411 wine_fn_config_test dlls
/wmp
/tests wmp_test
18412 wine_fn_config_dll wmvcore enable_wmvcore
18413 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18414 wine_fn_config_dll wow32 enable_win16 implib
18415 wine_fn_config_dll wpc enable_wpc clean
18416 wine_fn_config_test dlls
/wpc
/tests wpc_test
18417 wine_fn_config_dll wpcap enable_wpcap
18418 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18419 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
18420 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18421 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
18422 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18423 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
18424 wine_fn_config_dll wsock32 enable_wsock32 implib
18425 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18426 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
18427 wine_fn_config_dll wuapi enable_wuapi clean
18428 wine_fn_config_dll wuaueng enable_wuaueng
18429 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18430 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18431 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18432 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18433 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18434 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18435 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18436 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18437 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18438 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18439 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18440 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18441 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18442 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18443 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18444 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18445 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18446 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18447 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18448 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18449 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18450 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
18451 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18452 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18453 wine_fn_config_dll xinput1_1 enable_xinput1_1
18454 wine_fn_config_dll xinput1_2 enable_xinput1_2
18455 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18456 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
18457 wine_fn_config_dll xinput1_4 enable_xinput1_4
18458 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18459 wine_fn_config_dll xmllite enable_xmllite implib
18460 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
18461 wine_fn_config_dll xolehlp enable_xolehlp
18462 wine_fn_config_dll xpsprint enable_xpsprint
18463 wine_fn_config_dll xpssvcs enable_xpssvcs
18464 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
18465 wine_fn_config_makefile include enable_include clean
,install-dev
18466 wine_fn_config_makefile libs
/port enable_libs_port
18467 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,implib
,install-dev
,install-lib
18468 wine_fn_config_makefile libs
/wpp enable_libs_wpp
18469 wine_fn_config_makefile loader enable_loader clean
,install-lib
18470 wine_fn_config_makefile po enable_po clean
18471 wine_fn_config_program arp enable_arp
install
18472 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
18473 wine_fn_config_program attrib enable_attrib clean
,install
18474 wine_fn_config_program cabarc enable_cabarc
install
18475 wine_fn_config_program cacls enable_cacls
install
18476 wine_fn_config_program
clock enable_clock clean
,install
18477 wine_fn_config_program cmd enable_cmd clean
,install
18478 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
18479 wine_fn_config_program conhost enable_conhost
install
18480 wine_fn_config_program control enable_control
install
18481 wine_fn_config_program cscript enable_cscript clean
,install
18482 wine_fn_config_program dpnsvr enable_dpnsvr
install
18483 wine_fn_config_program dxdiag enable_dxdiag clean
,install
18484 wine_fn_config_program eject enable_eject
install
18485 wine_fn_config_program
expand enable_expand
install
18486 wine_fn_config_program explorer enable_explorer clean
,install
18487 wine_fn_config_program extrac32 enable_extrac32
install
18488 wine_fn_config_program findstr enable_findstr
install
18489 wine_fn_config_program fsutil enable_fsutil
install
18490 wine_fn_config_program hh enable_hh
install
18491 wine_fn_config_program hostname enable_hostname clean
,install
18492 wine_fn_config_program icacls enable_icacls
install
18493 wine_fn_config_program icinfo enable_icinfo
install
18494 wine_fn_config_program iexplore enable_iexplore
install
18495 wine_fn_config_program ipconfig enable_ipconfig clean
,install
18496 wine_fn_config_program lodctr enable_lodctr
install
18497 wine_fn_config_program mofcomp enable_mofcomp
install
18498 wine_fn_config_program mshta enable_mshta
install
18499 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18500 wine_fn_config_program msinfo32 enable_msinfo32 clean
,install
18501 wine_fn_config_program net enable_net clean
,install
18502 wine_fn_config_program netsh enable_netsh
install
18503 wine_fn_config_program netstat enable_netstat clean
,install
18504 wine_fn_config_program ngen enable_ngen
install
18505 wine_fn_config_program notepad enable_notepad clean
,install,installbin
,manpage
18506 wine_fn_config_program oleview enable_oleview clean
,install
18507 wine_fn_config_program
ping enable_ping
install
18508 wine_fn_config_program plugplay enable_plugplay
install
18509 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18510 wine_fn_config_program progman enable_progman clean
,install
18511 wine_fn_config_program reg enable_reg clean
,install
18512 wine_fn_config_test programs
/reg
/tests reg.exe_test
18513 wine_fn_config_program regasm enable_regasm
install
18514 wine_fn_config_program regedit enable_regedit clean
,install,installbin
,manpage
18515 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18516 wine_fn_config_program regsvcs enable_regsvcs
install
18517 wine_fn_config_program regsvr32 enable_regsvr32 clean
,install,installbin
,manpage
18518 wine_fn_config_program rpcss enable_rpcss clean
,install
18519 wine_fn_config_program rundll.exe16 enable_win16
install
18520 wine_fn_config_program rundll32 enable_rundll32
install
18521 wine_fn_config_program sc enable_sc
install
18522 wine_fn_config_program schtasks enable_schtasks
install
18523 wine_fn_config_program sdbinst enable_sdbinst
install
18524 wine_fn_config_program secedit enable_secedit
install
18525 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18526 wine_fn_config_program services enable_services clean
,install
18527 wine_fn_config_test programs
/services
/tests services.exe_test
18528 wine_fn_config_program shutdown enable_shutdown
install
18529 wine_fn_config_program spoolsv enable_spoolsv
install
18530 wine_fn_config_program start enable_start clean
,install
18531 wine_fn_config_program subst enable_subst
install
18532 wine_fn_config_program svchost enable_svchost
install
18533 wine_fn_config_program systeminfo enable_systeminfo
install
18534 wine_fn_config_program taskkill enable_taskkill clean
,install
18535 wine_fn_config_program tasklist enable_tasklist
install
18536 wine_fn_config_program taskmgr enable_taskmgr clean
,install
18537 wine_fn_config_program termsv enable_termsv
install
18538 wine_fn_config_program uninstaller enable_uninstaller clean
,install
18539 wine_fn_config_program unlodctr enable_unlodctr
install
18540 wine_fn_config_program view enable_view clean
,install
18541 wine_fn_config_program wevtutil enable_wevtutil
install
18542 wine_fn_config_program wineboot enable_wineboot clean
,install,installbin
,manpage
18543 wine_fn_config_program winebrowser enable_winebrowser
install
18544 wine_fn_config_program winecfg enable_winecfg clean
,install,installbin
,manpage
18545 wine_fn_config_program wineconsole enable_wineconsole clean
,install,installbin
,manpage
18546 wine_fn_config_program winedbg enable_winedbg clean
,install,installbin
,manpage
18547 wine_fn_config_program winedevice enable_winedevice
install
18548 wine_fn_config_program winefile enable_winefile clean
,install,installbin
,manpage
18549 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18550 wine_fn_config_program winemine enable_winemine clean
,install,installbin
,manpage
18551 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18552 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18553 wine_fn_config_program winetest enable_winetest clean
18554 wine_fn_config_program winevdm enable_win16
install
18555 wine_fn_config_program winhelp.exe16 enable_win16
install
18556 wine_fn_config_program winhlp32 enable_winhlp32 clean
,install
18557 wine_fn_config_program winoldap.mod16 enable_win16
install
18558 wine_fn_config_program winver enable_winver
install
18559 wine_fn_config_program wmic enable_wmic clean
,install
18560 wine_fn_config_program wmplayer enable_wmplayer
install
18561 wine_fn_config_program wordpad enable_wordpad clean
,install
18562 wine_fn_config_program
write enable_write clean
,install
18563 wine_fn_config_program wscript enable_wscript clean
,install
18564 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18565 wine_fn_config_program wusa enable_wusa
install
18566 wine_fn_config_program xcopy enable_xcopy clean
,install
18567 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18568 wine_fn_config_makefile server enable_server clean
,install-lib
18569 wine_fn_config_tool tools clean
18570 wine_fn_config_tool tools
/sfnt2fon clean
18571 wine_fn_config_tool tools
/widl clean
,install-dev
18572 wine_fn_config_tool tools
/winebuild clean
,install-dev
18573 wine_fn_config_tool tools
/winedump clean
,install-dev
18574 wine_fn_config_tool tools
/winegcc clean
,install-dev
18575 wine_fn_config_tool tools
/winemaker clean
,install-dev
18576 wine_fn_config_tool tools
/wmc clean
,install-dev
18577 wine_fn_config_tool tools
/wrc clean
,install-dev
18580 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
18581 wine_fn_append_file CONFIGURE_TARGETS
"tags"
18582 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
18583 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
18584 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
18585 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
18586 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
18587 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
18589 if test "x$enable_tools" != xno
18591 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
18592 ac_config_commands
="$ac_config_commands tools/makedep"
18596 ac_config_commands
="$ac_config_commands Makefile"
18599 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
18603 if test "x$enable_maintainer_mode" = xyes
18605 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18606 autoconf --warnings=all
18607 include/config.h.in: include/stamp-h.in
18608 include/stamp-h.in: configure.ac aclocal.m4
18609 autoheader --warnings=all
18610 @echo timestamp > \$@"
18613 if test "x$enable_tools" != xno
18615 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18616 @./config.status tools/makedep
18617 Makefile: tools/makedep$ac_exeext"
18619 wine_fn_append_rule
"\$(MAKEDEP):
18620 @echo \"You need to run make in $TOOLSDIR first\" && false"
18623 if test -n "$with_wine64"
18625 wine_fn_append_rule
"all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18627 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18628 $with_wine64/loader/wine:
18629 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18630 $with_wine64/loader/wine-preloader:
18631 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18633 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18635 WINELOADER_INSTALL
="wine.inf"
18637 wine_fn_append_rule
"install install-lib::
18638 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18640 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18642 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
18643 *) wine_fn_append_rule
"install install-lib::
18644 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18646 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18650 $as_echo " done" >&6
18651 cat >confcache
<<\_ACEOF
18652 # This file is a shell script that caches the results of configure
18653 # tests run on this system so they can be shared between configure
18654 # scripts and configure runs, see configure's option --config-cache.
18655 # It is not useful on other systems. If it contains results you don't
18656 # want to keep, you may remove or edit it.
18658 # config.status only pays attention to the cache file if you give it
18659 # the --recheck option to rerun configure.
18661 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18662 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18663 # following values.
18667 # The following way of writing the cache mishandles newlines in values,
18668 # but we know of no workaround that is simple, portable, and efficient.
18669 # So, we kill variables containing newlines.
18670 # Ultrix sh set writes to stderr and can't be redirected directly,
18671 # and sets the high bit in the cache file unless we assign to the vars.
18673 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18674 eval ac_val
=\$
$ac_var
18678 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18679 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18682 _ | IFS | as_nl
) ;; #(
18683 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18684 *) { eval $ac_var=; unset $ac_var;} ;;
18690 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18691 *${as_nl}ac_space
=\
*)
18692 # `set' does not quote correctly, so add quotes: double-quote
18693 # substitution turns \\\\ into \\, and sed turns \\ into \.
18696 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18699 # `set' quotes correctly as required by POSIX, so do not add quotes.
18700 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18709 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18711 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18713 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18714 if test -w "$cache_file"; then
18715 if test "x$cache_file" != "x/dev/null"; then
18716 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18717 $as_echo "$as_me: updating cache $cache_file" >&6;}
18718 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18719 cat confcache
>"$cache_file"
18721 case $cache_file in #(
18723 mv -f confcache
"$cache_file"$$
&&
18724 mv -f "$cache_file"$$
"$cache_file" ;; #(
18726 mv -f confcache
"$cache_file" ;;
18731 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18732 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18737 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18738 # Let make expand exec_prefix.
18739 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18741 DEFS
=-DHAVE_CONFIG_H
18746 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18747 # 1. Remove the extension, and $U if already installed.
18748 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18749 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18750 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18751 # will be set to the directory where LIBOBJS objects are built.
18752 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18753 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18755 LIBOBJS
=$ac_libobjs
18757 LTLIBOBJS
=$ac_ltlibobjs
18761 : "${CONFIG_STATUS=./config.status}"
18763 ac_clean_files_save
=$ac_clean_files
18764 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18765 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18766 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18768 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18770 # Generated by $as_me.
18771 # Run this file to recreate the current configuration.
18772 # Compiler output produced by configure, useful for debugging
18773 # configure, is in config.log if it exists.
18776 ac_cs_recheck=false
18779 SHELL=\${CONFIG_SHELL-$SHELL}
18782 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18783 ## -------------------- ##
18784 ## M4sh Initialization. ##
18785 ## -------------------- ##
18787 # Be more Bourne compatible
18788 DUALCASE
=1; export DUALCASE
# for MKS sh
18789 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18792 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18793 # is contrary to our usage. Disable this feature.
18794 alias -g '${1+"$@"}'='"$@"'
18795 setopt NO_GLOB_SUBST
18797 case `(set -o) 2>/dev/null` in #(
18809 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18810 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18811 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18812 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18813 # Prefer a ksh shell builtin over an external printf program on Solaris,
18814 # but without wasting forks for bash or zsh.
18815 if test -z "$BASH_VERSION$ZSH_VERSION" \
18816 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18817 as_echo='print
-r --'
18818 as_echo_n='print
-rn --'
18819 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18820 as_echo='printf %s
\n'
18821 as_echo_n='printf %s
'
18823 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18824 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18825 as_echo_n='/usr
/ucb
/echo -n'
18827 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18828 as_echo_n_body='eval
18832 expr "X$arg" : "X\\(.*\\)$as_nl";
18833 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18835 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18837 export as_echo_n_body
18838 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18840 export as_echo_body
18841 as_echo='sh
-c $as_echo_body as_echo
'
18844 # The user is always right.
18845 if test "${PATH_SEPARATOR+set}" != set; then
18847 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18848 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18855 # We need space, tab and new line, in precisely that order. Quoting is
18856 # there to prevent editors from complaining about space-tab.
18857 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18858 # splitting by setting IFS to empty value.)
18861 # Find who we are. Look in the path if we contain no directory separator.
18864 *[\\/]* ) as_myself=$0 ;;
18865 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18866 for as_dir in $PATH
18869 test -z "$as_dir" && as_dir=.
18870 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18876 # We did not find ourselves, most probably we were run as `sh COMMAND'
18877 # in which case we are not to be found in the path.
18878 if test "x$as_myself" = x
; then
18881 if test ! -f "$as_myself"; then
18882 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18886 # Unset variables that we do not need and which cause bugs (e.g. in
18887 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18888 # suppresses any "Segmentation fault" message there. '((' could
18889 # trigger a bug in pdksh 5.2.14.
18890 for as_var
in BASH_ENV ENV MAIL MAILPATH
18891 do eval test x\
${$as_var+set} = xset \
18892 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18905 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18908 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18909 # ----------------------------------------
18910 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18911 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18912 # script with STATUS, using 1 if that was 0.
18915 as_status
=$1; test $as_status -eq 0 && as_status
=1
18917 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18918 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18920 $as_echo "$as_me: error: $2" >&2
18921 as_fn_exit
$as_status
18925 # as_fn_set_status STATUS
18926 # -----------------------
18927 # Set $? to STATUS, without forking.
18928 as_fn_set_status
()
18931 } # as_fn_set_status
18933 # as_fn_exit STATUS
18934 # -----------------
18935 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18939 as_fn_set_status
$1
18945 # Portably unset VAR.
18948 { eval $1=; unset $1;}
18950 as_unset
=as_fn_unset
18951 # as_fn_append VAR VALUE
18952 # ----------------------
18953 # Append the text in VALUE to the end of the definition contained in VAR. Take
18954 # advantage of any shell optimizations that allow amortized linear growth over
18955 # repeated appends, instead of the typical quadratic growth present in naive
18957 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18958 eval 'as_fn_append ()
18969 # as_fn_arith ARG...
18970 # ------------------
18971 # Perform arithmetic evaluation on the ARGs, and store the result in the
18972 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18973 # must be portable across $(()) and expr.
18974 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18975 eval 'as_fn_arith ()
18982 as_val
=`expr "$@" || test $? -eq 1`
18987 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18988 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18994 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18995 as_basename
=basename
19000 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19006 as_me
=`$as_basename -- "$0" ||
19007 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19008 X"$0" : 'X\(//\)$' \| \
19009 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19011 sed '/^.*\/\([^/][^/]*\)\/*$/{
19025 # Avoid depending upon Character Ranges.
19026 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19027 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19028 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19029 as_cr_digits
='0123456789'
19030 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19032 ECHO_C
= ECHO_N
= ECHO_T
=
19033 case `echo -n x` in #(((((
19035 case `echo 'xy\c'` in
19036 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19038 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19045 rm -f conf$$ conf$$.exe conf$$.
file
19046 if test -d conf$$.dir
; then
19047 rm -f conf$$.dir
/conf$$.
file
19050 mkdir conf$$.dir
2>/dev
/null
19052 if (echo >conf$$.
file) 2>/dev
/null
; then
19053 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19055 # ... but there are two gotchas:
19056 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19057 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19058 # In both cases, we have to default to `cp -pR'.
19059 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19061 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19069 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19070 rmdir conf$$.dir
2>/dev
/null
19075 # Create "$as_dir" as a directory, including parents if necessary.
19080 -*) as_dir
=.
/$as_dir;;
19082 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19086 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19087 *) as_qdir
=$as_dir;;
19089 as_dirs
="'$as_qdir' $as_dirs"
19090 as_dir
=`$as_dirname -- "$as_dir" ||
19091 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19092 X"$as_dir" : 'X\(//\)[^/]' \| \
19093 X"$as_dir" : 'X\(//\)$' \| \
19094 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19095 $as_echo X"$as_dir" |
19096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19100 /^X\(\/\/\)[^/].*/{
19113 test -d "$as_dir" && break
19115 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19116 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19120 if mkdir
-p .
2>/dev
/null
; then
19121 as_mkdir_p
='mkdir -p "$as_dir"'
19123 test -d .
/-p && rmdir .
/-p
19128 # as_fn_executable_p FILE
19129 # -----------------------
19130 # Test if FILE is an executable regular file.
19131 as_fn_executable_p
()
19133 test -f "$1" && test -x "$1"
19134 } # as_fn_executable_p
19135 as_test_x
='test -x'
19136 as_executable_p
=as_fn_executable_p
19138 # Sed expression to map a string onto a valid CPP name.
19139 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19141 # Sed expression to map a string onto a valid variable name.
19142 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19146 ## ----------------------------------- ##
19147 ## Main body of $CONFIG_STATUS script. ##
19148 ## ----------------------------------- ##
19150 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19153 # Save the log message, to keep $0 and so on meaningful, and to
19154 # report actual input values of CONFIG_FILES etc. instead of their
19155 # values after options handling.
19157 This file was extended by Wine $as_me 2.0.4, which was
19158 generated by GNU Autoconf 2.69. Invocation command line was
19160 CONFIG_FILES = $CONFIG_FILES
19161 CONFIG_HEADERS = $CONFIG_HEADERS
19162 CONFIG_LINKS = $CONFIG_LINKS
19163 CONFIG_COMMANDS = $CONFIG_COMMANDS
19166 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19171 case $ac_config_files in *"
19172 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19175 case $ac_config_headers in *"
19176 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19181 # Files that config.status was made for.
19182 config_files="$ac_config_files"
19183 config_headers="$ac_config_headers"
19184 config_links="$ac_config_links"
19185 config_commands="$ac_config_commands"
19189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19191 \`$as_me' instantiates files and other configuration actions
19192 from templates according to the current configuration. Unless the files
19193 and actions are specified as TAGs, all are instantiated by default.
19195 Usage: $0 [OPTION]... [TAG]...
19197 -h, --help print this help, then exit
19198 -V, --version print version number and configuration settings, then exit
19199 --config print configuration, then exit
19200 -q, --quiet, --silent
19201 do not print progress messages
19202 -d, --debug don't remove temporary files
19203 --recheck update $as_me by reconfiguring in the same conditions
19204 --file=FILE[:TEMPLATE]
19205 instantiate the configuration file FILE
19206 --header=FILE[:TEMPLATE]
19207 instantiate the configuration header FILE
19209 Configuration files:
19212 Configuration headers:
19215 Configuration links:
19218 Configuration commands:
19221 Report bugs to <wine-devel@winehq.org>.
19222 Wine home page: <https://www.winehq.org>."
19225 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19226 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19228 Wine config.status 2.0.4
19229 configured by $0, generated by GNU Autoconf 2.69,
19230 with options \\"\$ac_cs_config\\"
19232 Copyright (C) 2012 Free Software Foundation, Inc.
19233 This config.status script is free software; the Free Software Foundation
19234 gives unlimited permission to copy, distribute and modify it."
19238 test -n "\$AWK" || AWK=awk
19241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19242 # The default lists apply if the user does not specify any file.
19248 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19249 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19253 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19265 # Handling of the options.
19266 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19268 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19269 $as_echo "$ac_cs_version"; exit ;;
19270 --config |
--confi |
--conf |
--con |
--co |
--c )
19271 $as_echo "$ac_cs_config"; exit ;;
19272 --debug |
--debu |
--deb |
--de |
--d |
-d )
19274 --file |
--fil |
--fi |
--f )
19277 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19278 '') as_fn_error $?
"missing file argument" ;;
19280 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19281 ac_need_defaults
=false
;;
19282 --header |
--heade |
--head |
--hea )
19285 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19287 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19288 ac_need_defaults
=false
;;
19290 # Conflict between --help and --header
19291 as_fn_error $?
"ambiguous option: \`$1'
19292 Try \`$0 --help' for more information.";;
19293 --help |
--hel |
-h )
19294 $as_echo "$ac_cs_usage"; exit ;;
19295 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19296 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19299 # This is an error.
19300 -*) as_fn_error $?
"unrecognized option: \`$1'
19301 Try \`$0 --help' for more information." ;;
19303 *) as_fn_append ac_config_targets
" $1"
19304 ac_need_defaults
=false
;;
19310 ac_configure_extra_args
=
19312 if $ac_cs_silent; then
19314 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19319 if \$ac_cs_recheck; then
19320 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19322 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19323 CONFIG_SHELL='$SHELL'
19324 export CONFIG_SHELL
19329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19333 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19334 ## Running $as_me. ##
19340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19344 wine_fn_output_makedep ()
19346 as_dir=tools; as_fn_mkdir_p
19347 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19349 wine_fn_output_makefile ()
19351 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19352 `cat $wine_rules_file`
19354 as_fn_error $? "could not create Makefile" "$LINENO" 5
19359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19361 # Handling of arguments.
19362 for ac_config_target
in $ac_config_targets
19364 case $ac_config_target in
19365 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19366 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
19367 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19368 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19369 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19370 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19371 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19372 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19373 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
19374 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19375 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
19376 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
19377 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19379 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19384 # If the user did not use the arguments to specify the items to instantiate,
19385 # then the envvar interface is used. Set only those that are not.
19386 # We use the long form for the default assignment because of an extremely
19387 # bizarre bug on SunOS 4.1.3.
19388 if $ac_need_defaults; then
19389 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19390 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19391 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19392 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19395 # Have a temporary directory for convenience. Make it in the build tree
19396 # simply because there is no reason against having it here, and in addition,
19397 # creating and moving files from /tmp can sometimes cause problems.
19398 # Hook for its removal unless debugging.
19399 # Note that there is a small window in which the directory will not be cleaned:
19400 # after its creation but before its name has been assigned to `$tmp'.
19404 trap 'exit_status=$?
19405 : "${ac_tmp:=$tmp}"
19406 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19408 trap 'as_fn_exit 1' 1 2 13 15
19410 # Create a (secure) tmp directory for tmp files.
19413 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19417 tmp
=.
/conf$$
-$RANDOM
19418 (umask 077 && mkdir
"$tmp")
19419 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19422 # Set up the scripts for CONFIG_FILES section.
19423 # No need to generate them if there are no CONFIG_FILES.
19424 # This happens for instance with `./config.status config.h'.
19425 if test -n "$CONFIG_FILES"; then
19428 ac_cr
=`echo X | tr X '\015'`
19429 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19430 # But we know of no other shell where ac_cr would be empty at this
19431 # point, so we can use a bashism as a fallback.
19432 if test "x$ac_cr" = x
; then
19433 eval ac_cr
=\$
\'\\r
\'
19435 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19436 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19439 ac_cs_awk_cr
=$ac_cr
19442 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19447 echo "cat >conf$$subs.awk <<_ACEOF" &&
19448 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19450 } >conf$$subs.sh ||
19451 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19452 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19454 for ac_last_try in false false false false false :; do
19455 . ./conf$$subs.sh ||
19456 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19458 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19459 if test $ac_delim_n = $ac_delim_num; then
19461 elif $ac_last_try; then
19462 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19464 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19467 rm -f conf$$subs.sh
19469 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19470 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19474 s/^/S["/; s
/!.
*/"]=/
19484 s/\(.\{148\}\)..*/\1/
19486 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19491 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19498 s/\(.\{148\}\)..*/\1/
19500 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19504 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19509 ' <conf$$subs.awk | sed '
19514 ' >>$CONFIG_STATUS || ac_write_fail=1
19515 rm -f conf$$subs.awk
19516 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19518 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19519 for (key in S) S_is_set[key] = 1
19525 nfields = split(line, field, "@
")
19527 len = length(field[1])
19528 for (i = 2; i < nfields; i++) {
19530 keylen = length(key)
19531 if (S_is_set[key]) {
19533 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19534 len += length(value) + length(field[++i])
19545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19546 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19547 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19550 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19551 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19554 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19555 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19556 # trailing colons and then remove the whole line if VPATH becomes empty
19557 # (actually we leave an empty line to preserve line numbers).
19558 if test "x
$srcdir" = x.; then
19559 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19578 fi # test -n "$CONFIG_FILES"
19580 # Set up the scripts for CONFIG_HEADERS section.
19581 # No need to generate them if there are no CONFIG_HEADERS.
19582 # This happens for instance with `./config.status Makefile'.
19583 if test -n "$CONFIG_HEADERS"; then
19584 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19588 # Transform confdefs.h into an awk script `defines.awk', embedded as
19589 # here-document in config.status, that substitutes the proper values into
19590 # config.h.in to produce config.h.
19592 # Create a delimiter string that does not exist in confdefs.h, to ease
19593 # handling of long lines.
19595 for ac_last_try in false false :; do
19596 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19597 if test -z "$ac_tt"; then
19599 elif $ac_last_try; then
19600 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19602 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19606 # For the awk script, D is an array of macro values keyed by name,
19607 # likewise P contains macro parameters if any. Preserve backslash
19608 # newline sequences.
19610 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19612 s/.\{148\}/&'"$ac_delim"'/g
19615 s/^[ ]*#[ ]*define[ ][ ]*/ /
19622 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19624 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19628 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19629 D["\
1"]=" \
3\\\\\\n
"\\/p
19631 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19636 s/.\{148\}/&'"$ac_delim"'/g
19641 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19644 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19646 ' <confdefs.h | sed '
19647 s/'"$ac_delim"'/"\\\
19648 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19651 for (key in D) D_is_set[key] = 1
19654 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19656 split(line, arg, " ")
19657 if (arg[1] == "#") {
19661 defundef
= substr
(arg
[1], 2)
19664 split(mac1
, mac2
, "(") #)
19666 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19667 if (D_is_set
[macro
]) {
19668 # Preserve the white space surrounding the "#".
19669 print prefix
"define", macro P
[macro
] D
[macro
]
19672 # Replace #undef with comments. This is necessary, for example,
19673 # in the case of _POSIX_SOURCE, which is predefined and required
19674 # on some systems where configure will not decide to define it.
19675 if (defundef
== "undef") {
19676 print
"/*", prefix defundef
, macro
, "*/"
19684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19685 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19686 fi # test -n "$CONFIG_HEADERS"
19689 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19694 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19696 case $ac_mode$ac_tag in
19698 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19699 :[FH
]-) ac_tag
=-:-;;
19700 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19717 -) ac_f
="$ac_tmp/stdin";;
19718 *) # Look for the file first in the build tree, then in the source tree
19719 # (if the path is not absolute). The absolute path cannot be DOS-style,
19720 # because $ac_f cannot contain `:'.
19724 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19726 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19728 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19729 as_fn_append ac_file_inputs
" '$ac_f'"
19732 # Let's still pretend it is `configure' which instantiates (i.e., don't
19733 # use $as_me), people would be surprised to read:
19734 # /* config.h. Generated by config.status. */
19735 configure_input
='Generated from '`
19736 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19738 if test x
"$ac_file" != x-
; then
19739 configure_input
="$ac_file. $configure_input"
19740 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19741 $as_echo "$as_me: creating $ac_file" >&6;}
19743 # Neutralize special characters interpreted by sed in replacement strings.
19744 case $configure_input in #(
19745 *\
&* |
*\|
* |
*\\* )
19746 ac_sed_conf_input
=`$as_echo "$configure_input" |
19747 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19748 *) ac_sed_conf_input
=$configure_input;;
19752 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19753 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19758 ac_dir
=`$as_dirname -- "$ac_file" ||
19759 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19760 X"$ac_file" : 'X\(//\)[^/]' \| \
19761 X"$ac_file" : 'X\(//\)$' \| \
19762 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19763 $as_echo X"$ac_file" |
19764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19768 /^X\(\/\/\)[^/].*/{
19781 as_dir
="$ac_dir"; as_fn_mkdir_p
19785 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19787 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19788 # A ".." for each directory in $ac_dir_suffix.
19789 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19790 case $ac_top_builddir_sub in
19791 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19792 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19795 ac_abs_top_builddir
=$ac_pwd
19796 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19797 # for backward compatibility:
19798 ac_top_builddir
=$ac_top_build_prefix
19801 .
) # We are building in place.
19803 ac_top_srcdir
=$ac_top_builddir_sub
19804 ac_abs_top_srcdir
=$ac_pwd ;;
19805 [\\/]* | ?
:[\\/]* ) # Absolute name.
19806 ac_srcdir
=$srcdir$ac_dir_suffix;
19807 ac_top_srcdir
=$srcdir
19808 ac_abs_top_srcdir
=$srcdir ;;
19809 *) # Relative name.
19810 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19811 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19812 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19814 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19826 # If the template does not know about datarootdir, expand it.
19827 # FIXME: This hack should be removed a few years after 2.60.
19828 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19839 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19840 *datarootdir
*) ac_datarootdir_seen
=yes;;
19841 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19843 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19846 ac_datarootdir_hack='
19847 s&@datadir@&$datadir&g
19848 s&@docdir@&$docdir&g
19849 s&@infodir@&$infodir&g
19850 s&@localedir@&$localedir&g
19851 s&@mandir@&$mandir&g
19852 s&\\\${datarootdir}&$datarootdir&g' ;;
19856 # Neutralize VPATH when `$srcdir' = `.'.
19857 # Shell code in configure.ac might set extrasub.
19858 # FIXME: do we really want to maintain this feature?
19859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19860 ac_sed_extra="$ac_vpsub
19863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19865 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19866 s|@configure_input@|
$ac_sed_conf_input|
;t t
19867 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19868 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19869 s
&@srcdir@
&$ac_srcdir&;t t
19870 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19871 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19872 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19873 s
&@builddir@
&$ac_builddir&;t t
19874 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19875 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19876 $ac_datarootdir_hack
19878 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19879 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19881 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19882 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19883 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19884 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19886 which seems to be undefined. Please make sure it is defined" >&5
19887 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19888 which seems to be undefined. Please make sure it is defined" >&2;}
19890 rm -f "$ac_tmp/stdin"
19892 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19893 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19895 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19901 if test x"$ac_file" != x-; then
19903 $as_echo "/* $configure_input */" \
19904 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19905 } >"$ac_tmp/config.h" \
19906 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19907 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19908 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19909 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19912 mv "$ac_tmp/config.h" "$ac_file" \
19913 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19916 $as_echo "/* $configure_input */" \
19917 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19918 || as_fn_error $? "could not create -" "$LINENO" 5
19926 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19929 # Prefer the file from the source tree if names are identical.
19930 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19931 ac_source=$srcdir/$ac_source
19934 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19935 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19937 if test ! -r "$ac_source"; then
19938 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19942 # Try a relative symlink, then a hard link, then a copy.
19944 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19945 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19947 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19948 ln "$ac_source" "$ac_file" 2>/dev/null ||
19949 cp -p "$ac_source" "$ac_file" ||
19950 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19953 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19954 $as_echo "$as_me: executing $ac_file commands" >&6;}
19959 case $ac_file$ac_mode in
19960 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19961 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19962 "Makefile":C) wine_fn_output_makefile Makefile ;;
19970 ac_clean_files=$ac_clean_files_save
19972 test $ac_write_fail = 0 ||
19973 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19976 # configure is writing to config.log, and then calls config.status.
19977 # config.status does its own redirection, appending to config.log.
19978 # Unfortunately, on DOS this fails, as config.log is still kept open
19979 # by configure, so config.status won't be able to
write to it
; its
19980 # output is simply discarded. So we exec the FD to /dev/null,
19981 # effectively closing config.log, so it can be properly (re)opened and
19982 # appended to by config.status. When coming back to configure, we
19983 # need to make the FD available again.
19984 if test "$no_create" != yes; then
19986 ac_config_status_args
=
19987 test "$silent" = yes &&
19988 ac_config_status_args
="$ac_config_status_args --quiet"
19990 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19992 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19993 # would make configure fail if this is the last instruction.
19994 $ac_cs_success || as_fn_exit
1
19996 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19998 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20002 if test "$no_create" = "yes"
20008 if test "x$wine_notices" != x
; then
20011 for msg
in $wine_notices; do
20013 if ${msg:+false} :; then :
20016 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20017 $as_echo "$as_me: $msg" >&6;}
20022 for msg
in $wine_warnings; do
20024 if ${msg:+false} :; then :
20028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20029 $as_echo "$as_me: WARNING: $msg" >&2;}
20035 $as_me: Finished. Do '${ac_make}' to compile Wine.