2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.23.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='1.9.23'
584 PACKAGE_STRING
='Wine 1.9.23'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
635 EXCESS_PRECISION_CFLAGS
706 APPLICATIONSERVICES_LIBS
801 program_transform_name
814 enable_option_checking
818 enable_maintainer_mode
877 enable_api_ms_win_appmodel_runtime_l1_1_1
878 enable_api_ms_win_core_apiquery_l1_1_0
879 enable_api_ms_win_core_appcompat_l1_1_1
880 enable_api_ms_win_core_appinit_l1_1_0
881 enable_api_ms_win_core_atoms_l1_1_0
882 enable_api_ms_win_core_bem_l1_1_0
883 enable_api_ms_win_core_com_l1_1_0
884 enable_api_ms_win_core_com_l1_1_1
885 enable_api_ms_win_core_com_private_l1_1_0
886 enable_api_ms_win_core_console_l1_1_0
887 enable_api_ms_win_core_console_l2_1_0
888 enable_api_ms_win_core_datetime_l1_1_0
889 enable_api_ms_win_core_datetime_l1_1_1
890 enable_api_ms_win_core_debug_l1_1_0
891 enable_api_ms_win_core_debug_l1_1_1
892 enable_api_ms_win_core_delayload_l1_1_0
893 enable_api_ms_win_core_delayload_l1_1_1
894 enable_api_ms_win_core_errorhandling_l1_1_0
895 enable_api_ms_win_core_errorhandling_l1_1_1
896 enable_api_ms_win_core_errorhandling_l1_1_2
897 enable_api_ms_win_core_fibers_l1_1_0
898 enable_api_ms_win_core_fibers_l1_1_1
899 enable_api_ms_win_core_file_l1_1_0
900 enable_api_ms_win_core_file_l1_2_0
901 enable_api_ms_win_core_file_l1_2_1
902 enable_api_ms_win_core_file_l2_1_0
903 enable_api_ms_win_core_file_l2_1_1
904 enable_api_ms_win_core_handle_l1_1_0
905 enable_api_ms_win_core_heap_l1_1_0
906 enable_api_ms_win_core_heap_l1_2_0
907 enable_api_ms_win_core_heap_obsolete_l1_1_0
908 enable_api_ms_win_core_interlocked_l1_1_0
909 enable_api_ms_win_core_interlocked_l1_2_0
910 enable_api_ms_win_core_io_l1_1_0
911 enable_api_ms_win_core_io_l1_1_1
912 enable_api_ms_win_core_job_l1_1_0
913 enable_api_ms_win_core_job_l2_1_0
914 enable_api_ms_win_core_kernel32_legacy_l1_1_0
915 enable_api_ms_win_core_kernel32_legacy_l1_1_1
916 enable_api_ms_win_core_kernel32_private_l1_1_1
917 enable_api_ms_win_core_libraryloader_l1_1_0
918 enable_api_ms_win_core_libraryloader_l1_1_1
919 enable_api_ms_win_core_libraryloader_l1_2_0
920 enable_api_ms_win_core_libraryloader_l1_2_2
921 enable_api_ms_win_core_localization_l1_1_0
922 enable_api_ms_win_core_localization_l1_2_0
923 enable_api_ms_win_core_localization_l1_2_1
924 enable_api_ms_win_core_localization_l2_1_0
925 enable_api_ms_win_core_localization_obsolete_l1_1_0
926 enable_api_ms_win_core_localization_obsolete_l1_2_0
927 enable_api_ms_win_core_localization_private_l1_1_0
928 enable_api_ms_win_core_localregistry_l1_1_0
929 enable_api_ms_win_core_memory_l1_1_0
930 enable_api_ms_win_core_memory_l1_1_1
931 enable_api_ms_win_core_memory_l1_1_2
932 enable_api_ms_win_core_misc_l1_1_0
933 enable_api_ms_win_core_namedpipe_l1_1_0
934 enable_api_ms_win_core_namedpipe_l1_2_0
935 enable_api_ms_win_core_namespace_l1_1_0
936 enable_api_ms_win_core_normalization_l1_1_0
937 enable_api_ms_win_core_path_l1_1_0
938 enable_api_ms_win_core_privateprofile_l1_1_1
939 enable_api_ms_win_core_processenvironment_l1_1_0
940 enable_api_ms_win_core_processenvironment_l1_2_0
941 enable_api_ms_win_core_processthreads_l1_1_0
942 enable_api_ms_win_core_processthreads_l1_1_1
943 enable_api_ms_win_core_processthreads_l1_1_2
944 enable_api_ms_win_core_profile_l1_1_0
945 enable_api_ms_win_core_psapi_l1_1_0
946 enable_api_ms_win_core_psapi_obsolete_l1_1_0
947 enable_api_ms_win_core_realtime_l1_1_0
948 enable_api_ms_win_core_registry_l1_1_0
949 enable_api_ms_win_core_registryuserspecific_l1_1_0
950 enable_api_ms_win_core_rtlsupport_l1_1_0
951 enable_api_ms_win_core_rtlsupport_l1_2_0
952 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
953 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
954 enable_api_ms_win_core_sidebyside_l1_1_0
955 enable_api_ms_win_core_string_l1_1_0
956 enable_api_ms_win_core_string_l2_1_0
957 enable_api_ms_win_core_string_obsolete_l1_1_0
958 enable_api_ms_win_core_stringansi_l1_1_0
959 enable_api_ms_win_core_synch_l1_1_0
960 enable_api_ms_win_core_synch_l1_2_0
961 enable_api_ms_win_core_sysinfo_l1_1_0
962 enable_api_ms_win_core_sysinfo_l1_2_0
963 enable_api_ms_win_core_sysinfo_l1_2_1
964 enable_api_ms_win_core_threadpool_l1_1_0
965 enable_api_ms_win_core_threadpool_l1_2_0
966 enable_api_ms_win_core_threadpool_legacy_l1_1_0
967 enable_api_ms_win_core_timezone_l1_1_0
968 enable_api_ms_win_core_toolhelp_l1_1_0
969 enable_api_ms_win_core_url_l1_1_0
970 enable_api_ms_win_core_util_l1_1_0
971 enable_api_ms_win_core_version_l1_1_0
972 enable_api_ms_win_core_version_private_l1_1_0
973 enable_api_ms_win_core_versionansi_l1_1_0
974 enable_api_ms_win_core_windowserrorreporting_l1_1_0
975 enable_api_ms_win_core_winrt_error_l1_1_0
976 enable_api_ms_win_core_winrt_error_l1_1_1
977 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
978 enable_api_ms_win_core_winrt_l1_1_0
979 enable_api_ms_win_core_winrt_registration_l1_1_0
980 enable_api_ms_win_core_winrt_string_l1_1_0
981 enable_api_ms_win_core_wow64_l1_1_0
982 enable_api_ms_win_core_xstate_l1_1_0
983 enable_api_ms_win_core_xstate_l2_1_0
984 enable_api_ms_win_crt_conio_l1_1_0
985 enable_api_ms_win_crt_convert_l1_1_0
986 enable_api_ms_win_crt_environment_l1_1_0
987 enable_api_ms_win_crt_filesystem_l1_1_0
988 enable_api_ms_win_crt_heap_l1_1_0
989 enable_api_ms_win_crt_locale_l1_1_0
990 enable_api_ms_win_crt_math_l1_1_0
991 enable_api_ms_win_crt_multibyte_l1_1_0
992 enable_api_ms_win_crt_private_l1_1_0
993 enable_api_ms_win_crt_process_l1_1_0
994 enable_api_ms_win_crt_runtime_l1_1_0
995 enable_api_ms_win_crt_stdio_l1_1_0
996 enable_api_ms_win_crt_string_l1_1_0
997 enable_api_ms_win_crt_time_l1_1_0
998 enable_api_ms_win_crt_utility_l1_1_0
999 enable_api_ms_win_downlevel_advapi32_l1_1_0
1000 enable_api_ms_win_downlevel_advapi32_l2_1_0
1001 enable_api_ms_win_downlevel_normaliz_l1_1_0
1002 enable_api_ms_win_downlevel_ole32_l1_1_0
1003 enable_api_ms_win_downlevel_shell32_l1_1_0
1004 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1005 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1006 enable_api_ms_win_downlevel_user32_l1_1_0
1007 enable_api_ms_win_downlevel_version_l1_1_0
1008 enable_api_ms_win_dx_d3dkmt_l1_1_0
1009 enable_api_ms_win_eventing_classicprovider_l1_1_0
1010 enable_api_ms_win_eventing_consumer_l1_1_0
1011 enable_api_ms_win_eventing_controller_l1_1_0
1012 enable_api_ms_win_eventing_provider_l1_1_0
1013 enable_api_ms_win_eventlog_legacy_l1_1_0
1014 enable_api_ms_win_ntuser_dc_access_l1_1_0
1015 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1016 enable_api_ms_win_security_audit_l1_1_1
1017 enable_api_ms_win_security_base_l1_1_0
1018 enable_api_ms_win_security_base_l1_2_0
1019 enable_api_ms_win_security_base_private_l1_1_1
1020 enable_api_ms_win_security_lsalookup_l1_1_0
1021 enable_api_ms_win_security_lsalookup_l1_1_1
1022 enable_api_ms_win_security_lsalookup_l2_1_1
1023 enable_api_ms_win_security_lsapolicy_l1_1_0
1024 enable_api_ms_win_security_sddl_l1_1_0
1025 enable_api_ms_win_service_core_l1_1_0
1026 enable_api_ms_win_service_core_l1_1_1
1027 enable_api_ms_win_service_management_l1_1_0
1028 enable_api_ms_win_service_management_l2_1_0
1029 enable_api_ms_win_service_private_l1_1_1
1030 enable_api_ms_win_service_winsvc_l1_1_0
1031 enable_api_ms_win_service_winsvc_l1_2_0
1032 enable_api_ms_win_shell_shellcom_l1_1_0
1033 enable_api_ms_win_shell_shellfolders_l1_1_0
1046 enable_bluetoothapis
1079 enable_d3dcompiler_33
1080 enable_d3dcompiler_34
1081 enable_d3dcompiler_35
1082 enable_d3dcompiler_36
1083 enable_d3dcompiler_37
1084 enable_d3dcompiler_38
1085 enable_d3dcompiler_39
1086 enable_d3dcompiler_40
1087 enable_d3dcompiler_41
1088 enable_d3dcompiler_42
1089 enable_d3dcompiler_43
1090 enable_d3dcompiler_46
1091 enable_d3dcompiler_47
1169 enable_explorerframe
1170 enable_ext_ms_win_gdi_dc_create_l1_1_1
1171 enable_ext_ms_win_gdi_dc_l1_2_0
1172 enable_ext_ms_win_gdi_devcaps_l1_1_0
1173 enable_ext_ms_win_gdi_draw_l1_1_1
1174 enable_ext_ms_win_gdi_render_l1_1_0
1175 enable_ext_ms_win_kernel32_package_current_l1_1_0
1176 enable_ext_ms_win_ntuser_message_l1_1_1
1177 enable_ext_ms_win_ntuser_private_l1_1_1
1178 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1179 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1180 enable_ext_ms_win_ntuser_window_l1_1_1
1181 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1182 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1183 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1184 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1185 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1352 enable_photometadatahandler
1442 enable_windowscodecs
1443 enable_windowscodecsext
1446 enable_winecoreaudio_drv
1448 enable_winegstreamer
1450 enable_winejoystick_drv
1456 enable_winepulse_drv
1457 enable_wineqtdecoder
1526 enable_aspnet_regiis
1562 enable_presentationfontcache
1575 enable_servicemodelreg
1598 enable_winemenubuilder
1600 enable_winemsibuilder
1615 ac_precious_vars
='build_alias
1670 # Initialize some variables set by options.
1672 ac_init_version
=false
1673 ac_unrecognized_opts
=
1674 ac_unrecognized_sep
=
1675 # The variables have the same names as the options, with
1676 # dashes changed to underlines.
1677 cache_file
=/dev
/null
1684 program_transform_name
=s
,x
,x
,
1692 # Installation directory options.
1693 # These are left unexpanded so users can "make install exec_prefix=/foo"
1694 # and all the variables that are supposed to be based on exec_prefix
1695 # by default will actually change.
1696 # Use braces instead of parens because sh, perl, etc. also accept them.
1697 # (The list follows the same order as the GNU Coding Standards.)
1698 bindir
='${exec_prefix}/bin'
1699 sbindir
='${exec_prefix}/sbin'
1700 libexecdir
='${exec_prefix}/libexec'
1701 datarootdir
='${prefix}/share'
1702 datadir
='${datarootdir}'
1703 sysconfdir
='${prefix}/etc'
1704 sharedstatedir
='${prefix}/com'
1705 localstatedir
='${prefix}/var'
1706 runstatedir
='${localstatedir}/run'
1707 includedir
='${prefix}/include'
1708 oldincludedir
='/usr/include'
1709 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1710 infodir
='${datarootdir}/info'
1715 libdir
='${exec_prefix}/lib'
1716 localedir
='${datarootdir}/locale'
1717 mandir
='${datarootdir}/man'
1723 # If the previous option needs an argument, assign it.
1724 if test -n "$ac_prev"; then
1725 eval $ac_prev=\
$ac_option
1731 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1736 # Accept the important Cygnus configure options, so we can diagnose typos.
1738 case $ac_dashdash$ac_option in
1742 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1744 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1745 bindir
=$ac_optarg ;;
1747 -build |
--build |
--buil |
--bui |
--bu)
1748 ac_prev
=build_alias
;;
1749 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1750 build_alias
=$ac_optarg ;;
1752 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1753 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1754 ac_prev
=cache_file
;;
1755 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1756 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1757 cache_file
=$ac_optarg ;;
1759 --config-cache |
-C)
1760 cache_file
=config.cache
;;
1762 -datadir |
--datadir |
--datadi |
--datad)
1764 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1765 datadir
=$ac_optarg ;;
1767 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1768 |
--dataroo |
--dataro |
--datar)
1769 ac_prev
=datarootdir
;;
1770 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1771 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1772 datarootdir
=$ac_optarg ;;
1774 -disable-* |
--disable-*)
1775 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1776 # Reject names that are not valid shell variable names.
1777 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1778 as_fn_error $?
"invalid feature name: $ac_useropt"
1779 ac_useropt_orig
=$ac_useropt
1780 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1781 case $ac_user_opts in
1783 "enable_
$ac_useropt"
1785 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1786 ac_unrecognized_sep
=', ';;
1788 eval enable_
$ac_useropt=no
;;
1790 -docdir |
--docdir |
--docdi |
--doc |
--do)
1792 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1793 docdir
=$ac_optarg ;;
1795 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1797 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1798 dvidir
=$ac_optarg ;;
1800 -enable-* |
--enable-*)
1801 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1802 # Reject names that are not valid shell variable names.
1803 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1804 as_fn_error $?
"invalid feature name: $ac_useropt"
1805 ac_useropt_orig
=$ac_useropt
1806 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1807 case $ac_user_opts in
1809 "enable_
$ac_useropt"
1811 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1812 ac_unrecognized_sep
=', ';;
1814 eval enable_
$ac_useropt=\
$ac_optarg ;;
1816 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1817 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1818 |
--exec |
--exe |
--ex)
1819 ac_prev
=exec_prefix
;;
1820 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1821 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1822 |
--exec=* |
--exe=* |
--ex=*)
1823 exec_prefix
=$ac_optarg ;;
1825 -gas |
--gas |
--ga |
--g)
1826 # Obsolete; use --with-gas.
1829 -help |
--help |
--hel |
--he |
-h)
1830 ac_init_help
=long
;;
1831 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1832 ac_init_help
=recursive
;;
1833 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1834 ac_init_help
=short
;;
1836 -host |
--host |
--hos |
--ho)
1837 ac_prev
=host_alias
;;
1838 -host=* |
--host=* |
--hos=* |
--ho=*)
1839 host_alias
=$ac_optarg ;;
1841 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1843 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1845 htmldir
=$ac_optarg ;;
1847 -includedir |
--includedir |
--includedi |
--included |
--include \
1848 |
--includ |
--inclu |
--incl |
--inc)
1849 ac_prev
=includedir
;;
1850 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1851 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1852 includedir
=$ac_optarg ;;
1854 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1856 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1857 infodir
=$ac_optarg ;;
1859 -libdir |
--libdir |
--libdi |
--libd)
1861 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1862 libdir
=$ac_optarg ;;
1864 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1865 |
--libexe |
--libex |
--libe)
1866 ac_prev
=libexecdir
;;
1867 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1868 |
--libexe=* |
--libex=* |
--libe=*)
1869 libexecdir
=$ac_optarg ;;
1871 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1872 ac_prev
=localedir
;;
1873 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1874 localedir
=$ac_optarg ;;
1876 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1877 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1878 ac_prev
=localstatedir
;;
1879 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1880 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1881 localstatedir
=$ac_optarg ;;
1883 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1885 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1886 mandir
=$ac_optarg ;;
1888 -nfp |
--nfp |
--nf)
1889 # Obsolete; use --without-fp.
1892 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1893 |
--no-cr |
--no-c |
-n)
1896 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1897 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1900 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1901 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1902 |
--oldin |
--oldi |
--old |
--ol |
--o)
1903 ac_prev
=oldincludedir
;;
1904 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1905 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1906 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1907 oldincludedir
=$ac_optarg ;;
1909 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1911 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1912 prefix
=$ac_optarg ;;
1914 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1915 |
--program-pre |
--program-pr |
--program-p)
1916 ac_prev
=program_prefix
;;
1917 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1918 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1919 program_prefix
=$ac_optarg ;;
1921 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1922 |
--program-suf |
--program-su |
--program-s)
1923 ac_prev
=program_suffix
;;
1924 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1925 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1926 program_suffix
=$ac_optarg ;;
1928 -program-transform-name |
--program-transform-name \
1929 |
--program-transform-nam |
--program-transform-na \
1930 |
--program-transform-n |
--program-transform- \
1931 |
--program-transform |
--program-transfor \
1932 |
--program-transfo |
--program-transf \
1933 |
--program-trans |
--program-tran \
1934 |
--progr-tra |
--program-tr |
--program-t)
1935 ac_prev
=program_transform_name
;;
1936 -program-transform-name=* |
--program-transform-name=* \
1937 |
--program-transform-nam=* |
--program-transform-na=* \
1938 |
--program-transform-n=* |
--program-transform-=* \
1939 |
--program-transform=* |
--program-transfor=* \
1940 |
--program-transfo=* |
--program-transf=* \
1941 |
--program-trans=* |
--program-tran=* \
1942 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1943 program_transform_name
=$ac_optarg ;;
1945 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1947 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1948 pdfdir
=$ac_optarg ;;
1950 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1952 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1955 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1956 |
-silent |
--silent |
--silen |
--sile |
--sil)
1959 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1960 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1961 |
--run |
--ru |
--r)
1962 ac_prev
=runstatedir
;;
1963 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1964 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1965 |
--run=* |
--ru=* |
--r=*)
1966 runstatedir
=$ac_optarg ;;
1968 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1970 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1972 sbindir
=$ac_optarg ;;
1974 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1975 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1976 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1978 ac_prev
=sharedstatedir
;;
1979 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1980 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1981 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1983 sharedstatedir
=$ac_optarg ;;
1985 -site |
--site |
--sit)
1987 -site=* |
--site=* |
--sit=*)
1990 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1992 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1993 srcdir
=$ac_optarg ;;
1995 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1996 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1997 ac_prev
=sysconfdir
;;
1998 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1999 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2000 sysconfdir
=$ac_optarg ;;
2002 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2003 ac_prev
=target_alias
;;
2004 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2005 target_alias
=$ac_optarg ;;
2007 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2010 -version |
--version |
--versio |
--versi |
--vers |
-V)
2011 ac_init_version
=: ;;
2014 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2015 # Reject names that are not valid shell variable names.
2016 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2017 as_fn_error $?
"invalid package name: $ac_useropt"
2018 ac_useropt_orig
=$ac_useropt
2019 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2020 case $ac_user_opts in
2024 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2025 ac_unrecognized_sep
=', ';;
2027 eval with_
$ac_useropt=\
$ac_optarg ;;
2029 -without-* |
--without-*)
2030 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2031 # Reject names that are not valid shell variable names.
2032 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2033 as_fn_error $?
"invalid package name: $ac_useropt"
2034 ac_useropt_orig
=$ac_useropt
2035 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2036 case $ac_user_opts in
2040 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2041 ac_unrecognized_sep
=', ';;
2043 eval with_
$ac_useropt=no
;;
2046 # Obsolete; use --with-x.
2049 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2050 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2051 ac_prev
=x_includes
;;
2052 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2053 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2054 x_includes
=$ac_optarg ;;
2056 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2057 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2058 ac_prev
=x_libraries
;;
2059 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2060 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2061 x_libraries
=$ac_optarg ;;
2063 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2064 Try \`$0 --help' for more information"
2068 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2069 # Reject names that are not valid shell variable names.
2070 case $ac_envvar in #(
2071 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2072 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2074 eval $ac_envvar=\
$ac_optarg
2075 export $ac_envvar ;;
2078 # FIXME: should be removed in autoconf 3.0.
2079 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2080 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2081 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2082 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2088 if test -n "$ac_prev"; then
2089 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2090 as_fn_error $?
"missing argument to $ac_option"
2093 if test -n "$ac_unrecognized_opts"; then
2094 case $enable_option_checking in
2096 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2097 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2101 # Check all directory arguments for consistency.
2102 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2103 datadir sysconfdir sharedstatedir localstatedir includedir \
2104 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2105 libdir localedir mandir runstatedir
2107 eval ac_val
=\$
$ac_var
2108 # Remove trailing slashes.
2111 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2112 eval $ac_var=\
$ac_val;;
2114 # Be sure to have absolute directory names.
2116 [\\/$
]* | ?
:[\\/]* ) continue;;
2117 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2119 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2122 # There might be people who depend on the old broken behavior: `$host'
2123 # used to hold the argument of --host etc.
2124 # FIXME: To remove some day.
2127 target
=$target_alias
2129 # FIXME: To remove some day.
2130 if test "x$host_alias" != x
; then
2131 if test "x$build_alias" = x
; then
2132 cross_compiling
=maybe
2133 elif test "x$build_alias" != "x$host_alias"; then
2139 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2141 test "$silent" = yes && exec 6>/dev
/null
2144 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2145 ac_ls_di
=`ls -di .` &&
2146 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2147 as_fn_error $?
"working directory cannot be determined"
2148 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2149 as_fn_error $?
"pwd does not report name of working directory"
2152 # Find the source files, if location was not specified.
2153 if test -z "$srcdir"; then
2154 ac_srcdir_defaulted
=yes
2155 # Try the directory containing this script, then the parent directory.
2156 ac_confdir
=`$as_dirname -- "$as_myself" ||
2157 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2158 X"$as_myself" : 'X\(//\)[^/]' \| \
2159 X"$as_myself" : 'X\(//\)$' \| \
2160 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2161 $as_echo X"$as_myself" |
2162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2180 if test ! -r "$srcdir/$ac_unique_file"; then
2184 ac_srcdir_defaulted
=no
2186 if test ! -r "$srcdir/$ac_unique_file"; then
2187 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2188 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2190 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2192 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2194 # When building in place, set srcdir=.
2195 if test "$ac_abs_confdir" = "$ac_pwd"; then
2198 # Remove unnecessary trailing slashes from srcdir.
2199 # Double slashes in file names in object file debugging info
2200 # mess up M-x gdb in Emacs.
2202 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2204 for ac_var
in $ac_precious_vars; do
2205 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2206 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2207 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2208 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2212 # Report the --help message.
2214 if test "$ac_init_help" = "long"; then
2215 # Omit some internal or obsolete options to make the list less imposing.
2216 # This message is too long to be a string in the A/UX 3.1 sh.
2218 \`configure' configures Wine 1.9.23 to adapt to many kinds of systems.
2220 Usage: $0 [OPTION]... [VAR=VALUE]...
2222 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2223 VAR=VALUE. See below for descriptions of some of the useful variables.
2225 Defaults for the options are specified in brackets.
2228 -h, --help display this help and exit
2229 --help=short display options specific to this package
2230 --help=recursive display the short help of all the included packages
2231 -V, --version display version information and exit
2232 -q, --quiet, --silent do not print \`checking ...' messages
2233 --cache-file=FILE cache test results in FILE [disabled]
2234 -C, --config-cache alias for \`--cache-file=config.cache'
2235 -n, --no-create do not create output files
2236 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2238 Installation directories:
2239 --prefix=PREFIX install architecture-independent files in PREFIX
2240 [$ac_default_prefix]
2241 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2244 By default, \`make install' will install all the files in
2245 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2246 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2247 for instance \`--prefix=\$HOME'.
2249 For better control, use the options below.
2251 Fine tuning of the installation directories:
2252 --bindir=DIR user executables [EPREFIX/bin]
2253 --sbindir=DIR system admin executables [EPREFIX/sbin]
2254 --libexecdir=DIR program executables [EPREFIX/libexec]
2255 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2256 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2257 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2258 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2259 --libdir=DIR object code libraries [EPREFIX/lib]
2260 --includedir=DIR C header files [PREFIX/include]
2261 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2262 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2263 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2264 --infodir=DIR info documentation [DATAROOTDIR/info]
2265 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2266 --mandir=DIR man documentation [DATAROOTDIR/man]
2267 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2268 --htmldir=DIR html documentation [DOCDIR]
2269 --dvidir=DIR dvi documentation [DOCDIR]
2270 --pdfdir=DIR pdf documentation [DOCDIR]
2271 --psdir=DIR ps documentation [DOCDIR]
2277 --x-includes=DIR X include files are
in DIR
2278 --x-libraries=DIR X library files are
in DIR
2281 --build=BUILD configure
for building on BUILD
[guessed
]
2282 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2286 if test -n "$ac_init_help"; then
2287 case $ac_init_help in
2288 short | recursive
) echo "Configuration of Wine 1.9.23:";;
2293 --disable-option-checking ignore unrecognized
--enable/--with options
2294 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2295 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2296 --disable-win16 do not include Win16 support
2297 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2299 --disable-tests do not build the regression tests
2300 --enable-maintainer-mode
2301 enable maintainer-specific build rules
2302 --disable-largefile omit support for large files
2305 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2306 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2307 --without-alsa do not use the Alsa sound support
2308 --without-capi do not use CAPI (ISDN support)
2309 --without-cms do not use CMS (color management support)
2310 --without-coreaudio do not use the CoreAudio sound support
2311 --without-cups do not use CUPS
2312 --without-curses do not use (n)curses
2313 --without-dbus do not use DBus (dynamic device support)
2314 --without-fontconfig do not use fontconfig
2315 --without-freetype do not use the FreeType library
2316 --without-gettext do not use gettext
2317 --with-gettextpo use the GetTextPO library to rebuild po files
2318 --without-gphoto do not use gphoto (Digital Camera support)
2319 --without-glu do not use the GLU library
2320 --without-gnutls do not use GnuTLS (schannel support)
2321 --without-gsm do not use libgsm (GSM 06.10 codec support)
2322 --without-gstreamer do not use GStreamer (codecs support)
2323 --without-hal do not use HAL (dynamic device support)
2324 --without-jpeg do not use JPEG
2325 --without-ldap do not use LDAP
2326 --without-mpg123 do not use the mpg123 library
2327 --without-netapi do not use the Samba NetAPI library
2328 --without-openal do not use OpenAL
2329 --without-opencl do not use OpenCL
2330 --without-opengl do not use OpenGL
2331 --without-osmesa do not use the OSMesa library
2332 --without-oss do not use the OSS sound support
2333 --without-pcap do not use the Packet Capture library
2334 --without-png do not use PNG
2335 --without-pthread do not use the pthread library
2336 --without-pulse do not use PulseAudio sound support
2337 --without-sane do not use SANE (scanner support)
2338 --without-tiff do not use TIFF
2339 --without-udev do not use udev (plug and play support)
2340 --without-v4l do not use v4l1 (v4l support)
2341 --without-xcomposite do not use the Xcomposite extension
2342 --without-xcursor do not use the Xcursor extension
2343 --without-xinerama do not use Xinerama (multi-monitor support)
2344 --without-xinput do not use the Xinput extension
2345 --without-xinput2 do not use the Xinput 2 extension
2346 --without-xml do not use XML
2347 --without-xrandr do not use Xrandr (resolution changes)
2348 --without-xrender do not use the Xrender extension
2349 --without-xshape do not use the Xshape extension
2350 --without-xshm do not use XShm (shared memory extension)
2351 --without-xslt do not use XSLT
2352 --without-xxf86vm do not use XFree video mode extension
2353 --without-zlib do not use Zlib (data compression)
2354 --with-wine-tools=DIR use Wine tools from directory DIR
2355 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2356 --with-x use the X Window System
2358 Some influential environment variables:
2359 CC C compiler command
2360 CFLAGS C compiler flags
2361 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2362 nonstandard directory <lib dir>
2363 LIBS libraries to pass to the linker, e.g. -l<library>
2364 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2365 you have headers in a nonstandard directory <include dir>
2366 CXX C++ compiler command
2367 CXXFLAGS C++ compiler flags
2369 XMKMF Path to xmkmf, Makefile generator for X Window System
2370 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2371 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2372 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2373 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2374 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2375 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2376 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2377 HAL_LIBS Linker flags for hal, overriding pkg-config
2379 C compiler flags for gnutls, overriding pkg-config
2380 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2381 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2382 SANE_LIBS Linker flags for libsane, overriding pkg-config
2384 C compiler flags for libgphoto2, overriding pkg-config
2386 Linker flags for libgphoto2, overriding pkg-config
2388 C compiler flags for libgphoto2_port, overriding pkg-config
2390 Linker flags for libgphoto2_port, overriding pkg-config
2392 C compiler flags for lcms2, overriding pkg-config
2393 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2395 C compiler flags for freetype2, overriding pkg-config
2397 Linker flags for freetype2, overriding pkg-config
2399 C compiler flags for libpulse, overriding pkg-config
2400 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2402 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2403 gstreamer-audio-1.0, overriding pkg-config
2405 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2406 gstreamer-audio-1.0, overriding pkg-config
2407 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2408 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2410 C compiler flags for capi20, overriding pkg-config
2411 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2413 C compiler flags for fontconfig, overriding pkg-config
2415 Linker flags for fontconfig, overriding pkg-config
2416 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2417 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2418 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2419 PNG_LIBS Linker flags for libpng, overriding pkg-config
2420 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2421 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2423 C compiler flags for libmpg123, overriding pkg-config
2424 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2426 C compiler flags for netapi, overriding pkg-config
2427 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2429 Use these variables to override the choices made by `configure' or to
help
2430 it to
find libraries and programs with nonstandard names
/locations.
2432 Report bugs to
<wine-devel@winehq.org
>.
2433 Wine home page
: <http
://www.winehq.org
>.
2438 if test "$ac_init_help" = "recursive"; then
2439 # If there are subdirs, report their specific --help.
2440 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2441 test -d "$ac_dir" ||
2442 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2447 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2449 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2450 # A ".." for each directory in $ac_dir_suffix.
2451 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2452 case $ac_top_builddir_sub in
2453 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2454 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2457 ac_abs_top_builddir
=$ac_pwd
2458 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2459 # for backward compatibility:
2460 ac_top_builddir
=$ac_top_build_prefix
2463 .
) # We are building in place.
2465 ac_top_srcdir
=$ac_top_builddir_sub
2466 ac_abs_top_srcdir
=$ac_pwd ;;
2467 [\\/]* | ?
:[\\/]* ) # Absolute name.
2468 ac_srcdir
=$srcdir$ac_dir_suffix;
2469 ac_top_srcdir
=$srcdir
2470 ac_abs_top_srcdir
=$srcdir ;;
2472 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2473 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2474 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2476 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2478 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2479 # Check for guested configure.
2480 if test -f "$ac_srcdir/configure.gnu"; then
2482 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2483 elif test -f "$ac_srcdir/configure"; then
2485 $SHELL "$ac_srcdir/configure" --help=recursive
2487 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2489 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2493 test -n "$ac_init_help" && exit $ac_status
2494 if $ac_init_version; then
2496 Wine configure
1.9.23
2497 generated by GNU Autoconf
2.69
2499 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2500 This configure
script is free software
; the Free Software Foundation
2501 gives unlimited permission to copy
, distribute and modify it.
2506 ## ------------------------ ##
2507 ## Autoconf initialization. ##
2508 ## ------------------------ ##
2510 # ac_fn_c_try_compile LINENO
2511 # --------------------------
2512 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2513 ac_fn_c_try_compile
()
2515 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2516 rm -f conftest.
$ac_objext
2517 if { { ac_try
="$ac_compile"
2519 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2520 *) ac_try_echo=$ac_try;;
2522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2523 $as_echo "$ac_try_echo"; } >&5
2524 (eval "$ac_compile") 2>conftest.err
2526 if test -s conftest.err; then
2527 grep -v '^ *+' conftest.err >conftest.er1
2528 cat conftest.er1 >&5
2529 mv -f conftest.er1 conftest.err
2531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2532 test $ac_status = 0; } && {
2533 test -z "$ac_c_werror_flag" ||
2534 test ! -s conftest.err
2535 } && test -s conftest.$ac_objext; then :
2538 $as_echo "$as_me: failed program was:" >&5
2539 sed 's/^/| /' conftest.$ac_ext >&5
2543 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2544 as_fn_set_status $ac_retval
2546 } # ac_fn_c_try_compile
2548 # ac_fn_cxx_try_compile LINENO
2549 # ----------------------------
2550 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2551 ac_fn_cxx_try_compile ()
2553 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2554 rm -f conftest.$ac_objext
2555 if { { ac_try="$ac_compile"
2557 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2558 *) ac_try_echo
=$ac_try;;
2560 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2561 $as_echo "$ac_try_echo"; } >&5
2562 (eval "$ac_compile") 2>conftest.err
2564 if test -s conftest.err
; then
2565 grep -v '^ *+' conftest.err
>conftest.er1
2566 cat conftest.er1
>&5
2567 mv -f conftest.er1 conftest.err
2569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2570 test $ac_status = 0; } && {
2571 test -z "$ac_cxx_werror_flag" ||
2572 test ! -s conftest.err
2573 } && test -s conftest.
$ac_objext; then :
2576 $as_echo "$as_me: failed program was:" >&5
2577 sed 's/^/| /' conftest.
$ac_ext >&5
2581 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2582 as_fn_set_status
$ac_retval
2584 } # ac_fn_cxx_try_compile
2586 # ac_fn_c_try_link LINENO
2587 # -----------------------
2588 # Try to link conftest.$ac_ext, and return whether this succeeded.
2591 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2592 rm -f conftest.
$ac_objext conftest
$ac_exeext
2593 if { { ac_try
="$ac_link"
2595 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2596 *) ac_try_echo=$ac_try;;
2598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2599 $as_echo "$ac_try_echo"; } >&5
2600 (eval "$ac_link") 2>conftest.err
2602 if test -s conftest.err; then
2603 grep -v '^ *+' conftest.err >conftest.er1
2604 cat conftest.er1 >&5
2605 mv -f conftest.er1 conftest.err
2607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2608 test $ac_status = 0; } && {
2609 test -z "$ac_c_werror_flag" ||
2610 test ! -s conftest.err
2611 } && test -s conftest$ac_exeext && {
2612 test "$cross_compiling" = yes ||
2613 test -x conftest$ac_exeext
2617 $as_echo "$as_me: failed program was:" >&5
2618 sed 's/^/| /' conftest.$ac_ext >&5
2622 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2623 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2624 # interfere with the next link command; also delete a directory that is
2625 # left behind by Apple's compiler. We do this before executing the actions.
2626 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2627 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2628 as_fn_set_status $ac_retval
2630 } # ac_fn_c_try_link
2632 # ac_fn_c_try_cpp LINENO
2633 # ----------------------
2634 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2637 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2638 if { { ac_try="$ac_cpp conftest.$ac_ext"
2640 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2641 *) ac_try_echo
=$ac_try;;
2643 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2644 $as_echo "$ac_try_echo"; } >&5
2645 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2647 if test -s conftest.err
; then
2648 grep -v '^ *+' conftest.err
>conftest.er1
2649 cat conftest.er1
>&5
2650 mv -f conftest.er1 conftest.err
2652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2653 test $ac_status = 0; } > conftest.i
&& {
2654 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2655 test ! -s conftest.err
2659 $as_echo "$as_me: failed program was:" >&5
2660 sed 's/^/| /' conftest.
$ac_ext >&5
2664 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2665 as_fn_set_status
$ac_retval
2669 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2670 # -------------------------------------------------------
2671 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2672 # the include files in INCLUDES and setting the cache variable VAR
2674 ac_fn_c_check_header_mongrel
()
2676 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2677 if eval \
${$3+:} false
; then :
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2679 $as_echo_n "checking for $2... " >&6; }
2680 if eval \
${$3+:} false
; then :
2681 $as_echo_n "(cached) " >&6
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2685 $as_echo "$ac_res" >&6; }
2687 # Is the header compilable?
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2689 $as_echo_n "checking $2 usability... " >&6; }
2690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2691 /* end confdefs.h. */
2695 if ac_fn_c_try_compile
"$LINENO"; then :
2696 ac_header_compiler
=yes
2698 ac_header_compiler
=no
2700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2702 $as_echo "$ac_header_compiler" >&6; }
2704 # Is the header present?
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2706 $as_echo_n "checking $2 presence... " >&6; }
2707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2708 /* end confdefs.h. */
2711 if ac_fn_c_try_cpp
"$LINENO"; then :
2712 ac_header_preproc
=yes
2714 ac_header_preproc
=no
2716 rm -f conftest.err conftest.i conftest.
$ac_ext
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2718 $as_echo "$ac_header_preproc" >&6; }
2720 # So? What about this header?
2721 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2724 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2726 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2730 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2732 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2734 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2736 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2738 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2739 ( $as_echo "## ------------------------------------ ##
2740 ## Report this to wine-devel@winehq.org ##
2741 ## ------------------------------------ ##"
2742 ) |
sed "s/^/$as_me: WARNING: /" >&2
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2746 $as_echo_n "checking for $2... " >&6; }
2747 if eval \
${$3+:} false
; then :
2748 $as_echo_n "(cached) " >&6
2750 eval "$3=\$ac_header_compiler"
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2754 $as_echo "$ac_res" >&6; }
2756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2758 } # ac_fn_c_check_header_mongrel
2760 # ac_fn_c_try_run LINENO
2761 # ----------------------
2762 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2763 # that executables *can* be run.
2766 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2767 if { { ac_try
="$ac_link"
2769 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2770 *) ac_try_echo=$ac_try;;
2772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2773 $as_echo "$ac_try_echo"; } >&5
2774 (eval "$ac_link") 2>&5
2776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2777 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2778 { { case "(($ac_try" in
2779 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2780 *) ac_try_echo
=$ac_try;;
2782 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2783 $as_echo "$ac_try_echo"; } >&5
2784 (eval "$ac_try") 2>&5
2786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2787 test $ac_status = 0; }; }; then :
2790 $as_echo "$as_me: program exited with status $ac_status" >&5
2791 $as_echo "$as_me: failed program was:" >&5
2792 sed 's/^/| /' conftest.
$ac_ext >&5
2794 ac_retval
=$ac_status
2796 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2798 as_fn_set_status
$ac_retval
2802 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2803 # -------------------------------------------------------
2804 # Tests whether HEADER exists and can be compiled using the include files in
2805 # INCLUDES, setting the cache variable VAR accordingly.
2806 ac_fn_c_check_header_compile
()
2808 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2810 $as_echo_n "checking for $2... " >&6; }
2811 if eval \
${$3+:} false
; then :
2812 $as_echo_n "(cached) " >&6
2814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2815 /* end confdefs.h. */
2819 if ac_fn_c_try_compile
"$LINENO"; then :
2824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2828 $as_echo "$ac_res" >&6; }
2829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2831 } # ac_fn_c_check_header_compile
2833 # ac_fn_c_check_func LINENO FUNC VAR
2834 # ----------------------------------
2835 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2836 ac_fn_c_check_func
()
2838 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2840 $as_echo_n "checking for $2... " >&6; }
2841 if eval \
${$3+:} false
; then :
2842 $as_echo_n "(cached) " >&6
2844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2845 /* end confdefs.h. */
2846 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2848 #define $2 innocuous_$2
2850 /* System header to define __stub macros and hopefully few prototypes,
2851 which can conflict with char $2 (); below.
2852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2853 <limits.h> exists even on freestanding compilers. */
2856 # include <limits.h>
2858 # include <assert.h>
2863 /* Override any GCC internal prototype to avoid an error.
2864 Use char because int might match the return type of a GCC
2865 builtin and then its argument prototype would still apply. */
2870 /* The GNU C library defines this for functions which it implements
2871 to always fail with ENOSYS. Some functions are actually named
2872 something starting with __ and the normal name is an alias. */
2873 #if defined __stub_$2 || defined __stub___$2
2885 if ac_fn_c_try_link
"$LINENO"; then :
2890 rm -f core conftest.err conftest.
$ac_objext \
2891 conftest
$ac_exeext conftest.
$ac_ext
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2895 $as_echo "$ac_res" >&6; }
2896 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2898 } # ac_fn_c_check_func
2900 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2901 # ----------------------------------------------------
2902 # Tries to find if the field MEMBER exists in type AGGR, after including
2903 # INCLUDES, setting cache variable VAR accordingly.
2904 ac_fn_c_check_member
()
2906 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2908 $as_echo_n "checking for $2.$3... " >&6; }
2909 if eval \
${$4+:} false
; then :
2910 $as_echo_n "(cached) " >&6
2912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2913 /* end confdefs.h. */
2925 if ac_fn_c_try_compile
"$LINENO"; then :
2928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2929 /* end confdefs.h. */
2935 if (sizeof ac_aggr.$3)
2941 if ac_fn_c_try_compile
"$LINENO"; then :
2946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2952 $as_echo "$ac_res" >&6; }
2953 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2955 } # ac_fn_c_check_member
2957 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2958 # -------------------------------------------
2959 # Tests whether TYPE exists after having included INCLUDES, setting cache
2960 # variable VAR accordingly.
2961 ac_fn_c_check_type
()
2963 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2965 $as_echo_n "checking for $2... " >&6; }
2966 if eval \
${$3+:} false
; then :
2967 $as_echo_n "(cached) " >&6
2970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2971 /* end confdefs.h. */
2982 if ac_fn_c_try_compile
"$LINENO"; then :
2983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2984 /* end confdefs.h. */
2995 if ac_fn_c_try_compile
"$LINENO"; then :
3000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3006 $as_echo "$ac_res" >&6; }
3007 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3009 } # ac_fn_c_check_type
3010 cat >config.log
<<_ACEOF
3011 This file contains any messages produced by compilers while
3012 running configure, to aid debugging if configure makes a mistake.
3014 It was created by Wine $as_me 1.9.23, which was
3015 generated by GNU Autoconf 2.69. Invocation command line was
3027 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3028 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3029 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3030 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3031 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3033 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3034 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3036 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3037 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3038 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3039 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3040 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3041 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3042 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3050 test -z "$as_dir" && as_dir
=.
3051 $as_echo "PATH: $as_dir"
3067 # Keep a trace of the command line.
3068 # Strip out --no-create and --no-recursion so they do not pile up.
3069 # Strip out --silent because we don't want to record it for future runs.
3070 # Also quote any args containing shell meta-characters.
3071 # Make two passes to allow for proper duplicate-argument suppression.
3075 ac_must_keep_next
=false
3081 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3082 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3083 |
-silent |
--silent |
--silen |
--sile |
--sil)
3086 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3089 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3091 as_fn_append ac_configure_args1
" '$ac_arg'"
3092 if test $ac_must_keep_next = true
; then
3093 ac_must_keep_next
=false
# Got value, back to normal.
3096 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3097 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3098 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3099 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3100 case "$ac_configure_args0 " in
3101 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3104 -* ) ac_must_keep_next
=true
;;
3107 as_fn_append ac_configure_args
" '$ac_arg'"
3112 { ac_configure_args0
=; unset ac_configure_args0
;}
3113 { ac_configure_args1
=; unset ac_configure_args1
;}
3115 # When interrupted or exit'd, cleanup temporary files, and complete
3116 # config.log. We remove comments because anyway the quotes in there
3117 # would cause problems or look ugly.
3118 # WARNING: Use '\'' to represent an apostrophe within the trap.
3119 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3120 trap 'exit_status=$?
3121 # Save into config.log some information that might help in debugging.
3125 $as_echo "## ---------------- ##
3126 ## Cache variables. ##
3127 ## ---------------- ##"
3129 # The following way of writing the cache mishandles newlines in values,
3131 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3132 eval ac_val=\$$ac_var
3136 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3137 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3140 _ | IFS | as_nl) ;; #(
3141 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3142 *) { eval $ac_var=; unset $ac_var;} ;;
3147 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3148 *${as_nl}ac_space=\ *)
3150 "s/'\''/'\''\\\\'\'''\''/g;
3151 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3154 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3161 $as_echo "## ----------------- ##
3162 ## Output variables. ##
3163 ## ----------------- ##"
3165 for ac_var in $ac_subst_vars
3167 eval ac_val=\$$ac_var
3169 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3171 $as_echo "$ac_var='\''$ac_val'\''"
3175 if test -n "$ac_subst_files"; then
3176 $as_echo "## ------------------- ##
3177 ## File substitutions. ##
3178 ## ------------------- ##"
3180 for ac_var
in $ac_subst_files
3182 eval ac_val
=\$
$ac_var
3184 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3186 $as_echo "$ac_var='\''$ac_val'\''"
3191 if test -s confdefs.h; then
3192 $as_echo "## ----------- ##
3199 test "$ac_signal" != 0 &&
3200 $as_echo "$as_me: caught signal $ac_signal"
3201 $as_echo "$as_me: exit $exit_status"
3203 rm -f core *.core core.conftest.* &&
3204 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3207 for ac_signal
in 1 2 13 15; do
3208 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3212 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3213 rm -f -r conftest
* confdefs.h
3215 $as_echo "/* confdefs.h */" > confdefs.h
3217 # Predefined preprocessor variables.
3219 cat >>confdefs.h
<<_ACEOF
3220 #define PACKAGE_NAME "$PACKAGE_NAME"
3223 cat >>confdefs.h
<<_ACEOF
3224 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3227 cat >>confdefs.h
<<_ACEOF
3228 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3231 cat >>confdefs.h
<<_ACEOF
3232 #define PACKAGE_STRING "$PACKAGE_STRING"
3235 cat >>confdefs.h
<<_ACEOF
3236 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3239 cat >>confdefs.h
<<_ACEOF
3240 #define PACKAGE_URL "$PACKAGE_URL"
3244 # Let the site file select an alternate cache file if it wants to.
3245 # Prefer an explicitly selected file to automatically selected ones.
3248 if test -n "$CONFIG_SITE"; then
3249 # We do not want a PATH search for config.site.
3250 case $CONFIG_SITE in #((
3251 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3252 */*) ac_site_file1
=$CONFIG_SITE;;
3253 *) ac_site_file1
=.
/$CONFIG_SITE;;
3255 elif test "x$prefix" != xNONE
; then
3256 ac_site_file1
=$prefix/share
/config.site
3257 ac_site_file2
=$prefix/etc
/config.site
3259 ac_site_file1
=$ac_default_prefix/share
/config.site
3260 ac_site_file2
=$ac_default_prefix/etc
/config.site
3262 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3264 test "x$ac_site_file" = xNONE
&& continue
3265 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3267 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3268 sed 's/^/| /' "$ac_site_file" >&5
3270 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3272 as_fn_error $?
"failed to load site script $ac_site_file
3273 See \`config.log' for more details" "$LINENO" 5; }
3277 if test -r "$cache_file"; then
3278 # Some versions of bash will fail to source /dev/null (special files
3279 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3280 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3282 $as_echo "$as_me: loading cache $cache_file" >&6;}
3284 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3285 *) .
"./$cache_file";;
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3290 $as_echo "$as_me: creating cache $cache_file" >&6;}
3294 # Check that the precious variables saved in the cache have kept the same
3296 ac_cache_corrupted
=false
3297 for ac_var
in $ac_precious_vars; do
3298 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3299 eval ac_new_set
=\
$ac_env_${ac_var}_set
3300 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3301 eval ac_new_val
=\
$ac_env_${ac_var}_value
3302 case $ac_old_set,$ac_new_set in
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3305 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3306 ac_cache_corrupted
=: ;;
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3309 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3310 ac_cache_corrupted
=: ;;
3313 if test "x$ac_old_val" != "x$ac_new_val"; then
3314 # differences in whitespace do not lead to failure.
3315 ac_old_val_w
=`echo x $ac_old_val`
3316 ac_new_val_w
=`echo x $ac_new_val`
3317 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3319 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3320 ac_cache_corrupted
=:
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3323 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3324 eval $ac_var=\
$ac_old_val
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3327 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3329 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3332 # Pass precious variables to config.status.
3333 if test "$ac_new_set" = set; then
3335 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3336 *) ac_arg
=$ac_var=$ac_new_val ;;
3338 case " $ac_configure_args " in
3339 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3340 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3344 if $ac_cache_corrupted; then
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3346 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3348 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3349 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3351 ## -------------------- ##
3352 ## Main body of script. ##
3353 ## -------------------- ##
3356 ac_cpp
='$CPP $CPPFLAGS'
3357 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3358 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3359 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3363 ac_config_headers
="$ac_config_headers include/config.h"
3366 for ac_dir
in tools
"$srcdir"/tools
; do
3367 if test -f "$ac_dir/install-sh"; then
3369 ac_install_sh
="$ac_aux_dir/install-sh -c"
3371 elif test -f "$ac_dir/install.sh"; then
3373 ac_install_sh
="$ac_aux_dir/install.sh -c"
3375 elif test -f "$ac_dir/shtool"; then
3377 ac_install_sh
="$ac_aux_dir/shtool install -c"
3381 if test -z "$ac_aux_dir"; then
3382 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3385 # These three variables are undocumented and unsupported,
3386 # and are intended to be withdrawn in a future Autoconf release.
3387 # They can cause serious problems if a builder's source tree is in a directory
3388 # whose full name contains unusual characters.
3389 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3390 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3391 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3395 libwine_version
="1.0"
3399 # Check whether --enable-win16 was given.
3400 if test "${enable_win16+set}" = set; then :
3401 enableval
=$enable_win16;
3404 # Check whether --enable-win64 was given.
3405 if test "${enable_win64+set}" = set; then :
3406 enableval
=$enable_win64;
3409 # Check whether --enable-tests was given.
3410 if test "${enable_tests+set}" = set; then :
3411 enableval
=$enable_tests;
3414 # Check whether --enable-maintainer-mode was given.
3415 if test "${enable_maintainer_mode+set}" = set; then :
3416 enableval
=$enable_maintainer_mode;
3421 # Check whether --with-alsa was given.
3422 if test "${with_alsa+set}" = set; then :
3423 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3427 # Check whether --with-capi was given.
3428 if test "${with_capi+set}" = set; then :
3433 # Check whether --with-cms was given.
3434 if test "${with_cms+set}" = set; then :
3439 # Check whether --with-coreaudio was given.
3440 if test "${with_coreaudio+set}" = set; then :
3441 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3445 # Check whether --with-cups was given.
3446 if test "${with_cups+set}" = set; then :
3451 # Check whether --with-curses was given.
3452 if test "${with_curses+set}" = set; then :
3453 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3457 # Check whether --with-dbus was given.
3458 if test "${with_dbus+set}" = set; then :
3463 # Check whether --with-fontconfig was given.
3464 if test "${with_fontconfig+set}" = set; then :
3465 withval
=$with_fontconfig;
3469 # Check whether --with-freetype was given.
3470 if test "${with_freetype+set}" = set; then :
3471 withval
=$with_freetype;
3475 # Check whether --with-gettext was given.
3476 if test "${with_gettext+set}" = set; then :
3477 withval
=$with_gettext;
3481 # Check whether --with-gettextpo was given.
3482 if test "${with_gettextpo+set}" = set; then :
3483 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3487 # Check whether --with-gphoto was given.
3488 if test "${with_gphoto+set}" = set; then :
3489 withval
=$with_gphoto;
3493 # Check whether --with-glu was given.
3494 if test "${with_glu+set}" = set; then :
3499 # Check whether --with-gnutls was given.
3500 if test "${with_gnutls+set}" = set; then :
3501 withval
=$with_gnutls;
3505 # Check whether --with-gsm was given.
3506 if test "${with_gsm+set}" = set; then :
3507 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3511 # Check whether --with-gstreamer was given.
3512 if test "${with_gstreamer+set}" = set; then :
3513 withval
=$with_gstreamer;
3517 # Check whether --with-hal was given.
3518 if test "${with_hal+set}" = set; then :
3523 # Check whether --with-jpeg was given.
3524 if test "${with_jpeg+set}" = set; then :
3529 # Check whether --with-ldap was given.
3530 if test "${with_ldap+set}" = set; then :
3531 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3535 # Check whether --with-mpg123 was given.
3536 if test "${with_mpg123+set}" = set; then :
3537 withval
=$with_mpg123;
3541 # Check whether --with-netapi was given.
3542 if test "${with_netapi+set}" = set; then :
3543 withval
=$with_netapi;
3547 # Check whether --with-openal was given.
3548 if test "${with_openal+set}" = set; then :
3549 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3553 # Check whether --with-opencl was given.
3554 if test "${with_opencl+set}" = set; then :
3555 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3559 # Check whether --with-opengl was given.
3560 if test "${with_opengl+set}" = set; then :
3561 withval
=$with_opengl;
3565 # Check whether --with-osmesa was given.
3566 if test "${with_osmesa+set}" = set; then :
3567 withval
=$with_osmesa;
3571 # Check whether --with-oss was given.
3572 if test "${with_oss+set}" = set; then :
3577 # Check whether --with-pcap was given.
3578 if test "${with_pcap+set}" = set; then :
3579 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3583 # Check whether --with-png was given.
3584 if test "${with_png+set}" = set; then :
3589 # Check whether --with-pthread was given.
3590 if test "${with_pthread+set}" = set; then :
3591 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3595 # Check whether --with-pulse was given.
3596 if test "${with_pulse+set}" = set; then :
3597 withval
=$with_pulse;
3601 # Check whether --with-sane was given.
3602 if test "${with_sane+set}" = set; then :
3607 # Check whether --with-tiff was given.
3608 if test "${with_tiff+set}" = set; then :
3613 # Check whether --with-udev was given.
3614 if test "${with_udev+set}" = set; then :
3619 # Check whether --with-v4l was given.
3620 if test "${with_v4l+set}" = set; then :
3625 # Check whether --with-xcomposite was given.
3626 if test "${with_xcomposite+set}" = set; then :
3627 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3631 # Check whether --with-xcursor was given.
3632 if test "${with_xcursor+set}" = set; then :
3633 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3637 # Check whether --with-xinerama was given.
3638 if test "${with_xinerama+set}" = set; then :
3639 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3643 # Check whether --with-xinput was given.
3644 if test "${with_xinput+set}" = set; then :
3645 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3649 # Check whether --with-xinput2 was given.
3650 if test "${with_xinput2+set}" = set; then :
3651 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3655 # Check whether --with-xml was given.
3656 if test "${with_xml+set}" = set; then :
3661 # Check whether --with-xrandr was given.
3662 if test "${with_xrandr+set}" = set; then :
3663 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3667 # Check whether --with-xrender was given.
3668 if test "${with_xrender+set}" = set; then :
3669 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3673 # Check whether --with-xshape was given.
3674 if test "${with_xshape+set}" = set; then :
3675 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3679 # Check whether --with-xshm was given.
3680 if test "${with_xshm+set}" = set; then :
3681 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3685 # Check whether --with-xslt was given.
3686 if test "${with_xslt+set}" = set; then :
3691 # Check whether --with-xxf86vm was given.
3692 if test "${with_xxf86vm+set}" = set; then :
3693 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
3697 # Check whether --with-zlib was given.
3698 if test "${with_zlib+set}" = set; then :
3699 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3704 # Check whether --with-wine-tools was given.
3705 if test "${with_wine_tools+set}" = set; then :
3706 withval
=$with_wine_tools;
3710 # Check whether --with-wine64 was given.
3711 if test "${with_wine64+set}" = set; then :
3712 withval
=$with_wine64;
3716 # Make sure we can run config.sub.
3717 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3718 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3721 $as_echo_n "checking build system type... " >&6; }
3722 if ${ac_cv_build+:} false
; then :
3723 $as_echo_n "(cached) " >&6
3725 ac_build_alias
=$build_alias
3726 test "x$ac_build_alias" = x
&&
3727 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3728 test "x$ac_build_alias" = x
&&
3729 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3730 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3731 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3735 $as_echo "$ac_cv_build" >&6; }
3736 case $ac_cv_build in
3738 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3741 ac_save_IFS
=$IFS; IFS
='-'
3747 # Remember, the first character of IFS is used to create $*,
3748 # except with old shells:
3751 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3755 $as_echo_n "checking host system type... " >&6; }
3756 if ${ac_cv_host+:} false
; then :
3757 $as_echo_n "(cached) " >&6
3759 if test "x$host_alias" = x
; then
3760 ac_cv_host
=$ac_cv_build
3762 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3763 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3768 $as_echo "$ac_cv_host" >&6; }
3771 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3774 ac_save_IFS
=$IFS; IFS
='-'
3780 # Remember, the first character of IFS is used to create $*,
3781 # except with old shells:
3784 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3790 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3791 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3792 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3798 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3800 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3801 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3802 $as_echo_n "(cached) " >&6
3804 cat >conftest.
make <<\_ACEOF
3807 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3809 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3810 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3812 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3814 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3818 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3820 $as_echo "yes" >&6; }
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824 $as_echo "no" >&6; }
3825 SET_MAKE
="MAKE=${MAKE-make}"
3829 ac_cpp
='$CPP $CPPFLAGS'
3830 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3831 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3832 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3833 if test -n "$ac_tool_prefix"; then
3834 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3835 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3837 $as_echo_n "checking for $ac_word... " >&6; }
3838 if ${ac_cv_prog_CC+:} false
; then :
3839 $as_echo_n "(cached) " >&6
3841 if test -n "$CC"; then
3842 ac_cv_prog_CC
="$CC" # Let the user override the test.
3844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3848 test -z "$as_dir" && as_dir
=.
3849 for ac_exec_ext
in '' $ac_executable_extensions; do
3850 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3851 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3862 if test -n "$CC"; then
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3864 $as_echo "$CC" >&6; }
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3867 $as_echo "no" >&6; }
3872 if test -z "$ac_cv_prog_CC"; then
3874 # Extract the first word of "gcc", so it can be a program name with args.
3875 set dummy gcc
; ac_word
=$2
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3877 $as_echo_n "checking for $ac_word... " >&6; }
3878 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3879 $as_echo_n "(cached) " >&6
3881 if test -n "$ac_ct_CC"; then
3882 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3888 test -z "$as_dir" && as_dir
=.
3889 for ac_exec_ext
in '' $ac_executable_extensions; do
3890 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3891 ac_cv_prog_ac_ct_CC
="gcc"
3892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3901 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3902 if test -n "$ac_ct_CC"; then
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3904 $as_echo "$ac_ct_CC" >&6; }
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3907 $as_echo "no" >&6; }
3910 if test "x$ac_ct_CC" = x
; then
3913 case $cross_compiling:$ac_tool_warned in
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3917 ac_tool_warned
=yes ;;
3925 if test -z "$CC"; then
3926 if test -n "$ac_tool_prefix"; then
3927 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3928 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3930 $as_echo_n "checking for $ac_word... " >&6; }
3931 if ${ac_cv_prog_CC+:} false
; then :
3932 $as_echo_n "(cached) " >&6
3934 if test -n "$CC"; then
3935 ac_cv_prog_CC
="$CC" # Let the user override the test.
3937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3941 test -z "$as_dir" && as_dir
=.
3942 for ac_exec_ext
in '' $ac_executable_extensions; do
3943 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3944 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3955 if test -n "$CC"; then
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3957 $as_echo "$CC" >&6; }
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3960 $as_echo "no" >&6; }
3966 if test -z "$CC"; then
3967 # Extract the first word of "cc", so it can be a program name with args.
3968 set dummy cc
; ac_word
=$2
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3970 $as_echo_n "checking for $ac_word... " >&6; }
3971 if ${ac_cv_prog_CC+:} false
; then :
3972 $as_echo_n "(cached) " >&6
3974 if test -n "$CC"; then
3975 ac_cv_prog_CC
="$CC" # Let the user override the test.
3978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3982 test -z "$as_dir" && as_dir
=.
3983 for ac_exec_ext
in '' $ac_executable_extensions; do
3984 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3985 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3986 ac_prog_rejected
=yes
3990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3997 if test $ac_prog_rejected = yes; then
3998 # We found a bogon in the path, so make sure we never use it.
3999 set dummy
$ac_cv_prog_CC
4001 if test $# != 0; then
4002 # We chose a different compiler from the bogus one.
4003 # However, it has the same basename, so the bogon will be chosen
4004 # first if we set CC to just the basename; use the full file name.
4006 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4012 if test -n "$CC"; then
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4014 $as_echo "$CC" >&6; }
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4017 $as_echo "no" >&6; }
4022 if test -z "$CC"; then
4023 if test -n "$ac_tool_prefix"; then
4024 for ac_prog
in cl.exe
4026 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4027 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4029 $as_echo_n "checking for $ac_word... " >&6; }
4030 if ${ac_cv_prog_CC+:} false
; then :
4031 $as_echo_n "(cached) " >&6
4033 if test -n "$CC"; then
4034 ac_cv_prog_CC
="$CC" # Let the user override the test.
4036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4040 test -z "$as_dir" && as_dir
=.
4041 for ac_exec_ext
in '' $ac_executable_extensions; do
4042 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4043 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4054 if test -n "$CC"; then
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4056 $as_echo "$CC" >&6; }
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4059 $as_echo "no" >&6; }
4063 test -n "$CC" && break
4066 if test -z "$CC"; then
4068 for ac_prog
in cl.exe
4070 # Extract the first word of "$ac_prog", so it can be a program name with args.
4071 set dummy
$ac_prog; ac_word
=$2
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4073 $as_echo_n "checking for $ac_word... " >&6; }
4074 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4075 $as_echo_n "(cached) " >&6
4077 if test -n "$ac_ct_CC"; then
4078 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4084 test -z "$as_dir" && as_dir
=.
4085 for ac_exec_ext
in '' $ac_executable_extensions; do
4086 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4087 ac_cv_prog_ac_ct_CC
="$ac_prog"
4088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4097 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4098 if test -n "$ac_ct_CC"; then
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4100 $as_echo "$ac_ct_CC" >&6; }
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4103 $as_echo "no" >&6; }
4107 test -n "$ac_ct_CC" && break
4110 if test "x$ac_ct_CC" = x
; then
4113 case $cross_compiling:$ac_tool_warned in
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4117 ac_tool_warned
=yes ;;
4126 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4128 as_fn_error $?
"no acceptable C compiler found in \$PATH
4129 See \`config.log' for more details" "$LINENO" 5; }
4131 # Provide some information about the compiler.
4132 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4135 for ac_option
in --version -v -V -qversion; do
4136 { { ac_try
="$ac_compiler $ac_option >&5"
4138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4139 *) ac_try_echo=$ac_try;;
4141 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4142 $as_echo "$ac_try_echo"; } >&5
4143 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4145 if test -s conftest.err; then
4147 ... rest of stderr output deleted ...
4148 10q' conftest.err >conftest.er1
4149 cat conftest.er1 >&5
4151 rm -f conftest.er1 conftest.err
4152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4153 test $ac_status = 0; }
4156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h. */
4167 ac_clean_files_save=$ac_clean_files
4168 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4169 # Try to create an executable without -o first, disregard a.out.
4170 # It will help us diagnose broken compilers, and finding out an intuition
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4173 $as_echo_n "checking whether the C compiler works... " >&6; }
4174 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4176 # The possible output files:
4177 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4180 for ac_file in $ac_files
4183 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4184 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4189 if { { ac_try="$ac_link_default"
4191 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4192 *) ac_try_echo
=$ac_try;;
4194 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4195 $as_echo "$ac_try_echo"; } >&5
4196 (eval "$ac_link_default") 2>&5
4198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4199 test $ac_status = 0; }; then :
4200 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4201 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4202 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4203 # so that the user can short-circuit this test for compilers unknown to
4205 for ac_file
in $ac_files ''
4207 test -f "$ac_file" ||
continue
4209 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4212 # We found the default executable, but exeext='' is most
4216 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4218 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4220 # We set ac_cv_exeext here because the later test for it is not
4221 # safe: cross compilers may not add the suffix if given an `-o'
4222 # argument, so we may need to know it at that point already.
4223 # Even if this section looks crufty: it has the advantage of
4230 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4235 if test -z "$ac_file"; then :
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4237 $as_echo "no" >&6; }
4238 $as_echo "$as_me: failed program was:" >&5
4239 sed 's/^/| /' conftest.
$ac_ext >&5
4241 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4243 as_fn_error
77 "C compiler cannot create executables
4244 See \`config.log' for more details" "$LINENO" 5; }
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4247 $as_echo "yes" >&6; }
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4250 $as_echo_n "checking for C compiler default output file name... " >&6; }
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4252 $as_echo "$ac_file" >&6; }
4253 ac_exeext
=$ac_cv_exeext
4255 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4256 ac_clean_files
=$ac_clean_files_save
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4258 $as_echo_n "checking for suffix of executables... " >&6; }
4259 if { { ac_try
="$ac_link"
4261 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4262 *) ac_try_echo=$ac_try;;
4264 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4265 $as_echo "$ac_try_echo"; } >&5
4266 (eval "$ac_link") 2>&5
4268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4269 test $ac_status = 0; }; then :
4270 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4271 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4272 # work properly (i.e., refer to `conftest.exe'), while it won't with
4274 for ac_file
in conftest.exe conftest conftest.
*; do
4275 test -f "$ac_file" ||
continue
4277 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4278 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4286 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4287 See \`config.log' for more details" "$LINENO" 5; }
4289 rm -f conftest conftest
$ac_cv_exeext
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4291 $as_echo "$ac_cv_exeext" >&6; }
4293 rm -f conftest.
$ac_ext
4294 EXEEXT
=$ac_cv_exeext
4296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4297 /* end confdefs.h. */
4302 FILE *f = fopen ("conftest.out", "w");
4303 return ferror (f) || fclose (f) != 0;
4309 ac_clean_files
="$ac_clean_files conftest.out"
4310 # Check that the compiler produces executables we can run. If not, either
4311 # the compiler is broken, or we cross compile.
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4313 $as_echo_n "checking whether we are cross compiling... " >&6; }
4314 if test "$cross_compiling" != yes; then
4315 { { ac_try
="$ac_link"
4317 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4318 *) ac_try_echo=$ac_try;;
4320 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4321 $as_echo "$ac_try_echo"; } >&5
4322 (eval "$ac_link") 2>&5
4324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4325 test $ac_status = 0; }
4326 if { ac_try='./conftest$ac_cv_exeext'
4327 { { case "(($ac_try" in
4328 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4329 *) ac_try_echo
=$ac_try;;
4331 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4332 $as_echo "$ac_try_echo"; } >&5
4333 (eval "$ac_try") 2>&5
4335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4336 test $ac_status = 0; }; }; then
4339 if test "$cross_compiling" = maybe
; then
4342 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4344 as_fn_error $?
"cannot run C compiled programs.
4345 If you meant to cross compile, use \`--host'.
4346 See \`config.log' for more details" "$LINENO" 5; }
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4351 $as_echo "$cross_compiling" >&6; }
4353 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4354 ac_clean_files
=$ac_clean_files_save
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4356 $as_echo_n "checking for suffix of object files... " >&6; }
4357 if ${ac_cv_objext+:} false
; then :
4358 $as_echo_n "(cached) " >&6
4360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4361 /* end confdefs.h. */
4371 rm -f conftest.o conftest.obj
4372 if { { ac_try
="$ac_compile"
4374 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4375 *) ac_try_echo=$ac_try;;
4377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4378 $as_echo "$ac_try_echo"; } >&5
4379 (eval "$ac_compile") 2>&5
4381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4382 test $ac_status = 0; }; then :
4383 for ac_file in conftest.o conftest.obj conftest.*; do
4384 test -f "$ac_file" || continue;
4386 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4387 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4392 $as_echo "$as_me: failed program was:" >&5
4393 sed 's/^/| /' conftest.$ac_ext >&5
4395 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4397 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4398 See \
`config.log' for more details" "$LINENO" 5; }
4400 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4403 $as_echo "$ac_cv_objext" >&6; }
4404 OBJEXT=$ac_cv_objext
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4407 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4408 if ${ac_cv_c_compiler_gnu+:} false; then :
4409 $as_echo_n "(cached) " >&6
4411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4412 /* end confdefs.h. */
4425 if ac_fn_c_try_compile "$LINENO"; then :
4430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4431 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4435 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4436 if test $ac_compiler_gnu = yes; then
4441 ac_test_CFLAGS=${CFLAGS+set}
4442 ac_save_CFLAGS=$CFLAGS
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4444 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4445 if ${ac_cv_prog_cc_g+:} false; then :
4446 $as_echo_n "(cached) " >&6
4448 ac_save_c_werror_flag=$ac_c_werror_flag
4449 ac_c_werror_flag=yes
4452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4453 /* end confdefs.h. */
4463 if ac_fn_c_try_compile "$LINENO"; then :
4467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4468 /* end confdefs.h. */
4478 if ac_fn_c_try_compile "$LINENO"; then :
4481 ac_c_werror_flag=$ac_save_c_werror_flag
4483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4484 /* end confdefs.h. */
4494 if ac_fn_c_try_compile "$LINENO"; then :
4497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4502 ac_c_werror_flag=$ac_save_c_werror_flag
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4505 $as_echo "$ac_cv_prog_cc_g" >&6; }
4506 if test "$ac_test_CFLAGS" = set; then
4507 CFLAGS=$ac_save_CFLAGS
4508 elif test $ac_cv_prog_cc_g = yes; then
4509 if test "$GCC" = yes; then
4515 if test "$GCC" = yes; then
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4522 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4523 if ${ac_cv_prog_cc_c89+:} false; then :
4524 $as_echo_n "(cached) " >&6
4526 ac_cv_prog_cc_c89=no
4528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4529 /* end confdefs.h. */
4533 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4534 struct buf { int x; };
4535 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4536 static char *e (p, i)
4542 static char *f (char * (*g) (char **, int), char **p, ...)
4547 s = g (p, va_arg (v,int));
4552 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4553 function prototypes and stuff, but not '\xHH' hex character constants.
4554 These don't provoke an error unfortunately, instead are silently treated
4555 as 'x'. The following induces an error, until -std is added to get
4556 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4557 array size at least. It's necessary to write '\x00'==0 to get something
4558 that's true only with -std. */
4559 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4561 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4562 inside strings and character constants. */
4564 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4566 int test (int i, double x);
4567 struct s1 {int (*f) (int a);};
4568 struct s2 {int (*f) (double a);};
4569 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4575 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4580 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4581 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4583 CC="$ac_save_CC $ac_arg"
4584 if ac_fn_c_try_compile "$LINENO"; then :
4585 ac_cv_prog_cc_c89=$ac_arg
4587 rm -f core conftest.err conftest.$ac_objext
4588 test "x$ac_cv_prog_cc_c89" != "xno" && break
4590 rm -f conftest.$ac_ext
4595 case "x$ac_cv_prog_cc_c89" in
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4598 $as_echo "none needed" >&6; } ;;
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4601 $as_echo "unsupported" >&6; } ;;
4603 CC="$CC $ac_cv_prog_cc_c89"
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4605 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4607 if test "x$ac_cv_prog_cc_c89" != xno; then :
4612 ac_cpp='$CPP $CPPFLAGS'
4613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4618 ac_cpp='$CXXCPP $CPPFLAGS'
4619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4622 if test -z "$CXX"; then
4623 if test -n "$CCC"; then
4626 if test -n "$ac_tool_prefix"; then
4627 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4629 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4630 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4632 $as_echo_n "checking for $ac_word... " >&6; }
4633 if ${ac_cv_prog_CXX+:} false; then :
4634 $as_echo_n "(cached) " >&6
4636 if test -n "$CXX"; then
4637 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4643 test -z "$as_dir" && as_dir=.
4644 for ac_exec_ext in '' $ac_executable_extensions; do
4645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4646 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4657 if test -n "$CXX"; then
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4659 $as_echo "$CXX" >&6; }
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4662 $as_echo "no" >&6; }
4666 test -n "$CXX" && break
4669 if test -z "$CXX"; then
4671 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4673 # Extract the first word of "$ac_prog", so it can be a program name with args.
4674 set dummy $ac_prog; ac_word=$2
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4676 $as_echo_n "checking for $ac_word... " >&6; }
4677 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4678 $as_echo_n "(cached) " >&6
4680 if test -n "$ac_ct_CXX"; then
4681 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4687 test -z "$as_dir" && as_dir=.
4688 for ac_exec_ext in '' $ac_executable_extensions; do
4689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4690 ac_cv_prog_ac_ct_CXX="$ac_prog"
4691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4700 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4701 if test -n "$ac_ct_CXX"; then
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4703 $as_echo "$ac_ct_CXX" >&6; }
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4706 $as_echo "no" >&6; }
4710 test -n "$ac_ct_CXX" && break
4713 if test "x$ac_ct_CXX" = x; then
4716 case $cross_compiling:$ac_tool_warned in
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4720 ac_tool_warned=yes ;;
4728 # Provide some information about the compiler.
4729 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4732 for ac_option in --version -v -V -qversion; do
4733 { { ac_try="$ac_compiler $ac_option >&5"
4735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4736 *) ac_try_echo
=$ac_try;;
4738 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4739 $as_echo "$ac_try_echo"; } >&5
4740 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4742 if test -s conftest.err
; then
4744 ... rest of stderr output deleted ...
4745 10q' conftest.err
>conftest.er1
4746 cat conftest.er1
>&5
4748 rm -f conftest.er1 conftest.err
4749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4750 test $ac_status = 0; }
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4754 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4755 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4756 $as_echo_n "(cached) " >&6
4758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4759 /* end confdefs.h. */
4772 if ac_fn_cxx_try_compile
"$LINENO"; then :
4777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4778 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4782 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4783 if test $ac_compiler_gnu = yes; then
4788 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4789 ac_save_CXXFLAGS
=$CXXFLAGS
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4791 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4792 if ${ac_cv_prog_cxx_g+:} false
; then :
4793 $as_echo_n "(cached) " >&6
4795 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4796 ac_cxx_werror_flag
=yes
4799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4800 /* end confdefs.h. */
4810 if ac_fn_cxx_try_compile
"$LINENO"; then :
4811 ac_cv_prog_cxx_g
=yes
4814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4815 /* end confdefs.h. */
4825 if ac_fn_cxx_try_compile
"$LINENO"; then :
4828 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4831 /* end confdefs.h. */
4841 if ac_fn_cxx_try_compile
"$LINENO"; then :
4842 ac_cv_prog_cxx_g
=yes
4844 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4849 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4852 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4853 if test "$ac_test_CXXFLAGS" = set; then
4854 CXXFLAGS
=$ac_save_CXXFLAGS
4855 elif test $ac_cv_prog_cxx_g = yes; then
4856 if test "$GXX" = yes; then
4862 if test "$GXX" = yes; then
4869 ac_cpp
='$CPP $CPPFLAGS'
4870 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4871 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4872 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4874 if test -n "$ac_tool_prefix"; then
4875 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4876 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4878 $as_echo_n "checking for $ac_word... " >&6; }
4879 if ${ac_cv_prog_CPPBIN+:} false
; then :
4880 $as_echo_n "(cached) " >&6
4882 if test -n "$CPPBIN"; then
4883 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4889 test -z "$as_dir" && as_dir
=.
4890 for ac_exec_ext
in '' $ac_executable_extensions; do
4891 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4892 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4902 CPPBIN
=$ac_cv_prog_CPPBIN
4903 if test -n "$CPPBIN"; then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4905 $as_echo "$CPPBIN" >&6; }
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4908 $as_echo "no" >&6; }
4913 if test -z "$ac_cv_prog_CPPBIN"; then
4914 ac_ct_CPPBIN
=$CPPBIN
4915 # Extract the first word of "cpp", so it can be a program name with args.
4916 set dummy cpp
; ac_word
=$2
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4918 $as_echo_n "checking for $ac_word... " >&6; }
4919 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4920 $as_echo_n "(cached) " >&6
4922 if test -n "$ac_ct_CPPBIN"; then
4923 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4929 test -z "$as_dir" && as_dir
=.
4930 for ac_exec_ext
in '' $ac_executable_extensions; do
4931 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4932 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4942 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4943 if test -n "$ac_ct_CPPBIN"; then
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4945 $as_echo "$ac_ct_CPPBIN" >&6; }
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4948 $as_echo "no" >&6; }
4951 if test "x$ac_ct_CPPBIN" = x
; then
4954 case $cross_compiling:$ac_tool_warned in
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4958 ac_tool_warned
=yes ;;
4960 CPPBIN
=$ac_ct_CPPBIN
4963 CPPBIN
="$ac_cv_prog_CPPBIN"
4967 cat >>confdefs.h
<<_ACEOF
4968 #define EXEEXT "$ac_exeext"
4971 if test -n "$ac_tool_prefix"; then
4972 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4973 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4975 $as_echo_n "checking for $ac_word... " >&6; }
4976 if ${ac_cv_prog_LD+:} false
; then :
4977 $as_echo_n "(cached) " >&6
4979 if test -n "$LD"; then
4980 ac_cv_prog_LD
="$LD" # Let the user override the test.
4982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4986 test -z "$as_dir" && as_dir
=.
4987 for ac_exec_ext
in '' $ac_executable_extensions; do
4988 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4989 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5000 if test -n "$LD"; then
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5002 $as_echo "$LD" >&6; }
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5005 $as_echo "no" >&6; }
5010 if test -z "$ac_cv_prog_LD"; then
5012 # Extract the first word of "ld", so it can be a program name with args.
5013 set dummy ld
; ac_word
=$2
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5015 $as_echo_n "checking for $ac_word... " >&6; }
5016 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
5017 $as_echo_n "(cached) " >&6
5019 if test -n "$ac_ct_LD"; then
5020 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5026 test -z "$as_dir" && as_dir
=.
5027 for ac_exec_ext
in '' $ac_executable_extensions; do
5028 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5029 ac_cv_prog_ac_ct_LD
="ld"
5030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5039 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5040 if test -n "$ac_ct_LD"; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5042 $as_echo "$ac_ct_LD" >&6; }
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5048 if test "x$ac_ct_LD" = x
; then
5051 case $cross_compiling:$ac_tool_warned in
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5055 ac_tool_warned
=yes ;;
5066 with_fontconfig
=${with_fontconfig:-no}
5068 *-mingw32*|
*-cygwin*)
5069 enable_win16
=${enable_win16:-no}
5070 CFLAGS
="$CFLAGS -D_WIN32"
5076 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5081 $as_echo_n "checking whether $CC works... " >&6; }
5083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5084 /* end confdefs.h. */
5094 if ac_fn_c_try_link
"$LINENO"; then :
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5096 $as_echo "yes" >&6; }
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099 $as_echo "no" >&6; }
5100 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5102 rm -f core conftest.err conftest.
$ac_objext \
5103 conftest
$ac_exeext conftest.
$ac_ext
5105 notice_platform
="32-bit "
5108 enable_win16
=${enable_win16:-yes}
5110 if test "x${GCC}" = "xyes"
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5113 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5115 /* end confdefs.h. */
5120 void func(__builtin_ms_va_list *args);
5125 if ac_fn_c_try_compile
"$LINENO"; then :
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5127 $as_echo "yes" >&6; }
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5130 $as_echo "no" >&6; }
5131 as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5138 notice_platform
="64-bit "
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5145 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5147 /* end confdefs.h. */
5148 int ac_test(int i) { return i; }
5152 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5157 if ac_fn_c_try_link
"$LINENO"; then :
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5159 $as_echo "yes" >&6; }
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5163 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5165 rm -f core conftest.err conftest.
$ac_objext \
5166 conftest
$ac_exeext conftest.
$ac_ext
5167 CFLAGS
="$CFLAGS -marm"
5172 enable_win16
=${enable_win16:-yes}
5176 enable_win16
=${enable_win16:-no}
5177 enable_win64
=${enable_win64:-no}
5179 enable_winetest
=${enable_winetest:-$enable_tests}
5181 if test -n "$with_wine64"
5183 if test "x$enable_win64" = "xyes"
5185 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5186 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5188 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5189 You should create a separate build directory and run configure from there." "$LINENO" 5
5190 enable_fonts
=${enable_fonts:-no}
5191 enable_server
=${enable_server:-no}
5192 elif test "x$enable_win64" = "xyes"
5194 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5198 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5199 if ${wine_cv_toolsdir+:} false
; then :
5200 $as_echo_n "(cached) " >&6
5202 wine_cv_toolsdir
="$with_wine_tools"
5203 if test -z "$with_wine_tools"; then
5204 if test "$cross_compiling" = "yes"; then
5205 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5206 elif test -n "$with_wine64"; then
5207 wine_cv_toolsdir
="$with_wine64"
5210 if test -z "$wine_cv_toolsdir"; then
5211 wine_makedep
=tools
/makedep
5212 wine_cv_toolsdir
="\$(top_builddir)"
5213 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5214 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5215 case "$wine_cv_toolsdir" in
5217 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5219 enable_tools
=${enable_tools:-no}
5220 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5222 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5226 $as_echo "$wine_cv_toolsdir" >&6; }
5227 TOOLSDIR
=$wine_cv_toolsdir
5229 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5231 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5237 # Extract the first word of "$ac_prog", so it can be a program name with args.
5238 set dummy
$ac_prog; ac_word
=$2
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5240 $as_echo_n "checking for $ac_word... " >&6; }
5241 if ${ac_cv_prog_FLEX+:} false
; then :
5242 $as_echo_n "(cached) " >&6
5244 if test -n "$FLEX"; then
5245 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5251 test -z "$as_dir" && as_dir
=.
5252 for ac_exec_ext
in '' $ac_executable_extensions; do
5253 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5254 ac_cv_prog_FLEX
="$ac_prog"
5255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5264 FLEX
=$ac_cv_prog_FLEX
5265 if test -n "$FLEX"; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5267 $as_echo "$FLEX" >&6; }
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270 $as_echo "no" >&6; }
5274 test -n "$FLEX" && break
5276 test -n "$FLEX" || FLEX
="none"
5278 if test "$FLEX" = "none"
5280 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5283 $as_echo_n "checking whether flex is recent enough... " >&6; }
5284 cat >conftest.l
<<EOF
5286 #include "prediluvian.h"
5290 if $FLEX -t conftest.l
>/dev
/null
2>&5
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5293 $as_echo "yes" >&6; }
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5297 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5300 for ac_prog
in bison
5302 # Extract the first word of "$ac_prog", so it can be a program name with args.
5303 set dummy
$ac_prog; ac_word
=$2
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5305 $as_echo_n "checking for $ac_word... " >&6; }
5306 if ${ac_cv_prog_BISON+:} false
; then :
5307 $as_echo_n "(cached) " >&6
5309 if test -n "$BISON"; then
5310 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5316 test -z "$as_dir" && as_dir
=.
5317 for ac_exec_ext
in '' $ac_executable_extensions; do
5318 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5319 ac_cv_prog_BISON
="$ac_prog"
5320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5329 BISON
=$ac_cv_prog_BISON
5330 if test -n "$BISON"; then
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5332 $as_echo "$BISON" >&6; }
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5335 $as_echo "no" >&6; }
5339 test -n "$BISON" && break
5341 test -n "$BISON" || BISON
="none"
5343 if test "$BISON" = "none"
5345 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5348 if test -n "$ac_tool_prefix"; then
5349 for ac_prog
in ar gar
5351 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5352 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5354 $as_echo_n "checking for $ac_word... " >&6; }
5355 if ${ac_cv_prog_AR+:} false
; then :
5356 $as_echo_n "(cached) " >&6
5358 if test -n "$AR"; then
5359 ac_cv_prog_AR
="$AR" # Let the user override the test.
5361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5365 test -z "$as_dir" && as_dir
=.
5366 for ac_exec_ext
in '' $ac_executable_extensions; do
5367 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5368 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 if test -n "$AR"; then
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5381 $as_echo "$AR" >&6; }
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5384 $as_echo "no" >&6; }
5388 test -n "$AR" && break
5391 if test -z "$AR"; then
5393 for ac_prog
in ar gar
5395 # Extract the first word of "$ac_prog", so it can be a program name with args.
5396 set dummy
$ac_prog; ac_word
=$2
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5398 $as_echo_n "checking for $ac_word... " >&6; }
5399 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5400 $as_echo_n "(cached) " >&6
5402 if test -n "$ac_ct_AR"; then
5403 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5409 test -z "$as_dir" && as_dir
=.
5410 for ac_exec_ext
in '' $ac_executable_extensions; do
5411 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5412 ac_cv_prog_ac_ct_AR
="$ac_prog"
5413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5422 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5423 if test -n "$ac_ct_AR"; then
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5425 $as_echo "$ac_ct_AR" >&6; }
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5428 $as_echo "no" >&6; }
5432 test -n "$ac_ct_AR" && break
5435 if test "x$ac_ct_AR" = x
; then
5438 case $cross_compiling:$ac_tool_warned in
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5442 ac_tool_warned
=yes ;;
5448 if test -n "$ac_tool_prefix"; then
5449 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5450 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5452 $as_echo_n "checking for $ac_word... " >&6; }
5453 if ${ac_cv_prog_STRIP+:} false
; then :
5454 $as_echo_n "(cached) " >&6
5456 if test -n "$STRIP"; then
5457 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5463 test -z "$as_dir" && as_dir
=.
5464 for ac_exec_ext
in '' $ac_executable_extensions; do
5465 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5466 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5476 STRIP
=$ac_cv_prog_STRIP
5477 if test -n "$STRIP"; then
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5479 $as_echo "$STRIP" >&6; }
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5482 $as_echo "no" >&6; }
5487 if test -z "$ac_cv_prog_STRIP"; then
5489 # Extract the first word of "strip", so it can be a program name with args.
5490 set dummy strip
; ac_word
=$2
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5492 $as_echo_n "checking for $ac_word... " >&6; }
5493 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5494 $as_echo_n "(cached) " >&6
5496 if test -n "$ac_ct_STRIP"; then
5497 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5503 test -z "$as_dir" && as_dir
=.
5504 for ac_exec_ext
in '' $ac_executable_extensions; do
5505 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5506 ac_cv_prog_ac_ct_STRIP
="strip"
5507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5516 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5517 if test -n "$ac_ct_STRIP"; then
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5519 $as_echo "$ac_ct_STRIP" >&6; }
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5522 $as_echo "no" >&6; }
5525 if test "x$ac_ct_STRIP" = x
; then
5528 case $cross_compiling:$ac_tool_warned in
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5532 ac_tool_warned
=yes ;;
5537 STRIP
="$ac_cv_prog_STRIP"
5542 if test -n "$ac_tool_prefix"; then
5543 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5544 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5546 $as_echo_n "checking for $ac_word... " >&6; }
5547 if ${ac_cv_prog_RANLIB+:} false
; then :
5548 $as_echo_n "(cached) " >&6
5550 if test -n "$RANLIB"; then
5551 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5557 test -z "$as_dir" && as_dir
=.
5558 for ac_exec_ext
in '' $ac_executable_extensions; do
5559 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5560 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5570 RANLIB
=$ac_cv_prog_RANLIB
5571 if test -n "$RANLIB"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5573 $as_echo "$RANLIB" >&6; }
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5576 $as_echo "no" >&6; }
5581 if test -z "$ac_cv_prog_RANLIB"; then
5582 ac_ct_RANLIB
=$RANLIB
5583 # Extract the first word of "ranlib", so it can be a program name with args.
5584 set dummy ranlib
; ac_word
=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5588 $as_echo_n "(cached) " >&6
5590 if test -n "$ac_ct_RANLIB"; then
5591 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5597 test -z "$as_dir" && as_dir
=.
5598 for ac_exec_ext
in '' $ac_executable_extensions; do
5599 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5600 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5611 if test -n "$ac_ct_RANLIB"; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5613 $as_echo "$ac_ct_RANLIB" >&6; }
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616 $as_echo "no" >&6; }
5619 if test "x$ac_ct_RANLIB" = x
; then
5622 case $cross_compiling:$ac_tool_warned in
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5626 ac_tool_warned
=yes ;;
5628 RANLIB
=$ac_ct_RANLIB
5631 RANLIB
="$ac_cv_prog_RANLIB"
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5635 $as_echo_n "checking whether ln -s works... " >&6; }
5637 if test "$LN_S" = "ln -s"; then
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5639 $as_echo "yes" >&6; }
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5642 $as_echo "no, using $LN_S" >&6; }
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5646 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5647 if ${ac_cv_path_GREP+:} false
; then :
5648 $as_echo_n "(cached) " >&6
5650 if test -z "$GREP"; then
5651 ac_path_GREP_found
=false
5652 # Loop through the user's path and test for each of PROGNAME-LIST
5653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5654 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5657 test -z "$as_dir" && as_dir
=.
5658 for ac_prog
in grep ggrep
; do
5659 for ac_exec_ext
in '' $ac_executable_extensions; do
5660 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5661 as_fn_executable_p
"$ac_path_GREP" ||
continue
5662 # Check for GNU ac_path_GREP and select it if it is found.
5663 # Check for GNU $ac_path_GREP
5664 case `"$ac_path_GREP" --version 2>&1` in
5666 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5669 $as_echo_n 0123456789 >"conftest.in"
5672 cat "conftest.in" "conftest.in" >"conftest.tmp"
5673 mv "conftest.tmp" "conftest.in"
5674 cp "conftest.in" "conftest.nl"
5675 $as_echo 'GREP' >> "conftest.nl"
5676 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5677 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5678 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5679 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5680 # Best one so far, save it but keep looking for a better one
5681 ac_cv_path_GREP
="$ac_path_GREP"
5682 ac_path_GREP_max
=$ac_count
5684 # 10*(2^10) chars as input seems more than enough
5685 test $ac_count -gt 10 && break
5687 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5690 $ac_path_GREP_found && break 3
5695 if test -z "$ac_cv_path_GREP"; then
5696 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5699 ac_cv_path_GREP
=$GREP
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5704 $as_echo "$ac_cv_path_GREP" >&6; }
5705 GREP
="$ac_cv_path_GREP"
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5709 $as_echo_n "checking for egrep... " >&6; }
5710 if ${ac_cv_path_EGREP+:} false
; then :
5711 $as_echo_n "(cached) " >&6
5713 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5714 then ac_cv_path_EGREP
="$GREP -E"
5716 if test -z "$EGREP"; then
5717 ac_path_EGREP_found
=false
5718 # Loop through the user's path and test for each of PROGNAME-LIST
5719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5720 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5723 test -z "$as_dir" && as_dir
=.
5724 for ac_prog
in egrep; do
5725 for ac_exec_ext
in '' $ac_executable_extensions; do
5726 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5727 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5728 # Check for GNU ac_path_EGREP and select it if it is found.
5729 # Check for GNU $ac_path_EGREP
5730 case `"$ac_path_EGREP" --version 2>&1` in
5732 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5735 $as_echo_n 0123456789 >"conftest.in"
5738 cat "conftest.in" "conftest.in" >"conftest.tmp"
5739 mv "conftest.tmp" "conftest.in"
5740 cp "conftest.in" "conftest.nl"
5741 $as_echo 'EGREP' >> "conftest.nl"
5742 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5743 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5744 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5745 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5746 # Best one so far, save it but keep looking for a better one
5747 ac_cv_path_EGREP
="$ac_path_EGREP"
5748 ac_path_EGREP_max
=$ac_count
5750 # 10*(2^10) chars as input seems more than enough
5751 test $ac_count -gt 10 && break
5753 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5756 $ac_path_EGREP_found && break 3
5761 if test -z "$ac_cv_path_EGREP"; then
5762 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5765 ac_cv_path_EGREP
=$EGREP
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5771 $as_echo "$ac_cv_path_EGREP" >&6; }
5772 EGREP
="$ac_cv_path_EGREP"
5775 # Extract the first word of "ldconfig", so it can be a program name with args.
5776 set dummy ldconfig
; ac_word
=$2
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5778 $as_echo_n "checking for $ac_word... " >&6; }
5779 if ${ac_cv_path_LDCONFIG+:} false
; then :
5780 $as_echo_n "(cached) " >&6
5784 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5788 for as_dir
in /sbin
/usr
/sbin
$PATH
5791 test -z "$as_dir" && as_dir
=.
5792 for ac_exec_ext
in '' $ac_executable_extensions; do
5793 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5794 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5802 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5806 LDCONFIG
=$ac_cv_path_LDCONFIG
5807 if test -n "$LDCONFIG"; then
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5809 $as_echo "$LDCONFIG" >&6; }
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5812 $as_echo "no" >&6; }
5816 for ac_prog
in msgfmt
5818 # Extract the first word of "$ac_prog", so it can be a program name with args.
5819 set dummy
$ac_prog; ac_word
=$2
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5821 $as_echo_n "checking for $ac_word... " >&6; }
5822 if ${ac_cv_prog_MSGFMT+:} false
; then :
5823 $as_echo_n "(cached) " >&6
5825 if test -n "$MSGFMT"; then
5826 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5832 test -z "$as_dir" && as_dir
=.
5833 for ac_exec_ext
in '' $ac_executable_extensions; do
5834 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5835 ac_cv_prog_MSGFMT
="$ac_prog"
5836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5845 MSGFMT
=$ac_cv_prog_MSGFMT
5846 if test -n "$MSGFMT"; then
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5848 $as_echo "$MSGFMT" >&6; }
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5851 $as_echo "no" >&6; }
5855 test -n "$MSGFMT" && break
5857 test -n "$MSGFMT" || MSGFMT
="false"
5859 if ${ac_tool_prefix+:} false
; then :
5860 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5861 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5863 $as_echo_n "checking for $ac_word... " >&6; }
5864 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5865 $as_echo_n "(cached) " >&6
5867 if test -n "$PKG_CONFIG"; then
5868 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5874 test -z "$as_dir" && as_dir
=.
5875 for ac_exec_ext
in '' $ac_executable_extensions; do
5876 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5877 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5887 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5888 if test -n "$PKG_CONFIG"; then
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5890 $as_echo "$PKG_CONFIG" >&6; }
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5893 $as_echo "no" >&6; }
5898 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5899 if test "x$cross_compiling" = xyes
; then :
5902 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5903 # Extract the first word of "pkg-config", so it can be a program name with args.
5904 set dummy pkg-config
; ac_word
=$2
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5906 $as_echo_n "checking for $ac_word... " >&6; }
5907 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5908 $as_echo_n "(cached) " >&6
5910 if test -n "$PKG_CONFIG"; then
5911 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5917 test -z "$as_dir" && as_dir
=.
5918 for ac_exec_ext
in '' $ac_executable_extensions; do
5919 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5920 ac_cv_prog_PKG_CONFIG
="pkg-config"
5921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5930 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5931 if test -n "$PKG_CONFIG"; then
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5933 $as_echo "$PKG_CONFIG" >&6; }
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5936 $as_echo "no" >&6; }
5942 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5945 if test "x$enable_maintainer_mode" != "xyes"
5952 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5953 for ac_prog
in fontforge
5955 # Extract the first word of "$ac_prog", so it can be a program name with args.
5956 set dummy
$ac_prog; ac_word
=$2
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5958 $as_echo_n "checking for $ac_word... " >&6; }
5959 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5960 $as_echo_n "(cached) " >&6
5962 if test -n "$FONTFORGE"; then
5963 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5969 test -z "$as_dir" && as_dir
=.
5970 for ac_exec_ext
in '' $ac_executable_extensions; do
5971 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5972 ac_cv_prog_FONTFORGE
="$ac_prog"
5973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5982 FONTFORGE
=$ac_cv_prog_FONTFORGE
5983 if test -n "$FONTFORGE"; then
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5985 $as_echo "$FONTFORGE" >&6; }
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5988 $as_echo "no" >&6; }
5992 test -n "$FONTFORGE" && break
5994 test -n "$FONTFORGE" || FONTFORGE
="false"
5996 for ac_prog
in rsvg-convert rsvg
5998 # Extract the first word of "$ac_prog", so it can be a program name with args.
5999 set dummy
$ac_prog; ac_word
=$2
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6001 $as_echo_n "checking for $ac_word... " >&6; }
6002 if ${ac_cv_prog_RSVG+:} false
; then :
6003 $as_echo_n "(cached) " >&6
6005 if test -n "$RSVG"; then
6006 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
6008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6012 test -z "$as_dir" && as_dir
=.
6013 for ac_exec_ext
in '' $ac_executable_extensions; do
6014 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6015 ac_cv_prog_RSVG
="$ac_prog"
6016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6025 RSVG
=$ac_cv_prog_RSVG
6026 if test -n "$RSVG"; then
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6028 $as_echo "$RSVG" >&6; }
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6031 $as_echo "no" >&6; }
6035 test -n "$RSVG" && break
6037 test -n "$RSVG" || RSVG
="false"
6039 for ac_prog
in convert
6041 # Extract the first word of "$ac_prog", so it can be a program name with args.
6042 set dummy
$ac_prog; ac_word
=$2
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6044 $as_echo_n "checking for $ac_word... " >&6; }
6045 if ${ac_cv_prog_CONVERT+:} false
; then :
6046 $as_echo_n "(cached) " >&6
6048 if test -n "$CONVERT"; then
6049 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
6051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6055 test -z "$as_dir" && as_dir
=.
6056 for ac_exec_ext
in '' $ac_executable_extensions; do
6057 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6058 ac_cv_prog_CONVERT
="$ac_prog"
6059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6068 CONVERT
=$ac_cv_prog_CONVERT
6069 if test -n "$CONVERT"; then
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6071 $as_echo "$CONVERT" >&6; }
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6074 $as_echo "no" >&6; }
6078 test -n "$CONVERT" && break
6080 test -n "$CONVERT" || CONVERT
="false"
6082 for ac_prog
in icotool
6084 # Extract the first word of "$ac_prog", so it can be a program name with args.
6085 set dummy
$ac_prog; ac_word
=$2
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6087 $as_echo_n "checking for $ac_word... " >&6; }
6088 if ${ac_cv_prog_ICOTOOL+:} false
; then :
6089 $as_echo_n "(cached) " >&6
6091 if test -n "$ICOTOOL"; then
6092 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6098 test -z "$as_dir" && as_dir
=.
6099 for ac_exec_ext
in '' $ac_executable_extensions; do
6100 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6101 ac_cv_prog_ICOTOOL
="$ac_prog"
6102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6111 ICOTOOL
=$ac_cv_prog_ICOTOOL
6112 if test -n "$ICOTOOL"; then
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6114 $as_echo "$ICOTOOL" >&6; }
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6117 $as_echo "no" >&6; }
6121 test -n "$ICOTOOL" && break
6123 test -n "$ICOTOOL" || ICOTOOL
="false"
6125 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6126 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6128 if test "$CONVERT" = false
6130 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6133 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6134 convert_version
=`convert --version | head -n1`
6135 if test "x$convert_version" != "x"
6137 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6138 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6139 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6144 if test "$CONVERT" = false
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6147 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6148 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6151 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6155 if test "$ICOTOOL" = false
6157 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6160 $as_echo_n "checking for recent enough icotool... " >&6; }
6161 icotool_version
=`icotool --version | head -n1`
6162 if test "x$icotool_version" != "x"
6164 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6165 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6166 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6169 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6172 if test "$ICOTOOL" = false
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6175 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6176 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6179 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6185 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6188 test "x$with_gettext" != xno || MSGFMT
=false
6189 if test "$MSGFMT" != "false"
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6192 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6193 cat >conftest.po
<<EOF
6199 if $MSGFMT -o /dev
/null conftest.po
2>&5
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6202 $as_echo "yes" >&6; }
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6205 $as_echo "no" >&6; }
6209 if test "$MSGFMT" = false
; then :
6210 case "x$with_gettext" in
6211 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6213 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6214 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6216 enable_po
=${enable_po:-no}
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6221 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6222 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6223 $as_echo_n "(cached) " >&6
6225 ac_check_lib_save_LIBS
=$LIBS
6227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6228 /* end confdefs.h. */
6230 /* Override any GCC internal prototype to avoid an error.
6231 Use char because int might match the return type of a GCC
6232 builtin and then its argument prototype would still apply. */
6236 char i386_set_ldt ();
6240 return i386_set_ldt ();
6245 if ac_fn_c_try_link
"$LINENO"; then :
6246 ac_cv_lib_i386_i386_set_ldt
=yes
6248 ac_cv_lib_i386_i386_set_ldt
=no
6250 rm -f core conftest.err conftest.
$ac_objext \
6251 conftest
$ac_exeext conftest.
$ac_ext
6252 LIBS
=$ac_check_lib_save_LIBS
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6255 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6256 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6257 cat >>confdefs.h
<<_ACEOF
6258 #define HAVE_LIBI386 1
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6266 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6267 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6268 $as_echo_n "(cached) " >&6
6270 ac_check_lib_save_LIBS
=$LIBS
6271 LIBS
="-lossaudio $LIBS"
6272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6273 /* end confdefs.h. */
6275 /* Override any GCC internal prototype to avoid an error.
6276 Use char because int might match the return type of a GCC
6277 builtin and then its argument prototype would still apply. */
6285 return _oss_ioctl ();
6290 if ac_fn_c_try_link
"$LINENO"; then :
6291 ac_cv_lib_ossaudio__oss_ioctl
=yes
6293 ac_cv_lib_ossaudio__oss_ioctl
=no
6295 rm -f core conftest.err conftest.
$ac_objext \
6296 conftest
$ac_exeext conftest.
$ac_ext
6297 LIBS
=$ac_check_lib_save_LIBS
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6300 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6301 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6302 cat >>confdefs.h
<<_ACEOF
6303 #define HAVE_LIBOSSAUDIO 1
6306 LIBS
="-lossaudio $LIBS"
6315 # Check whether --enable-largefile was given.
6316 if test "${enable_largefile+set}" = set; then :
6317 enableval
=$enable_largefile;
6320 if test "$enable_largefile" != no
; then
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6323 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6324 if ${ac_cv_sys_largefile_CC+:} false
; then :
6325 $as_echo_n "(cached) " >&6
6327 ac_cv_sys_largefile_CC
=no
6328 if test "$GCC" != yes; then
6331 # IRIX 6.2 and later do not support large files by default,
6332 # so use the C compiler's -n32 option if that helps.
6333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6334 /* end confdefs.h. */
6335 #include <sys/types.h>
6336 /* Check that off_t can represent 2**63 - 1 correctly.
6337 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6338 since some C++ compilers masquerading as C compilers
6339 incorrectly reject 9223372036854775807. */
6340 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6341 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6342 && LARGE_OFF_T % 2147483647 == 1)
6352 if ac_fn_c_try_compile
"$LINENO"; then :
6355 rm -f core conftest.err conftest.
$ac_objext
6357 if ac_fn_c_try_compile
"$LINENO"; then :
6358 ac_cv_sys_largefile_CC
=' -n32'; break
6360 rm -f core conftest.err conftest.
$ac_objext
6364 rm -f conftest.
$ac_ext
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6368 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6369 if test "$ac_cv_sys_largefile_CC" != no
; then
6370 CC
=$CC$ac_cv_sys_largefile_CC
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6374 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6375 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6376 $as_echo_n "(cached) " >&6
6379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6380 /* end confdefs.h. */
6381 #include <sys/types.h>
6382 /* Check that off_t can represent 2**63 - 1 correctly.
6383 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6384 since some C++ compilers masquerading as C compilers
6385 incorrectly reject 9223372036854775807. */
6386 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6387 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6388 && LARGE_OFF_T % 2147483647 == 1)
6398 if ac_fn_c_try_compile
"$LINENO"; then :
6399 ac_cv_sys_file_offset_bits
=no
; break
6401 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6403 /* end confdefs.h. */
6404 #define _FILE_OFFSET_BITS 64
6405 #include <sys/types.h>
6406 /* Check that off_t can represent 2**63 - 1 correctly.
6407 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6408 since some C++ compilers masquerading as C compilers
6409 incorrectly reject 9223372036854775807. */
6410 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6411 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6412 && LARGE_OFF_T % 2147483647 == 1)
6422 if ac_fn_c_try_compile
"$LINENO"; then :
6423 ac_cv_sys_file_offset_bits
=64; break
6425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6426 ac_cv_sys_file_offset_bits
=unknown
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6431 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6432 case $ac_cv_sys_file_offset_bits in #(
6435 cat >>confdefs.h
<<_ACEOF
6436 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6441 if test $ac_cv_sys_file_offset_bits = unknown
; then
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6443 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6444 if ${ac_cv_sys_large_files+:} false
; then :
6445 $as_echo_n "(cached) " >&6
6448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6449 /* end confdefs.h. */
6450 #include <sys/types.h>
6451 /* Check that off_t can represent 2**63 - 1 correctly.
6452 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6453 since some C++ compilers masquerading as C compilers
6454 incorrectly reject 9223372036854775807. */
6455 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6456 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6457 && LARGE_OFF_T % 2147483647 == 1)
6467 if ac_fn_c_try_compile
"$LINENO"; then :
6468 ac_cv_sys_large_files
=no
; break
6470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6472 /* end confdefs.h. */
6473 #define _LARGE_FILES 1
6474 #include <sys/types.h>
6475 /* Check that off_t can represent 2**63 - 1 correctly.
6476 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6477 since some C++ compilers masquerading as C compilers
6478 incorrectly reject 9223372036854775807. */
6479 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6480 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6481 && LARGE_OFF_T % 2147483647 == 1)
6491 if ac_fn_c_try_compile
"$LINENO"; then :
6492 ac_cv_sys_large_files
=1; break
6494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6495 ac_cv_sys_large_files
=unknown
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6500 $as_echo "$ac_cv_sys_large_files" >&6; }
6501 case $ac_cv_sys_large_files in #(
6504 cat >>confdefs.h
<<_ACEOF
6505 #define _LARGE_FILES $ac_cv_sys_large_files
6517 ac_cpp
='$CPP $CPPFLAGS'
6518 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6519 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6520 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6522 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6523 # On Suns, sometimes $CPP names a directory.
6524 if test -n "$CPP" && test -d "$CPP"; then
6527 if test -z "$CPP"; then
6528 if ${ac_cv_prog_CPP+:} false
; then :
6529 $as_echo_n "(cached) " >&6
6531 # Double quotes because CPP needs to be expanded
6532 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6535 for ac_c_preproc_warn_flag
in '' yes
6537 # Use a header file that comes with gcc, so configuring glibc
6538 # with a fresh cross-compiler works.
6539 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6540 # <limits.h> exists even on freestanding compilers.
6541 # On the NeXT, cc -E runs the code through the compiler's parser,
6542 # not just through cpp. "Syntax error" is here to catch this case.
6543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6544 /* end confdefs.h. */
6546 # include <limits.h>
6548 # include <assert.h>
6552 if ac_fn_c_try_cpp
"$LINENO"; then :
6555 # Broken: fails on valid input.
6558 rm -f conftest.err conftest.i conftest.
$ac_ext
6560 # OK, works on sane cases. Now check whether nonexistent headers
6561 # can be detected and how.
6562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6563 /* end confdefs.h. */
6564 #include <ac_nonexistent.h>
6566 if ac_fn_c_try_cpp
"$LINENO"; then :
6567 # Broken: success on invalid input.
6570 # Passes both tests.
6574 rm -f conftest.err conftest.i conftest.
$ac_ext
6577 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6578 rm -f conftest.i conftest.err conftest.
$ac_ext
6579 if $ac_preproc_ok; then :
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6592 $as_echo "$CPP" >&6; }
6594 for ac_c_preproc_warn_flag
in '' yes
6596 # Use a header file that comes with gcc, so configuring glibc
6597 # with a fresh cross-compiler works.
6598 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6599 # <limits.h> exists even on freestanding compilers.
6600 # On the NeXT, cc -E runs the code through the compiler's parser,
6601 # not just through cpp. "Syntax error" is here to catch this case.
6602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6603 /* end confdefs.h. */
6605 # include <limits.h>
6607 # include <assert.h>
6611 if ac_fn_c_try_cpp
"$LINENO"; then :
6614 # Broken: fails on valid input.
6617 rm -f conftest.err conftest.i conftest.
$ac_ext
6619 # OK, works on sane cases. Now check whether nonexistent headers
6620 # can be detected and how.
6621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6622 /* end confdefs.h. */
6623 #include <ac_nonexistent.h>
6625 if ac_fn_c_try_cpp
"$LINENO"; then :
6626 # Broken: success on invalid input.
6629 # Passes both tests.
6633 rm -f conftest.err conftest.i conftest.
$ac_ext
6636 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6637 rm -f conftest.i conftest.err conftest.
$ac_ext
6638 if $ac_preproc_ok; then :
6641 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6643 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6644 See \`config.log' for more details" "$LINENO" 5; }
6648 ac_cpp
='$CPP $CPPFLAGS'
6649 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6650 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6651 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6655 $as_echo_n "checking for ANSI C header files... " >&6; }
6656 if ${ac_cv_header_stdc+:} false
; then :
6657 $as_echo_n "(cached) " >&6
6659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6660 /* end confdefs.h. */
6674 if ac_fn_c_try_compile
"$LINENO"; then :
6675 ac_cv_header_stdc
=yes
6677 ac_cv_header_stdc
=no
6679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6681 if test $ac_cv_header_stdc = yes; then
6682 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6684 /* end confdefs.h. */
6688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6689 $EGREP "memchr" >/dev
/null
2>&1; then :
6692 ac_cv_header_stdc
=no
6698 if test $ac_cv_header_stdc = yes; then
6699 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6701 /* end confdefs.h. */
6705 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6706 $EGREP "free" >/dev
/null
2>&1; then :
6709 ac_cv_header_stdc
=no
6715 if test $ac_cv_header_stdc = yes; then
6716 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6717 if test "$cross_compiling" = yes; then :
6720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6721 /* end confdefs.h. */
6724 #if ((' ' & 0x0FF) == 0x020)
6725 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6726 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6728 # define ISLOWER(c) \
6729 (('a' <= (c) && (c) <= 'i') \
6730 || ('j' <= (c) && (c) <= 'r') \
6731 || ('s' <= (c) && (c) <= 'z'))
6732 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6735 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6740 for (i = 0; i < 256; i++)
6741 if (XOR (islower (i), ISLOWER (i))
6742 || toupper (i) != TOUPPER (i))
6747 if ac_fn_c_try_run
"$LINENO"; then :
6750 ac_cv_header_stdc
=no
6752 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6753 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6759 $as_echo "$ac_cv_header_stdc" >&6; }
6760 if test $ac_cv_header_stdc = yes; then
6762 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6766 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6767 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6768 inttypes.h stdint.h unistd.h
6770 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6771 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6773 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6774 cat >>confdefs.h
<<_ACEOF
6775 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6785 ApplicationServices
/ApplicationServices.h \
6786 AudioToolbox
/AudioConverter.h \
6787 AudioUnit
/AudioUnit.h \
6788 AudioUnit
/AudioComponent.h \
6791 CommonCrypto
/CommonDigest.h \
6792 CoreAudio
/CoreAudio.h \
6793 CoreServices
/CoreServices.h \
6794 DiskArbitration
/DiskArbitration.h \
6796 IOKit
/hid
/IOHIDLib.h \
6799 QuickTime
/ImageCompression.h \
6800 Security
/Security.h \
6852 netinet
/in_systm.h \
6916 valgrind
/memcheck.h \
6917 valgrind
/valgrind.h \
6921 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6922 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6923 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6924 cat >>confdefs.h
<<_ACEOF
6925 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6933 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6934 if ${ac_cv_header_sys_types_h_makedev+:} false
; then :
6935 $as_echo_n "(cached) " >&6
6937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6938 /* end confdefs.h. */
6939 #include <sys/types.h>
6943 return makedev(0, 0);
6948 if ac_fn_c_try_link
"$LINENO"; then :
6949 ac_cv_header_sys_types_h_makedev
=yes
6951 ac_cv_header_sys_types_h_makedev
=no
6953 rm -f core conftest.err conftest.
$ac_objext \
6954 conftest
$ac_exeext conftest.
$ac_ext
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6958 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6960 if test $ac_cv_header_sys_types_h_makedev = no
; then
6961 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6962 if test "x$ac_cv_header_sys_mkdev_h" = xyes
; then :
6964 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6970 if test $ac_cv_header_sys_mkdev_h = no
; then
6971 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6972 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
; then :
6974 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6983 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6984 if ${ac_cv_header_stat_broken+:} false
; then :
6985 $as_echo_n "(cached) " >&6
6987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6988 /* end confdefs.h. */
6989 #include <sys/types.h>
6990 #include <sys/stat.h>
6992 #if defined S_ISBLK && defined S_IFDIR
6993 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6996 #if defined S_ISBLK && defined S_IFCHR
6997 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7000 #if defined S_ISLNK && defined S_IFREG
7001 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7004 #if defined S_ISSOCK && defined S_IFREG
7005 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7009 if ac_fn_c_try_compile
"$LINENO"; then :
7010 ac_cv_header_stat_broken
=no
7012 ac_cv_header_stat_broken
=yes
7014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7017 $as_echo "$ac_cv_header_stat_broken" >&6; }
7018 if test $ac_cv_header_stat_broken = yes; then
7020 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7026 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
7028 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7029 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7030 #ifdef HAVE_SYS_PARAM_H
7031 # include <sys/param.h>
7034 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7035 cat >>confdefs.h
<<_ACEOF
7036 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7051 netinet
/if_ether.h \
7052 netinet
/if_inarp.h \
7061 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7062 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7063 #ifdef HAVE_SYS_SOCKET_H
7064 # include <sys/socket.h>
7066 #ifdef HAVE_SYS_SOCKETVAR_H
7067 # include <sys/socketvar.h>
7069 #ifdef HAVE_NET_ROUTE_H
7070 # include <net/route.h>
7072 #ifdef HAVE_NETINET_IN_H
7073 # include <netinet/in.h>
7075 #ifdef HAVE_NETINET_IN_SYSTM_H
7076 # include <netinet/in_systm.h>
7078 #ifdef HAVE_NET_IF_H
7079 # include <net/if.h>
7081 #ifdef HAVE_NETINET_IP_H
7082 # include <netinet/ip.h>
7085 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7086 cat >>confdefs.h
<<_ACEOF
7087 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7095 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
7097 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7098 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7102 #ifdef HAVE_SYS_SOCKET_H
7103 # include <sys/socket.h>
7105 #ifdef HAVE_SYS_SOCKETVAR_H
7106 # include <sys/socketvar.h>
7108 #ifdef HAVE_SYS_TIMEOUT_H
7109 # include <sys/timeout.h>
7111 #ifdef HAVE_NETINET_IN_H
7112 # include <netinet/in.h>
7114 #ifdef HAVE_NETINET_IN_SYSTM_H
7115 # include <netinet/in_systm.h>
7117 #ifdef HAVE_NETINET_IP_H
7118 # include <netinet/ip.h>
7120 #ifdef HAVE_NETINET_IP_VAR_H
7121 # include <netinet/ip_var.h>
7123 #ifdef HAVE_NETINET_IP_ICMP_H
7124 # include <netinet/ip_icmp.h>
7126 #ifdef HAVE_NETINET_UDP_H
7127 # include <netinet/udp.h>
7129 #ifdef HAVE_NETINET_TCP_H
7130 # include <netinet/tcp.h>
7132 #ifdef HAVE_NETINET_TCP_TIMER_H
7133 #include <netinet/tcp_timer.h>
7136 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7137 cat >>confdefs.h
<<_ACEOF
7138 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7146 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
7148 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7149 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7150 #ifdef HAVE_ASM_TYPES_H
7151 # include <asm/types.h>
7153 #ifdef HAVE_SYS_SOCKET_H
7154 # include <sys/socket.h>
7156 #ifdef HAVE_LINUX_TYPES_H
7157 # include <linux/types.h>
7160 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7161 cat >>confdefs.h
<<_ACEOF
7162 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7170 for ac_header
in mach-o
/dyld_images.h
7172 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7173 # include <stdbool.h>
7175 #ifdef HAVE_STDINT_H
7176 # include <stdint.h>
7179 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7180 cat >>confdefs.h
<<_ACEOF
7181 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7189 for ac_header
in resolv.h
7191 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7192 #ifdef HAVE_SYS_SOCKET_H
7193 # include <sys/socket.h>
7195 #ifdef HAVE_NETINET_IN_H
7196 # include <netinet/in.h>
7198 #ifdef HAVE_ARPA_NAMESER_H
7199 # include <arpa/nameser.h>
7202 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7203 cat >>confdefs.h
<<_ACEOF
7204 #define HAVE_RESOLV_H 1
7212 for ac_header
in ifaddrs.h
7214 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7216 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7217 cat >>confdefs.h
<<_ACEOF
7218 #define HAVE_IFADDRS_H 1
7226 for ac_header
in sys
/ucontext.h
7228 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7230 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7231 cat >>confdefs.h
<<_ACEOF
7232 #define HAVE_SYS_UCONTEXT_H 1
7240 for ac_header
in sys
/thr.h
7242 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7243 #ifdef HAVE_SYS_UCONTEXT_H
7244 #include <sys/ucontext.h>
7247 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7248 cat >>confdefs.h
<<_ACEOF
7249 #define HAVE_SYS_THR_H 1
7257 for ac_header
in pthread_np.h
7259 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7260 #include <pthread.h>
7263 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7264 cat >>confdefs.h
<<_ACEOF
7265 #define HAVE_PTHREAD_NP_H 1
7273 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7275 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7276 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7277 #include <sys/time.h>
7279 #include <sys/types.h>
7280 #ifdef HAVE_ASM_TYPES_H
7281 #include <asm/types.h>
7284 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7285 cat >>confdefs.h
<<_ACEOF
7286 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7294 for ac_header
in libprocstat.h
7296 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7297 #include <sys/param.h>
7299 #ifdef HAVE_SYS_QUEUE_H
7300 #include <sys/queue.h>
7302 #ifdef HAVE_SYS_SOCKET_H
7303 #include <sys/socket.h>
7306 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7307 cat >>confdefs.h
<<_ACEOF
7308 #define HAVE_LIBPROCSTAT_H 1
7317 dlldir
="\${libdir}/wine"
7319 DLLFLAGS
="-D_REENTRANT"
7330 # Extract the first word of "ldd", so it can be a program name with args.
7331 set dummy ldd
; ac_word
=$2
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7333 $as_echo_n "checking for $ac_word... " >&6; }
7334 if ${ac_cv_path_LDD+:} false
; then :
7335 $as_echo_n "(cached) " >&6
7339 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7343 as_dummy
="/sbin:/usr/sbin:$PATH"
7344 for as_dir
in $as_dummy
7347 test -z "$as_dir" && as_dir
=.
7348 for ac_exec_ext
in '' $ac_executable_extensions; do
7349 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7350 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7358 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7363 if test -n "$LDD"; then
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7365 $as_echo "$LDD" >&6; }
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7368 $as_echo "no" >&6; }
7372 if test -n "$ac_tool_prefix"; then
7373 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7374 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7376 $as_echo_n "checking for $ac_word... " >&6; }
7377 if ${ac_cv_prog_OTOOL+:} false
; then :
7378 $as_echo_n "(cached) " >&6
7380 if test -n "$OTOOL"; then
7381 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7387 test -z "$as_dir" && as_dir
=.
7388 for ac_exec_ext
in '' $ac_executable_extensions; do
7389 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7390 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7400 OTOOL
=$ac_cv_prog_OTOOL
7401 if test -n "$OTOOL"; then
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7403 $as_echo "$OTOOL" >&6; }
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7406 $as_echo "no" >&6; }
7411 if test -z "$ac_cv_prog_OTOOL"; then
7413 # Extract the first word of "otool", so it can be a program name with args.
7414 set dummy otool
; ac_word
=$2
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 $as_echo_n "checking for $ac_word... " >&6; }
7417 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7418 $as_echo_n "(cached) " >&6
7420 if test -n "$ac_ct_OTOOL"; then
7421 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7427 test -z "$as_dir" && as_dir
=.
7428 for ac_exec_ext
in '' $ac_executable_extensions; do
7429 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7430 ac_cv_prog_ac_ct_OTOOL
="otool"
7431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7440 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7441 if test -n "$ac_ct_OTOOL"; then
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7443 $as_echo "$ac_ct_OTOOL" >&6; }
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446 $as_echo "no" >&6; }
7449 if test "x$ac_ct_OTOOL" = x
; then
7452 case $cross_compiling:$ac_tool_warned in
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7456 ac_tool_warned
=yes ;;
7461 OTOOL
="$ac_cv_prog_OTOOL"
7464 if test -n "$ac_tool_prefix"; then
7465 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7466 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7468 $as_echo_n "checking for $ac_word... " >&6; }
7469 if ${ac_cv_prog_READELF+:} false
; then :
7470 $as_echo_n "(cached) " >&6
7472 if test -n "$READELF"; then
7473 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7479 test -z "$as_dir" && as_dir
=.
7480 for ac_exec_ext
in '' $ac_executable_extensions; do
7481 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7482 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7492 READELF
=$ac_cv_prog_READELF
7493 if test -n "$READELF"; then
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7495 $as_echo "$READELF" >&6; }
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7498 $as_echo "no" >&6; }
7503 if test -z "$ac_cv_prog_READELF"; then
7504 ac_ct_READELF
=$READELF
7505 # Extract the first word of "readelf", so it can be a program name with args.
7506 set dummy readelf
; ac_word
=$2
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508 $as_echo_n "checking for $ac_word... " >&6; }
7509 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7510 $as_echo_n "(cached) " >&6
7512 if test -n "$ac_ct_READELF"; then
7513 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7519 test -z "$as_dir" && as_dir
=.
7520 for ac_exec_ext
in '' $ac_executable_extensions; do
7521 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7522 ac_cv_prog_ac_ct_READELF
="readelf"
7523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7532 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7533 if test -n "$ac_ct_READELF"; then
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7535 $as_echo "$ac_ct_READELF" >&6; }
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7538 $as_echo "no" >&6; }
7541 if test "x$ac_ct_READELF" = x
; then
7544 case $cross_compiling:$ac_tool_warned in
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7548 ac_tool_warned
=yes ;;
7550 READELF
=$ac_ct_READELF
7553 READELF
="$ac_cv_prog_READELF"
7556 wine_rules_file
=conf$
$rules.
make
7557 rm -f $wine_rules_file
7562 CONFIGURE_TARGETS
=""
7564 ALL_TEST_RESOURCES
=""
7567 wine_fn_append_file
()
7569 as_fn_append
$1 " \\$as_nl $2"
7572 wine_fn_append_rule
()
7574 $as_echo "$1" >>$wine_rules_file
7579 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7582 wine_fn_all_rules
()
7584 wine_fn_append_file SUBDIRS
$ac_dir
7585 wine_fn_append_rule \
7589 @cd $ac_dir && \$(MAKE)"
7592 wine_fn_install_rules
()
7594 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7596 wine_fn_append_rule \
7597 ".PHONY: $ac_dir/install $ac_dir/uninstall
7598 $ac_dir/install:: $ac_dir
7599 @cd $ac_dir && \$(MAKE) install
7601 @cd $ac_dir && \$(MAKE) uninstall
7602 install:: $ac_dir/install
7603 __uninstall__: $ac_dir/uninstall"
7605 if wine_fn_has_flag install-lib
7607 wine_fn_append_rule \
7608 ".PHONY: $ac_dir/install-lib
7609 $ac_dir/install-lib:: $ac_dir
7610 @cd $ac_dir && \$(MAKE) install-lib
7611 install-lib:: $ac_dir/install-lib"
7614 if wine_fn_has_flag install-dev
7616 wine_fn_append_rule \
7617 ".PHONY: $ac_dir/install-dev
7618 $ac_dir/install-dev:: $ac_dir
7619 @cd $ac_dir && \$(MAKE) install-dev
7620 install-dev:: $ac_dir/install-dev"
7624 wine_fn_clean_rules
()
7628 if wine_fn_has_flag clean
7630 wine_fn_append_rule \
7631 "$ac_dir/clean: dummy
7632 @cd $ac_dir && \$(MAKE) clean"
7634 wine_fn_append_rule \
7635 "$ac_dir/clean: dummy
7636 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7638 wine_fn_append_rule \
7639 "__clean__: $ac_dir/clean
7640 .PHONY: $ac_dir/clean"
7643 wine_fn_disabled_rules
()
7647 wine_fn_append_file SUBDIRS
$ac_dir
7648 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7649 wine_fn_append_rule \
7650 "__clean__: $ac_dir/clean
7651 .PHONY: $ac_dir/clean
7652 $ac_dir/clean: dummy
7653 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7656 wine_fn_config_makefile
()
7663 fonts|server
) test -z "$with_wine64" ||
return ;;
7665 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7666 wine_fn_disabled_rules
; return
7669 wine_fn_install_rules
7673 wine_fn_config_lib
()
7677 ac_dir
=dlls
/$ac_name
7680 if test "x$enable_tools" = xno
; then :
7683 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7688 wine_fn_append_rule \
7689 ".PHONY: $ac_dir/install $ac_dir/uninstall
7690 $ac_dir/install:: $ac_dir
7691 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7693 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7694 install install-dev:: $ac_dir/install
7695 __uninstall__: $ac_dir/uninstall
7696 __builddeps__: $ac_dir
7700 wine_fn_config_dll
()
7703 ac_dir
=dlls
/$ac_name
7706 ac_implib
=${4:-$ac_name}
7707 ac_file
=$ac_dir/lib
$ac_implib
7712 if test "x$enable_tools" = xno
; then :
7715 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7718 *16) ac_implibflags
=" -m16" ;;
7720 *) ac_dll
=$ac_dll.dll
;;
7724 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7725 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7727 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7728 if test "$ac_enable" != enable_win16
7730 wine_fn_clean_rules
$ac_clean
7731 wine_fn_append_file SUBDIRS
$ac_dir
7732 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7734 wine_fn_disabled_rules
$ac_clean
7739 wine_fn_clean_rules
$ac_clean
7740 wine_fn_append_rule \
7741 "$ac_dir: __builddeps__
7742 manpages htmlpages sgmlpages xmlpages::
7743 @cd $ac_dir && \$(MAKE) \$@
7744 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7745 install install-lib:: $ac_dir/install-lib
7746 __uninstall__: $ac_dir/uninstall"
7747 if test -n "$DLLEXT"
7749 wine_fn_append_rule \
7750 "$ac_dir/install-lib:: $ac_dir
7751 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7752 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7754 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7756 wine_fn_append_rule \
7757 "$ac_dir/install-lib:: $ac_dir
7758 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7760 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7764 if wine_fn_has_flag staticimplib
7766 wine_fn_append_rule \
7767 "__builddeps__: $ac_file.a
7768 $ac_file.a $ac_file.cross.a: $ac_deps
7770 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7771 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7772 $ac_dir/install-dev:: $ac_file.a
7773 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7775 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7776 install install-dev:: $ac_dir/install-dev
7777 __uninstall__: $ac_dir/uninstall"
7779 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7781 wine_fn_append_rule \
7782 "__builddeps__: $ac_file.cross.a
7783 $ac_file.cross.a: dummy
7784 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7787 elif wine_fn_has_flag implib
7789 wine_fn_append_rule \
7790 "__builddeps__: $ac_file.$IMPLIBEXT
7791 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7792 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7793 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7794 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7795 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7796 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7797 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7799 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7800 install install-dev:: $ac_dir/install-dev
7801 __uninstall__: $ac_dir/uninstall"
7802 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7804 wine_fn_append_rule \
7805 "__builddeps__: $ac_file.cross.a
7806 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7807 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7812 wine_fn_config_program
()
7815 ac_dir
=programs
/$ac_name
7822 *) ac_program
=$ac_program.exe
;;
7826 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7827 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7829 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7830 wine_fn_disabled_rules
$ac_clean; return
7834 wine_fn_clean_rules
$ac_clean
7835 wine_fn_append_rule
"$ac_dir: __builddeps__"
7837 wine_fn_has_flag
install ||
return
7838 wine_fn_append_rule \
7839 ".PHONY: $ac_dir/install $ac_dir/uninstall
7840 install install-lib:: $ac_dir/install
7841 __uninstall__: $ac_dir/uninstall"
7843 if test -n "$DLLEXT"
7845 wine_fn_append_rule \
7846 "$ac_dir/install:: $ac_dir
7847 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7848 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7850 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7852 if test -z "$with_wine64" && wine_fn_has_flag installbin
7854 wine_fn_append_rule \
7855 "$ac_dir/install:: __tooldeps__
7856 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7858 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7861 wine_fn_append_rule \
7862 "$ac_dir/install:: $ac_dir
7863 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7865 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7868 if test -z "$with_wine64" && wine_fn_has_flag manpage
7870 wine_fn_append_rule \
7871 "$ac_dir/install:: $ac_dir
7872 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7874 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7878 wine_fn_config_test
()
7885 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7886 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7888 if test "x$enable_tests" = xno
; then :
7889 wine_fn_disabled_rules
$ac_clean; return
7892 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7894 wine_fn_clean_rules
$ac_clean
7896 wine_fn_append_rule \
7897 "$ac_dir: __builddeps__
7898 programs/winetest: $ac_dir
7899 check test: $ac_dir/test
7900 .PHONY: $ac_dir/test
7902 @cd $ac_dir && \$(MAKE) test
7904 \$(RM) $ac_dir/*.ok"
7906 if test -n "$CROSSTARGET"
7908 wine_fn_append_rule \
7909 "crosstest: $ac_dir/crosstest
7910 .PHONY: $ac_dir/crosstest
7911 $ac_dir/crosstest: __builddeps__ dummy
7912 @cd $ac_dir && \$(MAKE) crosstest"
7916 wine_fn_config_tool
()
7920 if test "x$enable_tools" = xno
; then :
7921 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir; return
7925 wine_fn_install_rules
7928 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7929 wine_fn_append_rule
"$ac_dir: libs/port"
7931 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7935 wine_fn_config_symlink
()
7938 if test "x$1" = "x-d"
7944 wine_fn_append_rule \
7946 @./config.status \$@"
7947 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
7948 test -n "$ac_linkdir" ||
return
7949 wine_fn_append_rule
"$ac_linkdir/depend: $ac_links"
7953 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7954 WINELOADER_PROGRAMS
="$wine_binary"
7956 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7960 if test -n "$ac_tool_prefix"; then
7961 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7962 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7964 $as_echo_n "checking for $ac_word... " >&6; }
7965 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7966 $as_echo_n "(cached) " >&6
7968 if test -n "$DLLTOOL"; then
7969 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7975 test -z "$as_dir" && as_dir
=.
7976 for ac_exec_ext
in '' $ac_executable_extensions; do
7977 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7978 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7988 DLLTOOL
=$ac_cv_prog_DLLTOOL
7989 if test -n "$DLLTOOL"; then
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7991 $as_echo "$DLLTOOL" >&6; }
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7994 $as_echo "no" >&6; }
7999 if test -z "$ac_cv_prog_DLLTOOL"; then
8000 ac_ct_DLLTOOL
=$DLLTOOL
8001 # Extract the first word of "dlltool", so it can be a program name with args.
8002 set dummy dlltool
; ac_word
=$2
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8004 $as_echo_n "checking for $ac_word... " >&6; }
8005 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
8006 $as_echo_n "(cached) " >&6
8008 if test -n "$ac_ct_DLLTOOL"; then
8009 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8015 test -z "$as_dir" && as_dir
=.
8016 for ac_exec_ext
in '' $ac_executable_extensions; do
8017 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8018 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8028 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8029 if test -n "$ac_ct_DLLTOOL"; then
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8031 $as_echo "$ac_ct_DLLTOOL" >&6; }
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8034 $as_echo "no" >&6; }
8037 if test "x$ac_ct_DLLTOOL" = x
; then
8040 case $cross_compiling:$ac_tool_warned in
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8044 ac_tool_warned
=yes ;;
8046 DLLTOOL
=$ac_ct_DLLTOOL
8049 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8055 enable_iphlpapi
=${enable_iphlpapi:-no}
8056 enable_kernel32
=${enable_kernel32:-no}
8057 enable_msvcrt
=${enable_msvcrt:-no}
8058 enable_ntdll
=${enable_ntdll:-no}
8059 enable_ws2_32
=${enable_ws2_32:-no}
8060 enable_loader
=${enable_loader:-no}
8061 enable_server
=${enable_server:-no}
8062 with_x
=${with_x:-no}
8063 with_pthread
=${with_pthread:-no}
8069 SOCKET_LIBS
="-lws2_32"
8073 LIBWINE_SHAREDLIB
="libwine.dll"
8075 LIBWINE_IMPORTLIB
="libwine.a"
8077 LIBWINE_INSTALL_LIB
="libwine.dll"
8079 LIBWINE_INSTALL_DEV
="libwine.a"
8081 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
8083 LIBWINE_DEPENDS
="wine.def"
8088 for ac_header
in libunwind.h
8090 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8091 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8092 cat >>confdefs.h
<<_ACEOF
8093 #define HAVE_LIBUNWIND_H 1
8101 DLLFLAGS
="$DLLFLAGS -fPIC"
8102 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8103 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8104 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8106 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8108 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8110 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8112 CORESERVICES_LIBS
="-framework CoreServices"
8114 APPKIT_LIBS
="-framework AppKit"
8116 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8118 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8119 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8120 $as_echo_n "(cached) " >&6
8122 ac_wine_try_cflags_saved
=$CFLAGS
8123 CFLAGS
="$CFLAGS -Wl,-no_pie"
8124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8125 /* end confdefs.h. */
8126 int main(int argc, char **argv) { return 0; }
8128 if ac_fn_c_try_link
"$LINENO"; then :
8129 ac_cv_cflags__Wl__no_pie
=yes
8131 ac_cv_cflags__Wl__no_pie
=no
8133 rm -f core conftest.err conftest.
$ac_objext \
8134 conftest
$ac_exeext conftest.
$ac_ext
8135 CFLAGS
=$ac_wine_try_cflags_saved
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8138 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8139 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8140 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8142 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8144 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8147 if test "$ac_cv_header_Security_Security_h" = "yes"
8149 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8151 ac_save_LIBS
="$LIBS"
8152 LIBS
="$LIBS $SECURITY_LIBS"
8153 for ac_func
in SSLCopyPeerCertificates
8155 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8156 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8157 cat >>confdefs.h
<<_ACEOF
8158 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8164 LIBS
="$ac_save_LIBS"
8165 with_gnutls
=${with_gnutls:-no}
8167 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8169 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8171 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8174 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8177 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8178 ac_save_LIBS
="$LIBS"
8179 LIBS
="$LIBS $COREAUDIO_LIBS"
8180 for ac_func
in AUGraphAddNode
8182 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8183 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8184 cat >>confdefs.h
<<_ACEOF
8185 #define HAVE_AUGRAPHADDNODE 1
8191 LIBS
="$ac_save_LIBS"
8193 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8195 OPENAL_LIBS
="-framework OpenAL"
8198 cat >>confdefs.h
<<_ACEOF
8199 #define HAVE_OPENAL 1
8202 ac_cv_lib_openal
=yes
8204 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8206 OPENCL_LIBS
="-framework OpenCL"
8208 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8210 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8212 ac_save_LIBS
="$LIBS"
8213 LIBS
="$LIBS $IOKIT_LIBS"
8214 for ac_func
in IOHIDManagerCreate
8216 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8217 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8218 cat >>confdefs.h
<<_ACEOF
8219 #define HAVE_IOHIDMANAGERCREATE 1
8225 LIBS
="$ac_save_LIBS"
8227 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8229 ac_save_LIBS
="$LIBS"
8230 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8232 $as_echo_n "checking for the QuickTime framework... " >&6; }
8233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8234 /* end confdefs.h. */
8235 #include <QuickTime/ImageCompression.h>
8239 CodecManagerVersion(NULL);
8244 if ac_fn_c_try_link
"$LINENO"; then :
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8246 $as_echo "yes" >&6; }
8247 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8249 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8252 $as_echo "no" >&6; }
8253 ac_cv_header_QuickTime_ImageCompression_h
=no
8255 rm -f core conftest.err conftest.
$ac_objext \
8256 conftest
$ac_exeext conftest.
$ac_ext
8257 LIBS
="$ac_save_LIBS"
8259 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8261 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8263 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8265 CARBON_LIBS
="-framework Carbon"
8269 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8271 ac_save_LIBS
="$LIBS"
8272 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8273 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8274 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8275 enable_winemac_drv
=${enable_winemac_drv:-yes}
8278 LIBS
="$ac_save_LIBS"
8281 if test "x$enable_win16" = "xyes"
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8284 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8285 if test "$cross_compiling" = yes; then :
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8287 $as_echo "cross-compiling, assuming yes" >&6; }
8289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8290 /* end confdefs.h. */
8293 "good:\tnop;nop\n\t"
8294 ".globl _testfunc\n"
8295 "_testfunc:\tcallw good");
8296 extern void testfunc();
8300 unsigned short *p = (unsigned short *)testfunc;
8301 return p[0] != 0xe866 || p[1] != 0xfffa
8306 if ac_fn_c_try_run
"$LINENO"; then :
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8308 $as_echo "yes" >&6; }
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8311 $as_echo "no" >&6; }
8312 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
8314 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8315 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8320 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8322 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8324 LIBWINE_INSTALL_DEV
="libwine.dylib"
8326 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8328 WINELOADER_DEPENDS
="wine_info.plist"
8333 DLLFLAGS
="$DLLFLAGS -fPIC"
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8335 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8336 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8337 $as_echo_n "(cached) " >&6
8339 ac_wine_try_cflags_saved
=$CFLAGS
8340 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
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 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8348 ac_cv_cflags__fPIC__Wl___export_dynamic
=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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8355 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8356 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8357 LDEXECFLAGS
="-Wl,--export-dynamic"
8359 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8361 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8362 if eval \
${$as_ac_var+:} false
; then :
8363 $as_echo_n "(cached) " >&6
8365 ac_wine_try_cflags_saved
=$CFLAGS
8366 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8368 /* end confdefs.h. */
8369 int main(int argc, char **argv) { return 0; }
8371 if ac_fn_c_try_link
"$LINENO"; then :
8372 eval "$as_ac_var=yes"
8374 eval "$as_ac_var=no"
8376 rm -f core conftest.err conftest.
$ac_objext \
8377 conftest
$ac_exeext conftest.
$ac_ext
8378 CFLAGS
=$ac_wine_try_cflags_saved
8380 eval ac_res
=\$
$as_ac_var
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8382 $as_echo "$ac_res" >&6; }
8383 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8384 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8385 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8387 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8389 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8390 if eval \
${$as_ac_var+:} false
; then :
8391 $as_echo_n "(cached) " >&6
8393 ac_wine_try_cflags_saved
=$CFLAGS
8394 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8396 /* end confdefs.h. */
8397 int main(int argc, char **argv) { return 0; }
8399 if ac_fn_c_try_link
"$LINENO"; then :
8400 eval "$as_ac_var=yes"
8402 eval "$as_ac_var=no"
8404 rm -f core conftest.err conftest.
$ac_objext \
8405 conftest
$ac_exeext conftest.
$ac_ext
8406 CFLAGS
=$ac_wine_try_cflags_saved
8408 eval ac_res
=\$
$as_ac_var
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8410 $as_echo "$ac_res" >&6; }
8411 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8412 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8413 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8418 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8419 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8420 $as_echo_n "(cached) " >&6
8422 ac_wine_try_cflags_saved
=$CFLAGS
8423 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8425 /* end confdefs.h. */
8426 int main(int argc, char **argv) { return 0; }
8428 if ac_fn_c_try_link
"$LINENO"; then :
8429 ac_cv_cflags__Wl___enable_new_dtags
=yes
8431 ac_cv_cflags__Wl___enable_new_dtags
=no
8433 rm -f core conftest.err conftest.
$ac_objext \
8434 conftest
$ac_exeext conftest.
$ac_ext
8435 CFLAGS
=$ac_wine_try_cflags_saved
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8438 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8439 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8440 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8443 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8444 if ${ac_cv_cflags__Wl__pie+:} false
; then :
8445 $as_echo_n "(cached) " >&6
8447 ac_wine_try_cflags_saved
=$CFLAGS
8448 CFLAGS
="$CFLAGS -Wl,-pie"
8449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8450 /* end confdefs.h. */
8451 int main(int argc, char **argv) { return 0; }
8453 if ac_fn_c_try_link
"$LINENO"; then :
8454 ac_cv_cflags__Wl__pie
=yes
8456 ac_cv_cflags__Wl__pie
=no
8458 rm -f core conftest.err conftest.
$ac_objext \
8459 conftest
$ac_exeext conftest.
$ac_ext
8460 CFLAGS
=$ac_wine_try_cflags_saved
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8463 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8464 if test "x$ac_cv_cflags__Wl__pie" = xyes
; then :
8465 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,-pie"
8468 LIBWINE_SHAREDLIB
="libwine.so"
8470 LIBWINE_INSTALL_LIB
="libwine.so"
8472 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so"
8477 DLLFLAGS
="$DLLFLAGS -fPIC"
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8480 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8481 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8482 $as_echo_n "(cached) " >&6
8484 ac_wine_try_cflags_saved
=$CFLAGS
8485 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8487 /* end confdefs.h. */
8490 if ac_fn_c_try_link
"$LINENO"; then :
8491 ac_cv_c_dll_gnuelf
="yes"
8493 ac_cv_c_dll_gnuelf
="no"
8495 rm -f core conftest.err conftest.
$ac_objext \
8496 conftest
$ac_exeext conftest.
$ac_ext
8497 CFLAGS
=$ac_wine_try_cflags_saved
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8500 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8501 if test "$ac_cv_c_dll_gnuelf" = "yes"
8503 LIBWINE_LDFLAGS
="-shared"
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8505 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8506 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8507 $as_echo_n "(cached) " >&6
8509 ac_wine_try_cflags_saved
=$CFLAGS
8510 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8512 /* end confdefs.h. */
8513 int main(int argc, char **argv) { return 0; }
8515 if ac_fn_c_try_link
"$LINENO"; then :
8516 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8518 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8520 rm -f core conftest.err conftest.
$ac_objext \
8521 conftest
$ac_exeext conftest.
$ac_ext
8522 CFLAGS
=$ac_wine_try_cflags_saved
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8525 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8526 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8527 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8530 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8531 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8532 $as_echo_n "(cached) " >&6
8534 ac_wine_try_cflags_saved
=$CFLAGS
8535 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8537 /* end confdefs.h. */
8538 int main(int argc, char **argv) { return 0; }
8540 if ac_fn_c_try_link
"$LINENO"; then :
8541 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8543 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8545 rm -f core conftest.err conftest.
$ac_objext \
8546 conftest
$ac_exeext conftest.
$ac_ext
8547 CFLAGS
=$ac_wine_try_cflags_saved
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8550 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8551 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8552 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8556 echo '{ global: *; };' >conftest.map
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8558 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8559 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8560 $as_echo_n "(cached) " >&6
8562 ac_wine_try_cflags_saved
=$CFLAGS
8563 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8565 /* end confdefs.h. */
8566 int main(int argc, char **argv) { return 0; }
8568 if ac_fn_c_try_link
"$LINENO"; then :
8569 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8571 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8573 rm -f core conftest.err conftest.
$ac_objext \
8574 conftest
$ac_exeext conftest.
$ac_ext
8575 CFLAGS
=$ac_wine_try_cflags_saved
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8578 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8579 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8580 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8585 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8586 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8587 $as_echo_n "(cached) " >&6
8589 ac_wine_try_cflags_saved
=$CFLAGS
8590 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8592 /* end confdefs.h. */
8593 int main(int argc, char **argv) { return 0; }
8595 if ac_fn_c_try_link
"$LINENO"; then :
8596 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8598 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8600 rm -f core conftest.err conftest.
$ac_objext \
8601 conftest
$ac_exeext conftest.
$ac_ext
8602 CFLAGS
=$ac_wine_try_cflags_saved
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8605 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8606 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8607 LDEXECFLAGS
="-Wl,--export-dynamic"
8610 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8612 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8613 if eval \
${$as_ac_var+:} false
; then :
8614 $as_echo_n "(cached) " >&6
8616 ac_wine_try_cflags_saved
=$CFLAGS
8617 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8619 /* end confdefs.h. */
8620 int main(int argc, char **argv) { return 0; }
8622 if ac_fn_c_try_link
"$LINENO"; then :
8623 eval "$as_ac_var=yes"
8625 eval "$as_ac_var=no"
8627 rm -f core conftest.err conftest.
$ac_objext \
8628 conftest
$ac_exeext conftest.
$ac_ext
8629 CFLAGS
=$ac_wine_try_cflags_saved
8631 eval ac_res
=\$
$as_ac_var
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8633 $as_echo "$ac_res" >&6; }
8634 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8635 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8636 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8638 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8640 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8641 if eval \
${$as_ac_var+:} false
; then :
8642 $as_echo_n "(cached) " >&6
8644 ac_wine_try_cflags_saved
=$CFLAGS
8645 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8647 /* end confdefs.h. */
8648 int main(int argc, char **argv) { return 0; }
8650 if ac_fn_c_try_link
"$LINENO"; then :
8651 eval "$as_ac_var=yes"
8653 eval "$as_ac_var=no"
8655 rm -f core conftest.err conftest.
$ac_objext \
8656 conftest
$ac_exeext conftest.
$ac_ext
8657 CFLAGS
=$ac_wine_try_cflags_saved
8659 eval ac_res
=\$
$as_ac_var
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8661 $as_echo "$ac_res" >&6; }
8662 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8663 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8664 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8669 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8670 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8671 $as_echo_n "(cached) " >&6
8673 ac_wine_try_cflags_saved
=$CFLAGS
8674 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8676 /* end confdefs.h. */
8677 int main(int argc, char **argv) { return 0; }
8679 if ac_fn_c_try_link
"$LINENO"; then :
8680 ac_cv_cflags__Wl___enable_new_dtags
=yes
8682 ac_cv_cflags__Wl___enable_new_dtags
=no
8684 rm -f core conftest.err conftest.
$ac_objext \
8685 conftest
$ac_exeext conftest.
$ac_ext
8686 CFLAGS
=$ac_wine_try_cflags_saved
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8689 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8690 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8691 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8695 *i
[3456789]86* | x86_64
)
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8697 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8698 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8699 $as_echo_n "(cached) " >&6
8701 ac_wine_try_cflags_saved
=$CFLAGS
8702 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8704 /* end confdefs.h. */
8705 int main(int argc, char **argv) { return 0; }
8707 if ac_fn_c_try_link
"$LINENO"; then :
8708 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8710 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8712 rm -f core conftest.err conftest.
$ac_objext \
8713 conftest
$ac_exeext conftest.
$ac_ext
8714 CFLAGS
=$ac_wine_try_cflags_saved
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8717 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8718 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8720 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8721 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8725 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8726 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false
; then :
8727 $as_echo_n "(cached) " >&6
8729 ac_wine_try_cflags_saved
=$CFLAGS
8730 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8732 /* end confdefs.h. */
8733 int main(int argc, char **argv) { return 0; }
8735 if ac_fn_c_try_link
"$LINENO"; then :
8736 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=yes
8738 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=no
8740 rm -f core conftest.err conftest.
$ac_objext \
8741 conftest
$ac_exeext conftest.
$ac_ext
8742 CFLAGS
=$ac_wine_try_cflags_saved
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8745 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8746 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes
; then :
8748 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8749 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8752 # Extract the first word of "prelink", so it can be a program name with args.
8753 set dummy prelink
; ac_word
=$2
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8755 $as_echo_n "checking for $ac_word... " >&6; }
8756 if ${ac_cv_path_PRELINK+:} false
; then :
8757 $as_echo_n "(cached) " >&6
8761 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8765 for as_dir
in /sbin
/usr
/sbin
$PATH
8768 test -z "$as_dir" && as_dir
=.
8769 for ac_exec_ext
in '' $ac_executable_extensions; do
8770 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8771 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8779 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8783 PRELINK
=$ac_cv_path_PRELINK
8784 if test -n "$PRELINK"; then
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8786 $as_echo "$PRELINK" >&6; }
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8789 $as_echo "no" >&6; }
8793 if test "x$PRELINK" = xfalse
8795 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8799 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8800 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false
; then :
8801 $as_echo_n "(cached) " >&6
8803 ac_wine_try_cflags_saved
=$CFLAGS
8804 CFLAGS
="$CFLAGS -Wl,-z,max-page-size=0x1000"
8805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8806 /* end confdefs.h. */
8807 int main(int argc, char **argv) { return 0; }
8809 if ac_fn_c_try_link
"$LINENO"; then :
8810 ac_cv_cflags__Wl__z_max_page_size_0x1000
=yes
8812 ac_cv_cflags__Wl__z_max_page_size_0x1000
=no
8814 rm -f core conftest.err conftest.
$ac_objext \
8815 conftest
$ac_exeext conftest.
$ac_ext
8816 CFLAGS
=$ac_wine_try_cflags_saved
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8819 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8820 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
; then :
8821 LDEXECFLAGS
="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8828 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8829 if ${ac_cv_c_dll_unixware+:} false
; then :
8830 $as_echo_n "(cached) " >&6
8832 ac_wine_try_cflags_saved
=$CFLAGS
8833 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8835 /* end confdefs.h. */
8838 if ac_fn_c_try_link
"$LINENO"; then :
8839 ac_cv_c_dll_unixware
="yes"
8841 ac_cv_c_dll_unixware
="no"
8843 rm -f core conftest.err conftest.
$ac_objext \
8844 conftest
$ac_exeext conftest.
$ac_ext
8845 CFLAGS
=$ac_wine_try_cflags_saved
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8848 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8849 if test "$ac_cv_c_dll_unixware" = "yes"
8851 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
8854 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
8856 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8858 LIBWINE_INSTALL_DEV
="libwine.so"
8860 LIBWINE_DEPENDS
="wine.map"
8865 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
8866 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8867 enable_winemac_drv
=${enable_winemac_drv:-no}
8868 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
8872 if test "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8876 ac_prefix_list
="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8878 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
8879 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8882 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
8883 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8885 ac_prefix_list
="" ;;
8887 for ac_prog
in $ac_prefix_list
8889 # Extract the first word of "$ac_prog", so it can be a program name with args.
8890 set dummy
$ac_prog; ac_word
=$2
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8892 $as_echo_n "checking for $ac_word... " >&6; }
8893 if ${ac_cv_prog_CROSSCC+:} false
; then :
8894 $as_echo_n "(cached) " >&6
8896 if test -n "$CROSSCC"; then
8897 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8903 test -z "$as_dir" && as_dir
=.
8904 for ac_exec_ext
in '' $ac_executable_extensions; do
8905 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8906 ac_cv_prog_CROSSCC
="$ac_prog"
8907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8916 CROSSCC
=$ac_cv_prog_CROSSCC
8917 if test -n "$CROSSCC"; then
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8919 $as_echo "$CROSSCC" >&6; }
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8922 $as_echo "no" >&6; }
8926 test -n "$CROSSCC" && break
8928 test -n "$CROSSCC" || CROSSCC
="false"
8930 if test "$CROSSCC" != "false"
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8935 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8937 /* end confdefs.h. */
8947 if ac_fn_c_try_compile
"$LINENO"; then :
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8949 $as_echo "yes" >&6; }
8955 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8956 *-clang) CROSSTARGET
=`expr "$1" : '\(.*\)-clang'` ;;
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8962 $as_echo "no" >&6; }
8964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8970 if test "$ac_cv_header_pthread_h" = "yes"
8972 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8973 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8977 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8978 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8979 $as_echo_n "(cached) " >&6
8981 ac_check_lib_save_LIBS
=$LIBS
8982 LIBS
="-lpthread $LIBS"
8983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8984 /* end confdefs.h. */
8986 /* Override any GCC internal prototype to avoid an error.
8987 Use char because int might match the return type of a GCC
8988 builtin and then its argument prototype would still apply. */
8992 char pthread_create ();
8996 return pthread_create ();
9001 if ac_fn_c_try_link
"$LINENO"; then :
9002 ac_cv_lib_pthread_pthread_create
=yes
9004 ac_cv_lib_pthread_pthread_create
=no
9006 rm -f core conftest.err conftest.
$ac_objext \
9007 conftest
$ac_exeext conftest.
$ac_ext
9008 LIBS
=$ac_check_lib_save_LIBS
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9011 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9012 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
9013 PTHREAD_LIBS
="-lpthread"
9020 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
9021 case "x$with_pthread" in
9023 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
9024 Wine cannot support threads without libpthread.
9025 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9032 $as_echo_n "checking for X... " >&6; }
9035 # Check whether --with-x was given.
9036 if test "${with_x+set}" = set; then :
9040 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9041 if test "x$with_x" = xno
; then
9042 # The user explicitly disabled X.
9045 case $x_includes,$x_libraries in #(
9046 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
9047 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
9048 $as_echo_n "(cached) " >&6
9050 # One or both of the vars are not set, and there is no cached value.
9051 ac_x_includes
=no ac_x_libraries
=no
9052 rm -f -r conftest.dir
9053 if mkdir conftest.dir
; then
9055 cat >Imakefile
<<'_ACEOF'
9057 @echo incroot='${INCROOT}'
9059 @echo usrlibdir='${USRLIBDIR}'
9061 @echo libdir='${LIBDIR}'
9063 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9064 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9065 for ac_var
in incroot usrlibdir libdir
; do
9066 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9068 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9069 for ac_extension
in a so sl dylib la dll
; do
9070 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9071 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9072 ac_im_usrlibdir
=$ac_im_libdir; break
9075 # Screen out bogus values from the imake configuration. They are
9076 # bogus both because they are the default anyway, and because
9077 # using them would break gcc on systems where it needs fixed includes.
9078 case $ac_im_incroot in
9079 /usr
/include
) ac_x_includes
= ;;
9080 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9082 case $ac_im_usrlibdir in
9083 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9084 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9088 rm -f -r conftest.dir
9091 # Standard set of common directories for X headers.
9092 # Check X11 before X11Rn because it is often a symlink to the current release.
9106 /usr/local/X11/include
9107 /usr/local/X11R7/include
9108 /usr/local/X11R6/include
9109 /usr/local/X11R5/include
9110 /usr/local/X11R4/include
9112 /usr/local/include/X11
9113 /usr/local/include/X11R7
9114 /usr/local/include/X11R6
9115 /usr/local/include/X11R5
9116 /usr/local/include/X11R4
9120 /usr/XFree86/include/X11
9124 /usr/unsupported/include
9126 /usr/local/x11r5/include
9127 /usr/lpp/Xamples/include
9129 /usr/openwin/include
9130 /usr/openwin/share/include'
9132 if test "$ac_x_includes" = no
; then
9133 # Guess where to find include files, by looking for Xlib.h.
9134 # First, try using that file with no special directory specified.
9135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9136 /* end confdefs.h. */
9137 #include <X11/Xlib.h>
9139 if ac_fn_c_try_cpp
"$LINENO"; then :
9140 # We can compile using X headers with no special include directory.
9143 for ac_dir
in $ac_x_header_dirs; do
9144 if test -r "$ac_dir/X11/Xlib.h"; then
9145 ac_x_includes
=$ac_dir
9150 rm -f conftest.err conftest.i conftest.
$ac_ext
9151 fi # $ac_x_includes = no
9153 if test "$ac_x_libraries" = no
; then
9154 # Check for the libraries.
9155 # See if we find them without any special options.
9156 # Don't add to $LIBS permanently.
9159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9160 /* end confdefs.h. */
9161 #include <X11/Xlib.h>
9170 if ac_fn_c_try_link
"$LINENO"; then :
9172 # We can link X programs with no special library path.
9176 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9178 # Don't even attempt the hair of trying to link an X program!
9179 for ac_extension
in a so sl dylib la dll
; do
9180 if test -r "$ac_dir/libX11.$ac_extension"; then
9181 ac_x_libraries
=$ac_dir
9187 rm -f core conftest.err conftest.
$ac_objext \
9188 conftest
$ac_exeext conftest.
$ac_ext
9189 fi # $ac_x_libraries = no
9191 case $ac_x_includes,$ac_x_libraries in #(
9193 # Didn't find X, or a directory has "'" in its name.
9194 ac_cv_have_x
="have_x=no";; #(
9196 # Record where we found X for the cache.
9197 ac_cv_have_x
="have_x=yes\
9198 ac_x_includes='$ac_x_includes'\
9199 ac_x_libraries='$ac_x_libraries'"
9205 eval "$ac_cv_have_x"
9208 if test "$have_x" != yes; then
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9210 $as_echo "$have_x" >&6; }
9213 # If each of the values was on the command line, it overrides each guess.
9214 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9215 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9216 # Update the cache value to reflect the command line values.
9217 ac_cv_have_x
="have_x=yes\
9218 ac_x_includes='$x_includes'\
9219 ac_x_libraries='$x_libraries'"
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9221 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9224 if test "$no_x" = yes; then
9225 # Not all programs may use this symbol, but it does not hurt to define it.
9227 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9229 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9231 if test -n "$x_includes"; then
9232 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9235 # It would also be nice to do this for all -L options, not just this one.
9236 if test -n "$x_libraries"; then
9237 X_LIBS
="$X_LIBS -L$x_libraries"
9238 # For Solaris; some versions of Sun CC require a space after -R and
9239 # others require no space. Words are not sufficient . . . .
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9241 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9242 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9243 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9244 ac_c_werror_flag
=yes
9245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9246 /* end confdefs.h. */
9256 if ac_fn_c_try_link
"$LINENO"; then :
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9258 $as_echo "no" >&6; }
9259 X_LIBS
="$X_LIBS -R$x_libraries"
9261 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9263 /* end confdefs.h. */
9273 if ac_fn_c_try_link
"$LINENO"; then :
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9275 $as_echo "yes" >&6; }
9276 X_LIBS
="$X_LIBS -R $x_libraries"
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9279 $as_echo "neither works" >&6; }
9281 rm -f core conftest.err conftest.
$ac_objext \
9282 conftest
$ac_exeext conftest.
$ac_ext
9284 rm -f core conftest.err conftest.
$ac_objext \
9285 conftest
$ac_exeext conftest.
$ac_ext
9286 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9290 # Check for system-dependent libraries X programs must link with.
9291 # Do this before checking for the system-independent R6 libraries
9292 # (-lICE), since we may need -lsocket or whatever for X linking.
9294 if test "$ISC" = yes; then
9295 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9297 # Martyn Johnson says this is needed for Ultrix, if the X
9298 # libraries were built with DECnet support. And Karl Berry says
9299 # the Alpha needs dnet_stub (dnet does not exist).
9300 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9302 /* end confdefs.h. */
9304 /* Override any GCC internal prototype to avoid an error.
9305 Use char because int might match the return type of a GCC
9306 builtin and then its argument prototype would still apply. */
9310 char XOpenDisplay ();
9314 return XOpenDisplay ();
9319 if ac_fn_c_try_link
"$LINENO"; then :
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9323 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9324 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9325 $as_echo_n "(cached) " >&6
9327 ac_check_lib_save_LIBS
=$LIBS
9329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9330 /* end confdefs.h. */
9332 /* Override any GCC internal prototype to avoid an error.
9333 Use char because int might match the return type of a GCC
9334 builtin and then its argument prototype would still apply. */
9342 return dnet_ntoa ();
9347 if ac_fn_c_try_link
"$LINENO"; then :
9348 ac_cv_lib_dnet_dnet_ntoa
=yes
9350 ac_cv_lib_dnet_dnet_ntoa
=no
9352 rm -f core conftest.err conftest.
$ac_objext \
9353 conftest
$ac_exeext conftest.
$ac_ext
9354 LIBS
=$ac_check_lib_save_LIBS
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9357 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9358 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9359 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9362 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9364 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9365 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9366 $as_echo_n "(cached) " >&6
9368 ac_check_lib_save_LIBS
=$LIBS
9369 LIBS
="-ldnet_stub $LIBS"
9370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9371 /* end confdefs.h. */
9373 /* Override any GCC internal prototype to avoid an error.
9374 Use char because int might match the return type of a GCC
9375 builtin and then its argument prototype would still apply. */
9383 return dnet_ntoa ();
9388 if ac_fn_c_try_link
"$LINENO"; then :
9389 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9391 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9393 rm -f core conftest.err conftest.
$ac_objext \
9394 conftest
$ac_exeext conftest.
$ac_ext
9395 LIBS
=$ac_check_lib_save_LIBS
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9398 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9399 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9400 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9405 rm -f core conftest.err conftest.
$ac_objext \
9406 conftest
$ac_exeext conftest.
$ac_ext
9407 LIBS
="$ac_xsave_LIBS"
9409 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9410 # to get the SysV transport functions.
9411 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9413 # The nsl library prevents programs from opening the X display
9414 # on Irix 5.2, according to T.E. Dickey.
9415 # The functions gethostbyname, getservbyname, and inet_addr are
9416 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9417 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9418 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9422 if test $ac_cv_func_gethostbyname = no
; then
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9424 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9425 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9426 $as_echo_n "(cached) " >&6
9428 ac_check_lib_save_LIBS
=$LIBS
9430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9431 /* end confdefs.h. */
9433 /* Override any GCC internal prototype to avoid an error.
9434 Use char because int might match the return type of a GCC
9435 builtin and then its argument prototype would still apply. */
9439 char gethostbyname ();
9443 return gethostbyname ();
9448 if ac_fn_c_try_link
"$LINENO"; then :
9449 ac_cv_lib_nsl_gethostbyname
=yes
9451 ac_cv_lib_nsl_gethostbyname
=no
9453 rm -f core conftest.err conftest.
$ac_objext \
9454 conftest
$ac_exeext conftest.
$ac_ext
9455 LIBS
=$ac_check_lib_save_LIBS
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9458 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9459 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9460 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9463 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9465 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9466 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9467 $as_echo_n "(cached) " >&6
9469 ac_check_lib_save_LIBS
=$LIBS
9471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9472 /* end confdefs.h. */
9474 /* Override any GCC internal prototype to avoid an error.
9475 Use char because int might match the return type of a GCC
9476 builtin and then its argument prototype would still apply. */
9480 char gethostbyname ();
9484 return gethostbyname ();
9489 if ac_fn_c_try_link
"$LINENO"; then :
9490 ac_cv_lib_bsd_gethostbyname
=yes
9492 ac_cv_lib_bsd_gethostbyname
=no
9494 rm -f core conftest.err conftest.
$ac_objext \
9495 conftest
$ac_exeext conftest.
$ac_ext
9496 LIBS
=$ac_check_lib_save_LIBS
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9499 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9500 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9501 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9507 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9508 # socket/setsockopt and other routines are undefined under SCO ODT
9509 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9510 # on later versions), says Simon Leinen: it contains gethostby*
9511 # variants that don't use the name server (or something). -lsocket
9512 # must be given before -lnsl if both are needed. We assume that
9513 # if connect needs -lnsl, so does gethostbyname.
9514 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9515 if test "x$ac_cv_func_connect" = xyes
; then :
9519 if test $ac_cv_func_connect = no
; then
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9521 $as_echo_n "checking for connect in -lsocket... " >&6; }
9522 if ${ac_cv_lib_socket_connect+:} false
; then :
9523 $as_echo_n "(cached) " >&6
9525 ac_check_lib_save_LIBS
=$LIBS
9526 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9528 /* end confdefs.h. */
9530 /* Override any GCC internal prototype to avoid an error.
9531 Use char because int might match the return type of a GCC
9532 builtin and then its argument prototype would still apply. */
9545 if ac_fn_c_try_link
"$LINENO"; then :
9546 ac_cv_lib_socket_connect
=yes
9548 ac_cv_lib_socket_connect
=no
9550 rm -f core conftest.err conftest.
$ac_objext \
9551 conftest
$ac_exeext conftest.
$ac_ext
9552 LIBS
=$ac_check_lib_save_LIBS
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9555 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9556 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9557 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9562 # Guillermo Gomez says -lposix is necessary on A/UX.
9563 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9564 if test "x$ac_cv_func_remove" = xyes
; then :
9568 if test $ac_cv_func_remove = no
; then
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9570 $as_echo_n "checking for remove in -lposix... " >&6; }
9571 if ${ac_cv_lib_posix_remove+:} false
; then :
9572 $as_echo_n "(cached) " >&6
9574 ac_check_lib_save_LIBS
=$LIBS
9575 LIBS
="-lposix $LIBS"
9576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9577 /* end confdefs.h. */
9579 /* Override any GCC internal prototype to avoid an error.
9580 Use char because int might match the return type of a GCC
9581 builtin and then its argument prototype would still apply. */
9594 if ac_fn_c_try_link
"$LINENO"; then :
9595 ac_cv_lib_posix_remove
=yes
9597 ac_cv_lib_posix_remove
=no
9599 rm -f core conftest.err conftest.
$ac_objext \
9600 conftest
$ac_exeext conftest.
$ac_ext
9601 LIBS
=$ac_check_lib_save_LIBS
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9604 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9605 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9606 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9611 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9612 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9613 if test "x$ac_cv_func_shmat" = xyes
; then :
9617 if test $ac_cv_func_shmat = no
; then
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9619 $as_echo_n "checking for shmat in -lipc... " >&6; }
9620 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9621 $as_echo_n "(cached) " >&6
9623 ac_check_lib_save_LIBS
=$LIBS
9625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9626 /* end confdefs.h. */
9628 /* Override any GCC internal prototype to avoid an error.
9629 Use char because int might match the return type of a GCC
9630 builtin and then its argument prototype would still apply. */
9643 if ac_fn_c_try_link
"$LINENO"; then :
9644 ac_cv_lib_ipc_shmat
=yes
9646 ac_cv_lib_ipc_shmat
=no
9648 rm -f core conftest.err conftest.
$ac_objext \
9649 conftest
$ac_exeext conftest.
$ac_ext
9650 LIBS
=$ac_check_lib_save_LIBS
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9653 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9654 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9655 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9661 # Check for libraries that X11R6 Xt/Xaw programs need.
9662 ac_save_LDFLAGS
=$LDFLAGS
9663 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9664 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9665 # check for ICE first), but we must link in the order -lSM -lICE or
9666 # we get undefined symbols. So assume we have SM if we have ICE.
9667 # These have to be linked with before -lX11, unlike the other
9668 # libraries we check for below, so use a different variable.
9669 # John Interrante, Karl Berry
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9671 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9672 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9673 $as_echo_n "(cached) " >&6
9675 ac_check_lib_save_LIBS
=$LIBS
9676 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9678 /* end confdefs.h. */
9680 /* Override any GCC internal prototype to avoid an error.
9681 Use char because int might match the return type of a GCC
9682 builtin and then its argument prototype would still apply. */
9686 char IceConnectionNumber ();
9690 return IceConnectionNumber ();
9695 if ac_fn_c_try_link
"$LINENO"; then :
9696 ac_cv_lib_ICE_IceConnectionNumber
=yes
9698 ac_cv_lib_ICE_IceConnectionNumber
=no
9700 rm -f core conftest.err conftest.
$ac_objext \
9701 conftest
$ac_exeext conftest.
$ac_ext
9702 LIBS
=$ac_check_lib_save_LIBS
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9705 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9706 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9707 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9710 LDFLAGS
=$ac_save_LDFLAGS
9715 if test "$have_x" = "yes"
9717 ac_save_CPPFLAGS
="$CPPFLAGS"
9718 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9721 $as_echo_n "checking for -lX11... " >&6; }
9722 if ${ac_cv_lib_soname_X11+:} false
; then :
9723 $as_echo_n "(cached) " >&6
9725 ac_check_soname_save_LIBS
=$LIBS
9726 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9728 /* end confdefs.h. */
9730 /* Override any GCC internal prototype to avoid an error.
9731 Use char because int might match the return type of a GCC
9732 builtin and then its argument prototype would still apply. */
9736 char XCreateWindow ();
9740 return XCreateWindow ();
9745 if ac_fn_c_try_link
"$LINENO"; then :
9747 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9748 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'` ;;
9749 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9750 if ${ac_cv_lib_soname_X11:+false} :; then :
9751 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9755 rm -f core conftest.err conftest.
$ac_objext \
9756 conftest
$ac_exeext conftest.
$ac_ext
9757 LIBS
=$ac_check_soname_save_LIBS
9759 if ${ac_cv_lib_soname_X11:+false} :; then :
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9761 $as_echo "not found" >&6; }
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9765 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9767 cat >>confdefs.h
<<_ACEOF
9768 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9774 $as_echo_n "checking for -lXext... " >&6; }
9775 if ${ac_cv_lib_soname_Xext+:} false
; then :
9776 $as_echo_n "(cached) " >&6
9778 ac_check_soname_save_LIBS
=$LIBS
9779 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9781 /* end confdefs.h. */
9783 /* Override any GCC internal prototype to avoid an error.
9784 Use char because int might match the return type of a GCC
9785 builtin and then its argument prototype would still apply. */
9789 char XextCreateExtension ();
9793 return XextCreateExtension ();
9798 if ac_fn_c_try_link
"$LINENO"; then :
9800 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9801 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'` ;;
9802 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9803 if ${ac_cv_lib_soname_Xext:+false} :; then :
9804 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9808 rm -f core conftest.err conftest.
$ac_objext \
9809 conftest
$ac_exeext conftest.
$ac_ext
9810 LIBS
=$ac_check_soname_save_LIBS
9812 if ${ac_cv_lib_soname_Xext:+false} :; then :
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9814 $as_echo "not found" >&6; }
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9818 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9820 cat >>confdefs.h
<<_ACEOF
9821 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9824 X_LIBS
="$X_LIBS -lXext"
9826 X_LIBS
="$X_LIBS -lX11"
9828 for ac_header
in X11
/Xlib.h \
9831 X11
/Xcursor
/Xcursor.h \
9832 X11
/extensions
/shape.h \
9833 X11
/extensions
/XInput.h \
9834 X11
/extensions
/XInput2.h \
9835 X11
/extensions
/XShm.h \
9836 X11
/extensions
/Xcomposite.h \
9837 X11
/extensions
/Xinerama.h \
9838 X11
/extensions
/Xrandr.h \
9839 X11
/extensions
/Xrender.h \
9840 X11
/extensions
/xf86vmode.h \
9841 X11
/extensions
/xf86vmproto.h
9843 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9844 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9845 # include <X11/Xlib.h>
9847 #ifdef HAVE_X11_XUTIL_H
9848 # include <X11/Xutil.h>
9851 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9852 cat >>confdefs.h
<<_ACEOF
9853 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9861 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9864 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9865 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9866 $as_echo_n "(cached) " >&6
9868 ac_check_lib_save_LIBS
=$LIBS
9869 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9871 /* end confdefs.h. */
9873 /* Override any GCC internal prototype to avoid an error.
9874 Use char because int might match the return type of a GCC
9875 builtin and then its argument prototype would still apply. */
9879 char XkbQueryExtension ();
9883 return XkbQueryExtension ();
9888 if ac_fn_c_try_link
"$LINENO"; then :
9889 ac_cv_lib_X11_XkbQueryExtension
=yes
9891 ac_cv_lib_X11_XkbQueryExtension
=no
9893 rm -f core conftest.err conftest.
$ac_objext \
9894 conftest
$ac_exeext conftest.
$ac_ext
9895 LIBS
=$ac_check_lib_save_LIBS
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9898 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9899 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9901 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9907 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9910 $as_echo_n "checking for -lXcursor... " >&6; }
9911 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9912 $as_echo_n "(cached) " >&6
9914 ac_check_soname_save_LIBS
=$LIBS
9915 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9917 /* end confdefs.h. */
9919 /* Override any GCC internal prototype to avoid an error.
9920 Use char because int might match the return type of a GCC
9921 builtin and then its argument prototype would still apply. */
9925 char XcursorImageLoadCursor ();
9929 return XcursorImageLoadCursor ();
9934 if ac_fn_c_try_link
"$LINENO"; then :
9936 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9937 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'` ;;
9938 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9939 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9940 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9944 rm -f core conftest.err conftest.
$ac_objext \
9945 conftest
$ac_exeext conftest.
$ac_ext
9946 LIBS
=$ac_check_soname_save_LIBS
9948 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9950 $as_echo "not found" >&6; }
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9954 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9956 cat >>confdefs.h
<<_ACEOF
9957 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9963 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9964 case "x$with_xcursor" in
9965 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9967 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9968 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9973 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9976 $as_echo_n "checking for -lXi... " >&6; }
9977 if ${ac_cv_lib_soname_Xi+:} false
; then :
9978 $as_echo_n "(cached) " >&6
9980 ac_check_soname_save_LIBS
=$LIBS
9981 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9983 /* end confdefs.h. */
9985 /* Override any GCC internal prototype to avoid an error.
9986 Use char because int might match the return type of a GCC
9987 builtin and then its argument prototype would still apply. */
9991 char XOpenDevice ();
9995 return XOpenDevice ();
10000 if ac_fn_c_try_link
"$LINENO"; then :
10002 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10003 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'` ;;
10004 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10005 if ${ac_cv_lib_soname_Xi:+false} :; then :
10006 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10010 rm -f core conftest.err conftest.
$ac_objext \
10011 conftest
$ac_exeext conftest.
$ac_ext
10012 LIBS
=$ac_check_soname_save_LIBS
10014 if ${ac_cv_lib_soname_Xi:+false} :; then :
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10016 $as_echo "not found" >&6; }
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10020 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10022 cat >>confdefs.h
<<_ACEOF
10023 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10029 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10030 case "x$with_xinput" in
10031 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10033 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10034 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10039 if test "x$ac_cv_lib_soname_Xi" != x
10041 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10042 case "x$with_xinput2" in
10043 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10045 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
10046 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10052 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10055 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10056 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
10057 $as_echo_n "(cached) " >&6
10059 ac_check_lib_save_LIBS
=$LIBS
10060 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10062 /* end confdefs.h. */
10064 /* Override any GCC internal prototype to avoid an error.
10065 Use char because int might match the return type of a GCC
10066 builtin and then its argument prototype would still apply. */
10070 char XShmQueryExtension ();
10074 return XShmQueryExtension ();
10079 if ac_fn_c_try_link
"$LINENO"; then :
10080 ac_cv_lib_Xext_XShmQueryExtension
=yes
10082 ac_cv_lib_Xext_XShmQueryExtension
=no
10084 rm -f core conftest.err conftest.
$ac_objext \
10085 conftest
$ac_exeext conftest.
$ac_ext
10086 LIBS
=$ac_check_lib_save_LIBS
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10089 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10090 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10092 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10097 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10098 case "x$with_xshm" in
10099 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10101 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10102 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10107 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10110 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10111 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10112 $as_echo_n "(cached) " >&6
10114 ac_check_lib_save_LIBS
=$LIBS
10115 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10117 /* end confdefs.h. */
10119 /* Override any GCC internal prototype to avoid an error.
10120 Use char because int might match the return type of a GCC
10121 builtin and then its argument prototype would still apply. */
10125 char XShapeQueryExtension ();
10129 return XShapeQueryExtension ();
10134 if ac_fn_c_try_link
"$LINENO"; then :
10135 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10137 ac_cv_lib_Xext_XShapeQueryExtension
=no
10139 rm -f core conftest.err conftest.
$ac_objext \
10140 conftest
$ac_exeext conftest.
$ac_ext
10141 LIBS
=$ac_check_lib_save_LIBS
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10144 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10145 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10147 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10152 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10153 case "x$with_xshape" in
10154 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10156 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10157 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10162 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10165 $as_echo_n "checking for -lXxf86vm... " >&6; }
10166 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10167 $as_echo_n "(cached) " >&6
10169 ac_check_soname_save_LIBS
=$LIBS
10170 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10172 /* end confdefs.h. */
10174 /* Override any GCC internal prototype to avoid an error.
10175 Use char because int might match the return type of a GCC
10176 builtin and then its argument prototype would still apply. */
10180 char XF86VidModeQueryExtension ();
10184 return XF86VidModeQueryExtension ();
10189 if ac_fn_c_try_link
"$LINENO"; then :
10191 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10192 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'` ;;
10193 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10194 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10195 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10199 rm -f core conftest.err conftest.
$ac_objext \
10200 conftest
$ac_exeext conftest.
$ac_ext
10201 LIBS
=$ac_check_soname_save_LIBS
10203 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10205 $as_echo "not found" >&6; }
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10209 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10211 cat >>confdefs.h
<<_ACEOF
10212 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10218 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10219 case "x$with_xxf86vm" in
10220 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10222 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10223 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10228 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10231 $as_echo_n "checking for -lXrender... " >&6; }
10232 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10233 $as_echo_n "(cached) " >&6
10235 ac_check_soname_save_LIBS
=$LIBS
10236 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10238 /* end confdefs.h. */
10240 /* Override any GCC internal prototype to avoid an error.
10241 Use char because int might match the return type of a GCC
10242 builtin and then its argument prototype would still apply. */
10246 char XRenderQueryExtension ();
10250 return XRenderQueryExtension ();
10255 if ac_fn_c_try_link
"$LINENO"; then :
10257 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10258 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'` ;;
10259 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10260 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10261 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10265 rm -f core conftest.err conftest.
$ac_objext \
10266 conftest
$ac_exeext conftest.
$ac_ext
10267 LIBS
=$ac_check_soname_save_LIBS
10269 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10271 $as_echo "not found" >&6; }
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10275 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10277 cat >>confdefs.h
<<_ACEOF
10278 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10282 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10283 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10284 $as_echo_n "(cached) " >&6
10286 ac_check_lib_save_LIBS
=$LIBS
10287 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10289 /* end confdefs.h. */
10291 /* Override any GCC internal prototype to avoid an error.
10292 Use char because int might match the return type of a GCC
10293 builtin and then its argument prototype would still apply. */
10297 char XRenderSetPictureTransform ();
10301 return XRenderSetPictureTransform ();
10306 if ac_fn_c_try_link
"$LINENO"; then :
10307 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10309 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10311 rm -f core conftest.err conftest.
$ac_objext \
10312 conftest
$ac_exeext conftest.
$ac_ext
10313 LIBS
=$ac_check_lib_save_LIBS
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10316 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10317 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10319 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10324 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10325 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10326 $as_echo_n "(cached) " >&6
10328 ac_check_lib_save_LIBS
=$LIBS
10329 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10331 /* end confdefs.h. */
10333 /* Override any GCC internal prototype to avoid an error.
10334 Use char because int might match the return type of a GCC
10335 builtin and then its argument prototype would still apply. */
10339 char XRenderCreateLinearGradient ();
10343 return XRenderCreateLinearGradient ();
10348 if ac_fn_c_try_link
"$LINENO"; then :
10349 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10351 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10353 rm -f core conftest.err conftest.
$ac_objext \
10354 conftest
$ac_exeext conftest.
$ac_ext
10355 LIBS
=$ac_check_lib_save_LIBS
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10358 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10359 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10361 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10368 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10369 case "x$with_xrender" in
10370 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10372 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10373 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10378 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10381 /* end confdefs.h. */
10382 #include <X11/Xlib.h>
10383 #include <X11/extensions/Xrandr.h>
10387 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10392 if ac_fn_c_try_compile
"$LINENO"; then :
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10394 $as_echo_n "checking for -lXrandr... " >&6; }
10395 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10396 $as_echo_n "(cached) " >&6
10398 ac_check_soname_save_LIBS
=$LIBS
10399 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10403 /* Override any GCC internal prototype to avoid an error.
10404 Use char because int might match the return type of a GCC
10405 builtin and then its argument prototype would still apply. */
10409 char XRRQueryExtension ();
10413 return XRRQueryExtension ();
10418 if ac_fn_c_try_link
"$LINENO"; then :
10420 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10421 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'` ;;
10422 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10423 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10424 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10428 rm -f core conftest.err conftest.
$ac_objext \
10429 conftest
$ac_exeext conftest.
$ac_ext
10430 LIBS
=$ac_check_soname_save_LIBS
10432 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10434 $as_echo "not found" >&6; }
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10438 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10440 cat >>confdefs.h
<<_ACEOF
10441 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10445 /* end confdefs.h. */
10446 #include <X11/Xlib.h>
10447 #include <X11/extensions/Xrandr.h>
10451 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10456 if ac_fn_c_try_compile
"$LINENO"; then :
10458 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10466 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10467 case "x$with_xrandr" in
10468 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10470 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10471 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10476 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h. */
10480 #include <X11/Xlib.h>
10481 #include <X11/extensions/Xinerama.h>
10485 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10490 if ac_fn_c_try_compile
"$LINENO"; then :
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10492 $as_echo_n "checking for -lXinerama... " >&6; }
10493 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10494 $as_echo_n "(cached) " >&6
10496 ac_check_soname_save_LIBS
=$LIBS
10497 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10499 /* end confdefs.h. */
10501 /* Override any GCC internal prototype to avoid an error.
10502 Use char because int might match the return type of a GCC
10503 builtin and then its argument prototype would still apply. */
10507 char XineramaQueryScreens ();
10511 return XineramaQueryScreens ();
10516 if ac_fn_c_try_link
"$LINENO"; then :
10518 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10519 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'` ;;
10520 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10521 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10522 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10526 rm -f core conftest.err conftest.
$ac_objext \
10527 conftest
$ac_exeext conftest.
$ac_ext
10528 LIBS
=$ac_check_soname_save_LIBS
10530 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10532 $as_echo "not found" >&6; }
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10536 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10538 cat >>confdefs.h
<<_ACEOF
10539 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10547 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10548 case "x$with_xinerama" in
10549 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10551 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10552 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10557 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10560 $as_echo_n "checking for -lXcomposite... " >&6; }
10561 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10562 $as_echo_n "(cached) " >&6
10564 ac_check_soname_save_LIBS
=$LIBS
10565 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10567 /* end confdefs.h. */
10569 /* Override any GCC internal prototype to avoid an error.
10570 Use char because int might match the return type of a GCC
10571 builtin and then its argument prototype would still apply. */
10575 char XCompositeRedirectWindow ();
10579 return XCompositeRedirectWindow ();
10584 if ac_fn_c_try_link
"$LINENO"; then :
10586 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10587 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'` ;;
10588 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10589 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10590 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10594 rm -f core conftest.err conftest.
$ac_objext \
10595 conftest
$ac_exeext conftest.
$ac_ext
10596 LIBS
=$ac_check_soname_save_LIBS
10598 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10600 $as_echo "not found" >&6; }
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10604 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10606 cat >>confdefs.h
<<_ACEOF
10607 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10613 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10614 case "x$with_xcomposite" in
10615 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10617 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10618 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10623 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10624 #include <X11/Xlib.h>
10627 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10629 cat >>confdefs.h
<<_ACEOF
10630 #define HAVE_XICCALLBACK_CALLBACK 1
10635 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10636 #include <X11/Xlib.h>
10639 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10641 cat >>confdefs.h
<<_ACEOF
10642 #define HAVE_XEVENT_XCOOKIE 1
10651 if test "x$with_opengl" != "xno"
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10654 $as_echo_n "checking for -lGL... " >&6; }
10655 if ${ac_cv_lib_soname_GL+:} false
; then :
10656 $as_echo_n "(cached) " >&6
10658 ac_check_soname_save_LIBS
=$LIBS
10659 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10661 /* end confdefs.h. */
10663 /* Override any GCC internal prototype to avoid an error.
10664 Use char because int might match the return type of a GCC
10665 builtin and then its argument prototype would still apply. */
10669 char glXCreateContext ();
10673 return glXCreateContext ();
10678 if ac_fn_c_try_link
"$LINENO"; then :
10680 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10681 dylib
) ac_cv_lib_soname_GL
=`$OTOOL -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10682 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10683 if ${ac_cv_lib_soname_GL:+false} :; then :
10684 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10688 rm -f core conftest.err conftest.
$ac_objext \
10689 conftest
$ac_exeext conftest.
$ac_ext
10690 LIBS
=$ac_check_soname_save_LIBS
10692 if ${ac_cv_lib_soname_GL:+false} :; then :
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10694 $as_echo "not found" >&6; }
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10696 $as_echo_n "checking for -lGL... " >&6; }
10697 if ${ac_cv_lib_soname_GL+:} false
; then :
10698 $as_echo_n "(cached) " >&6
10700 ac_check_soname_save_LIBS
=$LIBS
10701 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"
10702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10703 /* end confdefs.h. */
10705 /* Override any GCC internal prototype to avoid an error.
10706 Use char because int might match the return type of a GCC
10707 builtin and then its argument prototype would still apply. */
10711 char glXCreateContext ();
10715 return glXCreateContext ();
10720 if ac_fn_c_try_link
"$LINENO"; then :
10722 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10723 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'` ;;
10724 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10725 if ${ac_cv_lib_soname_GL:+false} :; then :
10726 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10730 rm -f core conftest.err conftest.
$ac_objext \
10731 conftest
$ac_exeext conftest.
$ac_ext
10732 LIBS
=$ac_check_soname_save_LIBS
10734 if ${ac_cv_lib_soname_GL:+false} :; then :
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10736 $as_echo "not found" >&6; }
10737 if test -f /usr
/X11R
6/lib
/libGL.a
10739 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10740 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10742 opengl_msg
="No OpenGL library found on this system."
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10746 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10748 cat >>confdefs.h
<<_ACEOF
10749 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10752 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"
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10756 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10758 cat >>confdefs.h
<<_ACEOF
10759 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10764 if test "x$with_glu" != "xno"
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10767 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10768 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10769 $as_echo_n "(cached) " >&6
10771 ac_check_lib_save_LIBS
=$LIBS
10772 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10774 /* end confdefs.h. */
10776 /* Override any GCC internal prototype to avoid an error.
10777 Use char because int might match the return type of a GCC
10778 builtin and then its argument prototype would still apply. */
10786 return gluLookAt ();
10791 if ac_fn_c_try_link
"$LINENO"; then :
10792 ac_cv_lib_GLU_gluLookAt
=yes
10794 ac_cv_lib_GLU_gluLookAt
=no
10796 rm -f core conftest.err conftest.
$ac_objext \
10797 conftest
$ac_exeext conftest.
$ac_ext
10798 LIBS
=$ac_check_lib_save_LIBS
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10801 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10802 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10806 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10807 case "x$with_glu" in
10808 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10810 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10811 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10817 if test "x$with_osmesa" != "xno"
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10820 $as_echo_n "checking for -lOSMesa... " >&6; }
10821 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10822 $as_echo_n "(cached) " >&6
10824 ac_check_soname_save_LIBS
=$LIBS
10825 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10827 /* end confdefs.h. */
10829 /* Override any GCC internal prototype to avoid an error.
10830 Use char because int might match the return type of a GCC
10831 builtin and then its argument prototype would still apply. */
10844 if ac_fn_c_try_link
"$LINENO"; then :
10846 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10847 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'` ;;
10848 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10849 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10850 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10854 rm -f core conftest.err conftest.
$ac_objext \
10855 conftest
$ac_exeext conftest.
$ac_ext
10856 LIBS
=$ac_check_soname_save_LIBS
10858 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10860 $as_echo "not found" >&6; }
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10864 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10866 cat >>confdefs.h
<<_ACEOF
10867 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10872 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10873 case "x$with_osmesa" in
10874 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10876 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10877 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10883 if test -n "$opengl_msg"; then :
10884 case "x$with_opengl" in
10885 x
) as_fn_append wine_warnings
"|$opengl_msg
10886 OpenGL and Direct3D won't be supported." ;;
10888 *) as_fn_error $?
"$opengl_msg
10889 OpenGL and Direct3D won't be supported.
10890 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10895 CPPFLAGS
="$ac_save_CPPFLAGS"
10900 if test "x$X_LIBS" = "x"; then :
10903 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10904 without X support, which probably isn't what you want. You will need
10905 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10906 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10908 enable_winex11_drv
=${enable_winex11_drv:-no}
10911 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10913 if test "$ac_cv_header_CL_cl_h" = "yes"
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10916 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10917 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10918 $as_echo_n "(cached) " >&6
10920 ac_check_lib_save_LIBS
=$LIBS
10921 LIBS
="-lOpenCL $LIBS"
10922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10923 /* end confdefs.h. */
10925 /* Override any GCC internal prototype to avoid an error.
10926 Use char because int might match the return type of a GCC
10927 builtin and then its argument prototype would still apply. */
10931 char clGetPlatformInfo ();
10935 return clGetPlatformInfo ();
10940 if ac_fn_c_try_link
"$LINENO"; then :
10941 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10943 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10945 rm -f core conftest.err conftest.
$ac_objext \
10946 conftest
$ac_exeext conftest.
$ac_ext
10947 LIBS
=$ac_check_lib_save_LIBS
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10950 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10951 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10952 OPENCL_LIBS
="-lOpenCL"
10957 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10958 case "x$with_opencl" in
10959 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10961 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10962 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10964 enable_opencl
=${enable_opencl:-no}
10967 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10970 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10971 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10972 $as_echo_n "(cached) " >&6
10974 ac_check_lib_save_LIBS
=$LIBS
10975 LIBS
="-lpcap $LIBS"
10976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10977 /* end confdefs.h. */
10979 /* Override any GCC internal prototype to avoid an error.
10980 Use char because int might match the return type of a GCC
10981 builtin and then its argument prototype would still apply. */
10985 char pcap_create ();
10989 return pcap_create ();
10994 if ac_fn_c_try_link
"$LINENO"; then :
10995 ac_cv_lib_pcap_pcap_create
=yes
10997 ac_cv_lib_pcap_pcap_create
=no
10999 rm -f core conftest.err conftest.
$ac_objext \
11000 conftest
$ac_exeext conftest.
$ac_ext
11001 LIBS
=$ac_check_lib_save_LIBS
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11004 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11005 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
11011 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
11012 case "x$with_pcap" in
11013 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11015 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
11016 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11018 enable_wpcap
=${enable_wpcap:-no}
11022 if test "x$with_xml" != "xno"
11024 if ${XML2_CFLAGS:+false} :; then :
11025 if ${PKG_CONFIG+:} false
; then :
11026 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11029 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11030 if ${XML2_LIBS:+false} :; then :
11031 if ${PKG_CONFIG+:} false
; then :
11032 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11035 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11036 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
11037 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11038 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11039 ac_save_CPPFLAGS
=$CPPFLAGS
11040 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
11041 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
11043 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11044 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11045 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11046 cat >>confdefs.h
<<_ACEOF
11047 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11054 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"
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11057 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11058 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
11059 $as_echo_n "(cached) " >&6
11061 ac_check_lib_save_LIBS
=$LIBS
11062 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11064 /* end confdefs.h. */
11066 /* Override any GCC internal prototype to avoid an error.
11067 Use char because int might match the return type of a GCC
11068 builtin and then its argument prototype would still apply. */
11072 char xmlParseMemory ();
11076 return xmlParseMemory ();
11081 if ac_fn_c_try_link
"$LINENO"; then :
11082 ac_cv_lib_xml2_xmlParseMemory
=yes
11084 ac_cv_lib_xml2_xmlParseMemory
=no
11086 rm -f core conftest.err conftest.
$ac_objext \
11087 conftest
$ac_exeext conftest.
$ac_ext
11088 LIBS
=$ac_check_lib_save_LIBS
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11091 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11092 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11094 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11101 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11102 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11103 $as_echo_n "(cached) " >&6
11105 ac_check_lib_save_LIBS
=$LIBS
11106 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11108 /* end confdefs.h. */
11110 /* Override any GCC internal prototype to avoid an error.
11111 Use char because int might match the return type of a GCC
11112 builtin and then its argument prototype would still apply. */
11116 char xmlReadMemory ();
11120 return xmlReadMemory ();
11125 if ac_fn_c_try_link
"$LINENO"; then :
11126 ac_cv_lib_xml2_xmlReadMemory
=yes
11128 ac_cv_lib_xml2_xmlReadMemory
=no
11130 rm -f core conftest.err conftest.
$ac_objext \
11131 conftest
$ac_exeext conftest.
$ac_ext
11132 LIBS
=$ac_check_lib_save_LIBS
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11135 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11136 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11138 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11143 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11144 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11145 $as_echo_n "(cached) " >&6
11147 ac_check_lib_save_LIBS
=$LIBS
11148 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11150 /* end confdefs.h. */
11152 /* Override any GCC internal prototype to avoid an error.
11153 Use char because int might match the return type of a GCC
11154 builtin and then its argument prototype would still apply. */
11158 char xmlNewDocPI ();
11162 return xmlNewDocPI ();
11167 if ac_fn_c_try_link
"$LINENO"; then :
11168 ac_cv_lib_xml2_xmlNewDocPI
=yes
11170 ac_cv_lib_xml2_xmlNewDocPI
=no
11172 rm -f core conftest.err conftest.
$ac_objext \
11173 conftest
$ac_exeext conftest.
$ac_ext
11174 LIBS
=$ac_check_lib_save_LIBS
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11177 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11178 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11180 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11185 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11186 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11187 $as_echo_n "(cached) " >&6
11189 ac_check_lib_save_LIBS
=$LIBS
11190 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h. */
11194 /* Override any GCC internal prototype to avoid an error.
11195 Use char because int might match the return type of a GCC
11196 builtin and then its argument prototype would still apply. */
11200 char xmlSchemaSetParserStructuredErrors ();
11204 return xmlSchemaSetParserStructuredErrors ();
11209 if ac_fn_c_try_link
"$LINENO"; then :
11210 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11212 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11214 rm -f core conftest.err conftest.
$ac_objext \
11215 conftest
$ac_exeext conftest.
$ac_ext
11216 LIBS
=$ac_check_lib_save_LIBS
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11219 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11220 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11222 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11227 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11228 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11229 $as_echo_n "(cached) " >&6
11231 ac_check_lib_save_LIBS
=$LIBS
11232 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11234 /* end confdefs.h. */
11236 /* Override any GCC internal prototype to avoid an error.
11237 Use char because int might match the return type of a GCC
11238 builtin and then its argument prototype would still apply. */
11242 char xmlSchemaSetValidStructuredErrors ();
11246 return xmlSchemaSetValidStructuredErrors ();
11251 if ac_fn_c_try_link
"$LINENO"; then :
11252 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11254 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11256 rm -f core conftest.err conftest.
$ac_objext \
11257 conftest
$ac_exeext conftest.
$ac_ext
11258 LIBS
=$ac_check_lib_save_LIBS
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11261 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11262 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11264 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11269 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11270 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11271 $as_echo_n "(cached) " >&6
11273 ac_check_lib_save_LIBS
=$LIBS
11274 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11276 /* end confdefs.h. */
11278 /* Override any GCC internal prototype to avoid an error.
11279 Use char because int might match the return type of a GCC
11280 builtin and then its argument prototype would still apply. */
11284 char xmlFirstElementChild ();
11288 return xmlFirstElementChild ();
11293 if ac_fn_c_try_link
"$LINENO"; then :
11294 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11296 ac_cv_lib_xml2_xmlFirstElementChild
=no
11298 rm -f core conftest.err conftest.
$ac_objext \
11299 conftest
$ac_exeext conftest.
$ac_ext
11300 LIBS
=$ac_check_lib_save_LIBS
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11303 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11304 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11306 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11310 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11312 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11314 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11322 CPPFLAGS
=$ac_save_CPPFLAGS
11323 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11324 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11327 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11328 case "x$with_xml" in
11329 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11331 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11332 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11337 if test "x$with_xslt" != "xno"
11339 if ${XSLT_CFLAGS:+false} :; then :
11340 if ${PKG_CONFIG+:} false
; then :
11341 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11344 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11345 if ${XSLT_LIBS:+false} :; then :
11346 if ${PKG_CONFIG+:} false
; then :
11347 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11350 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11351 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11352 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11353 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11354 ac_save_CPPFLAGS
=$CPPFLAGS
11355 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11356 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11358 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11359 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11360 # include <libxslt/pattern.h>
11363 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11364 cat >>confdefs.h
<<_ACEOF
11365 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11372 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11375 $as_echo_n "checking for -lxslt... " >&6; }
11376 if ${ac_cv_lib_soname_xslt+:} false
; then :
11377 $as_echo_n "(cached) " >&6
11379 ac_check_soname_save_LIBS
=$LIBS
11380 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11384 /* Override any GCC internal prototype to avoid an error.
11385 Use char because int might match the return type of a GCC
11386 builtin and then its argument prototype would still apply. */
11390 char xsltCompilePattern ();
11394 return xsltCompilePattern ();
11399 if ac_fn_c_try_link
"$LINENO"; then :
11401 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11402 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'` ;;
11403 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11404 if ${ac_cv_lib_soname_xslt:+false} :; then :
11405 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11409 rm -f core conftest.err conftest.
$ac_objext \
11410 conftest
$ac_exeext conftest.
$ac_ext
11411 LIBS
=$ac_check_soname_save_LIBS
11413 if ${ac_cv_lib_soname_xslt:+false} :; then :
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11415 $as_echo "not found" >&6; }
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11419 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11421 cat >>confdefs.h
<<_ACEOF
11422 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11430 CPPFLAGS
=$ac_save_CPPFLAGS
11431 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11432 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11435 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11436 case "x$with_xslt" in
11437 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11439 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11440 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11445 if test "x$with_dbus" != "xno"
11447 if ${DBUS_CFLAGS:+false} :; then :
11448 if ${PKG_CONFIG+:} false
; then :
11449 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11453 if ${DBUS_LIBS:+false} :; then :
11454 if ${PKG_CONFIG+:} false
; then :
11455 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11460 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11461 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11462 ac_save_CPPFLAGS
=$CPPFLAGS
11463 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11464 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11465 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11467 $as_echo_n "checking for -ldbus-1... " >&6; }
11468 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11469 $as_echo_n "(cached) " >&6
11471 ac_check_soname_save_LIBS
=$LIBS
11472 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11474 /* end confdefs.h. */
11476 /* Override any GCC internal prototype to avoid an error.
11477 Use char because int might match the return type of a GCC
11478 builtin and then its argument prototype would still apply. */
11482 char dbus_connection_close ();
11486 return dbus_connection_close ();
11491 if ac_fn_c_try_link
"$LINENO"; then :
11493 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11494 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'` ;;
11495 *) 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'`
11496 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11497 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11501 rm -f core conftest.err conftest.
$ac_objext \
11502 conftest
$ac_exeext conftest.
$ac_ext
11503 LIBS
=$ac_check_soname_save_LIBS
11505 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11507 $as_echo "not found" >&6; }
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11511 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11513 cat >>confdefs.h
<<_ACEOF
11514 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11524 CPPFLAGS
=$ac_save_CPPFLAGS
11525 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11526 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11529 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11530 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11531 case "x$with_dbus" in
11532 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11534 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11535 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11540 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11542 if ${HAL_CFLAGS:+false} :; then :
11543 if ${PKG_CONFIG+:} false
; then :
11544 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11548 if ${HAL_LIBS:+false} :; then :
11549 if ${PKG_CONFIG+:} false
; then :
11550 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11554 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11555 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11556 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11557 ac_save_CPPFLAGS
=$CPPFLAGS
11558 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11559 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11560 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11562 $as_echo_n "checking for -lhal... " >&6; }
11563 if ${ac_cv_lib_soname_hal+:} false
; then :
11564 $as_echo_n "(cached) " >&6
11566 ac_check_soname_save_LIBS
=$LIBS
11567 LIBS
="-lhal $HAL_LIBS $LIBS"
11568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11569 /* end confdefs.h. */
11571 /* Override any GCC internal prototype to avoid an error.
11572 Use char because int might match the return type of a GCC
11573 builtin and then its argument prototype would still apply. */
11577 char libhal_ctx_new ();
11581 return libhal_ctx_new ();
11586 if ac_fn_c_try_link
"$LINENO"; then :
11588 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11589 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'` ;;
11590 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11591 if ${ac_cv_lib_soname_hal:+false} :; then :
11592 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11596 rm -f core conftest.err conftest.
$ac_objext \
11597 conftest
$ac_exeext conftest.
$ac_ext
11598 LIBS
=$ac_check_soname_save_LIBS
11600 if ${ac_cv_lib_soname_hal:+false} :; then :
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11602 $as_echo "not found" >&6; }
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11606 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11608 cat >>confdefs.h
<<_ACEOF
11609 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11619 CPPFLAGS
=$ac_save_CPPFLAGS
11620 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11621 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11623 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11624 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11625 case "x$with_hal" in
11626 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11628 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11629 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11635 if test "x$with_gnutls" != "xno"
11637 if ${GNUTLS_CFLAGS:+false} :; then :
11638 if ${PKG_CONFIG+:} false
; then :
11639 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11643 if ${GNUTLS_LIBS:+false} :; then :
11644 if ${PKG_CONFIG+:} false
; then :
11645 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11650 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11651 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11652 ac_save_CPPFLAGS
=$CPPFLAGS
11653 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11654 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11655 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11657 /* end confdefs.h. */
11658 #include <gnutls/gnutls.h>
11659 #include <gnutls/crypto.h>
11663 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11668 if ac_fn_c_try_compile
"$LINENO"; then :
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11670 $as_echo_n "checking for -lgnutls... " >&6; }
11671 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11672 $as_echo_n "(cached) " >&6
11674 ac_check_soname_save_LIBS
=$LIBS
11675 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11677 /* end confdefs.h. */
11679 /* Override any GCC internal prototype to avoid an error.
11680 Use char because int might match the return type of a GCC
11681 builtin and then its argument prototype would still apply. */
11685 char gnutls_global_init ();
11689 return gnutls_global_init ();
11694 if ac_fn_c_try_link
"$LINENO"; then :
11696 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11697 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'` ;;
11698 *) 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'`
11699 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11700 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'`
11704 rm -f core conftest.err conftest.
$ac_objext \
11705 conftest
$ac_exeext conftest.
$ac_ext
11706 LIBS
=$ac_check_soname_save_LIBS
11708 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11710 $as_echo "not found" >&6; }
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11714 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11716 cat >>confdefs.h
<<_ACEOF
11717 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11722 ac_wine_check_funcs_save_LIBS
="$LIBS"
11723 LIBS
="$LIBS $GNUTLS_LIBS"
11724 for ac_func
in gnutls_hash
11726 ac_fn_c_check_func
"$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11727 if test "x$ac_cv_func_gnutls_hash" = xyes
; then :
11728 cat >>confdefs.h
<<_ACEOF
11729 #define HAVE_GNUTLS_HASH 1
11733 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11737 LIBS
="$ac_wine_check_funcs_save_LIBS"
11739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11745 CPPFLAGS
=$ac_save_CPPFLAGS
11746 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11747 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11750 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11751 case "x$with_gnutls" in
11752 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11754 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11755 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11761 if test "$ac_cv_header_ncurses_h" = "yes"
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11764 $as_echo_n "checking for -lncurses... " >&6; }
11765 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11766 $as_echo_n "(cached) " >&6
11768 ac_check_soname_save_LIBS
=$LIBS
11769 LIBS
="-lncurses $LIBS"
11770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11771 /* end confdefs.h. */
11773 /* Override any GCC internal prototype to avoid an error.
11774 Use char because int might match the return type of a GCC
11775 builtin and then its argument prototype would still apply. */
11788 if ac_fn_c_try_link
"$LINENO"; then :
11790 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11791 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'` ;;
11792 *) 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'`
11793 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11794 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11798 rm -f core conftest.err conftest.
$ac_objext \
11799 conftest
$ac_exeext conftest.
$ac_ext
11800 LIBS
=$ac_check_soname_save_LIBS
11802 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11804 $as_echo "not found" >&6; }
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11808 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11810 cat >>confdefs.h
<<_ACEOF
11811 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11814 CURSES_LIBS
="-lncurses"
11816 elif test "$ac_cv_header_curses_h" = "yes"
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11819 $as_echo_n "checking for -lcurses... " >&6; }
11820 if ${ac_cv_lib_soname_curses+:} false
; then :
11821 $as_echo_n "(cached) " >&6
11823 ac_check_soname_save_LIBS
=$LIBS
11824 LIBS
="-lcurses $LIBS"
11825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11826 /* end confdefs.h. */
11828 /* Override any GCC internal prototype to avoid an error.
11829 Use char because int might match the return type of a GCC
11830 builtin and then its argument prototype would still apply. */
11843 if ac_fn_c_try_link
"$LINENO"; then :
11845 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11846 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'` ;;
11847 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11848 if ${ac_cv_lib_soname_curses:+false} :; then :
11849 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11853 rm -f core conftest.err conftest.
$ac_objext \
11854 conftest
$ac_exeext conftest.
$ac_ext
11855 LIBS
=$ac_check_soname_save_LIBS
11857 if ${ac_cv_lib_soname_curses:+false} :; then :
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11859 $as_echo "not found" >&6; }
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11863 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11865 cat >>confdefs.h
<<_ACEOF
11866 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11869 CURSES_LIBS
="-lcurses"
11872 ac_save_LIBS
="$LIBS"
11873 LIBS
="$LIBS $CURSES_LIBS"
11874 for ac_func
in mousemask
11876 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11877 if test "x$ac_cv_func_mousemask" = xyes
; then :
11878 cat >>confdefs.h
<<_ACEOF
11879 #define HAVE_MOUSEMASK 1
11885 LIBS
="$ac_save_LIBS"
11886 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11887 case "x$with_curses" in
11888 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11890 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11891 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11896 if test "x$with_sane" != "xno"
11898 if ${SANE_CFLAGS:+false} :; then :
11899 if ${PKG_CONFIG+:} false
; then :
11900 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11903 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11904 if ${SANE_LIBS:+false} :; then :
11905 if ${PKG_CONFIG+:} false
; then :
11906 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11909 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11911 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11912 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11913 ac_save_CPPFLAGS
=$CPPFLAGS
11914 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11915 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11916 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11918 $as_echo_n "checking for -lsane... " >&6; }
11919 if ${ac_cv_lib_soname_sane+:} false
; then :
11920 $as_echo_n "(cached) " >&6
11922 ac_check_soname_save_LIBS
=$LIBS
11923 LIBS
="-lsane $SANE_LIBS $LIBS"
11924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11927 /* Override any GCC internal prototype to avoid an error.
11928 Use char because int might match the return type of a GCC
11929 builtin and then its argument prototype would still apply. */
11937 return sane_init ();
11942 if ac_fn_c_try_link
"$LINENO"; then :
11944 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11945 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'` ;;
11946 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11947 if ${ac_cv_lib_soname_sane:+false} :; then :
11948 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11952 rm -f core conftest.err conftest.
$ac_objext \
11953 conftest
$ac_exeext conftest.
$ac_ext
11954 LIBS
=$ac_check_soname_save_LIBS
11956 if ${ac_cv_lib_soname_sane:+false} :; then :
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11958 $as_echo "not found" >&6; }
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11962 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11964 cat >>confdefs.h
<<_ACEOF
11965 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11975 CPPFLAGS
=$ac_save_CPPFLAGS
11976 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11977 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11980 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11981 case "x$with_sane" in
11982 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11984 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11985 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11990 if test "x$with_v4l" != "xno"
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11993 $as_echo_n "checking for -lv4l1... " >&6; }
11994 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11995 $as_echo_n "(cached) " >&6
11997 ac_check_soname_save_LIBS
=$LIBS
11998 LIBS
="-lv4l1 $LIBS"
11999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12000 /* end confdefs.h. */
12002 /* Override any GCC internal prototype to avoid an error.
12003 Use char because int might match the return type of a GCC
12004 builtin and then its argument prototype would still apply. */
12012 return v4l1_open ();
12017 if ac_fn_c_try_link
"$LINENO"; then :
12019 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12020 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'` ;;
12021 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12022 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12023 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12027 rm -f core conftest.err conftest.
$ac_objext \
12028 conftest
$ac_exeext conftest.
$ac_ext
12029 LIBS
=$ac_check_soname_save_LIBS
12031 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12033 $as_echo "not found" >&6; }
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12037 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12039 cat >>confdefs.h
<<_ACEOF
12040 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12046 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12047 case "x$with_v4l" in
12048 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
12050 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
12051 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12056 if test "x$with_gphoto" != "xno"
12058 if ${GPHOTO2_CFLAGS:+false} :; then :
12059 if ${PKG_CONFIG+:} false
; then :
12060 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12063 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12064 if ${GPHOTO2_LIBS:+false} :; then :
12065 if ${PKG_CONFIG+:} false
; then :
12066 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12069 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12070 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
12071 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12072 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12073 ac_save_CPPFLAGS
=$CPPFLAGS
12074 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
12075 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12076 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12078 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12079 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
12080 $as_echo_n "(cached) " >&6
12082 ac_check_lib_save_LIBS
=$LIBS
12083 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12085 /* end confdefs.h. */
12087 /* Override any GCC internal prototype to avoid an error.
12088 Use char because int might match the return type of a GCC
12089 builtin and then its argument prototype would still apply. */
12093 char gp_camera_new ();
12097 return gp_camera_new ();
12102 if ac_fn_c_try_link
"$LINENO"; then :
12103 ac_cv_lib_gphoto2_gp_camera_new
=yes
12105 ac_cv_lib_gphoto2_gp_camera_new
=no
12107 rm -f core conftest.err conftest.
$ac_objext \
12108 conftest
$ac_exeext conftest.
$ac_ext
12109 LIBS
=$ac_check_lib_save_LIBS
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12112 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12113 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12115 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12118 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12122 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12126 CPPFLAGS
=$ac_save_CPPFLAGS
12127 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12128 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12130 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12131 if ${PKG_CONFIG+:} false
; then :
12132 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12135 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12136 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12137 if ${PKG_CONFIG+:} false
; then :
12138 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12141 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12142 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12143 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12144 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12145 ac_save_CPPFLAGS
=$CPPFLAGS
12146 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12147 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12148 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12150 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12151 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12152 $as_echo_n "(cached) " >&6
12154 ac_check_lib_save_LIBS
=$LIBS
12155 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12157 /* end confdefs.h. */
12159 /* Override any GCC internal prototype to avoid an error.
12160 Use char because int might match the return type of a GCC
12161 builtin and then its argument prototype would still apply. */
12165 char gp_port_info_list_new ();
12169 return gp_port_info_list_new ();
12174 if ac_fn_c_try_link
"$LINENO"; then :
12175 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12177 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12179 rm -f core conftest.err conftest.
$ac_objext \
12180 conftest
$ac_exeext conftest.
$ac_ext
12181 LIBS
=$ac_check_lib_save_LIBS
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12184 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12185 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12187 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12190 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12194 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12198 CPPFLAGS
=$ac_save_CPPFLAGS
12199 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12200 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12203 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12204 case "x$with_gphoto" in
12205 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12207 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12208 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12212 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12213 case "x$with_gphoto" in
12214 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12216 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12217 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12223 if test "$ac_cv_header_resolv_h" = "yes"
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12226 $as_echo_n "checking for resolver library... " >&6; }
12227 if ${ac_cv_have_resolv+:} false
; then :
12228 $as_echo_n "(cached) " >&6
12230 ac_save_LIBS
="$LIBS"
12231 for lib
in '' -lresolv
12233 LIBS
="$lib $ac_save_LIBS"
12234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12235 /* end confdefs.h. */
12236 #ifdef HAVE_NETINET_IN_H
12237 #include <netinet/in.h>
12239 #include <resolv.h>
12243 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12248 if ac_fn_c_try_link
"$LINENO"; then :
12249 ac_cv_have_resolv
=${lib:-"none required"}
12251 ac_cv_have_resolv
="not found"
12253 rm -f core conftest.err conftest.
$ac_objext \
12254 conftest
$ac_exeext conftest.
$ac_ext
12255 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12257 LIBS
="$ac_save_LIBS"
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12260 $as_echo "$ac_cv_have_resolv" >&6; }
12262 case "$ac_cv_have_resolv" in
12266 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12269 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12271 RESOLV_LIBS
=$ac_cv_have_resolv
12276 if test "x$with_cms" != "xno"
12278 if ${LCMS2_CFLAGS:+false} :; then :
12279 if ${PKG_CONFIG+:} false
; then :
12280 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12284 if ${LCMS2_LIBS:+false} :; then :
12285 if ${PKG_CONFIG+:} false
; then :
12286 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12290 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12291 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12292 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12293 ac_save_CPPFLAGS
=$CPPFLAGS
12294 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12295 for ac_header
in lcms2.h
12297 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12298 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12299 cat >>confdefs.h
<<_ACEOF
12300 #define HAVE_LCMS2_H 1
12307 if test "$ac_cv_header_lcms2_h" = "yes"
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12310 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12311 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12312 $as_echo_n "(cached) " >&6
12314 ac_check_lib_save_LIBS
=$LIBS
12315 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12317 /* end confdefs.h. */
12319 /* Override any GCC internal prototype to avoid an error.
12320 Use char because int might match the return type of a GCC
12321 builtin and then its argument prototype would still apply. */
12325 char cmsOpenProfileFromFile ();
12329 return cmsOpenProfileFromFile ();
12334 if ac_fn_c_try_link
"$LINENO"; then :
12335 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12337 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12339 rm -f core conftest.err conftest.
$ac_objext \
12340 conftest
$ac_exeext conftest.
$ac_ext
12341 LIBS
=$ac_check_lib_save_LIBS
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12344 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12345 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12347 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12357 CPPFLAGS
=$ac_save_CPPFLAGS
12358 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12359 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12362 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12363 case "x$with_cms" in
12364 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12366 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12367 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12372 if test "x$with_freetype" != "xno"
12374 if ${FREETYPE_CFLAGS:+false} :; then :
12375 if ${PKG_CONFIG+:} false
; then :
12376 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12379 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12380 if ${FREETYPE_LIBS:+false} :; then :
12381 if ${PKG_CONFIG+:} false
; then :
12382 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12385 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12386 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12387 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12388 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12389 ac_save_CPPFLAGS
=$CPPFLAGS
12390 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12391 for ac_header
in ft2build.h
12393 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12394 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12395 cat >>confdefs.h
<<_ACEOF
12396 #define HAVE_FT2BUILD_H 1
12403 if test "$ac_cv_header_ft2build_h" = "yes"
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12406 $as_echo_n "checking for -lfreetype... " >&6; }
12407 if ${ac_cv_lib_soname_freetype+:} false
; then :
12408 $as_echo_n "(cached) " >&6
12410 ac_check_soname_save_LIBS
=$LIBS
12411 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12413 /* end confdefs.h. */
12415 /* Override any GCC internal prototype to avoid an error.
12416 Use char because int might match the return type of a GCC
12417 builtin and then its argument prototype would still apply. */
12421 char FT_Init_FreeType ();
12425 return FT_Init_FreeType ();
12430 if ac_fn_c_try_link
"$LINENO"; then :
12432 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12433 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'` ;;
12434 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12435 if ${ac_cv_lib_soname_freetype:+false} :; then :
12436 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12440 rm -f core conftest.err conftest.
$ac_objext \
12441 conftest
$ac_exeext conftest.
$ac_ext
12442 LIBS
=$ac_check_soname_save_LIBS
12444 if ${ac_cv_lib_soname_freetype:+false} :; then :
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12446 $as_echo "not found" >&6; }
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12450 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12452 cat >>confdefs.h
<<_ACEOF
12453 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12457 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12459 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12460 #include FT_MODULE_H
12462 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12464 cat >>confdefs.h
<<_ACEOF
12465 #define HAVE_FT_TRUETYPEENGINETYPE 1
12476 CPPFLAGS
=$ac_save_CPPFLAGS
12477 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12478 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12481 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12482 case "x$with_freetype" in
12484 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12485 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12487 enable_fonts
=${enable_fonts:-no}
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12491 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12492 if ${ac_cv_c_ppdev+:} false
; then :
12493 $as_echo_n "(cached) " >&6
12495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12496 /* end confdefs.h. */
12497 #ifdef HAVE_SYS_IOCTL_H
12498 # include <sys/ioctl.h>
12500 #include <linux/ppdev.h>
12504 ioctl (1,PPCLAIM,0)
12509 if ac_fn_c_try_compile
"$LINENO"; then :
12510 ac_cv_c_ppdev
="yes"
12514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12517 $as_echo "$ac_cv_c_ppdev" >&6; }
12518 if test "$ac_cv_c_ppdev" = "yes"
12521 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12525 ac_wine_check_funcs_save_LIBS
="$LIBS"
12526 LIBS
="$LIBS $PTHREAD_LIBS"
12528 pthread_attr_get_np \
12529 pthread_getattr_np \
12530 pthread_getthreadid_np \
12531 pthread_get_stackaddr_np \
12532 pthread_get_stacksize_np
12534 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12535 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12536 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12537 cat >>confdefs.h
<<_ACEOF
12538 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12544 LIBS
="$ac_wine_check_funcs_save_LIBS"
12546 if test "$ac_cv_header_zlib_h" = "yes"
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12549 $as_echo_n "checking for inflate in -lz... " >&6; }
12550 if ${ac_cv_lib_z_inflate+:} false
; then :
12551 $as_echo_n "(cached) " >&6
12553 ac_check_lib_save_LIBS
=$LIBS
12555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12556 /* end confdefs.h. */
12558 /* Override any GCC internal prototype to avoid an error.
12559 Use char because int might match the return type of a GCC
12560 builtin and then its argument prototype would still apply. */
12573 if ac_fn_c_try_link
"$LINENO"; then :
12574 ac_cv_lib_z_inflate
=yes
12576 ac_cv_lib_z_inflate
=no
12578 rm -f core conftest.err conftest.
$ac_objext \
12579 conftest
$ac_exeext conftest.
$ac_ext
12580 LIBS
=$ac_check_lib_save_LIBS
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12583 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12584 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12586 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12593 if test "x$Z_LIBS" = "x"; then :
12594 case "x$with_zlib" in
12595 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12597 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12598 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12603 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
12605 if test "$ac_cv_header_gettext_po_h" = "yes"
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12608 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12609 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12610 $as_echo_n "(cached) " >&6
12612 ac_check_lib_save_LIBS
=$LIBS
12613 LIBS
="-lgettextpo $LIBS"
12614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12615 /* end confdefs.h. */
12617 /* Override any GCC internal prototype to avoid an error.
12618 Use char because int might match the return type of a GCC
12619 builtin and then its argument prototype would still apply. */
12623 char po_message_msgctxt ();
12627 return po_message_msgctxt ();
12632 if ac_fn_c_try_link
"$LINENO"; then :
12633 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12635 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12637 rm -f core conftest.err conftest.
$ac_objext \
12638 conftest
$ac_exeext conftest.
$ac_ext
12639 LIBS
=$ac_check_lib_save_LIBS
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12642 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12643 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12645 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12647 GETTEXTPO_LIBS
="-lgettextpo"
12652 if test "x$GETTEXTPO_LIBS" = "x"; then :
12653 case "x$with_gettextpo" in
12654 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12656 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12657 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12661 if test "$srcdir" != .
; then :
12662 case "x$with_gettextpo" in
12663 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
12665 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
12666 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12672 if test "x$with_pulse" != "xno";
12674 if ${PULSE_CFLAGS:+false} :; then :
12675 if ${PKG_CONFIG+:} false
; then :
12676 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12680 if ${PULSE_LIBS:+false} :; then :
12681 if ${PKG_CONFIG+:} false
; then :
12682 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12687 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12688 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12689 ac_save_CPPFLAGS
=$CPPFLAGS
12690 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12691 for ac_header
in pulse
/pulseaudio.h
12693 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12694 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12695 cat >>confdefs.h
<<_ACEOF
12696 #define HAVE_PULSE_PULSEAUDIO_H 1
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12699 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12700 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12701 $as_echo_n "(cached) " >&6
12703 ac_check_lib_save_LIBS
=$LIBS
12704 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12706 /* end confdefs.h. */
12708 /* Override any GCC internal prototype to avoid an error.
12709 Use char because int might match the return type of a GCC
12710 builtin and then its argument prototype would still apply. */
12714 char pa_stream_is_corked ();
12718 return pa_stream_is_corked ();
12723 if ac_fn_c_try_link
"$LINENO"; then :
12724 ac_cv_lib_pulse_pa_stream_is_corked
=yes
12726 ac_cv_lib_pulse_pa_stream_is_corked
=no
12728 rm -f core conftest.err conftest.
$ac_objext \
12729 conftest
$ac_exeext conftest.
$ac_ext
12730 LIBS
=$ac_check_lib_save_LIBS
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12733 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12734 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
12746 CPPFLAGS
=$ac_save_CPPFLAGS
12747 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12748 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12751 if test -z "$PULSE_LIBS"; then :
12752 case "x$with_pulse" in
12753 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12755 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12756 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12758 enable_winepulse_drv
=${enable_winepulse_drv:-no}
12761 if test "x$with_gstreamer" != "xno"
12763 if ${GSTREAMER_CFLAGS:+false} :; then :
12764 if ${PKG_CONFIG+:} false
; then :
12765 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12769 if ${GSTREAMER_LIBS:+false} :; then :
12770 if ${PKG_CONFIG+:} false
; then :
12771 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12776 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12777 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12778 ac_save_CPPFLAGS
=$CPPFLAGS
12779 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12781 for i
in $GSTREAMER_CFLAGS
12784 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12787 GSTREAMER_CFLAGS
=$ac_gst_incl
12788 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12789 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12790 if test "x$ac_cv_header_gst_gst_h" = xyes
; then :
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12792 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12794 /* end confdefs.h. */
12795 #include <gst/gst.h>
12799 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12804 if ac_fn_c_try_compile
"$LINENO"; then :
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12806 $as_echo "yes" >&6; }
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12808 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12809 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false
; then :
12810 $as_echo_n "(cached) " >&6
12812 ac_check_lib_save_LIBS
=$LIBS
12813 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12815 /* end confdefs.h. */
12817 /* Override any GCC internal prototype to avoid an error.
12818 Use char because int might match the return type of a GCC
12819 builtin and then its argument prototype would still apply. */
12823 char gst_pad_new ();
12827 return gst_pad_new ();
12832 if ac_fn_c_try_link
"$LINENO"; then :
12833 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
12835 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
12837 rm -f core conftest.err conftest.
$ac_objext \
12838 conftest
$ac_exeext conftest.
$ac_ext
12839 LIBS
=$ac_check_lib_save_LIBS
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12842 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12843 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
; then :
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12849 $as_echo "no" >&6; }
12850 ac_glib2_broken
=yes
12851 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12857 CPPFLAGS
=$ac_save_CPPFLAGS
12858 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12859 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12862 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 :
12863 case "x$with_gstreamer" in
12864 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12866 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12867 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12871 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12875 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12878 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12879 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12880 $as_echo_n "(cached) " >&6
12882 ac_check_lib_save_LIBS
=$LIBS
12883 LIBS
="-lasound $LIBS"
12884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12885 /* end confdefs.h. */
12887 /* Override any GCC internal prototype to avoid an error.
12888 Use char because int might match the return type of a GCC
12889 builtin and then its argument prototype would still apply. */
12893 char snd_pcm_hw_params_get_access_mask ();
12897 return snd_pcm_hw_params_get_access_mask ();
12902 if ac_fn_c_try_link
"$LINENO"; then :
12903 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12905 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12907 rm -f core conftest.err conftest.
$ac_objext \
12908 conftest
$ac_exeext conftest.
$ac_ext
12909 LIBS
=$ac_check_lib_save_LIBS
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12912 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12913 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12915 /* end confdefs.h. */
12916 #ifdef HAVE_ALSA_ASOUNDLIB_H
12917 #include <alsa/asoundlib.h>
12918 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12919 #include <sys/asoundlib.h>
12924 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12929 if ac_fn_c_try_compile
"$LINENO"; then :
12930 ALSA_LIBS
="-lasound"
12932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12936 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12938 if test "x$with_oss" != xno
12940 ac_save_CPPFLAGS
="$CPPFLAGS"
12941 if test -f /etc
/oss.conf
12945 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12946 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12947 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12948 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12949 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12951 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12953 cat >>confdefs.h
<<_ACEOF
12954 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12957 OSS4_CFLAGS
="$ac_oss_incl"
12964 CPPFLAGS
="$ac_save_CPPFLAGS"
12966 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
; then :
12967 case "x$with_oss" in
12968 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12970 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12971 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12973 enable_wineoss_drv
=${enable_wineoss_drv:-no}
12976 if test "x$with_udev" != "xno"
12978 if ${UDEV_CFLAGS:+false} :; then :
12979 if ${PKG_CONFIG+:} false
; then :
12980 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12984 if ${UDEV_LIBS:+false} :; then :
12985 if ${PKG_CONFIG+:} false
; then :
12986 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
12991 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12992 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12993 ac_save_CPPFLAGS
=$CPPFLAGS
12994 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
12995 for ac_header
in libudev.h
12997 ac_fn_c_check_header_mongrel
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12998 if test "x$ac_cv_header_libudev_h" = xyes
; then :
12999 cat >>confdefs.h
<<_ACEOF
13000 #define HAVE_LIBUDEV_H 1
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13003 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13004 if ${ac_cv_lib_udev_udev_new+:} false
; then :
13005 $as_echo_n "(cached) " >&6
13007 ac_check_lib_save_LIBS
=$LIBS
13008 LIBS
="-ludev $UDEV_LIBS $LIBS"
13009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13010 /* end confdefs.h. */
13012 /* Override any GCC internal prototype to avoid an error.
13013 Use char because int might match the return type of a GCC
13014 builtin and then its argument prototype would still apply. */
13022 return udev_new ();
13027 if ac_fn_c_try_link
"$LINENO"; then :
13028 ac_cv_lib_udev_udev_new
=yes
13030 ac_cv_lib_udev_udev_new
=no
13032 rm -f core conftest.err conftest.
$ac_objext \
13033 conftest
$ac_exeext conftest.
$ac_ext
13034 LIBS
=$ac_check_lib_save_LIBS
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13037 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13038 if test "x$ac_cv_lib_udev_udev_new" = xyes
; then :
13040 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13052 CPPFLAGS
=$ac_save_CPPFLAGS
13053 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS
=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13054 test -z "$UDEV_LIBS" || UDEV_LIBS
=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13057 if test "x$UDEV_LIBS" = "x"; then :
13058 case "x$with_udev" in
13059 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13061 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
13062 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13067 if test "x$with_capi" != "xno"
13069 if ${CAPI20_CFLAGS:+false} :; then :
13070 if ${PKG_CONFIG+:} false
; then :
13071 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13075 if ${CAPI20_LIBS:+false} :; then :
13076 if ${PKG_CONFIG+:} false
; then :
13077 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
13082 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13083 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13084 ac_save_CPPFLAGS
=$CPPFLAGS
13085 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
13086 for ac_header
in capi20.h linux
/capi.h
13088 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13089 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13091 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13092 cat >>confdefs.h
<<_ACEOF
13093 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13100 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13103 $as_echo_n "checking for -lcapi20... " >&6; }
13104 if ${ac_cv_lib_soname_capi20+:} false
; then :
13105 $as_echo_n "(cached) " >&6
13107 ac_check_soname_save_LIBS
=$LIBS
13108 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
13109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13110 /* end confdefs.h. */
13112 /* Override any GCC internal prototype to avoid an error.
13113 Use char because int might match the return type of a GCC
13114 builtin and then its argument prototype would still apply. */
13118 char capi20_register ();
13122 return capi20_register ();
13127 if ac_fn_c_try_link
"$LINENO"; then :
13129 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13130 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'` ;;
13131 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13132 if ${ac_cv_lib_soname_capi20:+false} :; then :
13133 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13137 rm -f core conftest.err conftest.
$ac_objext \
13138 conftest
$ac_exeext conftest.
$ac_ext
13139 LIBS
=$ac_check_soname_save_LIBS
13141 if ${ac_cv_lib_soname_capi20:+false} :; then :
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13143 $as_echo "not found" >&6; }
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13147 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13149 cat >>confdefs.h
<<_ACEOF
13150 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13156 CPPFLAGS
=$ac_save_CPPFLAGS
13157 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13158 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13161 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13162 case "x$with_capi" in
13163 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13165 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13166 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13173 if test "x$with_cups" != "xno"
13175 ac_save_CPPFLAGS
="$CPPFLAGS"
13176 ac_cups_cflags
=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13177 ac_cups_libs
=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13178 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
13179 for ac_header
in cups
/cups.h
13181 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13182 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
13183 cat >>confdefs.h
<<_ACEOF
13184 #define HAVE_CUPS_CUPS_H 1
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13187 $as_echo_n "checking for -lcups... " >&6; }
13188 if ${ac_cv_lib_soname_cups+:} false
; then :
13189 $as_echo_n "(cached) " >&6
13191 ac_check_soname_save_LIBS
=$LIBS
13192 LIBS
="-lcups $ac_cups_libs $LIBS"
13193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13194 /* end confdefs.h. */
13196 /* Override any GCC internal prototype to avoid an error.
13197 Use char because int might match the return type of a GCC
13198 builtin and then its argument prototype would still apply. */
13202 char cupsGetDefault ();
13206 return cupsGetDefault ();
13211 if ac_fn_c_try_link
"$LINENO"; then :
13213 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13214 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'` ;;
13215 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13216 if ${ac_cv_lib_soname_cups:+false} :; then :
13217 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13221 rm -f core conftest.err conftest.
$ac_objext \
13222 conftest
$ac_exeext conftest.
$ac_ext
13223 LIBS
=$ac_check_soname_save_LIBS
13225 if ${ac_cv_lib_soname_cups:+false} :; then :
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13227 $as_echo "not found" >&6; }
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13231 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13233 cat >>confdefs.h
<<_ACEOF
13234 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13237 CUPS_CFLAGS
="$ac_cups_cflags"
13239 for ac_header
in cups
/ppd.h
13241 ac_fn_c_check_header_mongrel
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13242 if test "x$ac_cv_header_cups_ppd_h" = xyes
; then :
13243 cat >>confdefs.h
<<_ACEOF
13244 #define HAVE_CUPS_PPD_H 1
13255 CPPFLAGS
="$ac_save_CPPFLAGS"
13257 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13258 case "x$with_cups" in
13259 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13261 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13262 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13267 if test "x$with_fontconfig" != "xno"
13269 if ${FONTCONFIG_CFLAGS:+false} :; then :
13270 if ${PKG_CONFIG+:} false
; then :
13271 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13274 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13275 if ${FONTCONFIG_LIBS:+false} :; then :
13276 if ${PKG_CONFIG+:} false
; then :
13277 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13280 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13282 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13283 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13284 ac_save_CPPFLAGS
=$CPPFLAGS
13285 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13286 for ac_header
in fontconfig
/fontconfig.h
13288 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13289 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13290 cat >>confdefs.h
<<_ACEOF
13291 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13298 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13301 $as_echo_n "checking for -lfontconfig... " >&6; }
13302 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13303 $as_echo_n "(cached) " >&6
13305 ac_check_soname_save_LIBS
=$LIBS
13306 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13308 /* end confdefs.h. */
13310 /* Override any GCC internal prototype to avoid an error.
13311 Use char because int might match the return type of a GCC
13312 builtin and then its argument prototype would still apply. */
13325 if ac_fn_c_try_link
"$LINENO"; then :
13327 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13328 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'` ;;
13329 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13330 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13331 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13335 rm -f core conftest.err conftest.
$ac_objext \
13336 conftest
$ac_exeext conftest.
$ac_ext
13337 LIBS
=$ac_check_soname_save_LIBS
13339 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13341 $as_echo "not found" >&6; }
13342 FONTCONFIG_CFLAGS
=""
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13345 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13347 cat >>confdefs.h
<<_ACEOF
13348 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13354 FONTCONFIG_CFLAGS
=""
13356 CPPFLAGS
=$ac_save_CPPFLAGS
13357 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13358 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13361 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13362 case "x$with_fontconfig" in
13363 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13365 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13366 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13371 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13374 $as_echo_n "checking for -lgsm... " >&6; }
13375 if ${ac_cv_lib_soname_gsm+:} false
; then :
13376 $as_echo_n "(cached) " >&6
13378 ac_check_soname_save_LIBS
=$LIBS
13380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13381 /* end confdefs.h. */
13383 /* Override any GCC internal prototype to avoid an error.
13384 Use char because int might match the return type of a GCC
13385 builtin and then its argument prototype would still apply. */
13389 char gsm_create ();
13393 return gsm_create ();
13398 if ac_fn_c_try_link
"$LINENO"; then :
13400 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13401 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'` ;;
13402 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13403 if ${ac_cv_lib_soname_gsm:+false} :; then :
13404 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13408 rm -f core conftest.err conftest.
$ac_objext \
13409 conftest
$ac_exeext conftest.
$ac_ext
13410 LIBS
=$ac_check_soname_save_LIBS
13412 if ${ac_cv_lib_soname_gsm:+false} :; then :
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13414 $as_echo "not found" >&6; }
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13418 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13420 cat >>confdefs.h
<<_ACEOF
13421 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13427 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13428 case "x$with_gsm" in
13429 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13431 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13432 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13437 if test "x$with_jpeg" != "xno"
13439 if ${JPEG_CFLAGS:+false} :; then :
13440 if ${PKG_CONFIG+:} false
; then :
13441 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13445 if ${JPEG_LIBS:+false} :; then :
13446 if ${PKG_CONFIG+:} false
; then :
13447 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13452 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13453 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13454 ac_save_CPPFLAGS
=$CPPFLAGS
13455 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13456 for ac_header
in jpeglib.h
13458 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13459 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13460 cat >>confdefs.h
<<_ACEOF
13461 #define HAVE_JPEGLIB_H 1
13468 if test "$ac_cv_header_jpeglib_h" = "yes"
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13471 $as_echo_n "checking for -ljpeg... " >&6; }
13472 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13473 $as_echo_n "(cached) " >&6
13475 ac_check_soname_save_LIBS
=$LIBS
13476 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13478 /* end confdefs.h. */
13480 /* Override any GCC internal prototype to avoid an error.
13481 Use char because int might match the return type of a GCC
13482 builtin and then its argument prototype would still apply. */
13486 char jpeg_start_decompress ();
13490 return jpeg_start_decompress ();
13495 if ac_fn_c_try_link
"$LINENO"; then :
13497 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13498 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'` ;;
13499 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13500 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13501 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13505 rm -f core conftest.err conftest.
$ac_objext \
13506 conftest
$ac_exeext conftest.
$ac_ext
13507 LIBS
=$ac_check_soname_save_LIBS
13509 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13511 $as_echo "not found" >&6; }
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13515 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13517 cat >>confdefs.h
<<_ACEOF
13518 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13526 CPPFLAGS
=$ac_save_CPPFLAGS
13527 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13528 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13531 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13532 case "x$with_jpeg" in
13533 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13535 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13536 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13541 if test "x$with_png" != "xno"
13543 if ${PNG_CFLAGS:+false} :; then :
13544 if ${PKG_CONFIG+:} false
; then :
13545 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13548 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13549 if ${PNG_LIBS:+false} :; then :
13550 if ${PKG_CONFIG+:} false
; then :
13551 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13554 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13556 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13557 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13558 ac_save_CPPFLAGS
=$CPPFLAGS
13559 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13560 for ac_header
in png.h
13562 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13563 if test "x$ac_cv_header_png_h" = xyes
; then :
13564 cat >>confdefs.h
<<_ACEOF
13565 #define HAVE_PNG_H 1
13572 if test "$ac_cv_header_png_h" = "yes"
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13575 $as_echo_n "checking for -lpng... " >&6; }
13576 if ${ac_cv_lib_soname_png+:} false
; then :
13577 $as_echo_n "(cached) " >&6
13579 ac_check_soname_save_LIBS
=$LIBS
13580 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13582 /* end confdefs.h. */
13584 /* Override any GCC internal prototype to avoid an error.
13585 Use char because int might match the return type of a GCC
13586 builtin and then its argument prototype would still apply. */
13590 char png_create_read_struct ();
13594 return png_create_read_struct ();
13599 if ac_fn_c_try_link
"$LINENO"; then :
13601 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13602 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'` ;;
13603 *) 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'`
13604 if ${ac_cv_lib_soname_png:+false} :; then :
13605 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13609 rm -f core conftest.err conftest.
$ac_objext \
13610 conftest
$ac_exeext conftest.
$ac_ext
13611 LIBS
=$ac_check_soname_save_LIBS
13613 if ${ac_cv_lib_soname_png:+false} :; then :
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13615 $as_echo "not found" >&6; }
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13619 $as_echo "$ac_cv_lib_soname_png" >&6; }
13621 cat >>confdefs.h
<<_ACEOF
13622 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13631 typeof(png_set_expand_gray_1_2_4_to_8) *p
13636 if ac_fn_c_try_compile
"$LINENO"; then :
13638 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13646 CPPFLAGS
=$ac_save_CPPFLAGS
13647 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13648 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13651 if test "x$ac_cv_lib_soname_png" = "x"; then :
13652 case "x$with_png" in
13653 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13655 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13656 This is an error since --with-png was requested." "$LINENO" 5 ;;
13661 if test "x$with_tiff" != "xno"
13663 if ${TIFF_CFLAGS:+false} :; then :
13664 if ${PKG_CONFIG+:} false
; then :
13665 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13669 if ${TIFF_LIBS:+false} :; then :
13670 if ${PKG_CONFIG+:} false
; then :
13671 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13676 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13677 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13678 ac_save_CPPFLAGS
=$CPPFLAGS
13679 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13680 for ac_header
in tiffio.h
13682 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13683 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13684 cat >>confdefs.h
<<_ACEOF
13685 #define HAVE_TIFFIO_H 1
13692 if test "$ac_cv_header_tiffio_h" = "yes"
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13695 $as_echo_n "checking for -ltiff... " >&6; }
13696 if ${ac_cv_lib_soname_tiff+:} false
; then :
13697 $as_echo_n "(cached) " >&6
13699 ac_check_soname_save_LIBS
=$LIBS
13700 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13702 /* end confdefs.h. */
13704 /* Override any GCC internal prototype to avoid an error.
13705 Use char because int might match the return type of a GCC
13706 builtin and then its argument prototype would still apply. */
13710 char TIFFClientOpen ();
13714 return TIFFClientOpen ();
13719 if ac_fn_c_try_link
"$LINENO"; then :
13721 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13722 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'` ;;
13723 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13724 if ${ac_cv_lib_soname_tiff:+false} :; then :
13725 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13729 rm -f core conftest.err conftest.
$ac_objext \
13730 conftest
$ac_exeext conftest.
$ac_ext
13731 LIBS
=$ac_check_soname_save_LIBS
13733 if ${ac_cv_lib_soname_tiff:+false} :; then :
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13735 $as_echo "not found" >&6; }
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13739 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13741 cat >>confdefs.h
<<_ACEOF
13742 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13748 CPPFLAGS
=$ac_save_CPPFLAGS
13749 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13750 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13753 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13754 case "x$with_tiff" in
13755 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13757 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13758 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13763 if test "x$with_mpg123" != "xno"
13765 if ${MPG123_CFLAGS:+false} :; then :
13766 if ${PKG_CONFIG+:} false
; then :
13767 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13771 if ${MPG123_LIBS:+false} :; then :
13772 if ${PKG_CONFIG+:} false
; then :
13773 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13777 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13778 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13779 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13780 ac_save_CPPFLAGS
=$CPPFLAGS
13781 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13782 for ac_header
in mpg123.h
13784 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13785 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13786 cat >>confdefs.h
<<_ACEOF
13787 #define HAVE_MPG123_H 1
13794 if test "$ac_cv_header_mpg123_h" = "yes"
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13797 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13798 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13799 $as_echo_n "(cached) " >&6
13801 ac_check_lib_save_LIBS
=$LIBS
13802 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13804 /* end confdefs.h. */
13806 /* Override any GCC internal prototype to avoid an error.
13807 Use char because int might match the return type of a GCC
13808 builtin and then its argument prototype would still apply. */
13812 char mpg123_feed ();
13816 return mpg123_feed ();
13821 if ac_fn_c_try_link
"$LINENO"; then :
13822 ac_cv_lib_mpg123_mpg123_feed
=yes
13824 ac_cv_lib_mpg123_mpg123_feed
=no
13826 rm -f core conftest.err conftest.
$ac_objext \
13827 conftest
$ac_exeext conftest.
$ac_ext
13828 LIBS
=$ac_check_lib_save_LIBS
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13831 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13832 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13842 CPPFLAGS
=$ac_save_CPPFLAGS
13843 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13844 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13847 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13848 case "x$with_mpg123" in
13849 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13851 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13852 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13854 enable_winemp3_acm
=${enable_winemp3_acm:-no}
13857 if test "$ac_cv_header_AL_al_h" = "yes"
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13860 $as_echo_n "checking for -lopenal... " >&6; }
13861 if ${ac_cv_lib_soname_openal+:} false
; then :
13862 $as_echo_n "(cached) " >&6
13864 ac_check_soname_save_LIBS
=$LIBS
13865 LIBS
="-lopenal $LIBS"
13866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13867 /* end confdefs.h. */
13869 /* Override any GCC internal prototype to avoid an error.
13870 Use char because int might match the return type of a GCC
13871 builtin and then its argument prototype would still apply. */
13875 char alGetSource3i ();
13879 return alGetSource3i ();
13884 if ac_fn_c_try_link
"$LINENO"; then :
13886 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13887 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'` ;;
13888 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13889 if ${ac_cv_lib_soname_openal:+false} :; then :
13890 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13894 rm -f core conftest.err conftest.
$ac_objext \
13895 conftest
$ac_exeext conftest.
$ac_ext
13896 LIBS
=$ac_check_soname_save_LIBS
13898 if ${ac_cv_lib_soname_openal:+false} :; then :
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13900 $as_echo "not found" >&6; }
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13904 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13906 cat >>confdefs.h
<<_ACEOF
13907 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13910 OPENAL_LIBS
="-lopenal"
13912 ac_cv_lib_openal
=yes
13914 cat >>confdefs.h
<<_ACEOF
13915 #define HAVE_OPENAL 1
13920 if test "x$ac_cv_lib_openal" != xyes
; then :
13921 case "x$with_openal" in
13922 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13924 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13925 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13927 enable_openal32
=${enable_openal32:-no}
13930 if test "x$ac_cv_lib_openal" = xyes
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13933 $as_echo_n "checking for openal-soft... " >&6; }
13934 if ${ac_cv_have_openalsoft+:} false
; then :
13935 $as_echo_n "(cached) " >&6
13937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13938 /* end confdefs.h. */
13940 #include <AL/alc.h>
13941 #include <AL/alext.h>
13942 LPALCRENDERSAMPLESSOFT x;
13951 if ac_fn_c_try_compile
"$LINENO"; then :
13952 ac_cv_have_openalsoft
=yes
13954 ac_cv_have_openalsoft
=no
13956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13959 $as_echo "$ac_cv_have_openalsoft" >&6; }
13961 if test "x$ac_cv_have_openalsoft" != xyes
13963 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13964 enable_x3daudio1_0
=${enable_x3daudio1_0:-no}
13965 enable_x3daudio1_1
=${enable_x3daudio1_1:-no}
13966 enable_x3daudio1_2
=${enable_x3daudio1_2:-no}
13967 enable_x3daudio1_3
=${enable_x3daudio1_3:-no}
13968 enable_x3daudio1_4
=${enable_x3daudio1_4:-no}
13969 enable_x3daudio1_5
=${enable_x3daudio1_5:-no}
13970 enable_x3daudio1_6
=${enable_x3daudio1_6:-no}
13971 enable_x3daudio1_7
=${enable_x3daudio1_7:-no}
13972 enable_xapofx1_1
=${enable_xapofx1_1:-no}
13973 enable_xapofx1_2
=${enable_xapofx1_2:-no}
13974 enable_xapofx1_3
=${enable_xapofx1_3:-no}
13975 enable_xapofx1_4
=${enable_xapofx1_4:-no}
13976 enable_xapofx1_5
=${enable_xapofx1_5:-no}
13977 enable_xaudio2_0
=${enable_xaudio2_0:-no}
13978 enable_xaudio2_1
=${enable_xaudio2_1:-no}
13979 enable_xaudio2_2
=${enable_xaudio2_2:-no}
13980 enable_xaudio2_3
=${enable_xaudio2_3:-no}
13981 enable_xaudio2_4
=${enable_xaudio2_4:-no}
13982 enable_xaudio2_5
=${enable_xaudio2_5:-no}
13983 enable_xaudio2_6
=${enable_xaudio2_6:-no}
13984 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13985 enable_xaudio2_8
=${enable_xaudio2_8:-no}
13986 enable_xaudio2_9
=${enable_xaudio2_9:-no}
13989 if test "$ac_cv_header_kstat_h" = "yes"
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13992 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13993 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13994 $as_echo_n "(cached) " >&6
13996 ac_check_lib_save_LIBS
=$LIBS
13997 LIBS
="-lkstat $LIBS"
13998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13999 /* end confdefs.h. */
14001 /* Override any GCC internal prototype to avoid an error.
14002 Use char because int might match the return type of a GCC
14003 builtin and then its argument prototype would still apply. */
14007 char kstat_open ();
14011 return kstat_open ();
14016 if ac_fn_c_try_link
"$LINENO"; then :
14017 ac_cv_lib_kstat_kstat_open
=yes
14019 ac_cv_lib_kstat_kstat_open
=no
14021 rm -f core conftest.err conftest.
$ac_objext \
14022 conftest
$ac_exeext conftest.
$ac_ext
14023 LIBS
=$ac_check_lib_save_LIBS
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14026 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14027 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
14029 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14031 KSTAT_LIBS
="-lkstat"
14037 if test "$ac_cv_header_libprocstat_h" = "yes"
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14040 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14041 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
14042 $as_echo_n "(cached) " >&6
14044 ac_check_lib_save_LIBS
=$LIBS
14045 LIBS
="-lprocstat $LIBS"
14046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14047 /* end confdefs.h. */
14049 /* Override any GCC internal prototype to avoid an error.
14050 Use char because int might match the return type of a GCC
14051 builtin and then its argument prototype would still apply. */
14055 char procstat_open_sysctl ();
14059 return procstat_open_sysctl ();
14064 if ac_fn_c_try_link
"$LINENO"; then :
14065 ac_cv_lib_procstat_procstat_open_sysctl
=yes
14067 ac_cv_lib_procstat_procstat_open_sysctl
=no
14069 rm -f core conftest.err conftest.
$ac_objext \
14070 conftest
$ac_exeext conftest.
$ac_ext
14071 LIBS
=$ac_check_lib_save_LIBS
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14074 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14075 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
14077 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14079 PROCSTAT_LIBS
="-lprocstat"
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14086 $as_echo_n "checking for -lodbc... " >&6; }
14087 if ${ac_cv_lib_soname_odbc+:} false
; then :
14088 $as_echo_n "(cached) " >&6
14090 ac_check_soname_save_LIBS
=$LIBS
14091 LIBS
="-lodbc $LIBS"
14092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14093 /* end confdefs.h. */
14095 /* Override any GCC internal prototype to avoid an error.
14096 Use char because int might match the return type of a GCC
14097 builtin and then its argument prototype would still apply. */
14101 char SQLConnect ();
14105 return SQLConnect ();
14110 if ac_fn_c_try_link
"$LINENO"; then :
14112 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14113 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'` ;;
14114 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14115 if ${ac_cv_lib_soname_odbc:+false} :; then :
14116 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14120 rm -f core conftest.err conftest.
$ac_objext \
14121 conftest
$ac_exeext conftest.
$ac_ext
14122 LIBS
=$ac_check_soname_save_LIBS
14124 if ${ac_cv_lib_soname_odbc:+false} :; then :
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14126 $as_echo "not found" >&6; }
14127 cat >>confdefs.h
<<_ACEOF
14128 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14133 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14135 cat >>confdefs.h
<<_ACEOF
14136 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14142 if test "x$with_netapi" != "xno"
14144 if ${NETAPI_CFLAGS:+false} :; then :
14145 if ${PKG_CONFIG+:} false
; then :
14146 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14150 if ${NETAPI_LIBS:+false} :; then :
14151 if ${PKG_CONFIG+:} false
; then :
14152 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
14157 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14158 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14159 ac_save_CPPFLAGS
=$CPPFLAGS
14160 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14162 $as_echo_n "checking for -lnetapi... " >&6; }
14163 if ${ac_cv_lib_soname_netapi+:} false
; then :
14164 $as_echo_n "(cached) " >&6
14166 ac_check_soname_save_LIBS
=$LIBS
14167 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
14168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14169 /* end confdefs.h. */
14171 /* Override any GCC internal prototype to avoid an error.
14172 Use char because int might match the return type of a GCC
14173 builtin and then its argument prototype would still apply. */
14177 char libnetapi_init ();
14181 return libnetapi_init ();
14186 if ac_fn_c_try_link
"$LINENO"; then :
14188 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14189 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'` ;;
14190 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14191 if ${ac_cv_lib_soname_netapi:+false} :; then :
14192 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14196 rm -f core conftest.err conftest.
$ac_objext \
14197 conftest
$ac_exeext conftest.
$ac_ext
14198 LIBS
=$ac_check_soname_save_LIBS
14200 if ${ac_cv_lib_soname_netapi:+false} :; then :
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14202 $as_echo "not found" >&6; }
14203 cat >>confdefs.h
<<_ACEOF
14204 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14209 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14211 cat >>confdefs.h
<<_ACEOF
14212 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14217 CPPFLAGS
=$ac_save_CPPFLAGS
14218 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS
=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14219 test -z "$NETAPI_LIBS" || NETAPI_LIBS
=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14223 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono
-a \
14224 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14226 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
14232 if test "x${GCC}" = "xyes"
14234 EXTRACFLAGS
="-Wall -pipe"
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14237 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14238 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
14239 $as_echo_n "(cached) " >&6
14241 if test "$cross_compiling" = yes; then :
14242 ac_cv_c_gcc_strength_bug
="no"
14244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14245 /* end confdefs.h. */
14246 int L[4] = {0,1,2,3};
14250 static int Array[3];
14251 unsigned int B = 3;
14253 for(i=0; i<B; i++) Array[i] = i - 3;
14254 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14256 return (Array[1] != -2 || L[2] != 3)
14261 if ac_fn_c_try_run
"$LINENO"; then :
14262 ac_cv_c_gcc_strength_bug
="no"
14264 ac_cv_c_gcc_strength_bug
="yes"
14266 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14267 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14272 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14273 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14275 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14279 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14280 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14281 $as_echo_n "(cached) " >&6
14283 ac_wine_try_cflags_saved
=$CFLAGS
14284 CFLAGS
="$CFLAGS -fno-builtin"
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_builtin
=yes
14292 ac_cv_cflags__fno_builtin
=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_builtin" >&5
14299 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14300 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14301 BUILTINFLAG
="-fno-builtin"
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14305 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14306 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14307 $as_echo_n "(cached) " >&6
14309 ac_wine_try_cflags_saved
=$CFLAGS
14310 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14312 /* end confdefs.h. */
14313 int main(int argc, char **argv) { return 0; }
14315 if ac_fn_c_try_link
"$LINENO"; then :
14316 ac_cv_cflags__fno_strict_aliasing
=yes
14318 ac_cv_cflags__fno_strict_aliasing
=no
14320 rm -f core conftest.err conftest.
$ac_objext \
14321 conftest
$ac_exeext conftest.
$ac_ext
14322 CFLAGS
=$ac_wine_try_cflags_saved
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14325 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14326 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14327 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14330 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14331 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14332 $as_echo_n "(cached) " >&6
14334 ac_wine_try_cflags_saved
=$CFLAGS
14335 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14337 /* end confdefs.h. */
14338 int main(int argc, char **argv) { return 0; }
14340 if ac_fn_c_try_link
"$LINENO"; then :
14341 ac_cv_cflags__fexcess_precision_standard
=yes
14343 ac_cv_cflags__fexcess_precision_standard
=no
14345 rm -f core conftest.err conftest.
$ac_objext \
14346 conftest
$ac_exeext conftest.
$ac_ext
14347 CFLAGS
=$ac_wine_try_cflags_saved
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14350 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14351 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14352 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14355 saved_CFLAGS
=$CFLAGS
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14357 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14358 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14359 $as_echo_n "(cached) " >&6
14361 ac_wine_try_cflags_saved
=$CFLAGS
14362 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14364 /* end confdefs.h. */
14365 int main(int argc, char **argv) { return 0; }
14367 if ac_fn_c_try_link
"$LINENO"; then :
14368 ac_cv_cflags__Werror_unknown_warning_option
=yes
14370 ac_cv_cflags__Werror_unknown_warning_option
=no
14372 rm -f core conftest.err conftest.
$ac_objext \
14373 conftest
$ac_exeext conftest.
$ac_ext
14374 CFLAGS
=$ac_wine_try_cflags_saved
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14377 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14378 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14379 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14382 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14383 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14384 $as_echo_n "(cached) " >&6
14386 ac_wine_try_cflags_saved
=$CFLAGS
14387 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14389 /* end confdefs.h. */
14390 int main(int argc, char **argv) { return 0; }
14392 if ac_fn_c_try_link
"$LINENO"; then :
14393 ac_cv_cflags__Wdeclaration_after_statement
=yes
14395 ac_cv_cflags__Wdeclaration_after_statement
=no
14397 rm -f core conftest.err conftest.
$ac_objext \
14398 conftest
$ac_exeext conftest.
$ac_ext
14399 CFLAGS
=$ac_wine_try_cflags_saved
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14402 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14403 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14404 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14407 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14408 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14409 $as_echo_n "(cached) " >&6
14411 ac_wine_try_cflags_saved
=$CFLAGS
14412 CFLAGS
="$CFLAGS -Wempty-body"
14413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14414 /* end confdefs.h. */
14415 int main(int argc, char **argv) { return 0; }
14417 if ac_fn_c_try_link
"$LINENO"; then :
14418 ac_cv_cflags__Wempty_body
=yes
14420 ac_cv_cflags__Wempty_body
=no
14422 rm -f core conftest.err conftest.
$ac_objext \
14423 conftest
$ac_exeext conftest.
$ac_ext
14424 CFLAGS
=$ac_wine_try_cflags_saved
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14427 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14428 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14429 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14432 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14433 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14434 $as_echo_n "(cached) " >&6
14436 ac_wine_try_cflags_saved
=$CFLAGS
14437 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14439 /* end confdefs.h. */
14440 int main(int argc, char **argv) { return 0; }
14442 if ac_fn_c_try_link
"$LINENO"; then :
14443 ac_cv_cflags__Wignored_qualifiers
=yes
14445 ac_cv_cflags__Wignored_qualifiers
=no
14447 rm -f core conftest.err conftest.
$ac_objext \
14448 conftest
$ac_exeext conftest.
$ac_ext
14449 CFLAGS
=$ac_wine_try_cflags_saved
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14452 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14453 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14454 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14457 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14458 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
14459 $as_echo_n "(cached) " >&6
14461 ac_wine_try_cflags_saved
=$CFLAGS
14462 CFLAGS
="$CFLAGS -Wshift-overflow=2"
14463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14464 /* end confdefs.h. */
14465 int main(int argc, char **argv) { return 0; }
14467 if ac_fn_c_try_link
"$LINENO"; then :
14468 ac_cv_cflags__Wshift_overflow_2
=yes
14470 ac_cv_cflags__Wshift_overflow_2
=no
14472 rm -f core conftest.err conftest.
$ac_objext \
14473 conftest
$ac_exeext conftest.
$ac_ext
14474 CFLAGS
=$ac_wine_try_cflags_saved
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14477 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14478 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
14479 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14482 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14483 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14484 $as_echo_n "(cached) " >&6
14486 ac_wine_try_cflags_saved
=$CFLAGS
14487 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14489 /* end confdefs.h. */
14490 int main(int argc, char **argv) { return 0; }
14492 if ac_fn_c_try_link
"$LINENO"; then :
14493 ac_cv_cflags__Wstrict_prototypes
=yes
14495 ac_cv_cflags__Wstrict_prototypes
=no
14497 rm -f core conftest.err conftest.
$ac_objext \
14498 conftest
$ac_exeext conftest.
$ac_ext
14499 CFLAGS
=$ac_wine_try_cflags_saved
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14502 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14503 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14504 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14507 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14508 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14509 $as_echo_n "(cached) " >&6
14511 ac_wine_try_cflags_saved
=$CFLAGS
14512 CFLAGS
="$CFLAGS -Wtype-limits"
14513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14514 /* end confdefs.h. */
14515 int main(int argc, char **argv) { return 0; }
14517 if ac_fn_c_try_link
"$LINENO"; then :
14518 ac_cv_cflags__Wtype_limits
=yes
14520 ac_cv_cflags__Wtype_limits
=no
14522 rm -f core conftest.err conftest.
$ac_objext \
14523 conftest
$ac_exeext conftest.
$ac_ext
14524 CFLAGS
=$ac_wine_try_cflags_saved
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14527 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14528 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14529 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14532 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14533 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14534 $as_echo_n "(cached) " >&6
14536 ac_wine_try_cflags_saved
=$CFLAGS
14537 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14539 /* end confdefs.h. */
14540 int main(int argc, char **argv) { return 0; }
14542 if ac_fn_c_try_link
"$LINENO"; then :
14543 ac_cv_cflags__Wunused_but_set_parameter
=yes
14545 ac_cv_cflags__Wunused_but_set_parameter
=no
14547 rm -f core conftest.err conftest.
$ac_objext \
14548 conftest
$ac_exeext conftest.
$ac_ext
14549 CFLAGS
=$ac_wine_try_cflags_saved
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14552 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14553 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14554 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14557 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14558 if ${ac_cv_cflags__Wvla+:} false
; then :
14559 $as_echo_n "(cached) " >&6
14561 ac_wine_try_cflags_saved
=$CFLAGS
14562 CFLAGS
="$CFLAGS -Wvla"
14563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14565 int main(int argc, char **argv) { return 0; }
14567 if ac_fn_c_try_link
"$LINENO"; then :
14568 ac_cv_cflags__Wvla
=yes
14570 ac_cv_cflags__Wvla
=no
14572 rm -f core conftest.err conftest.
$ac_objext \
14573 conftest
$ac_exeext conftest.
$ac_ext
14574 CFLAGS
=$ac_wine_try_cflags_saved
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14577 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14578 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14579 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14582 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14583 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14584 $as_echo_n "(cached) " >&6
14586 ac_wine_try_cflags_saved
=$CFLAGS
14587 CFLAGS
="$CFLAGS -Wwrite-strings"
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__Wwrite_strings
=yes
14595 ac_cv_cflags__Wwrite_strings
=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__Wwrite_strings" >&5
14602 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14603 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14604 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14608 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14609 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14610 $as_echo_n "(cached) " >&6
14612 ac_wine_try_cflags_saved
=$CFLAGS
14613 CFLAGS
="$CFLAGS -Wpointer-arith"
14614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14615 /* end confdefs.h. */
14616 int main(int argc, char **argv) { return 0; }
14618 if ac_fn_c_try_link
"$LINENO"; then :
14619 ac_cv_cflags__Wpointer_arith
=yes
14621 ac_cv_cflags__Wpointer_arith
=no
14623 rm -f core conftest.err conftest.
$ac_objext \
14624 conftest
$ac_exeext conftest.
$ac_ext
14625 CFLAGS
=$ac_wine_try_cflags_saved
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14628 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14629 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14630 saved_string_h_CFLAGS
=$CFLAGS
14631 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14633 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14634 if ${ac_cv_c_string_h_warnings+:} false
; then :
14635 $as_echo_n "(cached) " >&6
14637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14638 /* end confdefs.h. */
14639 #include <string.h>
14648 if ac_fn_c_try_compile
"$LINENO"; then :
14649 ac_cv_c_string_h_warnings
=no
14651 ac_cv_c_string_h_warnings
=yes
14653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14656 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14657 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14658 CFLAGS
=$saved_string_h_CFLAGS
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14662 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14663 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14664 $as_echo_n "(cached) " >&6
14666 ac_wine_try_cflags_saved
=$CFLAGS
14667 CFLAGS
="$CFLAGS -Wlogical-op"
14668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14669 /* end confdefs.h. */
14670 int main(int argc, char **argv) { return 0; }
14672 if ac_fn_c_try_link
"$LINENO"; then :
14673 ac_cv_cflags__Wlogical_op
=yes
14675 ac_cv_cflags__Wlogical_op
=no
14677 rm -f core conftest.err conftest.
$ac_objext \
14678 conftest
$ac_exeext conftest.
$ac_ext
14679 CFLAGS
=$ac_wine_try_cflags_saved
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14682 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14683 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14684 saved_string_h_CFLAGS
=$CFLAGS
14685 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14687 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14688 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14689 $as_echo_n "(cached) " >&6
14691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14692 /* end confdefs.h. */
14693 #include <string.h>
14694 char*f(const char *h,char n) {return strchr(h,n);}
14703 if ac_fn_c_try_compile
"$LINENO"; then :
14704 ac_cv_c_logicalop_noisy
=no
14706 ac_cv_c_logicalop_noisy
=yes
14708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14711 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14712 CFLAGS
=$saved_string_h_CFLAGS
14713 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14716 CFLAGS
=$saved_CFLAGS
14718 for ac_flag
in $CFLAGS; do
14720 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14721 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14722 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14723 $as_echo_n "(cached) " >&6
14725 ac_wine_try_cflags_saved
=$CFLAGS
14726 CFLAGS
="$CFLAGS -gdwarf-2"
14727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14728 /* end confdefs.h. */
14729 int main(int argc, char **argv) { return 0; }
14731 if ac_fn_c_try_link
"$LINENO"; then :
14732 ac_cv_cflags__gdwarf_2
=yes
14734 ac_cv_cflags__gdwarf_2
=no
14736 rm -f core conftest.err conftest.
$ac_objext \
14737 conftest
$ac_exeext conftest.
$ac_ext
14738 CFLAGS
=$ac_wine_try_cflags_saved
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14741 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14742 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14743 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14746 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14747 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14748 $as_echo_n "(cached) " >&6
14750 ac_wine_try_cflags_saved
=$CFLAGS
14751 CFLAGS
="$CFLAGS -gstrict-dwarf"
14752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14753 /* end confdefs.h. */
14754 int main(int argc, char **argv) { return 0; }
14756 if ac_fn_c_try_link
"$LINENO"; then :
14757 ac_cv_cflags__gstrict_dwarf
=yes
14759 ac_cv_cflags__gstrict_dwarf
=no
14761 rm -f core conftest.err conftest.
$ac_objext \
14762 conftest
$ac_exeext conftest.
$ac_ext
14763 CFLAGS
=$ac_wine_try_cflags_saved
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14766 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14767 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14768 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14774 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14775 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14776 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14777 $as_echo_n "(cached) " >&6
14779 ac_wine_try_cflags_saved
=$CFLAGS
14780 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14782 /* end confdefs.h. */
14783 int main(int argc, char **argv) { return 0; }
14785 if ac_fn_c_try_link
"$LINENO"; then :
14786 ac_cv_cflags__fno_omit_frame_pointer
=yes
14788 ac_cv_cflags__fno_omit_frame_pointer
=no
14790 rm -f core conftest.err conftest.
$ac_objext \
14791 conftest
$ac_exeext conftest.
$ac_ext
14792 CFLAGS
=$ac_wine_try_cflags_saved
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14795 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14796 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14797 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14802 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14803 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14804 if ${ac_cv_cflags__Wno_format+:} false
; then :
14805 $as_echo_n "(cached) " >&6
14807 ac_wine_try_cflags_saved
=$CFLAGS
14808 CFLAGS
="$CFLAGS -Wno-format"
14809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14810 /* end confdefs.h. */
14811 int main(int argc, char **argv) { return 0; }
14813 if ac_fn_c_try_link
"$LINENO"; then :
14814 ac_cv_cflags__Wno_format
=yes
14816 ac_cv_cflags__Wno_format
=no
14818 rm -f core conftest.err conftest.
$ac_objext \
14819 conftest
$ac_exeext conftest.
$ac_ext
14820 CFLAGS
=$ac_wine_try_cflags_saved
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14823 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14824 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14825 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14829 if test "x$enable_maintainer_mode" = "xyes"
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14832 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14833 if ${ac_cv_cflags__Werror+:} false
; then :
14834 $as_echo_n "(cached) " >&6
14836 ac_wine_try_cflags_saved
=$CFLAGS
14837 CFLAGS
="$CFLAGS -Werror"
14838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14839 /* end confdefs.h. */
14840 int main(int argc, char **argv) { return 0; }
14842 if ac_fn_c_try_link
"$LINENO"; then :
14843 ac_cv_cflags__Werror
=yes
14845 ac_cv_cflags__Werror
=no
14847 rm -f core conftest.err conftest.
$ac_objext \
14848 conftest
$ac_exeext conftest.
$ac_ext
14849 CFLAGS
=$ac_wine_try_cflags_saved
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14852 $as_echo "$ac_cv_cflags__Werror" >&6; }
14853 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14854 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14858 saved_CFLAGS
="$CFLAGS"
14859 CFLAGS
="$CFLAGS -Werror"
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14861 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14862 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14863 $as_echo_n "(cached) " >&6
14865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14866 /* end confdefs.h. */
14867 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14876 if ac_fn_c_try_compile
"$LINENO"; then :
14877 ac_cv_have_ms_hook_prologue
="yes"
14879 ac_cv_have_ms_hook_prologue
="no"
14881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14884 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14885 CFLAGS
="$saved_CFLAGS"
14886 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14889 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14892 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14899 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14900 if ${ac_cv_c_fortify_enabled+:} false
; then :
14901 $as_echo_n "(cached) " >&6
14903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14904 /* end confdefs.h. */
14905 #include <string.h>
14909 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14910 #error Fortify enabled
14916 if ac_fn_c_try_compile
"$LINENO"; then :
14917 ac_cv_c_fortify_enabled
=no
14919 ac_cv_c_fortify_enabled
=yes
14921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14924 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14925 if test "$ac_cv_c_fortify_enabled" = yes
14927 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14932 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14933 if ${ac_cv_c_extern_prefix+:} false
; then :
14934 $as_echo_n "(cached) " >&6
14936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14937 /* end confdefs.h. */
14938 extern int ac_test;
14942 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14947 if ac_fn_c_try_link
"$LINENO"; then :
14948 ac_cv_c_extern_prefix
="yes"
14950 ac_cv_c_extern_prefix
="no"
14952 rm -f core conftest.err conftest.
$ac_objext \
14953 conftest
$ac_exeext conftest.
$ac_ext
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14956 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14961 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14962 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14963 $as_echo_n "(cached) " >&6
14965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14966 /* end confdefs.h. */
14968 #define __stdcall __attribute__((__stdcall__))
14970 int __stdcall ac_test(int i) { return i; }
14974 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14979 if ac_fn_c_try_link
"$LINENO"; then :
14980 ac_cv_c_stdcall_suffix
="yes"
14982 ac_cv_c_stdcall_suffix
="no"
14984 rm -f core conftest.err conftest.
$ac_objext \
14985 conftest
$ac_exeext conftest.
$ac_ext
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14988 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14989 *) ac_cv_c_stdcall_suffix
="no" ;;
14993 if test "$ac_cv_c_extern_prefix" = "yes"
14995 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14997 asm_name_prefix
="_"
14999 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15005 if test "$ac_cv_c_stdcall_suffix" = "yes"
15007 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15010 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15016 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15017 if ${ac_cv_asm_func_def+:} false
; then :
15018 $as_echo_n "(cached) " >&6
15020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15021 /* end confdefs.h. */
15026 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15031 if ac_fn_c_try_link
"$LINENO"; then :
15032 ac_cv_asm_func_def
=".def"
15034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15035 /* end confdefs.h. */
15040 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15045 if ac_fn_c_try_link
"$LINENO"; then :
15046 ac_cv_asm_func_def
=".type @function"
15048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15049 /* end confdefs.h. */
15054 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15059 if ac_fn_c_try_link
"$LINENO"; then :
15060 ac_cv_asm_func_def
=".type 2"
15062 ac_cv_asm_func_def
="unknown"
15064 rm -f core conftest.err conftest.
$ac_objext \
15065 conftest
$ac_exeext conftest.
$ac_ext
15067 rm -f core conftest.err conftest.
$ac_objext \
15068 conftest
$ac_exeext conftest.
$ac_ext
15070 rm -f core conftest.err conftest.
$ac_objext \
15071 conftest
$ac_exeext conftest.
$ac_ext
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15074 $as_echo "$ac_cv_asm_func_def" >&6; }
15077 case "$ac_cv_asm_func_def" in
15079 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15081 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15083 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15085 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
15087 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15089 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
15091 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15093 asm_func_header
="" ;;
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15097 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15098 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
15099 $as_echo_n "(cached) " >&6
15101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15102 /* end confdefs.h. */
15103 asm(".text\n\t.long 0");
15112 if ac_fn_c_try_compile
"$LINENO"; then :
15113 ac_cv_c_asm_outside_funcs
="yes"
15115 ac_cv_c_asm_outside_funcs
="no"
15117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15120 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15123 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15124 if ${ac_cv_c_dot_previous+:} false
; then :
15125 $as_echo_n "(cached) " >&6
15127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15128 /* end confdefs.h. */
15133 asm(".text\nac_test:\t.long 0\n\t.previous");
15138 if ac_fn_c_try_link
"$LINENO"; then :
15139 ac_cv_c_dot_previous
="yes"
15141 ac_cv_c_dot_previous
="no"
15143 rm -f core conftest.err conftest.
$ac_objext \
15144 conftest
$ac_exeext conftest.
$ac_ext
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15147 $as_echo "$ac_cv_c_dot_previous" >&6; }
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15150 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15151 if ${ac_cv_c_cfi_support+:} false
; then :
15152 $as_echo_n "(cached) " >&6
15154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15155 /* end confdefs.h. */
15156 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15165 if ac_fn_c_try_compile
"$LINENO"; then :
15166 ac_cv_c_cfi_support
="yes"
15168 ac_cv_c_cfi_support
="no"
15170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15173 $as_echo "$ac_cv_c_cfi_support" >&6; }
15175 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15176 asm_func_trailer
=""
15177 if test "$ac_cv_c_dot_previous" = "yes"
15179 asm_func_trailer
="\\n\\t.previous"
15181 if test "$ac_cv_c_cfi_support" = "yes"
15183 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
15184 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
15186 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15188 UNWINDFLAGS
=-fasynchronous-unwind-tables
15191 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15193 if test "x$enable_win64" = "xyes"
15195 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15199 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
15202 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15204 cat >>confdefs.h
<<_ACEOF
15205 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15209 cat >>confdefs.h
<<_ACEOF
15210 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15215 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15218 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15223 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
15231 *i
[3456789]86*|x86_64
*)
15232 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
15233 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
15240 ac_save_CFLAGS
="$CFLAGS"
15241 CFLAGS
="$CFLAGS $BUILTINFLAG"
15321 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15322 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15323 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15324 cat >>confdefs.h
<<_ACEOF
15325 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15331 CFLAGS
="$ac_save_CFLAGS"
15333 if test "$ac_cv_func_dlopen" = no
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15336 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15337 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15338 $as_echo_n "(cached) " >&6
15340 ac_check_lib_save_LIBS
=$LIBS
15342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15343 /* end confdefs.h. */
15345 /* Override any GCC internal prototype to avoid an error.
15346 Use char because int might match the return type of a GCC
15347 builtin and then its argument prototype would still apply. */
15360 if ac_fn_c_try_link
"$LINENO"; then :
15361 ac_cv_lib_dl_dlopen
=yes
15363 ac_cv_lib_dl_dlopen
=no
15365 rm -f core conftest.err conftest.
$ac_objext \
15366 conftest
$ac_exeext conftest.
$ac_ext
15367 LIBS
=$ac_check_lib_save_LIBS
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15370 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15371 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15372 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15378 ac_wine_check_funcs_save_LIBS
="$LIBS"
15379 LIBS
="$LIBS $DL_LIBS"
15380 for ac_func
in dladdr
15382 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15383 if test "x$ac_cv_func_dladdr" = xyes
; then :
15384 cat >>confdefs.h
<<_ACEOF
15385 #define HAVE_DLADDR 1
15391 LIBS
="$ac_wine_check_funcs_save_LIBS"
15393 if test "$ac_cv_func_poll" = no
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15396 $as_echo_n "checking for poll in -lpoll... " >&6; }
15397 if ${ac_cv_lib_poll_poll+:} false
; then :
15398 $as_echo_n "(cached) " >&6
15400 ac_check_lib_save_LIBS
=$LIBS
15401 LIBS
="-lpoll $LIBS"
15402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15403 /* end confdefs.h. */
15405 /* Override any GCC internal prototype to avoid an error.
15406 Use char because int might match the return type of a GCC
15407 builtin and then its argument prototype would still apply. */
15420 if ac_fn_c_try_link
"$LINENO"; then :
15421 ac_cv_lib_poll_poll
=yes
15423 ac_cv_lib_poll_poll
=no
15425 rm -f core conftest.err conftest.
$ac_objext \
15426 conftest
$ac_exeext conftest.
$ac_ext
15427 LIBS
=$ac_check_lib_save_LIBS
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15430 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15431 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15432 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15440 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15441 if ${ac_cv_search_gethostbyname+:} false
; then :
15442 $as_echo_n "(cached) " >&6
15444 ac_func_search_save_LIBS
=$LIBS
15445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15446 /* end confdefs.h. */
15448 /* Override any GCC internal prototype to avoid an error.
15449 Use char because int might match the return type of a GCC
15450 builtin and then its argument prototype would still apply. */
15454 char gethostbyname ();
15458 return gethostbyname ();
15463 for ac_lib
in '' nsl
; do
15464 if test -z "$ac_lib"; then
15465 ac_res
="none required"
15468 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15470 if ac_fn_c_try_link
"$LINENO"; then :
15471 ac_cv_search_gethostbyname
=$ac_res
15473 rm -f core conftest.err conftest.
$ac_objext \
15475 if ${ac_cv_search_gethostbyname+:} false
; then :
15479 if ${ac_cv_search_gethostbyname+:} false
; then :
15482 ac_cv_search_gethostbyname
=no
15484 rm conftest.
$ac_ext
15485 LIBS
=$ac_func_search_save_LIBS
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15488 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15489 ac_res
=$ac_cv_search_gethostbyname
15490 if test "$ac_res" != no
; then :
15491 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15497 $as_echo_n "checking for library containing connect... " >&6; }
15498 if ${ac_cv_search_connect+:} false
; then :
15499 $as_echo_n "(cached) " >&6
15501 ac_func_search_save_LIBS
=$LIBS
15502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15503 /* end confdefs.h. */
15505 /* Override any GCC internal prototype to avoid an error.
15506 Use char because int might match the return type of a GCC
15507 builtin and then its argument prototype would still apply. */
15520 for ac_lib
in '' socket
; do
15521 if test -z "$ac_lib"; then
15522 ac_res
="none required"
15525 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15527 if ac_fn_c_try_link
"$LINENO"; then :
15528 ac_cv_search_connect
=$ac_res
15530 rm -f core conftest.err conftest.
$ac_objext \
15532 if ${ac_cv_search_connect+:} false
; then :
15536 if ${ac_cv_search_connect+:} false
; then :
15539 ac_cv_search_connect
=no
15541 rm conftest.
$ac_ext
15542 LIBS
=$ac_func_search_save_LIBS
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15545 $as_echo "$ac_cv_search_connect" >&6; }
15546 ac_res
=$ac_cv_search_connect
15547 if test "$ac_res" != no
; then :
15548 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15554 $as_echo_n "checking for library containing inet_aton... " >&6; }
15555 if ${ac_cv_search_inet_aton+:} false
; then :
15556 $as_echo_n "(cached) " >&6
15558 ac_func_search_save_LIBS
=$LIBS
15559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15560 /* end confdefs.h. */
15562 /* Override any GCC internal prototype to avoid an error.
15563 Use char because int might match the return type of a GCC
15564 builtin and then its argument prototype would still apply. */
15572 return inet_aton ();
15577 for ac_lib
in '' resolv
; do
15578 if test -z "$ac_lib"; then
15579 ac_res
="none required"
15582 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15584 if ac_fn_c_try_link
"$LINENO"; then :
15585 ac_cv_search_inet_aton
=$ac_res
15587 rm -f core conftest.err conftest.
$ac_objext \
15589 if ${ac_cv_search_inet_aton+:} false
; then :
15593 if ${ac_cv_search_inet_aton+:} false
; then :
15596 ac_cv_search_inet_aton
=no
15598 rm conftest.
$ac_ext
15599 LIBS
=$ac_func_search_save_LIBS
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15602 $as_echo "$ac_cv_search_inet_aton" >&6; }
15603 ac_res
=$ac_cv_search_inet_aton
15604 if test "$ac_res" != no
; then :
15605 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15625 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15626 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15627 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15628 cat >>confdefs.h
<<_ACEOF
15629 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15638 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15639 if ${ac_cv_search_clock_gettime+:} false
; then :
15640 $as_echo_n "(cached) " >&6
15642 ac_func_search_save_LIBS
=$LIBS
15643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15644 /* end confdefs.h. */
15646 /* Override any GCC internal prototype to avoid an error.
15647 Use char because int might match the return type of a GCC
15648 builtin and then its argument prototype would still apply. */
15652 char clock_gettime ();
15656 return clock_gettime ();
15661 for ac_lib
in '' rt
; do
15662 if test -z "$ac_lib"; then
15663 ac_res
="none required"
15666 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15668 if ac_fn_c_try_link
"$LINENO"; then :
15669 ac_cv_search_clock_gettime
=$ac_res
15671 rm -f core conftest.err conftest.
$ac_objext \
15673 if ${ac_cv_search_clock_gettime+:} false
; then :
15677 if ${ac_cv_search_clock_gettime+:} false
; then :
15680 ac_cv_search_clock_gettime
=no
15682 rm conftest.
$ac_ext
15683 LIBS
=$ac_func_search_save_LIBS
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15686 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15687 ac_res
=$ac_cv_search_clock_gettime
15688 if test "$ac_res" != no
; then :
15689 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15691 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15693 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15701 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15703 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15705 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15707 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15708 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15709 $as_echo_n "(cached) " >&6
15711 ac_check_lib_save_LIBS
=$LIBS
15712 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15714 /* end confdefs.h. */
15716 /* Override any GCC internal prototype to avoid an error.
15717 Use char because int might match the return type of a GCC
15718 builtin and then its argument prototype would still apply. */
15722 char ldap_initialize ();
15726 return ldap_initialize ();
15731 if ac_fn_c_try_link
"$LINENO"; then :
15732 ac_cv_lib_ldap_r_ldap_initialize
=yes
15734 ac_cv_lib_ldap_r_ldap_initialize
=no
15736 rm -f core conftest.err conftest.
$ac_objext \
15737 conftest
$ac_exeext conftest.
$ac_ext
15738 LIBS
=$ac_check_lib_save_LIBS
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15741 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15742 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15744 $as_echo_n "checking for ber_init in -llber... " >&6; }
15745 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15746 $as_echo_n "(cached) " >&6
15748 ac_check_lib_save_LIBS
=$LIBS
15749 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15751 /* end confdefs.h. */
15753 /* Override any GCC internal prototype to avoid an error.
15754 Use char because int might match the return type of a GCC
15755 builtin and then its argument prototype would still apply. */
15763 return ber_init ();
15768 if ac_fn_c_try_link
"$LINENO"; then :
15769 ac_cv_lib_lber_ber_init
=yes
15771 ac_cv_lib_lber_ber_init
=no
15773 rm -f core conftest.err conftest.
$ac_objext \
15774 conftest
$ac_exeext conftest.
$ac_ext
15775 LIBS
=$ac_check_lib_save_LIBS
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15778 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15779 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15781 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15783 LDAP_LIBS
="-lldap_r -llber"
15790 ac_wine_check_funcs_save_LIBS
="$LIBS"
15791 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15793 ldap_count_references \
15794 ldap_first_reference \
15795 ldap_next_reference \
15796 ldap_parse_reference \
15797 ldap_parse_sort_control \
15798 ldap_parse_sortresponse_control \
15799 ldap_parse_vlv_control \
15800 ldap_parse_vlvresponse_control
15802 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15803 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15804 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15805 cat >>confdefs.h
<<_ACEOF
15806 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15812 LIBS
="$ac_wine_check_funcs_save_LIBS"
15814 if test "x$LDAP_LIBS" = "x"; then :
15815 case "x$with_ldap" in
15816 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15818 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15819 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15825 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15826 if ${wine_cv_one_arg_mkdir+:} false
; then :
15827 $as_echo_n "(cached) " >&6
15829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15830 /* end confdefs.h. */
15831 #include <sys/stat.h>
15840 if ac_fn_c_try_compile
"$LINENO"; then :
15841 wine_cv_one_arg_mkdir
=yes
15843 wine_cv_one_arg_mkdir
=no
15845 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15848 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15849 if test "$wine_cv_one_arg_mkdir" = "yes"
15852 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15857 $as_echo_n "checking for sched_setaffinity... " >&6; }
15858 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15859 $as_echo_n "(cached) " >&6
15861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15862 /* end confdefs.h. */
15863 #define _GNU_SOURCE
15868 sched_setaffinity(0, 0, 0);
15873 if ac_fn_c_try_link
"$LINENO"; then :
15874 wine_cv_have_sched_setaffinity
=yes
15876 wine_cv_have_sched_setaffinity
=no
15878 rm -f core conftest.err conftest.
$ac_objext \
15879 conftest
$ac_exeext conftest.
$ac_ext
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15882 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15883 if test "$wine_cv_have_sched_setaffinity" = "yes"
15886 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15891 $as_echo_n "checking for fallocate... " >&6; }
15892 if ${wine_cv_have_fallocate+:} false
; then :
15893 $as_echo_n "(cached) " >&6
15895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15896 /* end confdefs.h. */
15897 #define _GNU_SOURCE
15902 fallocate(-1, 0, 0, 0);
15907 if ac_fn_c_try_link
"$LINENO"; then :
15908 wine_cv_have_fallocate
=yes
15910 wine_cv_have_fallocate
=no
15912 rm -f core conftest.err conftest.
$ac_objext \
15913 conftest
$ac_exeext conftest.
$ac_ext
15915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15916 $as_echo "$wine_cv_have_fallocate" >&6; }
15917 if test "$wine_cv_have_fallocate" = "yes"
15920 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15926 $as_echo_n "checking for inline... " >&6; }
15927 if ${ac_cv_c_inline+:} false
; then :
15928 $as_echo_n "(cached) " >&6
15931 for ac_kw
in inline __inline__ __inline
; do
15932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15933 /* end confdefs.h. */
15934 #ifndef __cplusplus
15936 static $ac_kw foo_t static_foo () {return 0; }
15937 $ac_kw foo_t foo () {return 0; }
15941 if ac_fn_c_try_compile
"$LINENO"; then :
15942 ac_cv_c_inline
=$ac_kw
15944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15945 test "$ac_cv_c_inline" != no
&& break
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15950 $as_echo "$ac_cv_c_inline" >&6; }
15952 case $ac_cv_c_inline in
15955 case $ac_cv_c_inline in
15957 *) ac_val
=$ac_cv_c_inline;;
15959 cat >>confdefs.h
<<_ACEOF
15960 #ifndef __cplusplus
15961 #define inline $ac_val
15967 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15968 if test "x$ac_cv_type_mode_t" = xyes
; then :
15970 cat >>confdefs.h
<<_ACEOF
15971 #define HAVE_MODE_T 1
15976 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15977 if test "x$ac_cv_type_off_t" = xyes
; then :
15979 cat >>confdefs.h
<<_ACEOF
15980 #define HAVE_OFF_T 1
15985 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15986 if test "x$ac_cv_type_pid_t" = xyes
; then :
15988 cat >>confdefs.h
<<_ACEOF
15989 #define HAVE_PID_T 1
15994 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15995 if test "x$ac_cv_type_size_t" = xyes
; then :
15997 cat >>confdefs.h
<<_ACEOF
15998 #define HAVE_SIZE_T 1
16003 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16004 if test "x$ac_cv_type_ssize_t" = xyes
; then :
16006 cat >>confdefs.h
<<_ACEOF
16007 #define HAVE_SSIZE_T 1
16012 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16013 if test "x$ac_cv_type_long_long" = xyes
; then :
16015 cat >>confdefs.h
<<_ACEOF
16016 #define HAVE_LONG_LONG 1
16021 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16022 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
16024 cat >>confdefs.h
<<_ACEOF
16025 #define HAVE_FSBLKCNT_T 1
16030 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16031 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
16033 cat >>confdefs.h
<<_ACEOF
16034 #define HAVE_FSFILCNT_T 1
16040 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16041 #include <signal.h>
16043 if test "x$ac_cv_type_sigset_t" = xyes
; then :
16045 cat >>confdefs.h
<<_ACEOF
16046 #define HAVE_SIGSET_T 1
16052 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16054 if test "x$ac_cv_type_request_sense" = xyes
; then :
16056 cat >>confdefs.h
<<_ACEOF
16057 #define HAVE_REQUEST_SENSE 1
16064 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16065 #ifdef HAVE_SYS_SOCKET_H
16066 #include <sys/socket.h>
16068 #ifdef HAVE_SYS_SOCKETVAR_H
16069 #include <sys/socketvar.h>
16071 #ifdef HAVE_NET_ROUTE_H
16072 #include <net/route.h>
16074 #ifdef HAVE_NETINET_IN_H
16075 #include <netinet/in.h>
16077 #ifdef HAVE_NETINET_IN_SYSTM_H
16078 #include <netinet/in_systm.h>
16080 #ifdef HAVE_NETINET_IP_H
16081 #include <netinet/ip.h>
16083 #ifdef HAVE_NETINET_IN_PCB_H
16084 #include <netinet/in_pcb.h>
16087 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
16089 cat >>confdefs.h
<<_ACEOF
16090 #define HAVE_STRUCT_XINPGEN 1
16097 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16100 #ifdef HAVE_SYS_LINK_H
16101 #include <sys/link.h>
16104 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
16106 cat >>confdefs.h
<<_ACEOF
16107 #define HAVE_STRUCT_R_DEBUG 1
16112 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16115 #ifdef HAVE_SYS_LINK_H
16116 #include <sys/link.h>
16119 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
16121 cat >>confdefs.h
<<_ACEOF
16122 #define HAVE_STRUCT_LINK_MAP 1
16129 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16130 #include <linux/input.h>
16133 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
16135 cat >>confdefs.h
<<_ACEOF
16136 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16144 $as_echo_n "checking for sigaddset... " >&6; }
16145 if ${wine_cv_have_sigaddset+:} false
; then :
16146 $as_echo_n "(cached) " >&6
16148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16149 /* end confdefs.h. */
16150 #include <signal.h>
16154 sigset_t set; sigaddset(&set,SIGTERM);
16159 if ac_fn_c_try_link
"$LINENO"; then :
16160 wine_cv_have_sigaddset
=yes
16162 wine_cv_have_sigaddset
=no
16164 rm -f core conftest.err conftest.
$ac_objext \
16165 conftest
$ac_exeext conftest.
$ac_ext
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16168 $as_echo "$wine_cv_have_sigaddset" >&6; }
16169 if test "$wine_cv_have_sigaddset" = "yes"
16172 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16178 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16179 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
16180 $as_echo_n "(cached) " >&6
16182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16183 /* end confdefs.h. */
16191 struct hostent *result;
16198 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16199 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16205 if ac_fn_c_try_link
"$LINENO"; then :
16206 wine_cv_linux_gethostbyname_r_6
=yes
16208 wine_cv_linux_gethostbyname_r_6
=no
16211 rm -f core conftest.err conftest.
$ac_objext \
16212 conftest
$ac_exeext conftest.
$ac_ext
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16216 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16217 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16220 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16224 if test "$ac_cv_header_linux_joystick_h" = "yes"
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16227 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16228 if ${wine_cv_linux_joystick_22_api+:} false
; then :
16229 $as_echo_n "(cached) " >&6
16231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16232 /* end confdefs.h. */
16234 #include <sys/ioctl.h>
16235 #include <sys/types.h>
16236 #include <linux/joystick.h>
16238 struct js_event blub;
16239 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16240 #error "no 2.2 header"
16251 if ac_fn_c_try_compile
"$LINENO"; then :
16252 wine_cv_linux_joystick_22_api
=yes
16254 wine_cv_linux_joystick_22_api
=no
16256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16260 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16261 if test "$wine_cv_linux_joystick_22_api" = "yes"
16264 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16270 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16271 #ifdef HAVE_SYS_PARAM_H
16272 # include <sys/param.h>
16274 #ifdef HAVE_SYS_MOUNT_H
16275 # include <sys/mount.h>
16277 #ifdef HAVE_SYS_VFS_H
16278 # include <sys/vfs.h>
16280 #ifdef HAVE_SYS_STATFS_H
16281 # include <sys/statfs.h>
16284 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16286 cat >>confdefs.h
<<_ACEOF
16287 #define HAVE_STRUCT_STATFS_F_BFREE 1
16292 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16293 #ifdef HAVE_SYS_PARAM_H
16294 # include <sys/param.h>
16296 #ifdef HAVE_SYS_MOUNT_H
16297 # include <sys/mount.h>
16299 #ifdef HAVE_SYS_VFS_H
16300 # include <sys/vfs.h>
16302 #ifdef HAVE_SYS_STATFS_H
16303 # include <sys/statfs.h>
16306 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16308 cat >>confdefs.h
<<_ACEOF
16309 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16314 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16315 #ifdef HAVE_SYS_PARAM_H
16316 # include <sys/param.h>
16318 #ifdef HAVE_SYS_MOUNT_H
16319 # include <sys/mount.h>
16321 #ifdef HAVE_SYS_VFS_H
16322 # include <sys/vfs.h>
16324 #ifdef HAVE_SYS_STATFS_H
16325 # include <sys/statfs.h>
16328 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16330 cat >>confdefs.h
<<_ACEOF
16331 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16336 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16337 #ifdef HAVE_SYS_PARAM_H
16338 # include <sys/param.h>
16340 #ifdef HAVE_SYS_MOUNT_H
16341 # include <sys/mount.h>
16343 #ifdef HAVE_SYS_VFS_H
16344 # include <sys/vfs.h>
16346 #ifdef HAVE_SYS_STATFS_H
16347 # include <sys/statfs.h>
16350 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16352 cat >>confdefs.h
<<_ACEOF
16353 #define HAVE_STRUCT_STATFS_F_FFREE 1
16358 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16359 #ifdef HAVE_SYS_PARAM_H
16360 # include <sys/param.h>
16362 #ifdef HAVE_SYS_MOUNT_H
16363 # include <sys/mount.h>
16365 #ifdef HAVE_SYS_VFS_H
16366 # include <sys/vfs.h>
16368 #ifdef HAVE_SYS_STATFS_H
16369 # include <sys/statfs.h>
16372 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16374 cat >>confdefs.h
<<_ACEOF
16375 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16380 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16381 #ifdef HAVE_SYS_PARAM_H
16382 # include <sys/param.h>
16384 #ifdef HAVE_SYS_MOUNT_H
16385 # include <sys/mount.h>
16387 #ifdef HAVE_SYS_VFS_H
16388 # include <sys/vfs.h>
16390 #ifdef HAVE_SYS_STATFS_H
16391 # include <sys/statfs.h>
16394 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16396 cat >>confdefs.h
<<_ACEOF
16397 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16404 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16405 #include <sys/statvfs.h>
16408 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16410 cat >>confdefs.h
<<_ACEOF
16411 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16418 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16419 #include <dirent.h>
16422 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16424 cat >>confdefs.h
<<_ACEOF
16425 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16432 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16433 #ifdef HAVE_SYS_SOCKET_H
16434 # include <sys/socket.h>
16436 #ifdef HAVE_SYS_UN_H
16437 # include <sys/un.h>
16440 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16442 cat >>confdefs.h
<<_ACEOF
16443 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16448 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16449 #ifdef HAVE_SYS_SOCKET_H
16450 # include <sys/socket.h>
16452 #ifdef HAVE_SYS_UN_H
16453 # include <sys/un.h>
16456 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16458 cat >>confdefs.h
<<_ACEOF
16459 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16464 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16465 #ifdef HAVE_SYS_SOCKET_H
16466 # include <sys/socket.h>
16468 #ifdef HAVE_SYS_UN_H
16469 # include <sys/un.h>
16472 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16474 cat >>confdefs.h
<<_ACEOF
16475 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16482 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16483 #ifdef HAVE_SCSI_SG_H
16484 #include <scsi/sg.h>
16487 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16489 cat >>confdefs.h
<<_ACEOF
16490 #define HAVE_SCSIREQ_T_CMD 1
16495 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>
16496 #ifdef HAVE_SCSI_SG_H
16497 #include <scsi/sg.h>
16500 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16502 cat >>confdefs.h
<<_ACEOF
16503 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16510 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16512 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16514 cat >>confdefs.h
<<_ACEOF
16515 #define HAVE_SIGINFO_T_SI_FD 1
16522 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#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_blksiz" = xyes
; then :
16529 cat >>confdefs.h
<<_ACEOF
16530 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16535 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16536 #ifdef HAVE_SYS_MTIO_H
16537 #include <sys/mtio.h>
16540 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16542 cat >>confdefs.h
<<_ACEOF
16543 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16548 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16549 #ifdef HAVE_SYS_MTIO_H
16550 #include <sys/mtio.h>
16553 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16555 cat >>confdefs.h
<<_ACEOF
16556 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16563 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16564 #include <getopt.h>
16567 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16569 cat >>confdefs.h
<<_ACEOF
16570 #define HAVE_STRUCT_OPTION_NAME 1
16577 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16578 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16580 cat >>confdefs.h
<<_ACEOF
16581 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16586 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16587 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16589 cat >>confdefs.h
<<_ACEOF
16590 #define HAVE_STRUCT_STAT_ST_MTIM 1
16595 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16596 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16598 cat >>confdefs.h
<<_ACEOF
16599 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16604 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16605 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16607 cat >>confdefs.h
<<_ACEOF
16608 #define HAVE_STRUCT_STAT_ST_CTIM 1
16613 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16614 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16616 cat >>confdefs.h
<<_ACEOF
16617 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16622 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16623 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16625 cat >>confdefs.h
<<_ACEOF
16626 #define HAVE_STRUCT_STAT_ST_ATIM 1
16631 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16632 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16634 cat >>confdefs.h
<<_ACEOF
16635 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16640 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16641 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16643 cat >>confdefs.h
<<_ACEOF
16644 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16649 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16650 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16652 cat >>confdefs.h
<<_ACEOF
16653 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16658 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16659 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16661 cat >>confdefs.h
<<_ACEOF
16662 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16667 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16668 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16670 cat >>confdefs.h
<<_ACEOF
16671 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16676 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16677 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16679 cat >>confdefs.h
<<_ACEOF
16680 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16687 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
16688 #include <sys/types.h>
16690 #ifdef HAVE_NETINET_IN_H
16691 #include <netinet/in.h>
16694 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16696 cat >>confdefs.h
<<_ACEOF
16697 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16704 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16705 #include <resolv.h>
16708 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16710 cat >>confdefs.h
<<_ACEOF
16711 #define HAVE_STRUCT___RES_STATE 1
16718 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
16719 #include <resolv.h>
16722 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16724 cat >>confdefs.h
<<_ACEOF
16725 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16732 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16733 #include <sys/types.h>
16735 #ifdef HAVE_NETINET_IN_H
16736 # include <netinet/in.h>
16738 #ifdef HAVE_ARPA_NAMESER_H
16739 # include <arpa/nameser.h>
16742 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16744 cat >>confdefs.h
<<_ACEOF
16745 #define HAVE_NS_MSG__MSG_PTR 1
16752 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16753 #include <sys/types.h>
16755 #ifdef HAVE_NETINET_IP_H
16756 #include <netinet/ip.h>
16758 #ifdef HAVE_NETINET_IP_ICMP_H
16759 #include <netinet/ip_icmp.h>
16761 #ifdef HAVE_NETINET_ICMP_VAR_H
16762 #include <netinet/icmp_var.h>
16765 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16767 cat >>confdefs.h
<<_ACEOF
16768 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16775 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16776 #include <sys/types.h>
16778 #ifdef HAVE_ALIAS_H
16781 #ifdef HAVE_SYS_SOCKET_H
16782 #include <sys/socket.h>
16784 #ifdef HAVE_SYS_SOCKETVAR_H
16785 #include <sys/socketvar.h>
16787 #ifdef HAVE_SYS_TIMEOUT_H
16788 #include <sys/timeout.h>
16790 #ifdef HAVE_NETINET_IN_H
16791 #include <netinet/in.h>
16793 #ifdef HAVE_NETINET_IN_SYSTM_H
16794 #include <netinet/in_systm.h>
16796 #ifdef HAVE_NETINET_IP_H
16797 #include <netinet/ip.h>
16799 #ifdef HAVE_NETINET_IP_VAR_H
16800 #include <netinet/ip_var.h>
16802 #ifdef HAVE_NETINET_IP_ICMP_H
16803 #include <netinet/ip_icmp.h>
16805 #ifdef HAVE_NETINET_ICMP_VAR_H
16806 #include <netinet/icmp_var.h>
16809 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16811 cat >>confdefs.h
<<_ACEOF
16812 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16819 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16820 #include <sys/types.h>
16822 #ifdef HAVE_SYS_SOCKETVAR_H
16823 #include <sys/socketvar.h>
16825 #ifdef HAVE_NETINET_IN_H
16826 #include <netinet/in.h>
16828 #ifdef HAVE_NETINET_IP_VAR_H
16829 #include <netinet/ip_var.h>
16832 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16834 cat >>confdefs.h
<<_ACEOF
16835 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16842 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
16843 #include <netinet/ip_var.h>
16846 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16848 cat >>confdefs.h
<<_ACEOF
16849 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16856 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16857 #include <sys/types.h>
16859 #ifdef HAVE_SYS_SOCKETVAR_H
16860 #include <sys/socketvar.h>
16862 #ifdef HAVE_NETINET_IN_H
16863 #include <netinet/in.h>
16865 #ifdef HAVE_NETINET_TCP_H
16866 #include <netinet/tcp.h>
16868 #ifdef HAVE_NETINET_TCP_VAR_H
16869 #include <netinet/tcp_var.h>
16872 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16874 cat >>confdefs.h
<<_ACEOF
16875 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16882 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
16883 #include <netinet/tcp_var.h>
16886 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16888 cat >>confdefs.h
<<_ACEOF
16889 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16896 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16897 #include <sys/types.h>
16899 #ifdef HAVE_NETINET_IN_H
16900 #include <netinet/in.h>
16902 #ifdef HAVE_NETINET_IP_VAR_H
16903 #include <netinet/ip_var.h>
16905 #ifdef HAVE_NETINET_UDP_H
16906 #include <netinet/udp.h>
16908 #ifdef HAVE_NETINET_UDP_VAR_H
16909 #include <netinet/udp_var.h>
16912 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16914 cat >>confdefs.h
<<_ACEOF
16915 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16922 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16923 #include <sys/types.h>
16925 #ifdef HAVE_NET_IF_H
16926 # include <net/if.h>
16929 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16931 cat >>confdefs.h
<<_ACEOF
16932 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16940 $as_echo_n "checking for timezone variable... " >&6; }
16941 if ${ac_cv_have_timezone+:} false
; then :
16942 $as_echo_n "(cached) " >&6
16944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16945 /* end confdefs.h. */
16955 if ac_fn_c_try_link
"$LINENO"; then :
16956 ac_cv_have_timezone
="yes"
16958 ac_cv_have_timezone
="no"
16960 rm -f core conftest.err conftest.
$ac_objext \
16961 conftest
$ac_exeext conftest.
$ac_ext
16963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16964 $as_echo "$ac_cv_have_timezone" >&6; }
16965 if test "$ac_cv_have_timezone" = "yes"
16968 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16972 $as_echo_n "checking for daylight variable... " >&6; }
16973 if ${ac_cv_have_daylight+:} false
; then :
16974 $as_echo_n "(cached) " >&6
16976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16977 /* end confdefs.h. */
16987 if ac_fn_c_try_link
"$LINENO"; then :
16988 ac_cv_have_daylight
="yes"
16990 ac_cv_have_daylight
="no"
16992 rm -f core conftest.err conftest.
$ac_objext \
16993 conftest
$ac_exeext conftest.
$ac_ext
16995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16996 $as_echo "$ac_cv_have_daylight" >&6; }
16997 if test "$ac_cv_have_daylight" = "yes"
17000 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17004 ac_save_LIBS
="$LIBS"
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17007 $as_echo_n "checking for isfinite... " >&6; }
17008 if ${ac_cv_have_isfinite+:} false
; then :
17009 $as_echo_n "(cached) " >&6
17011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17012 /* end confdefs.h. */
17013 #define _GNU_SOURCE
17018 float f = 0.0; return isfinite(f)
17023 if ac_fn_c_try_link
"$LINENO"; then :
17024 ac_cv_have_isfinite
="yes"
17026 ac_cv_have_isfinite
="no"
17028 rm -f core conftest.err conftest.
$ac_objext \
17029 conftest
$ac_exeext conftest.
$ac_ext
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17032 $as_echo "$ac_cv_have_isfinite" >&6; }
17033 if test "$ac_cv_have_isfinite" = "yes"
17036 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17041 $as_echo_n "checking for isinf... " >&6; }
17042 if ${ac_cv_have_isinf+:} false
; then :
17043 $as_echo_n "(cached) " >&6
17045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17046 /* end confdefs.h. */
17051 float f = 0.0; return isinf(f)
17056 if ac_fn_c_try_link
"$LINENO"; then :
17057 ac_cv_have_isinf
="yes"
17059 ac_cv_have_isinf
="no"
17061 rm -f core conftest.err conftest.
$ac_objext \
17062 conftest
$ac_exeext conftest.
$ac_ext
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17065 $as_echo "$ac_cv_have_isinf" >&6; }
17066 if test "$ac_cv_have_isinf" = "yes"
17069 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17074 $as_echo_n "checking for isnan... " >&6; }
17075 if ${ac_cv_have_isnan+:} false
; then :
17076 $as_echo_n "(cached) " >&6
17078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17079 /* end confdefs.h. */
17084 float f = 0.0; return isnan(f)
17089 if ac_fn_c_try_link
"$LINENO"; then :
17090 ac_cv_have_isnan
="yes"
17092 ac_cv_have_isnan
="no"
17094 rm -f core conftest.err conftest.
$ac_objext \
17095 conftest
$ac_exeext conftest.
$ac_ext
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17098 $as_echo "$ac_cv_have_isnan" >&6; }
17099 if test "$ac_cv_have_isnan" = "yes"
17102 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17138 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17139 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17140 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17141 cat >>confdefs.h
<<_ACEOF
17142 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17148 LIBS
="$ac_save_LIBS"
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17151 $as_echo_n "checking for __builtin_clz... " >&6; }
17152 if ${ac_cv_have___builtin_clz+:} false
; then :
17153 $as_echo_n "(cached) " >&6
17155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17156 /* end confdefs.h. */
17161 return __builtin_clz(1)
17166 if ac_fn_c_try_link
"$LINENO"; then :
17167 ac_cv_have___builtin_clz
="yes"
17169 ac_cv_have___builtin_clz
="no"
17171 rm -f core conftest.err conftest.
$ac_objext \
17172 conftest
$ac_exeext conftest.
$ac_ext
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17175 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17176 if test "$ac_cv_have___builtin_clz" = "yes"
17179 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17184 $as_echo_n "checking for __builtin_popcount... " >&6; }
17185 if ${ac_cv_have___builtin_popcount+:} false
; then :
17186 $as_echo_n "(cached) " >&6
17188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17189 /* end confdefs.h. */
17194 return __builtin_popcount(1)
17199 if ac_fn_c_try_link
"$LINENO"; then :
17200 ac_cv_have___builtin_popcount
="yes"
17202 ac_cv_have___builtin_popcount
="no"
17204 rm -f core conftest.err conftest.
$ac_objext \
17205 conftest
$ac_exeext conftest.
$ac_ext
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17208 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17209 if test "$ac_cv_have___builtin_popcount" = "yes"
17212 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17218 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17219 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17220 if ${ac_cv_cpp_def___i386__+:} false
; then :
17221 $as_echo_n "(cached) " >&6
17223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17224 /* end confdefs.h. */
17229 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17230 $EGREP "yes" >/dev
/null
2>&1; then :
17231 ac_cv_cpp_def___i386__
=yes
17233 ac_cv_cpp_def___i386__
=no
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17239 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17240 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
17241 CFLAGS
="$CFLAGS -D__i386__"
17242 LINTFLAGS
="$LINTFLAGS -D__i386__"
17244 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17245 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17246 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
17247 $as_echo_n "(cached) " >&6
17249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17250 /* end confdefs.h. */
17255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17256 $EGREP "yes" >/dev
/null
2>&1; then :
17257 ac_cv_cpp_def___x86_64__
=yes
17259 ac_cv_cpp_def___x86_64__
=no
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17265 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17266 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
17267 CFLAGS
="$CFLAGS -D__x86_64__"
17268 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
17270 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17271 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17272 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
17273 $as_echo_n "(cached) " >&6
17275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17276 /* end confdefs.h. */
17277 #ifndef __sparc64__
17281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17282 $EGREP "yes" >/dev
/null
2>&1; then :
17283 ac_cv_cpp_def___sparc64__
=yes
17285 ac_cv_cpp_def___sparc64__
=no
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17291 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17292 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
17293 CFLAGS
="$CFLAGS -D__sparc64__"
17294 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
17296 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17297 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17298 if ${ac_cv_cpp_def___sparc__+:} false
; then :
17299 $as_echo_n "(cached) " >&6
17301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17302 /* end confdefs.h. */
17307 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17308 $EGREP "yes" >/dev
/null
2>&1; then :
17309 ac_cv_cpp_def___sparc__
=yes
17311 ac_cv_cpp_def___sparc__
=no
17316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17317 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17318 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
17319 CFLAGS
="$CFLAGS -D__sparc__"
17320 LINTFLAGS
="$LINTFLAGS -D__sparc__"
17322 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17323 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17324 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
17325 $as_echo_n "(cached) " >&6
17327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17328 /* end confdefs.h. */
17329 #ifndef __powerpc64__
17333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17334 $EGREP "yes" >/dev
/null
2>&1; then :
17335 ac_cv_cpp_def___powerpc64__
=yes
17337 ac_cv_cpp_def___powerpc64__
=no
17342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17343 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17344 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
17345 CFLAGS
="$CFLAGS -D__powerpc64__"
17346 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
17348 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17349 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17350 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
17351 $as_echo_n "(cached) " >&6
17353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17354 /* end confdefs.h. */
17355 #ifndef __powerpc__
17359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17360 $EGREP "yes" >/dev
/null
2>&1; then :
17361 ac_cv_cpp_def___powerpc__
=yes
17363 ac_cv_cpp_def___powerpc__
=no
17368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17369 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17370 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
17371 CFLAGS
="$CFLAGS -D__powerpc__"
17372 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
17374 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17375 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17376 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
17377 $as_echo_n "(cached) " >&6
17379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17380 /* end confdefs.h. */
17381 #ifndef __aarch64__
17385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17386 $EGREP "yes" >/dev
/null
2>&1; then :
17387 ac_cv_cpp_def___aarch64__
=yes
17389 ac_cv_cpp_def___aarch64__
=no
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17395 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17396 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17397 CFLAGS
="$CFLAGS -D__aarch64__"
17398 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17400 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17401 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17402 if ${ac_cv_cpp_def___arm__+:} false
; then :
17403 $as_echo_n "(cached) " >&6
17405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17406 /* end confdefs.h. */
17411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17412 $EGREP "yes" >/dev
/null
2>&1; then :
17413 ac_cv_cpp_def___arm__
=yes
17415 ac_cv_cpp_def___arm__
=no
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17421 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17422 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17423 CFLAGS
="$CFLAGS -D__arm__"
17424 LINTFLAGS
="$LINTFLAGS -D__arm__"
17428 case $host_vendor in
17429 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17430 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17431 if ${ac_cv_cpp_def___sun__+:} false
; then :
17432 $as_echo_n "(cached) " >&6
17434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17435 /* end confdefs.h. */
17440 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17441 $EGREP "yes" >/dev
/null
2>&1; then :
17442 ac_cv_cpp_def___sun__
=yes
17444 ac_cv_cpp_def___sun__
=no
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17450 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17451 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17452 CFLAGS
="$CFLAGS -D__sun__"
17453 LINTFLAGS
="$LINTFLAGS -D__sun__"
17461 ac_config_commands
="$ac_config_commands include/stamp-h"
17463 $as_echo_n "creating Makefile rules..." >&6
17465 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17466 SOCKET_LIBS = $SOCKET_LIBS
17467 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17468 IOKIT_LIBS = $IOKIT_LIBS
17469 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17470 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17471 CORESERVICES_LIBS = $CORESERVICES_LIBS
17472 APPKIT_LIBS = $APPKIT_LIBS
17473 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17474 SECURITY_LIBS = $SECURITY_LIBS
17475 COREAUDIO_LIBS = $COREAUDIO_LIBS
17476 OPENAL_LIBS = $OPENAL_LIBS
17477 OPENCL_LIBS = $OPENCL_LIBS
17478 QUICKTIME_LIBS = $QUICKTIME_LIBS
17479 CARBON_LIBS = $CARBON_LIBS
17480 PTHREAD_LIBS = $PTHREAD_LIBS
17481 X_CFLAGS = $X_CFLAGS
17482 X_PRE_LIBS = $X_PRE_LIBS
17484 X_EXTRA_LIBS = $X_EXTRA_LIBS
17485 PCAP_LIBS = $PCAP_LIBS
17486 XML2_CFLAGS = $XML2_CFLAGS
17487 XML2_LIBS = $XML2_LIBS
17488 XSLT_CFLAGS = $XSLT_CFLAGS
17489 XSLT_LIBS = $XSLT_LIBS
17490 DBUS_CFLAGS = $DBUS_CFLAGS
17491 DBUS_LIBS = $DBUS_LIBS
17492 HAL_CFLAGS = $HAL_CFLAGS
17493 HAL_LIBS = $HAL_LIBS
17494 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17495 GNUTLS_LIBS = $GNUTLS_LIBS
17496 SANE_CFLAGS = $SANE_CFLAGS
17497 SANE_LIBS = $SANE_LIBS
17498 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17499 GPHOTO2_LIBS = $GPHOTO2_LIBS
17500 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17501 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17502 RESOLV_LIBS = $RESOLV_LIBS
17503 LCMS2_CFLAGS = $LCMS2_CFLAGS
17504 LCMS2_LIBS = $LCMS2_LIBS
17505 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17506 FREETYPE_LIBS = $FREETYPE_LIBS
17508 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17509 PULSE_CFLAGS = $PULSE_CFLAGS
17510 PULSE_LIBS = $PULSE_LIBS
17511 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17512 GSTREAMER_LIBS = $GSTREAMER_LIBS
17513 ALSA_LIBS = $ALSA_LIBS
17514 OSS4_CFLAGS = $OSS4_CFLAGS
17515 UDEV_CFLAGS = $UDEV_CFLAGS
17516 UDEV_LIBS = $UDEV_LIBS
17517 CAPI20_CFLAGS = $CAPI20_CFLAGS
17518 CAPI20_LIBS = $CAPI20_LIBS
17519 CUPS_CFLAGS = $CUPS_CFLAGS
17520 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17521 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17522 JPEG_CFLAGS = $JPEG_CFLAGS
17523 JPEG_LIBS = $JPEG_LIBS
17524 PNG_CFLAGS = $PNG_CFLAGS
17525 PNG_LIBS = $PNG_LIBS
17526 TIFF_CFLAGS = $TIFF_CFLAGS
17527 TIFF_LIBS = $TIFF_LIBS
17528 MPG123_CFLAGS = $MPG123_CFLAGS
17529 MPG123_LIBS = $MPG123_LIBS
17530 KSTAT_LIBS = $KSTAT_LIBS
17531 PROCSTAT_LIBS = $PROCSTAT_LIBS
17532 NETAPI_CFLAGS = $NETAPI_CFLAGS
17533 NETAPI_LIBS = $NETAPI_LIBS
17534 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17536 POLL_LIBS = $POLL_LIBS
17538 LDAP_LIBS = $LDAP_LIBS
17543 wine_fn_append_rule
"
17544 # Rules automatically generated by configure
17546 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17551 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17552 @./config.status Make.tmp Makefile
17553 depend: \$(MAKEDEP) dummy
17556 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17557 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17559 if test "x$enable_fonts" != xno
; then
17560 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17561 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17562 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17563 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17564 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17565 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17567 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17568 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17569 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17570 wine_fn_config_symlink wine
17571 if test "x$enable_win64" != xno
; then
17572 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17573 wine_fn_config_symlink wine64
17576 wine_fn_config_dll acledit enable_acledit
17577 wine_fn_config_dll aclui enable_aclui implib
17578 wine_fn_config_dll activeds enable_activeds implib
17579 wine_fn_config_dll actxprxy enable_actxprxy clean
17580 wine_fn_config_lib adsiid
17581 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17582 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17583 wine_fn_config_dll advpack enable_advpack implib
17584 wine_fn_config_test dlls
/advpack
/tests advpack_test
17585 wine_fn_config_dll amstream enable_amstream clean
17586 wine_fn_config_test dlls
/amstream
/tests amstream_test
17587 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17588 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17590 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17591 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17592 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17594 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17595 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17596 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17597 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17598 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17599 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17600 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17601 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17602 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17603 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17604 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17605 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17606 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17607 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17608 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17609 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17610 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17611 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17612 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17613 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17614 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17616 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17617 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17620 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17622 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17624 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17626 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17627 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17629 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17630 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17631 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17633 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17634 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17635 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17637 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17641 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17642 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17643 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17645 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17646 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17647 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17649 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17651 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17653 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17654 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17661 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17662 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17663 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17667 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17669 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17670 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17671 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17672 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17673 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17674 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17675 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17676 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17677 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17678 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17679 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17680 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17681 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17682 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17683 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17684 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17685 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17686 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17687 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17688 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17689 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17690 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17691 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17692 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17693 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17694 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17695 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17696 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17697 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17698 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17699 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17700 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17701 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17702 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17703 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17704 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17705 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17706 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17707 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17708 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17709 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17710 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17711 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17712 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17713 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17714 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17715 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17716 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17717 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17718 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17719 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17720 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17721 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17722 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17723 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17724 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17725 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17726 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17727 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17728 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17729 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17730 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17731 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17732 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17733 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17734 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17735 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17736 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17737 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17738 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17739 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17740 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17741 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17742 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17743 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17744 wine_fn_config_dll apphelp enable_apphelp
17745 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17746 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17747 wine_fn_config_dll atl enable_atl clean
,implib
17748 wine_fn_config_test dlls
/atl
/tests atl_test
17749 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17750 wine_fn_config_test dlls
/atl100
/tests atl100_test
17751 wine_fn_config_dll atl110 enable_atl110 clean
17752 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17753 wine_fn_config_test dlls
/atl80
/tests atl80_test
17754 wine_fn_config_dll atl90 enable_atl90 clean
17755 wine_fn_config_dll authz enable_authz
17756 wine_fn_config_dll avicap32 enable_avicap32 implib
17757 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
17758 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17759 wine_fn_config_dll avifile.dll16 enable_win16
17760 wine_fn_config_dll avrt enable_avrt implib
17761 wine_fn_config_dll bcrypt enable_bcrypt implib
17762 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17763 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17764 wine_fn_config_dll browseui enable_browseui clean
17765 wine_fn_config_test dlls
/browseui
/tests browseui_test
17766 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17767 wine_fn_config_dll cabinet enable_cabinet implib
17768 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17769 wine_fn_config_dll capi2032 enable_capi2032 implib
17770 wine_fn_config_dll cards enable_cards implib
17771 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17772 wine_fn_config_dll clusapi enable_clusapi implib
17773 wine_fn_config_dll combase enable_combase
17774 wine_fn_config_test dlls
/combase
/tests combase_test
17775 wine_fn_config_dll comcat enable_comcat
17776 wine_fn_config_test dlls
/comcat
/tests comcat_test
17777 wine_fn_config_dll comctl32 enable_comctl32 clean
,implib
17778 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17779 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
17780 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17781 wine_fn_config_dll
comm.drv16 enable_win16
17782 wine_fn_config_dll commdlg.dll16 enable_win16
17783 wine_fn_config_dll compobj.dll16 enable_win16
17784 wine_fn_config_dll compstui enable_compstui implib
17785 wine_fn_config_dll comsvcs enable_comsvcs implib
17786 wine_fn_config_dll concrt140 enable_concrt140
17787 wine_fn_config_dll connect enable_connect
17788 wine_fn_config_dll credui enable_credui clean
,implib
17789 wine_fn_config_test dlls
/credui
/tests credui_test
17790 wine_fn_config_dll crtdll enable_crtdll
17791 wine_fn_config_dll crypt32 enable_crypt32 clean
,implib
17792 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17793 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17794 wine_fn_config_dll cryptdll enable_cryptdll implib
17795 wine_fn_config_dll cryptext enable_cryptext
17796 wine_fn_config_dll cryptnet enable_cryptnet implib
17797 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17798 wine_fn_config_dll cryptui enable_cryptui clean
,implib
17799 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17800 wine_fn_config_dll ctapi32 enable_ctapi32
17801 wine_fn_config_dll ctl3d.dll16 enable_win16
17802 wine_fn_config_dll ctl3d32 enable_ctl3d32
17803 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17804 wine_fn_config_dll d2d1 enable_d2d1 implib
17805 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17806 wine_fn_config_dll d3d10 enable_d3d10 implib
17807 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17808 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17809 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
17810 wine_fn_config_dll d3d10core enable_d3d10core implib
17811 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17812 wine_fn_config_dll d3d11 enable_d3d11 implib
17813 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17814 wine_fn_config_dll d3d8 enable_d3d8 implib
17815 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17816 wine_fn_config_dll d3d9 enable_d3d9 implib
17817 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17818 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17819 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17820 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17821 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17822 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17823 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17824 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17825 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17826 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17827 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17828 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17829 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17830 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17831 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17832 wine_fn_config_dll d3dim enable_d3dim
17833 wine_fn_config_dll d3drm enable_d3drm implib
17834 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17835 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17836 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17837 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17838 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17839 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17840 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17841 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17842 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17843 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17844 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17845 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17846 wine_fn_config_test dlls
/d3dx10_43
/tests d3dx10_43_test
17847 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17848 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17849 wine_fn_config_test dlls
/d3dx11_43
/tests d3dx11_43_test
17850 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17851 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17852 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17853 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17854 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17855 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17856 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17857 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17858 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17859 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17860 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17861 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17862 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17863 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17864 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17865 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17866 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17867 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17868 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17869 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17870 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17871 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17872 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17873 wine_fn_config_dll davclnt enable_davclnt
17874 wine_fn_config_dll dbgeng enable_dbgeng implib
17875 wine_fn_config_dll dbghelp enable_dbghelp implib
17876 wine_fn_config_dll dciman32 enable_dciman32 implib
17877 wine_fn_config_dll ddeml.dll16 enable_win16
17878 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17879 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17880 wine_fn_config_dll ddrawex enable_ddrawex clean
17881 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17882 wine_fn_config_dll devenum enable_devenum clean
17883 wine_fn_config_test dlls
/devenum
/tests devenum_test
17884 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17885 wine_fn_config_dll difxapi enable_difxapi
17886 wine_fn_config_dll dinput enable_dinput clean
,implib
,staticimplib
17887 wine_fn_config_test dlls
/dinput
/tests dinput_test
17888 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17889 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17890 wine_fn_config_dll dispdib.dll16 enable_win16
17891 wine_fn_config_dll dispex enable_dispex clean
17892 wine_fn_config_test dlls
/dispex
/tests dispex_test
17893 wine_fn_config_dll display.drv16 enable_win16
17894 wine_fn_config_dll dmband enable_dmband clean
17895 wine_fn_config_test dlls
/dmband
/tests dmband_test
17896 wine_fn_config_dll dmcompos enable_dmcompos clean
17897 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17898 wine_fn_config_dll dmime enable_dmime clean
17899 wine_fn_config_test dlls
/dmime
/tests dmime_test
17900 wine_fn_config_dll dmloader enable_dmloader clean
17901 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17902 wine_fn_config_dll dmscript enable_dmscript clean
17903 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17904 wine_fn_config_dll dmstyle enable_dmstyle clean
17905 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17906 wine_fn_config_dll dmsynth enable_dmsynth clean
17907 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17908 wine_fn_config_dll dmusic enable_dmusic clean
17909 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17910 wine_fn_config_dll dmusic32 enable_dmusic32
17911 wine_fn_config_dll dnsapi enable_dnsapi implib
17912 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17913 wine_fn_config_dll dplay enable_dplay
17914 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17915 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17916 wine_fn_config_dll dpnaddr enable_dpnaddr
17917 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17918 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17919 wine_fn_config_dll dpnhpast enable_dpnhpast
17920 wine_fn_config_dll dpnlobby enable_dpnlobby
17921 wine_fn_config_dll dpvoice enable_dpvoice clean
17922 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17923 wine_fn_config_dll dpwsockx enable_dpwsockx
17924 wine_fn_config_dll drmclien enable_drmclien
17925 wine_fn_config_dll dsound enable_dsound clean
,implib
17926 wine_fn_config_test dlls
/dsound
/tests dsound_test
17927 wine_fn_config_dll dssenh enable_dssenh
17928 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17929 wine_fn_config_dll dswave enable_dswave clean
17930 wine_fn_config_test dlls
/dswave
/tests dswave_test
17931 wine_fn_config_dll dwmapi enable_dwmapi implib
17932 wine_fn_config_dll dwrite enable_dwrite implib
17933 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17934 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17935 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17936 wine_fn_config_lib dxerr8
17937 wine_fn_config_lib dxerr9
17938 wine_fn_config_dll dxgi enable_dxgi implib
17939 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17940 wine_fn_config_lib dxguid
17941 wine_fn_config_dll dxva2 enable_dxva2
17942 wine_fn_config_dll esent enable_esent
17943 wine_fn_config_dll evr enable_evr
17944 wine_fn_config_dll explorerframe enable_explorerframe clean
17945 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17946 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
17947 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
17948 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17949 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
17950 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
17951 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17952 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
17953 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
17954 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
17955 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
17956 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
17957 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
17958 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
17959 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
17960 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
17961 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
17962 wine_fn_config_dll faultrep enable_faultrep implib
17963 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17964 wine_fn_config_dll fltlib enable_fltlib
17965 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17966 wine_fn_config_dll fntcache enable_fntcache
17967 wine_fn_config_dll fontsub enable_fontsub
17968 wine_fn_config_dll fusion enable_fusion
17969 wine_fn_config_test dlls
/fusion
/tests fusion_test
17970 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17971 wine_fn_config_dll gameux enable_gameux clean
17972 wine_fn_config_test dlls
/gameux
/tests gameux_test
17973 wine_fn_config_dll gdi.exe16 enable_win16
17974 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
17975 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17976 wine_fn_config_dll gdiplus enable_gdiplus implib
17977 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17978 wine_fn_config_dll glu32 enable_glu32 implib
17979 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17980 wine_fn_config_dll gpkcsp enable_gpkcsp
17981 wine_fn_config_dll hal enable_hal
17982 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib htmlhelp
17983 wine_fn_config_dll hid enable_hid implib
17984 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17985 wine_fn_config_dll hlink enable_hlink clean
,implib
17986 wine_fn_config_test dlls
/hlink
/tests hlink_test
17987 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17988 wine_fn_config_test dlls
/hnetcfg
/tests hnetcfg_test
17989 wine_fn_config_dll httpapi enable_httpapi
17990 wine_fn_config_dll iccvid enable_iccvid clean
17991 wine_fn_config_dll icmp enable_icmp
17992 wine_fn_config_dll ieframe enable_ieframe clean
,implib
17993 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17994 wine_fn_config_dll ifsmgr.vxd enable_win16
17995 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17996 wine_fn_config_dll imagehlp enable_imagehlp implib
17997 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17998 wine_fn_config_dll imm.dll16 enable_win16
17999 wine_fn_config_dll imm32 enable_imm32 implib
18000 wine_fn_config_test dlls
/imm32
/tests imm32_test
18001 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
18002 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
18003 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18004 wine_fn_config_dll inetmib1 enable_inetmib1
18005 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
18006 wine_fn_config_dll infosoft enable_infosoft clean
18007 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
18008 wine_fn_config_dll initpki enable_initpki
18009 wine_fn_config_dll inkobj enable_inkobj
18010 wine_fn_config_dll inseng enable_inseng clean
18011 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18012 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
18013 wine_fn_config_dll iprop enable_iprop
18014 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18015 wine_fn_config_dll itircl enable_itircl
18016 wine_fn_config_dll itss enable_itss clean
18017 wine_fn_config_test dlls
/itss
/tests itss_test
18018 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18019 wine_fn_config_dll jscript enable_jscript clean
18020 wine_fn_config_test dlls
/jscript
/tests jscript_test
18021 wine_fn_config_dll jsproxy enable_jsproxy implib
18022 wine_fn_config_test dlls
/jsproxy
/tests jsproxy_test
18023 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
18024 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
18025 wine_fn_config_dll kernelbase enable_kernelbase
18026 wine_fn_config_dll keyboard.drv16 enable_win16
18027 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18028 wine_fn_config_dll ksuser enable_ksuser
18029 wine_fn_config_dll ktmw32 enable_ktmw32
18030 wine_fn_config_dll loadperf enable_loadperf implib
18031 wine_fn_config_dll localspl enable_localspl clean
18032 wine_fn_config_test dlls
/localspl
/tests localspl_test
18033 wine_fn_config_dll localui enable_localui clean
18034 wine_fn_config_test dlls
/localui
/tests localui_test
18035 wine_fn_config_dll lz32 enable_lz32 implib
18036 wine_fn_config_test dlls
/lz32
/tests lz32_test
18037 wine_fn_config_dll lzexpand.dll16 enable_win16
18038 wine_fn_config_dll mapi32 enable_mapi32 clean
,implib
18039 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
18040 wine_fn_config_dll mapistub enable_mapistub
18041 wine_fn_config_dll mciavi32 enable_mciavi32
18042 wine_fn_config_dll mcicda enable_mcicda
18043 wine_fn_config_dll mciqtz32 enable_mciqtz32
18044 wine_fn_config_dll mciseq enable_mciseq
18045 wine_fn_config_dll mciwave enable_mciwave
18046 wine_fn_config_dll mf enable_mf
18047 wine_fn_config_dll mfplat enable_mfplat
18048 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18049 wine_fn_config_dll mgmtapi enable_mgmtapi
18050 wine_fn_config_dll midimap enable_midimap
18051 wine_fn_config_dll mlang enable_mlang clean
,implib
18052 wine_fn_config_test dlls
/mlang
/tests mlang_test
18053 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18054 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
18055 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18056 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
18057 wine_fn_config_dll mmdevldr.vxd enable_win16
18058 wine_fn_config_dll mmsystem.dll16 enable_win16
18059 wine_fn_config_dll monodebg.vxd enable_win16
18060 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18061 wine_fn_config_dll mouse.drv16 enable_win16
18062 wine_fn_config_dll mpr enable_mpr clean
,implib
18063 wine_fn_config_test dlls
/mpr
/tests mpr_test
18064 wine_fn_config_dll mprapi enable_mprapi implib
18065 wine_fn_config_dll msacm.dll16 enable_win16
18066 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18067 wine_fn_config_dll msacm32 enable_msacm32 clean
,implib
18068 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
18069 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18070 wine_fn_config_dll msasn1 enable_msasn1 implib
18071 wine_fn_config_dll mscat32 enable_mscat32
18072 wine_fn_config_dll mscms enable_mscms implib
18073 wine_fn_config_test dlls
/mscms
/tests mscms_test
18074 wine_fn_config_dll mscoree enable_mscoree clean
18075 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
18076 wine_fn_config_dll msctf enable_msctf clean
18077 wine_fn_config_test dlls
/msctf
/tests msctf_test
18078 wine_fn_config_dll msctfp enable_msctfp clean
18079 wine_fn_config_dll msdaps enable_msdaps clean
18080 wine_fn_config_dll msdelta enable_msdelta
18081 wine_fn_config_dll msdmo enable_msdmo implib
18082 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
18083 wine_fn_config_dll msdrm enable_msdrm
18084 wine_fn_config_dll msftedit enable_msftedit
18085 wine_fn_config_dll msg711.acm enable_msg711_acm
18086 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18087 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18088 wine_fn_config_dll mshtml enable_mshtml clean
,implib
18089 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
18090 wine_fn_config_dll msi enable_msi clean
,implib
18091 wine_fn_config_test dlls
/msi
/tests msi_test
18092 wine_fn_config_dll msident enable_msident clean
18093 wine_fn_config_dll msimg32 enable_msimg32 implib
18094 wine_fn_config_dll msimsg enable_msimsg
18095 wine_fn_config_dll msimtf enable_msimtf clean
18096 wine_fn_config_dll msisip enable_msisip
18097 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18098 wine_fn_config_dll msls31 enable_msls31
18099 wine_fn_config_dll msnet32 enable_msnet32
18100 wine_fn_config_dll mspatcha enable_mspatcha implib
18101 wine_fn_config_dll msports enable_msports
18102 wine_fn_config_dll msrle32 enable_msrle32 clean
18103 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
18104 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18105 wine_fn_config_test dlls
/msscript.ocx
/tests msscript.ocx_test clean
18106 wine_fn_config_dll mssign32 enable_mssign32
18107 wine_fn_config_dll mssip32 enable_mssip32
18108 wine_fn_config_dll mstask enable_mstask clean
18109 wine_fn_config_test dlls
/mstask
/tests mstask_test
18110 wine_fn_config_dll msvcirt enable_msvcirt
18111 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
18112 wine_fn_config_dll msvcm80 enable_msvcm80
18113 wine_fn_config_dll msvcm90 enable_msvcm90
18114 wine_fn_config_dll msvcp100 enable_msvcp100
18115 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
18116 wine_fn_config_dll msvcp110 enable_msvcp110
18117 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
18118 wine_fn_config_dll msvcp120 enable_msvcp120
18119 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
18120 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18121 wine_fn_config_dll msvcp140 enable_msvcp140
18122 wine_fn_config_test dlls
/msvcp140
/tests msvcp140_test
18123 wine_fn_config_dll msvcp60 enable_msvcp60
18124 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
18125 wine_fn_config_dll msvcp70 enable_msvcp70
18126 wine_fn_config_dll msvcp71 enable_msvcp71
18127 wine_fn_config_dll msvcp80 enable_msvcp80
18128 wine_fn_config_dll msvcp90 enable_msvcp90
18129 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
18130 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18131 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
18132 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18133 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18134 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
18135 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18136 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18137 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18138 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18139 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18140 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
18141 wine_fn_config_dll msvcrt enable_msvcrt implib
18142 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
18143 wine_fn_config_dll msvcrt20 enable_msvcrt20
18144 wine_fn_config_dll msvcrt40 enable_msvcrt40
18145 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18146 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
18147 wine_fn_config_dll msvfw32 enable_msvfw32 clean
,implib
18148 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
18149 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18150 wine_fn_config_dll msvideo.dll16 enable_win16
18151 wine_fn_config_dll mswsock enable_mswsock implib
18152 wine_fn_config_dll msxml enable_msxml clean
18153 wine_fn_config_dll msxml2 enable_msxml2 clean
18154 wine_fn_config_dll msxml3 enable_msxml3 clean
18155 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
18156 wine_fn_config_dll msxml4 enable_msxml4 clean
18157 wine_fn_config_dll msxml6 enable_msxml6 clean
18158 wine_fn_config_dll ncrypt enable_ncrypt
18159 wine_fn_config_dll nddeapi enable_nddeapi implib
18160 wine_fn_config_dll ndis.sys enable_ndis_sys
18161 wine_fn_config_dll netapi32 enable_netapi32 implib
18162 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
18163 wine_fn_config_dll netcfgx enable_netcfgx clean
18164 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
18165 wine_fn_config_dll netprofm enable_netprofm clean
18166 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
18167 wine_fn_config_dll newdev enable_newdev implib
18168 wine_fn_config_dll normaliz enable_normaliz implib
18169 wine_fn_config_dll npmshtml enable_npmshtml
18170 wine_fn_config_dll npptools enable_npptools
18171 wine_fn_config_dll ntdll enable_ntdll implib
18172 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
18173 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18174 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
18175 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18176 wine_fn_config_dll ntprint enable_ntprint
18177 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
18178 wine_fn_config_dll objsel enable_objsel clean
18179 wine_fn_config_dll odbc32 enable_odbc32 implib
18180 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18181 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
18182 wine_fn_config_dll odbccu32 enable_odbccu32
18183 wine_fn_config_dll ole2.dll16 enable_win16
18184 wine_fn_config_dll ole2conv.dll16 enable_win16
18185 wine_fn_config_dll ole2disp.dll16 enable_win16
18186 wine_fn_config_dll ole2nls.dll16 enable_win16
18187 wine_fn_config_dll ole2prox.dll16 enable_win16
18188 wine_fn_config_dll ole2thk.dll16 enable_win16
18189 wine_fn_config_dll ole32 enable_ole32 clean
,implib
18190 wine_fn_config_test dlls
/ole32
/tests ole32_test
18191 wine_fn_config_dll oleacc enable_oleacc clean
,implib
18192 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
18193 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
18194 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
18195 wine_fn_config_dll olecli.dll16 enable_win16
18196 wine_fn_config_dll olecli32 enable_olecli32 implib
18197 wine_fn_config_dll oledb32 enable_oledb32 clean
18198 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
18199 wine_fn_config_dll oledlg enable_oledlg clean
,implib
18200 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
18201 wine_fn_config_dll olepro32 enable_olepro32 clean
,implib
18202 wine_fn_config_dll olesvr.dll16 enable_win16
18203 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18204 wine_fn_config_dll olethk32 enable_olethk32
18205 wine_fn_config_dll openal32 enable_openal32
18206 wine_fn_config_dll opencl enable_opencl
18207 wine_fn_config_dll opengl32 enable_opengl32 implib
18208 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
18209 wine_fn_config_dll packager enable_packager clean
18210 wine_fn_config_test dlls
/packager
/tests packager_test
18211 wine_fn_config_dll pdh enable_pdh implib
18212 wine_fn_config_test dlls
/pdh
/tests pdh_test
18213 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18214 wine_fn_config_dll pidgen enable_pidgen
18215 wine_fn_config_dll powrprof enable_powrprof implib
18216 wine_fn_config_dll printui enable_printui
18217 wine_fn_config_dll prntvpt enable_prntvpt
18218 wine_fn_config_dll propsys enable_propsys clean
,implib
18219 wine_fn_config_test dlls
/propsys
/tests propsys_test
18220 wine_fn_config_dll psapi enable_psapi implib
18221 wine_fn_config_test dlls
/psapi
/tests psapi_test
18222 wine_fn_config_dll pstorec enable_pstorec clean
18223 wine_fn_config_dll qcap enable_qcap
18224 wine_fn_config_test dlls
/qcap
/tests qcap_test
18225 wine_fn_config_dll qedit enable_qedit clean
18226 wine_fn_config_test dlls
/qedit
/tests qedit_test
18227 wine_fn_config_dll qmgr enable_qmgr clean
18228 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
18229 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18230 wine_fn_config_dll quartz enable_quartz clean
,implib
18231 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
18232 wine_fn_config_dll query enable_query
18233 wine_fn_config_dll rasapi16.dll16 enable_win16
18234 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18235 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
18236 wine_fn_config_dll rasdlg enable_rasdlg implib
18237 wine_fn_config_dll regapi enable_regapi
18238 wine_fn_config_dll resutils enable_resutils implib
18239 wine_fn_config_dll riched20 enable_riched20 clean
,implib
18240 wine_fn_config_test dlls
/riched20
/tests riched20_test
18241 wine_fn_config_dll riched32 enable_riched32
18242 wine_fn_config_test dlls
/riched32
/tests riched32_test
18243 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
18244 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
18245 wine_fn_config_dll rsabase enable_rsabase
18246 wine_fn_config_dll rsaenh enable_rsaenh implib
18247 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
18248 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18249 wine_fn_config_dll rtutils enable_rtutils implib
18250 wine_fn_config_dll samlib enable_samlib
18251 wine_fn_config_dll sane.ds enable_sane_ds clean
18252 wine_fn_config_dll scarddlg enable_scarddlg
18253 wine_fn_config_dll sccbase enable_sccbase
18254 wine_fn_config_dll schannel enable_schannel
18255 wine_fn_config_test dlls
/schannel
/tests schannel_test
18256 wine_fn_config_dll schedsvc enable_schedsvc clean
18257 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
18258 wine_fn_config_dll scrrun enable_scrrun clean
18259 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
18260 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18261 wine_fn_config_dll secur32 enable_secur32 implib
18262 wine_fn_config_test dlls
/secur32
/tests secur32_test
18263 wine_fn_config_dll security enable_security
18264 wine_fn_config_dll sensapi enable_sensapi implib
18265 wine_fn_config_dll serialui enable_serialui clean
18266 wine_fn_config_test dlls
/serialui
/tests serialui_test
18267 wine_fn_config_dll setupapi enable_setupapi clean
,implib
18268 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
18269 wine_fn_config_dll setupx.dll16 enable_win16
18270 wine_fn_config_dll sfc enable_sfc implib
18271 wine_fn_config_dll sfc_os enable_sfc_os implib
18272 wine_fn_config_dll shdoclc enable_shdoclc clean
18273 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
18274 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
18275 wine_fn_config_dll shell.dll16 enable_win16
18276 wine_fn_config_dll shell32 enable_shell32 clean
,implib
18277 wine_fn_config_test dlls
/shell32
/tests shell32_test
18278 wine_fn_config_dll shfolder enable_shfolder implib
18279 wine_fn_config_dll shlwapi enable_shlwapi clean
,implib
18280 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
18281 wine_fn_config_dll slbcsp enable_slbcsp
18282 wine_fn_config_dll slc enable_slc implib
18283 wine_fn_config_test dlls
/slc
/tests slc_test
18284 wine_fn_config_dll snmpapi enable_snmpapi implib
18285 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
18286 wine_fn_config_dll softpub enable_softpub
18287 wine_fn_config_dll sound.drv16 enable_win16
18288 wine_fn_config_dll spoolss enable_spoolss implib
18289 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
18290 wine_fn_config_dll sspicli enable_sspicli
18291 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18292 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18293 wine_fn_config_dll sti enable_sti clean
,implib
18294 wine_fn_config_test dlls
/sti
/tests sti_test
18295 wine_fn_config_dll storage.dll16 enable_win16
18296 wine_fn_config_dll stress.dll16 enable_win16
18297 wine_fn_config_lib strmbase
18298 wine_fn_config_lib strmiids
18299 wine_fn_config_dll svrapi enable_svrapi
18300 wine_fn_config_dll sxs enable_sxs implib
18301 wine_fn_config_test dlls
/sxs
/tests sxs_test
18302 wine_fn_config_dll system.drv16 enable_win16
18303 wine_fn_config_dll t2embed enable_t2embed implib
18304 wine_fn_config_test dlls
/t2embed
/tests t2embed_test
18305 wine_fn_config_dll tapi32 enable_tapi32 implib
18306 wine_fn_config_dll taskschd enable_taskschd clean
18307 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
18308 wine_fn_config_dll tdi.sys enable_tdi_sys
18309 wine_fn_config_dll toolhelp.dll16 enable_win16
18310 wine_fn_config_dll traffic enable_traffic
18311 wine_fn_config_dll twain.dll16 enable_win16
18312 wine_fn_config_dll twain_32 enable_twain_32
18313 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
18314 wine_fn_config_dll typelib.dll16 enable_win16
18315 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18316 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
18317 wine_fn_config_dll unicows enable_unicows implib
18318 wine_fn_config_dll updspapi enable_updspapi
18319 wine_fn_config_dll url enable_url implib
18320 wine_fn_config_dll urlmon enable_urlmon clean
,implib
18321 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
18322 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18323 wine_fn_config_dll user.exe16 enable_win16
18324 wine_fn_config_dll user32 enable_user32 clean
,implib
18325 wine_fn_config_test dlls
/user32
/tests user32_test
18326 wine_fn_config_dll userenv enable_userenv implib
18327 wine_fn_config_test dlls
/userenv
/tests userenv_test
18328 wine_fn_config_dll usp10 enable_usp10 implib
18329 wine_fn_config_test dlls
/usp10
/tests usp10_test
18330 wine_fn_config_lib uuid
18331 wine_fn_config_dll uxtheme enable_uxtheme implib
18332 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
18333 wine_fn_config_dll vbscript enable_vbscript clean
18334 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
18335 wine_fn_config_dll vcomp enable_vcomp
18336 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
18337 wine_fn_config_dll vcomp100 enable_vcomp100
18338 wine_fn_config_dll vcomp110 enable_vcomp110
18339 wine_fn_config_dll vcomp120 enable_vcomp120
18340 wine_fn_config_dll vcomp140 enable_vcomp140
18341 wine_fn_config_dll vcomp90 enable_vcomp90
18342 wine_fn_config_dll vcruntime140 enable_vcruntime140
18343 wine_fn_config_dll vdhcp.vxd enable_win16
18344 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18345 wine_fn_config_dll ver.dll16 enable_win16
18346 wine_fn_config_dll version enable_version implib
18347 wine_fn_config_test dlls
/version
/tests version_test
18348 wine_fn_config_dll vmm.vxd enable_win16
18349 wine_fn_config_dll vnbt.vxd enable_win16
18350 wine_fn_config_dll vnetbios.vxd enable_win16
18351 wine_fn_config_dll vssapi enable_vssapi
18352 wine_fn_config_dll vtdapi.vxd enable_win16
18353 wine_fn_config_dll vwin32.vxd enable_win16
18354 wine_fn_config_dll w32skrnl enable_win16
18355 wine_fn_config_dll w32sys.dll16 enable_win16
18356 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18357 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
18358 wine_fn_config_dll wbemprox enable_wbemprox clean
18359 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
18360 wine_fn_config_dll webservices enable_webservices implib
18361 wine_fn_config_test dlls
/webservices
/tests webservices_test
18362 wine_fn_config_dll wer enable_wer implib
18363 wine_fn_config_test dlls
/wer
/tests wer_test
18364 wine_fn_config_dll wevtapi enable_wevtapi
18365 wine_fn_config_dll wiaservc enable_wiaservc clean
18366 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
18367 wine_fn_config_dll wimgapi enable_wimgapi
18368 wine_fn_config_dll win32s16.dll16 enable_win16
18369 wine_fn_config_dll win87em.dll16 enable_win16
18370 wine_fn_config_dll winaspi.dll16 enable_win16
18371 wine_fn_config_dll windebug.dll16 enable_win16
18372 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
18373 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
18374 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18375 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
18376 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18377 wine_fn_config_dll winebus.sys enable_winebus_sys
18378 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18379 wine_fn_config_lib winecrt0
18380 wine_fn_config_dll wined3d enable_wined3d implib
18381 wine_fn_config_dll winegstreamer enable_winegstreamer
18382 wine_fn_config_dll winehid.sys enable_winehid_sys
18383 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18384 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18385 wine_fn_config_dll winemapi enable_winemapi
18386 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18387 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18388 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18389 wine_fn_config_dll wineps16.drv16 enable_win16
18390 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18391 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18392 wine_fn_config_dll winex11.drv enable_winex11_drv
18393 wine_fn_config_dll wing.dll16 enable_win16
18394 wine_fn_config_dll wing32 enable_wing32
18395 wine_fn_config_dll winhttp enable_winhttp clean
,implib
18396 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
18397 wine_fn_config_dll wininet enable_wininet clean
,implib
18398 wine_fn_config_test dlls
/wininet
/tests wininet_test
18399 wine_fn_config_dll winmm enable_winmm clean
,implib
18400 wine_fn_config_test dlls
/winmm
/tests winmm_test
18401 wine_fn_config_dll winnls.dll16 enable_win16
18402 wine_fn_config_dll winnls32 enable_winnls32 implib
18403 wine_fn_config_dll winscard enable_winscard implib
18404 wine_fn_config_dll winsock.dll16 enable_win16
18405 wine_fn_config_dll winspool.drv enable_winspool_drv clean
,implib winspool
18406 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
18407 wine_fn_config_dll winsta enable_winsta
18408 wine_fn_config_dll wintab.dll16 enable_win16
18409 wine_fn_config_dll wintab32 enable_wintab32 implib
18410 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
18411 wine_fn_config_dll wintrust enable_wintrust implib
18412 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
18413 wine_fn_config_dll wlanapi enable_wlanapi
18414 wine_fn_config_dll wldap32 enable_wldap32 clean
,implib
18415 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
18416 wine_fn_config_dll wmasf enable_wmasf
18417 wine_fn_config_dll wmi enable_wmi
18418 wine_fn_config_dll wmiutils enable_wmiutils clean
18419 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
18420 wine_fn_config_dll wmp enable_wmp clean
18421 wine_fn_config_test dlls
/wmp
/tests wmp_test
18422 wine_fn_config_dll wmvcore enable_wmvcore
18423 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18424 wine_fn_config_dll wow32 enable_win16 implib
18425 wine_fn_config_dll wpc enable_wpc clean
18426 wine_fn_config_test dlls
/wpc
/tests wpc_test
18427 wine_fn_config_dll wpcap enable_wpcap
18428 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18429 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
18430 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18431 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
18432 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18433 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
18434 wine_fn_config_dll wsock32 enable_wsock32 implib
18435 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18436 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
18437 wine_fn_config_dll wuapi enable_wuapi clean
18438 wine_fn_config_dll wuaueng enable_wuaueng
18439 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18440 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18441 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18442 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18443 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18444 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18445 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18446 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18447 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18448 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18449 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18450 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18451 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18452 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18453 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18454 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18455 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18456 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18457 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18458 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18459 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18460 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
18461 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18462 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18463 wine_fn_config_dll xinput1_1 enable_xinput1_1
18464 wine_fn_config_dll xinput1_2 enable_xinput1_2
18465 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18466 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
18467 wine_fn_config_dll xinput1_4 enable_xinput1_4
18468 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18469 wine_fn_config_dll xmllite enable_xmllite implib
18470 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
18471 wine_fn_config_dll xolehlp enable_xolehlp
18472 wine_fn_config_dll xpsprint enable_xpsprint
18473 wine_fn_config_dll xpssvcs enable_xpssvcs
18474 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
18475 wine_fn_config_makefile include enable_include clean
,install-dev
18476 wine_fn_config_makefile libs
/port enable_libs_port
18477 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,implib
,install-dev
,install-lib
18478 wine_fn_config_makefile libs
/wpp enable_libs_wpp
18479 wine_fn_config_makefile loader enable_loader clean
,install-lib
18480 wine_fn_config_makefile po enable_po clean
18481 wine_fn_config_program arp enable_arp
install
18482 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
18483 wine_fn_config_program attrib enable_attrib clean
,install
18484 wine_fn_config_program cabarc enable_cabarc
install
18485 wine_fn_config_program cacls enable_cacls
install
18486 wine_fn_config_program
clock enable_clock clean
,install
18487 wine_fn_config_program cmd enable_cmd clean
,install
18488 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
18489 wine_fn_config_program conhost enable_conhost
install
18490 wine_fn_config_program control enable_control
install
18491 wine_fn_config_program cscript enable_cscript clean
,install
18492 wine_fn_config_program dpnsvr enable_dpnsvr
install
18493 wine_fn_config_program dxdiag enable_dxdiag clean
,install
18494 wine_fn_config_program eject enable_eject
install
18495 wine_fn_config_program
expand enable_expand
install
18496 wine_fn_config_program explorer enable_explorer clean
,install
18497 wine_fn_config_program extrac32 enable_extrac32
install
18498 wine_fn_config_program findstr enable_findstr
install
18499 wine_fn_config_program fsutil enable_fsutil
install
18500 wine_fn_config_program hh enable_hh
install
18501 wine_fn_config_program hostname enable_hostname clean
,install
18502 wine_fn_config_program icacls enable_icacls
install
18503 wine_fn_config_program icinfo enable_icinfo
install
18504 wine_fn_config_program iexplore enable_iexplore
install
18505 wine_fn_config_program ipconfig enable_ipconfig clean
,install
18506 wine_fn_config_program lodctr enable_lodctr
install
18507 wine_fn_config_program mofcomp enable_mofcomp
install
18508 wine_fn_config_program mshta enable_mshta
install
18509 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18510 wine_fn_config_program msinfo32 enable_msinfo32 clean
,install
18511 wine_fn_config_program net enable_net clean
,install
18512 wine_fn_config_program netsh enable_netsh
install
18513 wine_fn_config_program netstat enable_netstat clean
,install
18514 wine_fn_config_program ngen enable_ngen
install
18515 wine_fn_config_program notepad enable_notepad clean
,install,installbin
,manpage
18516 wine_fn_config_program oleview enable_oleview clean
,install
18517 wine_fn_config_program
ping enable_ping
install
18518 wine_fn_config_program plugplay enable_plugplay
install
18519 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18520 wine_fn_config_program progman enable_progman clean
,install
18521 wine_fn_config_program reg enable_reg clean
,install
18522 wine_fn_config_test programs
/reg
/tests reg.exe_test
18523 wine_fn_config_program regasm enable_regasm
install
18524 wine_fn_config_program regedit enable_regedit clean
,install,installbin
,manpage
18525 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18526 wine_fn_config_program regsvcs enable_regsvcs
install
18527 wine_fn_config_program regsvr32 enable_regsvr32 clean
,install,installbin
,manpage
18528 wine_fn_config_program rpcss enable_rpcss clean
,install
18529 wine_fn_config_program rundll.exe16 enable_win16
install
18530 wine_fn_config_program rundll32 enable_rundll32
install
18531 wine_fn_config_program sc enable_sc
install
18532 wine_fn_config_program schtasks enable_schtasks
install
18533 wine_fn_config_program sdbinst enable_sdbinst
install
18534 wine_fn_config_program secedit enable_secedit
install
18535 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18536 wine_fn_config_program services enable_services clean
,install
18537 wine_fn_config_test programs
/services
/tests services.exe_test
18538 wine_fn_config_program shutdown enable_shutdown
install
18539 wine_fn_config_program spoolsv enable_spoolsv
install
18540 wine_fn_config_program start enable_start clean
,install
18541 wine_fn_config_program subst enable_subst
install
18542 wine_fn_config_program svchost enable_svchost
install
18543 wine_fn_config_program systeminfo enable_systeminfo
install
18544 wine_fn_config_program taskkill enable_taskkill clean
,install
18545 wine_fn_config_program tasklist enable_tasklist
install
18546 wine_fn_config_program taskmgr enable_taskmgr clean
,install
18547 wine_fn_config_program termsv enable_termsv
install
18548 wine_fn_config_program uninstaller enable_uninstaller clean
,install
18549 wine_fn_config_program unlodctr enable_unlodctr
install
18550 wine_fn_config_program view enable_view clean
,install
18551 wine_fn_config_program wevtutil enable_wevtutil
install
18552 wine_fn_config_program wineboot enable_wineboot clean
,install,installbin
,manpage
18553 wine_fn_config_program winebrowser enable_winebrowser
install
18554 wine_fn_config_program winecfg enable_winecfg clean
,install,installbin
,manpage
18555 wine_fn_config_program wineconsole enable_wineconsole clean
,install,installbin
,manpage
18556 wine_fn_config_program winedbg enable_winedbg clean
,install,installbin
,manpage
18557 wine_fn_config_program winedevice enable_winedevice
install
18558 wine_fn_config_program winefile enable_winefile clean
,install,installbin
,manpage
18559 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18560 wine_fn_config_program winemine enable_winemine clean
,install,installbin
,manpage
18561 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18562 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18563 wine_fn_config_program winetest enable_winetest clean
18564 wine_fn_config_program winevdm enable_win16
install
18565 wine_fn_config_program winhelp.exe16 enable_win16
install
18566 wine_fn_config_program winhlp32 enable_winhlp32 clean
,install
18567 wine_fn_config_program winoldap.mod16 enable_win16
install
18568 wine_fn_config_program winver enable_winver
install
18569 wine_fn_config_program wmic enable_wmic clean
,install
18570 wine_fn_config_program wmplayer enable_wmplayer
install
18571 wine_fn_config_program wordpad enable_wordpad clean
,install
18572 wine_fn_config_program
write enable_write clean
,install
18573 wine_fn_config_program wscript enable_wscript clean
,install
18574 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18575 wine_fn_config_program wusa enable_wusa
install
18576 wine_fn_config_program xcopy enable_xcopy clean
,install
18577 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18578 wine_fn_config_makefile server enable_server clean
,install-lib
18579 wine_fn_config_tool tools clean
18580 wine_fn_config_tool tools
/sfnt2fon clean
18581 wine_fn_config_tool tools
/widl clean
,install-dev
18582 wine_fn_config_tool tools
/winebuild clean
,install-dev
18583 wine_fn_config_tool tools
/winedump clean
,install-dev
18584 wine_fn_config_tool tools
/winegcc clean
,install-dev
18585 wine_fn_config_tool tools
/winemaker clean
,install-dev
18586 wine_fn_config_tool tools
/wmc clean
,install-dev
18587 wine_fn_config_tool tools
/wrc clean
,install-dev
18590 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
18591 wine_fn_append_file CONFIGURE_TARGETS
"tags"
18592 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
18593 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
18594 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
18595 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
18596 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
18597 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
18599 if test "x$enable_tools" != xno
18601 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
18602 ac_config_commands
="$ac_config_commands tools/makedep"
18606 ac_config_commands
="$ac_config_commands Makefile"
18609 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
18613 if test "x$enable_maintainer_mode" = xyes
18615 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18616 autoconf --warnings=all
18617 include/config.h.in: include/stamp-h.in
18618 include/stamp-h.in: configure.ac aclocal.m4
18619 autoheader --warnings=all
18620 @echo timestamp > \$@"
18623 if test "x$enable_tools" != xno
18625 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18626 @./config.status tools/makedep
18627 Makefile: tools/makedep$ac_exeext"
18629 wine_fn_append_rule
"\$(MAKEDEP):
18630 @echo \"You need to run make in $TOOLSDIR first\" && false"
18633 if test -n "$with_wine64"
18635 wine_fn_append_rule
"all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18637 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18638 $with_wine64/loader/wine:
18639 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18640 $with_wine64/loader/wine-preloader:
18641 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18643 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18645 WINELOADER_INSTALL
="wine.inf"
18647 wine_fn_append_rule
"install install-lib::
18648 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18650 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18652 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
18653 *) wine_fn_append_rule
"install install-lib::
18654 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18656 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18660 $as_echo " done" >&6
18661 cat >confcache
<<\_ACEOF
18662 # This file is a shell script that caches the results of configure
18663 # tests run on this system so they can be shared between configure
18664 # scripts and configure runs, see configure's option --config-cache.
18665 # It is not useful on other systems. If it contains results you don't
18666 # want to keep, you may remove or edit it.
18668 # config.status only pays attention to the cache file if you give it
18669 # the --recheck option to rerun configure.
18671 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18672 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18673 # following values.
18677 # The following way of writing the cache mishandles newlines in values,
18678 # but we know of no workaround that is simple, portable, and efficient.
18679 # So, we kill variables containing newlines.
18680 # Ultrix sh set writes to stderr and can't be redirected directly,
18681 # and sets the high bit in the cache file unless we assign to the vars.
18683 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18684 eval ac_val
=\$
$ac_var
18688 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18689 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18692 _ | IFS | as_nl
) ;; #(
18693 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18694 *) { eval $ac_var=; unset $ac_var;} ;;
18700 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18701 *${as_nl}ac_space
=\
*)
18702 # `set' does not quote correctly, so add quotes: double-quote
18703 # substitution turns \\\\ into \\, and sed turns \\ into \.
18706 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18709 # `set' quotes correctly as required by POSIX, so do not add quotes.
18710 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18719 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18721 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18723 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18724 if test -w "$cache_file"; then
18725 if test "x$cache_file" != "x/dev/null"; then
18726 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18727 $as_echo "$as_me: updating cache $cache_file" >&6;}
18728 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18729 cat confcache
>"$cache_file"
18731 case $cache_file in #(
18733 mv -f confcache
"$cache_file"$$
&&
18734 mv -f "$cache_file"$$
"$cache_file" ;; #(
18736 mv -f confcache
"$cache_file" ;;
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18742 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18747 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18748 # Let make expand exec_prefix.
18749 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18751 DEFS
=-DHAVE_CONFIG_H
18756 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18757 # 1. Remove the extension, and $U if already installed.
18758 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18759 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18760 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18761 # will be set to the directory where LIBOBJS objects are built.
18762 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18763 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18765 LIBOBJS
=$ac_libobjs
18767 LTLIBOBJS
=$ac_ltlibobjs
18771 : "${CONFIG_STATUS=./config.status}"
18773 ac_clean_files_save
=$ac_clean_files
18774 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18775 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18776 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18778 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18780 # Generated by $as_me.
18781 # Run this file to recreate the current configuration.
18782 # Compiler output produced by configure, useful for debugging
18783 # configure, is in config.log if it exists.
18786 ac_cs_recheck=false
18789 SHELL=\${CONFIG_SHELL-$SHELL}
18792 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18793 ## -------------------- ##
18794 ## M4sh Initialization. ##
18795 ## -------------------- ##
18797 # Be more Bourne compatible
18798 DUALCASE
=1; export DUALCASE
# for MKS sh
18799 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18802 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18803 # is contrary to our usage. Disable this feature.
18804 alias -g '${1+"$@"}'='"$@"'
18805 setopt NO_GLOB_SUBST
18807 case `(set -o) 2>/dev/null` in #(
18819 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18820 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18821 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18822 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18823 # Prefer a ksh shell builtin over an external printf program on Solaris,
18824 # but without wasting forks for bash or zsh.
18825 if test -z "$BASH_VERSION$ZSH_VERSION" \
18826 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18827 as_echo='print
-r --'
18828 as_echo_n='print
-rn --'
18829 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18830 as_echo='printf %s
\n'
18831 as_echo_n='printf %s
'
18833 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18834 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18835 as_echo_n='/usr
/ucb
/echo -n'
18837 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18838 as_echo_n_body='eval
18842 expr "X$arg" : "X\\(.*\\)$as_nl";
18843 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18845 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18847 export as_echo_n_body
18848 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18850 export as_echo_body
18851 as_echo='sh
-c $as_echo_body as_echo
'
18854 # The user is always right.
18855 if test "${PATH_SEPARATOR+set}" != set; then
18857 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18858 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18865 # We need space, tab and new line, in precisely that order. Quoting is
18866 # there to prevent editors from complaining about space-tab.
18867 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18868 # splitting by setting IFS to empty value.)
18871 # Find who we are. Look in the path if we contain no directory separator.
18874 *[\\/]* ) as_myself=$0 ;;
18875 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18876 for as_dir in $PATH
18879 test -z "$as_dir" && as_dir=.
18880 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18886 # We did not find ourselves, most probably we were run as `sh COMMAND'
18887 # in which case we are not to be found in the path.
18888 if test "x$as_myself" = x
; then
18891 if test ! -f "$as_myself"; then
18892 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18896 # Unset variables that we do not need and which cause bugs (e.g. in
18897 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18898 # suppresses any "Segmentation fault" message there. '((' could
18899 # trigger a bug in pdksh 5.2.14.
18900 for as_var
in BASH_ENV ENV MAIL MAILPATH
18901 do eval test x\
${$as_var+set} = xset \
18902 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18915 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18918 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18919 # ----------------------------------------
18920 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18921 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18922 # script with STATUS, using 1 if that was 0.
18925 as_status
=$1; test $as_status -eq 0 && as_status
=1
18927 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18928 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18930 $as_echo "$as_me: error: $2" >&2
18931 as_fn_exit
$as_status
18935 # as_fn_set_status STATUS
18936 # -----------------------
18937 # Set $? to STATUS, without forking.
18938 as_fn_set_status
()
18941 } # as_fn_set_status
18943 # as_fn_exit STATUS
18944 # -----------------
18945 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18949 as_fn_set_status
$1
18955 # Portably unset VAR.
18958 { eval $1=; unset $1;}
18960 as_unset
=as_fn_unset
18961 # as_fn_append VAR VALUE
18962 # ----------------------
18963 # Append the text in VALUE to the end of the definition contained in VAR. Take
18964 # advantage of any shell optimizations that allow amortized linear growth over
18965 # repeated appends, instead of the typical quadratic growth present in naive
18967 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18968 eval 'as_fn_append ()
18979 # as_fn_arith ARG...
18980 # ------------------
18981 # Perform arithmetic evaluation on the ARGs, and store the result in the
18982 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18983 # must be portable across $(()) and expr.
18984 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18985 eval 'as_fn_arith ()
18992 as_val
=`expr "$@" || test $? -eq 1`
18997 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18998 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19004 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19005 as_basename
=basename
19010 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19016 as_me
=`$as_basename -- "$0" ||
19017 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19018 X"$0" : 'X\(//\)$' \| \
19019 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19021 sed '/^.*\/\([^/][^/]*\)\/*$/{
19035 # Avoid depending upon Character Ranges.
19036 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19037 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19038 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19039 as_cr_digits
='0123456789'
19040 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19042 ECHO_C
= ECHO_N
= ECHO_T
=
19043 case `echo -n x` in #(((((
19045 case `echo 'xy\c'` in
19046 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19048 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19055 rm -f conf$$ conf$$.exe conf$$.
file
19056 if test -d conf$$.dir
; then
19057 rm -f conf$$.dir
/conf$$.
file
19060 mkdir conf$$.dir
2>/dev
/null
19062 if (echo >conf$$.
file) 2>/dev
/null
; then
19063 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19065 # ... but there are two gotchas:
19066 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19067 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19068 # In both cases, we have to default to `cp -pR'.
19069 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19071 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19079 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19080 rmdir conf$$.dir
2>/dev
/null
19085 # Create "$as_dir" as a directory, including parents if necessary.
19090 -*) as_dir
=.
/$as_dir;;
19092 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19096 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19097 *) as_qdir
=$as_dir;;
19099 as_dirs
="'$as_qdir' $as_dirs"
19100 as_dir
=`$as_dirname -- "$as_dir" ||
19101 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19102 X"$as_dir" : 'X\(//\)[^/]' \| \
19103 X"$as_dir" : 'X\(//\)$' \| \
19104 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19105 $as_echo X"$as_dir" |
19106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19110 /^X\(\/\/\)[^/].*/{
19123 test -d "$as_dir" && break
19125 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19126 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19130 if mkdir
-p .
2>/dev
/null
; then
19131 as_mkdir_p
='mkdir -p "$as_dir"'
19133 test -d .
/-p && rmdir .
/-p
19138 # as_fn_executable_p FILE
19139 # -----------------------
19140 # Test if FILE is an executable regular file.
19141 as_fn_executable_p
()
19143 test -f "$1" && test -x "$1"
19144 } # as_fn_executable_p
19145 as_test_x
='test -x'
19146 as_executable_p
=as_fn_executable_p
19148 # Sed expression to map a string onto a valid CPP name.
19149 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19151 # Sed expression to map a string onto a valid variable name.
19152 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19156 ## ----------------------------------- ##
19157 ## Main body of $CONFIG_STATUS script. ##
19158 ## ----------------------------------- ##
19160 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19163 # Save the log message, to keep $0 and so on meaningful, and to
19164 # report actual input values of CONFIG_FILES etc. instead of their
19165 # values after options handling.
19167 This file was extended by Wine $as_me 1.9.23, which was
19168 generated by GNU Autoconf 2.69. Invocation command line was
19170 CONFIG_FILES = $CONFIG_FILES
19171 CONFIG_HEADERS = $CONFIG_HEADERS
19172 CONFIG_LINKS = $CONFIG_LINKS
19173 CONFIG_COMMANDS = $CONFIG_COMMANDS
19176 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19181 case $ac_config_files in *"
19182 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19185 case $ac_config_headers in *"
19186 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19191 # Files that config.status was made for.
19192 config_files="$ac_config_files"
19193 config_headers="$ac_config_headers"
19194 config_links="$ac_config_links"
19195 config_commands="$ac_config_commands"
19199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19201 \`$as_me' instantiates files and other configuration actions
19202 from templates according to the current configuration. Unless the files
19203 and actions are specified as TAGs, all are instantiated by default.
19205 Usage: $0 [OPTION]... [TAG]...
19207 -h, --help print this help, then exit
19208 -V, --version print version number and configuration settings, then exit
19209 --config print configuration, then exit
19210 -q, --quiet, --silent
19211 do not print progress messages
19212 -d, --debug don't remove temporary files
19213 --recheck update $as_me by reconfiguring in the same conditions
19214 --file=FILE[:TEMPLATE]
19215 instantiate the configuration file FILE
19216 --header=FILE[:TEMPLATE]
19217 instantiate the configuration header FILE
19219 Configuration files:
19222 Configuration headers:
19225 Configuration links:
19228 Configuration commands:
19231 Report bugs to <wine-devel@winehq.org>.
19232 Wine home page: <http://www.winehq.org>."
19235 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19236 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19238 Wine config.status 1.9.23
19239 configured by $0, generated by GNU Autoconf 2.69,
19240 with options \\"\$ac_cs_config\\"
19242 Copyright (C) 2012 Free Software Foundation, Inc.
19243 This config.status script is free software; the Free Software Foundation
19244 gives unlimited permission to copy, distribute and modify it."
19248 test -n "\$AWK" || AWK=awk
19251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19252 # The default lists apply if the user does not specify any file.
19258 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19259 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19263 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19275 # Handling of the options.
19276 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19278 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19279 $as_echo "$ac_cs_version"; exit ;;
19280 --config |
--confi |
--conf |
--con |
--co |
--c )
19281 $as_echo "$ac_cs_config"; exit ;;
19282 --debug |
--debu |
--deb |
--de |
--d |
-d )
19284 --file |
--fil |
--fi |
--f )
19287 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19288 '') as_fn_error $?
"missing file argument" ;;
19290 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19291 ac_need_defaults
=false
;;
19292 --header |
--heade |
--head |
--hea )
19295 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19297 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19298 ac_need_defaults
=false
;;
19300 # Conflict between --help and --header
19301 as_fn_error $?
"ambiguous option: \`$1'
19302 Try \`$0 --help' for more information.";;
19303 --help |
--hel |
-h )
19304 $as_echo "$ac_cs_usage"; exit ;;
19305 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19306 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19309 # This is an error.
19310 -*) as_fn_error $?
"unrecognized option: \`$1'
19311 Try \`$0 --help' for more information." ;;
19313 *) as_fn_append ac_config_targets
" $1"
19314 ac_need_defaults
=false
;;
19320 ac_configure_extra_args
=
19322 if $ac_cs_silent; then
19324 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19329 if \$ac_cs_recheck; then
19330 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19332 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19333 CONFIG_SHELL='$SHELL'
19334 export CONFIG_SHELL
19339 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19343 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19344 ## Running $as_me. ##
19350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19354 wine_fn_output_makedep ()
19356 as_dir=tools; as_fn_mkdir_p
19357 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19359 wine_fn_output_makefile ()
19361 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19362 `cat $wine_rules_file`
19364 as_fn_error $? "could not create Makefile" "$LINENO" 5
19369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19371 # Handling of arguments.
19372 for ac_config_target
in $ac_config_targets
19374 case $ac_config_target in
19375 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19376 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
19377 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19378 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19379 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19380 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19381 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19382 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19383 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
19384 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19385 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
19386 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
19387 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19389 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19394 # If the user did not use the arguments to specify the items to instantiate,
19395 # then the envvar interface is used. Set only those that are not.
19396 # We use the long form for the default assignment because of an extremely
19397 # bizarre bug on SunOS 4.1.3.
19398 if $ac_need_defaults; then
19399 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19400 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19401 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19402 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19405 # Have a temporary directory for convenience. Make it in the build tree
19406 # simply because there is no reason against having it here, and in addition,
19407 # creating and moving files from /tmp can sometimes cause problems.
19408 # Hook for its removal unless debugging.
19409 # Note that there is a small window in which the directory will not be cleaned:
19410 # after its creation but before its name has been assigned to `$tmp'.
19414 trap 'exit_status=$?
19415 : "${ac_tmp:=$tmp}"
19416 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19418 trap 'as_fn_exit 1' 1 2 13 15
19420 # Create a (secure) tmp directory for tmp files.
19423 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19427 tmp
=.
/conf$$
-$RANDOM
19428 (umask 077 && mkdir
"$tmp")
19429 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19432 # Set up the scripts for CONFIG_FILES section.
19433 # No need to generate them if there are no CONFIG_FILES.
19434 # This happens for instance with `./config.status config.h'.
19435 if test -n "$CONFIG_FILES"; then
19438 ac_cr
=`echo X | tr X '\015'`
19439 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19440 # But we know of no other shell where ac_cr would be empty at this
19441 # point, so we can use a bashism as a fallback.
19442 if test "x$ac_cr" = x
; then
19443 eval ac_cr
=\$
\'\\r
\'
19445 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19446 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19449 ac_cs_awk_cr
=$ac_cr
19452 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19457 echo "cat >conf$$subs.awk <<_ACEOF" &&
19458 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19460 } >conf$$subs.sh ||
19461 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19462 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19464 for ac_last_try in false false false false false :; do
19465 . ./conf$$subs.sh ||
19466 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19468 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19469 if test $ac_delim_n = $ac_delim_num; then
19471 elif $ac_last_try; then
19472 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19474 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19477 rm -f conf$$subs.sh
19479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19480 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19484 s/^/S["/; s
/!.
*/"]=/
19494 s/\(.\{148\}\)..*/\1/
19496 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19501 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19508 s/\(.\{148\}\)..*/\1/
19510 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19514 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19519 ' <conf$$subs.awk | sed '
19524 ' >>$CONFIG_STATUS || ac_write_fail=1
19525 rm -f conf$$subs.awk
19526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19528 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19529 for (key in S) S_is_set[key] = 1
19535 nfields = split(line, field, "@
")
19537 len = length(field[1])
19538 for (i = 2; i < nfields; i++) {
19540 keylen = length(key)
19541 if (S_is_set[key]) {
19543 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19544 len += length(value) + length(field[++i])
19555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19556 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19557 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19560 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19561 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19564 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19565 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19566 # trailing colons and then remove the whole line if VPATH becomes empty
19567 # (actually we leave an empty line to preserve line numbers).
19568 if test "x
$srcdir" = x.; then
19569 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19588 fi # test -n "$CONFIG_FILES"
19590 # Set up the scripts for CONFIG_HEADERS section.
19591 # No need to generate them if there are no CONFIG_HEADERS.
19592 # This happens for instance with `./config.status Makefile'.
19593 if test -n "$CONFIG_HEADERS"; then
19594 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19598 # Transform confdefs.h into an awk script `defines.awk', embedded as
19599 # here-document in config.status, that substitutes the proper values into
19600 # config.h.in to produce config.h.
19602 # Create a delimiter string that does not exist in confdefs.h, to ease
19603 # handling of long lines.
19605 for ac_last_try in false false :; do
19606 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19607 if test -z "$ac_tt"; then
19609 elif $ac_last_try; then
19610 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19612 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19616 # For the awk script, D is an array of macro values keyed by name,
19617 # likewise P contains macro parameters if any. Preserve backslash
19618 # newline sequences.
19620 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19622 s/.\{148\}/&'"$ac_delim"'/g
19625 s/^[ ]*#[ ]*define[ ][ ]*/ /
19632 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19634 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19638 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19639 D["\
1"]=" \
3\\\\\\n
"\\/p
19641 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19646 s/.\{148\}/&'"$ac_delim"'/g
19651 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19654 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19656 ' <confdefs.h | sed '
19657 s/'"$ac_delim"'/"\\\
19658 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19660 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19661 for (key in D) D_is_set[key] = 1
19664 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19666 split(line, arg, " ")
19667 if (arg[1] == "#") {
19671 defundef
= substr
(arg
[1], 2)
19674 split(mac1
, mac2
, "(") #)
19676 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19677 if (D_is_set
[macro
]) {
19678 # Preserve the white space surrounding the "#".
19679 print prefix
"define", macro P
[macro
] D
[macro
]
19682 # Replace #undef with comments. This is necessary, for example,
19683 # in the case of _POSIX_SOURCE, which is predefined and required
19684 # on some systems where configure will not decide to define it.
19685 if (defundef
== "undef") {
19686 print
"/*", prefix defundef
, macro
, "*/"
19694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19695 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19696 fi # test -n "$CONFIG_HEADERS"
19699 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19704 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19706 case $ac_mode$ac_tag in
19708 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19709 :[FH
]-) ac_tag
=-:-;;
19710 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19727 -) ac_f
="$ac_tmp/stdin";;
19728 *) # Look for the file first in the build tree, then in the source tree
19729 # (if the path is not absolute). The absolute path cannot be DOS-style,
19730 # because $ac_f cannot contain `:'.
19734 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19736 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19738 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19739 as_fn_append ac_file_inputs
" '$ac_f'"
19742 # Let's still pretend it is `configure' which instantiates (i.e., don't
19743 # use $as_me), people would be surprised to read:
19744 # /* config.h. Generated by config.status. */
19745 configure_input
='Generated from '`
19746 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19748 if test x
"$ac_file" != x-
; then
19749 configure_input
="$ac_file. $configure_input"
19750 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19751 $as_echo "$as_me: creating $ac_file" >&6;}
19753 # Neutralize special characters interpreted by sed in replacement strings.
19754 case $configure_input in #(
19755 *\
&* |
*\|
* |
*\\* )
19756 ac_sed_conf_input
=`$as_echo "$configure_input" |
19757 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19758 *) ac_sed_conf_input
=$configure_input;;
19762 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19763 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19768 ac_dir
=`$as_dirname -- "$ac_file" ||
19769 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19770 X"$ac_file" : 'X\(//\)[^/]' \| \
19771 X"$ac_file" : 'X\(//\)$' \| \
19772 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19773 $as_echo X"$ac_file" |
19774 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19778 /^X\(\/\/\)[^/].*/{
19791 as_dir
="$ac_dir"; as_fn_mkdir_p
19795 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19797 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19798 # A ".." for each directory in $ac_dir_suffix.
19799 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19800 case $ac_top_builddir_sub in
19801 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19802 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19805 ac_abs_top_builddir
=$ac_pwd
19806 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19807 # for backward compatibility:
19808 ac_top_builddir
=$ac_top_build_prefix
19811 .
) # We are building in place.
19813 ac_top_srcdir
=$ac_top_builddir_sub
19814 ac_abs_top_srcdir
=$ac_pwd ;;
19815 [\\/]* | ?
:[\\/]* ) # Absolute name.
19816 ac_srcdir
=$srcdir$ac_dir_suffix;
19817 ac_top_srcdir
=$srcdir
19818 ac_abs_top_srcdir
=$srcdir ;;
19819 *) # Relative name.
19820 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19821 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19822 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19824 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19836 # If the template does not know about datarootdir, expand it.
19837 # FIXME: This hack should be removed a few years after 2.60.
19838 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19849 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19850 *datarootdir
*) ac_datarootdir_seen
=yes;;
19851 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19853 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19856 ac_datarootdir_hack='
19857 s&@datadir@&$datadir&g
19858 s&@docdir@&$docdir&g
19859 s&@infodir@&$infodir&g
19860 s&@localedir@&$localedir&g
19861 s&@mandir@&$mandir&g
19862 s&\\\${datarootdir}&$datarootdir&g' ;;
19866 # Neutralize VPATH when `$srcdir' = `.'.
19867 # Shell code in configure.ac might set extrasub.
19868 # FIXME: do we really want to maintain this feature?
19869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19870 ac_sed_extra="$ac_vpsub
19873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19875 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19876 s|@configure_input@|
$ac_sed_conf_input|
;t t
19877 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19878 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19879 s
&@srcdir@
&$ac_srcdir&;t t
19880 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19881 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19882 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19883 s
&@builddir@
&$ac_builddir&;t t
19884 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19885 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19886 $ac_datarootdir_hack
19888 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19889 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19891 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19892 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19893 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19894 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19896 which seems to be undefined. Please make sure it is defined" >&5
19897 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19898 which seems to be undefined. Please make sure it is defined" >&2;}
19900 rm -f "$ac_tmp/stdin"
19902 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19903 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19905 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19911 if test x"$ac_file" != x-; then
19913 $as_echo "/* $configure_input */" \
19914 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19915 } >"$ac_tmp/config.h" \
19916 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19917 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19918 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19919 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19922 mv "$ac_tmp/config.h" "$ac_file" \
19923 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19926 $as_echo "/* $configure_input */" \
19927 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19928 || as_fn_error $? "could not create -" "$LINENO" 5
19936 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19939 # Prefer the file from the source tree if names are identical.
19940 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19941 ac_source=$srcdir/$ac_source
19944 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19945 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19947 if test ! -r "$ac_source"; then
19948 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19952 # Try a relative symlink, then a hard link, then a copy.
19954 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19955 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19957 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19958 ln "$ac_source" "$ac_file" 2>/dev/null ||
19959 cp -p "$ac_source" "$ac_file" ||
19960 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19963 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19964 $as_echo "$as_me: executing $ac_file commands" >&6;}
19969 case $ac_file$ac_mode in
19970 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19971 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19972 "Makefile":C) wine_fn_output_makefile Makefile ;;
19980 ac_clean_files=$ac_clean_files_save
19982 test $ac_write_fail = 0 ||
19983 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19986 # configure is writing to config.log, and then calls config.status.
19987 # config.status does its own redirection, appending to config.log.
19988 # Unfortunately, on DOS this fails, as config.log is still kept open
19989 # by configure, so config.status won't be able to
write to it
; its
19990 # output is simply discarded. So we exec the FD to /dev/null,
19991 # effectively closing config.log, so it can be properly (re)opened and
19992 # appended to by config.status. When coming back to configure, we
19993 # need to make the FD available again.
19994 if test "$no_create" != yes; then
19996 ac_config_status_args
=
19997 test "$silent" = yes &&
19998 ac_config_status_args
="$ac_config_status_args --quiet"
20000 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20002 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20003 # would make configure fail if this is the last instruction.
20004 $ac_cs_success || as_fn_exit
1
20006 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20008 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20012 if test "$no_create" = "yes"
20018 if test "x$wine_notices" != x
; then
20021 for msg
in $wine_notices; do
20023 if ${msg:+false} :; then :
20026 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20027 $as_echo "$as_me: $msg" >&6;}
20032 for msg
in $wine_warnings; do
20034 if ${msg:+false} :; then :
20038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20039 $as_echo "$as_me: WARNING: $msg" >&2;}
20045 $as_me: Finished. Do '${ac_make}' to compile Wine.