2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.22.
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.22'
584 PACKAGE_STRING
='Wine 1.9.22'
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_console_l1_1_0
886 enable_api_ms_win_core_console_l2_1_0
887 enable_api_ms_win_core_datetime_l1_1_0
888 enable_api_ms_win_core_datetime_l1_1_1
889 enable_api_ms_win_core_debug_l1_1_0
890 enable_api_ms_win_core_debug_l1_1_1
891 enable_api_ms_win_core_delayload_l1_1_0
892 enable_api_ms_win_core_delayload_l1_1_1
893 enable_api_ms_win_core_errorhandling_l1_1_0
894 enable_api_ms_win_core_errorhandling_l1_1_1
895 enable_api_ms_win_core_errorhandling_l1_1_2
896 enable_api_ms_win_core_fibers_l1_1_0
897 enable_api_ms_win_core_fibers_l1_1_1
898 enable_api_ms_win_core_file_l1_1_0
899 enable_api_ms_win_core_file_l1_2_0
900 enable_api_ms_win_core_file_l1_2_1
901 enable_api_ms_win_core_file_l2_1_0
902 enable_api_ms_win_core_file_l2_1_1
903 enable_api_ms_win_core_handle_l1_1_0
904 enable_api_ms_win_core_heap_l1_1_0
905 enable_api_ms_win_core_heap_l1_2_0
906 enable_api_ms_win_core_heap_obsolete_l1_1_0
907 enable_api_ms_win_core_interlocked_l1_1_0
908 enable_api_ms_win_core_interlocked_l1_2_0
909 enable_api_ms_win_core_io_l1_1_0
910 enable_api_ms_win_core_io_l1_1_1
911 enable_api_ms_win_core_job_l1_1_0
912 enable_api_ms_win_core_job_l2_1_0
913 enable_api_ms_win_core_kernel32_legacy_l1_1_0
914 enable_api_ms_win_core_kernel32_legacy_l1_1_1
915 enable_api_ms_win_core_kernel32_private_l1_1_1
916 enable_api_ms_win_core_libraryloader_l1_1_0
917 enable_api_ms_win_core_libraryloader_l1_1_1
918 enable_api_ms_win_core_libraryloader_l1_2_0
919 enable_api_ms_win_core_libraryloader_l1_2_2
920 enable_api_ms_win_core_localization_l1_1_0
921 enable_api_ms_win_core_localization_l1_2_0
922 enable_api_ms_win_core_localization_l1_2_1
923 enable_api_ms_win_core_localization_l2_1_0
924 enable_api_ms_win_core_localization_obsolete_l1_1_0
925 enable_api_ms_win_core_localization_obsolete_l1_2_0
926 enable_api_ms_win_core_localization_private_l1_1_0
927 enable_api_ms_win_core_localregistry_l1_1_0
928 enable_api_ms_win_core_memory_l1_1_0
929 enable_api_ms_win_core_memory_l1_1_1
930 enable_api_ms_win_core_memory_l1_1_2
931 enable_api_ms_win_core_misc_l1_1_0
932 enable_api_ms_win_core_namedpipe_l1_1_0
933 enable_api_ms_win_core_namedpipe_l1_2_0
934 enable_api_ms_win_core_namespace_l1_1_0
935 enable_api_ms_win_core_normalization_l1_1_0
936 enable_api_ms_win_core_path_l1_1_0
937 enable_api_ms_win_core_privateprofile_l1_1_1
938 enable_api_ms_win_core_processenvironment_l1_1_0
939 enable_api_ms_win_core_processenvironment_l1_2_0
940 enable_api_ms_win_core_processthreads_l1_1_0
941 enable_api_ms_win_core_processthreads_l1_1_1
942 enable_api_ms_win_core_processthreads_l1_1_2
943 enable_api_ms_win_core_profile_l1_1_0
944 enable_api_ms_win_core_psapi_l1_1_0
945 enable_api_ms_win_core_psapi_obsolete_l1_1_0
946 enable_api_ms_win_core_realtime_l1_1_0
947 enable_api_ms_win_core_registry_l1_1_0
948 enable_api_ms_win_core_registryuserspecific_l1_1_0
949 enable_api_ms_win_core_rtlsupport_l1_1_0
950 enable_api_ms_win_core_rtlsupport_l1_2_0
951 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
952 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
953 enable_api_ms_win_core_sidebyside_l1_1_0
954 enable_api_ms_win_core_string_l1_1_0
955 enable_api_ms_win_core_string_l2_1_0
956 enable_api_ms_win_core_string_obsolete_l1_1_0
957 enable_api_ms_win_core_stringansi_l1_1_0
958 enable_api_ms_win_core_synch_l1_1_0
959 enable_api_ms_win_core_synch_l1_2_0
960 enable_api_ms_win_core_sysinfo_l1_1_0
961 enable_api_ms_win_core_sysinfo_l1_2_0
962 enable_api_ms_win_core_sysinfo_l1_2_1
963 enable_api_ms_win_core_threadpool_l1_1_0
964 enable_api_ms_win_core_threadpool_l1_2_0
965 enable_api_ms_win_core_threadpool_legacy_l1_1_0
966 enable_api_ms_win_core_timezone_l1_1_0
967 enable_api_ms_win_core_toolhelp_l1_1_0
968 enable_api_ms_win_core_url_l1_1_0
969 enable_api_ms_win_core_util_l1_1_0
970 enable_api_ms_win_core_version_l1_1_0
971 enable_api_ms_win_core_version_private_l1_1_0
972 enable_api_ms_win_core_versionansi_l1_1_0
973 enable_api_ms_win_core_windowserrorreporting_l1_1_0
974 enable_api_ms_win_core_winrt_error_l1_1_0
975 enable_api_ms_win_core_winrt_error_l1_1_1
976 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
977 enable_api_ms_win_core_winrt_l1_1_0
978 enable_api_ms_win_core_winrt_registration_l1_1_0
979 enable_api_ms_win_core_winrt_string_l1_1_0
980 enable_api_ms_win_core_wow64_l1_1_0
981 enable_api_ms_win_core_xstate_l1_1_0
982 enable_api_ms_win_core_xstate_l2_1_0
983 enable_api_ms_win_crt_conio_l1_1_0
984 enable_api_ms_win_crt_convert_l1_1_0
985 enable_api_ms_win_crt_environment_l1_1_0
986 enable_api_ms_win_crt_filesystem_l1_1_0
987 enable_api_ms_win_crt_heap_l1_1_0
988 enable_api_ms_win_crt_locale_l1_1_0
989 enable_api_ms_win_crt_math_l1_1_0
990 enable_api_ms_win_crt_multibyte_l1_1_0
991 enable_api_ms_win_crt_private_l1_1_0
992 enable_api_ms_win_crt_process_l1_1_0
993 enable_api_ms_win_crt_runtime_l1_1_0
994 enable_api_ms_win_crt_stdio_l1_1_0
995 enable_api_ms_win_crt_string_l1_1_0
996 enable_api_ms_win_crt_time_l1_1_0
997 enable_api_ms_win_crt_utility_l1_1_0
998 enable_api_ms_win_downlevel_advapi32_l1_1_0
999 enable_api_ms_win_downlevel_advapi32_l2_1_0
1000 enable_api_ms_win_downlevel_normaliz_l1_1_0
1001 enable_api_ms_win_downlevel_ole32_l1_1_0
1002 enable_api_ms_win_downlevel_shell32_l1_1_0
1003 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1004 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1005 enable_api_ms_win_downlevel_user32_l1_1_0
1006 enable_api_ms_win_downlevel_version_l1_1_0
1007 enable_api_ms_win_dx_d3dkmt_l1_1_0
1008 enable_api_ms_win_eventing_classicprovider_l1_1_0
1009 enable_api_ms_win_eventing_consumer_l1_1_0
1010 enable_api_ms_win_eventing_controller_l1_1_0
1011 enable_api_ms_win_eventing_provider_l1_1_0
1012 enable_api_ms_win_eventlog_legacy_l1_1_0
1013 enable_api_ms_win_ntuser_dc_access_l1_1_0
1014 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1015 enable_api_ms_win_security_audit_l1_1_1
1016 enable_api_ms_win_security_base_l1_1_0
1017 enable_api_ms_win_security_base_l1_2_0
1018 enable_api_ms_win_security_base_private_l1_1_1
1019 enable_api_ms_win_security_lsalookup_l1_1_0
1020 enable_api_ms_win_security_lsalookup_l1_1_1
1021 enable_api_ms_win_security_sddl_l1_1_0
1022 enable_api_ms_win_service_core_l1_1_0
1023 enable_api_ms_win_service_core_l1_1_1
1024 enable_api_ms_win_service_management_l1_1_0
1025 enable_api_ms_win_service_management_l2_1_0
1026 enable_api_ms_win_service_private_l1_1_1
1027 enable_api_ms_win_service_winsvc_l1_1_0
1028 enable_api_ms_win_service_winsvc_l1_2_0
1029 enable_api_ms_win_shell_shellcom_l1_1_0
1030 enable_api_ms_win_shell_shellfolders_l1_1_0
1043 enable_bluetoothapis
1076 enable_d3dcompiler_33
1077 enable_d3dcompiler_34
1078 enable_d3dcompiler_35
1079 enable_d3dcompiler_36
1080 enable_d3dcompiler_37
1081 enable_d3dcompiler_38
1082 enable_d3dcompiler_39
1083 enable_d3dcompiler_40
1084 enable_d3dcompiler_41
1085 enable_d3dcompiler_42
1086 enable_d3dcompiler_43
1087 enable_d3dcompiler_46
1088 enable_d3dcompiler_47
1166 enable_explorerframe
1167 enable_ext_ms_win_gdi_dc_create_l1_1_1
1168 enable_ext_ms_win_gdi_dc_l1_2_0
1169 enable_ext_ms_win_gdi_devcaps_l1_1_0
1170 enable_ext_ms_win_gdi_draw_l1_1_1
1171 enable_ext_ms_win_gdi_render_l1_1_0
1172 enable_ext_ms_win_kernel32_package_current_l1_1_0
1173 enable_ext_ms_win_ntuser_message_l1_1_1
1174 enable_ext_ms_win_ntuser_private_l1_1_1
1175 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1176 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1177 enable_ext_ms_win_ntuser_window_l1_1_1
1178 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1179 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1180 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1181 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1182 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1349 enable_photometadatahandler
1439 enable_windowscodecs
1440 enable_windowscodecsext
1443 enable_winecoreaudio_drv
1445 enable_winegstreamer
1447 enable_winejoystick_drv
1453 enable_winepulse_drv
1454 enable_wineqtdecoder
1523 enable_aspnet_regiis
1559 enable_presentationfontcache
1572 enable_servicemodelreg
1595 enable_winemenubuilder
1597 enable_winemsibuilder
1612 ac_precious_vars
='build_alias
1667 # Initialize some variables set by options.
1669 ac_init_version
=false
1670 ac_unrecognized_opts
=
1671 ac_unrecognized_sep
=
1672 # The variables have the same names as the options, with
1673 # dashes changed to underlines.
1674 cache_file
=/dev
/null
1681 program_transform_name
=s
,x
,x
,
1689 # Installation directory options.
1690 # These are left unexpanded so users can "make install exec_prefix=/foo"
1691 # and all the variables that are supposed to be based on exec_prefix
1692 # by default will actually change.
1693 # Use braces instead of parens because sh, perl, etc. also accept them.
1694 # (The list follows the same order as the GNU Coding Standards.)
1695 bindir
='${exec_prefix}/bin'
1696 sbindir
='${exec_prefix}/sbin'
1697 libexecdir
='${exec_prefix}/libexec'
1698 datarootdir
='${prefix}/share'
1699 datadir
='${datarootdir}'
1700 sysconfdir
='${prefix}/etc'
1701 sharedstatedir
='${prefix}/com'
1702 localstatedir
='${prefix}/var'
1703 runstatedir
='${localstatedir}/run'
1704 includedir
='${prefix}/include'
1705 oldincludedir
='/usr/include'
1706 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1707 infodir
='${datarootdir}/info'
1712 libdir
='${exec_prefix}/lib'
1713 localedir
='${datarootdir}/locale'
1714 mandir
='${datarootdir}/man'
1720 # If the previous option needs an argument, assign it.
1721 if test -n "$ac_prev"; then
1722 eval $ac_prev=\
$ac_option
1728 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1733 # Accept the important Cygnus configure options, so we can diagnose typos.
1735 case $ac_dashdash$ac_option in
1739 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1741 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1742 bindir
=$ac_optarg ;;
1744 -build |
--build |
--buil |
--bui |
--bu)
1745 ac_prev
=build_alias
;;
1746 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1747 build_alias
=$ac_optarg ;;
1749 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1750 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1751 ac_prev
=cache_file
;;
1752 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1753 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1754 cache_file
=$ac_optarg ;;
1756 --config-cache |
-C)
1757 cache_file
=config.cache
;;
1759 -datadir |
--datadir |
--datadi |
--datad)
1761 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1762 datadir
=$ac_optarg ;;
1764 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1765 |
--dataroo |
--dataro |
--datar)
1766 ac_prev
=datarootdir
;;
1767 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1768 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1769 datarootdir
=$ac_optarg ;;
1771 -disable-* |
--disable-*)
1772 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1773 # Reject names that are not valid shell variable names.
1774 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1775 as_fn_error $?
"invalid feature name: $ac_useropt"
1776 ac_useropt_orig
=$ac_useropt
1777 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1778 case $ac_user_opts in
1780 "enable_
$ac_useropt"
1782 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1783 ac_unrecognized_sep
=', ';;
1785 eval enable_
$ac_useropt=no
;;
1787 -docdir |
--docdir |
--docdi |
--doc |
--do)
1789 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1790 docdir
=$ac_optarg ;;
1792 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1794 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1795 dvidir
=$ac_optarg ;;
1797 -enable-* |
--enable-*)
1798 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1799 # Reject names that are not valid shell variable names.
1800 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1801 as_fn_error $?
"invalid feature name: $ac_useropt"
1802 ac_useropt_orig
=$ac_useropt
1803 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1804 case $ac_user_opts in
1806 "enable_
$ac_useropt"
1808 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1809 ac_unrecognized_sep
=', ';;
1811 eval enable_
$ac_useropt=\
$ac_optarg ;;
1813 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1814 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1815 |
--exec |
--exe |
--ex)
1816 ac_prev
=exec_prefix
;;
1817 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1818 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1819 |
--exec=* |
--exe=* |
--ex=*)
1820 exec_prefix
=$ac_optarg ;;
1822 -gas |
--gas |
--ga |
--g)
1823 # Obsolete; use --with-gas.
1826 -help |
--help |
--hel |
--he |
-h)
1827 ac_init_help
=long
;;
1828 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1829 ac_init_help
=recursive
;;
1830 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1831 ac_init_help
=short
;;
1833 -host |
--host |
--hos |
--ho)
1834 ac_prev
=host_alias
;;
1835 -host=* |
--host=* |
--hos=* |
--ho=*)
1836 host_alias
=$ac_optarg ;;
1838 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1840 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1842 htmldir
=$ac_optarg ;;
1844 -includedir |
--includedir |
--includedi |
--included |
--include \
1845 |
--includ |
--inclu |
--incl |
--inc)
1846 ac_prev
=includedir
;;
1847 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1848 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1849 includedir
=$ac_optarg ;;
1851 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1853 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1854 infodir
=$ac_optarg ;;
1856 -libdir |
--libdir |
--libdi |
--libd)
1858 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1859 libdir
=$ac_optarg ;;
1861 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1862 |
--libexe |
--libex |
--libe)
1863 ac_prev
=libexecdir
;;
1864 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1865 |
--libexe=* |
--libex=* |
--libe=*)
1866 libexecdir
=$ac_optarg ;;
1868 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1869 ac_prev
=localedir
;;
1870 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1871 localedir
=$ac_optarg ;;
1873 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1874 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1875 ac_prev
=localstatedir
;;
1876 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1877 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1878 localstatedir
=$ac_optarg ;;
1880 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1882 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1883 mandir
=$ac_optarg ;;
1885 -nfp |
--nfp |
--nf)
1886 # Obsolete; use --without-fp.
1889 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1890 |
--no-cr |
--no-c |
-n)
1893 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1894 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1897 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1898 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1899 |
--oldin |
--oldi |
--old |
--ol |
--o)
1900 ac_prev
=oldincludedir
;;
1901 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1902 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1903 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1904 oldincludedir
=$ac_optarg ;;
1906 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1908 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1909 prefix
=$ac_optarg ;;
1911 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1912 |
--program-pre |
--program-pr |
--program-p)
1913 ac_prev
=program_prefix
;;
1914 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1915 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1916 program_prefix
=$ac_optarg ;;
1918 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1919 |
--program-suf |
--program-su |
--program-s)
1920 ac_prev
=program_suffix
;;
1921 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1922 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1923 program_suffix
=$ac_optarg ;;
1925 -program-transform-name |
--program-transform-name \
1926 |
--program-transform-nam |
--program-transform-na \
1927 |
--program-transform-n |
--program-transform- \
1928 |
--program-transform |
--program-transfor \
1929 |
--program-transfo |
--program-transf \
1930 |
--program-trans |
--program-tran \
1931 |
--progr-tra |
--program-tr |
--program-t)
1932 ac_prev
=program_transform_name
;;
1933 -program-transform-name=* |
--program-transform-name=* \
1934 |
--program-transform-nam=* |
--program-transform-na=* \
1935 |
--program-transform-n=* |
--program-transform-=* \
1936 |
--program-transform=* |
--program-transfor=* \
1937 |
--program-transfo=* |
--program-transf=* \
1938 |
--program-trans=* |
--program-tran=* \
1939 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1940 program_transform_name
=$ac_optarg ;;
1942 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1944 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1945 pdfdir
=$ac_optarg ;;
1947 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1949 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1952 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1953 |
-silent |
--silent |
--silen |
--sile |
--sil)
1956 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1957 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1958 |
--run |
--ru |
--r)
1959 ac_prev
=runstatedir
;;
1960 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1961 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1962 |
--run=* |
--ru=* |
--r=*)
1963 runstatedir
=$ac_optarg ;;
1965 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1967 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1969 sbindir
=$ac_optarg ;;
1971 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1972 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1973 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1975 ac_prev
=sharedstatedir
;;
1976 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1977 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1978 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1980 sharedstatedir
=$ac_optarg ;;
1982 -site |
--site |
--sit)
1984 -site=* |
--site=* |
--sit=*)
1987 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1989 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1990 srcdir
=$ac_optarg ;;
1992 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1993 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1994 ac_prev
=sysconfdir
;;
1995 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1996 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1997 sysconfdir
=$ac_optarg ;;
1999 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2000 ac_prev
=target_alias
;;
2001 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2002 target_alias
=$ac_optarg ;;
2004 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2007 -version |
--version |
--versio |
--versi |
--vers |
-V)
2008 ac_init_version
=: ;;
2011 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2012 # Reject names that are not valid shell variable names.
2013 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2014 as_fn_error $?
"invalid package name: $ac_useropt"
2015 ac_useropt_orig
=$ac_useropt
2016 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2017 case $ac_user_opts in
2021 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2022 ac_unrecognized_sep
=', ';;
2024 eval with_
$ac_useropt=\
$ac_optarg ;;
2026 -without-* |
--without-*)
2027 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2028 # Reject names that are not valid shell variable names.
2029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2030 as_fn_error $?
"invalid package name: $ac_useropt"
2031 ac_useropt_orig
=$ac_useropt
2032 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2033 case $ac_user_opts in
2037 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2038 ac_unrecognized_sep
=', ';;
2040 eval with_
$ac_useropt=no
;;
2043 # Obsolete; use --with-x.
2046 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2047 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2048 ac_prev
=x_includes
;;
2049 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2050 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2051 x_includes
=$ac_optarg ;;
2053 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2054 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2055 ac_prev
=x_libraries
;;
2056 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2057 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2058 x_libraries
=$ac_optarg ;;
2060 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2061 Try \`$0 --help' for more information"
2065 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2066 # Reject names that are not valid shell variable names.
2067 case $ac_envvar in #(
2068 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2069 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2071 eval $ac_envvar=\
$ac_optarg
2072 export $ac_envvar ;;
2075 # FIXME: should be removed in autoconf 3.0.
2076 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2077 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2078 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2079 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2085 if test -n "$ac_prev"; then
2086 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2087 as_fn_error $?
"missing argument to $ac_option"
2090 if test -n "$ac_unrecognized_opts"; then
2091 case $enable_option_checking in
2093 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2094 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2098 # Check all directory arguments for consistency.
2099 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2100 datadir sysconfdir sharedstatedir localstatedir includedir \
2101 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2102 libdir localedir mandir runstatedir
2104 eval ac_val
=\$
$ac_var
2105 # Remove trailing slashes.
2108 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2109 eval $ac_var=\
$ac_val;;
2111 # Be sure to have absolute directory names.
2113 [\\/$
]* | ?
:[\\/]* ) continue;;
2114 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2116 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2119 # There might be people who depend on the old broken behavior: `$host'
2120 # used to hold the argument of --host etc.
2121 # FIXME: To remove some day.
2124 target
=$target_alias
2126 # FIXME: To remove some day.
2127 if test "x$host_alias" != x
; then
2128 if test "x$build_alias" = x
; then
2129 cross_compiling
=maybe
2130 elif test "x$build_alias" != "x$host_alias"; then
2136 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2138 test "$silent" = yes && exec 6>/dev
/null
2141 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2142 ac_ls_di
=`ls -di .` &&
2143 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2144 as_fn_error $?
"working directory cannot be determined"
2145 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2146 as_fn_error $?
"pwd does not report name of working directory"
2149 # Find the source files, if location was not specified.
2150 if test -z "$srcdir"; then
2151 ac_srcdir_defaulted
=yes
2152 # Try the directory containing this script, then the parent directory.
2153 ac_confdir
=`$as_dirname -- "$as_myself" ||
2154 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2155 X"$as_myself" : 'X\(//\)[^/]' \| \
2156 X"$as_myself" : 'X\(//\)$' \| \
2157 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2158 $as_echo X"$as_myself" |
2159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2177 if test ! -r "$srcdir/$ac_unique_file"; then
2181 ac_srcdir_defaulted
=no
2183 if test ! -r "$srcdir/$ac_unique_file"; then
2184 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2185 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2187 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2189 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2191 # When building in place, set srcdir=.
2192 if test "$ac_abs_confdir" = "$ac_pwd"; then
2195 # Remove unnecessary trailing slashes from srcdir.
2196 # Double slashes in file names in object file debugging info
2197 # mess up M-x gdb in Emacs.
2199 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2201 for ac_var
in $ac_precious_vars; do
2202 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2203 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2204 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2205 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2209 # Report the --help message.
2211 if test "$ac_init_help" = "long"; then
2212 # Omit some internal or obsolete options to make the list less imposing.
2213 # This message is too long to be a string in the A/UX 3.1 sh.
2215 \`configure' configures Wine 1.9.22 to adapt to many kinds of systems.
2217 Usage: $0 [OPTION]... [VAR=VALUE]...
2219 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2220 VAR=VALUE. See below for descriptions of some of the useful variables.
2222 Defaults for the options are specified in brackets.
2225 -h, --help display this help and exit
2226 --help=short display options specific to this package
2227 --help=recursive display the short help of all the included packages
2228 -V, --version display version information and exit
2229 -q, --quiet, --silent do not print \`checking ...' messages
2230 --cache-file=FILE cache test results in FILE [disabled]
2231 -C, --config-cache alias for \`--cache-file=config.cache'
2232 -n, --no-create do not create output files
2233 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2235 Installation directories:
2236 --prefix=PREFIX install architecture-independent files in PREFIX
2237 [$ac_default_prefix]
2238 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2241 By default, \`make install' will install all the files in
2242 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2243 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2244 for instance \`--prefix=\$HOME'.
2246 For better control, use the options below.
2248 Fine tuning of the installation directories:
2249 --bindir=DIR user executables [EPREFIX/bin]
2250 --sbindir=DIR system admin executables [EPREFIX/sbin]
2251 --libexecdir=DIR program executables [EPREFIX/libexec]
2252 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2253 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2254 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2255 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2256 --libdir=DIR object code libraries [EPREFIX/lib]
2257 --includedir=DIR C header files [PREFIX/include]
2258 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2259 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2260 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2261 --infodir=DIR info documentation [DATAROOTDIR/info]
2262 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2263 --mandir=DIR man documentation [DATAROOTDIR/man]
2264 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2265 --htmldir=DIR html documentation [DOCDIR]
2266 --dvidir=DIR dvi documentation [DOCDIR]
2267 --pdfdir=DIR pdf documentation [DOCDIR]
2268 --psdir=DIR ps documentation [DOCDIR]
2274 --x-includes=DIR X include files are
in DIR
2275 --x-libraries=DIR X library files are
in DIR
2278 --build=BUILD configure
for building on BUILD
[guessed
]
2279 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2283 if test -n "$ac_init_help"; then
2284 case $ac_init_help in
2285 short | recursive
) echo "Configuration of Wine 1.9.22:";;
2290 --disable-option-checking ignore unrecognized
--enable/--with options
2291 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2292 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2293 --disable-win16 do not include Win16 support
2294 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2296 --disable-tests do not build the regression tests
2297 --enable-maintainer-mode
2298 enable maintainer-specific build rules
2299 --disable-largefile omit support for large files
2302 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2303 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2304 --without-alsa do not use the Alsa sound support
2305 --without-capi do not use CAPI (ISDN support)
2306 --without-cms do not use CMS (color management support)
2307 --without-coreaudio do not use the CoreAudio sound support
2308 --without-cups do not use CUPS
2309 --without-curses do not use (n)curses
2310 --without-dbus do not use DBus (dynamic device support)
2311 --without-fontconfig do not use fontconfig
2312 --without-freetype do not use the FreeType library
2313 --without-gettext do not use gettext
2314 --with-gettextpo use the GetTextPO library to rebuild po files
2315 --without-gphoto do not use gphoto (Digital Camera support)
2316 --without-glu do not use the GLU library
2317 --without-gnutls do not use GnuTLS (schannel support)
2318 --without-gsm do not use libgsm (GSM 06.10 codec support)
2319 --without-gstreamer do not use GStreamer (codecs support)
2320 --without-hal do not use HAL (dynamic device support)
2321 --without-jpeg do not use JPEG
2322 --without-ldap do not use LDAP
2323 --without-mpg123 do not use the mpg123 library
2324 --without-netapi do not use the Samba NetAPI library
2325 --without-openal do not use OpenAL
2326 --without-opencl do not use OpenCL
2327 --without-opengl do not use OpenGL
2328 --without-osmesa do not use the OSMesa library
2329 --without-oss do not use the OSS sound support
2330 --without-pcap do not use the Packet Capture library
2331 --without-png do not use PNG
2332 --without-pthread do not use the pthread library
2333 --without-pulse do not use PulseAudio sound support
2334 --without-sane do not use SANE (scanner support)
2335 --without-tiff do not use TIFF
2336 --without-udev do not use udev (plug and play support)
2337 --without-v4l do not use v4l1 (v4l support)
2338 --without-xcomposite do not use the Xcomposite extension
2339 --without-xcursor do not use the Xcursor extension
2340 --without-xinerama do not use Xinerama (multi-monitor support)
2341 --without-xinput do not use the Xinput extension
2342 --without-xinput2 do not use the Xinput 2 extension
2343 --without-xml do not use XML
2344 --without-xrandr do not use Xrandr (resolution changes)
2345 --without-xrender do not use the Xrender extension
2346 --without-xshape do not use the Xshape extension
2347 --without-xshm do not use XShm (shared memory extension)
2348 --without-xslt do not use XSLT
2349 --without-xxf86vm do not use XFree video mode extension
2350 --without-zlib do not use Zlib (data compression)
2351 --with-wine-tools=DIR use Wine tools from directory DIR
2352 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2353 --with-x use the X Window System
2355 Some influential environment variables:
2356 CC C compiler command
2357 CFLAGS C compiler flags
2358 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2359 nonstandard directory <lib dir>
2360 LIBS libraries to pass to the linker, e.g. -l<library>
2361 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2362 you have headers in a nonstandard directory <include dir>
2363 CXX C++ compiler command
2364 CXXFLAGS C++ compiler flags
2366 XMKMF Path to xmkmf, Makefile generator for X Window System
2367 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2368 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2369 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2370 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2371 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2372 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2373 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2374 HAL_LIBS Linker flags for hal, overriding pkg-config
2376 C compiler flags for gnutls, overriding pkg-config
2377 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2378 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2379 SANE_LIBS Linker flags for libsane, overriding pkg-config
2381 C compiler flags for libgphoto2, overriding pkg-config
2383 Linker flags for libgphoto2, overriding pkg-config
2385 C compiler flags for libgphoto2_port, overriding pkg-config
2387 Linker flags for libgphoto2_port, overriding pkg-config
2389 C compiler flags for lcms2, overriding pkg-config
2390 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2392 C compiler flags for freetype2, overriding pkg-config
2394 Linker flags for freetype2, overriding pkg-config
2396 C compiler flags for libpulse, overriding pkg-config
2397 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2399 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2400 gstreamer-audio-1.0, overriding pkg-config
2402 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2403 gstreamer-audio-1.0, overriding pkg-config
2404 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2405 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2407 C compiler flags for capi20, overriding pkg-config
2408 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2410 C compiler flags for fontconfig, overriding pkg-config
2412 Linker flags for fontconfig, overriding pkg-config
2413 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2414 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2415 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2416 PNG_LIBS Linker flags for libpng, overriding pkg-config
2417 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2418 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2420 C compiler flags for libmpg123, overriding pkg-config
2421 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2423 C compiler flags for netapi, overriding pkg-config
2424 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2426 Use these variables to override the choices made by `configure' or to
help
2427 it to
find libraries and programs with nonstandard names
/locations.
2429 Report bugs to
<wine-devel@winehq.org
>.
2430 Wine home page
: <http
://www.winehq.org
>.
2435 if test "$ac_init_help" = "recursive"; then
2436 # If there are subdirs, report their specific --help.
2437 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2438 test -d "$ac_dir" ||
2439 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2444 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2446 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2447 # A ".." for each directory in $ac_dir_suffix.
2448 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2449 case $ac_top_builddir_sub in
2450 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2451 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2454 ac_abs_top_builddir
=$ac_pwd
2455 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2456 # for backward compatibility:
2457 ac_top_builddir
=$ac_top_build_prefix
2460 .
) # We are building in place.
2462 ac_top_srcdir
=$ac_top_builddir_sub
2463 ac_abs_top_srcdir
=$ac_pwd ;;
2464 [\\/]* | ?
:[\\/]* ) # Absolute name.
2465 ac_srcdir
=$srcdir$ac_dir_suffix;
2466 ac_top_srcdir
=$srcdir
2467 ac_abs_top_srcdir
=$srcdir ;;
2469 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2470 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2471 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2473 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2475 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2476 # Check for guested configure.
2477 if test -f "$ac_srcdir/configure.gnu"; then
2479 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2480 elif test -f "$ac_srcdir/configure"; then
2482 $SHELL "$ac_srcdir/configure" --help=recursive
2484 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2486 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2490 test -n "$ac_init_help" && exit $ac_status
2491 if $ac_init_version; then
2493 Wine configure
1.9.22
2494 generated by GNU Autoconf
2.69
2496 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2497 This configure
script is free software
; the Free Software Foundation
2498 gives unlimited permission to copy
, distribute and modify it.
2503 ## ------------------------ ##
2504 ## Autoconf initialization. ##
2505 ## ------------------------ ##
2507 # ac_fn_c_try_compile LINENO
2508 # --------------------------
2509 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2510 ac_fn_c_try_compile
()
2512 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2513 rm -f conftest.
$ac_objext
2514 if { { ac_try
="$ac_compile"
2516 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2517 *) ac_try_echo=$ac_try;;
2519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2520 $as_echo "$ac_try_echo"; } >&5
2521 (eval "$ac_compile") 2>conftest.err
2523 if test -s conftest.err; then
2524 grep -v '^ *+' conftest.err >conftest.er1
2525 cat conftest.er1 >&5
2526 mv -f conftest.er1 conftest.err
2528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2529 test $ac_status = 0; } && {
2530 test -z "$ac_c_werror_flag" ||
2531 test ! -s conftest.err
2532 } && test -s conftest.$ac_objext; then :
2535 $as_echo "$as_me: failed program was:" >&5
2536 sed 's/^/| /' conftest.$ac_ext >&5
2540 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2541 as_fn_set_status $ac_retval
2543 } # ac_fn_c_try_compile
2545 # ac_fn_cxx_try_compile LINENO
2546 # ----------------------------
2547 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2548 ac_fn_cxx_try_compile ()
2550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2551 rm -f conftest.$ac_objext
2552 if { { ac_try="$ac_compile"
2554 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2555 *) ac_try_echo
=$ac_try;;
2557 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2558 $as_echo "$ac_try_echo"; } >&5
2559 (eval "$ac_compile") 2>conftest.err
2561 if test -s conftest.err
; then
2562 grep -v '^ *+' conftest.err
>conftest.er1
2563 cat conftest.er1
>&5
2564 mv -f conftest.er1 conftest.err
2566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2567 test $ac_status = 0; } && {
2568 test -z "$ac_cxx_werror_flag" ||
2569 test ! -s conftest.err
2570 } && test -s conftest.
$ac_objext; then :
2573 $as_echo "$as_me: failed program was:" >&5
2574 sed 's/^/| /' conftest.
$ac_ext >&5
2578 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2579 as_fn_set_status
$ac_retval
2581 } # ac_fn_cxx_try_compile
2583 # ac_fn_c_try_link LINENO
2584 # -----------------------
2585 # Try to link conftest.$ac_ext, and return whether this succeeded.
2588 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2589 rm -f conftest.
$ac_objext conftest
$ac_exeext
2590 if { { ac_try
="$ac_link"
2592 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2593 *) ac_try_echo=$ac_try;;
2595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2596 $as_echo "$ac_try_echo"; } >&5
2597 (eval "$ac_link") 2>conftest.err
2599 if test -s conftest.err; then
2600 grep -v '^ *+' conftest.err >conftest.er1
2601 cat conftest.er1 >&5
2602 mv -f conftest.er1 conftest.err
2604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2605 test $ac_status = 0; } && {
2606 test -z "$ac_c_werror_flag" ||
2607 test ! -s conftest.err
2608 } && test -s conftest$ac_exeext && {
2609 test "$cross_compiling" = yes ||
2610 test -x conftest$ac_exeext
2614 $as_echo "$as_me: failed program was:" >&5
2615 sed 's/^/| /' conftest.$ac_ext >&5
2619 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2620 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2621 # interfere with the next link command; also delete a directory that is
2622 # left behind by Apple's compiler. We do this before executing the actions.
2623 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2624 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2625 as_fn_set_status $ac_retval
2627 } # ac_fn_c_try_link
2629 # ac_fn_c_try_cpp LINENO
2630 # ----------------------
2631 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2634 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2635 if { { ac_try="$ac_cpp conftest.$ac_ext"
2637 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2638 *) ac_try_echo
=$ac_try;;
2640 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2641 $as_echo "$ac_try_echo"; } >&5
2642 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2644 if test -s conftest.err
; then
2645 grep -v '^ *+' conftest.err
>conftest.er1
2646 cat conftest.er1
>&5
2647 mv -f conftest.er1 conftest.err
2649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2650 test $ac_status = 0; } > conftest.i
&& {
2651 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2652 test ! -s conftest.err
2656 $as_echo "$as_me: failed program was:" >&5
2657 sed 's/^/| /' conftest.
$ac_ext >&5
2661 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2662 as_fn_set_status
$ac_retval
2666 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2667 # -------------------------------------------------------
2668 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2669 # the include files in INCLUDES and setting the cache variable VAR
2671 ac_fn_c_check_header_mongrel
()
2673 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2674 if eval \
${$3+:} false
; then :
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2676 $as_echo_n "checking for $2... " >&6; }
2677 if eval \
${$3+:} false
; then :
2678 $as_echo_n "(cached) " >&6
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2682 $as_echo "$ac_res" >&6; }
2684 # Is the header compilable?
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2686 $as_echo_n "checking $2 usability... " >&6; }
2687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2688 /* end confdefs.h. */
2692 if ac_fn_c_try_compile
"$LINENO"; then :
2693 ac_header_compiler
=yes
2695 ac_header_compiler
=no
2697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2699 $as_echo "$ac_header_compiler" >&6; }
2701 # Is the header present?
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2703 $as_echo_n "checking $2 presence... " >&6; }
2704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2705 /* end confdefs.h. */
2708 if ac_fn_c_try_cpp
"$LINENO"; then :
2709 ac_header_preproc
=yes
2711 ac_header_preproc
=no
2713 rm -f conftest.err conftest.i conftest.
$ac_ext
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2715 $as_echo "$ac_header_preproc" >&6; }
2717 # So? What about this header?
2718 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2721 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2723 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2727 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2729 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2731 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2733 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2735 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2736 ( $as_echo "## ------------------------------------ ##
2737 ## Report this to wine-devel@winehq.org ##
2738 ## ------------------------------------ ##"
2739 ) |
sed "s/^/$as_me: WARNING: /" >&2
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2743 $as_echo_n "checking for $2... " >&6; }
2744 if eval \
${$3+:} false
; then :
2745 $as_echo_n "(cached) " >&6
2747 eval "$3=\$ac_header_compiler"
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2751 $as_echo "$ac_res" >&6; }
2753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2755 } # ac_fn_c_check_header_mongrel
2757 # ac_fn_c_try_run LINENO
2758 # ----------------------
2759 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2760 # that executables *can* be run.
2763 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2764 if { { ac_try
="$ac_link"
2766 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2767 *) ac_try_echo=$ac_try;;
2769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2770 $as_echo "$ac_try_echo"; } >&5
2771 (eval "$ac_link") 2>&5
2773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2774 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2775 { { case "(($ac_try" in
2776 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2777 *) ac_try_echo
=$ac_try;;
2779 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2780 $as_echo "$ac_try_echo"; } >&5
2781 (eval "$ac_try") 2>&5
2783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2784 test $ac_status = 0; }; }; then :
2787 $as_echo "$as_me: program exited with status $ac_status" >&5
2788 $as_echo "$as_me: failed program was:" >&5
2789 sed 's/^/| /' conftest.
$ac_ext >&5
2791 ac_retval
=$ac_status
2793 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2795 as_fn_set_status
$ac_retval
2799 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2800 # -------------------------------------------------------
2801 # Tests whether HEADER exists and can be compiled using the include files in
2802 # INCLUDES, setting the cache variable VAR accordingly.
2803 ac_fn_c_check_header_compile
()
2805 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2807 $as_echo_n "checking for $2... " >&6; }
2808 if eval \
${$3+:} false
; then :
2809 $as_echo_n "(cached) " >&6
2811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2812 /* end confdefs.h. */
2816 if ac_fn_c_try_compile
"$LINENO"; then :
2821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2825 $as_echo "$ac_res" >&6; }
2826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2828 } # ac_fn_c_check_header_compile
2830 # ac_fn_c_check_func LINENO FUNC VAR
2831 # ----------------------------------
2832 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2833 ac_fn_c_check_func
()
2835 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2837 $as_echo_n "checking for $2... " >&6; }
2838 if eval \
${$3+:} false
; then :
2839 $as_echo_n "(cached) " >&6
2841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2842 /* end confdefs.h. */
2843 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2845 #define $2 innocuous_$2
2847 /* System header to define __stub macros and hopefully few prototypes,
2848 which can conflict with char $2 (); below.
2849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2850 <limits.h> exists even on freestanding compilers. */
2853 # include <limits.h>
2855 # include <assert.h>
2860 /* Override any GCC internal prototype to avoid an error.
2861 Use char because int might match the return type of a GCC
2862 builtin and then its argument prototype would still apply. */
2867 /* The GNU C library defines this for functions which it implements
2868 to always fail with ENOSYS. Some functions are actually named
2869 something starting with __ and the normal name is an alias. */
2870 #if defined __stub_$2 || defined __stub___$2
2882 if ac_fn_c_try_link
"$LINENO"; then :
2887 rm -f core conftest.err conftest.
$ac_objext \
2888 conftest
$ac_exeext conftest.
$ac_ext
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2892 $as_echo "$ac_res" >&6; }
2893 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2895 } # ac_fn_c_check_func
2897 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2898 # ----------------------------------------------------
2899 # Tries to find if the field MEMBER exists in type AGGR, after including
2900 # INCLUDES, setting cache variable VAR accordingly.
2901 ac_fn_c_check_member
()
2903 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2905 $as_echo_n "checking for $2.$3... " >&6; }
2906 if eval \
${$4+:} false
; then :
2907 $as_echo_n "(cached) " >&6
2909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2910 /* end confdefs.h. */
2922 if ac_fn_c_try_compile
"$LINENO"; then :
2925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2926 /* end confdefs.h. */
2932 if (sizeof ac_aggr.$3)
2938 if ac_fn_c_try_compile
"$LINENO"; then :
2943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2949 $as_echo "$ac_res" >&6; }
2950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2952 } # ac_fn_c_check_member
2954 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2955 # -------------------------------------------
2956 # Tests whether TYPE exists after having included INCLUDES, setting cache
2957 # variable VAR accordingly.
2958 ac_fn_c_check_type
()
2960 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2962 $as_echo_n "checking for $2... " >&6; }
2963 if eval \
${$3+:} false
; then :
2964 $as_echo_n "(cached) " >&6
2967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2968 /* end confdefs.h. */
2979 if ac_fn_c_try_compile
"$LINENO"; then :
2980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2981 /* end confdefs.h. */
2992 if ac_fn_c_try_compile
"$LINENO"; then :
2997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3003 $as_echo "$ac_res" >&6; }
3004 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3006 } # ac_fn_c_check_type
3007 cat >config.log
<<_ACEOF
3008 This file contains any messages produced by compilers while
3009 running configure, to aid debugging if configure makes a mistake.
3011 It was created by Wine $as_me 1.9.22, which was
3012 generated by GNU Autoconf 2.69. Invocation command line was
3024 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3025 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3026 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3027 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3028 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3030 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3031 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3033 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3034 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3035 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3036 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3037 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3038 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3039 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3047 test -z "$as_dir" && as_dir
=.
3048 $as_echo "PATH: $as_dir"
3064 # Keep a trace of the command line.
3065 # Strip out --no-create and --no-recursion so they do not pile up.
3066 # Strip out --silent because we don't want to record it for future runs.
3067 # Also quote any args containing shell meta-characters.
3068 # Make two passes to allow for proper duplicate-argument suppression.
3072 ac_must_keep_next
=false
3078 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3079 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3080 |
-silent |
--silent |
--silen |
--sile |
--sil)
3083 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3086 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3088 as_fn_append ac_configure_args1
" '$ac_arg'"
3089 if test $ac_must_keep_next = true
; then
3090 ac_must_keep_next
=false
# Got value, back to normal.
3093 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3094 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3095 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3096 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3097 case "$ac_configure_args0 " in
3098 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3101 -* ) ac_must_keep_next
=true
;;
3104 as_fn_append ac_configure_args
" '$ac_arg'"
3109 { ac_configure_args0
=; unset ac_configure_args0
;}
3110 { ac_configure_args1
=; unset ac_configure_args1
;}
3112 # When interrupted or exit'd, cleanup temporary files, and complete
3113 # config.log. We remove comments because anyway the quotes in there
3114 # would cause problems or look ugly.
3115 # WARNING: Use '\'' to represent an apostrophe within the trap.
3116 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3117 trap 'exit_status=$?
3118 # Save into config.log some information that might help in debugging.
3122 $as_echo "## ---------------- ##
3123 ## Cache variables. ##
3124 ## ---------------- ##"
3126 # The following way of writing the cache mishandles newlines in values,
3128 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3129 eval ac_val=\$$ac_var
3133 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3134 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3137 _ | IFS | as_nl) ;; #(
3138 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3139 *) { eval $ac_var=; unset $ac_var;} ;;
3144 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3145 *${as_nl}ac_space=\ *)
3147 "s/'\''/'\''\\\\'\'''\''/g;
3148 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3151 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3158 $as_echo "## ----------------- ##
3159 ## Output variables. ##
3160 ## ----------------- ##"
3162 for ac_var in $ac_subst_vars
3164 eval ac_val=\$$ac_var
3166 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3168 $as_echo "$ac_var='\''$ac_val'\''"
3172 if test -n "$ac_subst_files"; then
3173 $as_echo "## ------------------- ##
3174 ## File substitutions. ##
3175 ## ------------------- ##"
3177 for ac_var
in $ac_subst_files
3179 eval ac_val
=\$
$ac_var
3181 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3183 $as_echo "$ac_var='\''$ac_val'\''"
3188 if test -s confdefs.h; then
3189 $as_echo "## ----------- ##
3196 test "$ac_signal" != 0 &&
3197 $as_echo "$as_me: caught signal $ac_signal"
3198 $as_echo "$as_me: exit $exit_status"
3200 rm -f core *.core core.conftest.* &&
3201 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3204 for ac_signal
in 1 2 13 15; do
3205 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3209 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3210 rm -f -r conftest
* confdefs.h
3212 $as_echo "/* confdefs.h */" > confdefs.h
3214 # Predefined preprocessor variables.
3216 cat >>confdefs.h
<<_ACEOF
3217 #define PACKAGE_NAME "$PACKAGE_NAME"
3220 cat >>confdefs.h
<<_ACEOF
3221 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3224 cat >>confdefs.h
<<_ACEOF
3225 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3228 cat >>confdefs.h
<<_ACEOF
3229 #define PACKAGE_STRING "$PACKAGE_STRING"
3232 cat >>confdefs.h
<<_ACEOF
3233 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3236 cat >>confdefs.h
<<_ACEOF
3237 #define PACKAGE_URL "$PACKAGE_URL"
3241 # Let the site file select an alternate cache file if it wants to.
3242 # Prefer an explicitly selected file to automatically selected ones.
3245 if test -n "$CONFIG_SITE"; then
3246 # We do not want a PATH search for config.site.
3247 case $CONFIG_SITE in #((
3248 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3249 */*) ac_site_file1
=$CONFIG_SITE;;
3250 *) ac_site_file1
=.
/$CONFIG_SITE;;
3252 elif test "x$prefix" != xNONE
; then
3253 ac_site_file1
=$prefix/share
/config.site
3254 ac_site_file2
=$prefix/etc
/config.site
3256 ac_site_file1
=$ac_default_prefix/share
/config.site
3257 ac_site_file2
=$ac_default_prefix/etc
/config.site
3259 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3261 test "x$ac_site_file" = xNONE
&& continue
3262 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3264 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3265 sed 's/^/| /' "$ac_site_file" >&5
3267 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3269 as_fn_error $?
"failed to load site script $ac_site_file
3270 See \`config.log' for more details" "$LINENO" 5; }
3274 if test -r "$cache_file"; then
3275 # Some versions of bash will fail to source /dev/null (special files
3276 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3277 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3279 $as_echo "$as_me: loading cache $cache_file" >&6;}
3281 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3282 *) .
"./$cache_file";;
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3287 $as_echo "$as_me: creating cache $cache_file" >&6;}
3291 # Check that the precious variables saved in the cache have kept the same
3293 ac_cache_corrupted
=false
3294 for ac_var
in $ac_precious_vars; do
3295 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3296 eval ac_new_set
=\
$ac_env_${ac_var}_set
3297 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3298 eval ac_new_val
=\
$ac_env_${ac_var}_value
3299 case $ac_old_set,$ac_new_set in
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3302 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3303 ac_cache_corrupted
=: ;;
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3306 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3307 ac_cache_corrupted
=: ;;
3310 if test "x$ac_old_val" != "x$ac_new_val"; then
3311 # differences in whitespace do not lead to failure.
3312 ac_old_val_w
=`echo x $ac_old_val`
3313 ac_new_val_w
=`echo x $ac_new_val`
3314 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3316 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3317 ac_cache_corrupted
=:
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3320 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3321 eval $ac_var=\
$ac_old_val
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3324 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3326 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3329 # Pass precious variables to config.status.
3330 if test "$ac_new_set" = set; then
3332 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3333 *) ac_arg
=$ac_var=$ac_new_val ;;
3335 case " $ac_configure_args " in
3336 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3337 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3341 if $ac_cache_corrupted; then
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3345 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3346 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3348 ## -------------------- ##
3349 ## Main body of script. ##
3350 ## -------------------- ##
3353 ac_cpp
='$CPP $CPPFLAGS'
3354 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3355 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3356 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3360 ac_config_headers
="$ac_config_headers include/config.h"
3363 for ac_dir
in tools
"$srcdir"/tools
; do
3364 if test -f "$ac_dir/install-sh"; then
3366 ac_install_sh
="$ac_aux_dir/install-sh -c"
3368 elif test -f "$ac_dir/install.sh"; then
3370 ac_install_sh
="$ac_aux_dir/install.sh -c"
3372 elif test -f "$ac_dir/shtool"; then
3374 ac_install_sh
="$ac_aux_dir/shtool install -c"
3378 if test -z "$ac_aux_dir"; then
3379 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3382 # These three variables are undocumented and unsupported,
3383 # and are intended to be withdrawn in a future Autoconf release.
3384 # They can cause serious problems if a builder's source tree is in a directory
3385 # whose full name contains unusual characters.
3386 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3387 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3388 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3392 libwine_version
="1.0"
3396 # Check whether --enable-win16 was given.
3397 if test "${enable_win16+set}" = set; then :
3398 enableval
=$enable_win16;
3401 # Check whether --enable-win64 was given.
3402 if test "${enable_win64+set}" = set; then :
3403 enableval
=$enable_win64;
3406 # Check whether --enable-tests was given.
3407 if test "${enable_tests+set}" = set; then :
3408 enableval
=$enable_tests;
3411 # Check whether --enable-maintainer-mode was given.
3412 if test "${enable_maintainer_mode+set}" = set; then :
3413 enableval
=$enable_maintainer_mode;
3418 # Check whether --with-alsa was given.
3419 if test "${with_alsa+set}" = set; then :
3420 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3424 # Check whether --with-capi was given.
3425 if test "${with_capi+set}" = set; then :
3430 # Check whether --with-cms was given.
3431 if test "${with_cms+set}" = set; then :
3436 # Check whether --with-coreaudio was given.
3437 if test "${with_coreaudio+set}" = set; then :
3438 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3442 # Check whether --with-cups was given.
3443 if test "${with_cups+set}" = set; then :
3448 # Check whether --with-curses was given.
3449 if test "${with_curses+set}" = set; then :
3450 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3454 # Check whether --with-dbus was given.
3455 if test "${with_dbus+set}" = set; then :
3460 # Check whether --with-fontconfig was given.
3461 if test "${with_fontconfig+set}" = set; then :
3462 withval
=$with_fontconfig;
3466 # Check whether --with-freetype was given.
3467 if test "${with_freetype+set}" = set; then :
3468 withval
=$with_freetype;
3472 # Check whether --with-gettext was given.
3473 if test "${with_gettext+set}" = set; then :
3474 withval
=$with_gettext;
3478 # Check whether --with-gettextpo was given.
3479 if test "${with_gettextpo+set}" = set; then :
3480 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3484 # Check whether --with-gphoto was given.
3485 if test "${with_gphoto+set}" = set; then :
3486 withval
=$with_gphoto;
3490 # Check whether --with-glu was given.
3491 if test "${with_glu+set}" = set; then :
3496 # Check whether --with-gnutls was given.
3497 if test "${with_gnutls+set}" = set; then :
3498 withval
=$with_gnutls;
3502 # Check whether --with-gsm was given.
3503 if test "${with_gsm+set}" = set; then :
3504 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3508 # Check whether --with-gstreamer was given.
3509 if test "${with_gstreamer+set}" = set; then :
3510 withval
=$with_gstreamer;
3514 # Check whether --with-hal was given.
3515 if test "${with_hal+set}" = set; then :
3520 # Check whether --with-jpeg was given.
3521 if test "${with_jpeg+set}" = set; then :
3526 # Check whether --with-ldap was given.
3527 if test "${with_ldap+set}" = set; then :
3528 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3532 # Check whether --with-mpg123 was given.
3533 if test "${with_mpg123+set}" = set; then :
3534 withval
=$with_mpg123;
3538 # Check whether --with-netapi was given.
3539 if test "${with_netapi+set}" = set; then :
3540 withval
=$with_netapi;
3544 # Check whether --with-openal was given.
3545 if test "${with_openal+set}" = set; then :
3546 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3550 # Check whether --with-opencl was given.
3551 if test "${with_opencl+set}" = set; then :
3552 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3556 # Check whether --with-opengl was given.
3557 if test "${with_opengl+set}" = set; then :
3558 withval
=$with_opengl;
3562 # Check whether --with-osmesa was given.
3563 if test "${with_osmesa+set}" = set; then :
3564 withval
=$with_osmesa;
3568 # Check whether --with-oss was given.
3569 if test "${with_oss+set}" = set; then :
3574 # Check whether --with-pcap was given.
3575 if test "${with_pcap+set}" = set; then :
3576 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3580 # Check whether --with-png was given.
3581 if test "${with_png+set}" = set; then :
3586 # Check whether --with-pthread was given.
3587 if test "${with_pthread+set}" = set; then :
3588 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3592 # Check whether --with-pulse was given.
3593 if test "${with_pulse+set}" = set; then :
3594 withval
=$with_pulse;
3598 # Check whether --with-sane was given.
3599 if test "${with_sane+set}" = set; then :
3604 # Check whether --with-tiff was given.
3605 if test "${with_tiff+set}" = set; then :
3610 # Check whether --with-udev was given.
3611 if test "${with_udev+set}" = set; then :
3616 # Check whether --with-v4l was given.
3617 if test "${with_v4l+set}" = set; then :
3622 # Check whether --with-xcomposite was given.
3623 if test "${with_xcomposite+set}" = set; then :
3624 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3628 # Check whether --with-xcursor was given.
3629 if test "${with_xcursor+set}" = set; then :
3630 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3634 # Check whether --with-xinerama was given.
3635 if test "${with_xinerama+set}" = set; then :
3636 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3640 # Check whether --with-xinput was given.
3641 if test "${with_xinput+set}" = set; then :
3642 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3646 # Check whether --with-xinput2 was given.
3647 if test "${with_xinput2+set}" = set; then :
3648 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3652 # Check whether --with-xml was given.
3653 if test "${with_xml+set}" = set; then :
3658 # Check whether --with-xrandr was given.
3659 if test "${with_xrandr+set}" = set; then :
3660 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3664 # Check whether --with-xrender was given.
3665 if test "${with_xrender+set}" = set; then :
3666 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3670 # Check whether --with-xshape was given.
3671 if test "${with_xshape+set}" = set; then :
3672 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3676 # Check whether --with-xshm was given.
3677 if test "${with_xshm+set}" = set; then :
3678 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3682 # Check whether --with-xslt was given.
3683 if test "${with_xslt+set}" = set; then :
3688 # Check whether --with-xxf86vm was given.
3689 if test "${with_xxf86vm+set}" = set; then :
3690 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
3694 # Check whether --with-zlib was given.
3695 if test "${with_zlib+set}" = set; then :
3696 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3701 # Check whether --with-wine-tools was given.
3702 if test "${with_wine_tools+set}" = set; then :
3703 withval
=$with_wine_tools;
3707 # Check whether --with-wine64 was given.
3708 if test "${with_wine64+set}" = set; then :
3709 withval
=$with_wine64;
3713 # Make sure we can run config.sub.
3714 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3715 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3718 $as_echo_n "checking build system type... " >&6; }
3719 if ${ac_cv_build+:} false
; then :
3720 $as_echo_n "(cached) " >&6
3722 ac_build_alias
=$build_alias
3723 test "x$ac_build_alias" = x
&&
3724 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3725 test "x$ac_build_alias" = x
&&
3726 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3727 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3728 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3732 $as_echo "$ac_cv_build" >&6; }
3733 case $ac_cv_build in
3735 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3738 ac_save_IFS
=$IFS; IFS
='-'
3744 # Remember, the first character of IFS is used to create $*,
3745 # except with old shells:
3748 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3752 $as_echo_n "checking host system type... " >&6; }
3753 if ${ac_cv_host+:} false
; then :
3754 $as_echo_n "(cached) " >&6
3756 if test "x$host_alias" = x
; then
3757 ac_cv_host
=$ac_cv_build
3759 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3760 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3765 $as_echo "$ac_cv_host" >&6; }
3768 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3771 ac_save_IFS
=$IFS; IFS
='-'
3777 # Remember, the first character of IFS is used to create $*,
3778 # except with old shells:
3781 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3787 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3788 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3789 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3795 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3797 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3798 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3799 $as_echo_n "(cached) " >&6
3801 cat >conftest.
make <<\_ACEOF
3804 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3806 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3807 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3809 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3811 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3815 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3817 $as_echo "yes" >&6; }
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3821 $as_echo "no" >&6; }
3822 SET_MAKE
="MAKE=${MAKE-make}"
3826 ac_cpp
='$CPP $CPPFLAGS'
3827 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3828 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3829 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3830 if test -n "$ac_tool_prefix"; then
3831 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3832 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834 $as_echo_n "checking for $ac_word... " >&6; }
3835 if ${ac_cv_prog_CC+:} false
; then :
3836 $as_echo_n "(cached) " >&6
3838 if test -n "$CC"; then
3839 ac_cv_prog_CC
="$CC" # Let the user override the test.
3841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3845 test -z "$as_dir" && as_dir
=.
3846 for ac_exec_ext
in '' $ac_executable_extensions; do
3847 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3848 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3859 if test -n "$CC"; then
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3861 $as_echo "$CC" >&6; }
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3864 $as_echo "no" >&6; }
3869 if test -z "$ac_cv_prog_CC"; then
3871 # Extract the first word of "gcc", so it can be a program name with args.
3872 set dummy gcc
; ac_word
=$2
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3874 $as_echo_n "checking for $ac_word... " >&6; }
3875 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3876 $as_echo_n "(cached) " >&6
3878 if test -n "$ac_ct_CC"; then
3879 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3885 test -z "$as_dir" && as_dir
=.
3886 for ac_exec_ext
in '' $ac_executable_extensions; do
3887 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3888 ac_cv_prog_ac_ct_CC
="gcc"
3889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3898 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3899 if test -n "$ac_ct_CC"; then
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3901 $as_echo "$ac_ct_CC" >&6; }
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3904 $as_echo "no" >&6; }
3907 if test "x$ac_ct_CC" = x
; then
3910 case $cross_compiling:$ac_tool_warned in
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3914 ac_tool_warned
=yes ;;
3922 if test -z "$CC"; then
3923 if test -n "$ac_tool_prefix"; then
3924 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3925 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3927 $as_echo_n "checking for $ac_word... " >&6; }
3928 if ${ac_cv_prog_CC+:} false
; then :
3929 $as_echo_n "(cached) " >&6
3931 if test -n "$CC"; then
3932 ac_cv_prog_CC
="$CC" # Let the user override the test.
3934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3938 test -z "$as_dir" && as_dir
=.
3939 for ac_exec_ext
in '' $ac_executable_extensions; do
3940 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3941 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3952 if test -n "$CC"; then
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3954 $as_echo "$CC" >&6; }
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3957 $as_echo "no" >&6; }
3963 if test -z "$CC"; then
3964 # Extract the first word of "cc", so it can be a program name with args.
3965 set dummy cc
; ac_word
=$2
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3967 $as_echo_n "checking for $ac_word... " >&6; }
3968 if ${ac_cv_prog_CC+:} false
; then :
3969 $as_echo_n "(cached) " >&6
3971 if test -n "$CC"; then
3972 ac_cv_prog_CC
="$CC" # Let the user override the test.
3975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3979 test -z "$as_dir" && as_dir
=.
3980 for ac_exec_ext
in '' $ac_executable_extensions; do
3981 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3982 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3983 ac_prog_rejected
=yes
3987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3994 if test $ac_prog_rejected = yes; then
3995 # We found a bogon in the path, so make sure we never use it.
3996 set dummy
$ac_cv_prog_CC
3998 if test $# != 0; then
3999 # We chose a different compiler from the bogus one.
4000 # However, it has the same basename, so the bogon will be chosen
4001 # first if we set CC to just the basename; use the full file name.
4003 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4009 if test -n "$CC"; then
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4011 $as_echo "$CC" >&6; }
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4014 $as_echo "no" >&6; }
4019 if test -z "$CC"; then
4020 if test -n "$ac_tool_prefix"; then
4021 for ac_prog
in cl.exe
4023 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4024 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4026 $as_echo_n "checking for $ac_word... " >&6; }
4027 if ${ac_cv_prog_CC+:} false
; then :
4028 $as_echo_n "(cached) " >&6
4030 if test -n "$CC"; then
4031 ac_cv_prog_CC
="$CC" # Let the user override the test.
4033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4037 test -z "$as_dir" && as_dir
=.
4038 for ac_exec_ext
in '' $ac_executable_extensions; do
4039 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4040 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4051 if test -n "$CC"; then
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4053 $as_echo "$CC" >&6; }
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4056 $as_echo "no" >&6; }
4060 test -n "$CC" && break
4063 if test -z "$CC"; then
4065 for ac_prog
in cl.exe
4067 # Extract the first word of "$ac_prog", so it can be a program name with args.
4068 set dummy
$ac_prog; ac_word
=$2
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4070 $as_echo_n "checking for $ac_word... " >&6; }
4071 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4072 $as_echo_n "(cached) " >&6
4074 if test -n "$ac_ct_CC"; then
4075 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4081 test -z "$as_dir" && as_dir
=.
4082 for ac_exec_ext
in '' $ac_executable_extensions; do
4083 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4084 ac_cv_prog_ac_ct_CC
="$ac_prog"
4085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4094 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4095 if test -n "$ac_ct_CC"; then
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4097 $as_echo "$ac_ct_CC" >&6; }
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4100 $as_echo "no" >&6; }
4104 test -n "$ac_ct_CC" && break
4107 if test "x$ac_ct_CC" = x
; then
4110 case $cross_compiling:$ac_tool_warned in
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4113 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4114 ac_tool_warned
=yes ;;
4123 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4125 as_fn_error $?
"no acceptable C compiler found in \$PATH
4126 See \`config.log' for more details" "$LINENO" 5; }
4128 # Provide some information about the compiler.
4129 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4132 for ac_option
in --version -v -V -qversion; do
4133 { { ac_try
="$ac_compiler $ac_option >&5"
4135 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4136 *) ac_try_echo=$ac_try;;
4138 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4139 $as_echo "$ac_try_echo"; } >&5
4140 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4142 if test -s conftest.err; then
4144 ... rest of stderr output deleted ...
4145 10q' conftest.err >conftest.er1
4146 cat conftest.er1 >&5
4148 rm -f conftest.er1 conftest.err
4149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4150 test $ac_status = 0; }
4153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4164 ac_clean_files_save=$ac_clean_files
4165 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4166 # Try to create an executable without -o first, disregard a.out.
4167 # It will help us diagnose broken compilers, and finding out an intuition
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4170 $as_echo_n "checking whether the C compiler works... " >&6; }
4171 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4173 # The possible output files:
4174 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4177 for ac_file in $ac_files
4180 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4181 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4186 if { { ac_try="$ac_link_default"
4188 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4189 *) ac_try_echo
=$ac_try;;
4191 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4192 $as_echo "$ac_try_echo"; } >&5
4193 (eval "$ac_link_default") 2>&5
4195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4196 test $ac_status = 0; }; then :
4197 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4198 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4199 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4200 # so that the user can short-circuit this test for compilers unknown to
4202 for ac_file
in $ac_files ''
4204 test -f "$ac_file" ||
continue
4206 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4209 # We found the default executable, but exeext='' is most
4213 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4215 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4217 # We set ac_cv_exeext here because the later test for it is not
4218 # safe: cross compilers may not add the suffix if given an `-o'
4219 # argument, so we may need to know it at that point already.
4220 # Even if this section looks crufty: it has the advantage of
4227 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4232 if test -z "$ac_file"; then :
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4234 $as_echo "no" >&6; }
4235 $as_echo "$as_me: failed program was:" >&5
4236 sed 's/^/| /' conftest.
$ac_ext >&5
4238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4240 as_fn_error
77 "C compiler cannot create executables
4241 See \`config.log' for more details" "$LINENO" 5; }
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4244 $as_echo "yes" >&6; }
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4247 $as_echo_n "checking for C compiler default output file name... " >&6; }
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4249 $as_echo "$ac_file" >&6; }
4250 ac_exeext
=$ac_cv_exeext
4252 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4253 ac_clean_files
=$ac_clean_files_save
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4255 $as_echo_n "checking for suffix of executables... " >&6; }
4256 if { { ac_try
="$ac_link"
4258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4259 *) ac_try_echo=$ac_try;;
4261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4262 $as_echo "$ac_try_echo"; } >&5
4263 (eval "$ac_link") 2>&5
4265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4266 test $ac_status = 0; }; then :
4267 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4268 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4269 # work properly (i.e., refer to `conftest.exe'), while it won't with
4271 for ac_file
in conftest.exe conftest conftest.
*; do
4272 test -f "$ac_file" ||
continue
4274 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4275 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4283 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4284 See \`config.log' for more details" "$LINENO" 5; }
4286 rm -f conftest conftest
$ac_cv_exeext
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4288 $as_echo "$ac_cv_exeext" >&6; }
4290 rm -f conftest.
$ac_ext
4291 EXEEXT
=$ac_cv_exeext
4293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4294 /* end confdefs.h. */
4299 FILE *f = fopen ("conftest.out", "w");
4300 return ferror (f) || fclose (f) != 0;
4306 ac_clean_files
="$ac_clean_files conftest.out"
4307 # Check that the compiler produces executables we can run. If not, either
4308 # the compiler is broken, or we cross compile.
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4310 $as_echo_n "checking whether we are cross compiling... " >&6; }
4311 if test "$cross_compiling" != yes; then
4312 { { ac_try
="$ac_link"
4314 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4315 *) ac_try_echo=$ac_try;;
4317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4318 $as_echo "$ac_try_echo"; } >&5
4319 (eval "$ac_link") 2>&5
4321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4322 test $ac_status = 0; }
4323 if { ac_try='./conftest$ac_cv_exeext'
4324 { { case "(($ac_try" in
4325 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4326 *) ac_try_echo
=$ac_try;;
4328 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4329 $as_echo "$ac_try_echo"; } >&5
4330 (eval "$ac_try") 2>&5
4332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4333 test $ac_status = 0; }; }; then
4336 if test "$cross_compiling" = maybe
; then
4339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4341 as_fn_error $?
"cannot run C compiled programs.
4342 If you meant to cross compile, use \`--host'.
4343 See \`config.log' for more details" "$LINENO" 5; }
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4348 $as_echo "$cross_compiling" >&6; }
4350 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4351 ac_clean_files
=$ac_clean_files_save
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4353 $as_echo_n "checking for suffix of object files... " >&6; }
4354 if ${ac_cv_objext+:} false
; then :
4355 $as_echo_n "(cached) " >&6
4357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4358 /* end confdefs.h. */
4368 rm -f conftest.o conftest.obj
4369 if { { ac_try
="$ac_compile"
4371 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4372 *) ac_try_echo=$ac_try;;
4374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4375 $as_echo "$ac_try_echo"; } >&5
4376 (eval "$ac_compile") 2>&5
4378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4379 test $ac_status = 0; }; then :
4380 for ac_file in conftest.o conftest.obj conftest.*; do
4381 test -f "$ac_file" || continue;
4383 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4384 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4389 $as_echo "$as_me: failed program was:" >&5
4390 sed 's/^/| /' conftest.$ac_ext >&5
4392 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4394 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4395 See \
`config.log' for more details" "$LINENO" 5; }
4397 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4400 $as_echo "$ac_cv_objext" >&6; }
4401 OBJEXT=$ac_cv_objext
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4404 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4405 if ${ac_cv_c_compiler_gnu+:} false; then :
4406 $as_echo_n "(cached) " >&6
4408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4409 /* end confdefs.h. */
4422 if ac_fn_c_try_compile "$LINENO"; then :
4427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4428 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4432 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4433 if test $ac_compiler_gnu = yes; then
4438 ac_test_CFLAGS=${CFLAGS+set}
4439 ac_save_CFLAGS=$CFLAGS
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4441 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4442 if ${ac_cv_prog_cc_g+:} false; then :
4443 $as_echo_n "(cached) " >&6
4445 ac_save_c_werror_flag=$ac_c_werror_flag
4446 ac_c_werror_flag=yes
4449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4450 /* end confdefs.h. */
4460 if ac_fn_c_try_compile "$LINENO"; then :
4464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4465 /* end confdefs.h. */
4475 if ac_fn_c_try_compile "$LINENO"; then :
4478 ac_c_werror_flag=$ac_save_c_werror_flag
4480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4481 /* end confdefs.h. */
4491 if ac_fn_c_try_compile "$LINENO"; then :
4494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4499 ac_c_werror_flag=$ac_save_c_werror_flag
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4502 $as_echo "$ac_cv_prog_cc_g" >&6; }
4503 if test "$ac_test_CFLAGS" = set; then
4504 CFLAGS=$ac_save_CFLAGS
4505 elif test $ac_cv_prog_cc_g = yes; then
4506 if test "$GCC" = yes; then
4512 if test "$GCC" = yes; then
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4519 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4520 if ${ac_cv_prog_cc_c89+:} false; then :
4521 $as_echo_n "(cached) " >&6
4523 ac_cv_prog_cc_c89=no
4525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4526 /* end confdefs.h. */
4530 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4531 struct buf { int x; };
4532 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4533 static char *e (p, i)
4539 static char *f (char * (*g) (char **, int), char **p, ...)
4544 s = g (p, va_arg (v,int));
4549 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4550 function prototypes and stuff, but not '\xHH' hex character constants.
4551 These don't provoke an error unfortunately, instead are silently treated
4552 as 'x'. The following induces an error, until -std is added to get
4553 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4554 array size at least. It's necessary to write '\x00'==0 to get something
4555 that's true only with -std. */
4556 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4558 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4559 inside strings and character constants. */
4561 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4563 int test (int i, double x);
4564 struct s1 {int (*f) (int a);};
4565 struct s2 {int (*f) (double a);};
4566 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4572 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4577 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4578 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4580 CC="$ac_save_CC $ac_arg"
4581 if ac_fn_c_try_compile "$LINENO"; then :
4582 ac_cv_prog_cc_c89=$ac_arg
4584 rm -f core conftest.err conftest.$ac_objext
4585 test "x$ac_cv_prog_cc_c89" != "xno" && break
4587 rm -f conftest.$ac_ext
4592 case "x$ac_cv_prog_cc_c89" in
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4595 $as_echo "none needed" >&6; } ;;
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4598 $as_echo "unsupported" >&6; } ;;
4600 CC="$CC $ac_cv_prog_cc_c89"
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4602 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4604 if test "x$ac_cv_prog_cc_c89" != xno; then :
4609 ac_cpp='$CPP $CPPFLAGS'
4610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4615 ac_cpp='$CXXCPP $CPPFLAGS'
4616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4619 if test -z "$CXX"; then
4620 if test -n "$CCC"; then
4623 if test -n "$ac_tool_prefix"; then
4624 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4626 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4627 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4629 $as_echo_n "checking for $ac_word... " >&6; }
4630 if ${ac_cv_prog_CXX+:} false; then :
4631 $as_echo_n "(cached) " >&6
4633 if test -n "$CXX"; then
4634 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4640 test -z "$as_dir" && as_dir=.
4641 for ac_exec_ext in '' $ac_executable_extensions; do
4642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4643 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4654 if test -n "$CXX"; then
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4656 $as_echo "$CXX" >&6; }
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4659 $as_echo "no" >&6; }
4663 test -n "$CXX" && break
4666 if test -z "$CXX"; then
4668 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4670 # Extract the first word of "$ac_prog", so it can be a program name with args.
4671 set dummy $ac_prog; ac_word=$2
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4673 $as_echo_n "checking for $ac_word... " >&6; }
4674 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4675 $as_echo_n "(cached) " >&6
4677 if test -n "$ac_ct_CXX"; then
4678 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4684 test -z "$as_dir" && as_dir=.
4685 for ac_exec_ext in '' $ac_executable_extensions; do
4686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4687 ac_cv_prog_ac_ct_CXX="$ac_prog"
4688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4697 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4698 if test -n "$ac_ct_CXX"; then
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4700 $as_echo "$ac_ct_CXX" >&6; }
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4703 $as_echo "no" >&6; }
4707 test -n "$ac_ct_CXX" && break
4710 if test "x$ac_ct_CXX" = x; then
4713 case $cross_compiling:$ac_tool_warned in
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4717 ac_tool_warned=yes ;;
4725 # Provide some information about the compiler.
4726 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4729 for ac_option in --version -v -V -qversion; do
4730 { { ac_try="$ac_compiler $ac_option >&5"
4732 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4733 *) ac_try_echo
=$ac_try;;
4735 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4736 $as_echo "$ac_try_echo"; } >&5
4737 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4739 if test -s conftest.err
; then
4741 ... rest of stderr output deleted ...
4742 10q' conftest.err
>conftest.er1
4743 cat conftest.er1
>&5
4745 rm -f conftest.er1 conftest.err
4746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4747 test $ac_status = 0; }
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4751 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4752 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4753 $as_echo_n "(cached) " >&6
4755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4756 /* end confdefs.h. */
4769 if ac_fn_cxx_try_compile
"$LINENO"; then :
4774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4775 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4779 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4780 if test $ac_compiler_gnu = yes; then
4785 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4786 ac_save_CXXFLAGS
=$CXXFLAGS
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4788 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4789 if ${ac_cv_prog_cxx_g+:} false
; then :
4790 $as_echo_n "(cached) " >&6
4792 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4793 ac_cxx_werror_flag
=yes
4796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4797 /* end confdefs.h. */
4807 if ac_fn_cxx_try_compile
"$LINENO"; then :
4808 ac_cv_prog_cxx_g
=yes
4811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4812 /* end confdefs.h. */
4822 if ac_fn_cxx_try_compile
"$LINENO"; then :
4825 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4828 /* end confdefs.h. */
4838 if ac_fn_cxx_try_compile
"$LINENO"; then :
4839 ac_cv_prog_cxx_g
=yes
4841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4843 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4845 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4846 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4849 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4850 if test "$ac_test_CXXFLAGS" = set; then
4851 CXXFLAGS
=$ac_save_CXXFLAGS
4852 elif test $ac_cv_prog_cxx_g = yes; then
4853 if test "$GXX" = yes; then
4859 if test "$GXX" = yes; then
4866 ac_cpp
='$CPP $CPPFLAGS'
4867 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4868 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4869 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4871 if test -n "$ac_tool_prefix"; then
4872 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4873 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4875 $as_echo_n "checking for $ac_word... " >&6; }
4876 if ${ac_cv_prog_CPPBIN+:} false
; then :
4877 $as_echo_n "(cached) " >&6
4879 if test -n "$CPPBIN"; then
4880 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4886 test -z "$as_dir" && as_dir
=.
4887 for ac_exec_ext
in '' $ac_executable_extensions; do
4888 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4889 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4899 CPPBIN
=$ac_cv_prog_CPPBIN
4900 if test -n "$CPPBIN"; then
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4902 $as_echo "$CPPBIN" >&6; }
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 $as_echo "no" >&6; }
4910 if test -z "$ac_cv_prog_CPPBIN"; then
4911 ac_ct_CPPBIN
=$CPPBIN
4912 # Extract the first word of "cpp", so it can be a program name with args.
4913 set dummy cpp
; ac_word
=$2
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4915 $as_echo_n "checking for $ac_word... " >&6; }
4916 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4917 $as_echo_n "(cached) " >&6
4919 if test -n "$ac_ct_CPPBIN"; then
4920 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4926 test -z "$as_dir" && as_dir
=.
4927 for ac_exec_ext
in '' $ac_executable_extensions; do
4928 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4929 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4939 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4940 if test -n "$ac_ct_CPPBIN"; then
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4942 $as_echo "$ac_ct_CPPBIN" >&6; }
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4945 $as_echo "no" >&6; }
4948 if test "x$ac_ct_CPPBIN" = x
; then
4951 case $cross_compiling:$ac_tool_warned in
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4955 ac_tool_warned
=yes ;;
4957 CPPBIN
=$ac_ct_CPPBIN
4960 CPPBIN
="$ac_cv_prog_CPPBIN"
4964 cat >>confdefs.h
<<_ACEOF
4965 #define EXEEXT "$ac_exeext"
4968 if test -n "$ac_tool_prefix"; then
4969 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4970 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 $as_echo_n "checking for $ac_word... " >&6; }
4973 if ${ac_cv_prog_LD+:} false
; then :
4974 $as_echo_n "(cached) " >&6
4976 if test -n "$LD"; then
4977 ac_cv_prog_LD
="$LD" # Let the user override the test.
4979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4983 test -z "$as_dir" && as_dir
=.
4984 for ac_exec_ext
in '' $ac_executable_extensions; do
4985 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4986 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4997 if test -n "$LD"; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4999 $as_echo "$LD" >&6; }
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5007 if test -z "$ac_cv_prog_LD"; then
5009 # Extract the first word of "ld", so it can be a program name with args.
5010 set dummy ld
; ac_word
=$2
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 $as_echo_n "checking for $ac_word... " >&6; }
5013 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
5014 $as_echo_n "(cached) " >&6
5016 if test -n "$ac_ct_LD"; then
5017 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5023 test -z "$as_dir" && as_dir
=.
5024 for ac_exec_ext
in '' $ac_executable_extensions; do
5025 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5026 ac_cv_prog_ac_ct_LD
="ld"
5027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5036 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5037 if test -n "$ac_ct_LD"; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5039 $as_echo "$ac_ct_LD" >&6; }
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5045 if test "x$ac_ct_LD" = x
; then
5048 case $cross_compiling:$ac_tool_warned in
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5051 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5052 ac_tool_warned
=yes ;;
5063 with_fontconfig
=${with_fontconfig:-no}
5065 *-mingw32*|
*-cygwin*)
5066 enable_win16
=${enable_win16:-no}
5067 CFLAGS
="$CFLAGS -D_WIN32"
5073 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5078 $as_echo_n "checking whether $CC works... " >&6; }
5080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5081 /* end confdefs.h. */
5091 if ac_fn_c_try_link
"$LINENO"; then :
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5093 $as_echo "yes" >&6; }
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5096 $as_echo "no" >&6; }
5097 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5099 rm -f core conftest.err conftest.
$ac_objext \
5100 conftest
$ac_exeext conftest.
$ac_ext
5102 notice_platform
="32-bit "
5105 enable_win16
=${enable_win16:-yes}
5107 if test "x${GCC}" = "xyes"
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5110 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5112 /* end confdefs.h. */
5117 void func(__builtin_ms_va_list *args);
5122 if ac_fn_c_try_compile
"$LINENO"; then :
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5124 $as_echo "yes" >&6; }
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5127 $as_echo "no" >&6; }
5128 as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5135 notice_platform
="64-bit "
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5142 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5144 /* end confdefs.h. */
5145 int ac_test(int i) { return i; }
5149 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5154 if ac_fn_c_try_link
"$LINENO"; then :
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5156 $as_echo "yes" >&6; }
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5159 $as_echo "no" >&6; }
5160 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5162 rm -f core conftest.err conftest.
$ac_objext \
5163 conftest
$ac_exeext conftest.
$ac_ext
5164 CFLAGS
="$CFLAGS -marm"
5169 enable_win16
=${enable_win16:-yes}
5173 enable_win16
=${enable_win16:-no}
5174 enable_win64
=${enable_win64:-no}
5176 enable_winetest
=${enable_winetest:-$enable_tests}
5178 if test -n "$with_wine64"
5180 if test "x$enable_win64" = "xyes"
5182 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5183 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5185 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5186 You should create a separate build directory and run configure from there." "$LINENO" 5
5187 enable_fonts
=${enable_fonts:-no}
5188 enable_server
=${enable_server:-no}
5189 elif test "x$enable_win64" = "xyes"
5191 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5195 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5196 if ${wine_cv_toolsdir+:} false
; then :
5197 $as_echo_n "(cached) " >&6
5199 wine_cv_toolsdir
="$with_wine_tools"
5200 if test -z "$with_wine_tools"; then
5201 if test "$cross_compiling" = "yes"; then
5202 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5203 elif test -n "$with_wine64"; then
5204 wine_cv_toolsdir
="$with_wine64"
5207 if test -z "$wine_cv_toolsdir"; then
5208 wine_makedep
=tools
/makedep
5209 wine_cv_toolsdir
="\$(top_builddir)"
5210 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5211 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5212 case "$wine_cv_toolsdir" in
5214 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5216 enable_tools
=${enable_tools:-no}
5217 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5219 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5223 $as_echo "$wine_cv_toolsdir" >&6; }
5224 TOOLSDIR
=$wine_cv_toolsdir
5226 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5228 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5234 # Extract the first word of "$ac_prog", so it can be a program name with args.
5235 set dummy
$ac_prog; ac_word
=$2
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5237 $as_echo_n "checking for $ac_word... " >&6; }
5238 if ${ac_cv_prog_FLEX+:} false
; then :
5239 $as_echo_n "(cached) " >&6
5241 if test -n "$FLEX"; then
5242 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5248 test -z "$as_dir" && as_dir
=.
5249 for ac_exec_ext
in '' $ac_executable_extensions; do
5250 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5251 ac_cv_prog_FLEX
="$ac_prog"
5252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 FLEX
=$ac_cv_prog_FLEX
5262 if test -n "$FLEX"; then
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5264 $as_echo "$FLEX" >&6; }
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5267 $as_echo "no" >&6; }
5271 test -n "$FLEX" && break
5273 test -n "$FLEX" || FLEX
="none"
5275 if test "$FLEX" = "none"
5277 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5280 $as_echo_n "checking whether flex is recent enough... " >&6; }
5281 cat >conftest.l
<<EOF
5283 #include "prediluvian.h"
5287 if $FLEX -t conftest.l
>/dev
/null
2>&5
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5290 $as_echo "yes" >&6; }
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5293 $as_echo "no" >&6; }
5294 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5297 for ac_prog
in bison
5299 # Extract the first word of "$ac_prog", so it can be a program name with args.
5300 set dummy
$ac_prog; ac_word
=$2
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5302 $as_echo_n "checking for $ac_word... " >&6; }
5303 if ${ac_cv_prog_BISON+:} false
; then :
5304 $as_echo_n "(cached) " >&6
5306 if test -n "$BISON"; then
5307 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5313 test -z "$as_dir" && as_dir
=.
5314 for ac_exec_ext
in '' $ac_executable_extensions; do
5315 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5316 ac_cv_prog_BISON
="$ac_prog"
5317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5326 BISON
=$ac_cv_prog_BISON
5327 if test -n "$BISON"; then
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5329 $as_echo "$BISON" >&6; }
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5332 $as_echo "no" >&6; }
5336 test -n "$BISON" && break
5338 test -n "$BISON" || BISON
="none"
5340 if test "$BISON" = "none"
5342 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5345 if test -n "$ac_tool_prefix"; then
5346 for ac_prog
in ar gar
5348 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5349 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5351 $as_echo_n "checking for $ac_word... " >&6; }
5352 if ${ac_cv_prog_AR+:} false
; then :
5353 $as_echo_n "(cached) " >&6
5355 if test -n "$AR"; then
5356 ac_cv_prog_AR
="$AR" # Let the user override the test.
5358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5362 test -z "$as_dir" && as_dir
=.
5363 for ac_exec_ext
in '' $ac_executable_extensions; do
5364 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5365 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5376 if test -n "$AR"; then
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5378 $as_echo "$AR" >&6; }
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5381 $as_echo "no" >&6; }
5385 test -n "$AR" && break
5388 if test -z "$AR"; then
5390 for ac_prog
in ar gar
5392 # Extract the first word of "$ac_prog", so it can be a program name with args.
5393 set dummy
$ac_prog; ac_word
=$2
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5395 $as_echo_n "checking for $ac_word... " >&6; }
5396 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5397 $as_echo_n "(cached) " >&6
5399 if test -n "$ac_ct_AR"; then
5400 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5406 test -z "$as_dir" && as_dir
=.
5407 for ac_exec_ext
in '' $ac_executable_extensions; do
5408 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5409 ac_cv_prog_ac_ct_AR
="$ac_prog"
5410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5420 if test -n "$ac_ct_AR"; then
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5422 $as_echo "$ac_ct_AR" >&6; }
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5425 $as_echo "no" >&6; }
5429 test -n "$ac_ct_AR" && break
5432 if test "x$ac_ct_AR" = x
; then
5435 case $cross_compiling:$ac_tool_warned in
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5439 ac_tool_warned
=yes ;;
5445 if test -n "$ac_tool_prefix"; then
5446 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5447 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5449 $as_echo_n "checking for $ac_word... " >&6; }
5450 if ${ac_cv_prog_STRIP+:} false
; then :
5451 $as_echo_n "(cached) " >&6
5453 if test -n "$STRIP"; then
5454 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5460 test -z "$as_dir" && as_dir
=.
5461 for ac_exec_ext
in '' $ac_executable_extensions; do
5462 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5463 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5473 STRIP
=$ac_cv_prog_STRIP
5474 if test -n "$STRIP"; then
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5476 $as_echo "$STRIP" >&6; }
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5479 $as_echo "no" >&6; }
5484 if test -z "$ac_cv_prog_STRIP"; then
5486 # Extract the first word of "strip", so it can be a program name with args.
5487 set dummy strip
; ac_word
=$2
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5489 $as_echo_n "checking for $ac_word... " >&6; }
5490 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5491 $as_echo_n "(cached) " >&6
5493 if test -n "$ac_ct_STRIP"; then
5494 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5500 test -z "$as_dir" && as_dir
=.
5501 for ac_exec_ext
in '' $ac_executable_extensions; do
5502 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5503 ac_cv_prog_ac_ct_STRIP
="strip"
5504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5513 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5514 if test -n "$ac_ct_STRIP"; then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5516 $as_echo "$ac_ct_STRIP" >&6; }
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5519 $as_echo "no" >&6; }
5522 if test "x$ac_ct_STRIP" = x
; then
5525 case $cross_compiling:$ac_tool_warned in
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5529 ac_tool_warned
=yes ;;
5534 STRIP
="$ac_cv_prog_STRIP"
5539 if test -n "$ac_tool_prefix"; then
5540 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5541 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5543 $as_echo_n "checking for $ac_word... " >&6; }
5544 if ${ac_cv_prog_RANLIB+:} false
; then :
5545 $as_echo_n "(cached) " >&6
5547 if test -n "$RANLIB"; then
5548 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5554 test -z "$as_dir" && as_dir
=.
5555 for ac_exec_ext
in '' $ac_executable_extensions; do
5556 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5557 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5567 RANLIB
=$ac_cv_prog_RANLIB
5568 if test -n "$RANLIB"; then
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5570 $as_echo "$RANLIB" >&6; }
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5573 $as_echo "no" >&6; }
5578 if test -z "$ac_cv_prog_RANLIB"; then
5579 ac_ct_RANLIB
=$RANLIB
5580 # Extract the first word of "ranlib", so it can be a program name with args.
5581 set dummy ranlib
; ac_word
=$2
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583 $as_echo_n "checking for $ac_word... " >&6; }
5584 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5585 $as_echo_n "(cached) " >&6
5587 if test -n "$ac_ct_RANLIB"; then
5588 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5594 test -z "$as_dir" && as_dir
=.
5595 for ac_exec_ext
in '' $ac_executable_extensions; do
5596 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5597 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5607 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5608 if test -n "$ac_ct_RANLIB"; then
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5610 $as_echo "$ac_ct_RANLIB" >&6; }
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613 $as_echo "no" >&6; }
5616 if test "x$ac_ct_RANLIB" = x
; then
5619 case $cross_compiling:$ac_tool_warned in
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5623 ac_tool_warned
=yes ;;
5625 RANLIB
=$ac_ct_RANLIB
5628 RANLIB
="$ac_cv_prog_RANLIB"
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5632 $as_echo_n "checking whether ln -s works... " >&6; }
5634 if test "$LN_S" = "ln -s"; then
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5636 $as_echo "yes" >&6; }
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5639 $as_echo "no, using $LN_S" >&6; }
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5643 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5644 if ${ac_cv_path_GREP+:} false
; then :
5645 $as_echo_n "(cached) " >&6
5647 if test -z "$GREP"; then
5648 ac_path_GREP_found
=false
5649 # Loop through the user's path and test for each of PROGNAME-LIST
5650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5651 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5654 test -z "$as_dir" && as_dir
=.
5655 for ac_prog
in grep ggrep
; do
5656 for ac_exec_ext
in '' $ac_executable_extensions; do
5657 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5658 as_fn_executable_p
"$ac_path_GREP" ||
continue
5659 # Check for GNU ac_path_GREP and select it if it is found.
5660 # Check for GNU $ac_path_GREP
5661 case `"$ac_path_GREP" --version 2>&1` in
5663 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5666 $as_echo_n 0123456789 >"conftest.in"
5669 cat "conftest.in" "conftest.in" >"conftest.tmp"
5670 mv "conftest.tmp" "conftest.in"
5671 cp "conftest.in" "conftest.nl"
5672 $as_echo 'GREP' >> "conftest.nl"
5673 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5674 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5675 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5676 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5677 # Best one so far, save it but keep looking for a better one
5678 ac_cv_path_GREP
="$ac_path_GREP"
5679 ac_path_GREP_max
=$ac_count
5681 # 10*(2^10) chars as input seems more than enough
5682 test $ac_count -gt 10 && break
5684 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5687 $ac_path_GREP_found && break 3
5692 if test -z "$ac_cv_path_GREP"; then
5693 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5696 ac_cv_path_GREP
=$GREP
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5701 $as_echo "$ac_cv_path_GREP" >&6; }
5702 GREP
="$ac_cv_path_GREP"
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5706 $as_echo_n "checking for egrep... " >&6; }
5707 if ${ac_cv_path_EGREP+:} false
; then :
5708 $as_echo_n "(cached) " >&6
5710 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5711 then ac_cv_path_EGREP
="$GREP -E"
5713 if test -z "$EGREP"; then
5714 ac_path_EGREP_found
=false
5715 # Loop through the user's path and test for each of PROGNAME-LIST
5716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5717 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5720 test -z "$as_dir" && as_dir
=.
5721 for ac_prog
in egrep; do
5722 for ac_exec_ext
in '' $ac_executable_extensions; do
5723 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5724 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5725 # Check for GNU ac_path_EGREP and select it if it is found.
5726 # Check for GNU $ac_path_EGREP
5727 case `"$ac_path_EGREP" --version 2>&1` in
5729 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5732 $as_echo_n 0123456789 >"conftest.in"
5735 cat "conftest.in" "conftest.in" >"conftest.tmp"
5736 mv "conftest.tmp" "conftest.in"
5737 cp "conftest.in" "conftest.nl"
5738 $as_echo 'EGREP' >> "conftest.nl"
5739 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5740 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5741 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5742 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5743 # Best one so far, save it but keep looking for a better one
5744 ac_cv_path_EGREP
="$ac_path_EGREP"
5745 ac_path_EGREP_max
=$ac_count
5747 # 10*(2^10) chars as input seems more than enough
5748 test $ac_count -gt 10 && break
5750 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5753 $ac_path_EGREP_found && break 3
5758 if test -z "$ac_cv_path_EGREP"; then
5759 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5762 ac_cv_path_EGREP
=$EGREP
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5768 $as_echo "$ac_cv_path_EGREP" >&6; }
5769 EGREP
="$ac_cv_path_EGREP"
5772 # Extract the first word of "ldconfig", so it can be a program name with args.
5773 set dummy ldconfig
; ac_word
=$2
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5775 $as_echo_n "checking for $ac_word... " >&6; }
5776 if ${ac_cv_path_LDCONFIG+:} false
; then :
5777 $as_echo_n "(cached) " >&6
5781 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5785 for as_dir
in /sbin
/usr
/sbin
$PATH
5788 test -z "$as_dir" && as_dir
=.
5789 for ac_exec_ext
in '' $ac_executable_extensions; do
5790 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5791 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5799 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5803 LDCONFIG
=$ac_cv_path_LDCONFIG
5804 if test -n "$LDCONFIG"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5806 $as_echo "$LDCONFIG" >&6; }
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5813 for ac_prog
in msgfmt
5815 # Extract the first word of "$ac_prog", so it can be a program name with args.
5816 set dummy
$ac_prog; ac_word
=$2
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5818 $as_echo_n "checking for $ac_word... " >&6; }
5819 if ${ac_cv_prog_MSGFMT+:} false
; then :
5820 $as_echo_n "(cached) " >&6
5822 if test -n "$MSGFMT"; then
5823 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5829 test -z "$as_dir" && as_dir
=.
5830 for ac_exec_ext
in '' $ac_executable_extensions; do
5831 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5832 ac_cv_prog_MSGFMT
="$ac_prog"
5833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5842 MSGFMT
=$ac_cv_prog_MSGFMT
5843 if test -n "$MSGFMT"; then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5845 $as_echo "$MSGFMT" >&6; }
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5848 $as_echo "no" >&6; }
5852 test -n "$MSGFMT" && break
5854 test -n "$MSGFMT" || MSGFMT
="false"
5856 if ${ac_tool_prefix+:} false
; then :
5857 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5858 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5860 $as_echo_n "checking for $ac_word... " >&6; }
5861 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5862 $as_echo_n "(cached) " >&6
5864 if test -n "$PKG_CONFIG"; then
5865 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5871 test -z "$as_dir" && as_dir
=.
5872 for ac_exec_ext
in '' $ac_executable_extensions; do
5873 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5874 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5884 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5885 if test -n "$PKG_CONFIG"; then
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5887 $as_echo "$PKG_CONFIG" >&6; }
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5890 $as_echo "no" >&6; }
5895 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5896 if test "x$cross_compiling" = xyes
; then :
5899 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5900 # Extract the first word of "pkg-config", so it can be a program name with args.
5901 set dummy pkg-config
; ac_word
=$2
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5903 $as_echo_n "checking for $ac_word... " >&6; }
5904 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5905 $as_echo_n "(cached) " >&6
5907 if test -n "$PKG_CONFIG"; then
5908 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5914 test -z "$as_dir" && as_dir
=.
5915 for ac_exec_ext
in '' $ac_executable_extensions; do
5916 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5917 ac_cv_prog_PKG_CONFIG
="pkg-config"
5918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5927 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5928 if test -n "$PKG_CONFIG"; then
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5930 $as_echo "$PKG_CONFIG" >&6; }
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5933 $as_echo "no" >&6; }
5939 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5942 if test "x$enable_maintainer_mode" != "xyes"
5949 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5950 for ac_prog
in fontforge
5952 # Extract the first word of "$ac_prog", so it can be a program name with args.
5953 set dummy
$ac_prog; ac_word
=$2
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5955 $as_echo_n "checking for $ac_word... " >&6; }
5956 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5957 $as_echo_n "(cached) " >&6
5959 if test -n "$FONTFORGE"; then
5960 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5966 test -z "$as_dir" && as_dir
=.
5967 for ac_exec_ext
in '' $ac_executable_extensions; do
5968 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5969 ac_cv_prog_FONTFORGE
="$ac_prog"
5970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5979 FONTFORGE
=$ac_cv_prog_FONTFORGE
5980 if test -n "$FONTFORGE"; then
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5982 $as_echo "$FONTFORGE" >&6; }
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5985 $as_echo "no" >&6; }
5989 test -n "$FONTFORGE" && break
5991 test -n "$FONTFORGE" || FONTFORGE
="false"
5993 for ac_prog
in rsvg-convert rsvg
5995 # Extract the first word of "$ac_prog", so it can be a program name with args.
5996 set dummy
$ac_prog; ac_word
=$2
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5998 $as_echo_n "checking for $ac_word... " >&6; }
5999 if ${ac_cv_prog_RSVG+:} false
; then :
6000 $as_echo_n "(cached) " >&6
6002 if test -n "$RSVG"; then
6003 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
6005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6009 test -z "$as_dir" && as_dir
=.
6010 for ac_exec_ext
in '' $ac_executable_extensions; do
6011 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6012 ac_cv_prog_RSVG
="$ac_prog"
6013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6022 RSVG
=$ac_cv_prog_RSVG
6023 if test -n "$RSVG"; then
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6025 $as_echo "$RSVG" >&6; }
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6028 $as_echo "no" >&6; }
6032 test -n "$RSVG" && break
6034 test -n "$RSVG" || RSVG
="false"
6036 for ac_prog
in convert
6038 # Extract the first word of "$ac_prog", so it can be a program name with args.
6039 set dummy
$ac_prog; ac_word
=$2
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6041 $as_echo_n "checking for $ac_word... " >&6; }
6042 if ${ac_cv_prog_CONVERT+:} false
; then :
6043 $as_echo_n "(cached) " >&6
6045 if test -n "$CONVERT"; then
6046 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
6048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6052 test -z "$as_dir" && as_dir
=.
6053 for ac_exec_ext
in '' $ac_executable_extensions; do
6054 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6055 ac_cv_prog_CONVERT
="$ac_prog"
6056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6065 CONVERT
=$ac_cv_prog_CONVERT
6066 if test -n "$CONVERT"; then
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6068 $as_echo "$CONVERT" >&6; }
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6071 $as_echo "no" >&6; }
6075 test -n "$CONVERT" && break
6077 test -n "$CONVERT" || CONVERT
="false"
6079 for ac_prog
in icotool
6081 # Extract the first word of "$ac_prog", so it can be a program name with args.
6082 set dummy
$ac_prog; ac_word
=$2
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6084 $as_echo_n "checking for $ac_word... " >&6; }
6085 if ${ac_cv_prog_ICOTOOL+:} false
; then :
6086 $as_echo_n "(cached) " >&6
6088 if test -n "$ICOTOOL"; then
6089 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6095 test -z "$as_dir" && as_dir
=.
6096 for ac_exec_ext
in '' $ac_executable_extensions; do
6097 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6098 ac_cv_prog_ICOTOOL
="$ac_prog"
6099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6108 ICOTOOL
=$ac_cv_prog_ICOTOOL
6109 if test -n "$ICOTOOL"; then
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6111 $as_echo "$ICOTOOL" >&6; }
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6114 $as_echo "no" >&6; }
6118 test -n "$ICOTOOL" && break
6120 test -n "$ICOTOOL" || ICOTOOL
="false"
6122 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6123 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6125 if test "$CONVERT" = false
6127 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6130 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6131 convert_version
=`convert --version | head -n1`
6132 if test "x$convert_version" != "x"
6134 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6135 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6136 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6141 if test "$CONVERT" = false
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6144 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6145 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6148 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6152 if test "$ICOTOOL" = false
6154 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6157 $as_echo_n "checking for recent enough icotool... " >&6; }
6158 icotool_version
=`icotool --version | head -n1`
6159 if test "x$icotool_version" != "x"
6161 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6162 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6163 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6166 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6169 if test "$ICOTOOL" = false
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6172 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6173 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6176 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6182 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6185 test "x$with_gettext" != xno || MSGFMT
=false
6186 if test "$MSGFMT" != "false"
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6189 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6190 cat >conftest.po
<<EOF
6196 if $MSGFMT -o /dev
/null conftest.po
2>&5
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6199 $as_echo "yes" >&6; }
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6202 $as_echo "no" >&6; }
6206 if test "$MSGFMT" = false
; then :
6207 case "x$with_gettext" in
6208 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6210 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6211 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6213 enable_po
=${enable_po:-no}
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6218 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6219 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6220 $as_echo_n "(cached) " >&6
6222 ac_check_lib_save_LIBS
=$LIBS
6224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6225 /* end confdefs.h. */
6227 /* Override any GCC internal prototype to avoid an error.
6228 Use char because int might match the return type of a GCC
6229 builtin and then its argument prototype would still apply. */
6233 char i386_set_ldt ();
6237 return i386_set_ldt ();
6242 if ac_fn_c_try_link
"$LINENO"; then :
6243 ac_cv_lib_i386_i386_set_ldt
=yes
6245 ac_cv_lib_i386_i386_set_ldt
=no
6247 rm -f core conftest.err conftest.
$ac_objext \
6248 conftest
$ac_exeext conftest.
$ac_ext
6249 LIBS
=$ac_check_lib_save_LIBS
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6252 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6253 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6254 cat >>confdefs.h
<<_ACEOF
6255 #define HAVE_LIBI386 1
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6263 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6264 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6265 $as_echo_n "(cached) " >&6
6267 ac_check_lib_save_LIBS
=$LIBS
6268 LIBS
="-lossaudio $LIBS"
6269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6270 /* end confdefs.h. */
6272 /* Override any GCC internal prototype to avoid an error.
6273 Use char because int might match the return type of a GCC
6274 builtin and then its argument prototype would still apply. */
6282 return _oss_ioctl ();
6287 if ac_fn_c_try_link
"$LINENO"; then :
6288 ac_cv_lib_ossaudio__oss_ioctl
=yes
6290 ac_cv_lib_ossaudio__oss_ioctl
=no
6292 rm -f core conftest.err conftest.
$ac_objext \
6293 conftest
$ac_exeext conftest.
$ac_ext
6294 LIBS
=$ac_check_lib_save_LIBS
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6297 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6298 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6299 cat >>confdefs.h
<<_ACEOF
6300 #define HAVE_LIBOSSAUDIO 1
6303 LIBS
="-lossaudio $LIBS"
6312 # Check whether --enable-largefile was given.
6313 if test "${enable_largefile+set}" = set; then :
6314 enableval
=$enable_largefile;
6317 if test "$enable_largefile" != no
; then
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6320 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6321 if ${ac_cv_sys_largefile_CC+:} false
; then :
6322 $as_echo_n "(cached) " >&6
6324 ac_cv_sys_largefile_CC
=no
6325 if test "$GCC" != yes; then
6328 # IRIX 6.2 and later do not support large files by default,
6329 # so use the C compiler's -n32 option if that helps.
6330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6331 /* end confdefs.h. */
6332 #include <sys/types.h>
6333 /* Check that off_t can represent 2**63 - 1 correctly.
6334 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6335 since some C++ compilers masquerading as C compilers
6336 incorrectly reject 9223372036854775807. */
6337 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6338 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6339 && LARGE_OFF_T % 2147483647 == 1)
6349 if ac_fn_c_try_compile
"$LINENO"; then :
6352 rm -f core conftest.err conftest.
$ac_objext
6354 if ac_fn_c_try_compile
"$LINENO"; then :
6355 ac_cv_sys_largefile_CC
=' -n32'; break
6357 rm -f core conftest.err conftest.
$ac_objext
6361 rm -f conftest.
$ac_ext
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6365 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6366 if test "$ac_cv_sys_largefile_CC" != no
; then
6367 CC
=$CC$ac_cv_sys_largefile_CC
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6371 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6372 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6373 $as_echo_n "(cached) " >&6
6376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6377 /* end confdefs.h. */
6378 #include <sys/types.h>
6379 /* Check that off_t can represent 2**63 - 1 correctly.
6380 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6381 since some C++ compilers masquerading as C compilers
6382 incorrectly reject 9223372036854775807. */
6383 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6384 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6385 && LARGE_OFF_T % 2147483647 == 1)
6395 if ac_fn_c_try_compile
"$LINENO"; then :
6396 ac_cv_sys_file_offset_bits
=no
; break
6398 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6400 /* end confdefs.h. */
6401 #define _FILE_OFFSET_BITS 64
6402 #include <sys/types.h>
6403 /* Check that off_t can represent 2**63 - 1 correctly.
6404 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6405 since some C++ compilers masquerading as C compilers
6406 incorrectly reject 9223372036854775807. */
6407 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6408 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6409 && LARGE_OFF_T % 2147483647 == 1)
6419 if ac_fn_c_try_compile
"$LINENO"; then :
6420 ac_cv_sys_file_offset_bits
=64; break
6422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6423 ac_cv_sys_file_offset_bits
=unknown
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6428 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6429 case $ac_cv_sys_file_offset_bits in #(
6432 cat >>confdefs.h
<<_ACEOF
6433 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6438 if test $ac_cv_sys_file_offset_bits = unknown
; then
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6440 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6441 if ${ac_cv_sys_large_files+:} false
; then :
6442 $as_echo_n "(cached) " >&6
6445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6446 /* end confdefs.h. */
6447 #include <sys/types.h>
6448 /* Check that off_t can represent 2**63 - 1 correctly.
6449 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6450 since some C++ compilers masquerading as C compilers
6451 incorrectly reject 9223372036854775807. */
6452 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6453 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6454 && LARGE_OFF_T % 2147483647 == 1)
6464 if ac_fn_c_try_compile
"$LINENO"; then :
6465 ac_cv_sys_large_files
=no
; break
6467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6469 /* end confdefs.h. */
6470 #define _LARGE_FILES 1
6471 #include <sys/types.h>
6472 /* Check that off_t can represent 2**63 - 1 correctly.
6473 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6474 since some C++ compilers masquerading as C compilers
6475 incorrectly reject 9223372036854775807. */
6476 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6477 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6478 && LARGE_OFF_T % 2147483647 == 1)
6488 if ac_fn_c_try_compile
"$LINENO"; then :
6489 ac_cv_sys_large_files
=1; break
6491 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6492 ac_cv_sys_large_files
=unknown
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6497 $as_echo "$ac_cv_sys_large_files" >&6; }
6498 case $ac_cv_sys_large_files in #(
6501 cat >>confdefs.h
<<_ACEOF
6502 #define _LARGE_FILES $ac_cv_sys_large_files
6514 ac_cpp
='$CPP $CPPFLAGS'
6515 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6516 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6517 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6519 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6520 # On Suns, sometimes $CPP names a directory.
6521 if test -n "$CPP" && test -d "$CPP"; then
6524 if test -z "$CPP"; then
6525 if ${ac_cv_prog_CPP+:} false
; then :
6526 $as_echo_n "(cached) " >&6
6528 # Double quotes because CPP needs to be expanded
6529 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6532 for ac_c_preproc_warn_flag
in '' yes
6534 # Use a header file that comes with gcc, so configuring glibc
6535 # with a fresh cross-compiler works.
6536 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6537 # <limits.h> exists even on freestanding compilers.
6538 # On the NeXT, cc -E runs the code through the compiler's parser,
6539 # not just through cpp. "Syntax error" is here to catch this case.
6540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6541 /* end confdefs.h. */
6543 # include <limits.h>
6545 # include <assert.h>
6549 if ac_fn_c_try_cpp
"$LINENO"; then :
6552 # Broken: fails on valid input.
6555 rm -f conftest.err conftest.i conftest.
$ac_ext
6557 # OK, works on sane cases. Now check whether nonexistent headers
6558 # can be detected and how.
6559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6560 /* end confdefs.h. */
6561 #include <ac_nonexistent.h>
6563 if ac_fn_c_try_cpp
"$LINENO"; then :
6564 # Broken: success on invalid input.
6567 # Passes both tests.
6571 rm -f conftest.err conftest.i conftest.
$ac_ext
6574 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6575 rm -f conftest.i conftest.err conftest.
$ac_ext
6576 if $ac_preproc_ok; then :
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6589 $as_echo "$CPP" >&6; }
6591 for ac_c_preproc_warn_flag
in '' yes
6593 # Use a header file that comes with gcc, so configuring glibc
6594 # with a fresh cross-compiler works.
6595 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6596 # <limits.h> exists even on freestanding compilers.
6597 # On the NeXT, cc -E runs the code through the compiler's parser,
6598 # not just through cpp. "Syntax error" is here to catch this case.
6599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6600 /* end confdefs.h. */
6602 # include <limits.h>
6604 # include <assert.h>
6608 if ac_fn_c_try_cpp
"$LINENO"; then :
6611 # Broken: fails on valid input.
6614 rm -f conftest.err conftest.i conftest.
$ac_ext
6616 # OK, works on sane cases. Now check whether nonexistent headers
6617 # can be detected and how.
6618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6619 /* end confdefs.h. */
6620 #include <ac_nonexistent.h>
6622 if ac_fn_c_try_cpp
"$LINENO"; then :
6623 # Broken: success on invalid input.
6626 # Passes both tests.
6630 rm -f conftest.err conftest.i conftest.
$ac_ext
6633 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6634 rm -f conftest.i conftest.err conftest.
$ac_ext
6635 if $ac_preproc_ok; then :
6638 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6640 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6641 See \`config.log' for more details" "$LINENO" 5; }
6645 ac_cpp
='$CPP $CPPFLAGS'
6646 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6647 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6648 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6652 $as_echo_n "checking for ANSI C header files... " >&6; }
6653 if ${ac_cv_header_stdc+:} false
; then :
6654 $as_echo_n "(cached) " >&6
6656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6657 /* end confdefs.h. */
6671 if ac_fn_c_try_compile
"$LINENO"; then :
6672 ac_cv_header_stdc
=yes
6674 ac_cv_header_stdc
=no
6676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6678 if test $ac_cv_header_stdc = yes; then
6679 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6681 /* end confdefs.h. */
6685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6686 $EGREP "memchr" >/dev
/null
2>&1; then :
6689 ac_cv_header_stdc
=no
6695 if test $ac_cv_header_stdc = yes; then
6696 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6698 /* end confdefs.h. */
6702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6703 $EGREP "free" >/dev
/null
2>&1; then :
6706 ac_cv_header_stdc
=no
6712 if test $ac_cv_header_stdc = yes; then
6713 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6714 if test "$cross_compiling" = yes; then :
6717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6718 /* end confdefs.h. */
6721 #if ((' ' & 0x0FF) == 0x020)
6722 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6723 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6725 # define ISLOWER(c) \
6726 (('a' <= (c) && (c) <= 'i') \
6727 || ('j' <= (c) && (c) <= 'r') \
6728 || ('s' <= (c) && (c) <= 'z'))
6729 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6732 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6737 for (i = 0; i < 256; i++)
6738 if (XOR (islower (i), ISLOWER (i))
6739 || toupper (i) != TOUPPER (i))
6744 if ac_fn_c_try_run
"$LINENO"; then :
6747 ac_cv_header_stdc
=no
6749 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6750 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6756 $as_echo "$ac_cv_header_stdc" >&6; }
6757 if test $ac_cv_header_stdc = yes; then
6759 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6763 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6764 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6765 inttypes.h stdint.h unistd.h
6767 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6768 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6770 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6771 cat >>confdefs.h
<<_ACEOF
6772 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6782 ApplicationServices
/ApplicationServices.h \
6783 AudioToolbox
/AudioConverter.h \
6784 AudioUnit
/AudioUnit.h \
6785 AudioUnit
/AudioComponent.h \
6788 CommonCrypto
/CommonDigest.h \
6789 CoreAudio
/CoreAudio.h \
6790 CoreServices
/CoreServices.h \
6791 DiskArbitration
/DiskArbitration.h \
6793 IOKit
/hid
/IOHIDLib.h \
6796 QuickTime
/ImageCompression.h \
6797 Security
/Security.h \
6849 netinet
/in_systm.h \
6913 valgrind
/memcheck.h \
6914 valgrind
/valgrind.h \
6918 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6919 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6920 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6921 cat >>confdefs.h
<<_ACEOF
6922 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6930 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6931 if ${ac_cv_header_sys_types_h_makedev+:} false
; then :
6932 $as_echo_n "(cached) " >&6
6934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6935 /* end confdefs.h. */
6936 #include <sys/types.h>
6940 return makedev(0, 0);
6945 if ac_fn_c_try_link
"$LINENO"; then :
6946 ac_cv_header_sys_types_h_makedev
=yes
6948 ac_cv_header_sys_types_h_makedev
=no
6950 rm -f core conftest.err conftest.
$ac_objext \
6951 conftest
$ac_exeext conftest.
$ac_ext
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6955 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6957 if test $ac_cv_header_sys_types_h_makedev = no
; then
6958 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6959 if test "x$ac_cv_header_sys_mkdev_h" = xyes
; then :
6961 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6967 if test $ac_cv_header_sys_mkdev_h = no
; then
6968 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6969 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
; then :
6971 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6980 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6981 if ${ac_cv_header_stat_broken+:} false
; then :
6982 $as_echo_n "(cached) " >&6
6984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6985 /* end confdefs.h. */
6986 #include <sys/types.h>
6987 #include <sys/stat.h>
6989 #if defined S_ISBLK && defined S_IFDIR
6990 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6993 #if defined S_ISBLK && defined S_IFCHR
6994 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6997 #if defined S_ISLNK && defined S_IFREG
6998 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7001 #if defined S_ISSOCK && defined S_IFREG
7002 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7006 if ac_fn_c_try_compile
"$LINENO"; then :
7007 ac_cv_header_stat_broken
=no
7009 ac_cv_header_stat_broken
=yes
7011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7014 $as_echo "$ac_cv_header_stat_broken" >&6; }
7015 if test $ac_cv_header_stat_broken = yes; then
7017 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7023 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
7025 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7026 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7027 #ifdef HAVE_SYS_PARAM_H
7028 # include <sys/param.h>
7031 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7032 cat >>confdefs.h
<<_ACEOF
7033 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7048 netinet
/if_ether.h \
7049 netinet
/if_inarp.h \
7058 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7059 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7060 #ifdef HAVE_SYS_SOCKET_H
7061 # include <sys/socket.h>
7063 #ifdef HAVE_SYS_SOCKETVAR_H
7064 # include <sys/socketvar.h>
7066 #ifdef HAVE_NET_ROUTE_H
7067 # include <net/route.h>
7069 #ifdef HAVE_NETINET_IN_H
7070 # include <netinet/in.h>
7072 #ifdef HAVE_NETINET_IN_SYSTM_H
7073 # include <netinet/in_systm.h>
7075 #ifdef HAVE_NET_IF_H
7076 # include <net/if.h>
7078 #ifdef HAVE_NETINET_IP_H
7079 # include <netinet/ip.h>
7082 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7083 cat >>confdefs.h
<<_ACEOF
7084 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7092 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
7094 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7095 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7099 #ifdef HAVE_SYS_SOCKET_H
7100 # include <sys/socket.h>
7102 #ifdef HAVE_SYS_SOCKETVAR_H
7103 # include <sys/socketvar.h>
7105 #ifdef HAVE_SYS_TIMEOUT_H
7106 # include <sys/timeout.h>
7108 #ifdef HAVE_NETINET_IN_H
7109 # include <netinet/in.h>
7111 #ifdef HAVE_NETINET_IN_SYSTM_H
7112 # include <netinet/in_systm.h>
7114 #ifdef HAVE_NETINET_IP_H
7115 # include <netinet/ip.h>
7117 #ifdef HAVE_NETINET_IP_VAR_H
7118 # include <netinet/ip_var.h>
7120 #ifdef HAVE_NETINET_IP_ICMP_H
7121 # include <netinet/ip_icmp.h>
7123 #ifdef HAVE_NETINET_UDP_H
7124 # include <netinet/udp.h>
7126 #ifdef HAVE_NETINET_TCP_H
7127 # include <netinet/tcp.h>
7129 #ifdef HAVE_NETINET_TCP_TIMER_H
7130 #include <netinet/tcp_timer.h>
7133 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7134 cat >>confdefs.h
<<_ACEOF
7135 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7143 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
7145 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7146 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7147 #ifdef HAVE_ASM_TYPES_H
7148 # include <asm/types.h>
7150 #ifdef HAVE_SYS_SOCKET_H
7151 # include <sys/socket.h>
7153 #ifdef HAVE_LINUX_TYPES_H
7154 # include <linux/types.h>
7157 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7158 cat >>confdefs.h
<<_ACEOF
7159 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7167 for ac_header
in mach-o
/dyld_images.h
7169 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7170 # include <stdbool.h>
7172 #ifdef HAVE_STDINT_H
7173 # include <stdint.h>
7176 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7177 cat >>confdefs.h
<<_ACEOF
7178 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7186 for ac_header
in resolv.h
7188 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7189 #ifdef HAVE_SYS_SOCKET_H
7190 # include <sys/socket.h>
7192 #ifdef HAVE_NETINET_IN_H
7193 # include <netinet/in.h>
7195 #ifdef HAVE_ARPA_NAMESER_H
7196 # include <arpa/nameser.h>
7199 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7200 cat >>confdefs.h
<<_ACEOF
7201 #define HAVE_RESOLV_H 1
7209 for ac_header
in ifaddrs.h
7211 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7213 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7214 cat >>confdefs.h
<<_ACEOF
7215 #define HAVE_IFADDRS_H 1
7223 for ac_header
in sys
/ucontext.h
7225 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7227 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7228 cat >>confdefs.h
<<_ACEOF
7229 #define HAVE_SYS_UCONTEXT_H 1
7237 for ac_header
in sys
/thr.h
7239 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7240 #ifdef HAVE_SYS_UCONTEXT_H
7241 #include <sys/ucontext.h>
7244 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7245 cat >>confdefs.h
<<_ACEOF
7246 #define HAVE_SYS_THR_H 1
7254 for ac_header
in pthread_np.h
7256 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7257 #include <pthread.h>
7260 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7261 cat >>confdefs.h
<<_ACEOF
7262 #define HAVE_PTHREAD_NP_H 1
7270 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7272 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7273 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7274 #include <sys/time.h>
7276 #include <sys/types.h>
7277 #ifdef HAVE_ASM_TYPES_H
7278 #include <asm/types.h>
7281 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7282 cat >>confdefs.h
<<_ACEOF
7283 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7291 for ac_header
in libprocstat.h
7293 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7294 #include <sys/param.h>
7296 #ifdef HAVE_SYS_QUEUE_H
7297 #include <sys/queue.h>
7299 #ifdef HAVE_SYS_SOCKET_H
7300 #include <sys/socket.h>
7303 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7304 cat >>confdefs.h
<<_ACEOF
7305 #define HAVE_LIBPROCSTAT_H 1
7314 dlldir
="\${libdir}/wine"
7316 DLLFLAGS
="-D_REENTRANT"
7327 # Extract the first word of "ldd", so it can be a program name with args.
7328 set dummy ldd
; ac_word
=$2
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7330 $as_echo_n "checking for $ac_word... " >&6; }
7331 if ${ac_cv_path_LDD+:} false
; then :
7332 $as_echo_n "(cached) " >&6
7336 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7340 as_dummy
="/sbin:/usr/sbin:$PATH"
7341 for as_dir
in $as_dummy
7344 test -z "$as_dir" && as_dir
=.
7345 for ac_exec_ext
in '' $ac_executable_extensions; do
7346 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7347 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7355 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7360 if test -n "$LDD"; then
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7362 $as_echo "$LDD" >&6; }
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7365 $as_echo "no" >&6; }
7369 if test -n "$ac_tool_prefix"; then
7370 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7371 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7373 $as_echo_n "checking for $ac_word... " >&6; }
7374 if ${ac_cv_prog_OTOOL+:} false
; then :
7375 $as_echo_n "(cached) " >&6
7377 if test -n "$OTOOL"; then
7378 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7384 test -z "$as_dir" && as_dir
=.
7385 for ac_exec_ext
in '' $ac_executable_extensions; do
7386 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7387 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7397 OTOOL
=$ac_cv_prog_OTOOL
7398 if test -n "$OTOOL"; then
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7400 $as_echo "$OTOOL" >&6; }
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7403 $as_echo "no" >&6; }
7408 if test -z "$ac_cv_prog_OTOOL"; then
7410 # Extract the first word of "otool", so it can be a program name with args.
7411 set dummy otool
; ac_word
=$2
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7413 $as_echo_n "checking for $ac_word... " >&6; }
7414 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7415 $as_echo_n "(cached) " >&6
7417 if test -n "$ac_ct_OTOOL"; then
7418 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7424 test -z "$as_dir" && as_dir
=.
7425 for ac_exec_ext
in '' $ac_executable_extensions; do
7426 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7427 ac_cv_prog_ac_ct_OTOOL
="otool"
7428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7437 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7438 if test -n "$ac_ct_OTOOL"; then
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7440 $as_echo "$ac_ct_OTOOL" >&6; }
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7443 $as_echo "no" >&6; }
7446 if test "x$ac_ct_OTOOL" = x
; then
7449 case $cross_compiling:$ac_tool_warned in
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7453 ac_tool_warned
=yes ;;
7458 OTOOL
="$ac_cv_prog_OTOOL"
7461 if test -n "$ac_tool_prefix"; then
7462 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7463 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7465 $as_echo_n "checking for $ac_word... " >&6; }
7466 if ${ac_cv_prog_READELF+:} false
; then :
7467 $as_echo_n "(cached) " >&6
7469 if test -n "$READELF"; then
7470 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7476 test -z "$as_dir" && as_dir
=.
7477 for ac_exec_ext
in '' $ac_executable_extensions; do
7478 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7479 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7489 READELF
=$ac_cv_prog_READELF
7490 if test -n "$READELF"; then
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7492 $as_echo "$READELF" >&6; }
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7495 $as_echo "no" >&6; }
7500 if test -z "$ac_cv_prog_READELF"; then
7501 ac_ct_READELF
=$READELF
7502 # Extract the first word of "readelf", so it can be a program name with args.
7503 set dummy readelf
; ac_word
=$2
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7505 $as_echo_n "checking for $ac_word... " >&6; }
7506 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7507 $as_echo_n "(cached) " >&6
7509 if test -n "$ac_ct_READELF"; then
7510 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7516 test -z "$as_dir" && as_dir
=.
7517 for ac_exec_ext
in '' $ac_executable_extensions; do
7518 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7519 ac_cv_prog_ac_ct_READELF
="readelf"
7520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7529 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7530 if test -n "$ac_ct_READELF"; then
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7532 $as_echo "$ac_ct_READELF" >&6; }
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7535 $as_echo "no" >&6; }
7538 if test "x$ac_ct_READELF" = x
; then
7541 case $cross_compiling:$ac_tool_warned in
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7544 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7545 ac_tool_warned
=yes ;;
7547 READELF
=$ac_ct_READELF
7550 READELF
="$ac_cv_prog_READELF"
7553 wine_rules_file
=conf$
$rules.
make
7554 rm -f $wine_rules_file
7559 CONFIGURE_TARGETS
=""
7561 ALL_TEST_RESOURCES
=""
7564 wine_fn_append_file
()
7566 as_fn_append
$1 " \\$as_nl $2"
7569 wine_fn_append_rule
()
7571 $as_echo "$1" >>$wine_rules_file
7576 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7579 wine_fn_all_rules
()
7581 wine_fn_append_file SUBDIRS
$ac_dir
7582 wine_fn_append_rule \
7586 @cd $ac_dir && \$(MAKE)"
7589 wine_fn_install_rules
()
7591 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7593 wine_fn_append_rule \
7594 ".PHONY: $ac_dir/install $ac_dir/uninstall
7595 $ac_dir/install:: $ac_dir
7596 @cd $ac_dir && \$(MAKE) install
7598 @cd $ac_dir && \$(MAKE) uninstall
7599 install:: $ac_dir/install
7600 __uninstall__: $ac_dir/uninstall"
7602 if wine_fn_has_flag install-lib
7604 wine_fn_append_rule \
7605 ".PHONY: $ac_dir/install-lib
7606 $ac_dir/install-lib:: $ac_dir
7607 @cd $ac_dir && \$(MAKE) install-lib
7608 install-lib:: $ac_dir/install-lib"
7611 if wine_fn_has_flag install-dev
7613 wine_fn_append_rule \
7614 ".PHONY: $ac_dir/install-dev
7615 $ac_dir/install-dev:: $ac_dir
7616 @cd $ac_dir && \$(MAKE) install-dev
7617 install-dev:: $ac_dir/install-dev"
7621 wine_fn_clean_rules
()
7625 if wine_fn_has_flag clean
7627 wine_fn_append_rule \
7628 "$ac_dir/clean: dummy
7629 @cd $ac_dir && \$(MAKE) clean"
7631 wine_fn_append_rule \
7632 "$ac_dir/clean: dummy
7633 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7635 wine_fn_append_rule \
7636 "__clean__: $ac_dir/clean
7637 .PHONY: $ac_dir/clean"
7640 wine_fn_disabled_rules
()
7644 wine_fn_append_file SUBDIRS
$ac_dir
7645 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7646 wine_fn_append_rule \
7647 "__clean__: $ac_dir/clean
7648 .PHONY: $ac_dir/clean
7649 $ac_dir/clean: dummy
7650 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7653 wine_fn_config_makefile
()
7660 fonts|server
) test -z "$with_wine64" ||
return ;;
7662 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7663 wine_fn_disabled_rules
; return
7666 wine_fn_install_rules
7670 wine_fn_config_lib
()
7674 ac_dir
=dlls
/$ac_name
7677 if test "x$enable_tools" = xno
; then :
7680 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7685 wine_fn_append_rule \
7686 ".PHONY: $ac_dir/install $ac_dir/uninstall
7687 $ac_dir/install:: $ac_dir
7688 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7690 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7691 install install-dev:: $ac_dir/install
7692 __uninstall__: $ac_dir/uninstall
7693 __builddeps__: $ac_dir
7697 wine_fn_config_dll
()
7700 ac_dir
=dlls
/$ac_name
7703 ac_implib
=${4:-$ac_name}
7704 ac_file
=$ac_dir/lib
$ac_implib
7709 if test "x$enable_tools" = xno
; then :
7712 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7715 *16) ac_implibflags
=" -m16" ;;
7717 *) ac_dll
=$ac_dll.dll
;;
7721 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7722 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7724 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7725 if test "$ac_enable" != enable_win16
7727 wine_fn_clean_rules
$ac_clean
7728 wine_fn_append_file SUBDIRS
$ac_dir
7729 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7731 wine_fn_disabled_rules
$ac_clean
7736 wine_fn_clean_rules
$ac_clean
7737 wine_fn_append_rule \
7738 "$ac_dir: __builddeps__
7739 manpages htmlpages sgmlpages xmlpages::
7740 @cd $ac_dir && \$(MAKE) \$@
7741 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7742 install install-lib:: $ac_dir/install-lib
7743 __uninstall__: $ac_dir/uninstall"
7744 if test -n "$DLLEXT"
7746 wine_fn_append_rule \
7747 "$ac_dir/install-lib:: $ac_dir
7748 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7749 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7751 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7753 wine_fn_append_rule \
7754 "$ac_dir/install-lib:: $ac_dir
7755 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7757 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7761 if wine_fn_has_flag staticimplib
7763 wine_fn_append_rule \
7764 "__builddeps__: $ac_file.a
7765 $ac_file.a $ac_file.cross.a: $ac_deps
7767 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7768 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7769 $ac_dir/install-dev:: $ac_file.a
7770 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7772 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7773 install install-dev:: $ac_dir/install-dev
7774 __uninstall__: $ac_dir/uninstall"
7776 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7778 wine_fn_append_rule \
7779 "__builddeps__: $ac_file.cross.a
7780 $ac_file.cross.a: dummy
7781 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7784 elif wine_fn_has_flag implib
7786 wine_fn_append_rule \
7787 "__builddeps__: $ac_file.$IMPLIBEXT
7788 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7789 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7790 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7791 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7792 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7793 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7794 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7796 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7797 install install-dev:: $ac_dir/install-dev
7798 __uninstall__: $ac_dir/uninstall"
7799 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7801 wine_fn_append_rule \
7802 "__builddeps__: $ac_file.cross.a
7803 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7804 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7809 wine_fn_config_program
()
7812 ac_dir
=programs
/$ac_name
7819 *) ac_program
=$ac_program.exe
;;
7823 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7824 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7826 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7827 wine_fn_disabled_rules
$ac_clean; return
7831 wine_fn_clean_rules
$ac_clean
7832 wine_fn_append_rule
"$ac_dir: __builddeps__"
7834 wine_fn_has_flag
install ||
return
7835 wine_fn_append_rule \
7836 ".PHONY: $ac_dir/install $ac_dir/uninstall
7837 install install-lib:: $ac_dir/install
7838 __uninstall__: $ac_dir/uninstall"
7840 if test -n "$DLLEXT"
7842 wine_fn_append_rule \
7843 "$ac_dir/install:: $ac_dir
7844 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7845 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7847 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7849 if test -z "$with_wine64" && wine_fn_has_flag installbin
7851 wine_fn_append_rule \
7852 "$ac_dir/install:: __tooldeps__
7853 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7855 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7858 wine_fn_append_rule \
7859 "$ac_dir/install:: $ac_dir
7860 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7862 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7865 if test -z "$with_wine64" && wine_fn_has_flag manpage
7867 wine_fn_append_rule \
7868 "$ac_dir/install:: $ac_dir
7869 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7871 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7875 wine_fn_config_test
()
7882 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7883 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7885 if test "x$enable_tests" = xno
; then :
7886 wine_fn_disabled_rules
$ac_clean; return
7889 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7891 wine_fn_clean_rules
$ac_clean
7893 wine_fn_append_rule \
7894 "$ac_dir: __builddeps__
7895 programs/winetest: $ac_dir
7896 check test: $ac_dir/test
7897 .PHONY: $ac_dir/test
7899 @cd $ac_dir && \$(MAKE) test
7901 \$(RM) $ac_dir/*.ok"
7903 if test -n "$CROSSTARGET"
7905 wine_fn_append_rule \
7906 "crosstest: $ac_dir/crosstest
7907 .PHONY: $ac_dir/crosstest
7908 $ac_dir/crosstest: __builddeps__ dummy
7909 @cd $ac_dir && \$(MAKE) crosstest"
7913 wine_fn_config_tool
()
7917 if test "x$enable_tools" = xno
; then :
7918 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir; return
7922 wine_fn_install_rules
7925 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7926 wine_fn_append_rule
"$ac_dir: libs/port"
7928 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7932 wine_fn_config_symlink
()
7935 if test "x$1" = "x-d"
7941 wine_fn_append_rule \
7943 @./config.status \$@"
7944 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
7945 test -n "$ac_linkdir" ||
return
7946 wine_fn_append_rule
"$ac_linkdir/depend: $ac_links"
7950 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7951 WINELOADER_PROGRAMS
="$wine_binary"
7953 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7957 if test -n "$ac_tool_prefix"; then
7958 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7959 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7961 $as_echo_n "checking for $ac_word... " >&6; }
7962 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7963 $as_echo_n "(cached) " >&6
7965 if test -n "$DLLTOOL"; then
7966 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7972 test -z "$as_dir" && as_dir
=.
7973 for ac_exec_ext
in '' $ac_executable_extensions; do
7974 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7975 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7985 DLLTOOL
=$ac_cv_prog_DLLTOOL
7986 if test -n "$DLLTOOL"; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7988 $as_echo "$DLLTOOL" >&6; }
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991 $as_echo "no" >&6; }
7996 if test -z "$ac_cv_prog_DLLTOOL"; then
7997 ac_ct_DLLTOOL
=$DLLTOOL
7998 # Extract the first word of "dlltool", so it can be a program name with args.
7999 set dummy dlltool
; ac_word
=$2
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8001 $as_echo_n "checking for $ac_word... " >&6; }
8002 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
8003 $as_echo_n "(cached) " >&6
8005 if test -n "$ac_ct_DLLTOOL"; then
8006 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8012 test -z "$as_dir" && as_dir
=.
8013 for ac_exec_ext
in '' $ac_executable_extensions; do
8014 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8015 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8025 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8026 if test -n "$ac_ct_DLLTOOL"; then
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8028 $as_echo "$ac_ct_DLLTOOL" >&6; }
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8031 $as_echo "no" >&6; }
8034 if test "x$ac_ct_DLLTOOL" = x
; then
8037 case $cross_compiling:$ac_tool_warned in
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8041 ac_tool_warned
=yes ;;
8043 DLLTOOL
=$ac_ct_DLLTOOL
8046 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8052 enable_iphlpapi
=${enable_iphlpapi:-no}
8053 enable_kernel32
=${enable_kernel32:-no}
8054 enable_msvcrt
=${enable_msvcrt:-no}
8055 enable_ntdll
=${enable_ntdll:-no}
8056 enable_ws2_32
=${enable_ws2_32:-no}
8057 enable_loader
=${enable_loader:-no}
8058 enable_server
=${enable_server:-no}
8059 with_x
=${with_x:-no}
8060 with_pthread
=${with_pthread:-no}
8066 SOCKET_LIBS
="-lws2_32"
8070 LIBWINE_SHAREDLIB
="libwine.dll"
8072 LIBWINE_IMPORTLIB
="libwine.a"
8074 LIBWINE_INSTALL_LIB
="libwine.dll"
8076 LIBWINE_INSTALL_DEV
="libwine.a"
8078 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
8080 LIBWINE_DEPENDS
="wine.def"
8085 for ac_header
in libunwind.h
8087 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8088 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8089 cat >>confdefs.h
<<_ACEOF
8090 #define HAVE_LIBUNWIND_H 1
8098 DLLFLAGS
="$DLLFLAGS -fPIC"
8099 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8100 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8101 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8103 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8105 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8107 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8109 CORESERVICES_LIBS
="-framework CoreServices"
8111 APPKIT_LIBS
="-framework AppKit"
8113 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8115 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8116 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8117 $as_echo_n "(cached) " >&6
8119 ac_wine_try_cflags_saved
=$CFLAGS
8120 CFLAGS
="$CFLAGS -Wl,-no_pie"
8121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8122 /* end confdefs.h. */
8123 int main(int argc, char **argv) { return 0; }
8125 if ac_fn_c_try_link
"$LINENO"; then :
8126 ac_cv_cflags__Wl__no_pie
=yes
8128 ac_cv_cflags__Wl__no_pie
=no
8130 rm -f core conftest.err conftest.
$ac_objext \
8131 conftest
$ac_exeext conftest.
$ac_ext
8132 CFLAGS
=$ac_wine_try_cflags_saved
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8135 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8136 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8137 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8139 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8141 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8144 if test "$ac_cv_header_Security_Security_h" = "yes"
8146 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8148 ac_save_LIBS
="$LIBS"
8149 LIBS
="$LIBS $SECURITY_LIBS"
8150 for ac_func
in SSLCopyPeerCertificates
8152 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8153 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8154 cat >>confdefs.h
<<_ACEOF
8155 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8161 LIBS
="$ac_save_LIBS"
8162 with_gnutls
=${with_gnutls:-no}
8164 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8166 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8168 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8171 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8174 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8175 ac_save_LIBS
="$LIBS"
8176 LIBS
="$LIBS $COREAUDIO_LIBS"
8177 for ac_func
in AUGraphAddNode
8179 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8180 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8181 cat >>confdefs.h
<<_ACEOF
8182 #define HAVE_AUGRAPHADDNODE 1
8188 LIBS
="$ac_save_LIBS"
8190 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8192 OPENAL_LIBS
="-framework OpenAL"
8195 cat >>confdefs.h
<<_ACEOF
8196 #define HAVE_OPENAL 1
8199 ac_cv_lib_openal
=yes
8201 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8203 OPENCL_LIBS
="-framework OpenCL"
8205 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8207 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8209 ac_save_LIBS
="$LIBS"
8210 LIBS
="$LIBS $IOKIT_LIBS"
8211 for ac_func
in IOHIDManagerCreate
8213 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8214 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8215 cat >>confdefs.h
<<_ACEOF
8216 #define HAVE_IOHIDMANAGERCREATE 1
8222 LIBS
="$ac_save_LIBS"
8224 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8226 ac_save_LIBS
="$LIBS"
8227 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8229 $as_echo_n "checking for the QuickTime framework... " >&6; }
8230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8231 /* end confdefs.h. */
8232 #include <QuickTime/ImageCompression.h>
8236 CodecManagerVersion(NULL);
8241 if ac_fn_c_try_link
"$LINENO"; then :
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8243 $as_echo "yes" >&6; }
8244 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8246 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8249 $as_echo "no" >&6; }
8250 ac_cv_header_QuickTime_ImageCompression_h
=no
8252 rm -f core conftest.err conftest.
$ac_objext \
8253 conftest
$ac_exeext conftest.
$ac_ext
8254 LIBS
="$ac_save_LIBS"
8256 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8258 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8260 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8262 CARBON_LIBS
="-framework Carbon"
8266 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8268 ac_save_LIBS
="$LIBS"
8269 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8270 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8271 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8272 enable_winemac_drv
=${enable_winemac_drv:-yes}
8275 LIBS
="$ac_save_LIBS"
8278 if test "x$enable_win16" = "xyes"
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8281 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8282 if test "$cross_compiling" = yes; then :
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8284 $as_echo "cross-compiling, assuming yes" >&6; }
8286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8287 /* end confdefs.h. */
8290 "good:\tnop;nop\n\t"
8291 ".globl _testfunc\n"
8292 "_testfunc:\tcallw good");
8293 extern void testfunc();
8297 unsigned short *p = (unsigned short *)testfunc;
8298 return p[0] != 0xe866 || p[1] != 0xfffa
8303 if ac_fn_c_try_run
"$LINENO"; then :
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8305 $as_echo "yes" >&6; }
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8308 $as_echo "no" >&6; }
8309 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
8311 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8312 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8317 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8319 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8321 LIBWINE_INSTALL_DEV
="libwine.dylib"
8323 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8325 WINELOADER_DEPENDS
="wine_info.plist"
8330 DLLFLAGS
="$DLLFLAGS -fPIC"
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8332 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8333 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8334 $as_echo_n "(cached) " >&6
8336 ac_wine_try_cflags_saved
=$CFLAGS
8337 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8339 /* end confdefs.h. */
8340 int main(int argc, char **argv) { return 0; }
8342 if ac_fn_c_try_link
"$LINENO"; then :
8343 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8345 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8347 rm -f core conftest.err conftest.
$ac_objext \
8348 conftest
$ac_exeext conftest.
$ac_ext
8349 CFLAGS
=$ac_wine_try_cflags_saved
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8352 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8353 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8354 LDEXECFLAGS
="-Wl,--export-dynamic"
8356 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8358 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8359 if eval \
${$as_ac_var+:} false
; then :
8360 $as_echo_n "(cached) " >&6
8362 ac_wine_try_cflags_saved
=$CFLAGS
8363 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8365 /* end confdefs.h. */
8366 int main(int argc, char **argv) { return 0; }
8368 if ac_fn_c_try_link
"$LINENO"; then :
8369 eval "$as_ac_var=yes"
8371 eval "$as_ac_var=no"
8373 rm -f core conftest.err conftest.
$ac_objext \
8374 conftest
$ac_exeext conftest.
$ac_ext
8375 CFLAGS
=$ac_wine_try_cflags_saved
8377 eval ac_res
=\$
$as_ac_var
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8379 $as_echo "$ac_res" >&6; }
8380 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8381 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8382 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8384 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8386 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8387 if eval \
${$as_ac_var+:} false
; then :
8388 $as_echo_n "(cached) " >&6
8390 ac_wine_try_cflags_saved
=$CFLAGS
8391 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8393 /* end confdefs.h. */
8394 int main(int argc, char **argv) { return 0; }
8396 if ac_fn_c_try_link
"$LINENO"; then :
8397 eval "$as_ac_var=yes"
8399 eval "$as_ac_var=no"
8401 rm -f core conftest.err conftest.
$ac_objext \
8402 conftest
$ac_exeext conftest.
$ac_ext
8403 CFLAGS
=$ac_wine_try_cflags_saved
8405 eval ac_res
=\$
$as_ac_var
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8407 $as_echo "$ac_res" >&6; }
8408 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8409 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8410 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8415 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8416 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8417 $as_echo_n "(cached) " >&6
8419 ac_wine_try_cflags_saved
=$CFLAGS
8420 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8422 /* end confdefs.h. */
8423 int main(int argc, char **argv) { return 0; }
8425 if ac_fn_c_try_link
"$LINENO"; then :
8426 ac_cv_cflags__Wl___enable_new_dtags
=yes
8428 ac_cv_cflags__Wl___enable_new_dtags
=no
8430 rm -f core conftest.err conftest.
$ac_objext \
8431 conftest
$ac_exeext conftest.
$ac_ext
8432 CFLAGS
=$ac_wine_try_cflags_saved
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8435 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8436 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8437 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8440 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8441 if ${ac_cv_cflags__Wl__pie+:} false
; then :
8442 $as_echo_n "(cached) " >&6
8444 ac_wine_try_cflags_saved
=$CFLAGS
8445 CFLAGS
="$CFLAGS -Wl,-pie"
8446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8447 /* end confdefs.h. */
8448 int main(int argc, char **argv) { return 0; }
8450 if ac_fn_c_try_link
"$LINENO"; then :
8451 ac_cv_cflags__Wl__pie
=yes
8453 ac_cv_cflags__Wl__pie
=no
8455 rm -f core conftest.err conftest.
$ac_objext \
8456 conftest
$ac_exeext conftest.
$ac_ext
8457 CFLAGS
=$ac_wine_try_cflags_saved
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8460 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8461 if test "x$ac_cv_cflags__Wl__pie" = xyes
; then :
8462 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,-pie"
8465 LIBWINE_SHAREDLIB
="libwine.so"
8467 LIBWINE_INSTALL_LIB
="libwine.so"
8469 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so"
8474 DLLFLAGS
="$DLLFLAGS -fPIC"
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8477 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8478 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8479 $as_echo_n "(cached) " >&6
8481 ac_wine_try_cflags_saved
=$CFLAGS
8482 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8484 /* end confdefs.h. */
8487 if ac_fn_c_try_link
"$LINENO"; then :
8488 ac_cv_c_dll_gnuelf
="yes"
8490 ac_cv_c_dll_gnuelf
="no"
8492 rm -f core conftest.err conftest.
$ac_objext \
8493 conftest
$ac_exeext conftest.
$ac_ext
8494 CFLAGS
=$ac_wine_try_cflags_saved
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8497 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8498 if test "$ac_cv_c_dll_gnuelf" = "yes"
8500 LIBWINE_LDFLAGS
="-shared"
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8502 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8503 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8504 $as_echo_n "(cached) " >&6
8506 ac_wine_try_cflags_saved
=$CFLAGS
8507 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8510 int main(int argc, char **argv) { return 0; }
8512 if ac_fn_c_try_link
"$LINENO"; then :
8513 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8515 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8517 rm -f core conftest.err conftest.
$ac_objext \
8518 conftest
$ac_exeext conftest.
$ac_ext
8519 CFLAGS
=$ac_wine_try_cflags_saved
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8522 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8523 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8524 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8527 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8528 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8529 $as_echo_n "(cached) " >&6
8531 ac_wine_try_cflags_saved
=$CFLAGS
8532 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8535 int main(int argc, char **argv) { return 0; }
8537 if ac_fn_c_try_link
"$LINENO"; then :
8538 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8540 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8542 rm -f core conftest.err conftest.
$ac_objext \
8543 conftest
$ac_exeext conftest.
$ac_ext
8544 CFLAGS
=$ac_wine_try_cflags_saved
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8547 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8548 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8549 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8553 echo '{ global: *; };' >conftest.map
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8555 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8556 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8557 $as_echo_n "(cached) " >&6
8559 ac_wine_try_cflags_saved
=$CFLAGS
8560 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8562 /* end confdefs.h. */
8563 int main(int argc, char **argv) { return 0; }
8565 if ac_fn_c_try_link
"$LINENO"; then :
8566 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8568 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8570 rm -f core conftest.err conftest.
$ac_objext \
8571 conftest
$ac_exeext conftest.
$ac_ext
8572 CFLAGS
=$ac_wine_try_cflags_saved
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8575 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8576 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8577 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8582 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8583 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8584 $as_echo_n "(cached) " >&6
8586 ac_wine_try_cflags_saved
=$CFLAGS
8587 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8589 /* end confdefs.h. */
8590 int main(int argc, char **argv) { return 0; }
8592 if ac_fn_c_try_link
"$LINENO"; then :
8593 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8595 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8597 rm -f core conftest.err conftest.
$ac_objext \
8598 conftest
$ac_exeext conftest.
$ac_ext
8599 CFLAGS
=$ac_wine_try_cflags_saved
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8602 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8603 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8604 LDEXECFLAGS
="-Wl,--export-dynamic"
8607 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8609 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8610 if eval \
${$as_ac_var+:} false
; then :
8611 $as_echo_n "(cached) " >&6
8613 ac_wine_try_cflags_saved
=$CFLAGS
8614 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8616 /* end confdefs.h. */
8617 int main(int argc, char **argv) { return 0; }
8619 if ac_fn_c_try_link
"$LINENO"; then :
8620 eval "$as_ac_var=yes"
8622 eval "$as_ac_var=no"
8624 rm -f core conftest.err conftest.
$ac_objext \
8625 conftest
$ac_exeext conftest.
$ac_ext
8626 CFLAGS
=$ac_wine_try_cflags_saved
8628 eval ac_res
=\$
$as_ac_var
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8630 $as_echo "$ac_res" >&6; }
8631 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8632 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8633 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8635 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8637 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8638 if eval \
${$as_ac_var+:} false
; then :
8639 $as_echo_n "(cached) " >&6
8641 ac_wine_try_cflags_saved
=$CFLAGS
8642 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8644 /* end confdefs.h. */
8645 int main(int argc, char **argv) { return 0; }
8647 if ac_fn_c_try_link
"$LINENO"; then :
8648 eval "$as_ac_var=yes"
8650 eval "$as_ac_var=no"
8652 rm -f core conftest.err conftest.
$ac_objext \
8653 conftest
$ac_exeext conftest.
$ac_ext
8654 CFLAGS
=$ac_wine_try_cflags_saved
8656 eval ac_res
=\$
$as_ac_var
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8658 $as_echo "$ac_res" >&6; }
8659 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8660 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8661 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8666 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8667 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8668 $as_echo_n "(cached) " >&6
8670 ac_wine_try_cflags_saved
=$CFLAGS
8671 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8673 /* end confdefs.h. */
8674 int main(int argc, char **argv) { return 0; }
8676 if ac_fn_c_try_link
"$LINENO"; then :
8677 ac_cv_cflags__Wl___enable_new_dtags
=yes
8679 ac_cv_cflags__Wl___enable_new_dtags
=no
8681 rm -f core conftest.err conftest.
$ac_objext \
8682 conftest
$ac_exeext conftest.
$ac_ext
8683 CFLAGS
=$ac_wine_try_cflags_saved
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8686 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8687 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8688 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8692 *i
[3456789]86* | x86_64
)
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8694 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8695 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8696 $as_echo_n "(cached) " >&6
8698 ac_wine_try_cflags_saved
=$CFLAGS
8699 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8701 /* end confdefs.h. */
8702 int main(int argc, char **argv) { return 0; }
8704 if ac_fn_c_try_link
"$LINENO"; then :
8705 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8707 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8709 rm -f core conftest.err conftest.
$ac_objext \
8710 conftest
$ac_exeext conftest.
$ac_ext
8711 CFLAGS
=$ac_wine_try_cflags_saved
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8714 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8715 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8717 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8718 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8722 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8723 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false
; then :
8724 $as_echo_n "(cached) " >&6
8726 ac_wine_try_cflags_saved
=$CFLAGS
8727 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8729 /* end confdefs.h. */
8730 int main(int argc, char **argv) { return 0; }
8732 if ac_fn_c_try_link
"$LINENO"; then :
8733 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=yes
8735 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=no
8737 rm -f core conftest.err conftest.
$ac_objext \
8738 conftest
$ac_exeext conftest.
$ac_ext
8739 CFLAGS
=$ac_wine_try_cflags_saved
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8742 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8743 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes
; then :
8745 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8746 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8749 # Extract the first word of "prelink", so it can be a program name with args.
8750 set dummy prelink
; ac_word
=$2
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8752 $as_echo_n "checking for $ac_word... " >&6; }
8753 if ${ac_cv_path_PRELINK+:} false
; then :
8754 $as_echo_n "(cached) " >&6
8758 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8762 for as_dir
in /sbin
/usr
/sbin
$PATH
8765 test -z "$as_dir" && as_dir
=.
8766 for ac_exec_ext
in '' $ac_executable_extensions; do
8767 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8768 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8776 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8780 PRELINK
=$ac_cv_path_PRELINK
8781 if test -n "$PRELINK"; then
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8783 $as_echo "$PRELINK" >&6; }
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8786 $as_echo "no" >&6; }
8790 if test "x$PRELINK" = xfalse
8792 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8796 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8797 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false
; then :
8798 $as_echo_n "(cached) " >&6
8800 ac_wine_try_cflags_saved
=$CFLAGS
8801 CFLAGS
="$CFLAGS -Wl,-z,max-page-size=0x1000"
8802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8803 /* end confdefs.h. */
8804 int main(int argc, char **argv) { return 0; }
8806 if ac_fn_c_try_link
"$LINENO"; then :
8807 ac_cv_cflags__Wl__z_max_page_size_0x1000
=yes
8809 ac_cv_cflags__Wl__z_max_page_size_0x1000
=no
8811 rm -f core conftest.err conftest.
$ac_objext \
8812 conftest
$ac_exeext conftest.
$ac_ext
8813 CFLAGS
=$ac_wine_try_cflags_saved
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8816 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8817 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
; then :
8818 LDEXECFLAGS
="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8825 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8826 if ${ac_cv_c_dll_unixware+:} false
; then :
8827 $as_echo_n "(cached) " >&6
8829 ac_wine_try_cflags_saved
=$CFLAGS
8830 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8832 /* end confdefs.h. */
8835 if ac_fn_c_try_link
"$LINENO"; then :
8836 ac_cv_c_dll_unixware
="yes"
8838 ac_cv_c_dll_unixware
="no"
8840 rm -f core conftest.err conftest.
$ac_objext \
8841 conftest
$ac_exeext conftest.
$ac_ext
8842 CFLAGS
=$ac_wine_try_cflags_saved
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8845 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8846 if test "$ac_cv_c_dll_unixware" = "yes"
8848 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
8851 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
8853 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8855 LIBWINE_INSTALL_DEV
="libwine.so"
8857 LIBWINE_DEPENDS
="wine.map"
8862 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
8863 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8864 enable_winemac_drv
=${enable_winemac_drv:-no}
8865 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
8869 if test "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8873 ac_prefix_list
="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8875 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
8876 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8879 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
8880 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8882 ac_prefix_list
="" ;;
8884 for ac_prog
in $ac_prefix_list
8886 # Extract the first word of "$ac_prog", so it can be a program name with args.
8887 set dummy
$ac_prog; ac_word
=$2
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8889 $as_echo_n "checking for $ac_word... " >&6; }
8890 if ${ac_cv_prog_CROSSCC+:} false
; then :
8891 $as_echo_n "(cached) " >&6
8893 if test -n "$CROSSCC"; then
8894 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8900 test -z "$as_dir" && as_dir
=.
8901 for ac_exec_ext
in '' $ac_executable_extensions; do
8902 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8903 ac_cv_prog_CROSSCC
="$ac_prog"
8904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8913 CROSSCC
=$ac_cv_prog_CROSSCC
8914 if test -n "$CROSSCC"; then
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8916 $as_echo "$CROSSCC" >&6; }
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8919 $as_echo "no" >&6; }
8923 test -n "$CROSSCC" && break
8925 test -n "$CROSSCC" || CROSSCC
="false"
8927 if test "$CROSSCC" != "false"
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8932 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8934 /* end confdefs.h. */
8944 if ac_fn_c_try_compile
"$LINENO"; then :
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8946 $as_echo "yes" >&6; }
8952 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8953 *-clang) CROSSTARGET
=`expr "$1" : '\(.*\)-clang'` ;;
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8959 $as_echo "no" >&6; }
8961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8967 if test "$ac_cv_header_pthread_h" = "yes"
8969 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8970 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8974 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8975 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8976 $as_echo_n "(cached) " >&6
8978 ac_check_lib_save_LIBS
=$LIBS
8979 LIBS
="-lpthread $LIBS"
8980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8981 /* end confdefs.h. */
8983 /* Override any GCC internal prototype to avoid an error.
8984 Use char because int might match the return type of a GCC
8985 builtin and then its argument prototype would still apply. */
8989 char pthread_create ();
8993 return pthread_create ();
8998 if ac_fn_c_try_link
"$LINENO"; then :
8999 ac_cv_lib_pthread_pthread_create
=yes
9001 ac_cv_lib_pthread_pthread_create
=no
9003 rm -f core conftest.err conftest.
$ac_objext \
9004 conftest
$ac_exeext conftest.
$ac_ext
9005 LIBS
=$ac_check_lib_save_LIBS
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9008 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9009 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
9010 PTHREAD_LIBS
="-lpthread"
9017 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
9018 case "x$with_pthread" in
9020 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
9021 Wine cannot support threads without libpthread.
9022 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9029 $as_echo_n "checking for X... " >&6; }
9032 # Check whether --with-x was given.
9033 if test "${with_x+set}" = set; then :
9037 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9038 if test "x$with_x" = xno
; then
9039 # The user explicitly disabled X.
9042 case $x_includes,$x_libraries in #(
9043 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
9044 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
9045 $as_echo_n "(cached) " >&6
9047 # One or both of the vars are not set, and there is no cached value.
9048 ac_x_includes
=no ac_x_libraries
=no
9049 rm -f -r conftest.dir
9050 if mkdir conftest.dir
; then
9052 cat >Imakefile
<<'_ACEOF'
9054 @echo incroot='${INCROOT}'
9056 @echo usrlibdir='${USRLIBDIR}'
9058 @echo libdir='${LIBDIR}'
9060 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9061 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9062 for ac_var
in incroot usrlibdir libdir
; do
9063 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9065 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9066 for ac_extension
in a so sl dylib la dll
; do
9067 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9068 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9069 ac_im_usrlibdir
=$ac_im_libdir; break
9072 # Screen out bogus values from the imake configuration. They are
9073 # bogus both because they are the default anyway, and because
9074 # using them would break gcc on systems where it needs fixed includes.
9075 case $ac_im_incroot in
9076 /usr
/include
) ac_x_includes
= ;;
9077 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9079 case $ac_im_usrlibdir in
9080 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9081 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9085 rm -f -r conftest.dir
9088 # Standard set of common directories for X headers.
9089 # Check X11 before X11Rn because it is often a symlink to the current release.
9103 /usr/local/X11/include
9104 /usr/local/X11R7/include
9105 /usr/local/X11R6/include
9106 /usr/local/X11R5/include
9107 /usr/local/X11R4/include
9109 /usr/local/include/X11
9110 /usr/local/include/X11R7
9111 /usr/local/include/X11R6
9112 /usr/local/include/X11R5
9113 /usr/local/include/X11R4
9117 /usr/XFree86/include/X11
9121 /usr/unsupported/include
9123 /usr/local/x11r5/include
9124 /usr/lpp/Xamples/include
9126 /usr/openwin/include
9127 /usr/openwin/share/include'
9129 if test "$ac_x_includes" = no
; then
9130 # Guess where to find include files, by looking for Xlib.h.
9131 # First, try using that file with no special directory specified.
9132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9133 /* end confdefs.h. */
9134 #include <X11/Xlib.h>
9136 if ac_fn_c_try_cpp
"$LINENO"; then :
9137 # We can compile using X headers with no special include directory.
9140 for ac_dir
in $ac_x_header_dirs; do
9141 if test -r "$ac_dir/X11/Xlib.h"; then
9142 ac_x_includes
=$ac_dir
9147 rm -f conftest.err conftest.i conftest.
$ac_ext
9148 fi # $ac_x_includes = no
9150 if test "$ac_x_libraries" = no
; then
9151 # Check for the libraries.
9152 # See if we find them without any special options.
9153 # Don't add to $LIBS permanently.
9156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9157 /* end confdefs.h. */
9158 #include <X11/Xlib.h>
9167 if ac_fn_c_try_link
"$LINENO"; then :
9169 # We can link X programs with no special library path.
9173 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9175 # Don't even attempt the hair of trying to link an X program!
9176 for ac_extension
in a so sl dylib la dll
; do
9177 if test -r "$ac_dir/libX11.$ac_extension"; then
9178 ac_x_libraries
=$ac_dir
9184 rm -f core conftest.err conftest.
$ac_objext \
9185 conftest
$ac_exeext conftest.
$ac_ext
9186 fi # $ac_x_libraries = no
9188 case $ac_x_includes,$ac_x_libraries in #(
9190 # Didn't find X, or a directory has "'" in its name.
9191 ac_cv_have_x
="have_x=no";; #(
9193 # Record where we found X for the cache.
9194 ac_cv_have_x
="have_x=yes\
9195 ac_x_includes='$ac_x_includes'\
9196 ac_x_libraries='$ac_x_libraries'"
9202 eval "$ac_cv_have_x"
9205 if test "$have_x" != yes; then
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9207 $as_echo "$have_x" >&6; }
9210 # If each of the values was on the command line, it overrides each guess.
9211 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9212 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9213 # Update the cache value to reflect the command line values.
9214 ac_cv_have_x
="have_x=yes\
9215 ac_x_includes='$x_includes'\
9216 ac_x_libraries='$x_libraries'"
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9218 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9221 if test "$no_x" = yes; then
9222 # Not all programs may use this symbol, but it does not hurt to define it.
9224 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9226 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9228 if test -n "$x_includes"; then
9229 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9232 # It would also be nice to do this for all -L options, not just this one.
9233 if test -n "$x_libraries"; then
9234 X_LIBS
="$X_LIBS -L$x_libraries"
9235 # For Solaris; some versions of Sun CC require a space after -R and
9236 # others require no space. Words are not sufficient . . . .
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9238 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9239 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9240 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9241 ac_c_werror_flag
=yes
9242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9243 /* end confdefs.h. */
9253 if ac_fn_c_try_link
"$LINENO"; then :
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9255 $as_echo "no" >&6; }
9256 X_LIBS
="$X_LIBS -R$x_libraries"
9258 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9260 /* end confdefs.h. */
9270 if ac_fn_c_try_link
"$LINENO"; then :
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9272 $as_echo "yes" >&6; }
9273 X_LIBS
="$X_LIBS -R $x_libraries"
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9276 $as_echo "neither works" >&6; }
9278 rm -f core conftest.err conftest.
$ac_objext \
9279 conftest
$ac_exeext conftest.
$ac_ext
9281 rm -f core conftest.err conftest.
$ac_objext \
9282 conftest
$ac_exeext conftest.
$ac_ext
9283 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9287 # Check for system-dependent libraries X programs must link with.
9288 # Do this before checking for the system-independent R6 libraries
9289 # (-lICE), since we may need -lsocket or whatever for X linking.
9291 if test "$ISC" = yes; then
9292 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9294 # Martyn Johnson says this is needed for Ultrix, if the X
9295 # libraries were built with DECnet support. And Karl Berry says
9296 # the Alpha needs dnet_stub (dnet does not exist).
9297 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9299 /* end confdefs.h. */
9301 /* Override any GCC internal prototype to avoid an error.
9302 Use char because int might match the return type of a GCC
9303 builtin and then its argument prototype would still apply. */
9307 char XOpenDisplay ();
9311 return XOpenDisplay ();
9316 if ac_fn_c_try_link
"$LINENO"; then :
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9320 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9321 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9322 $as_echo_n "(cached) " >&6
9324 ac_check_lib_save_LIBS
=$LIBS
9326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9327 /* end confdefs.h. */
9329 /* Override any GCC internal prototype to avoid an error.
9330 Use char because int might match the return type of a GCC
9331 builtin and then its argument prototype would still apply. */
9339 return dnet_ntoa ();
9344 if ac_fn_c_try_link
"$LINENO"; then :
9345 ac_cv_lib_dnet_dnet_ntoa
=yes
9347 ac_cv_lib_dnet_dnet_ntoa
=no
9349 rm -f core conftest.err conftest.
$ac_objext \
9350 conftest
$ac_exeext conftest.
$ac_ext
9351 LIBS
=$ac_check_lib_save_LIBS
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9354 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9355 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9356 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9359 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9361 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9362 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9363 $as_echo_n "(cached) " >&6
9365 ac_check_lib_save_LIBS
=$LIBS
9366 LIBS
="-ldnet_stub $LIBS"
9367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9368 /* end confdefs.h. */
9370 /* Override any GCC internal prototype to avoid an error.
9371 Use char because int might match the return type of a GCC
9372 builtin and then its argument prototype would still apply. */
9380 return dnet_ntoa ();
9385 if ac_fn_c_try_link
"$LINENO"; then :
9386 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9388 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9390 rm -f core conftest.err conftest.
$ac_objext \
9391 conftest
$ac_exeext conftest.
$ac_ext
9392 LIBS
=$ac_check_lib_save_LIBS
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9395 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9396 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9397 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9402 rm -f core conftest.err conftest.
$ac_objext \
9403 conftest
$ac_exeext conftest.
$ac_ext
9404 LIBS
="$ac_xsave_LIBS"
9406 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9407 # to get the SysV transport functions.
9408 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9410 # The nsl library prevents programs from opening the X display
9411 # on Irix 5.2, according to T.E. Dickey.
9412 # The functions gethostbyname, getservbyname, and inet_addr are
9413 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9414 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9415 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9419 if test $ac_cv_func_gethostbyname = no
; then
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9421 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9422 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9423 $as_echo_n "(cached) " >&6
9425 ac_check_lib_save_LIBS
=$LIBS
9427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9428 /* end confdefs.h. */
9430 /* Override any GCC internal prototype to avoid an error.
9431 Use char because int might match the return type of a GCC
9432 builtin and then its argument prototype would still apply. */
9436 char gethostbyname ();
9440 return gethostbyname ();
9445 if ac_fn_c_try_link
"$LINENO"; then :
9446 ac_cv_lib_nsl_gethostbyname
=yes
9448 ac_cv_lib_nsl_gethostbyname
=no
9450 rm -f core conftest.err conftest.
$ac_objext \
9451 conftest
$ac_exeext conftest.
$ac_ext
9452 LIBS
=$ac_check_lib_save_LIBS
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9455 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9456 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9457 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9460 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9462 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9463 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9464 $as_echo_n "(cached) " >&6
9466 ac_check_lib_save_LIBS
=$LIBS
9468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9471 /* Override any GCC internal prototype to avoid an error.
9472 Use char because int might match the return type of a GCC
9473 builtin and then its argument prototype would still apply. */
9477 char gethostbyname ();
9481 return gethostbyname ();
9486 if ac_fn_c_try_link
"$LINENO"; then :
9487 ac_cv_lib_bsd_gethostbyname
=yes
9489 ac_cv_lib_bsd_gethostbyname
=no
9491 rm -f core conftest.err conftest.
$ac_objext \
9492 conftest
$ac_exeext conftest.
$ac_ext
9493 LIBS
=$ac_check_lib_save_LIBS
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9496 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9497 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9498 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9504 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9505 # socket/setsockopt and other routines are undefined under SCO ODT
9506 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9507 # on later versions), says Simon Leinen: it contains gethostby*
9508 # variants that don't use the name server (or something). -lsocket
9509 # must be given before -lnsl if both are needed. We assume that
9510 # if connect needs -lnsl, so does gethostbyname.
9511 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9512 if test "x$ac_cv_func_connect" = xyes
; then :
9516 if test $ac_cv_func_connect = no
; then
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9518 $as_echo_n "checking for connect in -lsocket... " >&6; }
9519 if ${ac_cv_lib_socket_connect+:} false
; then :
9520 $as_echo_n "(cached) " >&6
9522 ac_check_lib_save_LIBS
=$LIBS
9523 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h. */
9527 /* Override any GCC internal prototype to avoid an error.
9528 Use char because int might match the return type of a GCC
9529 builtin and then its argument prototype would still apply. */
9542 if ac_fn_c_try_link
"$LINENO"; then :
9543 ac_cv_lib_socket_connect
=yes
9545 ac_cv_lib_socket_connect
=no
9547 rm -f core conftest.err conftest.
$ac_objext \
9548 conftest
$ac_exeext conftest.
$ac_ext
9549 LIBS
=$ac_check_lib_save_LIBS
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9552 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9553 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9554 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9559 # Guillermo Gomez says -lposix is necessary on A/UX.
9560 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9561 if test "x$ac_cv_func_remove" = xyes
; then :
9565 if test $ac_cv_func_remove = no
; then
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9567 $as_echo_n "checking for remove in -lposix... " >&6; }
9568 if ${ac_cv_lib_posix_remove+:} false
; then :
9569 $as_echo_n "(cached) " >&6
9571 ac_check_lib_save_LIBS
=$LIBS
9572 LIBS
="-lposix $LIBS"
9573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9574 /* end confdefs.h. */
9576 /* Override any GCC internal prototype to avoid an error.
9577 Use char because int might match the return type of a GCC
9578 builtin and then its argument prototype would still apply. */
9591 if ac_fn_c_try_link
"$LINENO"; then :
9592 ac_cv_lib_posix_remove
=yes
9594 ac_cv_lib_posix_remove
=no
9596 rm -f core conftest.err conftest.
$ac_objext \
9597 conftest
$ac_exeext conftest.
$ac_ext
9598 LIBS
=$ac_check_lib_save_LIBS
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9601 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9602 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9603 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9608 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9609 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9610 if test "x$ac_cv_func_shmat" = xyes
; then :
9614 if test $ac_cv_func_shmat = no
; then
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9616 $as_echo_n "checking for shmat in -lipc... " >&6; }
9617 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9618 $as_echo_n "(cached) " >&6
9620 ac_check_lib_save_LIBS
=$LIBS
9622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9623 /* end confdefs.h. */
9625 /* Override any GCC internal prototype to avoid an error.
9626 Use char because int might match the return type of a GCC
9627 builtin and then its argument prototype would still apply. */
9640 if ac_fn_c_try_link
"$LINENO"; then :
9641 ac_cv_lib_ipc_shmat
=yes
9643 ac_cv_lib_ipc_shmat
=no
9645 rm -f core conftest.err conftest.
$ac_objext \
9646 conftest
$ac_exeext conftest.
$ac_ext
9647 LIBS
=$ac_check_lib_save_LIBS
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9650 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9651 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9652 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9658 # Check for libraries that X11R6 Xt/Xaw programs need.
9659 ac_save_LDFLAGS
=$LDFLAGS
9660 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9661 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9662 # check for ICE first), but we must link in the order -lSM -lICE or
9663 # we get undefined symbols. So assume we have SM if we have ICE.
9664 # These have to be linked with before -lX11, unlike the other
9665 # libraries we check for below, so use a different variable.
9666 # John Interrante, Karl Berry
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9668 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9669 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9670 $as_echo_n "(cached) " >&6
9672 ac_check_lib_save_LIBS
=$LIBS
9673 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9675 /* end confdefs.h. */
9677 /* Override any GCC internal prototype to avoid an error.
9678 Use char because int might match the return type of a GCC
9679 builtin and then its argument prototype would still apply. */
9683 char IceConnectionNumber ();
9687 return IceConnectionNumber ();
9692 if ac_fn_c_try_link
"$LINENO"; then :
9693 ac_cv_lib_ICE_IceConnectionNumber
=yes
9695 ac_cv_lib_ICE_IceConnectionNumber
=no
9697 rm -f core conftest.err conftest.
$ac_objext \
9698 conftest
$ac_exeext conftest.
$ac_ext
9699 LIBS
=$ac_check_lib_save_LIBS
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9702 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9703 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9704 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9707 LDFLAGS
=$ac_save_LDFLAGS
9712 if test "$have_x" = "yes"
9714 ac_save_CPPFLAGS
="$CPPFLAGS"
9715 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9718 $as_echo_n "checking for -lX11... " >&6; }
9719 if ${ac_cv_lib_soname_X11+:} false
; then :
9720 $as_echo_n "(cached) " >&6
9722 ac_check_soname_save_LIBS
=$LIBS
9723 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9725 /* end confdefs.h. */
9727 /* Override any GCC internal prototype to avoid an error.
9728 Use char because int might match the return type of a GCC
9729 builtin and then its argument prototype would still apply. */
9733 char XCreateWindow ();
9737 return XCreateWindow ();
9742 if ac_fn_c_try_link
"$LINENO"; then :
9744 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9745 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'` ;;
9746 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9747 if ${ac_cv_lib_soname_X11:+false} :; then :
9748 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9752 rm -f core conftest.err conftest.
$ac_objext \
9753 conftest
$ac_exeext conftest.
$ac_ext
9754 LIBS
=$ac_check_soname_save_LIBS
9756 if ${ac_cv_lib_soname_X11:+false} :; then :
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9758 $as_echo "not found" >&6; }
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9762 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9764 cat >>confdefs.h
<<_ACEOF
9765 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9771 $as_echo_n "checking for -lXext... " >&6; }
9772 if ${ac_cv_lib_soname_Xext+:} false
; then :
9773 $as_echo_n "(cached) " >&6
9775 ac_check_soname_save_LIBS
=$LIBS
9776 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9778 /* end confdefs.h. */
9780 /* Override any GCC internal prototype to avoid an error.
9781 Use char because int might match the return type of a GCC
9782 builtin and then its argument prototype would still apply. */
9786 char XextCreateExtension ();
9790 return XextCreateExtension ();
9795 if ac_fn_c_try_link
"$LINENO"; then :
9797 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9798 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'` ;;
9799 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9800 if ${ac_cv_lib_soname_Xext:+false} :; then :
9801 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9805 rm -f core conftest.err conftest.
$ac_objext \
9806 conftest
$ac_exeext conftest.
$ac_ext
9807 LIBS
=$ac_check_soname_save_LIBS
9809 if ${ac_cv_lib_soname_Xext:+false} :; then :
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9811 $as_echo "not found" >&6; }
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9815 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9817 cat >>confdefs.h
<<_ACEOF
9818 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9821 X_LIBS
="$X_LIBS -lXext"
9823 X_LIBS
="$X_LIBS -lX11"
9825 for ac_header
in X11
/Xlib.h \
9828 X11
/Xcursor
/Xcursor.h \
9829 X11
/extensions
/shape.h \
9830 X11
/extensions
/XInput.h \
9831 X11
/extensions
/XInput2.h \
9832 X11
/extensions
/XShm.h \
9833 X11
/extensions
/Xcomposite.h \
9834 X11
/extensions
/Xinerama.h \
9835 X11
/extensions
/Xrandr.h \
9836 X11
/extensions
/Xrender.h \
9837 X11
/extensions
/xf86vmode.h \
9838 X11
/extensions
/xf86vmproto.h
9840 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9841 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9842 # include <X11/Xlib.h>
9844 #ifdef HAVE_X11_XUTIL_H
9845 # include <X11/Xutil.h>
9848 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9849 cat >>confdefs.h
<<_ACEOF
9850 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9858 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9861 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9862 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9863 $as_echo_n "(cached) " >&6
9865 ac_check_lib_save_LIBS
=$LIBS
9866 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9868 /* end confdefs.h. */
9870 /* Override any GCC internal prototype to avoid an error.
9871 Use char because int might match the return type of a GCC
9872 builtin and then its argument prototype would still apply. */
9876 char XkbQueryExtension ();
9880 return XkbQueryExtension ();
9885 if ac_fn_c_try_link
"$LINENO"; then :
9886 ac_cv_lib_X11_XkbQueryExtension
=yes
9888 ac_cv_lib_X11_XkbQueryExtension
=no
9890 rm -f core conftest.err conftest.
$ac_objext \
9891 conftest
$ac_exeext conftest.
$ac_ext
9892 LIBS
=$ac_check_lib_save_LIBS
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9895 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9896 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9898 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9904 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9907 $as_echo_n "checking for -lXcursor... " >&6; }
9908 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9909 $as_echo_n "(cached) " >&6
9911 ac_check_soname_save_LIBS
=$LIBS
9912 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9914 /* end confdefs.h. */
9916 /* Override any GCC internal prototype to avoid an error.
9917 Use char because int might match the return type of a GCC
9918 builtin and then its argument prototype would still apply. */
9922 char XcursorImageLoadCursor ();
9926 return XcursorImageLoadCursor ();
9931 if ac_fn_c_try_link
"$LINENO"; then :
9933 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9934 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'` ;;
9935 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9936 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9937 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9941 rm -f core conftest.err conftest.
$ac_objext \
9942 conftest
$ac_exeext conftest.
$ac_ext
9943 LIBS
=$ac_check_soname_save_LIBS
9945 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9947 $as_echo "not found" >&6; }
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9951 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9953 cat >>confdefs.h
<<_ACEOF
9954 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9960 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9961 case "x$with_xcursor" in
9962 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9964 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9965 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9970 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9973 $as_echo_n "checking for -lXi... " >&6; }
9974 if ${ac_cv_lib_soname_Xi+:} false
; then :
9975 $as_echo_n "(cached) " >&6
9977 ac_check_soname_save_LIBS
=$LIBS
9978 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9980 /* end confdefs.h. */
9982 /* Override any GCC internal prototype to avoid an error.
9983 Use char because int might match the return type of a GCC
9984 builtin and then its argument prototype would still apply. */
9988 char XOpenDevice ();
9992 return XOpenDevice ();
9997 if ac_fn_c_try_link
"$LINENO"; then :
9999 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10000 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'` ;;
10001 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10002 if ${ac_cv_lib_soname_Xi:+false} :; then :
10003 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10007 rm -f core conftest.err conftest.
$ac_objext \
10008 conftest
$ac_exeext conftest.
$ac_ext
10009 LIBS
=$ac_check_soname_save_LIBS
10011 if ${ac_cv_lib_soname_Xi:+false} :; then :
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10013 $as_echo "not found" >&6; }
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10017 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10019 cat >>confdefs.h
<<_ACEOF
10020 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10026 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10027 case "x$with_xinput" in
10028 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10030 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10031 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10036 if test "x$ac_cv_lib_soname_Xi" != x
10038 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10039 case "x$with_xinput2" in
10040 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10042 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
10043 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10049 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10052 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10053 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
10054 $as_echo_n "(cached) " >&6
10056 ac_check_lib_save_LIBS
=$LIBS
10057 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10059 /* end confdefs.h. */
10061 /* Override any GCC internal prototype to avoid an error.
10062 Use char because int might match the return type of a GCC
10063 builtin and then its argument prototype would still apply. */
10067 char XShmQueryExtension ();
10071 return XShmQueryExtension ();
10076 if ac_fn_c_try_link
"$LINENO"; then :
10077 ac_cv_lib_Xext_XShmQueryExtension
=yes
10079 ac_cv_lib_Xext_XShmQueryExtension
=no
10081 rm -f core conftest.err conftest.
$ac_objext \
10082 conftest
$ac_exeext conftest.
$ac_ext
10083 LIBS
=$ac_check_lib_save_LIBS
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10086 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10087 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10089 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10094 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10095 case "x$with_xshm" in
10096 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10098 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10099 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10104 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10107 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10108 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10109 $as_echo_n "(cached) " >&6
10111 ac_check_lib_save_LIBS
=$LIBS
10112 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10114 /* end confdefs.h. */
10116 /* Override any GCC internal prototype to avoid an error.
10117 Use char because int might match the return type of a GCC
10118 builtin and then its argument prototype would still apply. */
10122 char XShapeQueryExtension ();
10126 return XShapeQueryExtension ();
10131 if ac_fn_c_try_link
"$LINENO"; then :
10132 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10134 ac_cv_lib_Xext_XShapeQueryExtension
=no
10136 rm -f core conftest.err conftest.
$ac_objext \
10137 conftest
$ac_exeext conftest.
$ac_ext
10138 LIBS
=$ac_check_lib_save_LIBS
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10141 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10142 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10144 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10149 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10150 case "x$with_xshape" in
10151 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10153 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10154 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10159 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10162 $as_echo_n "checking for -lXxf86vm... " >&6; }
10163 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10164 $as_echo_n "(cached) " >&6
10166 ac_check_soname_save_LIBS
=$LIBS
10167 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10169 /* end confdefs.h. */
10171 /* Override any GCC internal prototype to avoid an error.
10172 Use char because int might match the return type of a GCC
10173 builtin and then its argument prototype would still apply. */
10177 char XF86VidModeQueryExtension ();
10181 return XF86VidModeQueryExtension ();
10186 if ac_fn_c_try_link
"$LINENO"; then :
10188 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10189 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'` ;;
10190 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10191 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10192 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10196 rm -f core conftest.err conftest.
$ac_objext \
10197 conftest
$ac_exeext conftest.
$ac_ext
10198 LIBS
=$ac_check_soname_save_LIBS
10200 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10202 $as_echo "not found" >&6; }
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10206 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10208 cat >>confdefs.h
<<_ACEOF
10209 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10215 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10216 case "x$with_xxf86vm" in
10217 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10219 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10220 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10225 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10228 $as_echo_n "checking for -lXrender... " >&6; }
10229 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10230 $as_echo_n "(cached) " >&6
10232 ac_check_soname_save_LIBS
=$LIBS
10233 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10235 /* end confdefs.h. */
10237 /* Override any GCC internal prototype to avoid an error.
10238 Use char because int might match the return type of a GCC
10239 builtin and then its argument prototype would still apply. */
10243 char XRenderQueryExtension ();
10247 return XRenderQueryExtension ();
10252 if ac_fn_c_try_link
"$LINENO"; then :
10254 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10255 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'` ;;
10256 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10257 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10258 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10262 rm -f core conftest.err conftest.
$ac_objext \
10263 conftest
$ac_exeext conftest.
$ac_ext
10264 LIBS
=$ac_check_soname_save_LIBS
10266 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10268 $as_echo "not found" >&6; }
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10272 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10274 cat >>confdefs.h
<<_ACEOF
10275 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10279 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10280 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10281 $as_echo_n "(cached) " >&6
10283 ac_check_lib_save_LIBS
=$LIBS
10284 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10286 /* end confdefs.h. */
10288 /* Override any GCC internal prototype to avoid an error.
10289 Use char because int might match the return type of a GCC
10290 builtin and then its argument prototype would still apply. */
10294 char XRenderSetPictureTransform ();
10298 return XRenderSetPictureTransform ();
10303 if ac_fn_c_try_link
"$LINENO"; then :
10304 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10306 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10308 rm -f core conftest.err conftest.
$ac_objext \
10309 conftest
$ac_exeext conftest.
$ac_ext
10310 LIBS
=$ac_check_lib_save_LIBS
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10313 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10314 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10316 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10321 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10322 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10323 $as_echo_n "(cached) " >&6
10325 ac_check_lib_save_LIBS
=$LIBS
10326 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10328 /* end confdefs.h. */
10330 /* Override any GCC internal prototype to avoid an error.
10331 Use char because int might match the return type of a GCC
10332 builtin and then its argument prototype would still apply. */
10336 char XRenderCreateLinearGradient ();
10340 return XRenderCreateLinearGradient ();
10345 if ac_fn_c_try_link
"$LINENO"; then :
10346 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10348 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10350 rm -f core conftest.err conftest.
$ac_objext \
10351 conftest
$ac_exeext conftest.
$ac_ext
10352 LIBS
=$ac_check_lib_save_LIBS
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10355 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10356 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10358 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10365 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10366 case "x$with_xrender" in
10367 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10369 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10370 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10375 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10378 /* end confdefs.h. */
10379 #include <X11/Xlib.h>
10380 #include <X11/extensions/Xrandr.h>
10384 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10389 if ac_fn_c_try_compile
"$LINENO"; then :
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10391 $as_echo_n "checking for -lXrandr... " >&6; }
10392 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10393 $as_echo_n "(cached) " >&6
10395 ac_check_soname_save_LIBS
=$LIBS
10396 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10398 /* end confdefs.h. */
10400 /* Override any GCC internal prototype to avoid an error.
10401 Use char because int might match the return type of a GCC
10402 builtin and then its argument prototype would still apply. */
10406 char XRRQueryExtension ();
10410 return XRRQueryExtension ();
10415 if ac_fn_c_try_link
"$LINENO"; then :
10417 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10418 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'` ;;
10419 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10420 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10421 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10425 rm -f core conftest.err conftest.
$ac_objext \
10426 conftest
$ac_exeext conftest.
$ac_ext
10427 LIBS
=$ac_check_soname_save_LIBS
10429 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10431 $as_echo "not found" >&6; }
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10435 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10437 cat >>confdefs.h
<<_ACEOF
10438 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10442 /* end confdefs.h. */
10443 #include <X11/Xlib.h>
10444 #include <X11/extensions/Xrandr.h>
10448 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10453 if ac_fn_c_try_compile
"$LINENO"; then :
10455 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10463 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10464 case "x$with_xrandr" in
10465 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10467 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10468 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10473 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10476 /* end confdefs.h. */
10477 #include <X11/Xlib.h>
10478 #include <X11/extensions/Xinerama.h>
10482 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10487 if ac_fn_c_try_compile
"$LINENO"; then :
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10489 $as_echo_n "checking for -lXinerama... " >&6; }
10490 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10491 $as_echo_n "(cached) " >&6
10493 ac_check_soname_save_LIBS
=$LIBS
10494 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10496 /* end confdefs.h. */
10498 /* Override any GCC internal prototype to avoid an error.
10499 Use char because int might match the return type of a GCC
10500 builtin and then its argument prototype would still apply. */
10504 char XineramaQueryScreens ();
10508 return XineramaQueryScreens ();
10513 if ac_fn_c_try_link
"$LINENO"; then :
10515 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10516 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'` ;;
10517 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10518 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10519 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10523 rm -f core conftest.err conftest.
$ac_objext \
10524 conftest
$ac_exeext conftest.
$ac_ext
10525 LIBS
=$ac_check_soname_save_LIBS
10527 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10529 $as_echo "not found" >&6; }
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10533 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10535 cat >>confdefs.h
<<_ACEOF
10536 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10544 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10545 case "x$with_xinerama" in
10546 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10548 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10549 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10554 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10557 $as_echo_n "checking for -lXcomposite... " >&6; }
10558 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10559 $as_echo_n "(cached) " >&6
10561 ac_check_soname_save_LIBS
=$LIBS
10562 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10564 /* end confdefs.h. */
10566 /* Override any GCC internal prototype to avoid an error.
10567 Use char because int might match the return type of a GCC
10568 builtin and then its argument prototype would still apply. */
10572 char XCompositeRedirectWindow ();
10576 return XCompositeRedirectWindow ();
10581 if ac_fn_c_try_link
"$LINENO"; then :
10583 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10584 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'` ;;
10585 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10586 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10587 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10591 rm -f core conftest.err conftest.
$ac_objext \
10592 conftest
$ac_exeext conftest.
$ac_ext
10593 LIBS
=$ac_check_soname_save_LIBS
10595 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10597 $as_echo "not found" >&6; }
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10601 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10603 cat >>confdefs.h
<<_ACEOF
10604 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10610 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10611 case "x$with_xcomposite" in
10612 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10614 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10615 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10620 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10621 #include <X11/Xlib.h>
10624 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10626 cat >>confdefs.h
<<_ACEOF
10627 #define HAVE_XICCALLBACK_CALLBACK 1
10632 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10633 #include <X11/Xlib.h>
10636 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10638 cat >>confdefs.h
<<_ACEOF
10639 #define HAVE_XEVENT_XCOOKIE 1
10648 if test "x$with_opengl" != "xno"
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10651 $as_echo_n "checking for -lGL... " >&6; }
10652 if ${ac_cv_lib_soname_GL+:} false
; then :
10653 $as_echo_n "(cached) " >&6
10655 ac_check_soname_save_LIBS
=$LIBS
10656 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10658 /* end confdefs.h. */
10660 /* Override any GCC internal prototype to avoid an error.
10661 Use char because int might match the return type of a GCC
10662 builtin and then its argument prototype would still apply. */
10666 char glXCreateContext ();
10670 return glXCreateContext ();
10675 if ac_fn_c_try_link
"$LINENO"; then :
10677 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10678 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'` ;;
10679 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10680 if ${ac_cv_lib_soname_GL:+false} :; then :
10681 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10685 rm -f core conftest.err conftest.
$ac_objext \
10686 conftest
$ac_exeext conftest.
$ac_ext
10687 LIBS
=$ac_check_soname_save_LIBS
10689 if ${ac_cv_lib_soname_GL:+false} :; then :
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10691 $as_echo "not found" >&6; }
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10693 $as_echo_n "checking for -lGL... " >&6; }
10694 if ${ac_cv_lib_soname_GL+:} false
; then :
10695 $as_echo_n "(cached) " >&6
10697 ac_check_soname_save_LIBS
=$LIBS
10698 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"
10699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10700 /* end confdefs.h. */
10702 /* Override any GCC internal prototype to avoid an error.
10703 Use char because int might match the return type of a GCC
10704 builtin and then its argument prototype would still apply. */
10708 char glXCreateContext ();
10712 return glXCreateContext ();
10717 if ac_fn_c_try_link
"$LINENO"; then :
10719 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10720 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'` ;;
10721 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10722 if ${ac_cv_lib_soname_GL:+false} :; then :
10723 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10727 rm -f core conftest.err conftest.
$ac_objext \
10728 conftest
$ac_exeext conftest.
$ac_ext
10729 LIBS
=$ac_check_soname_save_LIBS
10731 if ${ac_cv_lib_soname_GL:+false} :; then :
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10733 $as_echo "not found" >&6; }
10734 if test -f /usr
/X11R
6/lib
/libGL.a
10736 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10737 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10739 opengl_msg
="No OpenGL library found on this system."
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10743 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10745 cat >>confdefs.h
<<_ACEOF
10746 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10749 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"
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10753 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10755 cat >>confdefs.h
<<_ACEOF
10756 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10761 if test "x$with_glu" != "xno"
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10764 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10765 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10766 $as_echo_n "(cached) " >&6
10768 ac_check_lib_save_LIBS
=$LIBS
10769 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10771 /* end confdefs.h. */
10773 /* Override any GCC internal prototype to avoid an error.
10774 Use char because int might match the return type of a GCC
10775 builtin and then its argument prototype would still apply. */
10783 return gluLookAt ();
10788 if ac_fn_c_try_link
"$LINENO"; then :
10789 ac_cv_lib_GLU_gluLookAt
=yes
10791 ac_cv_lib_GLU_gluLookAt
=no
10793 rm -f core conftest.err conftest.
$ac_objext \
10794 conftest
$ac_exeext conftest.
$ac_ext
10795 LIBS
=$ac_check_lib_save_LIBS
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10798 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10799 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10803 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10804 case "x$with_glu" in
10805 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10807 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10808 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10814 if test "x$with_osmesa" != "xno"
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10817 $as_echo_n "checking for -lOSMesa... " >&6; }
10818 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10819 $as_echo_n "(cached) " >&6
10821 ac_check_soname_save_LIBS
=$LIBS
10822 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10824 /* end confdefs.h. */
10826 /* Override any GCC internal prototype to avoid an error.
10827 Use char because int might match the return type of a GCC
10828 builtin and then its argument prototype would still apply. */
10841 if ac_fn_c_try_link
"$LINENO"; then :
10843 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10844 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'` ;;
10845 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10846 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10847 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10851 rm -f core conftest.err conftest.
$ac_objext \
10852 conftest
$ac_exeext conftest.
$ac_ext
10853 LIBS
=$ac_check_soname_save_LIBS
10855 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10857 $as_echo "not found" >&6; }
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10861 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10863 cat >>confdefs.h
<<_ACEOF
10864 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10869 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10870 case "x$with_osmesa" in
10871 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10873 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10874 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10880 if test -n "$opengl_msg"; then :
10881 case "x$with_opengl" in
10882 x
) as_fn_append wine_warnings
"|$opengl_msg
10883 OpenGL and Direct3D won't be supported." ;;
10885 *) as_fn_error $?
"$opengl_msg
10886 OpenGL and Direct3D won't be supported.
10887 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10892 CPPFLAGS
="$ac_save_CPPFLAGS"
10897 if test "x$X_LIBS" = "x"; then :
10900 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10901 without X support, which probably isn't what you want. You will need
10902 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10903 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10905 enable_winex11_drv
=${enable_winex11_drv:-no}
10908 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10910 if test "$ac_cv_header_CL_cl_h" = "yes"
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10913 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10914 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10915 $as_echo_n "(cached) " >&6
10917 ac_check_lib_save_LIBS
=$LIBS
10918 LIBS
="-lOpenCL $LIBS"
10919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10920 /* end confdefs.h. */
10922 /* Override any GCC internal prototype to avoid an error.
10923 Use char because int might match the return type of a GCC
10924 builtin and then its argument prototype would still apply. */
10928 char clGetPlatformInfo ();
10932 return clGetPlatformInfo ();
10937 if ac_fn_c_try_link
"$LINENO"; then :
10938 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10940 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10942 rm -f core conftest.err conftest.
$ac_objext \
10943 conftest
$ac_exeext conftest.
$ac_ext
10944 LIBS
=$ac_check_lib_save_LIBS
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10947 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10948 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10949 OPENCL_LIBS
="-lOpenCL"
10954 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10955 case "x$with_opencl" in
10956 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10958 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10959 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10961 enable_opencl
=${enable_opencl:-no}
10964 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10967 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10968 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10969 $as_echo_n "(cached) " >&6
10971 ac_check_lib_save_LIBS
=$LIBS
10972 LIBS
="-lpcap $LIBS"
10973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10974 /* end confdefs.h. */
10976 /* Override any GCC internal prototype to avoid an error.
10977 Use char because int might match the return type of a GCC
10978 builtin and then its argument prototype would still apply. */
10982 char pcap_create ();
10986 return pcap_create ();
10991 if ac_fn_c_try_link
"$LINENO"; then :
10992 ac_cv_lib_pcap_pcap_create
=yes
10994 ac_cv_lib_pcap_pcap_create
=no
10996 rm -f core conftest.err conftest.
$ac_objext \
10997 conftest
$ac_exeext conftest.
$ac_ext
10998 LIBS
=$ac_check_lib_save_LIBS
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11001 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11002 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
11008 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
11009 case "x$with_pcap" in
11010 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11012 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
11013 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11015 enable_wpcap
=${enable_wpcap:-no}
11019 if test "x$with_xml" != "xno"
11021 if ${XML2_CFLAGS:+false} :; then :
11022 if ${PKG_CONFIG+:} false
; then :
11023 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11026 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11027 if ${XML2_LIBS:+false} :; then :
11028 if ${PKG_CONFIG+:} false
; then :
11029 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11032 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11033 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
11034 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11035 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11036 ac_save_CPPFLAGS
=$CPPFLAGS
11037 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
11038 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
11040 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11041 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11042 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11043 cat >>confdefs.h
<<_ACEOF
11044 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11051 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"
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11054 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11055 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
11056 $as_echo_n "(cached) " >&6
11058 ac_check_lib_save_LIBS
=$LIBS
11059 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11061 /* end confdefs.h. */
11063 /* Override any GCC internal prototype to avoid an error.
11064 Use char because int might match the return type of a GCC
11065 builtin and then its argument prototype would still apply. */
11069 char xmlParseMemory ();
11073 return xmlParseMemory ();
11078 if ac_fn_c_try_link
"$LINENO"; then :
11079 ac_cv_lib_xml2_xmlParseMemory
=yes
11081 ac_cv_lib_xml2_xmlParseMemory
=no
11083 rm -f core conftest.err conftest.
$ac_objext \
11084 conftest
$ac_exeext conftest.
$ac_ext
11085 LIBS
=$ac_check_lib_save_LIBS
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11088 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11089 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11091 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11098 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11099 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11100 $as_echo_n "(cached) " >&6
11102 ac_check_lib_save_LIBS
=$LIBS
11103 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11105 /* end confdefs.h. */
11107 /* Override any GCC internal prototype to avoid an error.
11108 Use char because int might match the return type of a GCC
11109 builtin and then its argument prototype would still apply. */
11113 char xmlReadMemory ();
11117 return xmlReadMemory ();
11122 if ac_fn_c_try_link
"$LINENO"; then :
11123 ac_cv_lib_xml2_xmlReadMemory
=yes
11125 ac_cv_lib_xml2_xmlReadMemory
=no
11127 rm -f core conftest.err conftest.
$ac_objext \
11128 conftest
$ac_exeext conftest.
$ac_ext
11129 LIBS
=$ac_check_lib_save_LIBS
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11132 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11133 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11135 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11140 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11141 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11142 $as_echo_n "(cached) " >&6
11144 ac_check_lib_save_LIBS
=$LIBS
11145 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h. */
11149 /* Override any GCC internal prototype to avoid an error.
11150 Use char because int might match the return type of a GCC
11151 builtin and then its argument prototype would still apply. */
11155 char xmlNewDocPI ();
11159 return xmlNewDocPI ();
11164 if ac_fn_c_try_link
"$LINENO"; then :
11165 ac_cv_lib_xml2_xmlNewDocPI
=yes
11167 ac_cv_lib_xml2_xmlNewDocPI
=no
11169 rm -f core conftest.err conftest.
$ac_objext \
11170 conftest
$ac_exeext conftest.
$ac_ext
11171 LIBS
=$ac_check_lib_save_LIBS
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11174 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11175 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11177 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11182 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11183 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11184 $as_echo_n "(cached) " >&6
11186 ac_check_lib_save_LIBS
=$LIBS
11187 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11189 /* end confdefs.h. */
11191 /* Override any GCC internal prototype to avoid an error.
11192 Use char because int might match the return type of a GCC
11193 builtin and then its argument prototype would still apply. */
11197 char xmlSchemaSetParserStructuredErrors ();
11201 return xmlSchemaSetParserStructuredErrors ();
11206 if ac_fn_c_try_link
"$LINENO"; then :
11207 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11209 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11211 rm -f core conftest.err conftest.
$ac_objext \
11212 conftest
$ac_exeext conftest.
$ac_ext
11213 LIBS
=$ac_check_lib_save_LIBS
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11216 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11217 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11219 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11224 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11225 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11226 $as_echo_n "(cached) " >&6
11228 ac_check_lib_save_LIBS
=$LIBS
11229 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11231 /* end confdefs.h. */
11233 /* Override any GCC internal prototype to avoid an error.
11234 Use char because int might match the return type of a GCC
11235 builtin and then its argument prototype would still apply. */
11239 char xmlSchemaSetValidStructuredErrors ();
11243 return xmlSchemaSetValidStructuredErrors ();
11248 if ac_fn_c_try_link
"$LINENO"; then :
11249 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11251 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11253 rm -f core conftest.err conftest.
$ac_objext \
11254 conftest
$ac_exeext conftest.
$ac_ext
11255 LIBS
=$ac_check_lib_save_LIBS
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11258 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11259 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11261 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11266 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11267 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11268 $as_echo_n "(cached) " >&6
11270 ac_check_lib_save_LIBS
=$LIBS
11271 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11273 /* end confdefs.h. */
11275 /* Override any GCC internal prototype to avoid an error.
11276 Use char because int might match the return type of a GCC
11277 builtin and then its argument prototype would still apply. */
11281 char xmlFirstElementChild ();
11285 return xmlFirstElementChild ();
11290 if ac_fn_c_try_link
"$LINENO"; then :
11291 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11293 ac_cv_lib_xml2_xmlFirstElementChild
=no
11295 rm -f core conftest.err conftest.
$ac_objext \
11296 conftest
$ac_exeext conftest.
$ac_ext
11297 LIBS
=$ac_check_lib_save_LIBS
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11300 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11301 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11303 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11307 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11309 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11311 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11319 CPPFLAGS
=$ac_save_CPPFLAGS
11320 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11321 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11324 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11325 case "x$with_xml" in
11326 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11328 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11329 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11334 if test "x$with_xslt" != "xno"
11336 if ${XSLT_CFLAGS:+false} :; then :
11337 if ${PKG_CONFIG+:} false
; then :
11338 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11341 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11342 if ${XSLT_LIBS:+false} :; then :
11343 if ${PKG_CONFIG+:} false
; then :
11344 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11347 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11348 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11349 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11350 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11351 ac_save_CPPFLAGS
=$CPPFLAGS
11352 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11353 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11355 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11356 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11357 # include <libxslt/pattern.h>
11360 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11361 cat >>confdefs.h
<<_ACEOF
11362 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11369 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11372 $as_echo_n "checking for -lxslt... " >&6; }
11373 if ${ac_cv_lib_soname_xslt+:} false
; then :
11374 $as_echo_n "(cached) " >&6
11376 ac_check_soname_save_LIBS
=$LIBS
11377 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11379 /* end confdefs.h. */
11381 /* Override any GCC internal prototype to avoid an error.
11382 Use char because int might match the return type of a GCC
11383 builtin and then its argument prototype would still apply. */
11387 char xsltCompilePattern ();
11391 return xsltCompilePattern ();
11396 if ac_fn_c_try_link
"$LINENO"; then :
11398 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11399 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'` ;;
11400 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11401 if ${ac_cv_lib_soname_xslt:+false} :; then :
11402 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11406 rm -f core conftest.err conftest.
$ac_objext \
11407 conftest
$ac_exeext conftest.
$ac_ext
11408 LIBS
=$ac_check_soname_save_LIBS
11410 if ${ac_cv_lib_soname_xslt:+false} :; then :
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11412 $as_echo "not found" >&6; }
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11416 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11418 cat >>confdefs.h
<<_ACEOF
11419 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11427 CPPFLAGS
=$ac_save_CPPFLAGS
11428 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11429 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11432 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11433 case "x$with_xslt" in
11434 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11436 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11437 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11442 if test "x$with_dbus" != "xno"
11444 if ${DBUS_CFLAGS:+false} :; then :
11445 if ${PKG_CONFIG+:} false
; then :
11446 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11450 if ${DBUS_LIBS:+false} :; then :
11451 if ${PKG_CONFIG+:} false
; then :
11452 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11457 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11458 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11459 ac_save_CPPFLAGS
=$CPPFLAGS
11460 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11461 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11462 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11464 $as_echo_n "checking for -ldbus-1... " >&6; }
11465 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11466 $as_echo_n "(cached) " >&6
11468 ac_check_soname_save_LIBS
=$LIBS
11469 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11471 /* end confdefs.h. */
11473 /* Override any GCC internal prototype to avoid an error.
11474 Use char because int might match the return type of a GCC
11475 builtin and then its argument prototype would still apply. */
11479 char dbus_connection_close ();
11483 return dbus_connection_close ();
11488 if ac_fn_c_try_link
"$LINENO"; then :
11490 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11491 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'` ;;
11492 *) 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'`
11493 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11494 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11498 rm -f core conftest.err conftest.
$ac_objext \
11499 conftest
$ac_exeext conftest.
$ac_ext
11500 LIBS
=$ac_check_soname_save_LIBS
11502 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11504 $as_echo "not found" >&6; }
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11508 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11510 cat >>confdefs.h
<<_ACEOF
11511 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11521 CPPFLAGS
=$ac_save_CPPFLAGS
11522 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11523 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11526 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11527 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11528 case "x$with_dbus" in
11529 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11531 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11532 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11537 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11539 if ${HAL_CFLAGS:+false} :; then :
11540 if ${PKG_CONFIG+:} false
; then :
11541 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11545 if ${HAL_LIBS:+false} :; then :
11546 if ${PKG_CONFIG+:} false
; then :
11547 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11551 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11552 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11553 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11554 ac_save_CPPFLAGS
=$CPPFLAGS
11555 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11556 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11557 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11559 $as_echo_n "checking for -lhal... " >&6; }
11560 if ${ac_cv_lib_soname_hal+:} false
; then :
11561 $as_echo_n "(cached) " >&6
11563 ac_check_soname_save_LIBS
=$LIBS
11564 LIBS
="-lhal $HAL_LIBS $LIBS"
11565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11566 /* end confdefs.h. */
11568 /* Override any GCC internal prototype to avoid an error.
11569 Use char because int might match the return type of a GCC
11570 builtin and then its argument prototype would still apply. */
11574 char libhal_ctx_new ();
11578 return libhal_ctx_new ();
11583 if ac_fn_c_try_link
"$LINENO"; then :
11585 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11586 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'` ;;
11587 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11588 if ${ac_cv_lib_soname_hal:+false} :; then :
11589 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11593 rm -f core conftest.err conftest.
$ac_objext \
11594 conftest
$ac_exeext conftest.
$ac_ext
11595 LIBS
=$ac_check_soname_save_LIBS
11597 if ${ac_cv_lib_soname_hal:+false} :; then :
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11599 $as_echo "not found" >&6; }
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11603 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11605 cat >>confdefs.h
<<_ACEOF
11606 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11616 CPPFLAGS
=$ac_save_CPPFLAGS
11617 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11618 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11620 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11621 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11622 case "x$with_hal" in
11623 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11625 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11626 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11632 if test "x$with_gnutls" != "xno"
11634 if ${GNUTLS_CFLAGS:+false} :; then :
11635 if ${PKG_CONFIG+:} false
; then :
11636 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11640 if ${GNUTLS_LIBS:+false} :; then :
11641 if ${PKG_CONFIG+:} false
; then :
11642 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11647 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11648 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11649 ac_save_CPPFLAGS
=$CPPFLAGS
11650 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11651 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11652 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11654 /* end confdefs.h. */
11655 #include <gnutls/gnutls.h>
11656 #include <gnutls/crypto.h>
11660 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11665 if ac_fn_c_try_compile
"$LINENO"; then :
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11667 $as_echo_n "checking for -lgnutls... " >&6; }
11668 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11669 $as_echo_n "(cached) " >&6
11671 ac_check_soname_save_LIBS
=$LIBS
11672 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11674 /* end confdefs.h. */
11676 /* Override any GCC internal prototype to avoid an error.
11677 Use char because int might match the return type of a GCC
11678 builtin and then its argument prototype would still apply. */
11682 char gnutls_global_init ();
11686 return gnutls_global_init ();
11691 if ac_fn_c_try_link
"$LINENO"; then :
11693 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11694 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'` ;;
11695 *) 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'`
11696 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11697 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'`
11701 rm -f core conftest.err conftest.
$ac_objext \
11702 conftest
$ac_exeext conftest.
$ac_ext
11703 LIBS
=$ac_check_soname_save_LIBS
11705 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11707 $as_echo "not found" >&6; }
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11711 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11713 cat >>confdefs.h
<<_ACEOF
11714 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11719 ac_wine_check_funcs_save_LIBS
="$LIBS"
11720 LIBS
="$LIBS $GNUTLS_LIBS"
11721 for ac_func
in gnutls_hash
11723 ac_fn_c_check_func
"$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11724 if test "x$ac_cv_func_gnutls_hash" = xyes
; then :
11725 cat >>confdefs.h
<<_ACEOF
11726 #define HAVE_GNUTLS_HASH 1
11730 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11734 LIBS
="$ac_wine_check_funcs_save_LIBS"
11736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11742 CPPFLAGS
=$ac_save_CPPFLAGS
11743 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11744 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11747 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11748 case "x$with_gnutls" in
11749 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11751 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11752 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11758 if test "$ac_cv_header_ncurses_h" = "yes"
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11761 $as_echo_n "checking for -lncurses... " >&6; }
11762 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11763 $as_echo_n "(cached) " >&6
11765 ac_check_soname_save_LIBS
=$LIBS
11766 LIBS
="-lncurses $LIBS"
11767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11768 /* end confdefs.h. */
11770 /* Override any GCC internal prototype to avoid an error.
11771 Use char because int might match the return type of a GCC
11772 builtin and then its argument prototype would still apply. */
11785 if ac_fn_c_try_link
"$LINENO"; then :
11787 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11788 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'` ;;
11789 *) 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'`
11790 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11791 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11795 rm -f core conftest.err conftest.
$ac_objext \
11796 conftest
$ac_exeext conftest.
$ac_ext
11797 LIBS
=$ac_check_soname_save_LIBS
11799 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11801 $as_echo "not found" >&6; }
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11805 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11807 cat >>confdefs.h
<<_ACEOF
11808 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11811 CURSES_LIBS
="-lncurses"
11813 elif test "$ac_cv_header_curses_h" = "yes"
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11816 $as_echo_n "checking for -lcurses... " >&6; }
11817 if ${ac_cv_lib_soname_curses+:} false
; then :
11818 $as_echo_n "(cached) " >&6
11820 ac_check_soname_save_LIBS
=$LIBS
11821 LIBS
="-lcurses $LIBS"
11822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11823 /* end confdefs.h. */
11825 /* Override any GCC internal prototype to avoid an error.
11826 Use char because int might match the return type of a GCC
11827 builtin and then its argument prototype would still apply. */
11840 if ac_fn_c_try_link
"$LINENO"; then :
11842 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11843 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'` ;;
11844 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11845 if ${ac_cv_lib_soname_curses:+false} :; then :
11846 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11850 rm -f core conftest.err conftest.
$ac_objext \
11851 conftest
$ac_exeext conftest.
$ac_ext
11852 LIBS
=$ac_check_soname_save_LIBS
11854 if ${ac_cv_lib_soname_curses:+false} :; then :
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11856 $as_echo "not found" >&6; }
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11860 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11862 cat >>confdefs.h
<<_ACEOF
11863 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11866 CURSES_LIBS
="-lcurses"
11869 ac_save_LIBS
="$LIBS"
11870 LIBS
="$LIBS $CURSES_LIBS"
11871 for ac_func
in mousemask
11873 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11874 if test "x$ac_cv_func_mousemask" = xyes
; then :
11875 cat >>confdefs.h
<<_ACEOF
11876 #define HAVE_MOUSEMASK 1
11882 LIBS
="$ac_save_LIBS"
11883 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11884 case "x$with_curses" in
11885 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11887 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11888 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11893 if test "x$with_sane" != "xno"
11895 if ${SANE_CFLAGS:+false} :; then :
11896 if ${PKG_CONFIG+:} false
; then :
11897 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11900 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11901 if ${SANE_LIBS:+false} :; then :
11902 if ${PKG_CONFIG+:} false
; then :
11903 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11906 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11908 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11909 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11910 ac_save_CPPFLAGS
=$CPPFLAGS
11911 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11912 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11913 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11915 $as_echo_n "checking for -lsane... " >&6; }
11916 if ${ac_cv_lib_soname_sane+:} false
; then :
11917 $as_echo_n "(cached) " >&6
11919 ac_check_soname_save_LIBS
=$LIBS
11920 LIBS
="-lsane $SANE_LIBS $LIBS"
11921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11922 /* end confdefs.h. */
11924 /* Override any GCC internal prototype to avoid an error.
11925 Use char because int might match the return type of a GCC
11926 builtin and then its argument prototype would still apply. */
11934 return sane_init ();
11939 if ac_fn_c_try_link
"$LINENO"; then :
11941 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11942 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'` ;;
11943 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11944 if ${ac_cv_lib_soname_sane:+false} :; then :
11945 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11949 rm -f core conftest.err conftest.
$ac_objext \
11950 conftest
$ac_exeext conftest.
$ac_ext
11951 LIBS
=$ac_check_soname_save_LIBS
11953 if ${ac_cv_lib_soname_sane:+false} :; then :
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11955 $as_echo "not found" >&6; }
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11959 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11961 cat >>confdefs.h
<<_ACEOF
11962 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11972 CPPFLAGS
=$ac_save_CPPFLAGS
11973 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11974 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11977 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11978 case "x$with_sane" in
11979 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11981 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11982 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11987 if test "x$with_v4l" != "xno"
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11990 $as_echo_n "checking for -lv4l1... " >&6; }
11991 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11992 $as_echo_n "(cached) " >&6
11994 ac_check_soname_save_LIBS
=$LIBS
11995 LIBS
="-lv4l1 $LIBS"
11996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11997 /* end confdefs.h. */
11999 /* Override any GCC internal prototype to avoid an error.
12000 Use char because int might match the return type of a GCC
12001 builtin and then its argument prototype would still apply. */
12009 return v4l1_open ();
12014 if ac_fn_c_try_link
"$LINENO"; then :
12016 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12017 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'` ;;
12018 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12019 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12020 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12024 rm -f core conftest.err conftest.
$ac_objext \
12025 conftest
$ac_exeext conftest.
$ac_ext
12026 LIBS
=$ac_check_soname_save_LIBS
12028 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12030 $as_echo "not found" >&6; }
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12034 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12036 cat >>confdefs.h
<<_ACEOF
12037 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12043 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12044 case "x$with_v4l" in
12045 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
12047 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
12048 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12053 if test "x$with_gphoto" != "xno"
12055 if ${GPHOTO2_CFLAGS:+false} :; then :
12056 if ${PKG_CONFIG+:} false
; then :
12057 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12060 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12061 if ${GPHOTO2_LIBS:+false} :; then :
12062 if ${PKG_CONFIG+:} false
; then :
12063 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12066 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12067 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
12068 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12069 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12070 ac_save_CPPFLAGS
=$CPPFLAGS
12071 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
12072 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12073 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12075 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12076 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
12077 $as_echo_n "(cached) " >&6
12079 ac_check_lib_save_LIBS
=$LIBS
12080 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12082 /* end confdefs.h. */
12084 /* Override any GCC internal prototype to avoid an error.
12085 Use char because int might match the return type of a GCC
12086 builtin and then its argument prototype would still apply. */
12090 char gp_camera_new ();
12094 return gp_camera_new ();
12099 if ac_fn_c_try_link
"$LINENO"; then :
12100 ac_cv_lib_gphoto2_gp_camera_new
=yes
12102 ac_cv_lib_gphoto2_gp_camera_new
=no
12104 rm -f core conftest.err conftest.
$ac_objext \
12105 conftest
$ac_exeext conftest.
$ac_ext
12106 LIBS
=$ac_check_lib_save_LIBS
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12109 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12110 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12112 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12115 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12119 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12123 CPPFLAGS
=$ac_save_CPPFLAGS
12124 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12125 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12127 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12128 if ${PKG_CONFIG+:} false
; then :
12129 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12132 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12133 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12134 if ${PKG_CONFIG+:} false
; then :
12135 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12138 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12139 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12140 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12141 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12142 ac_save_CPPFLAGS
=$CPPFLAGS
12143 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12144 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12145 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12147 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12148 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12149 $as_echo_n "(cached) " >&6
12151 ac_check_lib_save_LIBS
=$LIBS
12152 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12154 /* end confdefs.h. */
12156 /* Override any GCC internal prototype to avoid an error.
12157 Use char because int might match the return type of a GCC
12158 builtin and then its argument prototype would still apply. */
12162 char gp_port_info_list_new ();
12166 return gp_port_info_list_new ();
12171 if ac_fn_c_try_link
"$LINENO"; then :
12172 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12174 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12176 rm -f core conftest.err conftest.
$ac_objext \
12177 conftest
$ac_exeext conftest.
$ac_ext
12178 LIBS
=$ac_check_lib_save_LIBS
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12181 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12182 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12184 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12187 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12191 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12195 CPPFLAGS
=$ac_save_CPPFLAGS
12196 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12197 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12200 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12201 case "x$with_gphoto" in
12202 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12204 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12205 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12209 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12210 case "x$with_gphoto" in
12211 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12213 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12214 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12220 if test "$ac_cv_header_resolv_h" = "yes"
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12223 $as_echo_n "checking for resolver library... " >&6; }
12224 if ${ac_cv_have_resolv+:} false
; then :
12225 $as_echo_n "(cached) " >&6
12227 ac_save_LIBS
="$LIBS"
12228 for lib
in '' -lresolv
12230 LIBS
="$lib $ac_save_LIBS"
12231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12232 /* end confdefs.h. */
12233 #ifdef HAVE_NETINET_IN_H
12234 #include <netinet/in.h>
12236 #include <resolv.h>
12240 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12245 if ac_fn_c_try_link
"$LINENO"; then :
12246 ac_cv_have_resolv
=${lib:-"none required"}
12248 ac_cv_have_resolv
="not found"
12250 rm -f core conftest.err conftest.
$ac_objext \
12251 conftest
$ac_exeext conftest.
$ac_ext
12252 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12254 LIBS
="$ac_save_LIBS"
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12257 $as_echo "$ac_cv_have_resolv" >&6; }
12259 case "$ac_cv_have_resolv" in
12263 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12266 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12268 RESOLV_LIBS
=$ac_cv_have_resolv
12273 if test "x$with_cms" != "xno"
12275 if ${LCMS2_CFLAGS:+false} :; then :
12276 if ${PKG_CONFIG+:} false
; then :
12277 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12281 if ${LCMS2_LIBS:+false} :; then :
12282 if ${PKG_CONFIG+:} false
; then :
12283 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12287 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12288 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12289 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12290 ac_save_CPPFLAGS
=$CPPFLAGS
12291 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12292 for ac_header
in lcms2.h
12294 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12295 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12296 cat >>confdefs.h
<<_ACEOF
12297 #define HAVE_LCMS2_H 1
12304 if test "$ac_cv_header_lcms2_h" = "yes"
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12307 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12308 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12309 $as_echo_n "(cached) " >&6
12311 ac_check_lib_save_LIBS
=$LIBS
12312 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12314 /* end confdefs.h. */
12316 /* Override any GCC internal prototype to avoid an error.
12317 Use char because int might match the return type of a GCC
12318 builtin and then its argument prototype would still apply. */
12322 char cmsOpenProfileFromFile ();
12326 return cmsOpenProfileFromFile ();
12331 if ac_fn_c_try_link
"$LINENO"; then :
12332 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12334 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12336 rm -f core conftest.err conftest.
$ac_objext \
12337 conftest
$ac_exeext conftest.
$ac_ext
12338 LIBS
=$ac_check_lib_save_LIBS
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12341 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12342 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12344 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12354 CPPFLAGS
=$ac_save_CPPFLAGS
12355 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12356 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12359 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12360 case "x$with_cms" in
12361 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12363 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12364 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12369 if test "x$with_freetype" != "xno"
12371 if ${FREETYPE_CFLAGS:+false} :; then :
12372 if ${PKG_CONFIG+:} false
; then :
12373 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12376 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12377 if ${FREETYPE_LIBS:+false} :; then :
12378 if ${PKG_CONFIG+:} false
; then :
12379 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12382 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12383 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12384 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12385 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12386 ac_save_CPPFLAGS
=$CPPFLAGS
12387 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12388 for ac_header
in ft2build.h
12390 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12391 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12392 cat >>confdefs.h
<<_ACEOF
12393 #define HAVE_FT2BUILD_H 1
12400 if test "$ac_cv_header_ft2build_h" = "yes"
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12403 $as_echo_n "checking for -lfreetype... " >&6; }
12404 if ${ac_cv_lib_soname_freetype+:} false
; then :
12405 $as_echo_n "(cached) " >&6
12407 ac_check_soname_save_LIBS
=$LIBS
12408 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12410 /* end confdefs.h. */
12412 /* Override any GCC internal prototype to avoid an error.
12413 Use char because int might match the return type of a GCC
12414 builtin and then its argument prototype would still apply. */
12418 char FT_Init_FreeType ();
12422 return FT_Init_FreeType ();
12427 if ac_fn_c_try_link
"$LINENO"; then :
12429 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12430 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'` ;;
12431 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12432 if ${ac_cv_lib_soname_freetype:+false} :; then :
12433 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12437 rm -f core conftest.err conftest.
$ac_objext \
12438 conftest
$ac_exeext conftest.
$ac_ext
12439 LIBS
=$ac_check_soname_save_LIBS
12441 if ${ac_cv_lib_soname_freetype:+false} :; then :
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12443 $as_echo "not found" >&6; }
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12447 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12449 cat >>confdefs.h
<<_ACEOF
12450 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12454 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12456 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12457 #include FT_MODULE_H
12459 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12461 cat >>confdefs.h
<<_ACEOF
12462 #define HAVE_FT_TRUETYPEENGINETYPE 1
12473 CPPFLAGS
=$ac_save_CPPFLAGS
12474 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12475 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12478 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12479 case "x$with_freetype" in
12481 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12482 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12484 enable_fonts
=${enable_fonts:-no}
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12488 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12489 if ${ac_cv_c_ppdev+:} false
; then :
12490 $as_echo_n "(cached) " >&6
12492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12493 /* end confdefs.h. */
12494 #ifdef HAVE_SYS_IOCTL_H
12495 # include <sys/ioctl.h>
12497 #include <linux/ppdev.h>
12501 ioctl (1,PPCLAIM,0)
12506 if ac_fn_c_try_compile
"$LINENO"; then :
12507 ac_cv_c_ppdev
="yes"
12511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12514 $as_echo "$ac_cv_c_ppdev" >&6; }
12515 if test "$ac_cv_c_ppdev" = "yes"
12518 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12522 ac_wine_check_funcs_save_LIBS
="$LIBS"
12523 LIBS
="$LIBS $PTHREAD_LIBS"
12525 pthread_attr_get_np \
12526 pthread_getattr_np \
12527 pthread_getthreadid_np \
12528 pthread_get_stackaddr_np \
12529 pthread_get_stacksize_np
12531 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12532 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12533 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12534 cat >>confdefs.h
<<_ACEOF
12535 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12541 LIBS
="$ac_wine_check_funcs_save_LIBS"
12543 if test "$ac_cv_header_zlib_h" = "yes"
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12546 $as_echo_n "checking for inflate in -lz... " >&6; }
12547 if ${ac_cv_lib_z_inflate+:} false
; then :
12548 $as_echo_n "(cached) " >&6
12550 ac_check_lib_save_LIBS
=$LIBS
12552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12553 /* end confdefs.h. */
12555 /* Override any GCC internal prototype to avoid an error.
12556 Use char because int might match the return type of a GCC
12557 builtin and then its argument prototype would still apply. */
12570 if ac_fn_c_try_link
"$LINENO"; then :
12571 ac_cv_lib_z_inflate
=yes
12573 ac_cv_lib_z_inflate
=no
12575 rm -f core conftest.err conftest.
$ac_objext \
12576 conftest
$ac_exeext conftest.
$ac_ext
12577 LIBS
=$ac_check_lib_save_LIBS
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12580 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12581 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12583 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12590 if test "x$Z_LIBS" = "x"; then :
12591 case "x$with_zlib" in
12592 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12594 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12595 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12600 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
12602 if test "$ac_cv_header_gettext_po_h" = "yes"
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12605 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12606 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12607 $as_echo_n "(cached) " >&6
12609 ac_check_lib_save_LIBS
=$LIBS
12610 LIBS
="-lgettextpo $LIBS"
12611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12614 /* Override any GCC internal prototype to avoid an error.
12615 Use char because int might match the return type of a GCC
12616 builtin and then its argument prototype would still apply. */
12620 char po_message_msgctxt ();
12624 return po_message_msgctxt ();
12629 if ac_fn_c_try_link
"$LINENO"; then :
12630 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12632 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12634 rm -f core conftest.err conftest.
$ac_objext \
12635 conftest
$ac_exeext conftest.
$ac_ext
12636 LIBS
=$ac_check_lib_save_LIBS
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12639 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12640 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12642 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12644 GETTEXTPO_LIBS
="-lgettextpo"
12649 if test "x$GETTEXTPO_LIBS" = "x"; then :
12650 case "x$with_gettextpo" in
12651 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12653 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12654 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12658 if test "$srcdir" != .
; then :
12659 case "x$with_gettextpo" in
12660 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
12662 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
12663 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12669 if test "x$with_pulse" != "xno";
12671 if ${PULSE_CFLAGS:+false} :; then :
12672 if ${PKG_CONFIG+:} false
; then :
12673 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12677 if ${PULSE_LIBS:+false} :; then :
12678 if ${PKG_CONFIG+:} false
; then :
12679 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12684 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12685 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12686 ac_save_CPPFLAGS
=$CPPFLAGS
12687 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12688 for ac_header
in pulse
/pulseaudio.h
12690 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12691 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12692 cat >>confdefs.h
<<_ACEOF
12693 #define HAVE_PULSE_PULSEAUDIO_H 1
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12696 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12697 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12698 $as_echo_n "(cached) " >&6
12700 ac_check_lib_save_LIBS
=$LIBS
12701 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12703 /* end confdefs.h. */
12705 /* Override any GCC internal prototype to avoid an error.
12706 Use char because int might match the return type of a GCC
12707 builtin and then its argument prototype would still apply. */
12711 char pa_stream_is_corked ();
12715 return pa_stream_is_corked ();
12720 if ac_fn_c_try_link
"$LINENO"; then :
12721 ac_cv_lib_pulse_pa_stream_is_corked
=yes
12723 ac_cv_lib_pulse_pa_stream_is_corked
=no
12725 rm -f core conftest.err conftest.
$ac_objext \
12726 conftest
$ac_exeext conftest.
$ac_ext
12727 LIBS
=$ac_check_lib_save_LIBS
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12730 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12731 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
12743 CPPFLAGS
=$ac_save_CPPFLAGS
12744 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12745 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12748 if test -z "$PULSE_LIBS"; then :
12749 case "x$with_pulse" in
12750 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12752 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12753 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12755 enable_winepulse_drv
=${enable_winepulse_drv:-no}
12758 if test "x$with_gstreamer" != "xno"
12760 if ${GSTREAMER_CFLAGS:+false} :; then :
12761 if ${PKG_CONFIG+:} false
; then :
12762 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12766 if ${GSTREAMER_LIBS:+false} :; then :
12767 if ${PKG_CONFIG+:} false
; then :
12768 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12773 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12774 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12775 ac_save_CPPFLAGS
=$CPPFLAGS
12776 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12778 for i
in $GSTREAMER_CFLAGS
12781 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12784 GSTREAMER_CFLAGS
=$ac_gst_incl
12785 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12786 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12787 if test "x$ac_cv_header_gst_gst_h" = xyes
; then :
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12789 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12791 /* end confdefs.h. */
12792 #include <gst/gst.h>
12796 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12801 if ac_fn_c_try_compile
"$LINENO"; then :
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12803 $as_echo "yes" >&6; }
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12805 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12806 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false
; then :
12807 $as_echo_n "(cached) " >&6
12809 ac_check_lib_save_LIBS
=$LIBS
12810 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12812 /* end confdefs.h. */
12814 /* Override any GCC internal prototype to avoid an error.
12815 Use char because int might match the return type of a GCC
12816 builtin and then its argument prototype would still apply. */
12820 char gst_pad_new ();
12824 return gst_pad_new ();
12829 if ac_fn_c_try_link
"$LINENO"; then :
12830 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
12832 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
12834 rm -f core conftest.err conftest.
$ac_objext \
12835 conftest
$ac_exeext conftest.
$ac_ext
12836 LIBS
=$ac_check_lib_save_LIBS
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12839 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12840 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
; then :
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12846 $as_echo "no" >&6; }
12847 ac_glib2_broken
=yes
12848 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12854 CPPFLAGS
=$ac_save_CPPFLAGS
12855 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12856 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12859 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 :
12860 case "x$with_gstreamer" in
12861 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12863 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12864 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12868 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12872 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12875 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12876 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12877 $as_echo_n "(cached) " >&6
12879 ac_check_lib_save_LIBS
=$LIBS
12880 LIBS
="-lasound $LIBS"
12881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12882 /* end confdefs.h. */
12884 /* Override any GCC internal prototype to avoid an error.
12885 Use char because int might match the return type of a GCC
12886 builtin and then its argument prototype would still apply. */
12890 char snd_pcm_hw_params_get_access_mask ();
12894 return snd_pcm_hw_params_get_access_mask ();
12899 if ac_fn_c_try_link
"$LINENO"; then :
12900 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12902 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12904 rm -f core conftest.err conftest.
$ac_objext \
12905 conftest
$ac_exeext conftest.
$ac_ext
12906 LIBS
=$ac_check_lib_save_LIBS
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12909 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12910 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12912 /* end confdefs.h. */
12913 #ifdef HAVE_ALSA_ASOUNDLIB_H
12914 #include <alsa/asoundlib.h>
12915 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12916 #include <sys/asoundlib.h>
12921 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12926 if ac_fn_c_try_compile
"$LINENO"; then :
12927 ALSA_LIBS
="-lasound"
12929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12933 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12935 if test "x$with_oss" != xno
12937 ac_save_CPPFLAGS
="$CPPFLAGS"
12938 if test -f /etc
/oss.conf
12942 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12943 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12944 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12945 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12946 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12948 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12950 cat >>confdefs.h
<<_ACEOF
12951 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12954 OSS4_CFLAGS
="$ac_oss_incl"
12961 CPPFLAGS
="$ac_save_CPPFLAGS"
12963 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
; then :
12964 case "x$with_oss" in
12965 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12967 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12968 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12970 enable_wineoss_drv
=${enable_wineoss_drv:-no}
12973 if test "x$with_udev" != "xno"
12975 if ${UDEV_CFLAGS:+false} :; then :
12976 if ${PKG_CONFIG+:} false
; then :
12977 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12981 if ${UDEV_LIBS:+false} :; then :
12982 if ${PKG_CONFIG+:} false
; then :
12983 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
12988 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12989 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12990 ac_save_CPPFLAGS
=$CPPFLAGS
12991 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
12992 for ac_header
in libudev.h
12994 ac_fn_c_check_header_mongrel
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12995 if test "x$ac_cv_header_libudev_h" = xyes
; then :
12996 cat >>confdefs.h
<<_ACEOF
12997 #define HAVE_LIBUDEV_H 1
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13000 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13001 if ${ac_cv_lib_udev_udev_new+:} false
; then :
13002 $as_echo_n "(cached) " >&6
13004 ac_check_lib_save_LIBS
=$LIBS
13005 LIBS
="-ludev $UDEV_LIBS $LIBS"
13006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13007 /* end confdefs.h. */
13009 /* Override any GCC internal prototype to avoid an error.
13010 Use char because int might match the return type of a GCC
13011 builtin and then its argument prototype would still apply. */
13019 return udev_new ();
13024 if ac_fn_c_try_link
"$LINENO"; then :
13025 ac_cv_lib_udev_udev_new
=yes
13027 ac_cv_lib_udev_udev_new
=no
13029 rm -f core conftest.err conftest.
$ac_objext \
13030 conftest
$ac_exeext conftest.
$ac_ext
13031 LIBS
=$ac_check_lib_save_LIBS
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13034 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13035 if test "x$ac_cv_lib_udev_udev_new" = xyes
; then :
13037 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13049 CPPFLAGS
=$ac_save_CPPFLAGS
13050 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS
=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13051 test -z "$UDEV_LIBS" || UDEV_LIBS
=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13054 if test "x$UDEV_LIBS" = "x"; then :
13055 case "x$with_udev" in
13056 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13058 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
13059 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13064 if test "x$with_capi" != "xno"
13066 if ${CAPI20_CFLAGS:+false} :; then :
13067 if ${PKG_CONFIG+:} false
; then :
13068 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13072 if ${CAPI20_LIBS:+false} :; then :
13073 if ${PKG_CONFIG+:} false
; then :
13074 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
13079 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13080 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13081 ac_save_CPPFLAGS
=$CPPFLAGS
13082 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
13083 for ac_header
in capi20.h linux
/capi.h
13085 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13086 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13088 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13089 cat >>confdefs.h
<<_ACEOF
13090 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13097 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13100 $as_echo_n "checking for -lcapi20... " >&6; }
13101 if ${ac_cv_lib_soname_capi20+:} false
; then :
13102 $as_echo_n "(cached) " >&6
13104 ac_check_soname_save_LIBS
=$LIBS
13105 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
13106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13107 /* end confdefs.h. */
13109 /* Override any GCC internal prototype to avoid an error.
13110 Use char because int might match the return type of a GCC
13111 builtin and then its argument prototype would still apply. */
13115 char capi20_register ();
13119 return capi20_register ();
13124 if ac_fn_c_try_link
"$LINENO"; then :
13126 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13127 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'` ;;
13128 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13129 if ${ac_cv_lib_soname_capi20:+false} :; then :
13130 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13134 rm -f core conftest.err conftest.
$ac_objext \
13135 conftest
$ac_exeext conftest.
$ac_ext
13136 LIBS
=$ac_check_soname_save_LIBS
13138 if ${ac_cv_lib_soname_capi20:+false} :; then :
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13140 $as_echo "not found" >&6; }
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13144 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13146 cat >>confdefs.h
<<_ACEOF
13147 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13153 CPPFLAGS
=$ac_save_CPPFLAGS
13154 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13155 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13158 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13159 case "x$with_capi" in
13160 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13162 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13163 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13170 if test "x$with_cups" != "xno"
13172 ac_save_CPPFLAGS
="$CPPFLAGS"
13173 ac_cups_cflags
=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13174 ac_cups_libs
=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13175 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
13176 for ac_header
in cups
/cups.h
13178 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13179 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
13180 cat >>confdefs.h
<<_ACEOF
13181 #define HAVE_CUPS_CUPS_H 1
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13184 $as_echo_n "checking for -lcups... " >&6; }
13185 if ${ac_cv_lib_soname_cups+:} false
; then :
13186 $as_echo_n "(cached) " >&6
13188 ac_check_soname_save_LIBS
=$LIBS
13189 LIBS
="-lcups $ac_cups_libs $LIBS"
13190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13191 /* end confdefs.h. */
13193 /* Override any GCC internal prototype to avoid an error.
13194 Use char because int might match the return type of a GCC
13195 builtin and then its argument prototype would still apply. */
13199 char cupsGetDefault ();
13203 return cupsGetDefault ();
13208 if ac_fn_c_try_link
"$LINENO"; then :
13210 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13211 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'` ;;
13212 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13213 if ${ac_cv_lib_soname_cups:+false} :; then :
13214 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13218 rm -f core conftest.err conftest.
$ac_objext \
13219 conftest
$ac_exeext conftest.
$ac_ext
13220 LIBS
=$ac_check_soname_save_LIBS
13222 if ${ac_cv_lib_soname_cups:+false} :; then :
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13224 $as_echo "not found" >&6; }
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13228 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13230 cat >>confdefs.h
<<_ACEOF
13231 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13234 CUPS_CFLAGS
="$ac_cups_cflags"
13236 for ac_header
in cups
/ppd.h
13238 ac_fn_c_check_header_mongrel
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13239 if test "x$ac_cv_header_cups_ppd_h" = xyes
; then :
13240 cat >>confdefs.h
<<_ACEOF
13241 #define HAVE_CUPS_PPD_H 1
13252 CPPFLAGS
="$ac_save_CPPFLAGS"
13254 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13255 case "x$with_cups" in
13256 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13258 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13259 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13264 if test "x$with_fontconfig" != "xno"
13266 if ${FONTCONFIG_CFLAGS:+false} :; then :
13267 if ${PKG_CONFIG+:} false
; then :
13268 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13271 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13272 if ${FONTCONFIG_LIBS:+false} :; then :
13273 if ${PKG_CONFIG+:} false
; then :
13274 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13277 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13279 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13280 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13281 ac_save_CPPFLAGS
=$CPPFLAGS
13282 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13283 for ac_header
in fontconfig
/fontconfig.h
13285 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13286 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13287 cat >>confdefs.h
<<_ACEOF
13288 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13295 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13298 $as_echo_n "checking for -lfontconfig... " >&6; }
13299 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13300 $as_echo_n "(cached) " >&6
13302 ac_check_soname_save_LIBS
=$LIBS
13303 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13305 /* end confdefs.h. */
13307 /* Override any GCC internal prototype to avoid an error.
13308 Use char because int might match the return type of a GCC
13309 builtin and then its argument prototype would still apply. */
13322 if ac_fn_c_try_link
"$LINENO"; then :
13324 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13325 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'` ;;
13326 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13327 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13328 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13332 rm -f core conftest.err conftest.
$ac_objext \
13333 conftest
$ac_exeext conftest.
$ac_ext
13334 LIBS
=$ac_check_soname_save_LIBS
13336 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13338 $as_echo "not found" >&6; }
13339 FONTCONFIG_CFLAGS
=""
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13342 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13344 cat >>confdefs.h
<<_ACEOF
13345 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13351 FONTCONFIG_CFLAGS
=""
13353 CPPFLAGS
=$ac_save_CPPFLAGS
13354 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13355 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13358 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13359 case "x$with_fontconfig" in
13360 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13362 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13363 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13368 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13371 $as_echo_n "checking for -lgsm... " >&6; }
13372 if ${ac_cv_lib_soname_gsm+:} false
; then :
13373 $as_echo_n "(cached) " >&6
13375 ac_check_soname_save_LIBS
=$LIBS
13377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13378 /* end confdefs.h. */
13380 /* Override any GCC internal prototype to avoid an error.
13381 Use char because int might match the return type of a GCC
13382 builtin and then its argument prototype would still apply. */
13386 char gsm_create ();
13390 return gsm_create ();
13395 if ac_fn_c_try_link
"$LINENO"; then :
13397 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13398 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'` ;;
13399 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13400 if ${ac_cv_lib_soname_gsm:+false} :; then :
13401 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13405 rm -f core conftest.err conftest.
$ac_objext \
13406 conftest
$ac_exeext conftest.
$ac_ext
13407 LIBS
=$ac_check_soname_save_LIBS
13409 if ${ac_cv_lib_soname_gsm:+false} :; then :
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13411 $as_echo "not found" >&6; }
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13415 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13417 cat >>confdefs.h
<<_ACEOF
13418 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13424 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13425 case "x$with_gsm" in
13426 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13428 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13429 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13434 if test "x$with_jpeg" != "xno"
13436 if ${JPEG_CFLAGS:+false} :; then :
13437 if ${PKG_CONFIG+:} false
; then :
13438 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13442 if ${JPEG_LIBS:+false} :; then :
13443 if ${PKG_CONFIG+:} false
; then :
13444 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13449 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13450 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13451 ac_save_CPPFLAGS
=$CPPFLAGS
13452 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13453 for ac_header
in jpeglib.h
13455 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13456 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13457 cat >>confdefs.h
<<_ACEOF
13458 #define HAVE_JPEGLIB_H 1
13465 if test "$ac_cv_header_jpeglib_h" = "yes"
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13468 $as_echo_n "checking for -ljpeg... " >&6; }
13469 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13470 $as_echo_n "(cached) " >&6
13472 ac_check_soname_save_LIBS
=$LIBS
13473 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13475 /* end confdefs.h. */
13477 /* Override any GCC internal prototype to avoid an error.
13478 Use char because int might match the return type of a GCC
13479 builtin and then its argument prototype would still apply. */
13483 char jpeg_start_decompress ();
13487 return jpeg_start_decompress ();
13492 if ac_fn_c_try_link
"$LINENO"; then :
13494 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13495 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'` ;;
13496 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13497 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13498 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13502 rm -f core conftest.err conftest.
$ac_objext \
13503 conftest
$ac_exeext conftest.
$ac_ext
13504 LIBS
=$ac_check_soname_save_LIBS
13506 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13508 $as_echo "not found" >&6; }
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13512 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13514 cat >>confdefs.h
<<_ACEOF
13515 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13523 CPPFLAGS
=$ac_save_CPPFLAGS
13524 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13525 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13528 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13529 case "x$with_jpeg" in
13530 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13532 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13533 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13538 if test "x$with_png" != "xno"
13540 if ${PNG_CFLAGS:+false} :; then :
13541 if ${PKG_CONFIG+:} false
; then :
13542 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13545 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13546 if ${PNG_LIBS:+false} :; then :
13547 if ${PKG_CONFIG+:} false
; then :
13548 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13551 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13553 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13554 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13555 ac_save_CPPFLAGS
=$CPPFLAGS
13556 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13557 for ac_header
in png.h
13559 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13560 if test "x$ac_cv_header_png_h" = xyes
; then :
13561 cat >>confdefs.h
<<_ACEOF
13562 #define HAVE_PNG_H 1
13569 if test "$ac_cv_header_png_h" = "yes"
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13572 $as_echo_n "checking for -lpng... " >&6; }
13573 if ${ac_cv_lib_soname_png+:} false
; then :
13574 $as_echo_n "(cached) " >&6
13576 ac_check_soname_save_LIBS
=$LIBS
13577 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13579 /* end confdefs.h. */
13581 /* Override any GCC internal prototype to avoid an error.
13582 Use char because int might match the return type of a GCC
13583 builtin and then its argument prototype would still apply. */
13587 char png_create_read_struct ();
13591 return png_create_read_struct ();
13596 if ac_fn_c_try_link
"$LINENO"; then :
13598 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13599 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'` ;;
13600 *) 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'`
13601 if ${ac_cv_lib_soname_png:+false} :; then :
13602 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13606 rm -f core conftest.err conftest.
$ac_objext \
13607 conftest
$ac_exeext conftest.
$ac_ext
13608 LIBS
=$ac_check_soname_save_LIBS
13610 if ${ac_cv_lib_soname_png:+false} :; then :
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13612 $as_echo "not found" >&6; }
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13616 $as_echo "$ac_cv_lib_soname_png" >&6; }
13618 cat >>confdefs.h
<<_ACEOF
13619 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13623 /* end confdefs.h. */
13628 typeof(png_set_expand_gray_1_2_4_to_8) *p
13633 if ac_fn_c_try_compile
"$LINENO"; then :
13635 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13643 CPPFLAGS
=$ac_save_CPPFLAGS
13644 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13645 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13648 if test "x$ac_cv_lib_soname_png" = "x"; then :
13649 case "x$with_png" in
13650 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13652 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13653 This is an error since --with-png was requested." "$LINENO" 5 ;;
13658 if test "x$with_tiff" != "xno"
13660 if ${TIFF_CFLAGS:+false} :; then :
13661 if ${PKG_CONFIG+:} false
; then :
13662 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13666 if ${TIFF_LIBS:+false} :; then :
13667 if ${PKG_CONFIG+:} false
; then :
13668 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13673 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13674 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13675 ac_save_CPPFLAGS
=$CPPFLAGS
13676 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13677 for ac_header
in tiffio.h
13679 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13680 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13681 cat >>confdefs.h
<<_ACEOF
13682 #define HAVE_TIFFIO_H 1
13689 if test "$ac_cv_header_tiffio_h" = "yes"
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13692 $as_echo_n "checking for -ltiff... " >&6; }
13693 if ${ac_cv_lib_soname_tiff+:} false
; then :
13694 $as_echo_n "(cached) " >&6
13696 ac_check_soname_save_LIBS
=$LIBS
13697 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13699 /* end confdefs.h. */
13701 /* Override any GCC internal prototype to avoid an error.
13702 Use char because int might match the return type of a GCC
13703 builtin and then its argument prototype would still apply. */
13707 char TIFFClientOpen ();
13711 return TIFFClientOpen ();
13716 if ac_fn_c_try_link
"$LINENO"; then :
13718 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13719 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'` ;;
13720 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13721 if ${ac_cv_lib_soname_tiff:+false} :; then :
13722 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13726 rm -f core conftest.err conftest.
$ac_objext \
13727 conftest
$ac_exeext conftest.
$ac_ext
13728 LIBS
=$ac_check_soname_save_LIBS
13730 if ${ac_cv_lib_soname_tiff:+false} :; then :
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13732 $as_echo "not found" >&6; }
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13736 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13738 cat >>confdefs.h
<<_ACEOF
13739 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13745 CPPFLAGS
=$ac_save_CPPFLAGS
13746 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13747 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13750 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13751 case "x$with_tiff" in
13752 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13754 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13755 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13760 if test "x$with_mpg123" != "xno"
13762 if ${MPG123_CFLAGS:+false} :; then :
13763 if ${PKG_CONFIG+:} false
; then :
13764 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13768 if ${MPG123_LIBS:+false} :; then :
13769 if ${PKG_CONFIG+:} false
; then :
13770 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13774 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13775 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13776 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13777 ac_save_CPPFLAGS
=$CPPFLAGS
13778 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13779 for ac_header
in mpg123.h
13781 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13782 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13783 cat >>confdefs.h
<<_ACEOF
13784 #define HAVE_MPG123_H 1
13791 if test "$ac_cv_header_mpg123_h" = "yes"
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13794 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13795 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13796 $as_echo_n "(cached) " >&6
13798 ac_check_lib_save_LIBS
=$LIBS
13799 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13801 /* end confdefs.h. */
13803 /* Override any GCC internal prototype to avoid an error.
13804 Use char because int might match the return type of a GCC
13805 builtin and then its argument prototype would still apply. */
13809 char mpg123_feed ();
13813 return mpg123_feed ();
13818 if ac_fn_c_try_link
"$LINENO"; then :
13819 ac_cv_lib_mpg123_mpg123_feed
=yes
13821 ac_cv_lib_mpg123_mpg123_feed
=no
13823 rm -f core conftest.err conftest.
$ac_objext \
13824 conftest
$ac_exeext conftest.
$ac_ext
13825 LIBS
=$ac_check_lib_save_LIBS
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13828 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13829 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13839 CPPFLAGS
=$ac_save_CPPFLAGS
13840 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13841 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13844 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13845 case "x$with_mpg123" in
13846 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13848 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13849 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13851 enable_winemp3_acm
=${enable_winemp3_acm:-no}
13854 if test "$ac_cv_header_AL_al_h" = "yes"
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13857 $as_echo_n "checking for -lopenal... " >&6; }
13858 if ${ac_cv_lib_soname_openal+:} false
; then :
13859 $as_echo_n "(cached) " >&6
13861 ac_check_soname_save_LIBS
=$LIBS
13862 LIBS
="-lopenal $LIBS"
13863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13864 /* end confdefs.h. */
13866 /* Override any GCC internal prototype to avoid an error.
13867 Use char because int might match the return type of a GCC
13868 builtin and then its argument prototype would still apply. */
13872 char alGetSource3i ();
13876 return alGetSource3i ();
13881 if ac_fn_c_try_link
"$LINENO"; then :
13883 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13884 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'` ;;
13885 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13886 if ${ac_cv_lib_soname_openal:+false} :; then :
13887 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13891 rm -f core conftest.err conftest.
$ac_objext \
13892 conftest
$ac_exeext conftest.
$ac_ext
13893 LIBS
=$ac_check_soname_save_LIBS
13895 if ${ac_cv_lib_soname_openal:+false} :; then :
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13897 $as_echo "not found" >&6; }
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13901 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13903 cat >>confdefs.h
<<_ACEOF
13904 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13907 OPENAL_LIBS
="-lopenal"
13909 ac_cv_lib_openal
=yes
13911 cat >>confdefs.h
<<_ACEOF
13912 #define HAVE_OPENAL 1
13917 if test "x$ac_cv_lib_openal" != xyes
; then :
13918 case "x$with_openal" in
13919 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13921 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13922 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13924 enable_openal32
=${enable_openal32:-no}
13927 if test "x$ac_cv_lib_openal" = xyes
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13930 $as_echo_n "checking for openal-soft... " >&6; }
13931 if ${ac_cv_have_openalsoft+:} false
; then :
13932 $as_echo_n "(cached) " >&6
13934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13935 /* end confdefs.h. */
13937 #include <AL/alc.h>
13938 #include <AL/alext.h>
13939 LPALCRENDERSAMPLESSOFT x;
13948 if ac_fn_c_try_compile
"$LINENO"; then :
13949 ac_cv_have_openalsoft
=yes
13951 ac_cv_have_openalsoft
=no
13953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13956 $as_echo "$ac_cv_have_openalsoft" >&6; }
13958 if test "x$ac_cv_have_openalsoft" != xyes
13960 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13961 enable_x3daudio1_0
=${enable_x3daudio1_0:-no}
13962 enable_x3daudio1_1
=${enable_x3daudio1_1:-no}
13963 enable_x3daudio1_2
=${enable_x3daudio1_2:-no}
13964 enable_x3daudio1_3
=${enable_x3daudio1_3:-no}
13965 enable_x3daudio1_4
=${enable_x3daudio1_4:-no}
13966 enable_x3daudio1_5
=${enable_x3daudio1_5:-no}
13967 enable_x3daudio1_6
=${enable_x3daudio1_6:-no}
13968 enable_x3daudio1_7
=${enable_x3daudio1_7:-no}
13969 enable_xapofx1_1
=${enable_xapofx1_1:-no}
13970 enable_xapofx1_2
=${enable_xapofx1_2:-no}
13971 enable_xapofx1_3
=${enable_xapofx1_3:-no}
13972 enable_xapofx1_4
=${enable_xapofx1_4:-no}
13973 enable_xapofx1_5
=${enable_xapofx1_5:-no}
13974 enable_xaudio2_0
=${enable_xaudio2_0:-no}
13975 enable_xaudio2_1
=${enable_xaudio2_1:-no}
13976 enable_xaudio2_2
=${enable_xaudio2_2:-no}
13977 enable_xaudio2_3
=${enable_xaudio2_3:-no}
13978 enable_xaudio2_4
=${enable_xaudio2_4:-no}
13979 enable_xaudio2_5
=${enable_xaudio2_5:-no}
13980 enable_xaudio2_6
=${enable_xaudio2_6:-no}
13981 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13982 enable_xaudio2_8
=${enable_xaudio2_8:-no}
13983 enable_xaudio2_9
=${enable_xaudio2_9:-no}
13986 if test "$ac_cv_header_kstat_h" = "yes"
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13989 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13990 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13991 $as_echo_n "(cached) " >&6
13993 ac_check_lib_save_LIBS
=$LIBS
13994 LIBS
="-lkstat $LIBS"
13995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13996 /* end confdefs.h. */
13998 /* Override any GCC internal prototype to avoid an error.
13999 Use char because int might match the return type of a GCC
14000 builtin and then its argument prototype would still apply. */
14004 char kstat_open ();
14008 return kstat_open ();
14013 if ac_fn_c_try_link
"$LINENO"; then :
14014 ac_cv_lib_kstat_kstat_open
=yes
14016 ac_cv_lib_kstat_kstat_open
=no
14018 rm -f core conftest.err conftest.
$ac_objext \
14019 conftest
$ac_exeext conftest.
$ac_ext
14020 LIBS
=$ac_check_lib_save_LIBS
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14023 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14024 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
14026 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14028 KSTAT_LIBS
="-lkstat"
14034 if test "$ac_cv_header_libprocstat_h" = "yes"
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14037 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14038 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
14039 $as_echo_n "(cached) " >&6
14041 ac_check_lib_save_LIBS
=$LIBS
14042 LIBS
="-lprocstat $LIBS"
14043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14044 /* end confdefs.h. */
14046 /* Override any GCC internal prototype to avoid an error.
14047 Use char because int might match the return type of a GCC
14048 builtin and then its argument prototype would still apply. */
14052 char procstat_open_sysctl ();
14056 return procstat_open_sysctl ();
14061 if ac_fn_c_try_link
"$LINENO"; then :
14062 ac_cv_lib_procstat_procstat_open_sysctl
=yes
14064 ac_cv_lib_procstat_procstat_open_sysctl
=no
14066 rm -f core conftest.err conftest.
$ac_objext \
14067 conftest
$ac_exeext conftest.
$ac_ext
14068 LIBS
=$ac_check_lib_save_LIBS
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14071 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14072 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
14074 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14076 PROCSTAT_LIBS
="-lprocstat"
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14083 $as_echo_n "checking for -lodbc... " >&6; }
14084 if ${ac_cv_lib_soname_odbc+:} false
; then :
14085 $as_echo_n "(cached) " >&6
14087 ac_check_soname_save_LIBS
=$LIBS
14088 LIBS
="-lodbc $LIBS"
14089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14090 /* end confdefs.h. */
14092 /* Override any GCC internal prototype to avoid an error.
14093 Use char because int might match the return type of a GCC
14094 builtin and then its argument prototype would still apply. */
14098 char SQLConnect ();
14102 return SQLConnect ();
14107 if ac_fn_c_try_link
"$LINENO"; then :
14109 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14110 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'` ;;
14111 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14112 if ${ac_cv_lib_soname_odbc:+false} :; then :
14113 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14117 rm -f core conftest.err conftest.
$ac_objext \
14118 conftest
$ac_exeext conftest.
$ac_ext
14119 LIBS
=$ac_check_soname_save_LIBS
14121 if ${ac_cv_lib_soname_odbc:+false} :; then :
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14123 $as_echo "not found" >&6; }
14124 cat >>confdefs.h
<<_ACEOF
14125 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14130 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14132 cat >>confdefs.h
<<_ACEOF
14133 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14139 if test "x$with_netapi" != "xno"
14141 if ${NETAPI_CFLAGS:+false} :; then :
14142 if ${PKG_CONFIG+:} false
; then :
14143 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14147 if ${NETAPI_LIBS:+false} :; then :
14148 if ${PKG_CONFIG+:} false
; then :
14149 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
14154 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14155 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14156 ac_save_CPPFLAGS
=$CPPFLAGS
14157 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14159 $as_echo_n "checking for -lnetapi... " >&6; }
14160 if ${ac_cv_lib_soname_netapi+:} false
; then :
14161 $as_echo_n "(cached) " >&6
14163 ac_check_soname_save_LIBS
=$LIBS
14164 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
14165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14166 /* end confdefs.h. */
14168 /* Override any GCC internal prototype to avoid an error.
14169 Use char because int might match the return type of a GCC
14170 builtin and then its argument prototype would still apply. */
14174 char libnetapi_init ();
14178 return libnetapi_init ();
14183 if ac_fn_c_try_link
"$LINENO"; then :
14185 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14186 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'` ;;
14187 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14188 if ${ac_cv_lib_soname_netapi:+false} :; then :
14189 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14193 rm -f core conftest.err conftest.
$ac_objext \
14194 conftest
$ac_exeext conftest.
$ac_ext
14195 LIBS
=$ac_check_soname_save_LIBS
14197 if ${ac_cv_lib_soname_netapi:+false} :; then :
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14199 $as_echo "not found" >&6; }
14200 cat >>confdefs.h
<<_ACEOF
14201 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14206 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14208 cat >>confdefs.h
<<_ACEOF
14209 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14214 CPPFLAGS
=$ac_save_CPPFLAGS
14215 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS
=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14216 test -z "$NETAPI_LIBS" || NETAPI_LIBS
=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14220 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono
-a \
14221 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14223 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
14229 if test "x${GCC}" = "xyes"
14231 EXTRACFLAGS
="-Wall -pipe"
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14234 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14235 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
14236 $as_echo_n "(cached) " >&6
14238 if test "$cross_compiling" = yes; then :
14239 ac_cv_c_gcc_strength_bug
="no"
14241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14242 /* end confdefs.h. */
14243 int L[4] = {0,1,2,3};
14247 static int Array[3];
14248 unsigned int B = 3;
14250 for(i=0; i<B; i++) Array[i] = i - 3;
14251 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14253 return (Array[1] != -2 || L[2] != 3)
14258 if ac_fn_c_try_run
"$LINENO"; then :
14259 ac_cv_c_gcc_strength_bug
="no"
14261 ac_cv_c_gcc_strength_bug
="yes"
14263 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14264 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14269 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14270 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14272 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14276 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14277 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14278 $as_echo_n "(cached) " >&6
14280 ac_wine_try_cflags_saved
=$CFLAGS
14281 CFLAGS
="$CFLAGS -fno-builtin"
14282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14284 int main(int argc, char **argv) { return 0; }
14286 if ac_fn_c_try_link
"$LINENO"; then :
14287 ac_cv_cflags__fno_builtin
=yes
14289 ac_cv_cflags__fno_builtin
=no
14291 rm -f core conftest.err conftest.
$ac_objext \
14292 conftest
$ac_exeext conftest.
$ac_ext
14293 CFLAGS
=$ac_wine_try_cflags_saved
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14296 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14297 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14298 BUILTINFLAG
="-fno-builtin"
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14302 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14303 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14304 $as_echo_n "(cached) " >&6
14306 ac_wine_try_cflags_saved
=$CFLAGS
14307 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14310 int main(int argc, char **argv) { return 0; }
14312 if ac_fn_c_try_link
"$LINENO"; then :
14313 ac_cv_cflags__fno_strict_aliasing
=yes
14315 ac_cv_cflags__fno_strict_aliasing
=no
14317 rm -f core conftest.err conftest.
$ac_objext \
14318 conftest
$ac_exeext conftest.
$ac_ext
14319 CFLAGS
=$ac_wine_try_cflags_saved
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14322 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14323 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14324 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14327 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14328 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14329 $as_echo_n "(cached) " >&6
14331 ac_wine_try_cflags_saved
=$CFLAGS
14332 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14334 /* end confdefs.h. */
14335 int main(int argc, char **argv) { return 0; }
14337 if ac_fn_c_try_link
"$LINENO"; then :
14338 ac_cv_cflags__fexcess_precision_standard
=yes
14340 ac_cv_cflags__fexcess_precision_standard
=no
14342 rm -f core conftest.err conftest.
$ac_objext \
14343 conftest
$ac_exeext conftest.
$ac_ext
14344 CFLAGS
=$ac_wine_try_cflags_saved
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14347 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14348 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14349 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14352 saved_CFLAGS
=$CFLAGS
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14354 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14355 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14356 $as_echo_n "(cached) " >&6
14358 ac_wine_try_cflags_saved
=$CFLAGS
14359 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14362 int main(int argc, char **argv) { return 0; }
14364 if ac_fn_c_try_link
"$LINENO"; then :
14365 ac_cv_cflags__Werror_unknown_warning_option
=yes
14367 ac_cv_cflags__Werror_unknown_warning_option
=no
14369 rm -f core conftest.err conftest.
$ac_objext \
14370 conftest
$ac_exeext conftest.
$ac_ext
14371 CFLAGS
=$ac_wine_try_cflags_saved
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14374 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14375 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14376 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14379 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14380 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14381 $as_echo_n "(cached) " >&6
14383 ac_wine_try_cflags_saved
=$CFLAGS
14384 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14386 /* end confdefs.h. */
14387 int main(int argc, char **argv) { return 0; }
14389 if ac_fn_c_try_link
"$LINENO"; then :
14390 ac_cv_cflags__Wdeclaration_after_statement
=yes
14392 ac_cv_cflags__Wdeclaration_after_statement
=no
14394 rm -f core conftest.err conftest.
$ac_objext \
14395 conftest
$ac_exeext conftest.
$ac_ext
14396 CFLAGS
=$ac_wine_try_cflags_saved
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14399 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14400 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14401 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14404 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14405 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14406 $as_echo_n "(cached) " >&6
14408 ac_wine_try_cflags_saved
=$CFLAGS
14409 CFLAGS
="$CFLAGS -Wempty-body"
14410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14411 /* end confdefs.h. */
14412 int main(int argc, char **argv) { return 0; }
14414 if ac_fn_c_try_link
"$LINENO"; then :
14415 ac_cv_cflags__Wempty_body
=yes
14417 ac_cv_cflags__Wempty_body
=no
14419 rm -f core conftest.err conftest.
$ac_objext \
14420 conftest
$ac_exeext conftest.
$ac_ext
14421 CFLAGS
=$ac_wine_try_cflags_saved
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14424 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14425 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14426 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14429 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14430 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14431 $as_echo_n "(cached) " >&6
14433 ac_wine_try_cflags_saved
=$CFLAGS
14434 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14436 /* end confdefs.h. */
14437 int main(int argc, char **argv) { return 0; }
14439 if ac_fn_c_try_link
"$LINENO"; then :
14440 ac_cv_cflags__Wignored_qualifiers
=yes
14442 ac_cv_cflags__Wignored_qualifiers
=no
14444 rm -f core conftest.err conftest.
$ac_objext \
14445 conftest
$ac_exeext conftest.
$ac_ext
14446 CFLAGS
=$ac_wine_try_cflags_saved
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14449 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14450 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14451 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14454 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14455 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
14456 $as_echo_n "(cached) " >&6
14458 ac_wine_try_cflags_saved
=$CFLAGS
14459 CFLAGS
="$CFLAGS -Wshift-overflow=2"
14460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14461 /* end confdefs.h. */
14462 int main(int argc, char **argv) { return 0; }
14464 if ac_fn_c_try_link
"$LINENO"; then :
14465 ac_cv_cflags__Wshift_overflow_2
=yes
14467 ac_cv_cflags__Wshift_overflow_2
=no
14469 rm -f core conftest.err conftest.
$ac_objext \
14470 conftest
$ac_exeext conftest.
$ac_ext
14471 CFLAGS
=$ac_wine_try_cflags_saved
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14474 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14475 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
14476 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14479 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14480 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14481 $as_echo_n "(cached) " >&6
14483 ac_wine_try_cflags_saved
=$CFLAGS
14484 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14486 /* end confdefs.h. */
14487 int main(int argc, char **argv) { return 0; }
14489 if ac_fn_c_try_link
"$LINENO"; then :
14490 ac_cv_cflags__Wstrict_prototypes
=yes
14492 ac_cv_cflags__Wstrict_prototypes
=no
14494 rm -f core conftest.err conftest.
$ac_objext \
14495 conftest
$ac_exeext conftest.
$ac_ext
14496 CFLAGS
=$ac_wine_try_cflags_saved
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14499 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14500 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14501 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14504 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14505 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14506 $as_echo_n "(cached) " >&6
14508 ac_wine_try_cflags_saved
=$CFLAGS
14509 CFLAGS
="$CFLAGS -Wtype-limits"
14510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14511 /* end confdefs.h. */
14512 int main(int argc, char **argv) { return 0; }
14514 if ac_fn_c_try_link
"$LINENO"; then :
14515 ac_cv_cflags__Wtype_limits
=yes
14517 ac_cv_cflags__Wtype_limits
=no
14519 rm -f core conftest.err conftest.
$ac_objext \
14520 conftest
$ac_exeext conftest.
$ac_ext
14521 CFLAGS
=$ac_wine_try_cflags_saved
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14524 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14525 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14526 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14529 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14530 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14531 $as_echo_n "(cached) " >&6
14533 ac_wine_try_cflags_saved
=$CFLAGS
14534 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14536 /* end confdefs.h. */
14537 int main(int argc, char **argv) { return 0; }
14539 if ac_fn_c_try_link
"$LINENO"; then :
14540 ac_cv_cflags__Wunused_but_set_parameter
=yes
14542 ac_cv_cflags__Wunused_but_set_parameter
=no
14544 rm -f core conftest.err conftest.
$ac_objext \
14545 conftest
$ac_exeext conftest.
$ac_ext
14546 CFLAGS
=$ac_wine_try_cflags_saved
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14549 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14550 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14551 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14554 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14555 if ${ac_cv_cflags__Wvla+:} false
; then :
14556 $as_echo_n "(cached) " >&6
14558 ac_wine_try_cflags_saved
=$CFLAGS
14559 CFLAGS
="$CFLAGS -Wvla"
14560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14561 /* end confdefs.h. */
14562 int main(int argc, char **argv) { return 0; }
14564 if ac_fn_c_try_link
"$LINENO"; then :
14565 ac_cv_cflags__Wvla
=yes
14567 ac_cv_cflags__Wvla
=no
14569 rm -f core conftest.err conftest.
$ac_objext \
14570 conftest
$ac_exeext conftest.
$ac_ext
14571 CFLAGS
=$ac_wine_try_cflags_saved
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14574 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14575 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14576 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14579 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14580 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14581 $as_echo_n "(cached) " >&6
14583 ac_wine_try_cflags_saved
=$CFLAGS
14584 CFLAGS
="$CFLAGS -Wwrite-strings"
14585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14586 /* end confdefs.h. */
14587 int main(int argc, char **argv) { return 0; }
14589 if ac_fn_c_try_link
"$LINENO"; then :
14590 ac_cv_cflags__Wwrite_strings
=yes
14592 ac_cv_cflags__Wwrite_strings
=no
14594 rm -f core conftest.err conftest.
$ac_objext \
14595 conftest
$ac_exeext conftest.
$ac_ext
14596 CFLAGS
=$ac_wine_try_cflags_saved
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14599 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14600 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14601 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14605 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14606 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14607 $as_echo_n "(cached) " >&6
14609 ac_wine_try_cflags_saved
=$CFLAGS
14610 CFLAGS
="$CFLAGS -Wpointer-arith"
14611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14612 /* end confdefs.h. */
14613 int main(int argc, char **argv) { return 0; }
14615 if ac_fn_c_try_link
"$LINENO"; then :
14616 ac_cv_cflags__Wpointer_arith
=yes
14618 ac_cv_cflags__Wpointer_arith
=no
14620 rm -f core conftest.err conftest.
$ac_objext \
14621 conftest
$ac_exeext conftest.
$ac_ext
14622 CFLAGS
=$ac_wine_try_cflags_saved
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14625 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14626 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14627 saved_string_h_CFLAGS
=$CFLAGS
14628 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14630 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14631 if ${ac_cv_c_string_h_warnings+:} false
; then :
14632 $as_echo_n "(cached) " >&6
14634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14635 /* end confdefs.h. */
14636 #include <string.h>
14645 if ac_fn_c_try_compile
"$LINENO"; then :
14646 ac_cv_c_string_h_warnings
=no
14648 ac_cv_c_string_h_warnings
=yes
14650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14653 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14654 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14655 CFLAGS
=$saved_string_h_CFLAGS
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14659 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14660 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14661 $as_echo_n "(cached) " >&6
14663 ac_wine_try_cflags_saved
=$CFLAGS
14664 CFLAGS
="$CFLAGS -Wlogical-op"
14665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14666 /* end confdefs.h. */
14667 int main(int argc, char **argv) { return 0; }
14669 if ac_fn_c_try_link
"$LINENO"; then :
14670 ac_cv_cflags__Wlogical_op
=yes
14672 ac_cv_cflags__Wlogical_op
=no
14674 rm -f core conftest.err conftest.
$ac_objext \
14675 conftest
$ac_exeext conftest.
$ac_ext
14676 CFLAGS
=$ac_wine_try_cflags_saved
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14679 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14680 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14681 saved_string_h_CFLAGS
=$CFLAGS
14682 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14684 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14685 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14686 $as_echo_n "(cached) " >&6
14688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14689 /* end confdefs.h. */
14690 #include <string.h>
14691 char*f(const char *h,char n) {return strchr(h,n);}
14700 if ac_fn_c_try_compile
"$LINENO"; then :
14701 ac_cv_c_logicalop_noisy
=no
14703 ac_cv_c_logicalop_noisy
=yes
14705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14708 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14709 CFLAGS
=$saved_string_h_CFLAGS
14710 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14713 CFLAGS
=$saved_CFLAGS
14715 for ac_flag
in $CFLAGS; do
14717 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14718 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14719 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14720 $as_echo_n "(cached) " >&6
14722 ac_wine_try_cflags_saved
=$CFLAGS
14723 CFLAGS
="$CFLAGS -gdwarf-2"
14724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14725 /* end confdefs.h. */
14726 int main(int argc, char **argv) { return 0; }
14728 if ac_fn_c_try_link
"$LINENO"; then :
14729 ac_cv_cflags__gdwarf_2
=yes
14731 ac_cv_cflags__gdwarf_2
=no
14733 rm -f core conftest.err conftest.
$ac_objext \
14734 conftest
$ac_exeext conftest.
$ac_ext
14735 CFLAGS
=$ac_wine_try_cflags_saved
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14738 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14739 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14740 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14743 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14744 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14745 $as_echo_n "(cached) " >&6
14747 ac_wine_try_cflags_saved
=$CFLAGS
14748 CFLAGS
="$CFLAGS -gstrict-dwarf"
14749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14750 /* end confdefs.h. */
14751 int main(int argc, char **argv) { return 0; }
14753 if ac_fn_c_try_link
"$LINENO"; then :
14754 ac_cv_cflags__gstrict_dwarf
=yes
14756 ac_cv_cflags__gstrict_dwarf
=no
14758 rm -f core conftest.err conftest.
$ac_objext \
14759 conftest
$ac_exeext conftest.
$ac_ext
14760 CFLAGS
=$ac_wine_try_cflags_saved
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14763 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14764 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14765 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14771 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14772 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14773 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14774 $as_echo_n "(cached) " >&6
14776 ac_wine_try_cflags_saved
=$CFLAGS
14777 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14779 /* end confdefs.h. */
14780 int main(int argc, char **argv) { return 0; }
14782 if ac_fn_c_try_link
"$LINENO"; then :
14783 ac_cv_cflags__fno_omit_frame_pointer
=yes
14785 ac_cv_cflags__fno_omit_frame_pointer
=no
14787 rm -f core conftest.err conftest.
$ac_objext \
14788 conftest
$ac_exeext conftest.
$ac_ext
14789 CFLAGS
=$ac_wine_try_cflags_saved
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14792 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14793 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14794 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14799 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14800 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14801 if ${ac_cv_cflags__Wno_format+:} false
; then :
14802 $as_echo_n "(cached) " >&6
14804 ac_wine_try_cflags_saved
=$CFLAGS
14805 CFLAGS
="$CFLAGS -Wno-format"
14806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14807 /* end confdefs.h. */
14808 int main(int argc, char **argv) { return 0; }
14810 if ac_fn_c_try_link
"$LINENO"; then :
14811 ac_cv_cflags__Wno_format
=yes
14813 ac_cv_cflags__Wno_format
=no
14815 rm -f core conftest.err conftest.
$ac_objext \
14816 conftest
$ac_exeext conftest.
$ac_ext
14817 CFLAGS
=$ac_wine_try_cflags_saved
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14820 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14821 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14822 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14826 if test "x$enable_maintainer_mode" = "xyes"
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14829 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14830 if ${ac_cv_cflags__Werror+:} false
; then :
14831 $as_echo_n "(cached) " >&6
14833 ac_wine_try_cflags_saved
=$CFLAGS
14834 CFLAGS
="$CFLAGS -Werror"
14835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14836 /* end confdefs.h. */
14837 int main(int argc, char **argv) { return 0; }
14839 if ac_fn_c_try_link
"$LINENO"; then :
14840 ac_cv_cflags__Werror
=yes
14842 ac_cv_cflags__Werror
=no
14844 rm -f core conftest.err conftest.
$ac_objext \
14845 conftest
$ac_exeext conftest.
$ac_ext
14846 CFLAGS
=$ac_wine_try_cflags_saved
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14849 $as_echo "$ac_cv_cflags__Werror" >&6; }
14850 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14851 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14855 saved_CFLAGS
="$CFLAGS"
14856 CFLAGS
="$CFLAGS -Werror"
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14858 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14859 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14860 $as_echo_n "(cached) " >&6
14862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14863 /* end confdefs.h. */
14864 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14873 if ac_fn_c_try_compile
"$LINENO"; then :
14874 ac_cv_have_ms_hook_prologue
="yes"
14876 ac_cv_have_ms_hook_prologue
="no"
14878 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14881 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14882 CFLAGS
="$saved_CFLAGS"
14883 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14886 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14889 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14896 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14897 if ${ac_cv_c_fortify_enabled+:} false
; then :
14898 $as_echo_n "(cached) " >&6
14900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14901 /* end confdefs.h. */
14902 #include <string.h>
14906 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14907 #error Fortify enabled
14913 if ac_fn_c_try_compile
"$LINENO"; then :
14914 ac_cv_c_fortify_enabled
=no
14916 ac_cv_c_fortify_enabled
=yes
14918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14921 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14922 if test "$ac_cv_c_fortify_enabled" = yes
14924 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14929 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14930 if ${ac_cv_c_extern_prefix+:} false
; then :
14931 $as_echo_n "(cached) " >&6
14933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14934 /* end confdefs.h. */
14935 extern int ac_test;
14939 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14944 if ac_fn_c_try_link
"$LINENO"; then :
14945 ac_cv_c_extern_prefix
="yes"
14947 ac_cv_c_extern_prefix
="no"
14949 rm -f core conftest.err conftest.
$ac_objext \
14950 conftest
$ac_exeext conftest.
$ac_ext
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14953 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14958 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14959 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14960 $as_echo_n "(cached) " >&6
14962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14963 /* end confdefs.h. */
14965 #define __stdcall __attribute__((__stdcall__))
14967 int __stdcall ac_test(int i) { return i; }
14971 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14976 if ac_fn_c_try_link
"$LINENO"; then :
14977 ac_cv_c_stdcall_suffix
="yes"
14979 ac_cv_c_stdcall_suffix
="no"
14981 rm -f core conftest.err conftest.
$ac_objext \
14982 conftest
$ac_exeext conftest.
$ac_ext
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14985 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14986 *) ac_cv_c_stdcall_suffix
="no" ;;
14990 if test "$ac_cv_c_extern_prefix" = "yes"
14992 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14994 asm_name_prefix
="_"
14996 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15002 if test "$ac_cv_c_stdcall_suffix" = "yes"
15004 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15007 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15013 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15014 if ${ac_cv_asm_func_def+:} false
; then :
15015 $as_echo_n "(cached) " >&6
15017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15018 /* end confdefs.h. */
15023 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15028 if ac_fn_c_try_link
"$LINENO"; then :
15029 ac_cv_asm_func_def
=".def"
15031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15037 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15042 if ac_fn_c_try_link
"$LINENO"; then :
15043 ac_cv_asm_func_def
=".type @function"
15045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15046 /* end confdefs.h. */
15051 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15056 if ac_fn_c_try_link
"$LINENO"; then :
15057 ac_cv_asm_func_def
=".type 2"
15059 ac_cv_asm_func_def
="unknown"
15061 rm -f core conftest.err conftest.
$ac_objext \
15062 conftest
$ac_exeext conftest.
$ac_ext
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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15071 $as_echo "$ac_cv_asm_func_def" >&6; }
15074 case "$ac_cv_asm_func_def" in
15076 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15078 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15080 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15082 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
15084 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15086 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
15088 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15090 asm_func_header
="" ;;
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15094 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15095 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
15096 $as_echo_n "(cached) " >&6
15098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15099 /* end confdefs.h. */
15100 asm(".text\n\t.long 0");
15109 if ac_fn_c_try_compile
"$LINENO"; then :
15110 ac_cv_c_asm_outside_funcs
="yes"
15112 ac_cv_c_asm_outside_funcs
="no"
15114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15117 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15120 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15121 if ${ac_cv_c_dot_previous+:} false
; then :
15122 $as_echo_n "(cached) " >&6
15124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15130 asm(".text\nac_test:\t.long 0\n\t.previous");
15135 if ac_fn_c_try_link
"$LINENO"; then :
15136 ac_cv_c_dot_previous
="yes"
15138 ac_cv_c_dot_previous
="no"
15140 rm -f core conftest.err conftest.
$ac_objext \
15141 conftest
$ac_exeext conftest.
$ac_ext
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15144 $as_echo "$ac_cv_c_dot_previous" >&6; }
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15147 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15148 if ${ac_cv_c_cfi_support+:} false
; then :
15149 $as_echo_n "(cached) " >&6
15151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15152 /* end confdefs.h. */
15153 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15162 if ac_fn_c_try_compile
"$LINENO"; then :
15163 ac_cv_c_cfi_support
="yes"
15165 ac_cv_c_cfi_support
="no"
15167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15170 $as_echo "$ac_cv_c_cfi_support" >&6; }
15172 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15173 asm_func_trailer
=""
15174 if test "$ac_cv_c_dot_previous" = "yes"
15176 asm_func_trailer
="\\n\\t.previous"
15178 if test "$ac_cv_c_cfi_support" = "yes"
15180 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
15181 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
15183 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15185 UNWINDFLAGS
=-fasynchronous-unwind-tables
15188 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15190 if test "x$enable_win64" = "xyes"
15192 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15196 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
15199 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15201 cat >>confdefs.h
<<_ACEOF
15202 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15206 cat >>confdefs.h
<<_ACEOF
15207 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15212 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15215 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15220 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
15228 *i
[3456789]86*|x86_64
*)
15229 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
15230 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
15237 ac_save_CFLAGS
="$CFLAGS"
15238 CFLAGS
="$CFLAGS $BUILTINFLAG"
15318 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15319 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15320 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15321 cat >>confdefs.h
<<_ACEOF
15322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15328 CFLAGS
="$ac_save_CFLAGS"
15330 if test "$ac_cv_func_dlopen" = no
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15333 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15334 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15335 $as_echo_n "(cached) " >&6
15337 ac_check_lib_save_LIBS
=$LIBS
15339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15340 /* end confdefs.h. */
15342 /* Override any GCC internal prototype to avoid an error.
15343 Use char because int might match the return type of a GCC
15344 builtin and then its argument prototype would still apply. */
15357 if ac_fn_c_try_link
"$LINENO"; then :
15358 ac_cv_lib_dl_dlopen
=yes
15360 ac_cv_lib_dl_dlopen
=no
15362 rm -f core conftest.err conftest.
$ac_objext \
15363 conftest
$ac_exeext conftest.
$ac_ext
15364 LIBS
=$ac_check_lib_save_LIBS
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15367 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15368 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15369 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15375 ac_wine_check_funcs_save_LIBS
="$LIBS"
15376 LIBS
="$LIBS $DL_LIBS"
15377 for ac_func
in dladdr
15379 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15380 if test "x$ac_cv_func_dladdr" = xyes
; then :
15381 cat >>confdefs.h
<<_ACEOF
15382 #define HAVE_DLADDR 1
15388 LIBS
="$ac_wine_check_funcs_save_LIBS"
15390 if test "$ac_cv_func_poll" = no
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15393 $as_echo_n "checking for poll in -lpoll... " >&6; }
15394 if ${ac_cv_lib_poll_poll+:} false
; then :
15395 $as_echo_n "(cached) " >&6
15397 ac_check_lib_save_LIBS
=$LIBS
15398 LIBS
="-lpoll $LIBS"
15399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15400 /* end confdefs.h. */
15402 /* Override any GCC internal prototype to avoid an error.
15403 Use char because int might match the return type of a GCC
15404 builtin and then its argument prototype would still apply. */
15417 if ac_fn_c_try_link
"$LINENO"; then :
15418 ac_cv_lib_poll_poll
=yes
15420 ac_cv_lib_poll_poll
=no
15422 rm -f core conftest.err conftest.
$ac_objext \
15423 conftest
$ac_exeext conftest.
$ac_ext
15424 LIBS
=$ac_check_lib_save_LIBS
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15427 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15428 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15429 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15437 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15438 if ${ac_cv_search_gethostbyname+:} false
; then :
15439 $as_echo_n "(cached) " >&6
15441 ac_func_search_save_LIBS
=$LIBS
15442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15443 /* end confdefs.h. */
15445 /* Override any GCC internal prototype to avoid an error.
15446 Use char because int might match the return type of a GCC
15447 builtin and then its argument prototype would still apply. */
15451 char gethostbyname ();
15455 return gethostbyname ();
15460 for ac_lib
in '' nsl
; do
15461 if test -z "$ac_lib"; then
15462 ac_res
="none required"
15465 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15467 if ac_fn_c_try_link
"$LINENO"; then :
15468 ac_cv_search_gethostbyname
=$ac_res
15470 rm -f core conftest.err conftest.
$ac_objext \
15472 if ${ac_cv_search_gethostbyname+:} false
; then :
15476 if ${ac_cv_search_gethostbyname+:} false
; then :
15479 ac_cv_search_gethostbyname
=no
15481 rm conftest.
$ac_ext
15482 LIBS
=$ac_func_search_save_LIBS
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15485 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15486 ac_res
=$ac_cv_search_gethostbyname
15487 if test "$ac_res" != no
; then :
15488 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15494 $as_echo_n "checking for library containing connect... " >&6; }
15495 if ${ac_cv_search_connect+:} false
; then :
15496 $as_echo_n "(cached) " >&6
15498 ac_func_search_save_LIBS
=$LIBS
15499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15500 /* end confdefs.h. */
15502 /* Override any GCC internal prototype to avoid an error.
15503 Use char because int might match the return type of a GCC
15504 builtin and then its argument prototype would still apply. */
15517 for ac_lib
in '' socket
; do
15518 if test -z "$ac_lib"; then
15519 ac_res
="none required"
15522 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15524 if ac_fn_c_try_link
"$LINENO"; then :
15525 ac_cv_search_connect
=$ac_res
15527 rm -f core conftest.err conftest.
$ac_objext \
15529 if ${ac_cv_search_connect+:} false
; then :
15533 if ${ac_cv_search_connect+:} false
; then :
15536 ac_cv_search_connect
=no
15538 rm conftest.
$ac_ext
15539 LIBS
=$ac_func_search_save_LIBS
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15542 $as_echo "$ac_cv_search_connect" >&6; }
15543 ac_res
=$ac_cv_search_connect
15544 if test "$ac_res" != no
; then :
15545 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15551 $as_echo_n "checking for library containing inet_aton... " >&6; }
15552 if ${ac_cv_search_inet_aton+:} false
; then :
15553 $as_echo_n "(cached) " >&6
15555 ac_func_search_save_LIBS
=$LIBS
15556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15557 /* end confdefs.h. */
15559 /* Override any GCC internal prototype to avoid an error.
15560 Use char because int might match the return type of a GCC
15561 builtin and then its argument prototype would still apply. */
15569 return inet_aton ();
15574 for ac_lib
in '' resolv
; do
15575 if test -z "$ac_lib"; then
15576 ac_res
="none required"
15579 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15581 if ac_fn_c_try_link
"$LINENO"; then :
15582 ac_cv_search_inet_aton
=$ac_res
15584 rm -f core conftest.err conftest.
$ac_objext \
15586 if ${ac_cv_search_inet_aton+:} false
; then :
15590 if ${ac_cv_search_inet_aton+:} false
; then :
15593 ac_cv_search_inet_aton
=no
15595 rm conftest.
$ac_ext
15596 LIBS
=$ac_func_search_save_LIBS
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15599 $as_echo "$ac_cv_search_inet_aton" >&6; }
15600 ac_res
=$ac_cv_search_inet_aton
15601 if test "$ac_res" != no
; then :
15602 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15622 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15623 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15624 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15625 cat >>confdefs.h
<<_ACEOF
15626 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15635 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15636 if ${ac_cv_search_clock_gettime+:} false
; then :
15637 $as_echo_n "(cached) " >&6
15639 ac_func_search_save_LIBS
=$LIBS
15640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15641 /* end confdefs.h. */
15643 /* Override any GCC internal prototype to avoid an error.
15644 Use char because int might match the return type of a GCC
15645 builtin and then its argument prototype would still apply. */
15649 char clock_gettime ();
15653 return clock_gettime ();
15658 for ac_lib
in '' rt
; do
15659 if test -z "$ac_lib"; then
15660 ac_res
="none required"
15663 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15665 if ac_fn_c_try_link
"$LINENO"; then :
15666 ac_cv_search_clock_gettime
=$ac_res
15668 rm -f core conftest.err conftest.
$ac_objext \
15670 if ${ac_cv_search_clock_gettime+:} false
; then :
15674 if ${ac_cv_search_clock_gettime+:} false
; then :
15677 ac_cv_search_clock_gettime
=no
15679 rm conftest.
$ac_ext
15680 LIBS
=$ac_func_search_save_LIBS
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15683 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15684 ac_res
=$ac_cv_search_clock_gettime
15685 if test "$ac_res" != no
; then :
15686 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15688 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15690 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15698 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15700 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15702 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15704 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15705 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15706 $as_echo_n "(cached) " >&6
15708 ac_check_lib_save_LIBS
=$LIBS
15709 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15711 /* end confdefs.h. */
15713 /* Override any GCC internal prototype to avoid an error.
15714 Use char because int might match the return type of a GCC
15715 builtin and then its argument prototype would still apply. */
15719 char ldap_initialize ();
15723 return ldap_initialize ();
15728 if ac_fn_c_try_link
"$LINENO"; then :
15729 ac_cv_lib_ldap_r_ldap_initialize
=yes
15731 ac_cv_lib_ldap_r_ldap_initialize
=no
15733 rm -f core conftest.err conftest.
$ac_objext \
15734 conftest
$ac_exeext conftest.
$ac_ext
15735 LIBS
=$ac_check_lib_save_LIBS
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15738 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15739 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15741 $as_echo_n "checking for ber_init in -llber... " >&6; }
15742 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15743 $as_echo_n "(cached) " >&6
15745 ac_check_lib_save_LIBS
=$LIBS
15746 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15748 /* end confdefs.h. */
15750 /* Override any GCC internal prototype to avoid an error.
15751 Use char because int might match the return type of a GCC
15752 builtin and then its argument prototype would still apply. */
15760 return ber_init ();
15765 if ac_fn_c_try_link
"$LINENO"; then :
15766 ac_cv_lib_lber_ber_init
=yes
15768 ac_cv_lib_lber_ber_init
=no
15770 rm -f core conftest.err conftest.
$ac_objext \
15771 conftest
$ac_exeext conftest.
$ac_ext
15772 LIBS
=$ac_check_lib_save_LIBS
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15775 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15776 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15778 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15780 LDAP_LIBS
="-lldap_r -llber"
15787 ac_wine_check_funcs_save_LIBS
="$LIBS"
15788 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15790 ldap_count_references \
15791 ldap_first_reference \
15792 ldap_next_reference \
15793 ldap_parse_reference \
15794 ldap_parse_sort_control \
15795 ldap_parse_sortresponse_control \
15796 ldap_parse_vlv_control \
15797 ldap_parse_vlvresponse_control
15799 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15800 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15801 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15802 cat >>confdefs.h
<<_ACEOF
15803 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15809 LIBS
="$ac_wine_check_funcs_save_LIBS"
15811 if test "x$LDAP_LIBS" = "x"; then :
15812 case "x$with_ldap" in
15813 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15815 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15816 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15822 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15823 if ${wine_cv_one_arg_mkdir+:} false
; then :
15824 $as_echo_n "(cached) " >&6
15826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15827 /* end confdefs.h. */
15828 #include <sys/stat.h>
15837 if ac_fn_c_try_compile
"$LINENO"; then :
15838 wine_cv_one_arg_mkdir
=yes
15840 wine_cv_one_arg_mkdir
=no
15842 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15845 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15846 if test "$wine_cv_one_arg_mkdir" = "yes"
15849 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15854 $as_echo_n "checking for sched_setaffinity... " >&6; }
15855 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15856 $as_echo_n "(cached) " >&6
15858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15859 /* end confdefs.h. */
15860 #define _GNU_SOURCE
15865 sched_setaffinity(0, 0, 0);
15870 if ac_fn_c_try_link
"$LINENO"; then :
15871 wine_cv_have_sched_setaffinity
=yes
15873 wine_cv_have_sched_setaffinity
=no
15875 rm -f core conftest.err conftest.
$ac_objext \
15876 conftest
$ac_exeext conftest.
$ac_ext
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15879 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15880 if test "$wine_cv_have_sched_setaffinity" = "yes"
15883 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15888 $as_echo_n "checking for fallocate... " >&6; }
15889 if ${wine_cv_have_fallocate+:} false
; then :
15890 $as_echo_n "(cached) " >&6
15892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h. */
15894 #define _GNU_SOURCE
15899 fallocate(-1, 0, 0, 0);
15904 if ac_fn_c_try_link
"$LINENO"; then :
15905 wine_cv_have_fallocate
=yes
15907 wine_cv_have_fallocate
=no
15909 rm -f core conftest.err conftest.
$ac_objext \
15910 conftest
$ac_exeext conftest.
$ac_ext
15912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15913 $as_echo "$wine_cv_have_fallocate" >&6; }
15914 if test "$wine_cv_have_fallocate" = "yes"
15917 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15923 $as_echo_n "checking for inline... " >&6; }
15924 if ${ac_cv_c_inline+:} false
; then :
15925 $as_echo_n "(cached) " >&6
15928 for ac_kw
in inline __inline__ __inline
; do
15929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15930 /* end confdefs.h. */
15931 #ifndef __cplusplus
15933 static $ac_kw foo_t static_foo () {return 0; }
15934 $ac_kw foo_t foo () {return 0; }
15938 if ac_fn_c_try_compile
"$LINENO"; then :
15939 ac_cv_c_inline
=$ac_kw
15941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15942 test "$ac_cv_c_inline" != no
&& break
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15947 $as_echo "$ac_cv_c_inline" >&6; }
15949 case $ac_cv_c_inline in
15952 case $ac_cv_c_inline in
15954 *) ac_val
=$ac_cv_c_inline;;
15956 cat >>confdefs.h
<<_ACEOF
15957 #ifndef __cplusplus
15958 #define inline $ac_val
15964 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15965 if test "x$ac_cv_type_mode_t" = xyes
; then :
15967 cat >>confdefs.h
<<_ACEOF
15968 #define HAVE_MODE_T 1
15973 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15974 if test "x$ac_cv_type_off_t" = xyes
; then :
15976 cat >>confdefs.h
<<_ACEOF
15977 #define HAVE_OFF_T 1
15982 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15983 if test "x$ac_cv_type_pid_t" = xyes
; then :
15985 cat >>confdefs.h
<<_ACEOF
15986 #define HAVE_PID_T 1
15991 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15992 if test "x$ac_cv_type_size_t" = xyes
; then :
15994 cat >>confdefs.h
<<_ACEOF
15995 #define HAVE_SIZE_T 1
16000 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16001 if test "x$ac_cv_type_ssize_t" = xyes
; then :
16003 cat >>confdefs.h
<<_ACEOF
16004 #define HAVE_SSIZE_T 1
16009 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16010 if test "x$ac_cv_type_long_long" = xyes
; then :
16012 cat >>confdefs.h
<<_ACEOF
16013 #define HAVE_LONG_LONG 1
16018 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16019 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
16021 cat >>confdefs.h
<<_ACEOF
16022 #define HAVE_FSBLKCNT_T 1
16027 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16028 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
16030 cat >>confdefs.h
<<_ACEOF
16031 #define HAVE_FSFILCNT_T 1
16037 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16038 #include <signal.h>
16040 if test "x$ac_cv_type_sigset_t" = xyes
; then :
16042 cat >>confdefs.h
<<_ACEOF
16043 #define HAVE_SIGSET_T 1
16049 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16051 if test "x$ac_cv_type_request_sense" = xyes
; then :
16053 cat >>confdefs.h
<<_ACEOF
16054 #define HAVE_REQUEST_SENSE 1
16061 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16062 #ifdef HAVE_SYS_SOCKET_H
16063 #include <sys/socket.h>
16065 #ifdef HAVE_SYS_SOCKETVAR_H
16066 #include <sys/socketvar.h>
16068 #ifdef HAVE_NET_ROUTE_H
16069 #include <net/route.h>
16071 #ifdef HAVE_NETINET_IN_H
16072 #include <netinet/in.h>
16074 #ifdef HAVE_NETINET_IN_SYSTM_H
16075 #include <netinet/in_systm.h>
16077 #ifdef HAVE_NETINET_IP_H
16078 #include <netinet/ip.h>
16080 #ifdef HAVE_NETINET_IN_PCB_H
16081 #include <netinet/in_pcb.h>
16084 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
16086 cat >>confdefs.h
<<_ACEOF
16087 #define HAVE_STRUCT_XINPGEN 1
16094 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16097 #ifdef HAVE_SYS_LINK_H
16098 #include <sys/link.h>
16101 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
16103 cat >>confdefs.h
<<_ACEOF
16104 #define HAVE_STRUCT_R_DEBUG 1
16109 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16112 #ifdef HAVE_SYS_LINK_H
16113 #include <sys/link.h>
16116 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
16118 cat >>confdefs.h
<<_ACEOF
16119 #define HAVE_STRUCT_LINK_MAP 1
16126 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16127 #include <linux/input.h>
16130 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
16132 cat >>confdefs.h
<<_ACEOF
16133 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16141 $as_echo_n "checking for sigaddset... " >&6; }
16142 if ${wine_cv_have_sigaddset+:} false
; then :
16143 $as_echo_n "(cached) " >&6
16145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16146 /* end confdefs.h. */
16147 #include <signal.h>
16151 sigset_t set; sigaddset(&set,SIGTERM);
16156 if ac_fn_c_try_link
"$LINENO"; then :
16157 wine_cv_have_sigaddset
=yes
16159 wine_cv_have_sigaddset
=no
16161 rm -f core conftest.err conftest.
$ac_objext \
16162 conftest
$ac_exeext conftest.
$ac_ext
16164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16165 $as_echo "$wine_cv_have_sigaddset" >&6; }
16166 if test "$wine_cv_have_sigaddset" = "yes"
16169 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16175 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16176 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
16177 $as_echo_n "(cached) " >&6
16179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16180 /* end confdefs.h. */
16188 struct hostent *result;
16195 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16196 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16202 if ac_fn_c_try_link
"$LINENO"; then :
16203 wine_cv_linux_gethostbyname_r_6
=yes
16205 wine_cv_linux_gethostbyname_r_6
=no
16208 rm -f core conftest.err conftest.
$ac_objext \
16209 conftest
$ac_exeext conftest.
$ac_ext
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16213 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16214 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16217 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16221 if test "$ac_cv_header_linux_joystick_h" = "yes"
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16224 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16225 if ${wine_cv_linux_joystick_22_api+:} false
; then :
16226 $as_echo_n "(cached) " >&6
16228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16229 /* end confdefs.h. */
16231 #include <sys/ioctl.h>
16232 #include <sys/types.h>
16233 #include <linux/joystick.h>
16235 struct js_event blub;
16236 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16237 #error "no 2.2 header"
16248 if ac_fn_c_try_compile
"$LINENO"; then :
16249 wine_cv_linux_joystick_22_api
=yes
16251 wine_cv_linux_joystick_22_api
=no
16253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16257 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16258 if test "$wine_cv_linux_joystick_22_api" = "yes"
16261 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16267 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16268 #ifdef HAVE_SYS_PARAM_H
16269 # include <sys/param.h>
16271 #ifdef HAVE_SYS_MOUNT_H
16272 # include <sys/mount.h>
16274 #ifdef HAVE_SYS_VFS_H
16275 # include <sys/vfs.h>
16277 #ifdef HAVE_SYS_STATFS_H
16278 # include <sys/statfs.h>
16281 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16283 cat >>confdefs.h
<<_ACEOF
16284 #define HAVE_STRUCT_STATFS_F_BFREE 1
16289 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16290 #ifdef HAVE_SYS_PARAM_H
16291 # include <sys/param.h>
16293 #ifdef HAVE_SYS_MOUNT_H
16294 # include <sys/mount.h>
16296 #ifdef HAVE_SYS_VFS_H
16297 # include <sys/vfs.h>
16299 #ifdef HAVE_SYS_STATFS_H
16300 # include <sys/statfs.h>
16303 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16305 cat >>confdefs.h
<<_ACEOF
16306 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16311 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16312 #ifdef HAVE_SYS_PARAM_H
16313 # include <sys/param.h>
16315 #ifdef HAVE_SYS_MOUNT_H
16316 # include <sys/mount.h>
16318 #ifdef HAVE_SYS_VFS_H
16319 # include <sys/vfs.h>
16321 #ifdef HAVE_SYS_STATFS_H
16322 # include <sys/statfs.h>
16325 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16327 cat >>confdefs.h
<<_ACEOF
16328 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16333 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16334 #ifdef HAVE_SYS_PARAM_H
16335 # include <sys/param.h>
16337 #ifdef HAVE_SYS_MOUNT_H
16338 # include <sys/mount.h>
16340 #ifdef HAVE_SYS_VFS_H
16341 # include <sys/vfs.h>
16343 #ifdef HAVE_SYS_STATFS_H
16344 # include <sys/statfs.h>
16347 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16349 cat >>confdefs.h
<<_ACEOF
16350 #define HAVE_STRUCT_STATFS_F_FFREE 1
16355 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16356 #ifdef HAVE_SYS_PARAM_H
16357 # include <sys/param.h>
16359 #ifdef HAVE_SYS_MOUNT_H
16360 # include <sys/mount.h>
16362 #ifdef HAVE_SYS_VFS_H
16363 # include <sys/vfs.h>
16365 #ifdef HAVE_SYS_STATFS_H
16366 # include <sys/statfs.h>
16369 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16371 cat >>confdefs.h
<<_ACEOF
16372 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16377 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16378 #ifdef HAVE_SYS_PARAM_H
16379 # include <sys/param.h>
16381 #ifdef HAVE_SYS_MOUNT_H
16382 # include <sys/mount.h>
16384 #ifdef HAVE_SYS_VFS_H
16385 # include <sys/vfs.h>
16387 #ifdef HAVE_SYS_STATFS_H
16388 # include <sys/statfs.h>
16391 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16393 cat >>confdefs.h
<<_ACEOF
16394 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16401 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16402 #include <sys/statvfs.h>
16405 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16407 cat >>confdefs.h
<<_ACEOF
16408 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16415 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16416 #include <dirent.h>
16419 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16421 cat >>confdefs.h
<<_ACEOF
16422 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16429 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16430 #ifdef HAVE_SYS_SOCKET_H
16431 # include <sys/socket.h>
16433 #ifdef HAVE_SYS_UN_H
16434 # include <sys/un.h>
16437 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16439 cat >>confdefs.h
<<_ACEOF
16440 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16445 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16446 #ifdef HAVE_SYS_SOCKET_H
16447 # include <sys/socket.h>
16449 #ifdef HAVE_SYS_UN_H
16450 # include <sys/un.h>
16453 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16455 cat >>confdefs.h
<<_ACEOF
16456 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16461 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16462 #ifdef HAVE_SYS_SOCKET_H
16463 # include <sys/socket.h>
16465 #ifdef HAVE_SYS_UN_H
16466 # include <sys/un.h>
16469 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16471 cat >>confdefs.h
<<_ACEOF
16472 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16479 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16480 #ifdef HAVE_SCSI_SG_H
16481 #include <scsi/sg.h>
16484 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16486 cat >>confdefs.h
<<_ACEOF
16487 #define HAVE_SCSIREQ_T_CMD 1
16492 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>
16493 #ifdef HAVE_SCSI_SG_H
16494 #include <scsi/sg.h>
16497 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16499 cat >>confdefs.h
<<_ACEOF
16500 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16507 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16509 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16511 cat >>confdefs.h
<<_ACEOF
16512 #define HAVE_SIGINFO_T_SI_FD 1
16519 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16520 #ifdef HAVE_SYS_MTIO_H
16521 #include <sys/mtio.h>
16524 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16526 cat >>confdefs.h
<<_ACEOF
16527 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16532 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16533 #ifdef HAVE_SYS_MTIO_H
16534 #include <sys/mtio.h>
16537 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16539 cat >>confdefs.h
<<_ACEOF
16540 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16545 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16546 #ifdef HAVE_SYS_MTIO_H
16547 #include <sys/mtio.h>
16550 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16552 cat >>confdefs.h
<<_ACEOF
16553 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16560 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16561 #include <getopt.h>
16564 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16566 cat >>confdefs.h
<<_ACEOF
16567 #define HAVE_STRUCT_OPTION_NAME 1
16574 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16575 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16577 cat >>confdefs.h
<<_ACEOF
16578 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16583 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16584 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16586 cat >>confdefs.h
<<_ACEOF
16587 #define HAVE_STRUCT_STAT_ST_MTIM 1
16592 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16593 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16595 cat >>confdefs.h
<<_ACEOF
16596 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16601 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16602 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16604 cat >>confdefs.h
<<_ACEOF
16605 #define HAVE_STRUCT_STAT_ST_CTIM 1
16610 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16611 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16613 cat >>confdefs.h
<<_ACEOF
16614 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16619 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16620 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16622 cat >>confdefs.h
<<_ACEOF
16623 #define HAVE_STRUCT_STAT_ST_ATIM 1
16628 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16629 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16631 cat >>confdefs.h
<<_ACEOF
16632 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16637 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16638 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16640 cat >>confdefs.h
<<_ACEOF
16641 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16646 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16647 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16649 cat >>confdefs.h
<<_ACEOF
16650 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16655 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16656 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16658 cat >>confdefs.h
<<_ACEOF
16659 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16664 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16665 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16667 cat >>confdefs.h
<<_ACEOF
16668 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16673 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16674 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16676 cat >>confdefs.h
<<_ACEOF
16677 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16684 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
16685 #include <sys/types.h>
16687 #ifdef HAVE_NETINET_IN_H
16688 #include <netinet/in.h>
16691 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16693 cat >>confdefs.h
<<_ACEOF
16694 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16701 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16702 #include <resolv.h>
16705 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16707 cat >>confdefs.h
<<_ACEOF
16708 #define HAVE_STRUCT___RES_STATE 1
16715 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
16716 #include <resolv.h>
16719 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16721 cat >>confdefs.h
<<_ACEOF
16722 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16729 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16730 #include <sys/types.h>
16732 #ifdef HAVE_NETINET_IN_H
16733 # include <netinet/in.h>
16735 #ifdef HAVE_ARPA_NAMESER_H
16736 # include <arpa/nameser.h>
16739 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16741 cat >>confdefs.h
<<_ACEOF
16742 #define HAVE_NS_MSG__MSG_PTR 1
16749 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16750 #include <sys/types.h>
16752 #ifdef HAVE_NETINET_IP_H
16753 #include <netinet/ip.h>
16755 #ifdef HAVE_NETINET_IP_ICMP_H
16756 #include <netinet/ip_icmp.h>
16758 #ifdef HAVE_NETINET_ICMP_VAR_H
16759 #include <netinet/icmp_var.h>
16762 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16764 cat >>confdefs.h
<<_ACEOF
16765 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16772 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16773 #include <sys/types.h>
16775 #ifdef HAVE_ALIAS_H
16778 #ifdef HAVE_SYS_SOCKET_H
16779 #include <sys/socket.h>
16781 #ifdef HAVE_SYS_SOCKETVAR_H
16782 #include <sys/socketvar.h>
16784 #ifdef HAVE_SYS_TIMEOUT_H
16785 #include <sys/timeout.h>
16787 #ifdef HAVE_NETINET_IN_H
16788 #include <netinet/in.h>
16790 #ifdef HAVE_NETINET_IN_SYSTM_H
16791 #include <netinet/in_systm.h>
16793 #ifdef HAVE_NETINET_IP_H
16794 #include <netinet/ip.h>
16796 #ifdef HAVE_NETINET_IP_VAR_H
16797 #include <netinet/ip_var.h>
16799 #ifdef HAVE_NETINET_IP_ICMP_H
16800 #include <netinet/ip_icmp.h>
16802 #ifdef HAVE_NETINET_ICMP_VAR_H
16803 #include <netinet/icmp_var.h>
16806 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16808 cat >>confdefs.h
<<_ACEOF
16809 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16816 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16817 #include <sys/types.h>
16819 #ifdef HAVE_SYS_SOCKETVAR_H
16820 #include <sys/socketvar.h>
16822 #ifdef HAVE_NETINET_IN_H
16823 #include <netinet/in.h>
16825 #ifdef HAVE_NETINET_IP_VAR_H
16826 #include <netinet/ip_var.h>
16829 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16831 cat >>confdefs.h
<<_ACEOF
16832 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16839 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
16840 #include <netinet/ip_var.h>
16843 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16845 cat >>confdefs.h
<<_ACEOF
16846 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16853 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16854 #include <sys/types.h>
16856 #ifdef HAVE_SYS_SOCKETVAR_H
16857 #include <sys/socketvar.h>
16859 #ifdef HAVE_NETINET_IN_H
16860 #include <netinet/in.h>
16862 #ifdef HAVE_NETINET_TCP_H
16863 #include <netinet/tcp.h>
16865 #ifdef HAVE_NETINET_TCP_VAR_H
16866 #include <netinet/tcp_var.h>
16869 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16871 cat >>confdefs.h
<<_ACEOF
16872 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16879 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
16880 #include <netinet/tcp_var.h>
16883 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16885 cat >>confdefs.h
<<_ACEOF
16886 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16893 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16894 #include <sys/types.h>
16896 #ifdef HAVE_NETINET_IN_H
16897 #include <netinet/in.h>
16899 #ifdef HAVE_NETINET_IP_VAR_H
16900 #include <netinet/ip_var.h>
16902 #ifdef HAVE_NETINET_UDP_H
16903 #include <netinet/udp.h>
16905 #ifdef HAVE_NETINET_UDP_VAR_H
16906 #include <netinet/udp_var.h>
16909 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16911 cat >>confdefs.h
<<_ACEOF
16912 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16919 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16920 #include <sys/types.h>
16922 #ifdef HAVE_NET_IF_H
16923 # include <net/if.h>
16926 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16928 cat >>confdefs.h
<<_ACEOF
16929 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16937 $as_echo_n "checking for timezone variable... " >&6; }
16938 if ${ac_cv_have_timezone+:} false
; then :
16939 $as_echo_n "(cached) " >&6
16941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16942 /* end confdefs.h. */
16952 if ac_fn_c_try_link
"$LINENO"; then :
16953 ac_cv_have_timezone
="yes"
16955 ac_cv_have_timezone
="no"
16957 rm -f core conftest.err conftest.
$ac_objext \
16958 conftest
$ac_exeext conftest.
$ac_ext
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16961 $as_echo "$ac_cv_have_timezone" >&6; }
16962 if test "$ac_cv_have_timezone" = "yes"
16965 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16969 $as_echo_n "checking for daylight variable... " >&6; }
16970 if ${ac_cv_have_daylight+:} false
; then :
16971 $as_echo_n "(cached) " >&6
16973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16974 /* end confdefs.h. */
16984 if ac_fn_c_try_link
"$LINENO"; then :
16985 ac_cv_have_daylight
="yes"
16987 ac_cv_have_daylight
="no"
16989 rm -f core conftest.err conftest.
$ac_objext \
16990 conftest
$ac_exeext conftest.
$ac_ext
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16993 $as_echo "$ac_cv_have_daylight" >&6; }
16994 if test "$ac_cv_have_daylight" = "yes"
16997 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17001 ac_save_LIBS
="$LIBS"
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17004 $as_echo_n "checking for isfinite... " >&6; }
17005 if ${ac_cv_have_isfinite+:} false
; then :
17006 $as_echo_n "(cached) " >&6
17008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17010 #define _GNU_SOURCE
17015 float f = 0.0; return isfinite(f)
17020 if ac_fn_c_try_link
"$LINENO"; then :
17021 ac_cv_have_isfinite
="yes"
17023 ac_cv_have_isfinite
="no"
17025 rm -f core conftest.err conftest.
$ac_objext \
17026 conftest
$ac_exeext conftest.
$ac_ext
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17029 $as_echo "$ac_cv_have_isfinite" >&6; }
17030 if test "$ac_cv_have_isfinite" = "yes"
17033 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17038 $as_echo_n "checking for isinf... " >&6; }
17039 if ${ac_cv_have_isinf+:} false
; then :
17040 $as_echo_n "(cached) " >&6
17042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17043 /* end confdefs.h. */
17048 float f = 0.0; return isinf(f)
17053 if ac_fn_c_try_link
"$LINENO"; then :
17054 ac_cv_have_isinf
="yes"
17056 ac_cv_have_isinf
="no"
17058 rm -f core conftest.err conftest.
$ac_objext \
17059 conftest
$ac_exeext conftest.
$ac_ext
17061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17062 $as_echo "$ac_cv_have_isinf" >&6; }
17063 if test "$ac_cv_have_isinf" = "yes"
17066 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17071 $as_echo_n "checking for isnan... " >&6; }
17072 if ${ac_cv_have_isnan+:} false
; then :
17073 $as_echo_n "(cached) " >&6
17075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17076 /* end confdefs.h. */
17081 float f = 0.0; return isnan(f)
17086 if ac_fn_c_try_link
"$LINENO"; then :
17087 ac_cv_have_isnan
="yes"
17089 ac_cv_have_isnan
="no"
17091 rm -f core conftest.err conftest.
$ac_objext \
17092 conftest
$ac_exeext conftest.
$ac_ext
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17095 $as_echo "$ac_cv_have_isnan" >&6; }
17096 if test "$ac_cv_have_isnan" = "yes"
17099 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17135 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17136 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17137 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17138 cat >>confdefs.h
<<_ACEOF
17139 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17145 LIBS
="$ac_save_LIBS"
17147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17148 $as_echo_n "checking for __builtin_clz... " >&6; }
17149 if ${ac_cv_have___builtin_clz+:} false
; then :
17150 $as_echo_n "(cached) " >&6
17152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h. */
17158 return __builtin_clz(1)
17163 if ac_fn_c_try_link
"$LINENO"; then :
17164 ac_cv_have___builtin_clz
="yes"
17166 ac_cv_have___builtin_clz
="no"
17168 rm -f core conftest.err conftest.
$ac_objext \
17169 conftest
$ac_exeext conftest.
$ac_ext
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17172 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17173 if test "$ac_cv_have___builtin_clz" = "yes"
17176 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17181 $as_echo_n "checking for __builtin_popcount... " >&6; }
17182 if ${ac_cv_have___builtin_popcount+:} false
; then :
17183 $as_echo_n "(cached) " >&6
17185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17186 /* end confdefs.h. */
17191 return __builtin_popcount(1)
17196 if ac_fn_c_try_link
"$LINENO"; then :
17197 ac_cv_have___builtin_popcount
="yes"
17199 ac_cv_have___builtin_popcount
="no"
17201 rm -f core conftest.err conftest.
$ac_objext \
17202 conftest
$ac_exeext conftest.
$ac_ext
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17205 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17206 if test "$ac_cv_have___builtin_popcount" = "yes"
17209 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17215 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17216 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17217 if ${ac_cv_cpp_def___i386__+:} false
; then :
17218 $as_echo_n "(cached) " >&6
17220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17221 /* end confdefs.h. */
17226 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17227 $EGREP "yes" >/dev
/null
2>&1; then :
17228 ac_cv_cpp_def___i386__
=yes
17230 ac_cv_cpp_def___i386__
=no
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17236 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17237 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
17238 CFLAGS
="$CFLAGS -D__i386__"
17239 LINTFLAGS
="$LINTFLAGS -D__i386__"
17241 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17242 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17243 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
17244 $as_echo_n "(cached) " >&6
17246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17247 /* end confdefs.h. */
17252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17253 $EGREP "yes" >/dev
/null
2>&1; then :
17254 ac_cv_cpp_def___x86_64__
=yes
17256 ac_cv_cpp_def___x86_64__
=no
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17262 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17263 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
17264 CFLAGS
="$CFLAGS -D__x86_64__"
17265 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
17267 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17268 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17269 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
17270 $as_echo_n "(cached) " >&6
17272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17273 /* end confdefs.h. */
17274 #ifndef __sparc64__
17278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17279 $EGREP "yes" >/dev
/null
2>&1; then :
17280 ac_cv_cpp_def___sparc64__
=yes
17282 ac_cv_cpp_def___sparc64__
=no
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17288 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17289 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
17290 CFLAGS
="$CFLAGS -D__sparc64__"
17291 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
17293 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17294 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17295 if ${ac_cv_cpp_def___sparc__+:} false
; then :
17296 $as_echo_n "(cached) " >&6
17298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17299 /* end confdefs.h. */
17304 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17305 $EGREP "yes" >/dev
/null
2>&1; then :
17306 ac_cv_cpp_def___sparc__
=yes
17308 ac_cv_cpp_def___sparc__
=no
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17314 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17315 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
17316 CFLAGS
="$CFLAGS -D__sparc__"
17317 LINTFLAGS
="$LINTFLAGS -D__sparc__"
17319 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17320 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17321 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
17322 $as_echo_n "(cached) " >&6
17324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17325 /* end confdefs.h. */
17326 #ifndef __powerpc64__
17330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17331 $EGREP "yes" >/dev
/null
2>&1; then :
17332 ac_cv_cpp_def___powerpc64__
=yes
17334 ac_cv_cpp_def___powerpc64__
=no
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17340 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17341 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
17342 CFLAGS
="$CFLAGS -D__powerpc64__"
17343 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
17345 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17346 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17347 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
17348 $as_echo_n "(cached) " >&6
17350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17351 /* end confdefs.h. */
17352 #ifndef __powerpc__
17356 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17357 $EGREP "yes" >/dev
/null
2>&1; then :
17358 ac_cv_cpp_def___powerpc__
=yes
17360 ac_cv_cpp_def___powerpc__
=no
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17366 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17367 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
17368 CFLAGS
="$CFLAGS -D__powerpc__"
17369 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
17371 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17372 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17373 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
17374 $as_echo_n "(cached) " >&6
17376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17377 /* end confdefs.h. */
17378 #ifndef __aarch64__
17382 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17383 $EGREP "yes" >/dev
/null
2>&1; then :
17384 ac_cv_cpp_def___aarch64__
=yes
17386 ac_cv_cpp_def___aarch64__
=no
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17392 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17393 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17394 CFLAGS
="$CFLAGS -D__aarch64__"
17395 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17397 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17398 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17399 if ${ac_cv_cpp_def___arm__+:} false
; then :
17400 $as_echo_n "(cached) " >&6
17402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17403 /* end confdefs.h. */
17408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17409 $EGREP "yes" >/dev
/null
2>&1; then :
17410 ac_cv_cpp_def___arm__
=yes
17412 ac_cv_cpp_def___arm__
=no
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17418 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17419 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17420 CFLAGS
="$CFLAGS -D__arm__"
17421 LINTFLAGS
="$LINTFLAGS -D__arm__"
17425 case $host_vendor in
17426 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17427 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17428 if ${ac_cv_cpp_def___sun__+:} false
; then :
17429 $as_echo_n "(cached) " >&6
17431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17432 /* end confdefs.h. */
17437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17438 $EGREP "yes" >/dev
/null
2>&1; then :
17439 ac_cv_cpp_def___sun__
=yes
17441 ac_cv_cpp_def___sun__
=no
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17447 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17448 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17449 CFLAGS
="$CFLAGS -D__sun__"
17450 LINTFLAGS
="$LINTFLAGS -D__sun__"
17458 ac_config_commands
="$ac_config_commands include/stamp-h"
17460 $as_echo_n "creating Makefile rules..." >&6
17462 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17463 SOCKET_LIBS = $SOCKET_LIBS
17464 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17465 IOKIT_LIBS = $IOKIT_LIBS
17466 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17467 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17468 CORESERVICES_LIBS = $CORESERVICES_LIBS
17469 APPKIT_LIBS = $APPKIT_LIBS
17470 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17471 SECURITY_LIBS = $SECURITY_LIBS
17472 COREAUDIO_LIBS = $COREAUDIO_LIBS
17473 OPENAL_LIBS = $OPENAL_LIBS
17474 OPENCL_LIBS = $OPENCL_LIBS
17475 QUICKTIME_LIBS = $QUICKTIME_LIBS
17476 CARBON_LIBS = $CARBON_LIBS
17477 PTHREAD_LIBS = $PTHREAD_LIBS
17478 X_CFLAGS = $X_CFLAGS
17479 X_PRE_LIBS = $X_PRE_LIBS
17481 X_EXTRA_LIBS = $X_EXTRA_LIBS
17482 PCAP_LIBS = $PCAP_LIBS
17483 XML2_CFLAGS = $XML2_CFLAGS
17484 XML2_LIBS = $XML2_LIBS
17485 XSLT_CFLAGS = $XSLT_CFLAGS
17486 XSLT_LIBS = $XSLT_LIBS
17487 DBUS_CFLAGS = $DBUS_CFLAGS
17488 DBUS_LIBS = $DBUS_LIBS
17489 HAL_CFLAGS = $HAL_CFLAGS
17490 HAL_LIBS = $HAL_LIBS
17491 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17492 GNUTLS_LIBS = $GNUTLS_LIBS
17493 SANE_CFLAGS = $SANE_CFLAGS
17494 SANE_LIBS = $SANE_LIBS
17495 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17496 GPHOTO2_LIBS = $GPHOTO2_LIBS
17497 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17498 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17499 RESOLV_LIBS = $RESOLV_LIBS
17500 LCMS2_CFLAGS = $LCMS2_CFLAGS
17501 LCMS2_LIBS = $LCMS2_LIBS
17502 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17503 FREETYPE_LIBS = $FREETYPE_LIBS
17505 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17506 PULSE_CFLAGS = $PULSE_CFLAGS
17507 PULSE_LIBS = $PULSE_LIBS
17508 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17509 GSTREAMER_LIBS = $GSTREAMER_LIBS
17510 ALSA_LIBS = $ALSA_LIBS
17511 OSS4_CFLAGS = $OSS4_CFLAGS
17512 UDEV_CFLAGS = $UDEV_CFLAGS
17513 UDEV_LIBS = $UDEV_LIBS
17514 CAPI20_CFLAGS = $CAPI20_CFLAGS
17515 CAPI20_LIBS = $CAPI20_LIBS
17516 CUPS_CFLAGS = $CUPS_CFLAGS
17517 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17518 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17519 JPEG_CFLAGS = $JPEG_CFLAGS
17520 JPEG_LIBS = $JPEG_LIBS
17521 PNG_CFLAGS = $PNG_CFLAGS
17522 PNG_LIBS = $PNG_LIBS
17523 TIFF_CFLAGS = $TIFF_CFLAGS
17524 TIFF_LIBS = $TIFF_LIBS
17525 MPG123_CFLAGS = $MPG123_CFLAGS
17526 MPG123_LIBS = $MPG123_LIBS
17527 KSTAT_LIBS = $KSTAT_LIBS
17528 PROCSTAT_LIBS = $PROCSTAT_LIBS
17529 NETAPI_CFLAGS = $NETAPI_CFLAGS
17530 NETAPI_LIBS = $NETAPI_LIBS
17531 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17533 POLL_LIBS = $POLL_LIBS
17535 LDAP_LIBS = $LDAP_LIBS
17540 wine_fn_append_rule
"
17541 # Rules automatically generated by configure
17543 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17548 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17549 @./config.status Make.tmp Makefile
17550 depend: \$(MAKEDEP) dummy
17553 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17554 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17556 if test "x$enable_fonts" != xno
; then
17557 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17558 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17559 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17560 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17561 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17562 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17564 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17565 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17566 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17567 wine_fn_config_symlink wine
17568 if test "x$enable_win64" != xno
; then
17569 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17570 wine_fn_config_symlink wine64
17573 wine_fn_config_dll acledit enable_acledit
17574 wine_fn_config_dll aclui enable_aclui implib
17575 wine_fn_config_dll activeds enable_activeds implib
17576 wine_fn_config_dll actxprxy enable_actxprxy clean
17577 wine_fn_config_lib adsiid
17578 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17579 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17580 wine_fn_config_dll advpack enable_advpack implib
17581 wine_fn_config_test dlls
/advpack
/tests advpack_test
17582 wine_fn_config_dll amstream enable_amstream clean
17583 wine_fn_config_test dlls
/amstream
/tests amstream_test
17584 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17585 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17586 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17587 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17588 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17590 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17591 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17592 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17594 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17595 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17596 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17597 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17598 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17599 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17600 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17601 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17602 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17603 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17604 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17605 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17606 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17607 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17608 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17609 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17610 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17611 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17613 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17616 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17618 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17620 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17622 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17623 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17624 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17625 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17626 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17627 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17629 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17630 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17631 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17633 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17634 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17635 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17637 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17638 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17641 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17643 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17645 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17646 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17647 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17649 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17650 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17651 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17658 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17661 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17663 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17667 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17669 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17670 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17671 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17672 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17673 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17674 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17675 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17676 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17677 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17678 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17679 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17680 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17681 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17682 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17683 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17684 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17685 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17686 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17687 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17688 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17689 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17690 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17691 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17692 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17693 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17694 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17695 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17696 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17697 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17698 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17699 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17700 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17701 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17702 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17703 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17704 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17705 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17706 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17707 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17708 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17709 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17710 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17711 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17712 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17713 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17714 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17715 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17716 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17717 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17718 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17719 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17720 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17721 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17722 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17723 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17724 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17725 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17726 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17727 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17728 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17729 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17730 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17731 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17732 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17733 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17734 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17735 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17736 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17737 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17738 wine_fn_config_dll apphelp enable_apphelp
17739 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17740 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17741 wine_fn_config_dll atl enable_atl clean
,implib
17742 wine_fn_config_test dlls
/atl
/tests atl_test
17743 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17744 wine_fn_config_test dlls
/atl100
/tests atl100_test
17745 wine_fn_config_dll atl110 enable_atl110 clean
17746 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17747 wine_fn_config_test dlls
/atl80
/tests atl80_test
17748 wine_fn_config_dll atl90 enable_atl90 clean
17749 wine_fn_config_dll authz enable_authz
17750 wine_fn_config_dll avicap32 enable_avicap32 implib
17751 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
17752 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17753 wine_fn_config_dll avifile.dll16 enable_win16
17754 wine_fn_config_dll avrt enable_avrt implib
17755 wine_fn_config_dll bcrypt enable_bcrypt implib
17756 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17757 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17758 wine_fn_config_dll browseui enable_browseui clean
17759 wine_fn_config_test dlls
/browseui
/tests browseui_test
17760 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17761 wine_fn_config_dll cabinet enable_cabinet implib
17762 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17763 wine_fn_config_dll capi2032 enable_capi2032 implib
17764 wine_fn_config_dll cards enable_cards implib
17765 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17766 wine_fn_config_dll clusapi enable_clusapi implib
17767 wine_fn_config_dll combase enable_combase
17768 wine_fn_config_test dlls
/combase
/tests combase_test
17769 wine_fn_config_dll comcat enable_comcat
17770 wine_fn_config_test dlls
/comcat
/tests comcat_test
17771 wine_fn_config_dll comctl32 enable_comctl32 clean
,implib
17772 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17773 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
17774 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17775 wine_fn_config_dll
comm.drv16 enable_win16
17776 wine_fn_config_dll commdlg.dll16 enable_win16
17777 wine_fn_config_dll compobj.dll16 enable_win16
17778 wine_fn_config_dll compstui enable_compstui implib
17779 wine_fn_config_dll comsvcs enable_comsvcs implib
17780 wine_fn_config_dll concrt140 enable_concrt140
17781 wine_fn_config_dll connect enable_connect
17782 wine_fn_config_dll credui enable_credui clean
,implib
17783 wine_fn_config_test dlls
/credui
/tests credui_test
17784 wine_fn_config_dll crtdll enable_crtdll
17785 wine_fn_config_dll crypt32 enable_crypt32 clean
,implib
17786 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17787 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17788 wine_fn_config_dll cryptdll enable_cryptdll implib
17789 wine_fn_config_dll cryptext enable_cryptext
17790 wine_fn_config_dll cryptnet enable_cryptnet implib
17791 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17792 wine_fn_config_dll cryptui enable_cryptui clean
,implib
17793 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17794 wine_fn_config_dll ctapi32 enable_ctapi32
17795 wine_fn_config_dll ctl3d.dll16 enable_win16
17796 wine_fn_config_dll ctl3d32 enable_ctl3d32
17797 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17798 wine_fn_config_dll d2d1 enable_d2d1 implib
17799 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17800 wine_fn_config_dll d3d10 enable_d3d10 implib
17801 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17802 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17803 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
17804 wine_fn_config_dll d3d10core enable_d3d10core implib
17805 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17806 wine_fn_config_dll d3d11 enable_d3d11 implib
17807 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17808 wine_fn_config_dll d3d8 enable_d3d8 implib
17809 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17810 wine_fn_config_dll d3d9 enable_d3d9 implib
17811 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17812 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17813 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17814 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17815 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17816 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17817 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17818 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17819 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17820 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17821 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17822 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17823 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17824 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17825 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17826 wine_fn_config_dll d3dim enable_d3dim
17827 wine_fn_config_dll d3drm enable_d3drm implib
17828 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17829 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17830 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17831 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17832 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17833 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17834 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17835 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17836 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17837 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17838 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17839 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17840 wine_fn_config_test dlls
/d3dx10_43
/tests d3dx10_43_test
17841 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17842 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17843 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17844 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17845 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17846 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17847 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17848 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17849 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17850 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17851 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17852 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17853 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17854 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17855 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17856 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17857 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17858 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17859 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17860 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17861 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17862 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17863 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17864 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17865 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17866 wine_fn_config_dll davclnt enable_davclnt
17867 wine_fn_config_dll dbgeng enable_dbgeng implib
17868 wine_fn_config_dll dbghelp enable_dbghelp implib
17869 wine_fn_config_dll dciman32 enable_dciman32 implib
17870 wine_fn_config_dll ddeml.dll16 enable_win16
17871 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17872 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17873 wine_fn_config_dll ddrawex enable_ddrawex clean
17874 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17875 wine_fn_config_dll devenum enable_devenum clean
17876 wine_fn_config_test dlls
/devenum
/tests devenum_test
17877 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17878 wine_fn_config_dll difxapi enable_difxapi
17879 wine_fn_config_dll dinput enable_dinput clean
,implib
,staticimplib
17880 wine_fn_config_test dlls
/dinput
/tests dinput_test
17881 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17882 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17883 wine_fn_config_dll dispdib.dll16 enable_win16
17884 wine_fn_config_dll dispex enable_dispex clean
17885 wine_fn_config_test dlls
/dispex
/tests dispex_test
17886 wine_fn_config_dll display.drv16 enable_win16
17887 wine_fn_config_dll dmband enable_dmband clean
17888 wine_fn_config_test dlls
/dmband
/tests dmband_test
17889 wine_fn_config_dll dmcompos enable_dmcompos clean
17890 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17891 wine_fn_config_dll dmime enable_dmime clean
17892 wine_fn_config_test dlls
/dmime
/tests dmime_test
17893 wine_fn_config_dll dmloader enable_dmloader clean
17894 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17895 wine_fn_config_dll dmscript enable_dmscript clean
17896 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17897 wine_fn_config_dll dmstyle enable_dmstyle clean
17898 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17899 wine_fn_config_dll dmsynth enable_dmsynth clean
17900 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17901 wine_fn_config_dll dmusic enable_dmusic clean
17902 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17903 wine_fn_config_dll dmusic32 enable_dmusic32
17904 wine_fn_config_dll dnsapi enable_dnsapi implib
17905 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17906 wine_fn_config_dll dplay enable_dplay
17907 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17908 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17909 wine_fn_config_dll dpnaddr enable_dpnaddr
17910 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17911 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17912 wine_fn_config_dll dpnhpast enable_dpnhpast
17913 wine_fn_config_dll dpnlobby enable_dpnlobby
17914 wine_fn_config_dll dpvoice enable_dpvoice clean
17915 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17916 wine_fn_config_dll dpwsockx enable_dpwsockx
17917 wine_fn_config_dll drmclien enable_drmclien
17918 wine_fn_config_dll dsound enable_dsound clean
,implib
17919 wine_fn_config_test dlls
/dsound
/tests dsound_test
17920 wine_fn_config_dll dssenh enable_dssenh
17921 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17922 wine_fn_config_dll dswave enable_dswave clean
17923 wine_fn_config_test dlls
/dswave
/tests dswave_test
17924 wine_fn_config_dll dwmapi enable_dwmapi implib
17925 wine_fn_config_dll dwrite enable_dwrite implib
17926 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17927 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17928 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17929 wine_fn_config_lib dxerr8
17930 wine_fn_config_lib dxerr9
17931 wine_fn_config_dll dxgi enable_dxgi implib
17932 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17933 wine_fn_config_lib dxguid
17934 wine_fn_config_dll dxva2 enable_dxva2
17935 wine_fn_config_dll esent enable_esent
17936 wine_fn_config_dll evr enable_evr
17937 wine_fn_config_dll explorerframe enable_explorerframe clean
17938 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17939 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
17940 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
17941 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17942 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
17943 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
17944 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17945 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
17946 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
17947 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
17948 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
17949 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
17950 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
17951 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
17952 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
17953 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
17954 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
17955 wine_fn_config_dll faultrep enable_faultrep implib
17956 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17957 wine_fn_config_dll fltlib enable_fltlib
17958 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17959 wine_fn_config_dll fntcache enable_fntcache
17960 wine_fn_config_dll fontsub enable_fontsub
17961 wine_fn_config_dll fusion enable_fusion
17962 wine_fn_config_test dlls
/fusion
/tests fusion_test
17963 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17964 wine_fn_config_dll gameux enable_gameux clean
17965 wine_fn_config_test dlls
/gameux
/tests gameux_test
17966 wine_fn_config_dll gdi.exe16 enable_win16
17967 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
17968 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17969 wine_fn_config_dll gdiplus enable_gdiplus implib
17970 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17971 wine_fn_config_dll glu32 enable_glu32 implib
17972 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17973 wine_fn_config_dll gpkcsp enable_gpkcsp
17974 wine_fn_config_dll hal enable_hal
17975 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib htmlhelp
17976 wine_fn_config_dll hid enable_hid implib
17977 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17978 wine_fn_config_dll hlink enable_hlink clean
,implib
17979 wine_fn_config_test dlls
/hlink
/tests hlink_test
17980 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17981 wine_fn_config_test dlls
/hnetcfg
/tests hnetcfg_test
17982 wine_fn_config_dll httpapi enable_httpapi
17983 wine_fn_config_dll iccvid enable_iccvid clean
17984 wine_fn_config_dll icmp enable_icmp
17985 wine_fn_config_dll ieframe enable_ieframe clean
,implib
17986 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17987 wine_fn_config_dll ifsmgr.vxd enable_win16
17988 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17989 wine_fn_config_dll imagehlp enable_imagehlp implib
17990 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17991 wine_fn_config_dll imm.dll16 enable_win16
17992 wine_fn_config_dll imm32 enable_imm32 implib
17993 wine_fn_config_test dlls
/imm32
/tests imm32_test
17994 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17995 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17996 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17997 wine_fn_config_dll inetmib1 enable_inetmib1
17998 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17999 wine_fn_config_dll infosoft enable_infosoft clean
18000 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
18001 wine_fn_config_dll initpki enable_initpki
18002 wine_fn_config_dll inkobj enable_inkobj
18003 wine_fn_config_dll inseng enable_inseng clean
18004 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18005 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
18006 wine_fn_config_dll iprop enable_iprop
18007 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18008 wine_fn_config_dll itircl enable_itircl
18009 wine_fn_config_dll itss enable_itss clean
18010 wine_fn_config_test dlls
/itss
/tests itss_test
18011 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18012 wine_fn_config_dll jscript enable_jscript clean
18013 wine_fn_config_test dlls
/jscript
/tests jscript_test
18014 wine_fn_config_dll jsproxy enable_jsproxy implib
18015 wine_fn_config_test dlls
/jsproxy
/tests jsproxy_test
18016 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
18017 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
18018 wine_fn_config_dll kernelbase enable_kernelbase
18019 wine_fn_config_dll keyboard.drv16 enable_win16
18020 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18021 wine_fn_config_dll ksuser enable_ksuser
18022 wine_fn_config_dll ktmw32 enable_ktmw32
18023 wine_fn_config_dll loadperf enable_loadperf implib
18024 wine_fn_config_dll localspl enable_localspl clean
18025 wine_fn_config_test dlls
/localspl
/tests localspl_test
18026 wine_fn_config_dll localui enable_localui clean
18027 wine_fn_config_test dlls
/localui
/tests localui_test
18028 wine_fn_config_dll lz32 enable_lz32 implib
18029 wine_fn_config_test dlls
/lz32
/tests lz32_test
18030 wine_fn_config_dll lzexpand.dll16 enable_win16
18031 wine_fn_config_dll mapi32 enable_mapi32 clean
,implib
18032 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
18033 wine_fn_config_dll mapistub enable_mapistub
18034 wine_fn_config_dll mciavi32 enable_mciavi32
18035 wine_fn_config_dll mcicda enable_mcicda
18036 wine_fn_config_dll mciqtz32 enable_mciqtz32
18037 wine_fn_config_dll mciseq enable_mciseq
18038 wine_fn_config_dll mciwave enable_mciwave
18039 wine_fn_config_dll mf enable_mf
18040 wine_fn_config_dll mfplat enable_mfplat
18041 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18042 wine_fn_config_dll mgmtapi enable_mgmtapi
18043 wine_fn_config_dll midimap enable_midimap
18044 wine_fn_config_dll mlang enable_mlang clean
,implib
18045 wine_fn_config_test dlls
/mlang
/tests mlang_test
18046 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18047 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
18048 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18049 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
18050 wine_fn_config_dll mmdevldr.vxd enable_win16
18051 wine_fn_config_dll mmsystem.dll16 enable_win16
18052 wine_fn_config_dll monodebg.vxd enable_win16
18053 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18054 wine_fn_config_dll mouse.drv16 enable_win16
18055 wine_fn_config_dll mpr enable_mpr clean
,implib
18056 wine_fn_config_test dlls
/mpr
/tests mpr_test
18057 wine_fn_config_dll mprapi enable_mprapi implib
18058 wine_fn_config_dll msacm.dll16 enable_win16
18059 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18060 wine_fn_config_dll msacm32 enable_msacm32 clean
,implib
18061 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
18062 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18063 wine_fn_config_dll msasn1 enable_msasn1 implib
18064 wine_fn_config_dll mscat32 enable_mscat32
18065 wine_fn_config_dll mscms enable_mscms implib
18066 wine_fn_config_test dlls
/mscms
/tests mscms_test
18067 wine_fn_config_dll mscoree enable_mscoree clean
18068 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
18069 wine_fn_config_dll msctf enable_msctf clean
18070 wine_fn_config_test dlls
/msctf
/tests msctf_test
18071 wine_fn_config_dll msctfp enable_msctfp clean
18072 wine_fn_config_dll msdaps enable_msdaps clean
18073 wine_fn_config_dll msdelta enable_msdelta
18074 wine_fn_config_dll msdmo enable_msdmo implib
18075 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
18076 wine_fn_config_dll msdrm enable_msdrm
18077 wine_fn_config_dll msftedit enable_msftedit
18078 wine_fn_config_dll msg711.acm enable_msg711_acm
18079 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18080 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18081 wine_fn_config_dll mshtml enable_mshtml clean
,implib
18082 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
18083 wine_fn_config_dll msi enable_msi clean
,implib
18084 wine_fn_config_test dlls
/msi
/tests msi_test
18085 wine_fn_config_dll msident enable_msident clean
18086 wine_fn_config_dll msimg32 enable_msimg32 implib
18087 wine_fn_config_dll msimsg enable_msimsg
18088 wine_fn_config_dll msimtf enable_msimtf clean
18089 wine_fn_config_dll msisip enable_msisip
18090 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18091 wine_fn_config_dll msls31 enable_msls31
18092 wine_fn_config_dll msnet32 enable_msnet32
18093 wine_fn_config_dll mspatcha enable_mspatcha implib
18094 wine_fn_config_dll msports enable_msports
18095 wine_fn_config_dll msrle32 enable_msrle32 clean
18096 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
18097 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18098 wine_fn_config_test dlls
/msscript.ocx
/tests msscript.ocx_test clean
18099 wine_fn_config_dll mssign32 enable_mssign32
18100 wine_fn_config_dll mssip32 enable_mssip32
18101 wine_fn_config_dll mstask enable_mstask clean
18102 wine_fn_config_test dlls
/mstask
/tests mstask_test
18103 wine_fn_config_dll msvcirt enable_msvcirt
18104 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
18105 wine_fn_config_dll msvcm80 enable_msvcm80
18106 wine_fn_config_dll msvcm90 enable_msvcm90
18107 wine_fn_config_dll msvcp100 enable_msvcp100
18108 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
18109 wine_fn_config_dll msvcp110 enable_msvcp110
18110 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
18111 wine_fn_config_dll msvcp120 enable_msvcp120
18112 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
18113 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18114 wine_fn_config_dll msvcp140 enable_msvcp140
18115 wine_fn_config_test dlls
/msvcp140
/tests msvcp140_test
18116 wine_fn_config_dll msvcp60 enable_msvcp60
18117 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
18118 wine_fn_config_dll msvcp70 enable_msvcp70
18119 wine_fn_config_dll msvcp71 enable_msvcp71
18120 wine_fn_config_dll msvcp80 enable_msvcp80
18121 wine_fn_config_dll msvcp90 enable_msvcp90
18122 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
18123 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18124 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
18125 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18126 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18127 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
18128 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18129 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18130 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18131 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18132 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18133 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
18134 wine_fn_config_dll msvcrt enable_msvcrt implib
18135 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
18136 wine_fn_config_dll msvcrt20 enable_msvcrt20
18137 wine_fn_config_dll msvcrt40 enable_msvcrt40
18138 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18139 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
18140 wine_fn_config_dll msvfw32 enable_msvfw32 clean
,implib
18141 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
18142 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18143 wine_fn_config_dll msvideo.dll16 enable_win16
18144 wine_fn_config_dll mswsock enable_mswsock implib
18145 wine_fn_config_dll msxml enable_msxml clean
18146 wine_fn_config_dll msxml2 enable_msxml2 clean
18147 wine_fn_config_dll msxml3 enable_msxml3 clean
18148 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
18149 wine_fn_config_dll msxml4 enable_msxml4 clean
18150 wine_fn_config_dll msxml6 enable_msxml6 clean
18151 wine_fn_config_dll ncrypt enable_ncrypt
18152 wine_fn_config_dll nddeapi enable_nddeapi implib
18153 wine_fn_config_dll ndis.sys enable_ndis_sys
18154 wine_fn_config_dll netapi32 enable_netapi32 implib
18155 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
18156 wine_fn_config_dll netcfgx enable_netcfgx clean
18157 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
18158 wine_fn_config_dll netprofm enable_netprofm clean
18159 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
18160 wine_fn_config_dll newdev enable_newdev implib
18161 wine_fn_config_dll normaliz enable_normaliz implib
18162 wine_fn_config_dll npmshtml enable_npmshtml
18163 wine_fn_config_dll npptools enable_npptools
18164 wine_fn_config_dll ntdll enable_ntdll implib
18165 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
18166 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18167 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
18168 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18169 wine_fn_config_dll ntprint enable_ntprint
18170 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
18171 wine_fn_config_dll objsel enable_objsel clean
18172 wine_fn_config_dll odbc32 enable_odbc32 implib
18173 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18174 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
18175 wine_fn_config_dll odbccu32 enable_odbccu32
18176 wine_fn_config_dll ole2.dll16 enable_win16
18177 wine_fn_config_dll ole2conv.dll16 enable_win16
18178 wine_fn_config_dll ole2disp.dll16 enable_win16
18179 wine_fn_config_dll ole2nls.dll16 enable_win16
18180 wine_fn_config_dll ole2prox.dll16 enable_win16
18181 wine_fn_config_dll ole2thk.dll16 enable_win16
18182 wine_fn_config_dll ole32 enable_ole32 clean
,implib
18183 wine_fn_config_test dlls
/ole32
/tests ole32_test
18184 wine_fn_config_dll oleacc enable_oleacc clean
,implib
18185 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
18186 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
18187 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
18188 wine_fn_config_dll olecli.dll16 enable_win16
18189 wine_fn_config_dll olecli32 enable_olecli32 implib
18190 wine_fn_config_dll oledb32 enable_oledb32 clean
18191 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
18192 wine_fn_config_dll oledlg enable_oledlg clean
,implib
18193 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
18194 wine_fn_config_dll olepro32 enable_olepro32 clean
,implib
18195 wine_fn_config_dll olesvr.dll16 enable_win16
18196 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18197 wine_fn_config_dll olethk32 enable_olethk32
18198 wine_fn_config_dll openal32 enable_openal32
18199 wine_fn_config_dll opencl enable_opencl
18200 wine_fn_config_dll opengl32 enable_opengl32 implib
18201 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
18202 wine_fn_config_dll packager enable_packager clean
18203 wine_fn_config_test dlls
/packager
/tests packager_test
18204 wine_fn_config_dll pdh enable_pdh implib
18205 wine_fn_config_test dlls
/pdh
/tests pdh_test
18206 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18207 wine_fn_config_dll pidgen enable_pidgen
18208 wine_fn_config_dll powrprof enable_powrprof implib
18209 wine_fn_config_dll printui enable_printui
18210 wine_fn_config_dll prntvpt enable_prntvpt
18211 wine_fn_config_dll propsys enable_propsys clean
,implib
18212 wine_fn_config_test dlls
/propsys
/tests propsys_test
18213 wine_fn_config_dll psapi enable_psapi implib
18214 wine_fn_config_test dlls
/psapi
/tests psapi_test
18215 wine_fn_config_dll pstorec enable_pstorec clean
18216 wine_fn_config_dll qcap enable_qcap
18217 wine_fn_config_test dlls
/qcap
/tests qcap_test
18218 wine_fn_config_dll qedit enable_qedit clean
18219 wine_fn_config_test dlls
/qedit
/tests qedit_test
18220 wine_fn_config_dll qmgr enable_qmgr clean
18221 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
18222 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18223 wine_fn_config_dll quartz enable_quartz clean
,implib
18224 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
18225 wine_fn_config_dll query enable_query
18226 wine_fn_config_dll rasapi16.dll16 enable_win16
18227 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18228 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
18229 wine_fn_config_dll rasdlg enable_rasdlg implib
18230 wine_fn_config_dll regapi enable_regapi
18231 wine_fn_config_dll resutils enable_resutils implib
18232 wine_fn_config_dll riched20 enable_riched20 clean
,implib
18233 wine_fn_config_test dlls
/riched20
/tests riched20_test
18234 wine_fn_config_dll riched32 enable_riched32
18235 wine_fn_config_test dlls
/riched32
/tests riched32_test
18236 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
18237 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
18238 wine_fn_config_dll rsabase enable_rsabase
18239 wine_fn_config_dll rsaenh enable_rsaenh implib
18240 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
18241 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18242 wine_fn_config_dll rtutils enable_rtutils implib
18243 wine_fn_config_dll samlib enable_samlib
18244 wine_fn_config_dll sane.ds enable_sane_ds clean
18245 wine_fn_config_dll scarddlg enable_scarddlg
18246 wine_fn_config_dll sccbase enable_sccbase
18247 wine_fn_config_dll schannel enable_schannel
18248 wine_fn_config_test dlls
/schannel
/tests schannel_test
18249 wine_fn_config_dll schedsvc enable_schedsvc clean
18250 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
18251 wine_fn_config_dll scrrun enable_scrrun clean
18252 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
18253 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18254 wine_fn_config_dll secur32 enable_secur32 implib
18255 wine_fn_config_test dlls
/secur32
/tests secur32_test
18256 wine_fn_config_dll security enable_security
18257 wine_fn_config_dll sensapi enable_sensapi implib
18258 wine_fn_config_dll serialui enable_serialui clean
18259 wine_fn_config_test dlls
/serialui
/tests serialui_test
18260 wine_fn_config_dll setupapi enable_setupapi clean
,implib
18261 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
18262 wine_fn_config_dll setupx.dll16 enable_win16
18263 wine_fn_config_dll sfc enable_sfc implib
18264 wine_fn_config_dll sfc_os enable_sfc_os implib
18265 wine_fn_config_dll shdoclc enable_shdoclc clean
18266 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
18267 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
18268 wine_fn_config_dll shell.dll16 enable_win16
18269 wine_fn_config_dll shell32 enable_shell32 clean
,implib
18270 wine_fn_config_test dlls
/shell32
/tests shell32_test
18271 wine_fn_config_dll shfolder enable_shfolder implib
18272 wine_fn_config_dll shlwapi enable_shlwapi clean
,implib
18273 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
18274 wine_fn_config_dll slbcsp enable_slbcsp
18275 wine_fn_config_dll slc enable_slc implib
18276 wine_fn_config_test dlls
/slc
/tests slc_test
18277 wine_fn_config_dll snmpapi enable_snmpapi implib
18278 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
18279 wine_fn_config_dll softpub enable_softpub
18280 wine_fn_config_dll sound.drv16 enable_win16
18281 wine_fn_config_dll spoolss enable_spoolss implib
18282 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
18283 wine_fn_config_dll sspicli enable_sspicli
18284 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18285 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18286 wine_fn_config_dll sti enable_sti clean
,implib
18287 wine_fn_config_test dlls
/sti
/tests sti_test
18288 wine_fn_config_dll storage.dll16 enable_win16
18289 wine_fn_config_dll stress.dll16 enable_win16
18290 wine_fn_config_lib strmbase
18291 wine_fn_config_lib strmiids
18292 wine_fn_config_dll svrapi enable_svrapi
18293 wine_fn_config_dll sxs enable_sxs implib
18294 wine_fn_config_test dlls
/sxs
/tests sxs_test
18295 wine_fn_config_dll system.drv16 enable_win16
18296 wine_fn_config_dll t2embed enable_t2embed implib
18297 wine_fn_config_test dlls
/t2embed
/tests t2embed_test
18298 wine_fn_config_dll tapi32 enable_tapi32 implib
18299 wine_fn_config_dll taskschd enable_taskschd clean
18300 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
18301 wine_fn_config_dll tdi.sys enable_tdi_sys
18302 wine_fn_config_dll toolhelp.dll16 enable_win16
18303 wine_fn_config_dll traffic enable_traffic
18304 wine_fn_config_dll twain.dll16 enable_win16
18305 wine_fn_config_dll twain_32 enable_twain_32
18306 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
18307 wine_fn_config_dll typelib.dll16 enable_win16
18308 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18309 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
18310 wine_fn_config_dll unicows enable_unicows implib
18311 wine_fn_config_dll updspapi enable_updspapi
18312 wine_fn_config_dll url enable_url implib
18313 wine_fn_config_dll urlmon enable_urlmon clean
,implib
18314 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
18315 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18316 wine_fn_config_dll user.exe16 enable_win16
18317 wine_fn_config_dll user32 enable_user32 clean
,implib
18318 wine_fn_config_test dlls
/user32
/tests user32_test
18319 wine_fn_config_dll userenv enable_userenv implib
18320 wine_fn_config_test dlls
/userenv
/tests userenv_test
18321 wine_fn_config_dll usp10 enable_usp10 implib
18322 wine_fn_config_test dlls
/usp10
/tests usp10_test
18323 wine_fn_config_lib uuid
18324 wine_fn_config_dll uxtheme enable_uxtheme implib
18325 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
18326 wine_fn_config_dll vbscript enable_vbscript clean
18327 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
18328 wine_fn_config_dll vcomp enable_vcomp
18329 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
18330 wine_fn_config_dll vcomp100 enable_vcomp100
18331 wine_fn_config_dll vcomp110 enable_vcomp110
18332 wine_fn_config_dll vcomp120 enable_vcomp120
18333 wine_fn_config_dll vcomp140 enable_vcomp140
18334 wine_fn_config_dll vcomp90 enable_vcomp90
18335 wine_fn_config_dll vcruntime140 enable_vcruntime140
18336 wine_fn_config_dll vdhcp.vxd enable_win16
18337 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18338 wine_fn_config_dll ver.dll16 enable_win16
18339 wine_fn_config_dll version enable_version implib
18340 wine_fn_config_test dlls
/version
/tests version_test
18341 wine_fn_config_dll vmm.vxd enable_win16
18342 wine_fn_config_dll vnbt.vxd enable_win16
18343 wine_fn_config_dll vnetbios.vxd enable_win16
18344 wine_fn_config_dll vssapi enable_vssapi
18345 wine_fn_config_dll vtdapi.vxd enable_win16
18346 wine_fn_config_dll vwin32.vxd enable_win16
18347 wine_fn_config_dll w32skrnl enable_win16
18348 wine_fn_config_dll w32sys.dll16 enable_win16
18349 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18350 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
18351 wine_fn_config_dll wbemprox enable_wbemprox clean
18352 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
18353 wine_fn_config_dll webservices enable_webservices implib
18354 wine_fn_config_test dlls
/webservices
/tests webservices_test
18355 wine_fn_config_dll wer enable_wer implib
18356 wine_fn_config_test dlls
/wer
/tests wer_test
18357 wine_fn_config_dll wevtapi enable_wevtapi
18358 wine_fn_config_dll wiaservc enable_wiaservc clean
18359 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
18360 wine_fn_config_dll wimgapi enable_wimgapi
18361 wine_fn_config_dll win32s16.dll16 enable_win16
18362 wine_fn_config_dll win87em.dll16 enable_win16
18363 wine_fn_config_dll winaspi.dll16 enable_win16
18364 wine_fn_config_dll windebug.dll16 enable_win16
18365 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
18366 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
18367 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18368 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
18369 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18370 wine_fn_config_dll winebus.sys enable_winebus_sys
18371 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18372 wine_fn_config_lib winecrt0
18373 wine_fn_config_dll wined3d enable_wined3d implib
18374 wine_fn_config_dll winegstreamer enable_winegstreamer
18375 wine_fn_config_dll winehid.sys enable_winehid_sys
18376 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18377 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18378 wine_fn_config_dll winemapi enable_winemapi
18379 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18380 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18381 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18382 wine_fn_config_dll wineps16.drv16 enable_win16
18383 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18384 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18385 wine_fn_config_dll winex11.drv enable_winex11_drv
18386 wine_fn_config_dll wing.dll16 enable_win16
18387 wine_fn_config_dll wing32 enable_wing32
18388 wine_fn_config_dll winhttp enable_winhttp clean
,implib
18389 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
18390 wine_fn_config_dll wininet enable_wininet clean
,implib
18391 wine_fn_config_test dlls
/wininet
/tests wininet_test
18392 wine_fn_config_dll winmm enable_winmm clean
,implib
18393 wine_fn_config_test dlls
/winmm
/tests winmm_test
18394 wine_fn_config_dll winnls.dll16 enable_win16
18395 wine_fn_config_dll winnls32 enable_winnls32 implib
18396 wine_fn_config_dll winscard enable_winscard implib
18397 wine_fn_config_dll winsock.dll16 enable_win16
18398 wine_fn_config_dll winspool.drv enable_winspool_drv clean
,implib winspool
18399 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
18400 wine_fn_config_dll winsta enable_winsta
18401 wine_fn_config_dll wintab.dll16 enable_win16
18402 wine_fn_config_dll wintab32 enable_wintab32 implib
18403 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
18404 wine_fn_config_dll wintrust enable_wintrust implib
18405 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
18406 wine_fn_config_dll wlanapi enable_wlanapi
18407 wine_fn_config_dll wldap32 enable_wldap32 clean
,implib
18408 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
18409 wine_fn_config_dll wmasf enable_wmasf
18410 wine_fn_config_dll wmi enable_wmi
18411 wine_fn_config_dll wmiutils enable_wmiutils clean
18412 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
18413 wine_fn_config_dll wmp enable_wmp clean
18414 wine_fn_config_test dlls
/wmp
/tests wmp_test
18415 wine_fn_config_dll wmvcore enable_wmvcore
18416 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18417 wine_fn_config_dll wow32 enable_win16 implib
18418 wine_fn_config_dll wpc enable_wpc clean
18419 wine_fn_config_test dlls
/wpc
/tests wpc_test
18420 wine_fn_config_dll wpcap enable_wpcap
18421 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18422 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
18423 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18424 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
18425 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18426 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
18427 wine_fn_config_dll wsock32 enable_wsock32 implib
18428 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18429 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
18430 wine_fn_config_dll wuapi enable_wuapi clean
18431 wine_fn_config_dll wuaueng enable_wuaueng
18432 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18433 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18434 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18435 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18436 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18437 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18438 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18439 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18440 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18441 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18442 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18443 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18444 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18445 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18446 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18447 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18448 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18449 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18450 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18451 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18452 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18453 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
18454 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18455 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18456 wine_fn_config_dll xinput1_1 enable_xinput1_1
18457 wine_fn_config_dll xinput1_2 enable_xinput1_2
18458 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18459 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
18460 wine_fn_config_dll xinput1_4 enable_xinput1_4
18461 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18462 wine_fn_config_dll xmllite enable_xmllite implib
18463 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
18464 wine_fn_config_dll xolehlp enable_xolehlp
18465 wine_fn_config_dll xpsprint enable_xpsprint
18466 wine_fn_config_dll xpssvcs enable_xpssvcs
18467 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
18468 wine_fn_config_makefile include enable_include clean
,install-dev
18469 wine_fn_config_makefile libs
/port enable_libs_port
18470 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,implib
,install-dev
,install-lib
18471 wine_fn_config_makefile libs
/wpp enable_libs_wpp
18472 wine_fn_config_makefile loader enable_loader clean
,install-lib
18473 wine_fn_config_makefile po enable_po clean
18474 wine_fn_config_program arp enable_arp
install
18475 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
18476 wine_fn_config_program attrib enable_attrib clean
,install
18477 wine_fn_config_program cabarc enable_cabarc
install
18478 wine_fn_config_program cacls enable_cacls
install
18479 wine_fn_config_program
clock enable_clock clean
,install
18480 wine_fn_config_program cmd enable_cmd clean
,install
18481 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
18482 wine_fn_config_program conhost enable_conhost
install
18483 wine_fn_config_program control enable_control
install
18484 wine_fn_config_program cscript enable_cscript clean
,install
18485 wine_fn_config_program dpnsvr enable_dpnsvr
install
18486 wine_fn_config_program dxdiag enable_dxdiag clean
,install
18487 wine_fn_config_program eject enable_eject
install
18488 wine_fn_config_program
expand enable_expand
install
18489 wine_fn_config_program explorer enable_explorer clean
,install
18490 wine_fn_config_program extrac32 enable_extrac32
install
18491 wine_fn_config_program findstr enable_findstr
install
18492 wine_fn_config_program fsutil enable_fsutil
install
18493 wine_fn_config_program hh enable_hh
install
18494 wine_fn_config_program hostname enable_hostname clean
,install
18495 wine_fn_config_program icacls enable_icacls
install
18496 wine_fn_config_program icinfo enable_icinfo
install
18497 wine_fn_config_program iexplore enable_iexplore
install
18498 wine_fn_config_program ipconfig enable_ipconfig clean
,install
18499 wine_fn_config_program lodctr enable_lodctr
install
18500 wine_fn_config_program mofcomp enable_mofcomp
install
18501 wine_fn_config_program mshta enable_mshta
install
18502 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18503 wine_fn_config_program msinfo32 enable_msinfo32 clean
,install
18504 wine_fn_config_program net enable_net clean
,install
18505 wine_fn_config_program netsh enable_netsh
install
18506 wine_fn_config_program netstat enable_netstat clean
,install
18507 wine_fn_config_program ngen enable_ngen
install
18508 wine_fn_config_program notepad enable_notepad clean
,install,installbin
,manpage
18509 wine_fn_config_program oleview enable_oleview clean
,install
18510 wine_fn_config_program
ping enable_ping
install
18511 wine_fn_config_program plugplay enable_plugplay
install
18512 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18513 wine_fn_config_program progman enable_progman clean
,install
18514 wine_fn_config_program reg enable_reg clean
,install
18515 wine_fn_config_test programs
/reg
/tests reg.exe_test
18516 wine_fn_config_program regasm enable_regasm
install
18517 wine_fn_config_program regedit enable_regedit clean
,install,installbin
,manpage
18518 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18519 wine_fn_config_program regsvcs enable_regsvcs
install
18520 wine_fn_config_program regsvr32 enable_regsvr32 clean
,install,installbin
,manpage
18521 wine_fn_config_program rpcss enable_rpcss clean
,install
18522 wine_fn_config_program rundll.exe16 enable_win16
install
18523 wine_fn_config_program rundll32 enable_rundll32
install
18524 wine_fn_config_program sc enable_sc
install
18525 wine_fn_config_program schtasks enable_schtasks
install
18526 wine_fn_config_program sdbinst enable_sdbinst
install
18527 wine_fn_config_program secedit enable_secedit
install
18528 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18529 wine_fn_config_program services enable_services clean
,install
18530 wine_fn_config_test programs
/services
/tests services.exe_test
18531 wine_fn_config_program shutdown enable_shutdown
install
18532 wine_fn_config_program spoolsv enable_spoolsv
install
18533 wine_fn_config_program start enable_start clean
,install
18534 wine_fn_config_program subst enable_subst
install
18535 wine_fn_config_program svchost enable_svchost
install
18536 wine_fn_config_program systeminfo enable_systeminfo
install
18537 wine_fn_config_program taskkill enable_taskkill clean
,install
18538 wine_fn_config_program tasklist enable_tasklist
install
18539 wine_fn_config_program taskmgr enable_taskmgr clean
,install
18540 wine_fn_config_program termsv enable_termsv
install
18541 wine_fn_config_program uninstaller enable_uninstaller clean
,install
18542 wine_fn_config_program unlodctr enable_unlodctr
install
18543 wine_fn_config_program view enable_view clean
,install
18544 wine_fn_config_program wevtutil enable_wevtutil
install
18545 wine_fn_config_program wineboot enable_wineboot clean
,install,installbin
,manpage
18546 wine_fn_config_program winebrowser enable_winebrowser
install
18547 wine_fn_config_program winecfg enable_winecfg clean
,install,installbin
,manpage
18548 wine_fn_config_program wineconsole enable_wineconsole clean
,install,installbin
,manpage
18549 wine_fn_config_program winedbg enable_winedbg clean
,install,installbin
,manpage
18550 wine_fn_config_program winedevice enable_winedevice
install
18551 wine_fn_config_program winefile enable_winefile clean
,install,installbin
,manpage
18552 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18553 wine_fn_config_program winemine enable_winemine clean
,install,installbin
,manpage
18554 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18555 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18556 wine_fn_config_program winetest enable_winetest clean
18557 wine_fn_config_program winevdm enable_win16
install
18558 wine_fn_config_program winhelp.exe16 enable_win16
install
18559 wine_fn_config_program winhlp32 enable_winhlp32 clean
,install
18560 wine_fn_config_program winoldap.mod16 enable_win16
install
18561 wine_fn_config_program winver enable_winver
install
18562 wine_fn_config_program wmic enable_wmic clean
,install
18563 wine_fn_config_program wmplayer enable_wmplayer
install
18564 wine_fn_config_program wordpad enable_wordpad clean
,install
18565 wine_fn_config_program
write enable_write clean
,install
18566 wine_fn_config_program wscript enable_wscript clean
,install
18567 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18568 wine_fn_config_program wusa enable_wusa
install
18569 wine_fn_config_program xcopy enable_xcopy clean
,install
18570 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18571 wine_fn_config_makefile server enable_server clean
,install-lib
18572 wine_fn_config_tool tools clean
18573 wine_fn_config_tool tools
/sfnt2fon clean
18574 wine_fn_config_tool tools
/widl clean
,install-dev
18575 wine_fn_config_tool tools
/winebuild clean
,install-dev
18576 wine_fn_config_tool tools
/winedump clean
,install-dev
18577 wine_fn_config_tool tools
/winegcc clean
,install-dev
18578 wine_fn_config_tool tools
/winemaker clean
,install-dev
18579 wine_fn_config_tool tools
/wmc clean
,install-dev
18580 wine_fn_config_tool tools
/wrc clean
,install-dev
18583 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
18584 wine_fn_append_file CONFIGURE_TARGETS
"tags"
18585 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
18586 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
18587 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
18588 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
18589 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
18590 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
18592 if test "x$enable_tools" != xno
18594 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
18595 ac_config_commands
="$ac_config_commands tools/makedep"
18599 ac_config_commands
="$ac_config_commands Makefile"
18602 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
18606 if test "x$enable_maintainer_mode" = xyes
18608 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18609 autoconf --warnings=all
18610 include/config.h.in: include/stamp-h.in
18611 include/stamp-h.in: configure.ac aclocal.m4
18612 autoheader --warnings=all
18613 @echo timestamp > \$@"
18616 if test "x$enable_tools" != xno
18618 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18619 @./config.status tools/makedep
18620 Makefile: tools/makedep$ac_exeext"
18622 wine_fn_append_rule
"\$(MAKEDEP):
18623 @echo \"You need to run make in $TOOLSDIR first\" && false"
18626 if test -n "$with_wine64"
18628 wine_fn_append_rule
"all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18630 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18631 $with_wine64/loader/wine:
18632 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18633 $with_wine64/loader/wine-preloader:
18634 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18636 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18638 WINELOADER_INSTALL
="wine.inf"
18640 wine_fn_append_rule
"install install-lib::
18641 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18643 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18645 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
18646 *) wine_fn_append_rule
"install install-lib::
18647 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18649 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18653 $as_echo " done" >&6
18654 cat >confcache
<<\_ACEOF
18655 # This file is a shell script that caches the results of configure
18656 # tests run on this system so they can be shared between configure
18657 # scripts and configure runs, see configure's option --config-cache.
18658 # It is not useful on other systems. If it contains results you don't
18659 # want to keep, you may remove or edit it.
18661 # config.status only pays attention to the cache file if you give it
18662 # the --recheck option to rerun configure.
18664 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18665 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18666 # following values.
18670 # The following way of writing the cache mishandles newlines in values,
18671 # but we know of no workaround that is simple, portable, and efficient.
18672 # So, we kill variables containing newlines.
18673 # Ultrix sh set writes to stderr and can't be redirected directly,
18674 # and sets the high bit in the cache file unless we assign to the vars.
18676 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18677 eval ac_val
=\$
$ac_var
18681 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18682 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18685 _ | IFS | as_nl
) ;; #(
18686 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18687 *) { eval $ac_var=; unset $ac_var;} ;;
18693 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18694 *${as_nl}ac_space
=\
*)
18695 # `set' does not quote correctly, so add quotes: double-quote
18696 # substitution turns \\\\ into \\, and sed turns \\ into \.
18699 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18702 # `set' quotes correctly as required by POSIX, so do not add quotes.
18703 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18712 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18714 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18716 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18717 if test -w "$cache_file"; then
18718 if test "x$cache_file" != "x/dev/null"; then
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18720 $as_echo "$as_me: updating cache $cache_file" >&6;}
18721 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18722 cat confcache
>"$cache_file"
18724 case $cache_file in #(
18726 mv -f confcache
"$cache_file"$$
&&
18727 mv -f "$cache_file"$$
"$cache_file" ;; #(
18729 mv -f confcache
"$cache_file" ;;
18734 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18735 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18740 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18741 # Let make expand exec_prefix.
18742 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18744 DEFS
=-DHAVE_CONFIG_H
18749 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18750 # 1. Remove the extension, and $U if already installed.
18751 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18752 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18753 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18754 # will be set to the directory where LIBOBJS objects are built.
18755 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18756 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18758 LIBOBJS
=$ac_libobjs
18760 LTLIBOBJS
=$ac_ltlibobjs
18764 : "${CONFIG_STATUS=./config.status}"
18766 ac_clean_files_save
=$ac_clean_files
18767 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18768 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18769 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18771 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18773 # Generated by $as_me.
18774 # Run this file to recreate the current configuration.
18775 # Compiler output produced by configure, useful for debugging
18776 # configure, is in config.log if it exists.
18779 ac_cs_recheck=false
18782 SHELL=\${CONFIG_SHELL-$SHELL}
18785 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18786 ## -------------------- ##
18787 ## M4sh Initialization. ##
18788 ## -------------------- ##
18790 # Be more Bourne compatible
18791 DUALCASE
=1; export DUALCASE
# for MKS sh
18792 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18795 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18796 # is contrary to our usage. Disable this feature.
18797 alias -g '${1+"$@"}'='"$@"'
18798 setopt NO_GLOB_SUBST
18800 case `(set -o) 2>/dev/null` in #(
18812 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18813 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18814 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18815 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18816 # Prefer a ksh shell builtin over an external printf program on Solaris,
18817 # but without wasting forks for bash or zsh.
18818 if test -z "$BASH_VERSION$ZSH_VERSION" \
18819 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18820 as_echo='print
-r --'
18821 as_echo_n='print
-rn --'
18822 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18823 as_echo='printf %s
\n'
18824 as_echo_n='printf %s
'
18826 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18827 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18828 as_echo_n='/usr
/ucb
/echo -n'
18830 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18831 as_echo_n_body='eval
18835 expr "X$arg" : "X\\(.*\\)$as_nl";
18836 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18838 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18840 export as_echo_n_body
18841 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18843 export as_echo_body
18844 as_echo='sh
-c $as_echo_body as_echo
'
18847 # The user is always right.
18848 if test "${PATH_SEPARATOR+set}" != set; then
18850 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18851 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18858 # We need space, tab and new line, in precisely that order. Quoting is
18859 # there to prevent editors from complaining about space-tab.
18860 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18861 # splitting by setting IFS to empty value.)
18864 # Find who we are. Look in the path if we contain no directory separator.
18867 *[\\/]* ) as_myself=$0 ;;
18868 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18869 for as_dir in $PATH
18872 test -z "$as_dir" && as_dir=.
18873 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18879 # We did not find ourselves, most probably we were run as `sh COMMAND'
18880 # in which case we are not to be found in the path.
18881 if test "x$as_myself" = x
; then
18884 if test ! -f "$as_myself"; then
18885 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18889 # Unset variables that we do not need and which cause bugs (e.g. in
18890 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18891 # suppresses any "Segmentation fault" message there. '((' could
18892 # trigger a bug in pdksh 5.2.14.
18893 for as_var
in BASH_ENV ENV MAIL MAILPATH
18894 do eval test x\
${$as_var+set} = xset \
18895 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18908 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18911 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18912 # ----------------------------------------
18913 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18914 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18915 # script with STATUS, using 1 if that was 0.
18918 as_status
=$1; test $as_status -eq 0 && as_status
=1
18920 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18921 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18923 $as_echo "$as_me: error: $2" >&2
18924 as_fn_exit
$as_status
18928 # as_fn_set_status STATUS
18929 # -----------------------
18930 # Set $? to STATUS, without forking.
18931 as_fn_set_status
()
18934 } # as_fn_set_status
18936 # as_fn_exit STATUS
18937 # -----------------
18938 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18942 as_fn_set_status
$1
18948 # Portably unset VAR.
18951 { eval $1=; unset $1;}
18953 as_unset
=as_fn_unset
18954 # as_fn_append VAR VALUE
18955 # ----------------------
18956 # Append the text in VALUE to the end of the definition contained in VAR. Take
18957 # advantage of any shell optimizations that allow amortized linear growth over
18958 # repeated appends, instead of the typical quadratic growth present in naive
18960 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18961 eval 'as_fn_append ()
18972 # as_fn_arith ARG...
18973 # ------------------
18974 # Perform arithmetic evaluation on the ARGs, and store the result in the
18975 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18976 # must be portable across $(()) and expr.
18977 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18978 eval 'as_fn_arith ()
18985 as_val
=`expr "$@" || test $? -eq 1`
18990 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18991 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18997 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18998 as_basename
=basename
19003 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19009 as_me
=`$as_basename -- "$0" ||
19010 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19011 X"$0" : 'X\(//\)$' \| \
19012 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19014 sed '/^.*\/\([^/][^/]*\)\/*$/{
19028 # Avoid depending upon Character Ranges.
19029 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19030 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19031 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19032 as_cr_digits
='0123456789'
19033 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19035 ECHO_C
= ECHO_N
= ECHO_T
=
19036 case `echo -n x` in #(((((
19038 case `echo 'xy\c'` in
19039 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19041 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19048 rm -f conf$$ conf$$.exe conf$$.
file
19049 if test -d conf$$.dir
; then
19050 rm -f conf$$.dir
/conf$$.
file
19053 mkdir conf$$.dir
2>/dev
/null
19055 if (echo >conf$$.
file) 2>/dev
/null
; then
19056 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19058 # ... but there are two gotchas:
19059 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19060 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19061 # In both cases, we have to default to `cp -pR'.
19062 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19064 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19072 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19073 rmdir conf$$.dir
2>/dev
/null
19078 # Create "$as_dir" as a directory, including parents if necessary.
19083 -*) as_dir
=.
/$as_dir;;
19085 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19089 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19090 *) as_qdir
=$as_dir;;
19092 as_dirs
="'$as_qdir' $as_dirs"
19093 as_dir
=`$as_dirname -- "$as_dir" ||
19094 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19095 X"$as_dir" : 'X\(//\)[^/]' \| \
19096 X"$as_dir" : 'X\(//\)$' \| \
19097 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19098 $as_echo X"$as_dir" |
19099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19103 /^X\(\/\/\)[^/].*/{
19116 test -d "$as_dir" && break
19118 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19119 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19123 if mkdir
-p .
2>/dev
/null
; then
19124 as_mkdir_p
='mkdir -p "$as_dir"'
19126 test -d .
/-p && rmdir .
/-p
19131 # as_fn_executable_p FILE
19132 # -----------------------
19133 # Test if FILE is an executable regular file.
19134 as_fn_executable_p
()
19136 test -f "$1" && test -x "$1"
19137 } # as_fn_executable_p
19138 as_test_x
='test -x'
19139 as_executable_p
=as_fn_executable_p
19141 # Sed expression to map a string onto a valid CPP name.
19142 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19144 # Sed expression to map a string onto a valid variable name.
19145 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19149 ## ----------------------------------- ##
19150 ## Main body of $CONFIG_STATUS script. ##
19151 ## ----------------------------------- ##
19153 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19156 # Save the log message, to keep $0 and so on meaningful, and to
19157 # report actual input values of CONFIG_FILES etc. instead of their
19158 # values after options handling.
19160 This file was extended by Wine $as_me 1.9.22, which was
19161 generated by GNU Autoconf 2.69. Invocation command line was
19163 CONFIG_FILES = $CONFIG_FILES
19164 CONFIG_HEADERS = $CONFIG_HEADERS
19165 CONFIG_LINKS = $CONFIG_LINKS
19166 CONFIG_COMMANDS = $CONFIG_COMMANDS
19169 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19174 case $ac_config_files in *"
19175 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19178 case $ac_config_headers in *"
19179 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19184 # Files that config.status was made for.
19185 config_files="$ac_config_files"
19186 config_headers="$ac_config_headers"
19187 config_links="$ac_config_links"
19188 config_commands="$ac_config_commands"
19192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19194 \`$as_me' instantiates files and other configuration actions
19195 from templates according to the current configuration. Unless the files
19196 and actions are specified as TAGs, all are instantiated by default.
19198 Usage: $0 [OPTION]... [TAG]...
19200 -h, --help print this help, then exit
19201 -V, --version print version number and configuration settings, then exit
19202 --config print configuration, then exit
19203 -q, --quiet, --silent
19204 do not print progress messages
19205 -d, --debug don't remove temporary files
19206 --recheck update $as_me by reconfiguring in the same conditions
19207 --file=FILE[:TEMPLATE]
19208 instantiate the configuration file FILE
19209 --header=FILE[:TEMPLATE]
19210 instantiate the configuration header FILE
19212 Configuration files:
19215 Configuration headers:
19218 Configuration links:
19221 Configuration commands:
19224 Report bugs to <wine-devel@winehq.org>.
19225 Wine home page: <http://www.winehq.org>."
19228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19229 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19231 Wine config.status 1.9.22
19232 configured by $0, generated by GNU Autoconf 2.69,
19233 with options \\"\$ac_cs_config\\"
19235 Copyright (C) 2012 Free Software Foundation, Inc.
19236 This config.status script is free software; the Free Software Foundation
19237 gives unlimited permission to copy, distribute and modify it."
19241 test -n "\$AWK" || AWK=awk
19244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19245 # The default lists apply if the user does not specify any file.
19251 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19252 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19256 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19268 # Handling of the options.
19269 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19271 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19272 $as_echo "$ac_cs_version"; exit ;;
19273 --config |
--confi |
--conf |
--con |
--co |
--c )
19274 $as_echo "$ac_cs_config"; exit ;;
19275 --debug |
--debu |
--deb |
--de |
--d |
-d )
19277 --file |
--fil |
--fi |
--f )
19280 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19281 '') as_fn_error $?
"missing file argument" ;;
19283 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19284 ac_need_defaults
=false
;;
19285 --header |
--heade |
--head |
--hea )
19288 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19290 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19291 ac_need_defaults
=false
;;
19293 # Conflict between --help and --header
19294 as_fn_error $?
"ambiguous option: \`$1'
19295 Try \`$0 --help' for more information.";;
19296 --help |
--hel |
-h )
19297 $as_echo "$ac_cs_usage"; exit ;;
19298 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19299 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19302 # This is an error.
19303 -*) as_fn_error $?
"unrecognized option: \`$1'
19304 Try \`$0 --help' for more information." ;;
19306 *) as_fn_append ac_config_targets
" $1"
19307 ac_need_defaults
=false
;;
19313 ac_configure_extra_args
=
19315 if $ac_cs_silent; then
19317 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19322 if \$ac_cs_recheck; then
19323 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19325 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19326 CONFIG_SHELL='$SHELL'
19327 export CONFIG_SHELL
19332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19336 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19337 ## Running $as_me. ##
19343 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19347 wine_fn_output_makedep ()
19349 as_dir=tools; as_fn_mkdir_p
19350 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19352 wine_fn_output_makefile ()
19354 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19355 `cat $wine_rules_file`
19357 as_fn_error $? "could not create Makefile" "$LINENO" 5
19362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19364 # Handling of arguments.
19365 for ac_config_target
in $ac_config_targets
19367 case $ac_config_target in
19368 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19369 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
19370 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19371 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19372 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19373 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19374 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19375 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19376 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
19377 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19378 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
19379 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
19380 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19382 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19387 # If the user did not use the arguments to specify the items to instantiate,
19388 # then the envvar interface is used. Set only those that are not.
19389 # We use the long form for the default assignment because of an extremely
19390 # bizarre bug on SunOS 4.1.3.
19391 if $ac_need_defaults; then
19392 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19393 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19394 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19395 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19398 # Have a temporary directory for convenience. Make it in the build tree
19399 # simply because there is no reason against having it here, and in addition,
19400 # creating and moving files from /tmp can sometimes cause problems.
19401 # Hook for its removal unless debugging.
19402 # Note that there is a small window in which the directory will not be cleaned:
19403 # after its creation but before its name has been assigned to `$tmp'.
19407 trap 'exit_status=$?
19408 : "${ac_tmp:=$tmp}"
19409 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19411 trap 'as_fn_exit 1' 1 2 13 15
19413 # Create a (secure) tmp directory for tmp files.
19416 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19420 tmp
=.
/conf$$
-$RANDOM
19421 (umask 077 && mkdir
"$tmp")
19422 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19425 # Set up the scripts for CONFIG_FILES section.
19426 # No need to generate them if there are no CONFIG_FILES.
19427 # This happens for instance with `./config.status config.h'.
19428 if test -n "$CONFIG_FILES"; then
19431 ac_cr
=`echo X | tr X '\015'`
19432 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19433 # But we know of no other shell where ac_cr would be empty at this
19434 # point, so we can use a bashism as a fallback.
19435 if test "x$ac_cr" = x
; then
19436 eval ac_cr
=\$
\'\\r
\'
19438 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19439 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19442 ac_cs_awk_cr
=$ac_cr
19445 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19450 echo "cat >conf$$subs.awk <<_ACEOF" &&
19451 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19453 } >conf$$subs.sh ||
19454 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19455 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19457 for ac_last_try in false false false false false :; do
19458 . ./conf$$subs.sh ||
19459 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19461 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19462 if test $ac_delim_n = $ac_delim_num; then
19464 elif $ac_last_try; then
19465 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19467 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19470 rm -f conf$$subs.sh
19472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19473 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19477 s/^/S["/; s
/!.
*/"]=/
19487 s/\(.\{148\}\)..*/\1/
19489 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19494 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19501 s/\(.\{148\}\)..*/\1/
19503 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19507 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19512 ' <conf$$subs.awk | sed '
19517 ' >>$CONFIG_STATUS || ac_write_fail=1
19518 rm -f conf$$subs.awk
19519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19521 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19522 for (key in S) S_is_set[key] = 1
19528 nfields = split(line, field, "@
")
19530 len = length(field[1])
19531 for (i = 2; i < nfields; i++) {
19533 keylen = length(key)
19534 if (S_is_set[key]) {
19536 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19537 len += length(value) + length(field[++i])
19548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19549 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19550 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19553 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19554 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19557 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19558 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19559 # trailing colons and then remove the whole line if VPATH becomes empty
19560 # (actually we leave an empty line to preserve line numbers).
19561 if test "x
$srcdir" = x.; then
19562 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19581 fi # test -n "$CONFIG_FILES"
19583 # Set up the scripts for CONFIG_HEADERS section.
19584 # No need to generate them if there are no CONFIG_HEADERS.
19585 # This happens for instance with `./config.status Makefile'.
19586 if test -n "$CONFIG_HEADERS"; then
19587 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19591 # Transform confdefs.h into an awk script `defines.awk', embedded as
19592 # here-document in config.status, that substitutes the proper values into
19593 # config.h.in to produce config.h.
19595 # Create a delimiter string that does not exist in confdefs.h, to ease
19596 # handling of long lines.
19598 for ac_last_try in false false :; do
19599 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19600 if test -z "$ac_tt"; then
19602 elif $ac_last_try; then
19603 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19605 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19609 # For the awk script, D is an array of macro values keyed by name,
19610 # likewise P contains macro parameters if any. Preserve backslash
19611 # newline sequences.
19613 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19615 s/.\{148\}/&'"$ac_delim"'/g
19618 s/^[ ]*#[ ]*define[ ][ ]*/ /
19625 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19627 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19631 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19632 D["\
1"]=" \
3\\\\\\n
"\\/p
19634 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19639 s/.\{148\}/&'"$ac_delim"'/g
19644 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19647 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19649 ' <confdefs.h | sed '
19650 s/'"$ac_delim"'/"\\\
19651 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19653 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19654 for (key in D) D_is_set[key] = 1
19657 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19659 split(line, arg, " ")
19660 if (arg[1] == "#") {
19664 defundef
= substr
(arg
[1], 2)
19667 split(mac1
, mac2
, "(") #)
19669 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19670 if (D_is_set
[macro
]) {
19671 # Preserve the white space surrounding the "#".
19672 print prefix
"define", macro P
[macro
] D
[macro
]
19675 # Replace #undef with comments. This is necessary, for example,
19676 # in the case of _POSIX_SOURCE, which is predefined and required
19677 # on some systems where configure will not decide to define it.
19678 if (defundef
== "undef") {
19679 print
"/*", prefix defundef
, macro
, "*/"
19687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19688 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19689 fi # test -n "$CONFIG_HEADERS"
19692 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19697 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19699 case $ac_mode$ac_tag in
19701 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19702 :[FH
]-) ac_tag
=-:-;;
19703 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19720 -) ac_f
="$ac_tmp/stdin";;
19721 *) # Look for the file first in the build tree, then in the source tree
19722 # (if the path is not absolute). The absolute path cannot be DOS-style,
19723 # because $ac_f cannot contain `:'.
19727 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19729 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19731 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19732 as_fn_append ac_file_inputs
" '$ac_f'"
19735 # Let's still pretend it is `configure' which instantiates (i.e., don't
19736 # use $as_me), people would be surprised to read:
19737 # /* config.h. Generated by config.status. */
19738 configure_input
='Generated from '`
19739 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19741 if test x
"$ac_file" != x-
; then
19742 configure_input
="$ac_file. $configure_input"
19743 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19744 $as_echo "$as_me: creating $ac_file" >&6;}
19746 # Neutralize special characters interpreted by sed in replacement strings.
19747 case $configure_input in #(
19748 *\
&* |
*\|
* |
*\\* )
19749 ac_sed_conf_input
=`$as_echo "$configure_input" |
19750 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19751 *) ac_sed_conf_input
=$configure_input;;
19755 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19756 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19761 ac_dir
=`$as_dirname -- "$ac_file" ||
19762 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19763 X"$ac_file" : 'X\(//\)[^/]' \| \
19764 X"$ac_file" : 'X\(//\)$' \| \
19765 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19766 $as_echo X"$ac_file" |
19767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19771 /^X\(\/\/\)[^/].*/{
19784 as_dir
="$ac_dir"; as_fn_mkdir_p
19788 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19790 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19791 # A ".." for each directory in $ac_dir_suffix.
19792 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19793 case $ac_top_builddir_sub in
19794 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19795 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19798 ac_abs_top_builddir
=$ac_pwd
19799 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19800 # for backward compatibility:
19801 ac_top_builddir
=$ac_top_build_prefix
19804 .
) # We are building in place.
19806 ac_top_srcdir
=$ac_top_builddir_sub
19807 ac_abs_top_srcdir
=$ac_pwd ;;
19808 [\\/]* | ?
:[\\/]* ) # Absolute name.
19809 ac_srcdir
=$srcdir$ac_dir_suffix;
19810 ac_top_srcdir
=$srcdir
19811 ac_abs_top_srcdir
=$srcdir ;;
19812 *) # Relative name.
19813 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19814 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19815 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19817 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19829 # If the template does not know about datarootdir, expand it.
19830 # FIXME: This hack should be removed a few years after 2.60.
19831 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19842 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19843 *datarootdir
*) ac_datarootdir_seen
=yes;;
19844 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19846 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19849 ac_datarootdir_hack='
19850 s&@datadir@&$datadir&g
19851 s&@docdir@&$docdir&g
19852 s&@infodir@&$infodir&g
19853 s&@localedir@&$localedir&g
19854 s&@mandir@&$mandir&g
19855 s&\\\${datarootdir}&$datarootdir&g' ;;
19859 # Neutralize VPATH when `$srcdir' = `.'.
19860 # Shell code in configure.ac might set extrasub.
19861 # FIXME: do we really want to maintain this feature?
19862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19863 ac_sed_extra="$ac_vpsub
19866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19868 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19869 s|@configure_input@|
$ac_sed_conf_input|
;t t
19870 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19871 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19872 s
&@srcdir@
&$ac_srcdir&;t t
19873 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19874 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19875 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19876 s
&@builddir@
&$ac_builddir&;t t
19877 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19878 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19879 $ac_datarootdir_hack
19881 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19882 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19884 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19885 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19886 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19887 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19889 which seems to be undefined. Please make sure it is defined" >&5
19890 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19891 which seems to be undefined. Please make sure it is defined" >&2;}
19893 rm -f "$ac_tmp/stdin"
19895 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19896 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19898 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19904 if test x"$ac_file" != x-; then
19906 $as_echo "/* $configure_input */" \
19907 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19908 } >"$ac_tmp/config.h" \
19909 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19910 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19911 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19912 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19915 mv "$ac_tmp/config.h" "$ac_file" \
19916 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19919 $as_echo "/* $configure_input */" \
19920 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19921 || as_fn_error $? "could not create -" "$LINENO" 5
19929 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19932 # Prefer the file from the source tree if names are identical.
19933 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19934 ac_source=$srcdir/$ac_source
19937 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19938 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19940 if test ! -r "$ac_source"; then
19941 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19945 # Try a relative symlink, then a hard link, then a copy.
19947 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19948 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19950 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19951 ln "$ac_source" "$ac_file" 2>/dev/null ||
19952 cp -p "$ac_source" "$ac_file" ||
19953 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19956 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19957 $as_echo "$as_me: executing $ac_file commands" >&6;}
19962 case $ac_file$ac_mode in
19963 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19964 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19965 "Makefile":C) wine_fn_output_makefile Makefile ;;
19973 ac_clean_files=$ac_clean_files_save
19975 test $ac_write_fail = 0 ||
19976 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19979 # configure is writing to config.log, and then calls config.status.
19980 # config.status does its own redirection, appending to config.log.
19981 # Unfortunately, on DOS this fails, as config.log is still kept open
19982 # by configure, so config.status won't be able to
write to it
; its
19983 # output is simply discarded. So we exec the FD to /dev/null,
19984 # effectively closing config.log, so it can be properly (re)opened and
19985 # appended to by config.status. When coming back to configure, we
19986 # need to make the FD available again.
19987 if test "$no_create" != yes; then
19989 ac_config_status_args
=
19990 test "$silent" = yes &&
19991 ac_config_status_args
="$ac_config_status_args --quiet"
19993 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19995 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19996 # would make configure fail if this is the last instruction.
19997 $ac_cs_success || as_fn_exit
1
19999 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20001 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20005 if test "$no_create" = "yes"
20011 if test "x$wine_notices" != x
; then
20014 for msg
in $wine_notices; do
20016 if ${msg:+false} :; then :
20019 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20020 $as_echo "$as_me: $msg" >&6;}
20025 for msg
in $wine_warnings; do
20027 if ${msg:+false} :; then :
20031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20032 $as_echo "$as_me: WARNING: $msg" >&2;}
20038 $as_me: Finished. Do '${ac_make}' to compile Wine.