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_eventing_classicprovider_l1_1_0
1008 enable_api_ms_win_eventing_consumer_l1_1_0
1009 enable_api_ms_win_eventing_controller_l1_1_0
1010 enable_api_ms_win_eventing_provider_l1_1_0
1011 enable_api_ms_win_eventlog_legacy_l1_1_0
1012 enable_api_ms_win_ntuser_dc_access_l1_1_0
1013 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1014 enable_api_ms_win_security_audit_l1_1_1
1015 enable_api_ms_win_security_base_l1_1_0
1016 enable_api_ms_win_security_base_l1_2_0
1017 enable_api_ms_win_security_base_private_l1_1_1
1018 enable_api_ms_win_security_lsalookup_l1_1_0
1019 enable_api_ms_win_security_lsalookup_l1_1_1
1020 enable_api_ms_win_security_sddl_l1_1_0
1021 enable_api_ms_win_service_core_l1_1_0
1022 enable_api_ms_win_service_core_l1_1_1
1023 enable_api_ms_win_service_management_l1_1_0
1024 enable_api_ms_win_service_management_l2_1_0
1025 enable_api_ms_win_service_private_l1_1_1
1026 enable_api_ms_win_service_winsvc_l1_1_0
1027 enable_api_ms_win_service_winsvc_l1_2_0
1028 enable_api_ms_win_shell_shellcom_l1_1_0
1029 enable_api_ms_win_shell_shellfolders_l1_1_0
1042 enable_bluetoothapis
1075 enable_d3dcompiler_33
1076 enable_d3dcompiler_34
1077 enable_d3dcompiler_35
1078 enable_d3dcompiler_36
1079 enable_d3dcompiler_37
1080 enable_d3dcompiler_38
1081 enable_d3dcompiler_39
1082 enable_d3dcompiler_40
1083 enable_d3dcompiler_41
1084 enable_d3dcompiler_42
1085 enable_d3dcompiler_43
1086 enable_d3dcompiler_46
1087 enable_d3dcompiler_47
1165 enable_explorerframe
1166 enable_ext_ms_win_gdi_dc_create_l1_1_1
1167 enable_ext_ms_win_gdi_dc_l1_2_0
1168 enable_ext_ms_win_gdi_devcaps_l1_1_0
1169 enable_ext_ms_win_gdi_draw_l1_1_1
1170 enable_ext_ms_win_gdi_render_l1_1_0
1171 enable_ext_ms_win_kernel32_package_current_l1_1_0
1172 enable_ext_ms_win_ntuser_message_l1_1_1
1173 enable_ext_ms_win_ntuser_private_l1_1_1
1174 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1175 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1176 enable_ext_ms_win_ntuser_window_l1_1_1
1177 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1178 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1179 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1180 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1347 enable_photometadatahandler
1437 enable_windowscodecs
1438 enable_windowscodecsext
1441 enable_winecoreaudio_drv
1443 enable_winegstreamer
1445 enable_winejoystick_drv
1451 enable_winepulse_drv
1452 enable_wineqtdecoder
1521 enable_aspnet_regiis
1557 enable_presentationfontcache
1570 enable_servicemodelreg
1593 enable_winemenubuilder
1595 enable_winemsibuilder
1610 ac_precious_vars
='build_alias
1665 # Initialize some variables set by options.
1667 ac_init_version
=false
1668 ac_unrecognized_opts
=
1669 ac_unrecognized_sep
=
1670 # The variables have the same names as the options, with
1671 # dashes changed to underlines.
1672 cache_file
=/dev
/null
1679 program_transform_name
=s
,x
,x
,
1687 # Installation directory options.
1688 # These are left unexpanded so users can "make install exec_prefix=/foo"
1689 # and all the variables that are supposed to be based on exec_prefix
1690 # by default will actually change.
1691 # Use braces instead of parens because sh, perl, etc. also accept them.
1692 # (The list follows the same order as the GNU Coding Standards.)
1693 bindir
='${exec_prefix}/bin'
1694 sbindir
='${exec_prefix}/sbin'
1695 libexecdir
='${exec_prefix}/libexec'
1696 datarootdir
='${prefix}/share'
1697 datadir
='${datarootdir}'
1698 sysconfdir
='${prefix}/etc'
1699 sharedstatedir
='${prefix}/com'
1700 localstatedir
='${prefix}/var'
1701 runstatedir
='${localstatedir}/run'
1702 includedir
='${prefix}/include'
1703 oldincludedir
='/usr/include'
1704 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1705 infodir
='${datarootdir}/info'
1710 libdir
='${exec_prefix}/lib'
1711 localedir
='${datarootdir}/locale'
1712 mandir
='${datarootdir}/man'
1718 # If the previous option needs an argument, assign it.
1719 if test -n "$ac_prev"; then
1720 eval $ac_prev=\
$ac_option
1726 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1731 # Accept the important Cygnus configure options, so we can diagnose typos.
1733 case $ac_dashdash$ac_option in
1737 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1739 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1740 bindir
=$ac_optarg ;;
1742 -build |
--build |
--buil |
--bui |
--bu)
1743 ac_prev
=build_alias
;;
1744 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1745 build_alias
=$ac_optarg ;;
1747 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1748 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1749 ac_prev
=cache_file
;;
1750 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1751 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1752 cache_file
=$ac_optarg ;;
1754 --config-cache |
-C)
1755 cache_file
=config.cache
;;
1757 -datadir |
--datadir |
--datadi |
--datad)
1759 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1760 datadir
=$ac_optarg ;;
1762 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1763 |
--dataroo |
--dataro |
--datar)
1764 ac_prev
=datarootdir
;;
1765 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1766 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1767 datarootdir
=$ac_optarg ;;
1769 -disable-* |
--disable-*)
1770 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1771 # Reject names that are not valid shell variable names.
1772 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1773 as_fn_error $?
"invalid feature name: $ac_useropt"
1774 ac_useropt_orig
=$ac_useropt
1775 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1776 case $ac_user_opts in
1778 "enable_
$ac_useropt"
1780 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1781 ac_unrecognized_sep
=', ';;
1783 eval enable_
$ac_useropt=no
;;
1785 -docdir |
--docdir |
--docdi |
--doc |
--do)
1787 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1788 docdir
=$ac_optarg ;;
1790 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1792 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1793 dvidir
=$ac_optarg ;;
1795 -enable-* |
--enable-*)
1796 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1797 # Reject names that are not valid shell variable names.
1798 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1799 as_fn_error $?
"invalid feature name: $ac_useropt"
1800 ac_useropt_orig
=$ac_useropt
1801 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1802 case $ac_user_opts in
1804 "enable_
$ac_useropt"
1806 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1807 ac_unrecognized_sep
=', ';;
1809 eval enable_
$ac_useropt=\
$ac_optarg ;;
1811 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1812 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1813 |
--exec |
--exe |
--ex)
1814 ac_prev
=exec_prefix
;;
1815 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1816 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1817 |
--exec=* |
--exe=* |
--ex=*)
1818 exec_prefix
=$ac_optarg ;;
1820 -gas |
--gas |
--ga |
--g)
1821 # Obsolete; use --with-gas.
1824 -help |
--help |
--hel |
--he |
-h)
1825 ac_init_help
=long
;;
1826 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1827 ac_init_help
=recursive
;;
1828 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1829 ac_init_help
=short
;;
1831 -host |
--host |
--hos |
--ho)
1832 ac_prev
=host_alias
;;
1833 -host=* |
--host=* |
--hos=* |
--ho=*)
1834 host_alias
=$ac_optarg ;;
1836 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1838 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1840 htmldir
=$ac_optarg ;;
1842 -includedir |
--includedir |
--includedi |
--included |
--include \
1843 |
--includ |
--inclu |
--incl |
--inc)
1844 ac_prev
=includedir
;;
1845 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1846 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1847 includedir
=$ac_optarg ;;
1849 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1851 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1852 infodir
=$ac_optarg ;;
1854 -libdir |
--libdir |
--libdi |
--libd)
1856 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1857 libdir
=$ac_optarg ;;
1859 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1860 |
--libexe |
--libex |
--libe)
1861 ac_prev
=libexecdir
;;
1862 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1863 |
--libexe=* |
--libex=* |
--libe=*)
1864 libexecdir
=$ac_optarg ;;
1866 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1867 ac_prev
=localedir
;;
1868 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1869 localedir
=$ac_optarg ;;
1871 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1872 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1873 ac_prev
=localstatedir
;;
1874 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1875 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1876 localstatedir
=$ac_optarg ;;
1878 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1880 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1881 mandir
=$ac_optarg ;;
1883 -nfp |
--nfp |
--nf)
1884 # Obsolete; use --without-fp.
1887 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1888 |
--no-cr |
--no-c |
-n)
1891 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1892 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1895 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1896 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1897 |
--oldin |
--oldi |
--old |
--ol |
--o)
1898 ac_prev
=oldincludedir
;;
1899 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1900 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1901 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1902 oldincludedir
=$ac_optarg ;;
1904 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1906 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1907 prefix
=$ac_optarg ;;
1909 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1910 |
--program-pre |
--program-pr |
--program-p)
1911 ac_prev
=program_prefix
;;
1912 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1913 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1914 program_prefix
=$ac_optarg ;;
1916 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1917 |
--program-suf |
--program-su |
--program-s)
1918 ac_prev
=program_suffix
;;
1919 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1920 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1921 program_suffix
=$ac_optarg ;;
1923 -program-transform-name |
--program-transform-name \
1924 |
--program-transform-nam |
--program-transform-na \
1925 |
--program-transform-n |
--program-transform- \
1926 |
--program-transform |
--program-transfor \
1927 |
--program-transfo |
--program-transf \
1928 |
--program-trans |
--program-tran \
1929 |
--progr-tra |
--program-tr |
--program-t)
1930 ac_prev
=program_transform_name
;;
1931 -program-transform-name=* |
--program-transform-name=* \
1932 |
--program-transform-nam=* |
--program-transform-na=* \
1933 |
--program-transform-n=* |
--program-transform-=* \
1934 |
--program-transform=* |
--program-transfor=* \
1935 |
--program-transfo=* |
--program-transf=* \
1936 |
--program-trans=* |
--program-tran=* \
1937 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1938 program_transform_name
=$ac_optarg ;;
1940 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1942 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1943 pdfdir
=$ac_optarg ;;
1945 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1947 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1950 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1951 |
-silent |
--silent |
--silen |
--sile |
--sil)
1954 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1955 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1956 |
--run |
--ru |
--r)
1957 ac_prev
=runstatedir
;;
1958 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1959 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1960 |
--run=* |
--ru=* |
--r=*)
1961 runstatedir
=$ac_optarg ;;
1963 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1965 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1967 sbindir
=$ac_optarg ;;
1969 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1970 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1971 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1973 ac_prev
=sharedstatedir
;;
1974 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1975 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1976 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1978 sharedstatedir
=$ac_optarg ;;
1980 -site |
--site |
--sit)
1982 -site=* |
--site=* |
--sit=*)
1985 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1987 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1988 srcdir
=$ac_optarg ;;
1990 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1991 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1992 ac_prev
=sysconfdir
;;
1993 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1994 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1995 sysconfdir
=$ac_optarg ;;
1997 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1998 ac_prev
=target_alias
;;
1999 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2000 target_alias
=$ac_optarg ;;
2002 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2005 -version |
--version |
--versio |
--versi |
--vers |
-V)
2006 ac_init_version
=: ;;
2009 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2010 # Reject names that are not valid shell variable names.
2011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2012 as_fn_error $?
"invalid package name: $ac_useropt"
2013 ac_useropt_orig
=$ac_useropt
2014 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2015 case $ac_user_opts in
2019 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2020 ac_unrecognized_sep
=', ';;
2022 eval with_
$ac_useropt=\
$ac_optarg ;;
2024 -without-* |
--without-*)
2025 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2026 # Reject names that are not valid shell variable names.
2027 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2028 as_fn_error $?
"invalid package name: $ac_useropt"
2029 ac_useropt_orig
=$ac_useropt
2030 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2031 case $ac_user_opts in
2035 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2036 ac_unrecognized_sep
=', ';;
2038 eval with_
$ac_useropt=no
;;
2041 # Obsolete; use --with-x.
2044 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2045 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2046 ac_prev
=x_includes
;;
2047 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2048 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2049 x_includes
=$ac_optarg ;;
2051 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2052 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2053 ac_prev
=x_libraries
;;
2054 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2055 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2056 x_libraries
=$ac_optarg ;;
2058 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2059 Try \`$0 --help' for more information"
2063 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2064 # Reject names that are not valid shell variable names.
2065 case $ac_envvar in #(
2066 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2067 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2069 eval $ac_envvar=\
$ac_optarg
2070 export $ac_envvar ;;
2073 # FIXME: should be removed in autoconf 3.0.
2074 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2075 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2076 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2077 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2083 if test -n "$ac_prev"; then
2084 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2085 as_fn_error $?
"missing argument to $ac_option"
2088 if test -n "$ac_unrecognized_opts"; then
2089 case $enable_option_checking in
2091 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2092 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2096 # Check all directory arguments for consistency.
2097 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2098 datadir sysconfdir sharedstatedir localstatedir includedir \
2099 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2100 libdir localedir mandir runstatedir
2102 eval ac_val
=\$
$ac_var
2103 # Remove trailing slashes.
2106 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2107 eval $ac_var=\
$ac_val;;
2109 # Be sure to have absolute directory names.
2111 [\\/$
]* | ?
:[\\/]* ) continue;;
2112 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2114 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2117 # There might be people who depend on the old broken behavior: `$host'
2118 # used to hold the argument of --host etc.
2119 # FIXME: To remove some day.
2122 target
=$target_alias
2124 # FIXME: To remove some day.
2125 if test "x$host_alias" != x
; then
2126 if test "x$build_alias" = x
; then
2127 cross_compiling
=maybe
2128 elif test "x$build_alias" != "x$host_alias"; then
2134 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2136 test "$silent" = yes && exec 6>/dev
/null
2139 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2140 ac_ls_di
=`ls -di .` &&
2141 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2142 as_fn_error $?
"working directory cannot be determined"
2143 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2144 as_fn_error $?
"pwd does not report name of working directory"
2147 # Find the source files, if location was not specified.
2148 if test -z "$srcdir"; then
2149 ac_srcdir_defaulted
=yes
2150 # Try the directory containing this script, then the parent directory.
2151 ac_confdir
=`$as_dirname -- "$as_myself" ||
2152 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2153 X"$as_myself" : 'X\(//\)[^/]' \| \
2154 X"$as_myself" : 'X\(//\)$' \| \
2155 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2156 $as_echo X"$as_myself" |
2157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2175 if test ! -r "$srcdir/$ac_unique_file"; then
2179 ac_srcdir_defaulted
=no
2181 if test ! -r "$srcdir/$ac_unique_file"; then
2182 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2183 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2185 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2187 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2189 # When building in place, set srcdir=.
2190 if test "$ac_abs_confdir" = "$ac_pwd"; then
2193 # Remove unnecessary trailing slashes from srcdir.
2194 # Double slashes in file names in object file debugging info
2195 # mess up M-x gdb in Emacs.
2197 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2199 for ac_var
in $ac_precious_vars; do
2200 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2201 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2202 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2203 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2207 # Report the --help message.
2209 if test "$ac_init_help" = "long"; then
2210 # Omit some internal or obsolete options to make the list less imposing.
2211 # This message is too long to be a string in the A/UX 3.1 sh.
2213 \`configure' configures Wine 1.9.22 to adapt to many kinds of systems.
2215 Usage: $0 [OPTION]... [VAR=VALUE]...
2217 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2218 VAR=VALUE. See below for descriptions of some of the useful variables.
2220 Defaults for the options are specified in brackets.
2223 -h, --help display this help and exit
2224 --help=short display options specific to this package
2225 --help=recursive display the short help of all the included packages
2226 -V, --version display version information and exit
2227 -q, --quiet, --silent do not print \`checking ...' messages
2228 --cache-file=FILE cache test results in FILE [disabled]
2229 -C, --config-cache alias for \`--cache-file=config.cache'
2230 -n, --no-create do not create output files
2231 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2233 Installation directories:
2234 --prefix=PREFIX install architecture-independent files in PREFIX
2235 [$ac_default_prefix]
2236 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2239 By default, \`make install' will install all the files in
2240 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2241 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2242 for instance \`--prefix=\$HOME'.
2244 For better control, use the options below.
2246 Fine tuning of the installation directories:
2247 --bindir=DIR user executables [EPREFIX/bin]
2248 --sbindir=DIR system admin executables [EPREFIX/sbin]
2249 --libexecdir=DIR program executables [EPREFIX/libexec]
2250 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2251 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2252 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2253 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2254 --libdir=DIR object code libraries [EPREFIX/lib]
2255 --includedir=DIR C header files [PREFIX/include]
2256 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2257 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2258 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2259 --infodir=DIR info documentation [DATAROOTDIR/info]
2260 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2261 --mandir=DIR man documentation [DATAROOTDIR/man]
2262 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2263 --htmldir=DIR html documentation [DOCDIR]
2264 --dvidir=DIR dvi documentation [DOCDIR]
2265 --pdfdir=DIR pdf documentation [DOCDIR]
2266 --psdir=DIR ps documentation [DOCDIR]
2272 --x-includes=DIR X include files are
in DIR
2273 --x-libraries=DIR X library files are
in DIR
2276 --build=BUILD configure
for building on BUILD
[guessed
]
2277 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2281 if test -n "$ac_init_help"; then
2282 case $ac_init_help in
2283 short | recursive
) echo "Configuration of Wine 1.9.22:";;
2288 --disable-option-checking ignore unrecognized
--enable/--with options
2289 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2290 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2291 --disable-win16 do not include Win16 support
2292 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2294 --disable-tests do not build the regression tests
2295 --enable-maintainer-mode
2296 enable maintainer-specific build rules
2297 --disable-largefile omit support for large files
2300 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2301 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2302 --without-alsa do not use the Alsa sound support
2303 --without-capi do not use CAPI (ISDN support)
2304 --without-cms do not use CMS (color management support)
2305 --without-coreaudio do not use the CoreAudio sound support
2306 --without-cups do not use CUPS
2307 --without-curses do not use (n)curses
2308 --without-dbus do not use DBus (dynamic device support)
2309 --without-fontconfig do not use fontconfig
2310 --without-freetype do not use the FreeType library
2311 --without-gettext do not use gettext
2312 --with-gettextpo use the GetTextPO library to rebuild po files
2313 --without-gphoto do not use gphoto (Digital Camera support)
2314 --without-glu do not use the GLU library
2315 --without-gnutls do not use GnuTLS (schannel support)
2316 --without-gsm do not use libgsm (GSM 06.10 codec support)
2317 --without-gstreamer do not use GStreamer (codecs support)
2318 --without-hal do not use HAL (dynamic device support)
2319 --without-jpeg do not use JPEG
2320 --without-ldap do not use LDAP
2321 --without-mpg123 do not use the mpg123 library
2322 --without-netapi do not use the Samba NetAPI library
2323 --without-openal do not use OpenAL
2324 --without-opencl do not use OpenCL
2325 --without-opengl do not use OpenGL
2326 --without-osmesa do not use the OSMesa library
2327 --without-oss do not use the OSS sound support
2328 --without-pcap do not use the Packet Capture library
2329 --without-png do not use PNG
2330 --without-pthread do not use the pthread library
2331 --without-pulse do not use PulseAudio sound support
2332 --without-sane do not use SANE (scanner support)
2333 --without-tiff do not use TIFF
2334 --without-udev do not use udev (plug and play support)
2335 --without-v4l do not use v4l1 (v4l support)
2336 --without-xcomposite do not use the Xcomposite extension
2337 --without-xcursor do not use the Xcursor extension
2338 --without-xinerama do not use Xinerama (multi-monitor support)
2339 --without-xinput do not use the Xinput extension
2340 --without-xinput2 do not use the Xinput 2 extension
2341 --without-xml do not use XML
2342 --without-xrandr do not use Xrandr (resolution changes)
2343 --without-xrender do not use the Xrender extension
2344 --without-xshape do not use the Xshape extension
2345 --without-xshm do not use XShm (shared memory extension)
2346 --without-xslt do not use XSLT
2347 --without-xxf86vm do not use XFree video mode extension
2348 --without-zlib do not use Zlib (data compression)
2349 --with-wine-tools=DIR use Wine tools from directory DIR
2350 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2351 --with-x use the X Window System
2353 Some influential environment variables:
2354 CC C compiler command
2355 CFLAGS C compiler flags
2356 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2357 nonstandard directory <lib dir>
2358 LIBS libraries to pass to the linker, e.g. -l<library>
2359 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2360 you have headers in a nonstandard directory <include dir>
2361 CXX C++ compiler command
2362 CXXFLAGS C++ compiler flags
2364 XMKMF Path to xmkmf, Makefile generator for X Window System
2365 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2366 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2367 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2368 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2369 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2370 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2371 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2372 HAL_LIBS Linker flags for hal, overriding pkg-config
2374 C compiler flags for gnutls, overriding pkg-config
2375 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2376 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2377 SANE_LIBS Linker flags for libsane, overriding pkg-config
2379 C compiler flags for libgphoto2, overriding pkg-config
2381 Linker flags for libgphoto2, overriding pkg-config
2383 C compiler flags for libgphoto2_port, overriding pkg-config
2385 Linker flags for libgphoto2_port, overriding pkg-config
2387 C compiler flags for lcms2, overriding pkg-config
2388 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2390 C compiler flags for freetype2, overriding pkg-config
2392 Linker flags for freetype2, overriding pkg-config
2394 C compiler flags for libpulse, overriding pkg-config
2395 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2397 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2398 gstreamer-audio-1.0, overriding pkg-config
2400 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2401 gstreamer-audio-1.0, overriding pkg-config
2402 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2403 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2405 C compiler flags for capi20, overriding pkg-config
2406 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2408 C compiler flags for fontconfig, overriding pkg-config
2410 Linker flags for fontconfig, overriding pkg-config
2411 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2412 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2413 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2414 PNG_LIBS Linker flags for libpng, overriding pkg-config
2415 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2416 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2418 C compiler flags for libmpg123, overriding pkg-config
2419 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2421 C compiler flags for netapi, overriding pkg-config
2422 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2424 Use these variables to override the choices made by `configure' or to
help
2425 it to
find libraries and programs with nonstandard names
/locations.
2427 Report bugs to
<wine-devel@winehq.org
>.
2428 Wine home page
: <http
://www.winehq.org
>.
2433 if test "$ac_init_help" = "recursive"; then
2434 # If there are subdirs, report their specific --help.
2435 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2436 test -d "$ac_dir" ||
2437 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2442 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2444 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2445 # A ".." for each directory in $ac_dir_suffix.
2446 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2447 case $ac_top_builddir_sub in
2448 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2449 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2452 ac_abs_top_builddir
=$ac_pwd
2453 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2454 # for backward compatibility:
2455 ac_top_builddir
=$ac_top_build_prefix
2458 .
) # We are building in place.
2460 ac_top_srcdir
=$ac_top_builddir_sub
2461 ac_abs_top_srcdir
=$ac_pwd ;;
2462 [\\/]* | ?
:[\\/]* ) # Absolute name.
2463 ac_srcdir
=$srcdir$ac_dir_suffix;
2464 ac_top_srcdir
=$srcdir
2465 ac_abs_top_srcdir
=$srcdir ;;
2467 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2468 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2469 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2471 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2473 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2474 # Check for guested configure.
2475 if test -f "$ac_srcdir/configure.gnu"; then
2477 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2478 elif test -f "$ac_srcdir/configure"; then
2480 $SHELL "$ac_srcdir/configure" --help=recursive
2482 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2484 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2488 test -n "$ac_init_help" && exit $ac_status
2489 if $ac_init_version; then
2491 Wine configure
1.9.22
2492 generated by GNU Autoconf
2.69
2494 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2495 This configure
script is free software
; the Free Software Foundation
2496 gives unlimited permission to copy
, distribute and modify it.
2501 ## ------------------------ ##
2502 ## Autoconf initialization. ##
2503 ## ------------------------ ##
2505 # ac_fn_c_try_compile LINENO
2506 # --------------------------
2507 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2508 ac_fn_c_try_compile
()
2510 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2511 rm -f conftest.
$ac_objext
2512 if { { ac_try
="$ac_compile"
2514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2515 *) ac_try_echo=$ac_try;;
2517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2518 $as_echo "$ac_try_echo"; } >&5
2519 (eval "$ac_compile") 2>conftest.err
2521 if test -s conftest.err; then
2522 grep -v '^ *+' conftest.err >conftest.er1
2523 cat conftest.er1 >&5
2524 mv -f conftest.er1 conftest.err
2526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2527 test $ac_status = 0; } && {
2528 test -z "$ac_c_werror_flag" ||
2529 test ! -s conftest.err
2530 } && test -s conftest.$ac_objext; then :
2533 $as_echo "$as_me: failed program was:" >&5
2534 sed 's/^/| /' conftest.$ac_ext >&5
2538 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2539 as_fn_set_status $ac_retval
2541 } # ac_fn_c_try_compile
2543 # ac_fn_cxx_try_compile LINENO
2544 # ----------------------------
2545 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2546 ac_fn_cxx_try_compile ()
2548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2549 rm -f conftest.$ac_objext
2550 if { { ac_try="$ac_compile"
2552 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2553 *) ac_try_echo
=$ac_try;;
2555 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2556 $as_echo "$ac_try_echo"; } >&5
2557 (eval "$ac_compile") 2>conftest.err
2559 if test -s conftest.err
; then
2560 grep -v '^ *+' conftest.err
>conftest.er1
2561 cat conftest.er1
>&5
2562 mv -f conftest.er1 conftest.err
2564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2565 test $ac_status = 0; } && {
2566 test -z "$ac_cxx_werror_flag" ||
2567 test ! -s conftest.err
2568 } && test -s conftest.
$ac_objext; then :
2571 $as_echo "$as_me: failed program was:" >&5
2572 sed 's/^/| /' conftest.
$ac_ext >&5
2576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2577 as_fn_set_status
$ac_retval
2579 } # ac_fn_cxx_try_compile
2581 # ac_fn_c_try_link LINENO
2582 # -----------------------
2583 # Try to link conftest.$ac_ext, and return whether this succeeded.
2586 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2587 rm -f conftest.
$ac_objext conftest
$ac_exeext
2588 if { { ac_try
="$ac_link"
2590 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2591 *) ac_try_echo=$ac_try;;
2593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2594 $as_echo "$ac_try_echo"; } >&5
2595 (eval "$ac_link") 2>conftest.err
2597 if test -s conftest.err; then
2598 grep -v '^ *+' conftest.err >conftest.er1
2599 cat conftest.er1 >&5
2600 mv -f conftest.er1 conftest.err
2602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2603 test $ac_status = 0; } && {
2604 test -z "$ac_c_werror_flag" ||
2605 test ! -s conftest.err
2606 } && test -s conftest$ac_exeext && {
2607 test "$cross_compiling" = yes ||
2608 test -x conftest$ac_exeext
2612 $as_echo "$as_me: failed program was:" >&5
2613 sed 's/^/| /' conftest.$ac_ext >&5
2617 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2618 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2619 # interfere with the next link command; also delete a directory that is
2620 # left behind by Apple's compiler. We do this before executing the actions.
2621 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2622 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2623 as_fn_set_status $ac_retval
2625 } # ac_fn_c_try_link
2627 # ac_fn_c_try_cpp LINENO
2628 # ----------------------
2629 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2632 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2633 if { { ac_try="$ac_cpp conftest.$ac_ext"
2635 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2636 *) ac_try_echo
=$ac_try;;
2638 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2639 $as_echo "$ac_try_echo"; } >&5
2640 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2642 if test -s conftest.err
; then
2643 grep -v '^ *+' conftest.err
>conftest.er1
2644 cat conftest.er1
>&5
2645 mv -f conftest.er1 conftest.err
2647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2648 test $ac_status = 0; } > conftest.i
&& {
2649 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2650 test ! -s conftest.err
2654 $as_echo "$as_me: failed program was:" >&5
2655 sed 's/^/| /' conftest.
$ac_ext >&5
2659 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2660 as_fn_set_status
$ac_retval
2664 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2665 # -------------------------------------------------------
2666 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2667 # the include files in INCLUDES and setting the cache variable VAR
2669 ac_fn_c_check_header_mongrel
()
2671 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2672 if eval \
${$3+:} false
; then :
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2674 $as_echo_n "checking for $2... " >&6; }
2675 if eval \
${$3+:} false
; then :
2676 $as_echo_n "(cached) " >&6
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2680 $as_echo "$ac_res" >&6; }
2682 # Is the header compilable?
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2684 $as_echo_n "checking $2 usability... " >&6; }
2685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2686 /* end confdefs.h. */
2690 if ac_fn_c_try_compile
"$LINENO"; then :
2691 ac_header_compiler
=yes
2693 ac_header_compiler
=no
2695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2697 $as_echo "$ac_header_compiler" >&6; }
2699 # Is the header present?
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2701 $as_echo_n "checking $2 presence... " >&6; }
2702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2703 /* end confdefs.h. */
2706 if ac_fn_c_try_cpp
"$LINENO"; then :
2707 ac_header_preproc
=yes
2709 ac_header_preproc
=no
2711 rm -f conftest.err conftest.i conftest.
$ac_ext
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2713 $as_echo "$ac_header_preproc" >&6; }
2715 # So? What about this header?
2716 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2719 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2721 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2725 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2727 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2729 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2731 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2733 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2734 ( $as_echo "## ------------------------------------ ##
2735 ## Report this to wine-devel@winehq.org ##
2736 ## ------------------------------------ ##"
2737 ) |
sed "s/^/$as_me: WARNING: /" >&2
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2741 $as_echo_n "checking for $2... " >&6; }
2742 if eval \
${$3+:} false
; then :
2743 $as_echo_n "(cached) " >&6
2745 eval "$3=\$ac_header_compiler"
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2749 $as_echo "$ac_res" >&6; }
2751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2753 } # ac_fn_c_check_header_mongrel
2755 # ac_fn_c_try_run LINENO
2756 # ----------------------
2757 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2758 # that executables *can* be run.
2761 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2762 if { { ac_try
="$ac_link"
2764 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2765 *) ac_try_echo=$ac_try;;
2767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2768 $as_echo "$ac_try_echo"; } >&5
2769 (eval "$ac_link") 2>&5
2771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2772 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2773 { { case "(($ac_try" in
2774 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2775 *) ac_try_echo
=$ac_try;;
2777 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2778 $as_echo "$ac_try_echo"; } >&5
2779 (eval "$ac_try") 2>&5
2781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2782 test $ac_status = 0; }; }; then :
2785 $as_echo "$as_me: program exited with status $ac_status" >&5
2786 $as_echo "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.
$ac_ext >&5
2789 ac_retval
=$ac_status
2791 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2793 as_fn_set_status
$ac_retval
2797 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2798 # -------------------------------------------------------
2799 # Tests whether HEADER exists and can be compiled using the include files in
2800 # INCLUDES, setting the cache variable VAR accordingly.
2801 ac_fn_c_check_header_compile
()
2803 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2805 $as_echo_n "checking for $2... " >&6; }
2806 if eval \
${$3+:} false
; then :
2807 $as_echo_n "(cached) " >&6
2809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2810 /* end confdefs.h. */
2814 if ac_fn_c_try_compile
"$LINENO"; then :
2819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2823 $as_echo "$ac_res" >&6; }
2824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2826 } # ac_fn_c_check_header_compile
2828 # ac_fn_c_check_func LINENO FUNC VAR
2829 # ----------------------------------
2830 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2831 ac_fn_c_check_func
()
2833 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2835 $as_echo_n "checking for $2... " >&6; }
2836 if eval \
${$3+:} false
; then :
2837 $as_echo_n "(cached) " >&6
2839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2840 /* end confdefs.h. */
2841 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2843 #define $2 innocuous_$2
2845 /* System header to define __stub macros and hopefully few prototypes,
2846 which can conflict with char $2 (); below.
2847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2848 <limits.h> exists even on freestanding compilers. */
2851 # include <limits.h>
2853 # include <assert.h>
2858 /* Override any GCC internal prototype to avoid an error.
2859 Use char because int might match the return type of a GCC
2860 builtin and then its argument prototype would still apply. */
2865 /* The GNU C library defines this for functions which it implements
2866 to always fail with ENOSYS. Some functions are actually named
2867 something starting with __ and the normal name is an alias. */
2868 #if defined __stub_$2 || defined __stub___$2
2880 if ac_fn_c_try_link
"$LINENO"; then :
2885 rm -f core conftest.err conftest.
$ac_objext \
2886 conftest
$ac_exeext conftest.
$ac_ext
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2890 $as_echo "$ac_res" >&6; }
2891 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2893 } # ac_fn_c_check_func
2895 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2896 # ----------------------------------------------------
2897 # Tries to find if the field MEMBER exists in type AGGR, after including
2898 # INCLUDES, setting cache variable VAR accordingly.
2899 ac_fn_c_check_member
()
2901 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2903 $as_echo_n "checking for $2.$3... " >&6; }
2904 if eval \
${$4+:} false
; then :
2905 $as_echo_n "(cached) " >&6
2907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2908 /* end confdefs.h. */
2920 if ac_fn_c_try_compile
"$LINENO"; then :
2923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2924 /* end confdefs.h. */
2930 if (sizeof ac_aggr.$3)
2936 if ac_fn_c_try_compile
"$LINENO"; then :
2941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2947 $as_echo "$ac_res" >&6; }
2948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2950 } # ac_fn_c_check_member
2952 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2953 # -------------------------------------------
2954 # Tests whether TYPE exists after having included INCLUDES, setting cache
2955 # variable VAR accordingly.
2956 ac_fn_c_check_type
()
2958 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2960 $as_echo_n "checking for $2... " >&6; }
2961 if eval \
${$3+:} false
; then :
2962 $as_echo_n "(cached) " >&6
2965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2966 /* end confdefs.h. */
2977 if ac_fn_c_try_compile
"$LINENO"; then :
2978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2979 /* end confdefs.h. */
2990 if ac_fn_c_try_compile
"$LINENO"; then :
2995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3001 $as_echo "$ac_res" >&6; }
3002 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3004 } # ac_fn_c_check_type
3005 cat >config.log
<<_ACEOF
3006 This file contains any messages produced by compilers while
3007 running configure, to aid debugging if configure makes a mistake.
3009 It was created by Wine $as_me 1.9.22, which was
3010 generated by GNU Autoconf 2.69. Invocation command line was
3022 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3023 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3024 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3025 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3026 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3028 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3029 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3031 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3032 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3033 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3034 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3035 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3036 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3037 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3045 test -z "$as_dir" && as_dir
=.
3046 $as_echo "PATH: $as_dir"
3062 # Keep a trace of the command line.
3063 # Strip out --no-create and --no-recursion so they do not pile up.
3064 # Strip out --silent because we don't want to record it for future runs.
3065 # Also quote any args containing shell meta-characters.
3066 # Make two passes to allow for proper duplicate-argument suppression.
3070 ac_must_keep_next
=false
3076 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3077 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3078 |
-silent |
--silent |
--silen |
--sile |
--sil)
3081 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3084 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3086 as_fn_append ac_configure_args1
" '$ac_arg'"
3087 if test $ac_must_keep_next = true
; then
3088 ac_must_keep_next
=false
# Got value, back to normal.
3091 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3092 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3093 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3094 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3095 case "$ac_configure_args0 " in
3096 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3099 -* ) ac_must_keep_next
=true
;;
3102 as_fn_append ac_configure_args
" '$ac_arg'"
3107 { ac_configure_args0
=; unset ac_configure_args0
;}
3108 { ac_configure_args1
=; unset ac_configure_args1
;}
3110 # When interrupted or exit'd, cleanup temporary files, and complete
3111 # config.log. We remove comments because anyway the quotes in there
3112 # would cause problems or look ugly.
3113 # WARNING: Use '\'' to represent an apostrophe within the trap.
3114 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3115 trap 'exit_status=$?
3116 # Save into config.log some information that might help in debugging.
3120 $as_echo "## ---------------- ##
3121 ## Cache variables. ##
3122 ## ---------------- ##"
3124 # The following way of writing the cache mishandles newlines in values,
3126 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3127 eval ac_val=\$$ac_var
3131 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3132 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3135 _ | IFS | as_nl) ;; #(
3136 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3137 *) { eval $ac_var=; unset $ac_var;} ;;
3142 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3143 *${as_nl}ac_space=\ *)
3145 "s/'\''/'\''\\\\'\'''\''/g;
3146 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3149 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3156 $as_echo "## ----------------- ##
3157 ## Output variables. ##
3158 ## ----------------- ##"
3160 for ac_var in $ac_subst_vars
3162 eval ac_val=\$$ac_var
3164 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3166 $as_echo "$ac_var='\''$ac_val'\''"
3170 if test -n "$ac_subst_files"; then
3171 $as_echo "## ------------------- ##
3172 ## File substitutions. ##
3173 ## ------------------- ##"
3175 for ac_var
in $ac_subst_files
3177 eval ac_val
=\$
$ac_var
3179 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3181 $as_echo "$ac_var='\''$ac_val'\''"
3186 if test -s confdefs.h; then
3187 $as_echo "## ----------- ##
3194 test "$ac_signal" != 0 &&
3195 $as_echo "$as_me: caught signal $ac_signal"
3196 $as_echo "$as_me: exit $exit_status"
3198 rm -f core *.core core.conftest.* &&
3199 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3202 for ac_signal
in 1 2 13 15; do
3203 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3207 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3208 rm -f -r conftest
* confdefs.h
3210 $as_echo "/* confdefs.h */" > confdefs.h
3212 # Predefined preprocessor variables.
3214 cat >>confdefs.h
<<_ACEOF
3215 #define PACKAGE_NAME "$PACKAGE_NAME"
3218 cat >>confdefs.h
<<_ACEOF
3219 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3222 cat >>confdefs.h
<<_ACEOF
3223 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3226 cat >>confdefs.h
<<_ACEOF
3227 #define PACKAGE_STRING "$PACKAGE_STRING"
3230 cat >>confdefs.h
<<_ACEOF
3231 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3234 cat >>confdefs.h
<<_ACEOF
3235 #define PACKAGE_URL "$PACKAGE_URL"
3239 # Let the site file select an alternate cache file if it wants to.
3240 # Prefer an explicitly selected file to automatically selected ones.
3243 if test -n "$CONFIG_SITE"; then
3244 # We do not want a PATH search for config.site.
3245 case $CONFIG_SITE in #((
3246 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3247 */*) ac_site_file1
=$CONFIG_SITE;;
3248 *) ac_site_file1
=.
/$CONFIG_SITE;;
3250 elif test "x$prefix" != xNONE
; then
3251 ac_site_file1
=$prefix/share
/config.site
3252 ac_site_file2
=$prefix/etc
/config.site
3254 ac_site_file1
=$ac_default_prefix/share
/config.site
3255 ac_site_file2
=$ac_default_prefix/etc
/config.site
3257 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3259 test "x$ac_site_file" = xNONE
&& continue
3260 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3262 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3263 sed 's/^/| /' "$ac_site_file" >&5
3265 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3267 as_fn_error $?
"failed to load site script $ac_site_file
3268 See \`config.log' for more details" "$LINENO" 5; }
3272 if test -r "$cache_file"; then
3273 # Some versions of bash will fail to source /dev/null (special files
3274 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3275 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3277 $as_echo "$as_me: loading cache $cache_file" >&6;}
3279 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3280 *) .
"./$cache_file";;
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3285 $as_echo "$as_me: creating cache $cache_file" >&6;}
3289 # Check that the precious variables saved in the cache have kept the same
3291 ac_cache_corrupted
=false
3292 for ac_var
in $ac_precious_vars; do
3293 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3294 eval ac_new_set
=\
$ac_env_${ac_var}_set
3295 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3296 eval ac_new_val
=\
$ac_env_${ac_var}_value
3297 case $ac_old_set,$ac_new_set in
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3300 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3301 ac_cache_corrupted
=: ;;
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3304 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3305 ac_cache_corrupted
=: ;;
3308 if test "x$ac_old_val" != "x$ac_new_val"; then
3309 # differences in whitespace do not lead to failure.
3310 ac_old_val_w
=`echo x $ac_old_val`
3311 ac_new_val_w
=`echo x $ac_new_val`
3312 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3314 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3315 ac_cache_corrupted
=:
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3318 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3319 eval $ac_var=\
$ac_old_val
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3322 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3324 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3327 # Pass precious variables to config.status.
3328 if test "$ac_new_set" = set; then
3330 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3331 *) ac_arg
=$ac_var=$ac_new_val ;;
3333 case " $ac_configure_args " in
3334 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3335 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3339 if $ac_cache_corrupted; then
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3341 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3343 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3344 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3346 ## -------------------- ##
3347 ## Main body of script. ##
3348 ## -------------------- ##
3351 ac_cpp
='$CPP $CPPFLAGS'
3352 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3353 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3354 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3358 ac_config_headers
="$ac_config_headers include/config.h"
3361 for ac_dir
in tools
"$srcdir"/tools
; do
3362 if test -f "$ac_dir/install-sh"; then
3364 ac_install_sh
="$ac_aux_dir/install-sh -c"
3366 elif test -f "$ac_dir/install.sh"; then
3368 ac_install_sh
="$ac_aux_dir/install.sh -c"
3370 elif test -f "$ac_dir/shtool"; then
3372 ac_install_sh
="$ac_aux_dir/shtool install -c"
3376 if test -z "$ac_aux_dir"; then
3377 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3380 # These three variables are undocumented and unsupported,
3381 # and are intended to be withdrawn in a future Autoconf release.
3382 # They can cause serious problems if a builder's source tree is in a directory
3383 # whose full name contains unusual characters.
3384 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3385 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3386 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3390 libwine_version
="1.0"
3394 # Check whether --enable-win16 was given.
3395 if test "${enable_win16+set}" = set; then :
3396 enableval
=$enable_win16;
3399 # Check whether --enable-win64 was given.
3400 if test "${enable_win64+set}" = set; then :
3401 enableval
=$enable_win64;
3404 # Check whether --enable-tests was given.
3405 if test "${enable_tests+set}" = set; then :
3406 enableval
=$enable_tests;
3409 # Check whether --enable-maintainer-mode was given.
3410 if test "${enable_maintainer_mode+set}" = set; then :
3411 enableval
=$enable_maintainer_mode;
3416 # Check whether --with-alsa was given.
3417 if test "${with_alsa+set}" = set; then :
3418 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3422 # Check whether --with-capi was given.
3423 if test "${with_capi+set}" = set; then :
3428 # Check whether --with-cms was given.
3429 if test "${with_cms+set}" = set; then :
3434 # Check whether --with-coreaudio was given.
3435 if test "${with_coreaudio+set}" = set; then :
3436 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3440 # Check whether --with-cups was given.
3441 if test "${with_cups+set}" = set; then :
3446 # Check whether --with-curses was given.
3447 if test "${with_curses+set}" = set; then :
3448 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3452 # Check whether --with-dbus was given.
3453 if test "${with_dbus+set}" = set; then :
3458 # Check whether --with-fontconfig was given.
3459 if test "${with_fontconfig+set}" = set; then :
3460 withval
=$with_fontconfig;
3464 # Check whether --with-freetype was given.
3465 if test "${with_freetype+set}" = set; then :
3466 withval
=$with_freetype;
3470 # Check whether --with-gettext was given.
3471 if test "${with_gettext+set}" = set; then :
3472 withval
=$with_gettext;
3476 # Check whether --with-gettextpo was given.
3477 if test "${with_gettextpo+set}" = set; then :
3478 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3482 # Check whether --with-gphoto was given.
3483 if test "${with_gphoto+set}" = set; then :
3484 withval
=$with_gphoto;
3488 # Check whether --with-glu was given.
3489 if test "${with_glu+set}" = set; then :
3494 # Check whether --with-gnutls was given.
3495 if test "${with_gnutls+set}" = set; then :
3496 withval
=$with_gnutls;
3500 # Check whether --with-gsm was given.
3501 if test "${with_gsm+set}" = set; then :
3502 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3506 # Check whether --with-gstreamer was given.
3507 if test "${with_gstreamer+set}" = set; then :
3508 withval
=$with_gstreamer;
3512 # Check whether --with-hal was given.
3513 if test "${with_hal+set}" = set; then :
3518 # Check whether --with-jpeg was given.
3519 if test "${with_jpeg+set}" = set; then :
3524 # Check whether --with-ldap was given.
3525 if test "${with_ldap+set}" = set; then :
3526 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3530 # Check whether --with-mpg123 was given.
3531 if test "${with_mpg123+set}" = set; then :
3532 withval
=$with_mpg123;
3536 # Check whether --with-netapi was given.
3537 if test "${with_netapi+set}" = set; then :
3538 withval
=$with_netapi;
3542 # Check whether --with-openal was given.
3543 if test "${with_openal+set}" = set; then :
3544 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3548 # Check whether --with-opencl was given.
3549 if test "${with_opencl+set}" = set; then :
3550 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3554 # Check whether --with-opengl was given.
3555 if test "${with_opengl+set}" = set; then :
3556 withval
=$with_opengl;
3560 # Check whether --with-osmesa was given.
3561 if test "${with_osmesa+set}" = set; then :
3562 withval
=$with_osmesa;
3566 # Check whether --with-oss was given.
3567 if test "${with_oss+set}" = set; then :
3572 # Check whether --with-pcap was given.
3573 if test "${with_pcap+set}" = set; then :
3574 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3578 # Check whether --with-png was given.
3579 if test "${with_png+set}" = set; then :
3584 # Check whether --with-pthread was given.
3585 if test "${with_pthread+set}" = set; then :
3586 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3590 # Check whether --with-pulse was given.
3591 if test "${with_pulse+set}" = set; then :
3592 withval
=$with_pulse;
3596 # Check whether --with-sane was given.
3597 if test "${with_sane+set}" = set; then :
3602 # Check whether --with-tiff was given.
3603 if test "${with_tiff+set}" = set; then :
3608 # Check whether --with-udev was given.
3609 if test "${with_udev+set}" = set; then :
3614 # Check whether --with-v4l was given.
3615 if test "${with_v4l+set}" = set; then :
3620 # Check whether --with-xcomposite was given.
3621 if test "${with_xcomposite+set}" = set; then :
3622 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3626 # Check whether --with-xcursor was given.
3627 if test "${with_xcursor+set}" = set; then :
3628 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3632 # Check whether --with-xinerama was given.
3633 if test "${with_xinerama+set}" = set; then :
3634 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3638 # Check whether --with-xinput was given.
3639 if test "${with_xinput+set}" = set; then :
3640 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3644 # Check whether --with-xinput2 was given.
3645 if test "${with_xinput2+set}" = set; then :
3646 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3650 # Check whether --with-xml was given.
3651 if test "${with_xml+set}" = set; then :
3656 # Check whether --with-xrandr was given.
3657 if test "${with_xrandr+set}" = set; then :
3658 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3662 # Check whether --with-xrender was given.
3663 if test "${with_xrender+set}" = set; then :
3664 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3668 # Check whether --with-xshape was given.
3669 if test "${with_xshape+set}" = set; then :
3670 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3674 # Check whether --with-xshm was given.
3675 if test "${with_xshm+set}" = set; then :
3676 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3680 # Check whether --with-xslt was given.
3681 if test "${with_xslt+set}" = set; then :
3686 # Check whether --with-xxf86vm was given.
3687 if test "${with_xxf86vm+set}" = set; then :
3688 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
3692 # Check whether --with-zlib was given.
3693 if test "${with_zlib+set}" = set; then :
3694 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3699 # Check whether --with-wine-tools was given.
3700 if test "${with_wine_tools+set}" = set; then :
3701 withval
=$with_wine_tools;
3705 # Check whether --with-wine64 was given.
3706 if test "${with_wine64+set}" = set; then :
3707 withval
=$with_wine64;
3711 # Make sure we can run config.sub.
3712 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3713 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3716 $as_echo_n "checking build system type... " >&6; }
3717 if ${ac_cv_build+:} false
; then :
3718 $as_echo_n "(cached) " >&6
3720 ac_build_alias
=$build_alias
3721 test "x$ac_build_alias" = x
&&
3722 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3723 test "x$ac_build_alias" = x
&&
3724 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3725 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3726 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3730 $as_echo "$ac_cv_build" >&6; }
3731 case $ac_cv_build in
3733 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3736 ac_save_IFS
=$IFS; IFS
='-'
3742 # Remember, the first character of IFS is used to create $*,
3743 # except with old shells:
3746 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3750 $as_echo_n "checking host system type... " >&6; }
3751 if ${ac_cv_host+:} false
; then :
3752 $as_echo_n "(cached) " >&6
3754 if test "x$host_alias" = x
; then
3755 ac_cv_host
=$ac_cv_build
3757 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3758 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3763 $as_echo "$ac_cv_host" >&6; }
3766 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3769 ac_save_IFS
=$IFS; IFS
='-'
3775 # Remember, the first character of IFS is used to create $*,
3776 # except with old shells:
3779 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3785 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3786 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3787 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3793 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3795 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3796 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3797 $as_echo_n "(cached) " >&6
3799 cat >conftest.
make <<\_ACEOF
3802 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3804 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3805 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3807 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3809 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3813 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3815 $as_echo "yes" >&6; }
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3819 $as_echo "no" >&6; }
3820 SET_MAKE
="MAKE=${MAKE-make}"
3824 ac_cpp
='$CPP $CPPFLAGS'
3825 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3826 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3827 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3828 if test -n "$ac_tool_prefix"; then
3829 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3830 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3832 $as_echo_n "checking for $ac_word... " >&6; }
3833 if ${ac_cv_prog_CC+:} false
; then :
3834 $as_echo_n "(cached) " >&6
3836 if test -n "$CC"; then
3837 ac_cv_prog_CC
="$CC" # Let the user override the test.
3839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3843 test -z "$as_dir" && as_dir
=.
3844 for ac_exec_ext
in '' $ac_executable_extensions; do
3845 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3846 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3857 if test -n "$CC"; then
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3859 $as_echo "$CC" >&6; }
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3862 $as_echo "no" >&6; }
3867 if test -z "$ac_cv_prog_CC"; then
3869 # Extract the first word of "gcc", so it can be a program name with args.
3870 set dummy gcc
; ac_word
=$2
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3872 $as_echo_n "checking for $ac_word... " >&6; }
3873 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3874 $as_echo_n "(cached) " >&6
3876 if test -n "$ac_ct_CC"; then
3877 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3883 test -z "$as_dir" && as_dir
=.
3884 for ac_exec_ext
in '' $ac_executable_extensions; do
3885 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3886 ac_cv_prog_ac_ct_CC
="gcc"
3887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3896 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3897 if test -n "$ac_ct_CC"; then
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3899 $as_echo "$ac_ct_CC" >&6; }
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3902 $as_echo "no" >&6; }
3905 if test "x$ac_ct_CC" = x
; then
3908 case $cross_compiling:$ac_tool_warned in
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3912 ac_tool_warned
=yes ;;
3920 if test -z "$CC"; then
3921 if test -n "$ac_tool_prefix"; then
3922 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3923 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3925 $as_echo_n "checking for $ac_word... " >&6; }
3926 if ${ac_cv_prog_CC+:} false
; then :
3927 $as_echo_n "(cached) " >&6
3929 if test -n "$CC"; then
3930 ac_cv_prog_CC
="$CC" # Let the user override the test.
3932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3936 test -z "$as_dir" && as_dir
=.
3937 for ac_exec_ext
in '' $ac_executable_extensions; do
3938 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3939 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3950 if test -n "$CC"; then
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3952 $as_echo "$CC" >&6; }
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3955 $as_echo "no" >&6; }
3961 if test -z "$CC"; then
3962 # Extract the first word of "cc", so it can be a program name with args.
3963 set dummy cc
; ac_word
=$2
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3965 $as_echo_n "checking for $ac_word... " >&6; }
3966 if ${ac_cv_prog_CC+:} false
; then :
3967 $as_echo_n "(cached) " >&6
3969 if test -n "$CC"; then
3970 ac_cv_prog_CC
="$CC" # Let the user override the test.
3973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3977 test -z "$as_dir" && as_dir
=.
3978 for ac_exec_ext
in '' $ac_executable_extensions; do
3979 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3980 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3981 ac_prog_rejected
=yes
3985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3992 if test $ac_prog_rejected = yes; then
3993 # We found a bogon in the path, so make sure we never use it.
3994 set dummy
$ac_cv_prog_CC
3996 if test $# != 0; then
3997 # We chose a different compiler from the bogus one.
3998 # However, it has the same basename, so the bogon will be chosen
3999 # first if we set CC to just the basename; use the full file name.
4001 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4007 if test -n "$CC"; then
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4009 $as_echo "$CC" >&6; }
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4012 $as_echo "no" >&6; }
4017 if test -z "$CC"; then
4018 if test -n "$ac_tool_prefix"; then
4019 for ac_prog
in cl.exe
4021 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4022 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4024 $as_echo_n "checking for $ac_word... " >&6; }
4025 if ${ac_cv_prog_CC+:} false
; then :
4026 $as_echo_n "(cached) " >&6
4028 if test -n "$CC"; then
4029 ac_cv_prog_CC
="$CC" # Let the user override the test.
4031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4035 test -z "$as_dir" && as_dir
=.
4036 for ac_exec_ext
in '' $ac_executable_extensions; do
4037 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4038 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4049 if test -n "$CC"; then
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4051 $as_echo "$CC" >&6; }
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4054 $as_echo "no" >&6; }
4058 test -n "$CC" && break
4061 if test -z "$CC"; then
4063 for ac_prog
in cl.exe
4065 # Extract the first word of "$ac_prog", so it can be a program name with args.
4066 set dummy
$ac_prog; ac_word
=$2
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4068 $as_echo_n "checking for $ac_word... " >&6; }
4069 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4070 $as_echo_n "(cached) " >&6
4072 if test -n "$ac_ct_CC"; then
4073 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4079 test -z "$as_dir" && as_dir
=.
4080 for ac_exec_ext
in '' $ac_executable_extensions; do
4081 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4082 ac_cv_prog_ac_ct_CC
="$ac_prog"
4083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4092 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4093 if test -n "$ac_ct_CC"; then
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4095 $as_echo "$ac_ct_CC" >&6; }
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4098 $as_echo "no" >&6; }
4102 test -n "$ac_ct_CC" && break
4105 if test "x$ac_ct_CC" = x
; then
4108 case $cross_compiling:$ac_tool_warned in
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4112 ac_tool_warned
=yes ;;
4121 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4123 as_fn_error $?
"no acceptable C compiler found in \$PATH
4124 See \`config.log' for more details" "$LINENO" 5; }
4126 # Provide some information about the compiler.
4127 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4130 for ac_option
in --version -v -V -qversion; do
4131 { { ac_try
="$ac_compiler $ac_option >&5"
4133 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4134 *) ac_try_echo=$ac_try;;
4136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4137 $as_echo "$ac_try_echo"; } >&5
4138 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4140 if test -s conftest.err; then
4142 ... rest of stderr output deleted ...
4143 10q' conftest.err >conftest.er1
4144 cat conftest.er1 >&5
4146 rm -f conftest.er1 conftest.err
4147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4148 test $ac_status = 0; }
4151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4152 /* end confdefs.h. */
4162 ac_clean_files_save=$ac_clean_files
4163 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4164 # Try to create an executable without -o first, disregard a.out.
4165 # It will help us diagnose broken compilers, and finding out an intuition
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4168 $as_echo_n "checking whether the C compiler works... " >&6; }
4169 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4171 # The possible output files:
4172 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4175 for ac_file in $ac_files
4178 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4179 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4184 if { { ac_try="$ac_link_default"
4186 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4187 *) ac_try_echo
=$ac_try;;
4189 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4190 $as_echo "$ac_try_echo"; } >&5
4191 (eval "$ac_link_default") 2>&5
4193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4194 test $ac_status = 0; }; then :
4195 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4196 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4197 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4198 # so that the user can short-circuit this test for compilers unknown to
4200 for ac_file
in $ac_files ''
4202 test -f "$ac_file" ||
continue
4204 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4207 # We found the default executable, but exeext='' is most
4211 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4213 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4215 # We set ac_cv_exeext here because the later test for it is not
4216 # safe: cross compilers may not add the suffix if given an `-o'
4217 # argument, so we may need to know it at that point already.
4218 # Even if this section looks crufty: it has the advantage of
4225 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4230 if test -z "$ac_file"; then :
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4232 $as_echo "no" >&6; }
4233 $as_echo "$as_me: failed program was:" >&5
4234 sed 's/^/| /' conftest.
$ac_ext >&5
4236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4238 as_fn_error
77 "C compiler cannot create executables
4239 See \`config.log' for more details" "$LINENO" 5; }
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4242 $as_echo "yes" >&6; }
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4245 $as_echo_n "checking for C compiler default output file name... " >&6; }
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4247 $as_echo "$ac_file" >&6; }
4248 ac_exeext
=$ac_cv_exeext
4250 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4251 ac_clean_files
=$ac_clean_files_save
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4253 $as_echo_n "checking for suffix of executables... " >&6; }
4254 if { { ac_try
="$ac_link"
4256 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4257 *) ac_try_echo=$ac_try;;
4259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4260 $as_echo "$ac_try_echo"; } >&5
4261 (eval "$ac_link") 2>&5
4263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4264 test $ac_status = 0; }; then :
4265 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4266 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4267 # work properly (i.e., refer to `conftest.exe'), while it won't with
4269 for ac_file
in conftest.exe conftest conftest.
*; do
4270 test -f "$ac_file" ||
continue
4272 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4273 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4279 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4281 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4282 See \`config.log' for more details" "$LINENO" 5; }
4284 rm -f conftest conftest
$ac_cv_exeext
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4286 $as_echo "$ac_cv_exeext" >&6; }
4288 rm -f conftest.
$ac_ext
4289 EXEEXT
=$ac_cv_exeext
4291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4292 /* end confdefs.h. */
4297 FILE *f = fopen ("conftest.out", "w");
4298 return ferror (f) || fclose (f) != 0;
4304 ac_clean_files
="$ac_clean_files conftest.out"
4305 # Check that the compiler produces executables we can run. If not, either
4306 # the compiler is broken, or we cross compile.
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4308 $as_echo_n "checking whether we are cross compiling... " >&6; }
4309 if test "$cross_compiling" != yes; then
4310 { { ac_try
="$ac_link"
4312 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4313 *) ac_try_echo=$ac_try;;
4315 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4316 $as_echo "$ac_try_echo"; } >&5
4317 (eval "$ac_link") 2>&5
4319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4320 test $ac_status = 0; }
4321 if { ac_try='./conftest$ac_cv_exeext'
4322 { { case "(($ac_try" in
4323 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4324 *) ac_try_echo
=$ac_try;;
4326 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4327 $as_echo "$ac_try_echo"; } >&5
4328 (eval "$ac_try") 2>&5
4330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4331 test $ac_status = 0; }; }; then
4334 if test "$cross_compiling" = maybe
; then
4337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4339 as_fn_error $?
"cannot run C compiled programs.
4340 If you meant to cross compile, use \`--host'.
4341 See \`config.log' for more details" "$LINENO" 5; }
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4346 $as_echo "$cross_compiling" >&6; }
4348 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4349 ac_clean_files
=$ac_clean_files_save
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4351 $as_echo_n "checking for suffix of object files... " >&6; }
4352 if ${ac_cv_objext+:} false
; then :
4353 $as_echo_n "(cached) " >&6
4355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4356 /* end confdefs.h. */
4366 rm -f conftest.o conftest.obj
4367 if { { ac_try
="$ac_compile"
4369 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4370 *) ac_try_echo=$ac_try;;
4372 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4373 $as_echo "$ac_try_echo"; } >&5
4374 (eval "$ac_compile") 2>&5
4376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4377 test $ac_status = 0; }; then :
4378 for ac_file in conftest.o conftest.obj conftest.*; do
4379 test -f "$ac_file" || continue;
4381 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4382 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4387 $as_echo "$as_me: failed program was:" >&5
4388 sed 's/^/| /' conftest.$ac_ext >&5
4390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4392 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4393 See \
`config.log' for more details" "$LINENO" 5; }
4395 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4398 $as_echo "$ac_cv_objext" >&6; }
4399 OBJEXT=$ac_cv_objext
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4402 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4403 if ${ac_cv_c_compiler_gnu+:} false; then :
4404 $as_echo_n "(cached) " >&6
4406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4407 /* end confdefs.h. */
4420 if ac_fn_c_try_compile "$LINENO"; then :
4425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4426 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4430 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4431 if test $ac_compiler_gnu = yes; then
4436 ac_test_CFLAGS=${CFLAGS+set}
4437 ac_save_CFLAGS=$CFLAGS
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4439 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4440 if ${ac_cv_prog_cc_g+:} false; then :
4441 $as_echo_n "(cached) " >&6
4443 ac_save_c_werror_flag=$ac_c_werror_flag
4444 ac_c_werror_flag=yes
4447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4448 /* end confdefs.h. */
4458 if ac_fn_c_try_compile "$LINENO"; then :
4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4463 /* end confdefs.h. */
4473 if ac_fn_c_try_compile "$LINENO"; then :
4476 ac_c_werror_flag=$ac_save_c_werror_flag
4478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4479 /* end confdefs.h. */
4489 if ac_fn_c_try_compile "$LINENO"; then :
4492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4497 ac_c_werror_flag=$ac_save_c_werror_flag
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4500 $as_echo "$ac_cv_prog_cc_g" >&6; }
4501 if test "$ac_test_CFLAGS" = set; then
4502 CFLAGS=$ac_save_CFLAGS
4503 elif test $ac_cv_prog_cc_g = yes; then
4504 if test "$GCC" = yes; then
4510 if test "$GCC" = yes; then
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4517 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4518 if ${ac_cv_prog_cc_c89+:} false; then :
4519 $as_echo_n "(cached) " >&6
4521 ac_cv_prog_cc_c89=no
4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4528 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4529 struct buf { int x; };
4530 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4531 static char *e (p, i)
4537 static char *f (char * (*g) (char **, int), char **p, ...)
4542 s = g (p, va_arg (v,int));
4547 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4548 function prototypes and stuff, but not '\xHH' hex character constants.
4549 These don't provoke an error unfortunately, instead are silently treated
4550 as 'x'. The following induces an error, until -std is added to get
4551 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4552 array size at least. It's necessary to write '\x00'==0 to get something
4553 that's true only with -std. */
4554 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4556 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4557 inside strings and character constants. */
4559 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4561 int test (int i, double x);
4562 struct s1 {int (*f) (int a);};
4563 struct s2 {int (*f) (double a);};
4564 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4570 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4575 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4576 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4578 CC="$ac_save_CC $ac_arg"
4579 if ac_fn_c_try_compile "$LINENO"; then :
4580 ac_cv_prog_cc_c89=$ac_arg
4582 rm -f core conftest.err conftest.$ac_objext
4583 test "x$ac_cv_prog_cc_c89" != "xno" && break
4585 rm -f conftest.$ac_ext
4590 case "x$ac_cv_prog_cc_c89" in
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4593 $as_echo "none needed" >&6; } ;;
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4596 $as_echo "unsupported" >&6; } ;;
4598 CC="$CC $ac_cv_prog_cc_c89"
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4600 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4602 if test "x$ac_cv_prog_cc_c89" != xno; then :
4607 ac_cpp='$CPP $CPPFLAGS'
4608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4613 ac_cpp='$CXXCPP $CPPFLAGS'
4614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4617 if test -z "$CXX"; then
4618 if test -n "$CCC"; then
4621 if test -n "$ac_tool_prefix"; then
4622 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4624 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4625 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4627 $as_echo_n "checking for $ac_word... " >&6; }
4628 if ${ac_cv_prog_CXX+:} false; then :
4629 $as_echo_n "(cached) " >&6
4631 if test -n "$CXX"; then
4632 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4638 test -z "$as_dir" && as_dir=.
4639 for ac_exec_ext in '' $ac_executable_extensions; do
4640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4641 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4652 if test -n "$CXX"; then
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4654 $as_echo "$CXX" >&6; }
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4657 $as_echo "no" >&6; }
4661 test -n "$CXX" && break
4664 if test -z "$CXX"; then
4666 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4668 # Extract the first word of "$ac_prog", so it can be a program name with args.
4669 set dummy $ac_prog; ac_word=$2
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4671 $as_echo_n "checking for $ac_word... " >&6; }
4672 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4673 $as_echo_n "(cached) " >&6
4675 if test -n "$ac_ct_CXX"; then
4676 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4682 test -z "$as_dir" && as_dir=.
4683 for ac_exec_ext in '' $ac_executable_extensions; do
4684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4685 ac_cv_prog_ac_ct_CXX="$ac_prog"
4686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4695 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4696 if test -n "$ac_ct_CXX"; then
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4698 $as_echo "$ac_ct_CXX" >&6; }
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4701 $as_echo "no" >&6; }
4705 test -n "$ac_ct_CXX" && break
4708 if test "x$ac_ct_CXX" = x; then
4711 case $cross_compiling:$ac_tool_warned in
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4715 ac_tool_warned=yes ;;
4723 # Provide some information about the compiler.
4724 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4727 for ac_option in --version -v -V -qversion; do
4728 { { ac_try="$ac_compiler $ac_option >&5"
4730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4731 *) ac_try_echo
=$ac_try;;
4733 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4734 $as_echo "$ac_try_echo"; } >&5
4735 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4737 if test -s conftest.err
; then
4739 ... rest of stderr output deleted ...
4740 10q' conftest.err
>conftest.er1
4741 cat conftest.er1
>&5
4743 rm -f conftest.er1 conftest.err
4744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4745 test $ac_status = 0; }
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4749 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4750 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4751 $as_echo_n "(cached) " >&6
4753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4754 /* end confdefs.h. */
4767 if ac_fn_cxx_try_compile
"$LINENO"; then :
4772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4773 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4777 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4778 if test $ac_compiler_gnu = yes; then
4783 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4784 ac_save_CXXFLAGS
=$CXXFLAGS
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4786 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4787 if ${ac_cv_prog_cxx_g+:} false
; then :
4788 $as_echo_n "(cached) " >&6
4790 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4791 ac_cxx_werror_flag
=yes
4794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4805 if ac_fn_cxx_try_compile
"$LINENO"; then :
4806 ac_cv_prog_cxx_g
=yes
4809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4810 /* end confdefs.h. */
4820 if ac_fn_cxx_try_compile
"$LINENO"; then :
4823 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4826 /* end confdefs.h. */
4836 if ac_fn_cxx_try_compile
"$LINENO"; then :
4837 ac_cv_prog_cxx_g
=yes
4839 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4843 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4844 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4847 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4848 if test "$ac_test_CXXFLAGS" = set; then
4849 CXXFLAGS
=$ac_save_CXXFLAGS
4850 elif test $ac_cv_prog_cxx_g = yes; then
4851 if test "$GXX" = yes; then
4857 if test "$GXX" = yes; then
4864 ac_cpp
='$CPP $CPPFLAGS'
4865 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4866 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4867 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4869 if test -n "$ac_tool_prefix"; then
4870 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4871 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4873 $as_echo_n "checking for $ac_word... " >&6; }
4874 if ${ac_cv_prog_CPPBIN+:} false
; then :
4875 $as_echo_n "(cached) " >&6
4877 if test -n "$CPPBIN"; then
4878 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4884 test -z "$as_dir" && as_dir
=.
4885 for ac_exec_ext
in '' $ac_executable_extensions; do
4886 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4887 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4897 CPPBIN
=$ac_cv_prog_CPPBIN
4898 if test -n "$CPPBIN"; then
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4900 $as_echo "$CPPBIN" >&6; }
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 $as_echo "no" >&6; }
4908 if test -z "$ac_cv_prog_CPPBIN"; then
4909 ac_ct_CPPBIN
=$CPPBIN
4910 # Extract the first word of "cpp", so it can be a program name with args.
4911 set dummy cpp
; ac_word
=$2
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4913 $as_echo_n "checking for $ac_word... " >&6; }
4914 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4915 $as_echo_n "(cached) " >&6
4917 if test -n "$ac_ct_CPPBIN"; then
4918 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4924 test -z "$as_dir" && as_dir
=.
4925 for ac_exec_ext
in '' $ac_executable_extensions; do
4926 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4927 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4937 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4938 if test -n "$ac_ct_CPPBIN"; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4940 $as_echo "$ac_ct_CPPBIN" >&6; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4946 if test "x$ac_ct_CPPBIN" = x
; then
4949 case $cross_compiling:$ac_tool_warned in
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4953 ac_tool_warned
=yes ;;
4955 CPPBIN
=$ac_ct_CPPBIN
4958 CPPBIN
="$ac_cv_prog_CPPBIN"
4962 cat >>confdefs.h
<<_ACEOF
4963 #define EXEEXT "$ac_exeext"
4966 if test -n "$ac_tool_prefix"; then
4967 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4968 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4970 $as_echo_n "checking for $ac_word... " >&6; }
4971 if ${ac_cv_prog_LD+:} false
; then :
4972 $as_echo_n "(cached) " >&6
4974 if test -n "$LD"; then
4975 ac_cv_prog_LD
="$LD" # Let the user override the test.
4977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4981 test -z "$as_dir" && as_dir
=.
4982 for ac_exec_ext
in '' $ac_executable_extensions; do
4983 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4984 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 if test -n "$LD"; then
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4997 $as_echo "$LD" >&6; }
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5000 $as_echo "no" >&6; }
5005 if test -z "$ac_cv_prog_LD"; then
5007 # Extract the first word of "ld", so it can be a program name with args.
5008 set dummy ld
; ac_word
=$2
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5010 $as_echo_n "checking for $ac_word... " >&6; }
5011 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
5012 $as_echo_n "(cached) " >&6
5014 if test -n "$ac_ct_LD"; then
5015 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5021 test -z "$as_dir" && as_dir
=.
5022 for ac_exec_ext
in '' $ac_executable_extensions; do
5023 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5024 ac_cv_prog_ac_ct_LD
="ld"
5025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5034 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5035 if test -n "$ac_ct_LD"; then
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5037 $as_echo "$ac_ct_LD" >&6; }
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5040 $as_echo "no" >&6; }
5043 if test "x$ac_ct_LD" = x
; then
5046 case $cross_compiling:$ac_tool_warned in
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5050 ac_tool_warned
=yes ;;
5061 with_fontconfig
=${with_fontconfig:-no}
5063 *-mingw32*|
*-cygwin*)
5064 enable_win16
=${enable_win16:-no}
5065 CFLAGS
="$CFLAGS -D_WIN32"
5071 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5076 $as_echo_n "checking whether $CC works... " >&6; }
5078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5079 /* end confdefs.h. */
5089 if ac_fn_c_try_link
"$LINENO"; then :
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5091 $as_echo "yes" >&6; }
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5094 $as_echo "no" >&6; }
5095 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5097 rm -f core conftest.err conftest.
$ac_objext \
5098 conftest
$ac_exeext conftest.
$ac_ext
5100 notice_platform
="32-bit "
5103 enable_win16
=${enable_win16:-yes}
5105 if test "x${GCC}" = "xyes"
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5108 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5110 /* end confdefs.h. */
5115 void func(__builtin_ms_va_list *args);
5120 if ac_fn_c_try_compile
"$LINENO"; then :
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5122 $as_echo "yes" >&6; }
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5125 $as_echo "no" >&6; }
5126 as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5133 notice_platform
="64-bit "
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5140 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5142 /* end confdefs.h. */
5143 int ac_test(int i) { return i; }
5147 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5152 if ac_fn_c_try_link
"$LINENO"; then :
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5154 $as_echo "yes" >&6; }
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157 $as_echo "no" >&6; }
5158 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5160 rm -f core conftest.err conftest.
$ac_objext \
5161 conftest
$ac_exeext conftest.
$ac_ext
5162 CFLAGS
="$CFLAGS -marm"
5167 enable_win16
=${enable_win16:-yes}
5171 enable_win16
=${enable_win16:-no}
5172 enable_win64
=${enable_win64:-no}
5174 enable_winetest
=${enable_winetest:-$enable_tests}
5176 if test -n "$with_wine64"
5178 if test "x$enable_win64" = "xyes"
5180 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5181 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5183 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5184 You should create a separate build directory and run configure from there." "$LINENO" 5
5185 enable_fonts
=${enable_fonts:-no}
5186 enable_server
=${enable_server:-no}
5187 elif test "x$enable_win64" = "xyes"
5189 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5193 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5194 if ${wine_cv_toolsdir+:} false
; then :
5195 $as_echo_n "(cached) " >&6
5197 wine_cv_toolsdir
="$with_wine_tools"
5198 if test -z "$with_wine_tools"; then
5199 if test "$cross_compiling" = "yes"; then
5200 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5201 elif test -n "$with_wine64"; then
5202 wine_cv_toolsdir
="$with_wine64"
5205 if test -z "$wine_cv_toolsdir"; then
5206 wine_makedep
=tools
/makedep
5207 wine_cv_toolsdir
="\$(top_builddir)"
5208 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5209 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5210 case "$wine_cv_toolsdir" in
5212 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5214 enable_tools
=${enable_tools:-no}
5215 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5217 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5221 $as_echo "$wine_cv_toolsdir" >&6; }
5222 TOOLSDIR
=$wine_cv_toolsdir
5224 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5226 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5232 # Extract the first word of "$ac_prog", so it can be a program name with args.
5233 set dummy
$ac_prog; ac_word
=$2
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5235 $as_echo_n "checking for $ac_word... " >&6; }
5236 if ${ac_cv_prog_FLEX+:} false
; then :
5237 $as_echo_n "(cached) " >&6
5239 if test -n "$FLEX"; then
5240 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5246 test -z "$as_dir" && as_dir
=.
5247 for ac_exec_ext
in '' $ac_executable_extensions; do
5248 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5249 ac_cv_prog_FLEX
="$ac_prog"
5250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5259 FLEX
=$ac_cv_prog_FLEX
5260 if test -n "$FLEX"; then
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5262 $as_echo "$FLEX" >&6; }
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5265 $as_echo "no" >&6; }
5269 test -n "$FLEX" && break
5271 test -n "$FLEX" || FLEX
="none"
5273 if test "$FLEX" = "none"
5275 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5278 $as_echo_n "checking whether flex is recent enough... " >&6; }
5279 cat >conftest.l
<<EOF
5281 #include "prediluvian.h"
5285 if $FLEX -t conftest.l
>/dev
/null
2>&5
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5288 $as_echo "yes" >&6; }
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5291 $as_echo "no" >&6; }
5292 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5295 for ac_prog
in bison
5297 # Extract the first word of "$ac_prog", so it can be a program name with args.
5298 set dummy
$ac_prog; ac_word
=$2
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5300 $as_echo_n "checking for $ac_word... " >&6; }
5301 if ${ac_cv_prog_BISON+:} false
; then :
5302 $as_echo_n "(cached) " >&6
5304 if test -n "$BISON"; then
5305 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5311 test -z "$as_dir" && as_dir
=.
5312 for ac_exec_ext
in '' $ac_executable_extensions; do
5313 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5314 ac_cv_prog_BISON
="$ac_prog"
5315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5324 BISON
=$ac_cv_prog_BISON
5325 if test -n "$BISON"; then
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5327 $as_echo "$BISON" >&6; }
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5330 $as_echo "no" >&6; }
5334 test -n "$BISON" && break
5336 test -n "$BISON" || BISON
="none"
5338 if test "$BISON" = "none"
5340 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5343 if test -n "$ac_tool_prefix"; then
5344 for ac_prog
in ar gar
5346 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5347 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5349 $as_echo_n "checking for $ac_word... " >&6; }
5350 if ${ac_cv_prog_AR+:} false
; then :
5351 $as_echo_n "(cached) " >&6
5353 if test -n "$AR"; then
5354 ac_cv_prog_AR
="$AR" # Let the user override the test.
5356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5360 test -z "$as_dir" && as_dir
=.
5361 for ac_exec_ext
in '' $ac_executable_extensions; do
5362 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5363 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5374 if test -n "$AR"; then
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5376 $as_echo "$AR" >&6; }
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5379 $as_echo "no" >&6; }
5383 test -n "$AR" && break
5386 if test -z "$AR"; then
5388 for ac_prog
in ar gar
5390 # Extract the first word of "$ac_prog", so it can be a program name with args.
5391 set dummy
$ac_prog; ac_word
=$2
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5393 $as_echo_n "checking for $ac_word... " >&6; }
5394 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5395 $as_echo_n "(cached) " >&6
5397 if test -n "$ac_ct_AR"; then
5398 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5404 test -z "$as_dir" && as_dir
=.
5405 for ac_exec_ext
in '' $ac_executable_extensions; do
5406 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5407 ac_cv_prog_ac_ct_AR
="$ac_prog"
5408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5417 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5418 if test -n "$ac_ct_AR"; then
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5420 $as_echo "$ac_ct_AR" >&6; }
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5423 $as_echo "no" >&6; }
5427 test -n "$ac_ct_AR" && break
5430 if test "x$ac_ct_AR" = x
; then
5433 case $cross_compiling:$ac_tool_warned in
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5437 ac_tool_warned
=yes ;;
5443 if test -n "$ac_tool_prefix"; then
5444 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5445 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5447 $as_echo_n "checking for $ac_word... " >&6; }
5448 if ${ac_cv_prog_STRIP+:} false
; then :
5449 $as_echo_n "(cached) " >&6
5451 if test -n "$STRIP"; then
5452 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5458 test -z "$as_dir" && as_dir
=.
5459 for ac_exec_ext
in '' $ac_executable_extensions; do
5460 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5461 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 STRIP
=$ac_cv_prog_STRIP
5472 if test -n "$STRIP"; then
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5474 $as_echo "$STRIP" >&6; }
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5477 $as_echo "no" >&6; }
5482 if test -z "$ac_cv_prog_STRIP"; then
5484 # Extract the first word of "strip", so it can be a program name with args.
5485 set dummy strip
; ac_word
=$2
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5487 $as_echo_n "checking for $ac_word... " >&6; }
5488 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5489 $as_echo_n "(cached) " >&6
5491 if test -n "$ac_ct_STRIP"; then
5492 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5498 test -z "$as_dir" && as_dir
=.
5499 for ac_exec_ext
in '' $ac_executable_extensions; do
5500 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5501 ac_cv_prog_ac_ct_STRIP
="strip"
5502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5511 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5512 if test -n "$ac_ct_STRIP"; then
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5514 $as_echo "$ac_ct_STRIP" >&6; }
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5517 $as_echo "no" >&6; }
5520 if test "x$ac_ct_STRIP" = x
; then
5523 case $cross_compiling:$ac_tool_warned in
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5526 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5527 ac_tool_warned
=yes ;;
5532 STRIP
="$ac_cv_prog_STRIP"
5537 if test -n "$ac_tool_prefix"; then
5538 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5539 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5541 $as_echo_n "checking for $ac_word... " >&6; }
5542 if ${ac_cv_prog_RANLIB+:} false
; then :
5543 $as_echo_n "(cached) " >&6
5545 if test -n "$RANLIB"; then
5546 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5552 test -z "$as_dir" && as_dir
=.
5553 for ac_exec_ext
in '' $ac_executable_extensions; do
5554 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5555 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5565 RANLIB
=$ac_cv_prog_RANLIB
5566 if test -n "$RANLIB"; then
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5568 $as_echo "$RANLIB" >&6; }
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571 $as_echo "no" >&6; }
5576 if test -z "$ac_cv_prog_RANLIB"; then
5577 ac_ct_RANLIB
=$RANLIB
5578 # Extract the first word of "ranlib", so it can be a program name with args.
5579 set dummy ranlib
; ac_word
=$2
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5581 $as_echo_n "checking for $ac_word... " >&6; }
5582 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5583 $as_echo_n "(cached) " >&6
5585 if test -n "$ac_ct_RANLIB"; then
5586 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5592 test -z "$as_dir" && as_dir
=.
5593 for ac_exec_ext
in '' $ac_executable_extensions; do
5594 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5595 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5605 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5606 if test -n "$ac_ct_RANLIB"; then
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5608 $as_echo "$ac_ct_RANLIB" >&6; }
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5611 $as_echo "no" >&6; }
5614 if test "x$ac_ct_RANLIB" = x
; then
5617 case $cross_compiling:$ac_tool_warned in
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5621 ac_tool_warned
=yes ;;
5623 RANLIB
=$ac_ct_RANLIB
5626 RANLIB
="$ac_cv_prog_RANLIB"
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5630 $as_echo_n "checking whether ln -s works... " >&6; }
5632 if test "$LN_S" = "ln -s"; then
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5634 $as_echo "yes" >&6; }
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5637 $as_echo "no, using $LN_S" >&6; }
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5641 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5642 if ${ac_cv_path_GREP+:} false
; then :
5643 $as_echo_n "(cached) " >&6
5645 if test -z "$GREP"; then
5646 ac_path_GREP_found
=false
5647 # Loop through the user's path and test for each of PROGNAME-LIST
5648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5649 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5652 test -z "$as_dir" && as_dir
=.
5653 for ac_prog
in grep ggrep
; do
5654 for ac_exec_ext
in '' $ac_executable_extensions; do
5655 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5656 as_fn_executable_p
"$ac_path_GREP" ||
continue
5657 # Check for GNU ac_path_GREP and select it if it is found.
5658 # Check for GNU $ac_path_GREP
5659 case `"$ac_path_GREP" --version 2>&1` in
5661 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5664 $as_echo_n 0123456789 >"conftest.in"
5667 cat "conftest.in" "conftest.in" >"conftest.tmp"
5668 mv "conftest.tmp" "conftest.in"
5669 cp "conftest.in" "conftest.nl"
5670 $as_echo 'GREP' >> "conftest.nl"
5671 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5672 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5673 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5674 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5675 # Best one so far, save it but keep looking for a better one
5676 ac_cv_path_GREP
="$ac_path_GREP"
5677 ac_path_GREP_max
=$ac_count
5679 # 10*(2^10) chars as input seems more than enough
5680 test $ac_count -gt 10 && break
5682 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5685 $ac_path_GREP_found && break 3
5690 if test -z "$ac_cv_path_GREP"; then
5691 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5694 ac_cv_path_GREP
=$GREP
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5699 $as_echo "$ac_cv_path_GREP" >&6; }
5700 GREP
="$ac_cv_path_GREP"
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5704 $as_echo_n "checking for egrep... " >&6; }
5705 if ${ac_cv_path_EGREP+:} false
; then :
5706 $as_echo_n "(cached) " >&6
5708 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5709 then ac_cv_path_EGREP
="$GREP -E"
5711 if test -z "$EGREP"; then
5712 ac_path_EGREP_found
=false
5713 # Loop through the user's path and test for each of PROGNAME-LIST
5714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5715 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5718 test -z "$as_dir" && as_dir
=.
5719 for ac_prog
in egrep; do
5720 for ac_exec_ext
in '' $ac_executable_extensions; do
5721 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5722 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5723 # Check for GNU ac_path_EGREP and select it if it is found.
5724 # Check for GNU $ac_path_EGREP
5725 case `"$ac_path_EGREP" --version 2>&1` in
5727 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5730 $as_echo_n 0123456789 >"conftest.in"
5733 cat "conftest.in" "conftest.in" >"conftest.tmp"
5734 mv "conftest.tmp" "conftest.in"
5735 cp "conftest.in" "conftest.nl"
5736 $as_echo 'EGREP' >> "conftest.nl"
5737 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5738 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5739 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5740 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5741 # Best one so far, save it but keep looking for a better one
5742 ac_cv_path_EGREP
="$ac_path_EGREP"
5743 ac_path_EGREP_max
=$ac_count
5745 # 10*(2^10) chars as input seems more than enough
5746 test $ac_count -gt 10 && break
5748 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5751 $ac_path_EGREP_found && break 3
5756 if test -z "$ac_cv_path_EGREP"; then
5757 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5760 ac_cv_path_EGREP
=$EGREP
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5766 $as_echo "$ac_cv_path_EGREP" >&6; }
5767 EGREP
="$ac_cv_path_EGREP"
5770 # Extract the first word of "ldconfig", so it can be a program name with args.
5771 set dummy ldconfig
; ac_word
=$2
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5773 $as_echo_n "checking for $ac_word... " >&6; }
5774 if ${ac_cv_path_LDCONFIG+:} false
; then :
5775 $as_echo_n "(cached) " >&6
5779 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5783 for as_dir
in /sbin
/usr
/sbin
$PATH
5786 test -z "$as_dir" && as_dir
=.
5787 for ac_exec_ext
in '' $ac_executable_extensions; do
5788 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5789 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5797 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5801 LDCONFIG
=$ac_cv_path_LDCONFIG
5802 if test -n "$LDCONFIG"; then
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5804 $as_echo "$LDCONFIG" >&6; }
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5807 $as_echo "no" >&6; }
5811 for ac_prog
in msgfmt
5813 # Extract the first word of "$ac_prog", so it can be a program name with args.
5814 set dummy
$ac_prog; ac_word
=$2
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5816 $as_echo_n "checking for $ac_word... " >&6; }
5817 if ${ac_cv_prog_MSGFMT+:} false
; then :
5818 $as_echo_n "(cached) " >&6
5820 if test -n "$MSGFMT"; then
5821 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5827 test -z "$as_dir" && as_dir
=.
5828 for ac_exec_ext
in '' $ac_executable_extensions; do
5829 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5830 ac_cv_prog_MSGFMT
="$ac_prog"
5831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5840 MSGFMT
=$ac_cv_prog_MSGFMT
5841 if test -n "$MSGFMT"; then
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5843 $as_echo "$MSGFMT" >&6; }
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5846 $as_echo "no" >&6; }
5850 test -n "$MSGFMT" && break
5852 test -n "$MSGFMT" || MSGFMT
="false"
5854 if ${ac_tool_prefix+:} false
; then :
5855 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5856 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5860 $as_echo_n "(cached) " >&6
5862 if test -n "$PKG_CONFIG"; then
5863 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5869 test -z "$as_dir" && as_dir
=.
5870 for ac_exec_ext
in '' $ac_executable_extensions; do
5871 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5872 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5882 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5883 if test -n "$PKG_CONFIG"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5885 $as_echo "$PKG_CONFIG" >&6; }
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5893 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5894 if test "x$cross_compiling" = xyes
; then :
5897 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5898 # Extract the first word of "pkg-config", so it can be a program name with args.
5899 set dummy pkg-config
; ac_word
=$2
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5901 $as_echo_n "checking for $ac_word... " >&6; }
5902 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5903 $as_echo_n "(cached) " >&6
5905 if test -n "$PKG_CONFIG"; then
5906 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5912 test -z "$as_dir" && as_dir
=.
5913 for ac_exec_ext
in '' $ac_executable_extensions; do
5914 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5915 ac_cv_prog_PKG_CONFIG
="pkg-config"
5916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5925 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5926 if test -n "$PKG_CONFIG"; then
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5928 $as_echo "$PKG_CONFIG" >&6; }
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5931 $as_echo "no" >&6; }
5937 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5940 if test "x$enable_maintainer_mode" != "xyes"
5947 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5948 for ac_prog
in fontforge
5950 # Extract the first word of "$ac_prog", so it can be a program name with args.
5951 set dummy
$ac_prog; ac_word
=$2
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5953 $as_echo_n "checking for $ac_word... " >&6; }
5954 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5955 $as_echo_n "(cached) " >&6
5957 if test -n "$FONTFORGE"; then
5958 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5964 test -z "$as_dir" && as_dir
=.
5965 for ac_exec_ext
in '' $ac_executable_extensions; do
5966 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5967 ac_cv_prog_FONTFORGE
="$ac_prog"
5968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5977 FONTFORGE
=$ac_cv_prog_FONTFORGE
5978 if test -n "$FONTFORGE"; then
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5980 $as_echo "$FONTFORGE" >&6; }
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5983 $as_echo "no" >&6; }
5987 test -n "$FONTFORGE" && break
5989 test -n "$FONTFORGE" || FONTFORGE
="false"
5991 for ac_prog
in rsvg-convert rsvg
5993 # Extract the first word of "$ac_prog", so it can be a program name with args.
5994 set dummy
$ac_prog; ac_word
=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
5997 if ${ac_cv_prog_RSVG+:} false
; then :
5998 $as_echo_n "(cached) " >&6
6000 if test -n "$RSVG"; then
6001 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
6003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6007 test -z "$as_dir" && as_dir
=.
6008 for ac_exec_ext
in '' $ac_executable_extensions; do
6009 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6010 ac_cv_prog_RSVG
="$ac_prog"
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6020 RSVG
=$ac_cv_prog_RSVG
6021 if test -n "$RSVG"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6023 $as_echo "$RSVG" >&6; }
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6030 test -n "$RSVG" && break
6032 test -n "$RSVG" || RSVG
="false"
6034 for ac_prog
in convert
6036 # Extract the first word of "$ac_prog", so it can be a program name with args.
6037 set dummy
$ac_prog; ac_word
=$2
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6039 $as_echo_n "checking for $ac_word... " >&6; }
6040 if ${ac_cv_prog_CONVERT+:} false
; then :
6041 $as_echo_n "(cached) " >&6
6043 if test -n "$CONVERT"; then
6044 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
6046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6050 test -z "$as_dir" && as_dir
=.
6051 for ac_exec_ext
in '' $ac_executable_extensions; do
6052 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6053 ac_cv_prog_CONVERT
="$ac_prog"
6054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6063 CONVERT
=$ac_cv_prog_CONVERT
6064 if test -n "$CONVERT"; then
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6066 $as_echo "$CONVERT" >&6; }
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6069 $as_echo "no" >&6; }
6073 test -n "$CONVERT" && break
6075 test -n "$CONVERT" || CONVERT
="false"
6077 for ac_prog
in icotool
6079 # Extract the first word of "$ac_prog", so it can be a program name with args.
6080 set dummy
$ac_prog; ac_word
=$2
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6082 $as_echo_n "checking for $ac_word... " >&6; }
6083 if ${ac_cv_prog_ICOTOOL+:} false
; then :
6084 $as_echo_n "(cached) " >&6
6086 if test -n "$ICOTOOL"; then
6087 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6093 test -z "$as_dir" && as_dir
=.
6094 for ac_exec_ext
in '' $ac_executable_extensions; do
6095 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6096 ac_cv_prog_ICOTOOL
="$ac_prog"
6097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6106 ICOTOOL
=$ac_cv_prog_ICOTOOL
6107 if test -n "$ICOTOOL"; then
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6109 $as_echo "$ICOTOOL" >&6; }
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6112 $as_echo "no" >&6; }
6116 test -n "$ICOTOOL" && break
6118 test -n "$ICOTOOL" || ICOTOOL
="false"
6120 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6121 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6123 if test "$CONVERT" = false
6125 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6128 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6129 convert_version
=`convert --version | head -n1`
6130 if test "x$convert_version" != "x"
6132 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6133 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6134 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6139 if test "$CONVERT" = false
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6142 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6143 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6146 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6150 if test "$ICOTOOL" = false
6152 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6155 $as_echo_n "checking for recent enough icotool... " >&6; }
6156 icotool_version
=`icotool --version | head -n1`
6157 if test "x$icotool_version" != "x"
6159 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6160 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6161 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6164 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6167 if test "$ICOTOOL" = false
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6170 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6171 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6174 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6180 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6183 test "x$with_gettext" != xno || MSGFMT
=false
6184 if test "$MSGFMT" != "false"
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6187 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6188 cat >conftest.po
<<EOF
6194 if $MSGFMT -o /dev
/null conftest.po
2>&5
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6197 $as_echo "yes" >&6; }
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6200 $as_echo "no" >&6; }
6204 if test "$MSGFMT" = false
; then :
6205 case "x$with_gettext" in
6206 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6208 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6209 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6211 enable_po
=${enable_po:-no}
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6216 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6217 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6218 $as_echo_n "(cached) " >&6
6220 ac_check_lib_save_LIBS
=$LIBS
6222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6223 /* end confdefs.h. */
6225 /* Override any GCC internal prototype to avoid an error.
6226 Use char because int might match the return type of a GCC
6227 builtin and then its argument prototype would still apply. */
6231 char i386_set_ldt ();
6235 return i386_set_ldt ();
6240 if ac_fn_c_try_link
"$LINENO"; then :
6241 ac_cv_lib_i386_i386_set_ldt
=yes
6243 ac_cv_lib_i386_i386_set_ldt
=no
6245 rm -f core conftest.err conftest.
$ac_objext \
6246 conftest
$ac_exeext conftest.
$ac_ext
6247 LIBS
=$ac_check_lib_save_LIBS
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6250 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6251 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6252 cat >>confdefs.h
<<_ACEOF
6253 #define HAVE_LIBI386 1
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6261 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6262 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6263 $as_echo_n "(cached) " >&6
6265 ac_check_lib_save_LIBS
=$LIBS
6266 LIBS
="-lossaudio $LIBS"
6267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6268 /* end confdefs.h. */
6270 /* Override any GCC internal prototype to avoid an error.
6271 Use char because int might match the return type of a GCC
6272 builtin and then its argument prototype would still apply. */
6280 return _oss_ioctl ();
6285 if ac_fn_c_try_link
"$LINENO"; then :
6286 ac_cv_lib_ossaudio__oss_ioctl
=yes
6288 ac_cv_lib_ossaudio__oss_ioctl
=no
6290 rm -f core conftest.err conftest.
$ac_objext \
6291 conftest
$ac_exeext conftest.
$ac_ext
6292 LIBS
=$ac_check_lib_save_LIBS
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6295 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6296 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6297 cat >>confdefs.h
<<_ACEOF
6298 #define HAVE_LIBOSSAUDIO 1
6301 LIBS
="-lossaudio $LIBS"
6310 # Check whether --enable-largefile was given.
6311 if test "${enable_largefile+set}" = set; then :
6312 enableval
=$enable_largefile;
6315 if test "$enable_largefile" != no
; then
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6318 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6319 if ${ac_cv_sys_largefile_CC+:} false
; then :
6320 $as_echo_n "(cached) " >&6
6322 ac_cv_sys_largefile_CC
=no
6323 if test "$GCC" != yes; then
6326 # IRIX 6.2 and later do not support large files by default,
6327 # so use the C compiler's -n32 option if that helps.
6328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6329 /* end confdefs.h. */
6330 #include <sys/types.h>
6331 /* Check that off_t can represent 2**63 - 1 correctly.
6332 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6333 since some C++ compilers masquerading as C compilers
6334 incorrectly reject 9223372036854775807. */
6335 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6336 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6337 && LARGE_OFF_T % 2147483647 == 1)
6347 if ac_fn_c_try_compile
"$LINENO"; then :
6350 rm -f core conftest.err conftest.
$ac_objext
6352 if ac_fn_c_try_compile
"$LINENO"; then :
6353 ac_cv_sys_largefile_CC
=' -n32'; break
6355 rm -f core conftest.err conftest.
$ac_objext
6359 rm -f conftest.
$ac_ext
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6363 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6364 if test "$ac_cv_sys_largefile_CC" != no
; then
6365 CC
=$CC$ac_cv_sys_largefile_CC
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6369 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6370 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6371 $as_echo_n "(cached) " >&6
6374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6375 /* end confdefs.h. */
6376 #include <sys/types.h>
6377 /* Check that off_t can represent 2**63 - 1 correctly.
6378 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6379 since some C++ compilers masquerading as C compilers
6380 incorrectly reject 9223372036854775807. */
6381 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6382 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6383 && LARGE_OFF_T % 2147483647 == 1)
6393 if ac_fn_c_try_compile
"$LINENO"; then :
6394 ac_cv_sys_file_offset_bits
=no
; break
6396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6398 /* end confdefs.h. */
6399 #define _FILE_OFFSET_BITS 64
6400 #include <sys/types.h>
6401 /* Check that off_t can represent 2**63 - 1 correctly.
6402 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6403 since some C++ compilers masquerading as C compilers
6404 incorrectly reject 9223372036854775807. */
6405 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6406 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6407 && LARGE_OFF_T % 2147483647 == 1)
6417 if ac_fn_c_try_compile
"$LINENO"; then :
6418 ac_cv_sys_file_offset_bits
=64; break
6420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6421 ac_cv_sys_file_offset_bits
=unknown
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6426 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6427 case $ac_cv_sys_file_offset_bits in #(
6430 cat >>confdefs.h
<<_ACEOF
6431 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6436 if test $ac_cv_sys_file_offset_bits = unknown
; then
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6438 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6439 if ${ac_cv_sys_large_files+:} false
; then :
6440 $as_echo_n "(cached) " >&6
6443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6444 /* end confdefs.h. */
6445 #include <sys/types.h>
6446 /* Check that off_t can represent 2**63 - 1 correctly.
6447 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6448 since some C++ compilers masquerading as C compilers
6449 incorrectly reject 9223372036854775807. */
6450 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6451 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6452 && LARGE_OFF_T % 2147483647 == 1)
6462 if ac_fn_c_try_compile
"$LINENO"; then :
6463 ac_cv_sys_large_files
=no
; break
6465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6467 /* end confdefs.h. */
6468 #define _LARGE_FILES 1
6469 #include <sys/types.h>
6470 /* Check that off_t can represent 2**63 - 1 correctly.
6471 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6472 since some C++ compilers masquerading as C compilers
6473 incorrectly reject 9223372036854775807. */
6474 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6475 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6476 && LARGE_OFF_T % 2147483647 == 1)
6486 if ac_fn_c_try_compile
"$LINENO"; then :
6487 ac_cv_sys_large_files
=1; break
6489 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6490 ac_cv_sys_large_files
=unknown
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6495 $as_echo "$ac_cv_sys_large_files" >&6; }
6496 case $ac_cv_sys_large_files in #(
6499 cat >>confdefs.h
<<_ACEOF
6500 #define _LARGE_FILES $ac_cv_sys_large_files
6512 ac_cpp
='$CPP $CPPFLAGS'
6513 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6514 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6515 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6517 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6518 # On Suns, sometimes $CPP names a directory.
6519 if test -n "$CPP" && test -d "$CPP"; then
6522 if test -z "$CPP"; then
6523 if ${ac_cv_prog_CPP+:} false
; then :
6524 $as_echo_n "(cached) " >&6
6526 # Double quotes because CPP needs to be expanded
6527 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6530 for ac_c_preproc_warn_flag
in '' yes
6532 # Use a header file that comes with gcc, so configuring glibc
6533 # with a fresh cross-compiler works.
6534 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6535 # <limits.h> exists even on freestanding compilers.
6536 # On the NeXT, cc -E runs the code through the compiler's parser,
6537 # not just through cpp. "Syntax error" is here to catch this case.
6538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6539 /* end confdefs.h. */
6541 # include <limits.h>
6543 # include <assert.h>
6547 if ac_fn_c_try_cpp
"$LINENO"; then :
6550 # Broken: fails on valid input.
6553 rm -f conftest.err conftest.i conftest.
$ac_ext
6555 # OK, works on sane cases. Now check whether nonexistent headers
6556 # can be detected and how.
6557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6558 /* end confdefs.h. */
6559 #include <ac_nonexistent.h>
6561 if ac_fn_c_try_cpp
"$LINENO"; then :
6562 # Broken: success on invalid input.
6565 # Passes both tests.
6569 rm -f conftest.err conftest.i conftest.
$ac_ext
6572 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6573 rm -f conftest.i conftest.err conftest.
$ac_ext
6574 if $ac_preproc_ok; then :
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6587 $as_echo "$CPP" >&6; }
6589 for ac_c_preproc_warn_flag
in '' yes
6591 # Use a header file that comes with gcc, so configuring glibc
6592 # with a fresh cross-compiler works.
6593 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6594 # <limits.h> exists even on freestanding compilers.
6595 # On the NeXT, cc -E runs the code through the compiler's parser,
6596 # not just through cpp. "Syntax error" is here to catch this case.
6597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6598 /* end confdefs.h. */
6600 # include <limits.h>
6602 # include <assert.h>
6606 if ac_fn_c_try_cpp
"$LINENO"; then :
6609 # Broken: fails on valid input.
6612 rm -f conftest.err conftest.i conftest.
$ac_ext
6614 # OK, works on sane cases. Now check whether nonexistent headers
6615 # can be detected and how.
6616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6617 /* end confdefs.h. */
6618 #include <ac_nonexistent.h>
6620 if ac_fn_c_try_cpp
"$LINENO"; then :
6621 # Broken: success on invalid input.
6624 # Passes both tests.
6628 rm -f conftest.err conftest.i conftest.
$ac_ext
6631 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6632 rm -f conftest.i conftest.err conftest.
$ac_ext
6633 if $ac_preproc_ok; then :
6636 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6638 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6639 See \`config.log' for more details" "$LINENO" 5; }
6643 ac_cpp
='$CPP $CPPFLAGS'
6644 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6645 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6646 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6650 $as_echo_n "checking for ANSI C header files... " >&6; }
6651 if ${ac_cv_header_stdc+:} false
; then :
6652 $as_echo_n "(cached) " >&6
6654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6655 /* end confdefs.h. */
6669 if ac_fn_c_try_compile
"$LINENO"; then :
6670 ac_cv_header_stdc
=yes
6672 ac_cv_header_stdc
=no
6674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6676 if test $ac_cv_header_stdc = yes; then
6677 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6679 /* end confdefs.h. */
6683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6684 $EGREP "memchr" >/dev
/null
2>&1; then :
6687 ac_cv_header_stdc
=no
6693 if test $ac_cv_header_stdc = yes; then
6694 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6696 /* end confdefs.h. */
6700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6701 $EGREP "free" >/dev
/null
2>&1; then :
6704 ac_cv_header_stdc
=no
6710 if test $ac_cv_header_stdc = yes; then
6711 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6712 if test "$cross_compiling" = yes; then :
6715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6716 /* end confdefs.h. */
6719 #if ((' ' & 0x0FF) == 0x020)
6720 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6721 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6723 # define ISLOWER(c) \
6724 (('a' <= (c) && (c) <= 'i') \
6725 || ('j' <= (c) && (c) <= 'r') \
6726 || ('s' <= (c) && (c) <= 'z'))
6727 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6730 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6735 for (i = 0; i < 256; i++)
6736 if (XOR (islower (i), ISLOWER (i))
6737 || toupper (i) != TOUPPER (i))
6742 if ac_fn_c_try_run
"$LINENO"; then :
6745 ac_cv_header_stdc
=no
6747 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6748 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6754 $as_echo "$ac_cv_header_stdc" >&6; }
6755 if test $ac_cv_header_stdc = yes; then
6757 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6761 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6762 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6763 inttypes.h stdint.h unistd.h
6765 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6766 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6768 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6769 cat >>confdefs.h
<<_ACEOF
6770 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6780 ApplicationServices
/ApplicationServices.h \
6781 AudioToolbox
/AudioConverter.h \
6782 AudioUnit
/AudioUnit.h \
6783 AudioUnit
/AudioComponent.h \
6786 CommonCrypto
/CommonDigest.h \
6787 CoreAudio
/CoreAudio.h \
6788 CoreServices
/CoreServices.h \
6789 DiskArbitration
/DiskArbitration.h \
6791 IOKit
/hid
/IOHIDLib.h \
6794 QuickTime
/ImageCompression.h \
6795 Security
/Security.h \
6847 netinet
/in_systm.h \
6911 valgrind
/memcheck.h \
6912 valgrind
/valgrind.h \
6916 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6917 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6918 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6919 cat >>confdefs.h
<<_ACEOF
6920 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6928 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6929 if ${ac_cv_header_sys_types_h_makedev+:} false
; then :
6930 $as_echo_n "(cached) " >&6
6932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6933 /* end confdefs.h. */
6934 #include <sys/types.h>
6938 return makedev(0, 0);
6943 if ac_fn_c_try_link
"$LINENO"; then :
6944 ac_cv_header_sys_types_h_makedev
=yes
6946 ac_cv_header_sys_types_h_makedev
=no
6948 rm -f core conftest.err conftest.
$ac_objext \
6949 conftest
$ac_exeext conftest.
$ac_ext
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6953 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6955 if test $ac_cv_header_sys_types_h_makedev = no
; then
6956 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6957 if test "x$ac_cv_header_sys_mkdev_h" = xyes
; then :
6959 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6965 if test $ac_cv_header_sys_mkdev_h = no
; then
6966 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6967 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
; then :
6969 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6978 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6979 if ${ac_cv_header_stat_broken+:} false
; then :
6980 $as_echo_n "(cached) " >&6
6982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6983 /* end confdefs.h. */
6984 #include <sys/types.h>
6985 #include <sys/stat.h>
6987 #if defined S_ISBLK && defined S_IFDIR
6988 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6991 #if defined S_ISBLK && defined S_IFCHR
6992 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6995 #if defined S_ISLNK && defined S_IFREG
6996 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6999 #if defined S_ISSOCK && defined S_IFREG
7000 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7004 if ac_fn_c_try_compile
"$LINENO"; then :
7005 ac_cv_header_stat_broken
=no
7007 ac_cv_header_stat_broken
=yes
7009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7012 $as_echo "$ac_cv_header_stat_broken" >&6; }
7013 if test $ac_cv_header_stat_broken = yes; then
7015 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7021 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
7023 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7024 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7025 #ifdef HAVE_SYS_PARAM_H
7026 # include <sys/param.h>
7029 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7030 cat >>confdefs.h
<<_ACEOF
7031 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7046 netinet
/if_ether.h \
7047 netinet
/if_inarp.h \
7056 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7057 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7058 #ifdef HAVE_SYS_SOCKET_H
7059 # include <sys/socket.h>
7061 #ifdef HAVE_SYS_SOCKETVAR_H
7062 # include <sys/socketvar.h>
7064 #ifdef HAVE_NET_ROUTE_H
7065 # include <net/route.h>
7067 #ifdef HAVE_NETINET_IN_H
7068 # include <netinet/in.h>
7070 #ifdef HAVE_NETINET_IN_SYSTM_H
7071 # include <netinet/in_systm.h>
7073 #ifdef HAVE_NET_IF_H
7074 # include <net/if.h>
7076 #ifdef HAVE_NETINET_IP_H
7077 # include <netinet/ip.h>
7080 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7081 cat >>confdefs.h
<<_ACEOF
7082 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7090 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
7092 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7093 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7097 #ifdef HAVE_SYS_SOCKET_H
7098 # include <sys/socket.h>
7100 #ifdef HAVE_SYS_SOCKETVAR_H
7101 # include <sys/socketvar.h>
7103 #ifdef HAVE_SYS_TIMEOUT_H
7104 # include <sys/timeout.h>
7106 #ifdef HAVE_NETINET_IN_H
7107 # include <netinet/in.h>
7109 #ifdef HAVE_NETINET_IN_SYSTM_H
7110 # include <netinet/in_systm.h>
7112 #ifdef HAVE_NETINET_IP_H
7113 # include <netinet/ip.h>
7115 #ifdef HAVE_NETINET_IP_VAR_H
7116 # include <netinet/ip_var.h>
7118 #ifdef HAVE_NETINET_IP_ICMP_H
7119 # include <netinet/ip_icmp.h>
7121 #ifdef HAVE_NETINET_UDP_H
7122 # include <netinet/udp.h>
7124 #ifdef HAVE_NETINET_TCP_H
7125 # include <netinet/tcp.h>
7127 #ifdef HAVE_NETINET_TCP_TIMER_H
7128 #include <netinet/tcp_timer.h>
7131 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7132 cat >>confdefs.h
<<_ACEOF
7133 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7141 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
7143 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7144 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7145 #ifdef HAVE_ASM_TYPES_H
7146 # include <asm/types.h>
7148 #ifdef HAVE_SYS_SOCKET_H
7149 # include <sys/socket.h>
7151 #ifdef HAVE_LINUX_TYPES_H
7152 # include <linux/types.h>
7155 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7156 cat >>confdefs.h
<<_ACEOF
7157 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7165 for ac_header
in mach-o
/dyld_images.h
7167 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7168 # include <stdbool.h>
7170 #ifdef HAVE_STDINT_H
7171 # include <stdint.h>
7174 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7175 cat >>confdefs.h
<<_ACEOF
7176 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7184 for ac_header
in resolv.h
7186 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7187 #ifdef HAVE_SYS_SOCKET_H
7188 # include <sys/socket.h>
7190 #ifdef HAVE_NETINET_IN_H
7191 # include <netinet/in.h>
7193 #ifdef HAVE_ARPA_NAMESER_H
7194 # include <arpa/nameser.h>
7197 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7198 cat >>confdefs.h
<<_ACEOF
7199 #define HAVE_RESOLV_H 1
7207 for ac_header
in ifaddrs.h
7209 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7211 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7212 cat >>confdefs.h
<<_ACEOF
7213 #define HAVE_IFADDRS_H 1
7221 for ac_header
in sys
/ucontext.h
7223 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7225 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7226 cat >>confdefs.h
<<_ACEOF
7227 #define HAVE_SYS_UCONTEXT_H 1
7235 for ac_header
in sys
/thr.h
7237 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7238 #ifdef HAVE_SYS_UCONTEXT_H
7239 #include <sys/ucontext.h>
7242 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7243 cat >>confdefs.h
<<_ACEOF
7244 #define HAVE_SYS_THR_H 1
7252 for ac_header
in pthread_np.h
7254 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7255 #include <pthread.h>
7258 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7259 cat >>confdefs.h
<<_ACEOF
7260 #define HAVE_PTHREAD_NP_H 1
7268 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7270 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7271 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7272 #include <sys/time.h>
7274 #include <sys/types.h>
7275 #ifdef HAVE_ASM_TYPES_H
7276 #include <asm/types.h>
7279 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7280 cat >>confdefs.h
<<_ACEOF
7281 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7289 for ac_header
in libprocstat.h
7291 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7292 #include <sys/param.h>
7294 #ifdef HAVE_SYS_QUEUE_H
7295 #include <sys/queue.h>
7297 #ifdef HAVE_SYS_SOCKET_H
7298 #include <sys/socket.h>
7301 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7302 cat >>confdefs.h
<<_ACEOF
7303 #define HAVE_LIBPROCSTAT_H 1
7312 dlldir
="\${libdir}/wine"
7314 DLLFLAGS
="-D_REENTRANT"
7325 # Extract the first word of "ldd", so it can be a program name with args.
7326 set dummy ldd
; ac_word
=$2
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7328 $as_echo_n "checking for $ac_word... " >&6; }
7329 if ${ac_cv_path_LDD+:} false
; then :
7330 $as_echo_n "(cached) " >&6
7334 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7338 as_dummy
="/sbin:/usr/sbin:$PATH"
7339 for as_dir
in $as_dummy
7342 test -z "$as_dir" && as_dir
=.
7343 for ac_exec_ext
in '' $ac_executable_extensions; do
7344 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7345 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7353 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7358 if test -n "$LDD"; then
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7360 $as_echo "$LDD" >&6; }
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7363 $as_echo "no" >&6; }
7367 if test -n "$ac_tool_prefix"; then
7368 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7369 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7371 $as_echo_n "checking for $ac_word... " >&6; }
7372 if ${ac_cv_prog_OTOOL+:} false
; then :
7373 $as_echo_n "(cached) " >&6
7375 if test -n "$OTOOL"; then
7376 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7382 test -z "$as_dir" && as_dir
=.
7383 for ac_exec_ext
in '' $ac_executable_extensions; do
7384 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7385 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7395 OTOOL
=$ac_cv_prog_OTOOL
7396 if test -n "$OTOOL"; then
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7398 $as_echo "$OTOOL" >&6; }
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7401 $as_echo "no" >&6; }
7406 if test -z "$ac_cv_prog_OTOOL"; then
7408 # Extract the first word of "otool", so it can be a program name with args.
7409 set dummy otool
; ac_word
=$2
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7411 $as_echo_n "checking for $ac_word... " >&6; }
7412 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7413 $as_echo_n "(cached) " >&6
7415 if test -n "$ac_ct_OTOOL"; then
7416 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7422 test -z "$as_dir" && as_dir
=.
7423 for ac_exec_ext
in '' $ac_executable_extensions; do
7424 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7425 ac_cv_prog_ac_ct_OTOOL
="otool"
7426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7435 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7436 if test -n "$ac_ct_OTOOL"; then
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7438 $as_echo "$ac_ct_OTOOL" >&6; }
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7441 $as_echo "no" >&6; }
7444 if test "x$ac_ct_OTOOL" = x
; then
7447 case $cross_compiling:$ac_tool_warned in
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7451 ac_tool_warned
=yes ;;
7456 OTOOL
="$ac_cv_prog_OTOOL"
7459 if test -n "$ac_tool_prefix"; then
7460 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7461 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7463 $as_echo_n "checking for $ac_word... " >&6; }
7464 if ${ac_cv_prog_READELF+:} false
; then :
7465 $as_echo_n "(cached) " >&6
7467 if test -n "$READELF"; then
7468 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7474 test -z "$as_dir" && as_dir
=.
7475 for ac_exec_ext
in '' $ac_executable_extensions; do
7476 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7477 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7487 READELF
=$ac_cv_prog_READELF
7488 if test -n "$READELF"; then
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7490 $as_echo "$READELF" >&6; }
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7493 $as_echo "no" >&6; }
7498 if test -z "$ac_cv_prog_READELF"; then
7499 ac_ct_READELF
=$READELF
7500 # Extract the first word of "readelf", so it can be a program name with args.
7501 set dummy readelf
; ac_word
=$2
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7503 $as_echo_n "checking for $ac_word... " >&6; }
7504 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7505 $as_echo_n "(cached) " >&6
7507 if test -n "$ac_ct_READELF"; then
7508 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7514 test -z "$as_dir" && as_dir
=.
7515 for ac_exec_ext
in '' $ac_executable_extensions; do
7516 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7517 ac_cv_prog_ac_ct_READELF
="readelf"
7518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7527 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7528 if test -n "$ac_ct_READELF"; then
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7530 $as_echo "$ac_ct_READELF" >&6; }
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7533 $as_echo "no" >&6; }
7536 if test "x$ac_ct_READELF" = x
; then
7539 case $cross_compiling:$ac_tool_warned in
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7542 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7543 ac_tool_warned
=yes ;;
7545 READELF
=$ac_ct_READELF
7548 READELF
="$ac_cv_prog_READELF"
7551 wine_rules_file
=conf$
$rules.
make
7552 rm -f $wine_rules_file
7557 CONFIGURE_TARGETS
=""
7559 ALL_TEST_RESOURCES
=""
7562 wine_fn_append_file
()
7564 as_fn_append
$1 " \\$as_nl $2"
7567 wine_fn_append_rule
()
7569 $as_echo "$1" >>$wine_rules_file
7574 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7577 wine_fn_all_rules
()
7579 wine_fn_append_file SUBDIRS
$ac_dir
7580 wine_fn_append_rule \
7584 @cd $ac_dir && \$(MAKE)"
7587 wine_fn_install_rules
()
7589 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7591 wine_fn_append_rule \
7592 ".PHONY: $ac_dir/install $ac_dir/uninstall
7593 $ac_dir/install:: $ac_dir
7594 @cd $ac_dir && \$(MAKE) install
7596 @cd $ac_dir && \$(MAKE) uninstall
7597 install:: $ac_dir/install
7598 __uninstall__: $ac_dir/uninstall"
7600 if wine_fn_has_flag install-lib
7602 wine_fn_append_rule \
7603 ".PHONY: $ac_dir/install-lib
7604 $ac_dir/install-lib:: $ac_dir
7605 @cd $ac_dir && \$(MAKE) install-lib
7606 install-lib:: $ac_dir/install-lib"
7609 if wine_fn_has_flag install-dev
7611 wine_fn_append_rule \
7612 ".PHONY: $ac_dir/install-dev
7613 $ac_dir/install-dev:: $ac_dir
7614 @cd $ac_dir && \$(MAKE) install-dev
7615 install-dev:: $ac_dir/install-dev"
7619 wine_fn_clean_rules
()
7623 if wine_fn_has_flag clean
7625 wine_fn_append_rule \
7626 "$ac_dir/clean: dummy
7627 @cd $ac_dir && \$(MAKE) clean"
7629 wine_fn_append_rule \
7630 "$ac_dir/clean: dummy
7631 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7633 wine_fn_append_rule \
7634 "__clean__: $ac_dir/clean
7635 .PHONY: $ac_dir/clean"
7638 wine_fn_disabled_rules
()
7642 wine_fn_append_file SUBDIRS
$ac_dir
7643 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7644 wine_fn_append_rule \
7645 "__clean__: $ac_dir/clean
7646 .PHONY: $ac_dir/clean
7647 $ac_dir/clean: dummy
7648 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7651 wine_fn_config_makefile
()
7658 fonts|server
) test -z "$with_wine64" ||
return ;;
7660 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7661 wine_fn_disabled_rules
; return
7664 wine_fn_install_rules
7668 wine_fn_config_lib
()
7672 ac_dir
=dlls
/$ac_name
7675 if test "x$enable_tools" = xno
; then :
7678 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7683 wine_fn_append_rule \
7684 ".PHONY: $ac_dir/install $ac_dir/uninstall
7685 $ac_dir/install:: $ac_dir
7686 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7688 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7689 install install-dev:: $ac_dir/install
7690 __uninstall__: $ac_dir/uninstall
7691 __builddeps__: $ac_dir
7695 wine_fn_config_dll
()
7698 ac_dir
=dlls
/$ac_name
7701 ac_implib
=${4:-$ac_name}
7702 ac_file
=$ac_dir/lib
$ac_implib
7707 if test "x$enable_tools" = xno
; then :
7710 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7713 *16) ac_implibflags
=" -m16" ;;
7715 *) ac_dll
=$ac_dll.dll
;;
7719 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7720 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7722 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7723 if test "$ac_enable" != enable_win16
7725 wine_fn_clean_rules
$ac_clean
7726 wine_fn_append_file SUBDIRS
$ac_dir
7727 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7729 wine_fn_disabled_rules
$ac_clean
7734 wine_fn_clean_rules
$ac_clean
7735 wine_fn_append_rule \
7736 "$ac_dir: __builddeps__
7737 manpages htmlpages sgmlpages xmlpages::
7738 @cd $ac_dir && \$(MAKE) \$@
7739 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7740 install install-lib:: $ac_dir/install-lib
7741 __uninstall__: $ac_dir/uninstall"
7742 if test -n "$DLLEXT"
7744 wine_fn_append_rule \
7745 "$ac_dir/install-lib:: $ac_dir
7746 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7747 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7749 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7751 wine_fn_append_rule \
7752 "$ac_dir/install-lib:: $ac_dir
7753 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7755 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7759 if wine_fn_has_flag staticimplib
7761 wine_fn_append_rule \
7762 "__builddeps__: $ac_file.a
7763 $ac_file.a $ac_file.cross.a: $ac_deps
7765 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7766 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7767 $ac_dir/install-dev:: $ac_file.a
7768 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7770 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7771 install install-dev:: $ac_dir/install-dev
7772 __uninstall__: $ac_dir/uninstall"
7774 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7776 wine_fn_append_rule \
7777 "__builddeps__: $ac_file.cross.a
7778 $ac_file.cross.a: dummy
7779 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7782 elif wine_fn_has_flag implib
7784 wine_fn_append_rule \
7785 "__builddeps__: $ac_file.$IMPLIBEXT
7786 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7787 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7788 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7789 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7790 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7791 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7792 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7794 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7795 install install-dev:: $ac_dir/install-dev
7796 __uninstall__: $ac_dir/uninstall"
7797 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7799 wine_fn_append_rule \
7800 "__builddeps__: $ac_file.cross.a
7801 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7802 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7807 wine_fn_config_program
()
7810 ac_dir
=programs
/$ac_name
7817 *) ac_program
=$ac_program.exe
;;
7821 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7822 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7824 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7825 wine_fn_disabled_rules
$ac_clean; return
7829 wine_fn_clean_rules
$ac_clean
7830 wine_fn_append_rule
"$ac_dir: __builddeps__"
7832 wine_fn_has_flag
install ||
return
7833 wine_fn_append_rule \
7834 ".PHONY: $ac_dir/install $ac_dir/uninstall
7835 install install-lib:: $ac_dir/install
7836 __uninstall__: $ac_dir/uninstall"
7838 if test -n "$DLLEXT"
7840 wine_fn_append_rule \
7841 "$ac_dir/install:: $ac_dir
7842 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7843 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7845 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7847 if test -z "$with_wine64" && wine_fn_has_flag installbin
7849 wine_fn_append_rule \
7850 "$ac_dir/install:: __tooldeps__
7851 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7853 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7856 wine_fn_append_rule \
7857 "$ac_dir/install:: $ac_dir
7858 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7860 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7863 if test -z "$with_wine64" && wine_fn_has_flag manpage
7865 wine_fn_append_rule \
7866 "$ac_dir/install:: $ac_dir
7867 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7869 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7873 wine_fn_config_test
()
7880 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7881 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7883 if test "x$enable_tests" = xno
; then :
7884 wine_fn_disabled_rules
$ac_clean; return
7887 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7889 wine_fn_clean_rules
$ac_clean
7891 wine_fn_append_rule \
7892 "$ac_dir: __builddeps__
7893 programs/winetest: $ac_dir
7894 check test: $ac_dir/test
7895 .PHONY: $ac_dir/test
7897 @cd $ac_dir && \$(MAKE) test
7899 \$(RM) $ac_dir/*.ok"
7901 if test -n "$CROSSTARGET"
7903 wine_fn_append_rule \
7904 "crosstest: $ac_dir/crosstest
7905 .PHONY: $ac_dir/crosstest
7906 $ac_dir/crosstest: __builddeps__ dummy
7907 @cd $ac_dir && \$(MAKE) crosstest"
7911 wine_fn_config_tool
()
7915 if test "x$enable_tools" = xno
; then :
7916 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir; return
7920 wine_fn_install_rules
7923 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7924 wine_fn_append_rule
"$ac_dir: libs/port"
7926 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7930 wine_fn_config_symlink
()
7933 if test "x$1" = "x-d"
7939 wine_fn_append_rule \
7941 @./config.status \$@"
7942 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
7943 test -n "$ac_linkdir" ||
return
7944 wine_fn_append_rule
"$ac_linkdir/depend: $ac_links"
7948 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7949 WINELOADER_PROGRAMS
="$wine_binary"
7951 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7955 if test -n "$ac_tool_prefix"; then
7956 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7957 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7959 $as_echo_n "checking for $ac_word... " >&6; }
7960 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7961 $as_echo_n "(cached) " >&6
7963 if test -n "$DLLTOOL"; then
7964 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7970 test -z "$as_dir" && as_dir
=.
7971 for ac_exec_ext
in '' $ac_executable_extensions; do
7972 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7973 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7983 DLLTOOL
=$ac_cv_prog_DLLTOOL
7984 if test -n "$DLLTOOL"; then
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7986 $as_echo "$DLLTOOL" >&6; }
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7989 $as_echo "no" >&6; }
7994 if test -z "$ac_cv_prog_DLLTOOL"; then
7995 ac_ct_DLLTOOL
=$DLLTOOL
7996 # Extract the first word of "dlltool", so it can be a program name with args.
7997 set dummy dlltool
; ac_word
=$2
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7999 $as_echo_n "checking for $ac_word... " >&6; }
8000 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
8001 $as_echo_n "(cached) " >&6
8003 if test -n "$ac_ct_DLLTOOL"; then
8004 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8010 test -z "$as_dir" && as_dir
=.
8011 for ac_exec_ext
in '' $ac_executable_extensions; do
8012 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8013 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8023 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8024 if test -n "$ac_ct_DLLTOOL"; then
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8026 $as_echo "$ac_ct_DLLTOOL" >&6; }
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8029 $as_echo "no" >&6; }
8032 if test "x$ac_ct_DLLTOOL" = x
; then
8035 case $cross_compiling:$ac_tool_warned in
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8039 ac_tool_warned
=yes ;;
8041 DLLTOOL
=$ac_ct_DLLTOOL
8044 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8050 enable_iphlpapi
=${enable_iphlpapi:-no}
8051 enable_kernel32
=${enable_kernel32:-no}
8052 enable_msvcrt
=${enable_msvcrt:-no}
8053 enable_ntdll
=${enable_ntdll:-no}
8054 enable_ws2_32
=${enable_ws2_32:-no}
8055 enable_loader
=${enable_loader:-no}
8056 enable_server
=${enable_server:-no}
8057 with_x
=${with_x:-no}
8058 with_pthread
=${with_pthread:-no}
8064 SOCKET_LIBS
="-lws2_32"
8068 LIBWINE_SHAREDLIB
="libwine.dll"
8070 LIBWINE_IMPORTLIB
="libwine.a"
8072 LIBWINE_INSTALL_LIB
="libwine.dll"
8074 LIBWINE_INSTALL_DEV
="libwine.a"
8076 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
8078 LIBWINE_DEPENDS
="wine.def"
8083 for ac_header
in libunwind.h
8085 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8086 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8087 cat >>confdefs.h
<<_ACEOF
8088 #define HAVE_LIBUNWIND_H 1
8096 DLLFLAGS
="$DLLFLAGS -fPIC"
8097 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8098 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8099 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8101 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8103 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8105 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8107 CORESERVICES_LIBS
="-framework CoreServices"
8109 APPKIT_LIBS
="-framework AppKit"
8111 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8113 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8114 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8115 $as_echo_n "(cached) " >&6
8117 ac_wine_try_cflags_saved
=$CFLAGS
8118 CFLAGS
="$CFLAGS -Wl,-no_pie"
8119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8120 /* end confdefs.h. */
8121 int main(int argc, char **argv) { return 0; }
8123 if ac_fn_c_try_link
"$LINENO"; then :
8124 ac_cv_cflags__Wl__no_pie
=yes
8126 ac_cv_cflags__Wl__no_pie
=no
8128 rm -f core conftest.err conftest.
$ac_objext \
8129 conftest
$ac_exeext conftest.
$ac_ext
8130 CFLAGS
=$ac_wine_try_cflags_saved
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8133 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8134 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8135 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8137 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8139 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8142 if test "$ac_cv_header_Security_Security_h" = "yes"
8144 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8146 ac_save_LIBS
="$LIBS"
8147 LIBS
="$LIBS $SECURITY_LIBS"
8148 for ac_func
in SSLCopyPeerCertificates
8150 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8151 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8152 cat >>confdefs.h
<<_ACEOF
8153 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8159 LIBS
="$ac_save_LIBS"
8160 with_gnutls
=${with_gnutls:-no}
8162 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8164 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8166 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8169 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8172 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8173 ac_save_LIBS
="$LIBS"
8174 LIBS
="$LIBS $COREAUDIO_LIBS"
8175 for ac_func
in AUGraphAddNode
8177 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8178 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8179 cat >>confdefs.h
<<_ACEOF
8180 #define HAVE_AUGRAPHADDNODE 1
8186 LIBS
="$ac_save_LIBS"
8188 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8190 OPENAL_LIBS
="-framework OpenAL"
8193 cat >>confdefs.h
<<_ACEOF
8194 #define HAVE_OPENAL 1
8197 ac_cv_lib_openal
=yes
8199 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8201 OPENCL_LIBS
="-framework OpenCL"
8203 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8205 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8207 ac_save_LIBS
="$LIBS"
8208 LIBS
="$LIBS $IOKIT_LIBS"
8209 for ac_func
in IOHIDManagerCreate
8211 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8212 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8213 cat >>confdefs.h
<<_ACEOF
8214 #define HAVE_IOHIDMANAGERCREATE 1
8220 LIBS
="$ac_save_LIBS"
8222 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8224 ac_save_LIBS
="$LIBS"
8225 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8227 $as_echo_n "checking for the QuickTime framework... " >&6; }
8228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8229 /* end confdefs.h. */
8230 #include <QuickTime/ImageCompression.h>
8234 CodecManagerVersion(NULL);
8239 if ac_fn_c_try_link
"$LINENO"; then :
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8241 $as_echo "yes" >&6; }
8242 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8244 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8247 $as_echo "no" >&6; }
8248 ac_cv_header_QuickTime_ImageCompression_h
=no
8250 rm -f core conftest.err conftest.
$ac_objext \
8251 conftest
$ac_exeext conftest.
$ac_ext
8252 LIBS
="$ac_save_LIBS"
8254 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8256 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8258 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8260 CARBON_LIBS
="-framework Carbon"
8264 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8266 ac_save_LIBS
="$LIBS"
8267 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8268 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8269 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8270 enable_winemac_drv
=${enable_winemac_drv:-yes}
8273 LIBS
="$ac_save_LIBS"
8276 if test "x$enable_win16" = "xyes"
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8279 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8280 if test "$cross_compiling" = yes; then :
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8282 $as_echo "cross-compiling, assuming yes" >&6; }
8284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8285 /* end confdefs.h. */
8288 "good:\tnop;nop\n\t"
8289 ".globl _testfunc\n"
8290 "_testfunc:\tcallw good");
8291 extern void testfunc();
8295 unsigned short *p = (unsigned short *)testfunc;
8296 return p[0] != 0xe866 || p[1] != 0xfffa
8301 if ac_fn_c_try_run
"$LINENO"; then :
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8303 $as_echo "yes" >&6; }
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8306 $as_echo "no" >&6; }
8307 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
8309 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8310 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8315 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8317 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8319 LIBWINE_INSTALL_DEV
="libwine.dylib"
8321 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8323 WINELOADER_DEPENDS
="wine_info.plist"
8328 DLLFLAGS
="$DLLFLAGS -fPIC"
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8330 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8331 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8332 $as_echo_n "(cached) " >&6
8334 ac_wine_try_cflags_saved
=$CFLAGS
8335 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8337 /* end confdefs.h. */
8338 int main(int argc, char **argv) { return 0; }
8340 if ac_fn_c_try_link
"$LINENO"; then :
8341 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8343 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8345 rm -f core conftest.err conftest.
$ac_objext \
8346 conftest
$ac_exeext conftest.
$ac_ext
8347 CFLAGS
=$ac_wine_try_cflags_saved
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8350 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8351 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8352 LDEXECFLAGS
="-Wl,--export-dynamic"
8354 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8356 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8357 if eval \
${$as_ac_var+:} false
; then :
8358 $as_echo_n "(cached) " >&6
8360 ac_wine_try_cflags_saved
=$CFLAGS
8361 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8363 /* end confdefs.h. */
8364 int main(int argc, char **argv) { return 0; }
8366 if ac_fn_c_try_link
"$LINENO"; then :
8367 eval "$as_ac_var=yes"
8369 eval "$as_ac_var=no"
8371 rm -f core conftest.err conftest.
$ac_objext \
8372 conftest
$ac_exeext conftest.
$ac_ext
8373 CFLAGS
=$ac_wine_try_cflags_saved
8375 eval ac_res
=\$
$as_ac_var
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8377 $as_echo "$ac_res" >&6; }
8378 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8379 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8380 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8382 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8384 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8385 if eval \
${$as_ac_var+:} false
; then :
8386 $as_echo_n "(cached) " >&6
8388 ac_wine_try_cflags_saved
=$CFLAGS
8389 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8391 /* end confdefs.h. */
8392 int main(int argc, char **argv) { return 0; }
8394 if ac_fn_c_try_link
"$LINENO"; then :
8395 eval "$as_ac_var=yes"
8397 eval "$as_ac_var=no"
8399 rm -f core conftest.err conftest.
$ac_objext \
8400 conftest
$ac_exeext conftest.
$ac_ext
8401 CFLAGS
=$ac_wine_try_cflags_saved
8403 eval ac_res
=\$
$as_ac_var
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8405 $as_echo "$ac_res" >&6; }
8406 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8407 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8408 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8413 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8414 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8415 $as_echo_n "(cached) " >&6
8417 ac_wine_try_cflags_saved
=$CFLAGS
8418 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8420 /* end confdefs.h. */
8421 int main(int argc, char **argv) { return 0; }
8423 if ac_fn_c_try_link
"$LINENO"; then :
8424 ac_cv_cflags__Wl___enable_new_dtags
=yes
8426 ac_cv_cflags__Wl___enable_new_dtags
=no
8428 rm -f core conftest.err conftest.
$ac_objext \
8429 conftest
$ac_exeext conftest.
$ac_ext
8430 CFLAGS
=$ac_wine_try_cflags_saved
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8433 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8434 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8435 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8438 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8439 if ${ac_cv_cflags__Wl__pie+:} false
; then :
8440 $as_echo_n "(cached) " >&6
8442 ac_wine_try_cflags_saved
=$CFLAGS
8443 CFLAGS
="$CFLAGS -Wl,-pie"
8444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8445 /* end confdefs.h. */
8446 int main(int argc, char **argv) { return 0; }
8448 if ac_fn_c_try_link
"$LINENO"; then :
8449 ac_cv_cflags__Wl__pie
=yes
8451 ac_cv_cflags__Wl__pie
=no
8453 rm -f core conftest.err conftest.
$ac_objext \
8454 conftest
$ac_exeext conftest.
$ac_ext
8455 CFLAGS
=$ac_wine_try_cflags_saved
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8458 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8459 if test "x$ac_cv_cflags__Wl__pie" = xyes
; then :
8460 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,-pie"
8463 LIBWINE_SHAREDLIB
="libwine.so"
8465 LIBWINE_INSTALL_LIB
="libwine.so"
8467 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so"
8472 DLLFLAGS
="$DLLFLAGS -fPIC"
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8475 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8476 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8477 $as_echo_n "(cached) " >&6
8479 ac_wine_try_cflags_saved
=$CFLAGS
8480 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8482 /* end confdefs.h. */
8485 if ac_fn_c_try_link
"$LINENO"; then :
8486 ac_cv_c_dll_gnuelf
="yes"
8488 ac_cv_c_dll_gnuelf
="no"
8490 rm -f core conftest.err conftest.
$ac_objext \
8491 conftest
$ac_exeext conftest.
$ac_ext
8492 CFLAGS
=$ac_wine_try_cflags_saved
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8495 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8496 if test "$ac_cv_c_dll_gnuelf" = "yes"
8498 LIBWINE_LDFLAGS
="-shared"
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8500 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8501 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8502 $as_echo_n "(cached) " >&6
8504 ac_wine_try_cflags_saved
=$CFLAGS
8505 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8507 /* end confdefs.h. */
8508 int main(int argc, char **argv) { return 0; }
8510 if ac_fn_c_try_link
"$LINENO"; then :
8511 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8513 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8515 rm -f core conftest.err conftest.
$ac_objext \
8516 conftest
$ac_exeext conftest.
$ac_ext
8517 CFLAGS
=$ac_wine_try_cflags_saved
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8520 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8521 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8522 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8525 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8526 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8527 $as_echo_n "(cached) " >&6
8529 ac_wine_try_cflags_saved
=$CFLAGS
8530 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8532 /* end confdefs.h. */
8533 int main(int argc, char **argv) { return 0; }
8535 if ac_fn_c_try_link
"$LINENO"; then :
8536 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8538 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8540 rm -f core conftest.err conftest.
$ac_objext \
8541 conftest
$ac_exeext conftest.
$ac_ext
8542 CFLAGS
=$ac_wine_try_cflags_saved
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8545 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8546 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8547 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8551 echo '{ global: *; };' >conftest.map
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8553 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8554 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8555 $as_echo_n "(cached) " >&6
8557 ac_wine_try_cflags_saved
=$CFLAGS
8558 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8560 /* end confdefs.h. */
8561 int main(int argc, char **argv) { return 0; }
8563 if ac_fn_c_try_link
"$LINENO"; then :
8564 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8566 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8568 rm -f core conftest.err conftest.
$ac_objext \
8569 conftest
$ac_exeext conftest.
$ac_ext
8570 CFLAGS
=$ac_wine_try_cflags_saved
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8573 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8574 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8575 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8580 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8581 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8582 $as_echo_n "(cached) " >&6
8584 ac_wine_try_cflags_saved
=$CFLAGS
8585 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8587 /* end confdefs.h. */
8588 int main(int argc, char **argv) { return 0; }
8590 if ac_fn_c_try_link
"$LINENO"; then :
8591 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8593 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8595 rm -f core conftest.err conftest.
$ac_objext \
8596 conftest
$ac_exeext conftest.
$ac_ext
8597 CFLAGS
=$ac_wine_try_cflags_saved
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8600 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8601 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8602 LDEXECFLAGS
="-Wl,--export-dynamic"
8605 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8607 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8608 if eval \
${$as_ac_var+:} false
; then :
8609 $as_echo_n "(cached) " >&6
8611 ac_wine_try_cflags_saved
=$CFLAGS
8612 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8614 /* end confdefs.h. */
8615 int main(int argc, char **argv) { return 0; }
8617 if ac_fn_c_try_link
"$LINENO"; then :
8618 eval "$as_ac_var=yes"
8620 eval "$as_ac_var=no"
8622 rm -f core conftest.err conftest.
$ac_objext \
8623 conftest
$ac_exeext conftest.
$ac_ext
8624 CFLAGS
=$ac_wine_try_cflags_saved
8626 eval ac_res
=\$
$as_ac_var
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8628 $as_echo "$ac_res" >&6; }
8629 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8630 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8631 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8633 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8635 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8636 if eval \
${$as_ac_var+:} false
; then :
8637 $as_echo_n "(cached) " >&6
8639 ac_wine_try_cflags_saved
=$CFLAGS
8640 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8642 /* end confdefs.h. */
8643 int main(int argc, char **argv) { return 0; }
8645 if ac_fn_c_try_link
"$LINENO"; then :
8646 eval "$as_ac_var=yes"
8648 eval "$as_ac_var=no"
8650 rm -f core conftest.err conftest.
$ac_objext \
8651 conftest
$ac_exeext conftest.
$ac_ext
8652 CFLAGS
=$ac_wine_try_cflags_saved
8654 eval ac_res
=\$
$as_ac_var
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8656 $as_echo "$ac_res" >&6; }
8657 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8658 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8659 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8664 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8665 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8666 $as_echo_n "(cached) " >&6
8668 ac_wine_try_cflags_saved
=$CFLAGS
8669 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8671 /* end confdefs.h. */
8672 int main(int argc, char **argv) { return 0; }
8674 if ac_fn_c_try_link
"$LINENO"; then :
8675 ac_cv_cflags__Wl___enable_new_dtags
=yes
8677 ac_cv_cflags__Wl___enable_new_dtags
=no
8679 rm -f core conftest.err conftest.
$ac_objext \
8680 conftest
$ac_exeext conftest.
$ac_ext
8681 CFLAGS
=$ac_wine_try_cflags_saved
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8684 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8685 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8686 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8690 *i
[3456789]86* | x86_64
)
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8692 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8693 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8694 $as_echo_n "(cached) " >&6
8696 ac_wine_try_cflags_saved
=$CFLAGS
8697 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8699 /* end confdefs.h. */
8700 int main(int argc, char **argv) { return 0; }
8702 if ac_fn_c_try_link
"$LINENO"; then :
8703 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8705 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8707 rm -f core conftest.err conftest.
$ac_objext \
8708 conftest
$ac_exeext conftest.
$ac_ext
8709 CFLAGS
=$ac_wine_try_cflags_saved
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8712 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8713 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8715 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8716 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8720 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8721 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false
; then :
8722 $as_echo_n "(cached) " >&6
8724 ac_wine_try_cflags_saved
=$CFLAGS
8725 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8727 /* end confdefs.h. */
8728 int main(int argc, char **argv) { return 0; }
8730 if ac_fn_c_try_link
"$LINENO"; then :
8731 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=yes
8733 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=no
8735 rm -f core conftest.err conftest.
$ac_objext \
8736 conftest
$ac_exeext conftest.
$ac_ext
8737 CFLAGS
=$ac_wine_try_cflags_saved
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8740 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8741 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes
; then :
8743 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8744 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8747 # Extract the first word of "prelink", so it can be a program name with args.
8748 set dummy prelink
; ac_word
=$2
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8750 $as_echo_n "checking for $ac_word... " >&6; }
8751 if ${ac_cv_path_PRELINK+:} false
; then :
8752 $as_echo_n "(cached) " >&6
8756 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8760 for as_dir
in /sbin
/usr
/sbin
$PATH
8763 test -z "$as_dir" && as_dir
=.
8764 for ac_exec_ext
in '' $ac_executable_extensions; do
8765 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8766 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8774 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8778 PRELINK
=$ac_cv_path_PRELINK
8779 if test -n "$PRELINK"; then
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8781 $as_echo "$PRELINK" >&6; }
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8784 $as_echo "no" >&6; }
8788 if test "x$PRELINK" = xfalse
8790 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8794 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8795 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false
; then :
8796 $as_echo_n "(cached) " >&6
8798 ac_wine_try_cflags_saved
=$CFLAGS
8799 CFLAGS
="$CFLAGS -Wl,-z,max-page-size=0x1000"
8800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8801 /* end confdefs.h. */
8802 int main(int argc, char **argv) { return 0; }
8804 if ac_fn_c_try_link
"$LINENO"; then :
8805 ac_cv_cflags__Wl__z_max_page_size_0x1000
=yes
8807 ac_cv_cflags__Wl__z_max_page_size_0x1000
=no
8809 rm -f core conftest.err conftest.
$ac_objext \
8810 conftest
$ac_exeext conftest.
$ac_ext
8811 CFLAGS
=$ac_wine_try_cflags_saved
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8814 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8815 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
; then :
8816 LDEXECFLAGS
="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8823 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8824 if ${ac_cv_c_dll_unixware+:} false
; then :
8825 $as_echo_n "(cached) " >&6
8827 ac_wine_try_cflags_saved
=$CFLAGS
8828 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8830 /* end confdefs.h. */
8833 if ac_fn_c_try_link
"$LINENO"; then :
8834 ac_cv_c_dll_unixware
="yes"
8836 ac_cv_c_dll_unixware
="no"
8838 rm -f core conftest.err conftest.
$ac_objext \
8839 conftest
$ac_exeext conftest.
$ac_ext
8840 CFLAGS
=$ac_wine_try_cflags_saved
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8843 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8844 if test "$ac_cv_c_dll_unixware" = "yes"
8846 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
8849 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
8851 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8853 LIBWINE_INSTALL_DEV
="libwine.so"
8855 LIBWINE_DEPENDS
="wine.map"
8860 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
8861 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8862 enable_winemac_drv
=${enable_winemac_drv:-no}
8863 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
8867 if test "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8871 ac_prefix_list
="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8873 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
8874 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8877 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
8878 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8880 ac_prefix_list
="" ;;
8882 for ac_prog
in $ac_prefix_list
8884 # Extract the first word of "$ac_prog", so it can be a program name with args.
8885 set dummy
$ac_prog; ac_word
=$2
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8887 $as_echo_n "checking for $ac_word... " >&6; }
8888 if ${ac_cv_prog_CROSSCC+:} false
; then :
8889 $as_echo_n "(cached) " >&6
8891 if test -n "$CROSSCC"; then
8892 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8898 test -z "$as_dir" && as_dir
=.
8899 for ac_exec_ext
in '' $ac_executable_extensions; do
8900 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8901 ac_cv_prog_CROSSCC
="$ac_prog"
8902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8911 CROSSCC
=$ac_cv_prog_CROSSCC
8912 if test -n "$CROSSCC"; then
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8914 $as_echo "$CROSSCC" >&6; }
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8917 $as_echo "no" >&6; }
8921 test -n "$CROSSCC" && break
8923 test -n "$CROSSCC" || CROSSCC
="false"
8925 if test "$CROSSCC" != "false"
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8930 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8932 /* end confdefs.h. */
8942 if ac_fn_c_try_compile
"$LINENO"; then :
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8944 $as_echo "yes" >&6; }
8950 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8951 *-clang) CROSSTARGET
=`expr "$1" : '\(.*\)-clang'` ;;
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8957 $as_echo "no" >&6; }
8959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8965 if test "$ac_cv_header_pthread_h" = "yes"
8967 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8968 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8972 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8973 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8974 $as_echo_n "(cached) " >&6
8976 ac_check_lib_save_LIBS
=$LIBS
8977 LIBS
="-lpthread $LIBS"
8978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8979 /* end confdefs.h. */
8981 /* Override any GCC internal prototype to avoid an error.
8982 Use char because int might match the return type of a GCC
8983 builtin and then its argument prototype would still apply. */
8987 char pthread_create ();
8991 return pthread_create ();
8996 if ac_fn_c_try_link
"$LINENO"; then :
8997 ac_cv_lib_pthread_pthread_create
=yes
8999 ac_cv_lib_pthread_pthread_create
=no
9001 rm -f core conftest.err conftest.
$ac_objext \
9002 conftest
$ac_exeext conftest.
$ac_ext
9003 LIBS
=$ac_check_lib_save_LIBS
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9006 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9007 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
9008 PTHREAD_LIBS
="-lpthread"
9015 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
9016 case "x$with_pthread" in
9018 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
9019 Wine cannot support threads without libpthread.
9020 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9027 $as_echo_n "checking for X... " >&6; }
9030 # Check whether --with-x was given.
9031 if test "${with_x+set}" = set; then :
9035 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9036 if test "x$with_x" = xno
; then
9037 # The user explicitly disabled X.
9040 case $x_includes,$x_libraries in #(
9041 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
9042 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
9043 $as_echo_n "(cached) " >&6
9045 # One or both of the vars are not set, and there is no cached value.
9046 ac_x_includes
=no ac_x_libraries
=no
9047 rm -f -r conftest.dir
9048 if mkdir conftest.dir
; then
9050 cat >Imakefile
<<'_ACEOF'
9052 @echo incroot='${INCROOT}'
9054 @echo usrlibdir='${USRLIBDIR}'
9056 @echo libdir='${LIBDIR}'
9058 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9059 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9060 for ac_var
in incroot usrlibdir libdir
; do
9061 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9063 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9064 for ac_extension
in a so sl dylib la dll
; do
9065 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9066 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9067 ac_im_usrlibdir
=$ac_im_libdir; break
9070 # Screen out bogus values from the imake configuration. They are
9071 # bogus both because they are the default anyway, and because
9072 # using them would break gcc on systems where it needs fixed includes.
9073 case $ac_im_incroot in
9074 /usr
/include
) ac_x_includes
= ;;
9075 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9077 case $ac_im_usrlibdir in
9078 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9079 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9083 rm -f -r conftest.dir
9086 # Standard set of common directories for X headers.
9087 # Check X11 before X11Rn because it is often a symlink to the current release.
9101 /usr/local/X11/include
9102 /usr/local/X11R7/include
9103 /usr/local/X11R6/include
9104 /usr/local/X11R5/include
9105 /usr/local/X11R4/include
9107 /usr/local/include/X11
9108 /usr/local/include/X11R7
9109 /usr/local/include/X11R6
9110 /usr/local/include/X11R5
9111 /usr/local/include/X11R4
9115 /usr/XFree86/include/X11
9119 /usr/unsupported/include
9121 /usr/local/x11r5/include
9122 /usr/lpp/Xamples/include
9124 /usr/openwin/include
9125 /usr/openwin/share/include'
9127 if test "$ac_x_includes" = no
; then
9128 # Guess where to find include files, by looking for Xlib.h.
9129 # First, try using that file with no special directory specified.
9130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9131 /* end confdefs.h. */
9132 #include <X11/Xlib.h>
9134 if ac_fn_c_try_cpp
"$LINENO"; then :
9135 # We can compile using X headers with no special include directory.
9138 for ac_dir
in $ac_x_header_dirs; do
9139 if test -r "$ac_dir/X11/Xlib.h"; then
9140 ac_x_includes
=$ac_dir
9145 rm -f conftest.err conftest.i conftest.
$ac_ext
9146 fi # $ac_x_includes = no
9148 if test "$ac_x_libraries" = no
; then
9149 # Check for the libraries.
9150 # See if we find them without any special options.
9151 # Don't add to $LIBS permanently.
9154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9155 /* end confdefs.h. */
9156 #include <X11/Xlib.h>
9165 if ac_fn_c_try_link
"$LINENO"; then :
9167 # We can link X programs with no special library path.
9171 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9173 # Don't even attempt the hair of trying to link an X program!
9174 for ac_extension
in a so sl dylib la dll
; do
9175 if test -r "$ac_dir/libX11.$ac_extension"; then
9176 ac_x_libraries
=$ac_dir
9182 rm -f core conftest.err conftest.
$ac_objext \
9183 conftest
$ac_exeext conftest.
$ac_ext
9184 fi # $ac_x_libraries = no
9186 case $ac_x_includes,$ac_x_libraries in #(
9188 # Didn't find X, or a directory has "'" in its name.
9189 ac_cv_have_x
="have_x=no";; #(
9191 # Record where we found X for the cache.
9192 ac_cv_have_x
="have_x=yes\
9193 ac_x_includes='$ac_x_includes'\
9194 ac_x_libraries='$ac_x_libraries'"
9200 eval "$ac_cv_have_x"
9203 if test "$have_x" != yes; then
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9205 $as_echo "$have_x" >&6; }
9208 # If each of the values was on the command line, it overrides each guess.
9209 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9210 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9211 # Update the cache value to reflect the command line values.
9212 ac_cv_have_x
="have_x=yes\
9213 ac_x_includes='$x_includes'\
9214 ac_x_libraries='$x_libraries'"
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9216 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9219 if test "$no_x" = yes; then
9220 # Not all programs may use this symbol, but it does not hurt to define it.
9222 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9224 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9226 if test -n "$x_includes"; then
9227 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9230 # It would also be nice to do this for all -L options, not just this one.
9231 if test -n "$x_libraries"; then
9232 X_LIBS
="$X_LIBS -L$x_libraries"
9233 # For Solaris; some versions of Sun CC require a space after -R and
9234 # others require no space. Words are not sufficient . . . .
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9236 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9237 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9238 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9239 ac_c_werror_flag
=yes
9240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9241 /* end confdefs.h. */
9251 if ac_fn_c_try_link
"$LINENO"; then :
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9253 $as_echo "no" >&6; }
9254 X_LIBS
="$X_LIBS -R$x_libraries"
9256 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9258 /* end confdefs.h. */
9268 if ac_fn_c_try_link
"$LINENO"; then :
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9270 $as_echo "yes" >&6; }
9271 X_LIBS
="$X_LIBS -R $x_libraries"
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9274 $as_echo "neither works" >&6; }
9276 rm -f core conftest.err conftest.
$ac_objext \
9277 conftest
$ac_exeext conftest.
$ac_ext
9279 rm -f core conftest.err conftest.
$ac_objext \
9280 conftest
$ac_exeext conftest.
$ac_ext
9281 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9285 # Check for system-dependent libraries X programs must link with.
9286 # Do this before checking for the system-independent R6 libraries
9287 # (-lICE), since we may need -lsocket or whatever for X linking.
9289 if test "$ISC" = yes; then
9290 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9292 # Martyn Johnson says this is needed for Ultrix, if the X
9293 # libraries were built with DECnet support. And Karl Berry says
9294 # the Alpha needs dnet_stub (dnet does not exist).
9295 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9297 /* end confdefs.h. */
9299 /* Override any GCC internal prototype to avoid an error.
9300 Use char because int might match the return type of a GCC
9301 builtin and then its argument prototype would still apply. */
9305 char XOpenDisplay ();
9309 return XOpenDisplay ();
9314 if ac_fn_c_try_link
"$LINENO"; then :
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9318 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9319 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9320 $as_echo_n "(cached) " >&6
9322 ac_check_lib_save_LIBS
=$LIBS
9324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9325 /* end confdefs.h. */
9327 /* Override any GCC internal prototype to avoid an error.
9328 Use char because int might match the return type of a GCC
9329 builtin and then its argument prototype would still apply. */
9337 return dnet_ntoa ();
9342 if ac_fn_c_try_link
"$LINENO"; then :
9343 ac_cv_lib_dnet_dnet_ntoa
=yes
9345 ac_cv_lib_dnet_dnet_ntoa
=no
9347 rm -f core conftest.err conftest.
$ac_objext \
9348 conftest
$ac_exeext conftest.
$ac_ext
9349 LIBS
=$ac_check_lib_save_LIBS
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9352 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9353 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9354 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9357 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9359 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9360 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9361 $as_echo_n "(cached) " >&6
9363 ac_check_lib_save_LIBS
=$LIBS
9364 LIBS
="-ldnet_stub $LIBS"
9365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9366 /* end confdefs.h. */
9368 /* Override any GCC internal prototype to avoid an error.
9369 Use char because int might match the return type of a GCC
9370 builtin and then its argument prototype would still apply. */
9378 return dnet_ntoa ();
9383 if ac_fn_c_try_link
"$LINENO"; then :
9384 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9386 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9388 rm -f core conftest.err conftest.
$ac_objext \
9389 conftest
$ac_exeext conftest.
$ac_ext
9390 LIBS
=$ac_check_lib_save_LIBS
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9393 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9394 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9395 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9400 rm -f core conftest.err conftest.
$ac_objext \
9401 conftest
$ac_exeext conftest.
$ac_ext
9402 LIBS
="$ac_xsave_LIBS"
9404 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9405 # to get the SysV transport functions.
9406 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9408 # The nsl library prevents programs from opening the X display
9409 # on Irix 5.2, according to T.E. Dickey.
9410 # The functions gethostbyname, getservbyname, and inet_addr are
9411 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9412 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9413 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9417 if test $ac_cv_func_gethostbyname = no
; then
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9419 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9420 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9421 $as_echo_n "(cached) " >&6
9423 ac_check_lib_save_LIBS
=$LIBS
9425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9426 /* end confdefs.h. */
9428 /* Override any GCC internal prototype to avoid an error.
9429 Use char because int might match the return type of a GCC
9430 builtin and then its argument prototype would still apply. */
9434 char gethostbyname ();
9438 return gethostbyname ();
9443 if ac_fn_c_try_link
"$LINENO"; then :
9444 ac_cv_lib_nsl_gethostbyname
=yes
9446 ac_cv_lib_nsl_gethostbyname
=no
9448 rm -f core conftest.err conftest.
$ac_objext \
9449 conftest
$ac_exeext conftest.
$ac_ext
9450 LIBS
=$ac_check_lib_save_LIBS
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9453 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9454 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9455 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9458 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9460 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9461 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9462 $as_echo_n "(cached) " >&6
9464 ac_check_lib_save_LIBS
=$LIBS
9466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9467 /* end confdefs.h. */
9469 /* Override any GCC internal prototype to avoid an error.
9470 Use char because int might match the return type of a GCC
9471 builtin and then its argument prototype would still apply. */
9475 char gethostbyname ();
9479 return gethostbyname ();
9484 if ac_fn_c_try_link
"$LINENO"; then :
9485 ac_cv_lib_bsd_gethostbyname
=yes
9487 ac_cv_lib_bsd_gethostbyname
=no
9489 rm -f core conftest.err conftest.
$ac_objext \
9490 conftest
$ac_exeext conftest.
$ac_ext
9491 LIBS
=$ac_check_lib_save_LIBS
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9494 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9495 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9496 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9502 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9503 # socket/setsockopt and other routines are undefined under SCO ODT
9504 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9505 # on later versions), says Simon Leinen: it contains gethostby*
9506 # variants that don't use the name server (or something). -lsocket
9507 # must be given before -lnsl if both are needed. We assume that
9508 # if connect needs -lnsl, so does gethostbyname.
9509 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9510 if test "x$ac_cv_func_connect" = xyes
; then :
9514 if test $ac_cv_func_connect = no
; then
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9516 $as_echo_n "checking for connect in -lsocket... " >&6; }
9517 if ${ac_cv_lib_socket_connect+:} false
; then :
9518 $as_echo_n "(cached) " >&6
9520 ac_check_lib_save_LIBS
=$LIBS
9521 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9523 /* end confdefs.h. */
9525 /* Override any GCC internal prototype to avoid an error.
9526 Use char because int might match the return type of a GCC
9527 builtin and then its argument prototype would still apply. */
9540 if ac_fn_c_try_link
"$LINENO"; then :
9541 ac_cv_lib_socket_connect
=yes
9543 ac_cv_lib_socket_connect
=no
9545 rm -f core conftest.err conftest.
$ac_objext \
9546 conftest
$ac_exeext conftest.
$ac_ext
9547 LIBS
=$ac_check_lib_save_LIBS
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9550 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9551 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9552 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9557 # Guillermo Gomez says -lposix is necessary on A/UX.
9558 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9559 if test "x$ac_cv_func_remove" = xyes
; then :
9563 if test $ac_cv_func_remove = no
; then
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9565 $as_echo_n "checking for remove in -lposix... " >&6; }
9566 if ${ac_cv_lib_posix_remove+:} false
; then :
9567 $as_echo_n "(cached) " >&6
9569 ac_check_lib_save_LIBS
=$LIBS
9570 LIBS
="-lposix $LIBS"
9571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9572 /* end confdefs.h. */
9574 /* Override any GCC internal prototype to avoid an error.
9575 Use char because int might match the return type of a GCC
9576 builtin and then its argument prototype would still apply. */
9589 if ac_fn_c_try_link
"$LINENO"; then :
9590 ac_cv_lib_posix_remove
=yes
9592 ac_cv_lib_posix_remove
=no
9594 rm -f core conftest.err conftest.
$ac_objext \
9595 conftest
$ac_exeext conftest.
$ac_ext
9596 LIBS
=$ac_check_lib_save_LIBS
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9599 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9600 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9601 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9606 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9607 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9608 if test "x$ac_cv_func_shmat" = xyes
; then :
9612 if test $ac_cv_func_shmat = no
; then
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9614 $as_echo_n "checking for shmat in -lipc... " >&6; }
9615 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9616 $as_echo_n "(cached) " >&6
9618 ac_check_lib_save_LIBS
=$LIBS
9620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9621 /* end confdefs.h. */
9623 /* Override any GCC internal prototype to avoid an error.
9624 Use char because int might match the return type of a GCC
9625 builtin and then its argument prototype would still apply. */
9638 if ac_fn_c_try_link
"$LINENO"; then :
9639 ac_cv_lib_ipc_shmat
=yes
9641 ac_cv_lib_ipc_shmat
=no
9643 rm -f core conftest.err conftest.
$ac_objext \
9644 conftest
$ac_exeext conftest.
$ac_ext
9645 LIBS
=$ac_check_lib_save_LIBS
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9648 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9649 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9650 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9656 # Check for libraries that X11R6 Xt/Xaw programs need.
9657 ac_save_LDFLAGS
=$LDFLAGS
9658 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9659 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9660 # check for ICE first), but we must link in the order -lSM -lICE or
9661 # we get undefined symbols. So assume we have SM if we have ICE.
9662 # These have to be linked with before -lX11, unlike the other
9663 # libraries we check for below, so use a different variable.
9664 # John Interrante, Karl Berry
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9666 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9667 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9668 $as_echo_n "(cached) " >&6
9670 ac_check_lib_save_LIBS
=$LIBS
9671 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9673 /* end confdefs.h. */
9675 /* Override any GCC internal prototype to avoid an error.
9676 Use char because int might match the return type of a GCC
9677 builtin and then its argument prototype would still apply. */
9681 char IceConnectionNumber ();
9685 return IceConnectionNumber ();
9690 if ac_fn_c_try_link
"$LINENO"; then :
9691 ac_cv_lib_ICE_IceConnectionNumber
=yes
9693 ac_cv_lib_ICE_IceConnectionNumber
=no
9695 rm -f core conftest.err conftest.
$ac_objext \
9696 conftest
$ac_exeext conftest.
$ac_ext
9697 LIBS
=$ac_check_lib_save_LIBS
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9700 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9701 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9702 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9705 LDFLAGS
=$ac_save_LDFLAGS
9710 if test "$have_x" = "yes"
9712 ac_save_CPPFLAGS
="$CPPFLAGS"
9713 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9716 $as_echo_n "checking for -lX11... " >&6; }
9717 if ${ac_cv_lib_soname_X11+:} false
; then :
9718 $as_echo_n "(cached) " >&6
9720 ac_check_soname_save_LIBS
=$LIBS
9721 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9723 /* end confdefs.h. */
9725 /* Override any GCC internal prototype to avoid an error.
9726 Use char because int might match the return type of a GCC
9727 builtin and then its argument prototype would still apply. */
9731 char XCreateWindow ();
9735 return XCreateWindow ();
9740 if ac_fn_c_try_link
"$LINENO"; then :
9742 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9743 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'` ;;
9744 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9745 if ${ac_cv_lib_soname_X11:+false} :; then :
9746 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9750 rm -f core conftest.err conftest.
$ac_objext \
9751 conftest
$ac_exeext conftest.
$ac_ext
9752 LIBS
=$ac_check_soname_save_LIBS
9754 if ${ac_cv_lib_soname_X11:+false} :; then :
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9756 $as_echo "not found" >&6; }
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9760 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9762 cat >>confdefs.h
<<_ACEOF
9763 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9769 $as_echo_n "checking for -lXext... " >&6; }
9770 if ${ac_cv_lib_soname_Xext+:} false
; then :
9771 $as_echo_n "(cached) " >&6
9773 ac_check_soname_save_LIBS
=$LIBS
9774 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9776 /* end confdefs.h. */
9778 /* Override any GCC internal prototype to avoid an error.
9779 Use char because int might match the return type of a GCC
9780 builtin and then its argument prototype would still apply. */
9784 char XextCreateExtension ();
9788 return XextCreateExtension ();
9793 if ac_fn_c_try_link
"$LINENO"; then :
9795 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9796 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'` ;;
9797 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9798 if ${ac_cv_lib_soname_Xext:+false} :; then :
9799 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9803 rm -f core conftest.err conftest.
$ac_objext \
9804 conftest
$ac_exeext conftest.
$ac_ext
9805 LIBS
=$ac_check_soname_save_LIBS
9807 if ${ac_cv_lib_soname_Xext:+false} :; then :
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9809 $as_echo "not found" >&6; }
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9813 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9815 cat >>confdefs.h
<<_ACEOF
9816 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9819 X_LIBS
="$X_LIBS -lXext"
9821 X_LIBS
="$X_LIBS -lX11"
9823 for ac_header
in X11
/Xlib.h \
9826 X11
/Xcursor
/Xcursor.h \
9827 X11
/extensions
/shape.h \
9828 X11
/extensions
/XInput.h \
9829 X11
/extensions
/XInput2.h \
9830 X11
/extensions
/XShm.h \
9831 X11
/extensions
/Xcomposite.h \
9832 X11
/extensions
/Xinerama.h \
9833 X11
/extensions
/Xrandr.h \
9834 X11
/extensions
/Xrender.h \
9835 X11
/extensions
/xf86vmode.h \
9836 X11
/extensions
/xf86vmproto.h
9838 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9839 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9840 # include <X11/Xlib.h>
9842 #ifdef HAVE_X11_XUTIL_H
9843 # include <X11/Xutil.h>
9846 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9847 cat >>confdefs.h
<<_ACEOF
9848 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9856 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9859 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9860 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9861 $as_echo_n "(cached) " >&6
9863 ac_check_lib_save_LIBS
=$LIBS
9864 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9866 /* end confdefs.h. */
9868 /* Override any GCC internal prototype to avoid an error.
9869 Use char because int might match the return type of a GCC
9870 builtin and then its argument prototype would still apply. */
9874 char XkbQueryExtension ();
9878 return XkbQueryExtension ();
9883 if ac_fn_c_try_link
"$LINENO"; then :
9884 ac_cv_lib_X11_XkbQueryExtension
=yes
9886 ac_cv_lib_X11_XkbQueryExtension
=no
9888 rm -f core conftest.err conftest.
$ac_objext \
9889 conftest
$ac_exeext conftest.
$ac_ext
9890 LIBS
=$ac_check_lib_save_LIBS
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9893 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9894 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9896 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9902 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9905 $as_echo_n "checking for -lXcursor... " >&6; }
9906 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9907 $as_echo_n "(cached) " >&6
9909 ac_check_soname_save_LIBS
=$LIBS
9910 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9912 /* end confdefs.h. */
9914 /* Override any GCC internal prototype to avoid an error.
9915 Use char because int might match the return type of a GCC
9916 builtin and then its argument prototype would still apply. */
9920 char XcursorImageLoadCursor ();
9924 return XcursorImageLoadCursor ();
9929 if ac_fn_c_try_link
"$LINENO"; then :
9931 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9932 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'` ;;
9933 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9934 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9935 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9939 rm -f core conftest.err conftest.
$ac_objext \
9940 conftest
$ac_exeext conftest.
$ac_ext
9941 LIBS
=$ac_check_soname_save_LIBS
9943 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9945 $as_echo "not found" >&6; }
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9949 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9951 cat >>confdefs.h
<<_ACEOF
9952 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9958 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9959 case "x$with_xcursor" in
9960 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9962 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9963 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9968 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9971 $as_echo_n "checking for -lXi... " >&6; }
9972 if ${ac_cv_lib_soname_Xi+:} false
; then :
9973 $as_echo_n "(cached) " >&6
9975 ac_check_soname_save_LIBS
=$LIBS
9976 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9978 /* end confdefs.h. */
9980 /* Override any GCC internal prototype to avoid an error.
9981 Use char because int might match the return type of a GCC
9982 builtin and then its argument prototype would still apply. */
9986 char XOpenDevice ();
9990 return XOpenDevice ();
9995 if ac_fn_c_try_link
"$LINENO"; then :
9997 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9998 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'` ;;
9999 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10000 if ${ac_cv_lib_soname_Xi:+false} :; then :
10001 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10005 rm -f core conftest.err conftest.
$ac_objext \
10006 conftest
$ac_exeext conftest.
$ac_ext
10007 LIBS
=$ac_check_soname_save_LIBS
10009 if ${ac_cv_lib_soname_Xi:+false} :; then :
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10011 $as_echo "not found" >&6; }
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10015 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10017 cat >>confdefs.h
<<_ACEOF
10018 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10024 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10025 case "x$with_xinput" in
10026 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10028 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10029 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10034 if test "x$ac_cv_lib_soname_Xi" != x
10036 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10037 case "x$with_xinput2" in
10038 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10040 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
10041 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10047 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10050 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10051 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
10052 $as_echo_n "(cached) " >&6
10054 ac_check_lib_save_LIBS
=$LIBS
10055 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10057 /* end confdefs.h. */
10059 /* Override any GCC internal prototype to avoid an error.
10060 Use char because int might match the return type of a GCC
10061 builtin and then its argument prototype would still apply. */
10065 char XShmQueryExtension ();
10069 return XShmQueryExtension ();
10074 if ac_fn_c_try_link
"$LINENO"; then :
10075 ac_cv_lib_Xext_XShmQueryExtension
=yes
10077 ac_cv_lib_Xext_XShmQueryExtension
=no
10079 rm -f core conftest.err conftest.
$ac_objext \
10080 conftest
$ac_exeext conftest.
$ac_ext
10081 LIBS
=$ac_check_lib_save_LIBS
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10084 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10085 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10087 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10092 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10093 case "x$with_xshm" in
10094 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10096 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10097 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10102 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10105 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10106 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10107 $as_echo_n "(cached) " >&6
10109 ac_check_lib_save_LIBS
=$LIBS
10110 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10112 /* end confdefs.h. */
10114 /* Override any GCC internal prototype to avoid an error.
10115 Use char because int might match the return type of a GCC
10116 builtin and then its argument prototype would still apply. */
10120 char XShapeQueryExtension ();
10124 return XShapeQueryExtension ();
10129 if ac_fn_c_try_link
"$LINENO"; then :
10130 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10132 ac_cv_lib_Xext_XShapeQueryExtension
=no
10134 rm -f core conftest.err conftest.
$ac_objext \
10135 conftest
$ac_exeext conftest.
$ac_ext
10136 LIBS
=$ac_check_lib_save_LIBS
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10139 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10140 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10142 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10147 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10148 case "x$with_xshape" in
10149 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10151 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10152 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10157 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10160 $as_echo_n "checking for -lXxf86vm... " >&6; }
10161 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10162 $as_echo_n "(cached) " >&6
10164 ac_check_soname_save_LIBS
=$LIBS
10165 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10167 /* end confdefs.h. */
10169 /* Override any GCC internal prototype to avoid an error.
10170 Use char because int might match the return type of a GCC
10171 builtin and then its argument prototype would still apply. */
10175 char XF86VidModeQueryExtension ();
10179 return XF86VidModeQueryExtension ();
10184 if ac_fn_c_try_link
"$LINENO"; then :
10186 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10187 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'` ;;
10188 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10189 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10190 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10194 rm -f core conftest.err conftest.
$ac_objext \
10195 conftest
$ac_exeext conftest.
$ac_ext
10196 LIBS
=$ac_check_soname_save_LIBS
10198 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10200 $as_echo "not found" >&6; }
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10204 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10206 cat >>confdefs.h
<<_ACEOF
10207 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10213 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10214 case "x$with_xxf86vm" in
10215 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10217 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10218 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10223 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10226 $as_echo_n "checking for -lXrender... " >&6; }
10227 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10228 $as_echo_n "(cached) " >&6
10230 ac_check_soname_save_LIBS
=$LIBS
10231 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10233 /* end confdefs.h. */
10235 /* Override any GCC internal prototype to avoid an error.
10236 Use char because int might match the return type of a GCC
10237 builtin and then its argument prototype would still apply. */
10241 char XRenderQueryExtension ();
10245 return XRenderQueryExtension ();
10250 if ac_fn_c_try_link
"$LINENO"; then :
10252 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10253 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'` ;;
10254 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10255 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10256 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10260 rm -f core conftest.err conftest.
$ac_objext \
10261 conftest
$ac_exeext conftest.
$ac_ext
10262 LIBS
=$ac_check_soname_save_LIBS
10264 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10266 $as_echo "not found" >&6; }
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10270 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10272 cat >>confdefs.h
<<_ACEOF
10273 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10277 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10278 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10279 $as_echo_n "(cached) " >&6
10281 ac_check_lib_save_LIBS
=$LIBS
10282 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10284 /* end confdefs.h. */
10286 /* Override any GCC internal prototype to avoid an error.
10287 Use char because int might match the return type of a GCC
10288 builtin and then its argument prototype would still apply. */
10292 char XRenderSetPictureTransform ();
10296 return XRenderSetPictureTransform ();
10301 if ac_fn_c_try_link
"$LINENO"; then :
10302 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10304 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10306 rm -f core conftest.err conftest.
$ac_objext \
10307 conftest
$ac_exeext conftest.
$ac_ext
10308 LIBS
=$ac_check_lib_save_LIBS
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10311 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10312 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10314 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10319 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10320 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10321 $as_echo_n "(cached) " >&6
10323 ac_check_lib_save_LIBS
=$LIBS
10324 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10326 /* end confdefs.h. */
10328 /* Override any GCC internal prototype to avoid an error.
10329 Use char because int might match the return type of a GCC
10330 builtin and then its argument prototype would still apply. */
10334 char XRenderCreateLinearGradient ();
10338 return XRenderCreateLinearGradient ();
10343 if ac_fn_c_try_link
"$LINENO"; then :
10344 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10346 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10348 rm -f core conftest.err conftest.
$ac_objext \
10349 conftest
$ac_exeext conftest.
$ac_ext
10350 LIBS
=$ac_check_lib_save_LIBS
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10353 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10354 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10356 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10363 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10364 case "x$with_xrender" in
10365 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10367 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10368 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10373 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10376 /* end confdefs.h. */
10377 #include <X11/Xlib.h>
10378 #include <X11/extensions/Xrandr.h>
10382 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10387 if ac_fn_c_try_compile
"$LINENO"; then :
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10389 $as_echo_n "checking for -lXrandr... " >&6; }
10390 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10391 $as_echo_n "(cached) " >&6
10393 ac_check_soname_save_LIBS
=$LIBS
10394 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10396 /* end confdefs.h. */
10398 /* Override any GCC internal prototype to avoid an error.
10399 Use char because int might match the return type of a GCC
10400 builtin and then its argument prototype would still apply. */
10404 char XRRQueryExtension ();
10408 return XRRQueryExtension ();
10413 if ac_fn_c_try_link
"$LINENO"; then :
10415 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10416 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'` ;;
10417 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10418 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10419 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10423 rm -f core conftest.err conftest.
$ac_objext \
10424 conftest
$ac_exeext conftest.
$ac_ext
10425 LIBS
=$ac_check_soname_save_LIBS
10427 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10429 $as_echo "not found" >&6; }
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10433 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10435 cat >>confdefs.h
<<_ACEOF
10436 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10440 /* end confdefs.h. */
10441 #include <X11/Xlib.h>
10442 #include <X11/extensions/Xrandr.h>
10446 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10451 if ac_fn_c_try_compile
"$LINENO"; then :
10453 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10461 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10462 case "x$with_xrandr" in
10463 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10465 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10466 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10471 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10474 /* end confdefs.h. */
10475 #include <X11/Xlib.h>
10476 #include <X11/extensions/Xinerama.h>
10480 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10485 if ac_fn_c_try_compile
"$LINENO"; then :
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10487 $as_echo_n "checking for -lXinerama... " >&6; }
10488 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10489 $as_echo_n "(cached) " >&6
10491 ac_check_soname_save_LIBS
=$LIBS
10492 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10494 /* end confdefs.h. */
10496 /* Override any GCC internal prototype to avoid an error.
10497 Use char because int might match the return type of a GCC
10498 builtin and then its argument prototype would still apply. */
10502 char XineramaQueryScreens ();
10506 return XineramaQueryScreens ();
10511 if ac_fn_c_try_link
"$LINENO"; then :
10513 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10514 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'` ;;
10515 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10516 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10517 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10521 rm -f core conftest.err conftest.
$ac_objext \
10522 conftest
$ac_exeext conftest.
$ac_ext
10523 LIBS
=$ac_check_soname_save_LIBS
10525 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10527 $as_echo "not found" >&6; }
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10531 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10533 cat >>confdefs.h
<<_ACEOF
10534 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10540 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10542 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10543 case "x$with_xinerama" in
10544 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10546 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10547 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10552 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10555 $as_echo_n "checking for -lXcomposite... " >&6; }
10556 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10557 $as_echo_n "(cached) " >&6
10559 ac_check_soname_save_LIBS
=$LIBS
10560 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h. */
10564 /* Override any GCC internal prototype to avoid an error.
10565 Use char because int might match the return type of a GCC
10566 builtin and then its argument prototype would still apply. */
10570 char XCompositeRedirectWindow ();
10574 return XCompositeRedirectWindow ();
10579 if ac_fn_c_try_link
"$LINENO"; then :
10581 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10582 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'` ;;
10583 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10584 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10585 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10589 rm -f core conftest.err conftest.
$ac_objext \
10590 conftest
$ac_exeext conftest.
$ac_ext
10591 LIBS
=$ac_check_soname_save_LIBS
10593 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10595 $as_echo "not found" >&6; }
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10599 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10601 cat >>confdefs.h
<<_ACEOF
10602 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10608 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10609 case "x$with_xcomposite" in
10610 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10612 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10613 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10618 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10619 #include <X11/Xlib.h>
10622 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10624 cat >>confdefs.h
<<_ACEOF
10625 #define HAVE_XICCALLBACK_CALLBACK 1
10630 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10631 #include <X11/Xlib.h>
10634 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10636 cat >>confdefs.h
<<_ACEOF
10637 #define HAVE_XEVENT_XCOOKIE 1
10646 if test "x$with_opengl" != "xno"
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10649 $as_echo_n "checking for -lGL... " >&6; }
10650 if ${ac_cv_lib_soname_GL+:} false
; then :
10651 $as_echo_n "(cached) " >&6
10653 ac_check_soname_save_LIBS
=$LIBS
10654 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10656 /* end confdefs.h. */
10658 /* Override any GCC internal prototype to avoid an error.
10659 Use char because int might match the return type of a GCC
10660 builtin and then its argument prototype would still apply. */
10664 char glXCreateContext ();
10668 return glXCreateContext ();
10673 if ac_fn_c_try_link
"$LINENO"; then :
10675 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10676 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'` ;;
10677 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10678 if ${ac_cv_lib_soname_GL:+false} :; then :
10679 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10683 rm -f core conftest.err conftest.
$ac_objext \
10684 conftest
$ac_exeext conftest.
$ac_ext
10685 LIBS
=$ac_check_soname_save_LIBS
10687 if ${ac_cv_lib_soname_GL:+false} :; then :
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10689 $as_echo "not found" >&6; }
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10691 $as_echo_n "checking for -lGL... " >&6; }
10692 if ${ac_cv_lib_soname_GL+:} false
; then :
10693 $as_echo_n "(cached) " >&6
10695 ac_check_soname_save_LIBS
=$LIBS
10696 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"
10697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10698 /* end confdefs.h. */
10700 /* Override any GCC internal prototype to avoid an error.
10701 Use char because int might match the return type of a GCC
10702 builtin and then its argument prototype would still apply. */
10706 char glXCreateContext ();
10710 return glXCreateContext ();
10715 if ac_fn_c_try_link
"$LINENO"; then :
10717 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10718 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'` ;;
10719 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10720 if ${ac_cv_lib_soname_GL:+false} :; then :
10721 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10725 rm -f core conftest.err conftest.
$ac_objext \
10726 conftest
$ac_exeext conftest.
$ac_ext
10727 LIBS
=$ac_check_soname_save_LIBS
10729 if ${ac_cv_lib_soname_GL:+false} :; then :
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10731 $as_echo "not found" >&6; }
10732 if test -f /usr
/X11R
6/lib
/libGL.a
10734 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10735 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10737 opengl_msg
="No OpenGL library found on this system."
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10741 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10743 cat >>confdefs.h
<<_ACEOF
10744 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10747 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"
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10751 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10753 cat >>confdefs.h
<<_ACEOF
10754 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10759 if test "x$with_glu" != "xno"
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10762 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10763 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10764 $as_echo_n "(cached) " >&6
10766 ac_check_lib_save_LIBS
=$LIBS
10767 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10769 /* end confdefs.h. */
10771 /* Override any GCC internal prototype to avoid an error.
10772 Use char because int might match the return type of a GCC
10773 builtin and then its argument prototype would still apply. */
10781 return gluLookAt ();
10786 if ac_fn_c_try_link
"$LINENO"; then :
10787 ac_cv_lib_GLU_gluLookAt
=yes
10789 ac_cv_lib_GLU_gluLookAt
=no
10791 rm -f core conftest.err conftest.
$ac_objext \
10792 conftest
$ac_exeext conftest.
$ac_ext
10793 LIBS
=$ac_check_lib_save_LIBS
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10796 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10797 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10801 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10802 case "x$with_glu" in
10803 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10805 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10806 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10812 if test "x$with_osmesa" != "xno"
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10815 $as_echo_n "checking for -lOSMesa... " >&6; }
10816 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10817 $as_echo_n "(cached) " >&6
10819 ac_check_soname_save_LIBS
=$LIBS
10820 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10822 /* end confdefs.h. */
10824 /* Override any GCC internal prototype to avoid an error.
10825 Use char because int might match the return type of a GCC
10826 builtin and then its argument prototype would still apply. */
10839 if ac_fn_c_try_link
"$LINENO"; then :
10841 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10842 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'` ;;
10843 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10844 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10845 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10849 rm -f core conftest.err conftest.
$ac_objext \
10850 conftest
$ac_exeext conftest.
$ac_ext
10851 LIBS
=$ac_check_soname_save_LIBS
10853 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10855 $as_echo "not found" >&6; }
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10859 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10861 cat >>confdefs.h
<<_ACEOF
10862 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10867 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10868 case "x$with_osmesa" in
10869 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10871 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10872 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10878 if test -n "$opengl_msg"; then :
10879 case "x$with_opengl" in
10880 x
) as_fn_append wine_warnings
"|$opengl_msg
10881 OpenGL and Direct3D won't be supported." ;;
10883 *) as_fn_error $?
"$opengl_msg
10884 OpenGL and Direct3D won't be supported.
10885 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10890 CPPFLAGS
="$ac_save_CPPFLAGS"
10895 if test "x$X_LIBS" = "x"; then :
10898 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10899 without X support, which probably isn't what you want. You will need
10900 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10901 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10903 enable_winex11_drv
=${enable_winex11_drv:-no}
10906 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10908 if test "$ac_cv_header_CL_cl_h" = "yes"
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10911 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10912 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10913 $as_echo_n "(cached) " >&6
10915 ac_check_lib_save_LIBS
=$LIBS
10916 LIBS
="-lOpenCL $LIBS"
10917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10918 /* end confdefs.h. */
10920 /* Override any GCC internal prototype to avoid an error.
10921 Use char because int might match the return type of a GCC
10922 builtin and then its argument prototype would still apply. */
10926 char clGetPlatformInfo ();
10930 return clGetPlatformInfo ();
10935 if ac_fn_c_try_link
"$LINENO"; then :
10936 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10938 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10940 rm -f core conftest.err conftest.
$ac_objext \
10941 conftest
$ac_exeext conftest.
$ac_ext
10942 LIBS
=$ac_check_lib_save_LIBS
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10945 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10946 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10947 OPENCL_LIBS
="-lOpenCL"
10952 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10953 case "x$with_opencl" in
10954 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10956 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10957 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10959 enable_opencl
=${enable_opencl:-no}
10962 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10965 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10966 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10967 $as_echo_n "(cached) " >&6
10969 ac_check_lib_save_LIBS
=$LIBS
10970 LIBS
="-lpcap $LIBS"
10971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10972 /* end confdefs.h. */
10974 /* Override any GCC internal prototype to avoid an error.
10975 Use char because int might match the return type of a GCC
10976 builtin and then its argument prototype would still apply. */
10980 char pcap_create ();
10984 return pcap_create ();
10989 if ac_fn_c_try_link
"$LINENO"; then :
10990 ac_cv_lib_pcap_pcap_create
=yes
10992 ac_cv_lib_pcap_pcap_create
=no
10994 rm -f core conftest.err conftest.
$ac_objext \
10995 conftest
$ac_exeext conftest.
$ac_ext
10996 LIBS
=$ac_check_lib_save_LIBS
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10999 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11000 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
11006 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
11007 case "x$with_pcap" in
11008 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11010 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
11011 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11013 enable_wpcap
=${enable_wpcap:-no}
11017 if test "x$with_xml" != "xno"
11019 if ${XML2_CFLAGS:+false} :; then :
11020 if ${PKG_CONFIG+:} false
; then :
11021 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11024 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11025 if ${XML2_LIBS:+false} :; then :
11026 if ${PKG_CONFIG+:} false
; then :
11027 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11030 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11031 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
11032 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11033 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11034 ac_save_CPPFLAGS
=$CPPFLAGS
11035 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
11036 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
11038 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11039 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11040 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11041 cat >>confdefs.h
<<_ACEOF
11042 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11049 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"
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11052 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11053 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
11054 $as_echo_n "(cached) " >&6
11056 ac_check_lib_save_LIBS
=$LIBS
11057 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11059 /* end confdefs.h. */
11061 /* Override any GCC internal prototype to avoid an error.
11062 Use char because int might match the return type of a GCC
11063 builtin and then its argument prototype would still apply. */
11067 char xmlParseMemory ();
11071 return xmlParseMemory ();
11076 if ac_fn_c_try_link
"$LINENO"; then :
11077 ac_cv_lib_xml2_xmlParseMemory
=yes
11079 ac_cv_lib_xml2_xmlParseMemory
=no
11081 rm -f core conftest.err conftest.
$ac_objext \
11082 conftest
$ac_exeext conftest.
$ac_ext
11083 LIBS
=$ac_check_lib_save_LIBS
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11086 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11087 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11089 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11096 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11097 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11098 $as_echo_n "(cached) " >&6
11100 ac_check_lib_save_LIBS
=$LIBS
11101 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11103 /* end confdefs.h. */
11105 /* Override any GCC internal prototype to avoid an error.
11106 Use char because int might match the return type of a GCC
11107 builtin and then its argument prototype would still apply. */
11111 char xmlReadMemory ();
11115 return xmlReadMemory ();
11120 if ac_fn_c_try_link
"$LINENO"; then :
11121 ac_cv_lib_xml2_xmlReadMemory
=yes
11123 ac_cv_lib_xml2_xmlReadMemory
=no
11125 rm -f core conftest.err conftest.
$ac_objext \
11126 conftest
$ac_exeext conftest.
$ac_ext
11127 LIBS
=$ac_check_lib_save_LIBS
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11130 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11131 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11133 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11138 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11139 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11140 $as_echo_n "(cached) " >&6
11142 ac_check_lib_save_LIBS
=$LIBS
11143 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11145 /* end confdefs.h. */
11147 /* Override any GCC internal prototype to avoid an error.
11148 Use char because int might match the return type of a GCC
11149 builtin and then its argument prototype would still apply. */
11153 char xmlNewDocPI ();
11157 return xmlNewDocPI ();
11162 if ac_fn_c_try_link
"$LINENO"; then :
11163 ac_cv_lib_xml2_xmlNewDocPI
=yes
11165 ac_cv_lib_xml2_xmlNewDocPI
=no
11167 rm -f core conftest.err conftest.
$ac_objext \
11168 conftest
$ac_exeext conftest.
$ac_ext
11169 LIBS
=$ac_check_lib_save_LIBS
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11172 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11173 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11175 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11180 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11181 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11182 $as_echo_n "(cached) " >&6
11184 ac_check_lib_save_LIBS
=$LIBS
11185 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11187 /* end confdefs.h. */
11189 /* Override any GCC internal prototype to avoid an error.
11190 Use char because int might match the return type of a GCC
11191 builtin and then its argument prototype would still apply. */
11195 char xmlSchemaSetParserStructuredErrors ();
11199 return xmlSchemaSetParserStructuredErrors ();
11204 if ac_fn_c_try_link
"$LINENO"; then :
11205 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11207 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11209 rm -f core conftest.err conftest.
$ac_objext \
11210 conftest
$ac_exeext conftest.
$ac_ext
11211 LIBS
=$ac_check_lib_save_LIBS
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11214 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11215 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11217 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11222 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11223 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11224 $as_echo_n "(cached) " >&6
11226 ac_check_lib_save_LIBS
=$LIBS
11227 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11229 /* end confdefs.h. */
11231 /* Override any GCC internal prototype to avoid an error.
11232 Use char because int might match the return type of a GCC
11233 builtin and then its argument prototype would still apply. */
11237 char xmlSchemaSetValidStructuredErrors ();
11241 return xmlSchemaSetValidStructuredErrors ();
11246 if ac_fn_c_try_link
"$LINENO"; then :
11247 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11249 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11251 rm -f core conftest.err conftest.
$ac_objext \
11252 conftest
$ac_exeext conftest.
$ac_ext
11253 LIBS
=$ac_check_lib_save_LIBS
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11256 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11257 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11259 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11264 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11265 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11266 $as_echo_n "(cached) " >&6
11268 ac_check_lib_save_LIBS
=$LIBS
11269 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11271 /* end confdefs.h. */
11273 /* Override any GCC internal prototype to avoid an error.
11274 Use char because int might match the return type of a GCC
11275 builtin and then its argument prototype would still apply. */
11279 char xmlFirstElementChild ();
11283 return xmlFirstElementChild ();
11288 if ac_fn_c_try_link
"$LINENO"; then :
11289 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11291 ac_cv_lib_xml2_xmlFirstElementChild
=no
11293 rm -f core conftest.err conftest.
$ac_objext \
11294 conftest
$ac_exeext conftest.
$ac_ext
11295 LIBS
=$ac_check_lib_save_LIBS
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11298 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11299 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11301 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11305 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11307 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11309 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11317 CPPFLAGS
=$ac_save_CPPFLAGS
11318 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11319 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11322 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11323 case "x$with_xml" in
11324 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11326 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11327 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11332 if test "x$with_xslt" != "xno"
11334 if ${XSLT_CFLAGS:+false} :; then :
11335 if ${PKG_CONFIG+:} false
; then :
11336 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11339 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11340 if ${XSLT_LIBS:+false} :; then :
11341 if ${PKG_CONFIG+:} false
; then :
11342 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11345 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11346 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11347 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11348 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11349 ac_save_CPPFLAGS
=$CPPFLAGS
11350 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11351 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11353 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11354 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11355 # include <libxslt/pattern.h>
11358 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11359 cat >>confdefs.h
<<_ACEOF
11360 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11367 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11370 $as_echo_n "checking for -lxslt... " >&6; }
11371 if ${ac_cv_lib_soname_xslt+:} false
; then :
11372 $as_echo_n "(cached) " >&6
11374 ac_check_soname_save_LIBS
=$LIBS
11375 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11377 /* end confdefs.h. */
11379 /* Override any GCC internal prototype to avoid an error.
11380 Use char because int might match the return type of a GCC
11381 builtin and then its argument prototype would still apply. */
11385 char xsltCompilePattern ();
11389 return xsltCompilePattern ();
11394 if ac_fn_c_try_link
"$LINENO"; then :
11396 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11397 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'` ;;
11398 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11399 if ${ac_cv_lib_soname_xslt:+false} :; then :
11400 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11404 rm -f core conftest.err conftest.
$ac_objext \
11405 conftest
$ac_exeext conftest.
$ac_ext
11406 LIBS
=$ac_check_soname_save_LIBS
11408 if ${ac_cv_lib_soname_xslt:+false} :; then :
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11410 $as_echo "not found" >&6; }
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11414 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11416 cat >>confdefs.h
<<_ACEOF
11417 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11425 CPPFLAGS
=$ac_save_CPPFLAGS
11426 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11427 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11430 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11431 case "x$with_xslt" in
11432 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11434 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11435 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11440 if test "x$with_dbus" != "xno"
11442 if ${DBUS_CFLAGS:+false} :; then :
11443 if ${PKG_CONFIG+:} false
; then :
11444 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11448 if ${DBUS_LIBS:+false} :; then :
11449 if ${PKG_CONFIG+:} false
; then :
11450 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11455 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11456 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11457 ac_save_CPPFLAGS
=$CPPFLAGS
11458 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11459 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11460 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11462 $as_echo_n "checking for -ldbus-1... " >&6; }
11463 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11464 $as_echo_n "(cached) " >&6
11466 ac_check_soname_save_LIBS
=$LIBS
11467 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11469 /* end confdefs.h. */
11471 /* Override any GCC internal prototype to avoid an error.
11472 Use char because int might match the return type of a GCC
11473 builtin and then its argument prototype would still apply. */
11477 char dbus_connection_close ();
11481 return dbus_connection_close ();
11486 if ac_fn_c_try_link
"$LINENO"; then :
11488 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11489 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'` ;;
11490 *) 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'`
11491 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11492 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11496 rm -f core conftest.err conftest.
$ac_objext \
11497 conftest
$ac_exeext conftest.
$ac_ext
11498 LIBS
=$ac_check_soname_save_LIBS
11500 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11502 $as_echo "not found" >&6; }
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11506 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11508 cat >>confdefs.h
<<_ACEOF
11509 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11519 CPPFLAGS
=$ac_save_CPPFLAGS
11520 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11521 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11524 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11525 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11526 case "x$with_dbus" in
11527 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11529 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11530 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11535 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11537 if ${HAL_CFLAGS:+false} :; then :
11538 if ${PKG_CONFIG+:} false
; then :
11539 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11543 if ${HAL_LIBS:+false} :; then :
11544 if ${PKG_CONFIG+:} false
; then :
11545 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11549 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11550 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11551 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11552 ac_save_CPPFLAGS
=$CPPFLAGS
11553 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11554 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11555 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11557 $as_echo_n "checking for -lhal... " >&6; }
11558 if ${ac_cv_lib_soname_hal+:} false
; then :
11559 $as_echo_n "(cached) " >&6
11561 ac_check_soname_save_LIBS
=$LIBS
11562 LIBS
="-lhal $HAL_LIBS $LIBS"
11563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11564 /* end confdefs.h. */
11566 /* Override any GCC internal prototype to avoid an error.
11567 Use char because int might match the return type of a GCC
11568 builtin and then its argument prototype would still apply. */
11572 char libhal_ctx_new ();
11576 return libhal_ctx_new ();
11581 if ac_fn_c_try_link
"$LINENO"; then :
11583 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11584 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'` ;;
11585 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11586 if ${ac_cv_lib_soname_hal:+false} :; then :
11587 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11591 rm -f core conftest.err conftest.
$ac_objext \
11592 conftest
$ac_exeext conftest.
$ac_ext
11593 LIBS
=$ac_check_soname_save_LIBS
11595 if ${ac_cv_lib_soname_hal:+false} :; then :
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11597 $as_echo "not found" >&6; }
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11601 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11603 cat >>confdefs.h
<<_ACEOF
11604 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11614 CPPFLAGS
=$ac_save_CPPFLAGS
11615 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11616 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11618 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11619 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11620 case "x$with_hal" in
11621 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11623 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11624 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11630 if test "x$with_gnutls" != "xno"
11632 if ${GNUTLS_CFLAGS:+false} :; then :
11633 if ${PKG_CONFIG+:} false
; then :
11634 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11638 if ${GNUTLS_LIBS:+false} :; then :
11639 if ${PKG_CONFIG+:} false
; then :
11640 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11645 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11646 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11647 ac_save_CPPFLAGS
=$CPPFLAGS
11648 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11649 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11650 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11653 #include <gnutls/gnutls.h>
11654 #include <gnutls/crypto.h>
11658 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11663 if ac_fn_c_try_compile
"$LINENO"; then :
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11665 $as_echo_n "checking for -lgnutls... " >&6; }
11666 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11667 $as_echo_n "(cached) " >&6
11669 ac_check_soname_save_LIBS
=$LIBS
11670 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11672 /* end confdefs.h. */
11674 /* Override any GCC internal prototype to avoid an error.
11675 Use char because int might match the return type of a GCC
11676 builtin and then its argument prototype would still apply. */
11680 char gnutls_global_init ();
11684 return gnutls_global_init ();
11689 if ac_fn_c_try_link
"$LINENO"; then :
11691 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11692 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'` ;;
11693 *) 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'`
11694 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11695 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'`
11699 rm -f core conftest.err conftest.
$ac_objext \
11700 conftest
$ac_exeext conftest.
$ac_ext
11701 LIBS
=$ac_check_soname_save_LIBS
11703 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11705 $as_echo "not found" >&6; }
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11709 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11711 cat >>confdefs.h
<<_ACEOF
11712 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11717 ac_wine_check_funcs_save_LIBS
="$LIBS"
11718 LIBS
="$LIBS $GNUTLS_LIBS"
11719 for ac_func
in gnutls_hash
11721 ac_fn_c_check_func
"$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11722 if test "x$ac_cv_func_gnutls_hash" = xyes
; then :
11723 cat >>confdefs.h
<<_ACEOF
11724 #define HAVE_GNUTLS_HASH 1
11728 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11732 LIBS
="$ac_wine_check_funcs_save_LIBS"
11734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11740 CPPFLAGS
=$ac_save_CPPFLAGS
11741 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11742 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11745 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11746 case "x$with_gnutls" in
11747 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11749 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11750 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11756 if test "$ac_cv_header_ncurses_h" = "yes"
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11759 $as_echo_n "checking for -lncurses... " >&6; }
11760 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11761 $as_echo_n "(cached) " >&6
11763 ac_check_soname_save_LIBS
=$LIBS
11764 LIBS
="-lncurses $LIBS"
11765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11766 /* end confdefs.h. */
11768 /* Override any GCC internal prototype to avoid an error.
11769 Use char because int might match the return type of a GCC
11770 builtin and then its argument prototype would still apply. */
11783 if ac_fn_c_try_link
"$LINENO"; then :
11785 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11786 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'` ;;
11787 *) 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'`
11788 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11789 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11793 rm -f core conftest.err conftest.
$ac_objext \
11794 conftest
$ac_exeext conftest.
$ac_ext
11795 LIBS
=$ac_check_soname_save_LIBS
11797 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11799 $as_echo "not found" >&6; }
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11803 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11805 cat >>confdefs.h
<<_ACEOF
11806 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11809 CURSES_LIBS
="-lncurses"
11811 elif test "$ac_cv_header_curses_h" = "yes"
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11814 $as_echo_n "checking for -lcurses... " >&6; }
11815 if ${ac_cv_lib_soname_curses+:} false
; then :
11816 $as_echo_n "(cached) " >&6
11818 ac_check_soname_save_LIBS
=$LIBS
11819 LIBS
="-lcurses $LIBS"
11820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11821 /* end confdefs.h. */
11823 /* Override any GCC internal prototype to avoid an error.
11824 Use char because int might match the return type of a GCC
11825 builtin and then its argument prototype would still apply. */
11838 if ac_fn_c_try_link
"$LINENO"; then :
11840 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11841 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'` ;;
11842 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11843 if ${ac_cv_lib_soname_curses:+false} :; then :
11844 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11848 rm -f core conftest.err conftest.
$ac_objext \
11849 conftest
$ac_exeext conftest.
$ac_ext
11850 LIBS
=$ac_check_soname_save_LIBS
11852 if ${ac_cv_lib_soname_curses:+false} :; then :
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11854 $as_echo "not found" >&6; }
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11858 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11860 cat >>confdefs.h
<<_ACEOF
11861 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11864 CURSES_LIBS
="-lcurses"
11867 ac_save_LIBS
="$LIBS"
11868 LIBS
="$LIBS $CURSES_LIBS"
11869 for ac_func
in mousemask
11871 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11872 if test "x$ac_cv_func_mousemask" = xyes
; then :
11873 cat >>confdefs.h
<<_ACEOF
11874 #define HAVE_MOUSEMASK 1
11880 LIBS
="$ac_save_LIBS"
11881 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11882 case "x$with_curses" in
11883 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11885 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11886 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11891 if test "x$with_sane" != "xno"
11893 if ${SANE_CFLAGS:+false} :; then :
11894 if ${PKG_CONFIG+:} false
; then :
11895 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11898 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11899 if ${SANE_LIBS:+false} :; then :
11900 if ${PKG_CONFIG+:} false
; then :
11901 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11904 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11906 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11907 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11908 ac_save_CPPFLAGS
=$CPPFLAGS
11909 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11910 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11911 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11913 $as_echo_n "checking for -lsane... " >&6; }
11914 if ${ac_cv_lib_soname_sane+:} false
; then :
11915 $as_echo_n "(cached) " >&6
11917 ac_check_soname_save_LIBS
=$LIBS
11918 LIBS
="-lsane $SANE_LIBS $LIBS"
11919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11920 /* end confdefs.h. */
11922 /* Override any GCC internal prototype to avoid an error.
11923 Use char because int might match the return type of a GCC
11924 builtin and then its argument prototype would still apply. */
11932 return sane_init ();
11937 if ac_fn_c_try_link
"$LINENO"; then :
11939 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11940 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'` ;;
11941 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11942 if ${ac_cv_lib_soname_sane:+false} :; then :
11943 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11947 rm -f core conftest.err conftest.
$ac_objext \
11948 conftest
$ac_exeext conftest.
$ac_ext
11949 LIBS
=$ac_check_soname_save_LIBS
11951 if ${ac_cv_lib_soname_sane:+false} :; then :
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11953 $as_echo "not found" >&6; }
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11957 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11959 cat >>confdefs.h
<<_ACEOF
11960 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11970 CPPFLAGS
=$ac_save_CPPFLAGS
11971 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11972 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11975 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11976 case "x$with_sane" in
11977 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11979 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11980 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11985 if test "x$with_v4l" != "xno"
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11988 $as_echo_n "checking for -lv4l1... " >&6; }
11989 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11990 $as_echo_n "(cached) " >&6
11992 ac_check_soname_save_LIBS
=$LIBS
11993 LIBS
="-lv4l1 $LIBS"
11994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11995 /* end confdefs.h. */
11997 /* Override any GCC internal prototype to avoid an error.
11998 Use char because int might match the return type of a GCC
11999 builtin and then its argument prototype would still apply. */
12007 return v4l1_open ();
12012 if ac_fn_c_try_link
"$LINENO"; then :
12014 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12015 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'` ;;
12016 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12017 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12018 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12022 rm -f core conftest.err conftest.
$ac_objext \
12023 conftest
$ac_exeext conftest.
$ac_ext
12024 LIBS
=$ac_check_soname_save_LIBS
12026 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12028 $as_echo "not found" >&6; }
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12032 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12034 cat >>confdefs.h
<<_ACEOF
12035 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12041 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12042 case "x$with_v4l" in
12043 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
12045 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
12046 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12051 if test "x$with_gphoto" != "xno"
12053 if ${GPHOTO2_CFLAGS:+false} :; then :
12054 if ${PKG_CONFIG+:} false
; then :
12055 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12058 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12059 if ${GPHOTO2_LIBS:+false} :; then :
12060 if ${PKG_CONFIG+:} false
; then :
12061 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12064 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12065 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
12066 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12067 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12068 ac_save_CPPFLAGS
=$CPPFLAGS
12069 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
12070 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12071 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12073 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12074 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
12075 $as_echo_n "(cached) " >&6
12077 ac_check_lib_save_LIBS
=$LIBS
12078 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12080 /* end confdefs.h. */
12082 /* Override any GCC internal prototype to avoid an error.
12083 Use char because int might match the return type of a GCC
12084 builtin and then its argument prototype would still apply. */
12088 char gp_camera_new ();
12092 return gp_camera_new ();
12097 if ac_fn_c_try_link
"$LINENO"; then :
12098 ac_cv_lib_gphoto2_gp_camera_new
=yes
12100 ac_cv_lib_gphoto2_gp_camera_new
=no
12102 rm -f core conftest.err conftest.
$ac_objext \
12103 conftest
$ac_exeext conftest.
$ac_ext
12104 LIBS
=$ac_check_lib_save_LIBS
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12107 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12108 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12110 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12113 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12117 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12121 CPPFLAGS
=$ac_save_CPPFLAGS
12122 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12123 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12125 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12126 if ${PKG_CONFIG+:} false
; then :
12127 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12130 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12131 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12132 if ${PKG_CONFIG+:} false
; then :
12133 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12136 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12137 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12138 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12139 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12140 ac_save_CPPFLAGS
=$CPPFLAGS
12141 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12142 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12143 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12145 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12146 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12147 $as_echo_n "(cached) " >&6
12149 ac_check_lib_save_LIBS
=$LIBS
12150 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12152 /* end confdefs.h. */
12154 /* Override any GCC internal prototype to avoid an error.
12155 Use char because int might match the return type of a GCC
12156 builtin and then its argument prototype would still apply. */
12160 char gp_port_info_list_new ();
12164 return gp_port_info_list_new ();
12169 if ac_fn_c_try_link
"$LINENO"; then :
12170 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12172 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12174 rm -f core conftest.err conftest.
$ac_objext \
12175 conftest
$ac_exeext conftest.
$ac_ext
12176 LIBS
=$ac_check_lib_save_LIBS
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12179 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12180 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12182 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12185 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12189 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12193 CPPFLAGS
=$ac_save_CPPFLAGS
12194 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12195 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12198 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12199 case "x$with_gphoto" in
12200 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12202 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12203 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12207 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12208 case "x$with_gphoto" in
12209 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12211 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12212 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12218 if test "$ac_cv_header_resolv_h" = "yes"
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12221 $as_echo_n "checking for resolver library... " >&6; }
12222 if ${ac_cv_have_resolv+:} false
; then :
12223 $as_echo_n "(cached) " >&6
12225 ac_save_LIBS
="$LIBS"
12226 for lib
in '' -lresolv
12228 LIBS
="$lib $ac_save_LIBS"
12229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12230 /* end confdefs.h. */
12231 #ifdef HAVE_NETINET_IN_H
12232 #include <netinet/in.h>
12234 #include <resolv.h>
12238 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12243 if ac_fn_c_try_link
"$LINENO"; then :
12244 ac_cv_have_resolv
=${lib:-"none required"}
12246 ac_cv_have_resolv
="not found"
12248 rm -f core conftest.err conftest.
$ac_objext \
12249 conftest
$ac_exeext conftest.
$ac_ext
12250 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12252 LIBS
="$ac_save_LIBS"
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12255 $as_echo "$ac_cv_have_resolv" >&6; }
12257 case "$ac_cv_have_resolv" in
12261 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12264 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12266 RESOLV_LIBS
=$ac_cv_have_resolv
12271 if test "x$with_cms" != "xno"
12273 if ${LCMS2_CFLAGS:+false} :; then :
12274 if ${PKG_CONFIG+:} false
; then :
12275 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12279 if ${LCMS2_LIBS:+false} :; then :
12280 if ${PKG_CONFIG+:} false
; then :
12281 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12285 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12286 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12287 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12288 ac_save_CPPFLAGS
=$CPPFLAGS
12289 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12290 for ac_header
in lcms2.h
12292 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12293 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12294 cat >>confdefs.h
<<_ACEOF
12295 #define HAVE_LCMS2_H 1
12302 if test "$ac_cv_header_lcms2_h" = "yes"
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12305 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12306 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12307 $as_echo_n "(cached) " >&6
12309 ac_check_lib_save_LIBS
=$LIBS
12310 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12312 /* end confdefs.h. */
12314 /* Override any GCC internal prototype to avoid an error.
12315 Use char because int might match the return type of a GCC
12316 builtin and then its argument prototype would still apply. */
12320 char cmsOpenProfileFromFile ();
12324 return cmsOpenProfileFromFile ();
12329 if ac_fn_c_try_link
"$LINENO"; then :
12330 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12332 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12334 rm -f core conftest.err conftest.
$ac_objext \
12335 conftest
$ac_exeext conftest.
$ac_ext
12336 LIBS
=$ac_check_lib_save_LIBS
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12339 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12340 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12342 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12352 CPPFLAGS
=$ac_save_CPPFLAGS
12353 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12354 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12357 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12358 case "x$with_cms" in
12359 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12361 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12362 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12367 if test "x$with_freetype" != "xno"
12369 if ${FREETYPE_CFLAGS:+false} :; then :
12370 if ${PKG_CONFIG+:} false
; then :
12371 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12374 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12375 if ${FREETYPE_LIBS:+false} :; then :
12376 if ${PKG_CONFIG+:} false
; then :
12377 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12380 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12381 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12382 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12383 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12384 ac_save_CPPFLAGS
=$CPPFLAGS
12385 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12386 for ac_header
in ft2build.h
12388 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12389 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12390 cat >>confdefs.h
<<_ACEOF
12391 #define HAVE_FT2BUILD_H 1
12398 if test "$ac_cv_header_ft2build_h" = "yes"
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12401 $as_echo_n "checking for -lfreetype... " >&6; }
12402 if ${ac_cv_lib_soname_freetype+:} false
; then :
12403 $as_echo_n "(cached) " >&6
12405 ac_check_soname_save_LIBS
=$LIBS
12406 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12410 /* Override any GCC internal prototype to avoid an error.
12411 Use char because int might match the return type of a GCC
12412 builtin and then its argument prototype would still apply. */
12416 char FT_Init_FreeType ();
12420 return FT_Init_FreeType ();
12425 if ac_fn_c_try_link
"$LINENO"; then :
12427 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12428 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'` ;;
12429 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12430 if ${ac_cv_lib_soname_freetype:+false} :; then :
12431 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12435 rm -f core conftest.err conftest.
$ac_objext \
12436 conftest
$ac_exeext conftest.
$ac_ext
12437 LIBS
=$ac_check_soname_save_LIBS
12439 if ${ac_cv_lib_soname_freetype:+false} :; then :
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12441 $as_echo "not found" >&6; }
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12445 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12447 cat >>confdefs.h
<<_ACEOF
12448 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12452 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12454 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12455 #include FT_MODULE_H
12457 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12459 cat >>confdefs.h
<<_ACEOF
12460 #define HAVE_FT_TRUETYPEENGINETYPE 1
12471 CPPFLAGS
=$ac_save_CPPFLAGS
12472 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12473 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12476 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12477 case "x$with_freetype" in
12479 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12480 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12482 enable_fonts
=${enable_fonts:-no}
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12486 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12487 if ${ac_cv_c_ppdev+:} false
; then :
12488 $as_echo_n "(cached) " >&6
12490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12492 #ifdef HAVE_SYS_IOCTL_H
12493 # include <sys/ioctl.h>
12495 #include <linux/ppdev.h>
12499 ioctl (1,PPCLAIM,0)
12504 if ac_fn_c_try_compile
"$LINENO"; then :
12505 ac_cv_c_ppdev
="yes"
12509 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12512 $as_echo "$ac_cv_c_ppdev" >&6; }
12513 if test "$ac_cv_c_ppdev" = "yes"
12516 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12520 ac_wine_check_funcs_save_LIBS
="$LIBS"
12521 LIBS
="$LIBS $PTHREAD_LIBS"
12523 pthread_attr_get_np \
12524 pthread_getattr_np \
12525 pthread_getthreadid_np \
12526 pthread_get_stackaddr_np \
12527 pthread_get_stacksize_np
12529 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12530 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12531 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12532 cat >>confdefs.h
<<_ACEOF
12533 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12539 LIBS
="$ac_wine_check_funcs_save_LIBS"
12541 if test "$ac_cv_header_zlib_h" = "yes"
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12544 $as_echo_n "checking for inflate in -lz... " >&6; }
12545 if ${ac_cv_lib_z_inflate+:} false
; then :
12546 $as_echo_n "(cached) " >&6
12548 ac_check_lib_save_LIBS
=$LIBS
12550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12551 /* end confdefs.h. */
12553 /* Override any GCC internal prototype to avoid an error.
12554 Use char because int might match the return type of a GCC
12555 builtin and then its argument prototype would still apply. */
12568 if ac_fn_c_try_link
"$LINENO"; then :
12569 ac_cv_lib_z_inflate
=yes
12571 ac_cv_lib_z_inflate
=no
12573 rm -f core conftest.err conftest.
$ac_objext \
12574 conftest
$ac_exeext conftest.
$ac_ext
12575 LIBS
=$ac_check_lib_save_LIBS
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12578 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12579 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12581 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12588 if test "x$Z_LIBS" = "x"; then :
12589 case "x$with_zlib" in
12590 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12592 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12593 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12598 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
12600 if test "$ac_cv_header_gettext_po_h" = "yes"
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12603 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12604 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12605 $as_echo_n "(cached) " >&6
12607 ac_check_lib_save_LIBS
=$LIBS
12608 LIBS
="-lgettextpo $LIBS"
12609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12610 /* end confdefs.h. */
12612 /* Override any GCC internal prototype to avoid an error.
12613 Use char because int might match the return type of a GCC
12614 builtin and then its argument prototype would still apply. */
12618 char po_message_msgctxt ();
12622 return po_message_msgctxt ();
12627 if ac_fn_c_try_link
"$LINENO"; then :
12628 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12630 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12632 rm -f core conftest.err conftest.
$ac_objext \
12633 conftest
$ac_exeext conftest.
$ac_ext
12634 LIBS
=$ac_check_lib_save_LIBS
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12637 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12638 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12640 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12642 GETTEXTPO_LIBS
="-lgettextpo"
12647 if test "x$GETTEXTPO_LIBS" = "x"; then :
12648 case "x$with_gettextpo" in
12649 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12651 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12652 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12656 if test "$srcdir" != .
; then :
12657 case "x$with_gettextpo" in
12658 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
12660 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
12661 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12667 if test "x$with_pulse" != "xno";
12669 if ${PULSE_CFLAGS:+false} :; then :
12670 if ${PKG_CONFIG+:} false
; then :
12671 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12675 if ${PULSE_LIBS:+false} :; then :
12676 if ${PKG_CONFIG+:} false
; then :
12677 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12682 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12683 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12684 ac_save_CPPFLAGS
=$CPPFLAGS
12685 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12686 for ac_header
in pulse
/pulseaudio.h
12688 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12689 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12690 cat >>confdefs.h
<<_ACEOF
12691 #define HAVE_PULSE_PULSEAUDIO_H 1
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12694 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12695 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12696 $as_echo_n "(cached) " >&6
12698 ac_check_lib_save_LIBS
=$LIBS
12699 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12701 /* end confdefs.h. */
12703 /* Override any GCC internal prototype to avoid an error.
12704 Use char because int might match the return type of a GCC
12705 builtin and then its argument prototype would still apply. */
12709 char pa_stream_is_corked ();
12713 return pa_stream_is_corked ();
12718 if ac_fn_c_try_link
"$LINENO"; then :
12719 ac_cv_lib_pulse_pa_stream_is_corked
=yes
12721 ac_cv_lib_pulse_pa_stream_is_corked
=no
12723 rm -f core conftest.err conftest.
$ac_objext \
12724 conftest
$ac_exeext conftest.
$ac_ext
12725 LIBS
=$ac_check_lib_save_LIBS
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12728 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12729 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
12741 CPPFLAGS
=$ac_save_CPPFLAGS
12742 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12743 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12746 if test -z "$PULSE_LIBS"; then :
12747 case "x$with_pulse" in
12748 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12750 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12751 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12753 enable_winepulse_drv
=${enable_winepulse_drv:-no}
12756 if test "x$with_gstreamer" != "xno"
12758 if ${GSTREAMER_CFLAGS:+false} :; then :
12759 if ${PKG_CONFIG+:} false
; then :
12760 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12764 if ${GSTREAMER_LIBS:+false} :; then :
12765 if ${PKG_CONFIG+:} false
; then :
12766 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12771 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12772 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12773 ac_save_CPPFLAGS
=$CPPFLAGS
12774 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12776 for i
in $GSTREAMER_CFLAGS
12779 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12782 GSTREAMER_CFLAGS
=$ac_gst_incl
12783 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12784 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12785 if test "x$ac_cv_header_gst_gst_h" = xyes
; then :
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12787 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12789 /* end confdefs.h. */
12790 #include <gst/gst.h>
12794 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12799 if ac_fn_c_try_compile
"$LINENO"; then :
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12801 $as_echo "yes" >&6; }
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12803 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12804 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false
; then :
12805 $as_echo_n "(cached) " >&6
12807 ac_check_lib_save_LIBS
=$LIBS
12808 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12810 /* end confdefs.h. */
12812 /* Override any GCC internal prototype to avoid an error.
12813 Use char because int might match the return type of a GCC
12814 builtin and then its argument prototype would still apply. */
12818 char gst_pad_new ();
12822 return gst_pad_new ();
12827 if ac_fn_c_try_link
"$LINENO"; then :
12828 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
12830 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
12832 rm -f core conftest.err conftest.
$ac_objext \
12833 conftest
$ac_exeext conftest.
$ac_ext
12834 LIBS
=$ac_check_lib_save_LIBS
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12837 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12838 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
; then :
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12844 $as_echo "no" >&6; }
12845 ac_glib2_broken
=yes
12846 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12852 CPPFLAGS
=$ac_save_CPPFLAGS
12853 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12854 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12857 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 :
12858 case "x$with_gstreamer" in
12859 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12861 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12862 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12866 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12870 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12873 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12874 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12875 $as_echo_n "(cached) " >&6
12877 ac_check_lib_save_LIBS
=$LIBS
12878 LIBS
="-lasound $LIBS"
12879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12880 /* end confdefs.h. */
12882 /* Override any GCC internal prototype to avoid an error.
12883 Use char because int might match the return type of a GCC
12884 builtin and then its argument prototype would still apply. */
12888 char snd_pcm_hw_params_get_access_mask ();
12892 return snd_pcm_hw_params_get_access_mask ();
12897 if ac_fn_c_try_link
"$LINENO"; then :
12898 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12900 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12902 rm -f core conftest.err conftest.
$ac_objext \
12903 conftest
$ac_exeext conftest.
$ac_ext
12904 LIBS
=$ac_check_lib_save_LIBS
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12907 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12908 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12910 /* end confdefs.h. */
12911 #ifdef HAVE_ALSA_ASOUNDLIB_H
12912 #include <alsa/asoundlib.h>
12913 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12914 #include <sys/asoundlib.h>
12919 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12924 if ac_fn_c_try_compile
"$LINENO"; then :
12925 ALSA_LIBS
="-lasound"
12927 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12931 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12933 if test "x$with_oss" != xno
12935 ac_save_CPPFLAGS
="$CPPFLAGS"
12936 if test -f /etc
/oss.conf
12940 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12941 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12942 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12943 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12944 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12946 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12948 cat >>confdefs.h
<<_ACEOF
12949 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12952 OSS4_CFLAGS
="$ac_oss_incl"
12959 CPPFLAGS
="$ac_save_CPPFLAGS"
12961 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
; then :
12962 case "x$with_oss" in
12963 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12965 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12966 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12968 enable_wineoss_drv
=${enable_wineoss_drv:-no}
12971 if test "x$with_udev" != "xno"
12973 if ${UDEV_CFLAGS:+false} :; then :
12974 if ${PKG_CONFIG+:} false
; then :
12975 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12979 if ${UDEV_LIBS:+false} :; then :
12980 if ${PKG_CONFIG+:} false
; then :
12981 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
12986 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12987 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12988 ac_save_CPPFLAGS
=$CPPFLAGS
12989 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
12990 for ac_header
in libudev.h
12992 ac_fn_c_check_header_mongrel
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12993 if test "x$ac_cv_header_libudev_h" = xyes
; then :
12994 cat >>confdefs.h
<<_ACEOF
12995 #define HAVE_LIBUDEV_H 1
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12998 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12999 if ${ac_cv_lib_udev_udev_new+:} false
; then :
13000 $as_echo_n "(cached) " >&6
13002 ac_check_lib_save_LIBS
=$LIBS
13003 LIBS
="-ludev $UDEV_LIBS $LIBS"
13004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13005 /* end confdefs.h. */
13007 /* Override any GCC internal prototype to avoid an error.
13008 Use char because int might match the return type of a GCC
13009 builtin and then its argument prototype would still apply. */
13017 return udev_new ();
13022 if ac_fn_c_try_link
"$LINENO"; then :
13023 ac_cv_lib_udev_udev_new
=yes
13025 ac_cv_lib_udev_udev_new
=no
13027 rm -f core conftest.err conftest.
$ac_objext \
13028 conftest
$ac_exeext conftest.
$ac_ext
13029 LIBS
=$ac_check_lib_save_LIBS
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13032 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13033 if test "x$ac_cv_lib_udev_udev_new" = xyes
; then :
13035 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13047 CPPFLAGS
=$ac_save_CPPFLAGS
13048 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS
=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13049 test -z "$UDEV_LIBS" || UDEV_LIBS
=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13052 if test "x$UDEV_LIBS" = "x"; then :
13053 case "x$with_udev" in
13054 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13056 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
13057 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13062 if test "x$with_capi" != "xno"
13064 if ${CAPI20_CFLAGS:+false} :; then :
13065 if ${PKG_CONFIG+:} false
; then :
13066 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13070 if ${CAPI20_LIBS:+false} :; then :
13071 if ${PKG_CONFIG+:} false
; then :
13072 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
13077 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13078 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13079 ac_save_CPPFLAGS
=$CPPFLAGS
13080 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
13081 for ac_header
in capi20.h linux
/capi.h
13083 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13084 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13086 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13087 cat >>confdefs.h
<<_ACEOF
13088 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13095 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13098 $as_echo_n "checking for -lcapi20... " >&6; }
13099 if ${ac_cv_lib_soname_capi20+:} false
; then :
13100 $as_echo_n "(cached) " >&6
13102 ac_check_soname_save_LIBS
=$LIBS
13103 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
13104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13105 /* end confdefs.h. */
13107 /* Override any GCC internal prototype to avoid an error.
13108 Use char because int might match the return type of a GCC
13109 builtin and then its argument prototype would still apply. */
13113 char capi20_register ();
13117 return capi20_register ();
13122 if ac_fn_c_try_link
"$LINENO"; then :
13124 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13125 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'` ;;
13126 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13127 if ${ac_cv_lib_soname_capi20:+false} :; then :
13128 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13132 rm -f core conftest.err conftest.
$ac_objext \
13133 conftest
$ac_exeext conftest.
$ac_ext
13134 LIBS
=$ac_check_soname_save_LIBS
13136 if ${ac_cv_lib_soname_capi20:+false} :; then :
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13138 $as_echo "not found" >&6; }
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13142 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13144 cat >>confdefs.h
<<_ACEOF
13145 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13151 CPPFLAGS
=$ac_save_CPPFLAGS
13152 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13153 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13156 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13157 case "x$with_capi" in
13158 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13160 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13161 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13168 if test "x$with_cups" != "xno"
13170 ac_save_CPPFLAGS
="$CPPFLAGS"
13171 ac_cups_cflags
=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13172 ac_cups_libs
=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13173 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
13174 for ac_header
in cups
/cups.h
13176 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13177 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
13178 cat >>confdefs.h
<<_ACEOF
13179 #define HAVE_CUPS_CUPS_H 1
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13182 $as_echo_n "checking for -lcups... " >&6; }
13183 if ${ac_cv_lib_soname_cups+:} false
; then :
13184 $as_echo_n "(cached) " >&6
13186 ac_check_soname_save_LIBS
=$LIBS
13187 LIBS
="-lcups $ac_cups_libs $LIBS"
13188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13189 /* end confdefs.h. */
13191 /* Override any GCC internal prototype to avoid an error.
13192 Use char because int might match the return type of a GCC
13193 builtin and then its argument prototype would still apply. */
13197 char cupsGetDefault ();
13201 return cupsGetDefault ();
13206 if ac_fn_c_try_link
"$LINENO"; then :
13208 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13209 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'` ;;
13210 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13211 if ${ac_cv_lib_soname_cups:+false} :; then :
13212 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13216 rm -f core conftest.err conftest.
$ac_objext \
13217 conftest
$ac_exeext conftest.
$ac_ext
13218 LIBS
=$ac_check_soname_save_LIBS
13220 if ${ac_cv_lib_soname_cups:+false} :; then :
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13222 $as_echo "not found" >&6; }
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13226 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13228 cat >>confdefs.h
<<_ACEOF
13229 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13232 CUPS_CFLAGS
="$ac_cups_cflags"
13234 for ac_header
in cups
/ppd.h
13236 ac_fn_c_check_header_mongrel
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13237 if test "x$ac_cv_header_cups_ppd_h" = xyes
; then :
13238 cat >>confdefs.h
<<_ACEOF
13239 #define HAVE_CUPS_PPD_H 1
13250 CPPFLAGS
="$ac_save_CPPFLAGS"
13252 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13253 case "x$with_cups" in
13254 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13256 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13257 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13262 if test "x$with_fontconfig" != "xno"
13264 if ${FONTCONFIG_CFLAGS:+false} :; then :
13265 if ${PKG_CONFIG+:} false
; then :
13266 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13269 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13270 if ${FONTCONFIG_LIBS:+false} :; then :
13271 if ${PKG_CONFIG+:} false
; then :
13272 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13275 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13277 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13278 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13279 ac_save_CPPFLAGS
=$CPPFLAGS
13280 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13281 for ac_header
in fontconfig
/fontconfig.h
13283 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13284 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13285 cat >>confdefs.h
<<_ACEOF
13286 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13293 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13296 $as_echo_n "checking for -lfontconfig... " >&6; }
13297 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13298 $as_echo_n "(cached) " >&6
13300 ac_check_soname_save_LIBS
=$LIBS
13301 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13303 /* end confdefs.h. */
13305 /* Override any GCC internal prototype to avoid an error.
13306 Use char because int might match the return type of a GCC
13307 builtin and then its argument prototype would still apply. */
13320 if ac_fn_c_try_link
"$LINENO"; then :
13322 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13323 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'` ;;
13324 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13325 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13326 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13330 rm -f core conftest.err conftest.
$ac_objext \
13331 conftest
$ac_exeext conftest.
$ac_ext
13332 LIBS
=$ac_check_soname_save_LIBS
13334 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13336 $as_echo "not found" >&6; }
13337 FONTCONFIG_CFLAGS
=""
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13340 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13342 cat >>confdefs.h
<<_ACEOF
13343 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13349 FONTCONFIG_CFLAGS
=""
13351 CPPFLAGS
=$ac_save_CPPFLAGS
13352 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13353 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13356 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13357 case "x$with_fontconfig" in
13358 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13360 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13361 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13366 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13369 $as_echo_n "checking for -lgsm... " >&6; }
13370 if ${ac_cv_lib_soname_gsm+:} false
; then :
13371 $as_echo_n "(cached) " >&6
13373 ac_check_soname_save_LIBS
=$LIBS
13375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13376 /* end confdefs.h. */
13378 /* Override any GCC internal prototype to avoid an error.
13379 Use char because int might match the return type of a GCC
13380 builtin and then its argument prototype would still apply. */
13384 char gsm_create ();
13388 return gsm_create ();
13393 if ac_fn_c_try_link
"$LINENO"; then :
13395 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13396 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'` ;;
13397 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13398 if ${ac_cv_lib_soname_gsm:+false} :; then :
13399 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13403 rm -f core conftest.err conftest.
$ac_objext \
13404 conftest
$ac_exeext conftest.
$ac_ext
13405 LIBS
=$ac_check_soname_save_LIBS
13407 if ${ac_cv_lib_soname_gsm:+false} :; then :
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13409 $as_echo "not found" >&6; }
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13413 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13415 cat >>confdefs.h
<<_ACEOF
13416 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13422 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13423 case "x$with_gsm" in
13424 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13426 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13427 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13432 if test "x$with_jpeg" != "xno"
13434 if ${JPEG_CFLAGS:+false} :; then :
13435 if ${PKG_CONFIG+:} false
; then :
13436 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13440 if ${JPEG_LIBS:+false} :; then :
13441 if ${PKG_CONFIG+:} false
; then :
13442 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13447 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13448 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13449 ac_save_CPPFLAGS
=$CPPFLAGS
13450 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13451 for ac_header
in jpeglib.h
13453 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13454 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13455 cat >>confdefs.h
<<_ACEOF
13456 #define HAVE_JPEGLIB_H 1
13463 if test "$ac_cv_header_jpeglib_h" = "yes"
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13466 $as_echo_n "checking for -ljpeg... " >&6; }
13467 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13468 $as_echo_n "(cached) " >&6
13470 ac_check_soname_save_LIBS
=$LIBS
13471 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13473 /* end confdefs.h. */
13475 /* Override any GCC internal prototype to avoid an error.
13476 Use char because int might match the return type of a GCC
13477 builtin and then its argument prototype would still apply. */
13481 char jpeg_start_decompress ();
13485 return jpeg_start_decompress ();
13490 if ac_fn_c_try_link
"$LINENO"; then :
13492 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13493 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'` ;;
13494 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13495 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13496 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13500 rm -f core conftest.err conftest.
$ac_objext \
13501 conftest
$ac_exeext conftest.
$ac_ext
13502 LIBS
=$ac_check_soname_save_LIBS
13504 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13506 $as_echo "not found" >&6; }
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13510 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13512 cat >>confdefs.h
<<_ACEOF
13513 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13521 CPPFLAGS
=$ac_save_CPPFLAGS
13522 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13523 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13526 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13527 case "x$with_jpeg" in
13528 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13530 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13531 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13536 if test "x$with_png" != "xno"
13538 if ${PNG_CFLAGS:+false} :; then :
13539 if ${PKG_CONFIG+:} false
; then :
13540 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13543 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13544 if ${PNG_LIBS:+false} :; then :
13545 if ${PKG_CONFIG+:} false
; then :
13546 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13549 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13551 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13552 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13553 ac_save_CPPFLAGS
=$CPPFLAGS
13554 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13555 for ac_header
in png.h
13557 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13558 if test "x$ac_cv_header_png_h" = xyes
; then :
13559 cat >>confdefs.h
<<_ACEOF
13560 #define HAVE_PNG_H 1
13567 if test "$ac_cv_header_png_h" = "yes"
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13570 $as_echo_n "checking for -lpng... " >&6; }
13571 if ${ac_cv_lib_soname_png+:} false
; then :
13572 $as_echo_n "(cached) " >&6
13574 ac_check_soname_save_LIBS
=$LIBS
13575 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13577 /* end confdefs.h. */
13579 /* Override any GCC internal prototype to avoid an error.
13580 Use char because int might match the return type of a GCC
13581 builtin and then its argument prototype would still apply. */
13585 char png_create_read_struct ();
13589 return png_create_read_struct ();
13594 if ac_fn_c_try_link
"$LINENO"; then :
13596 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13597 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'` ;;
13598 *) 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'`
13599 if ${ac_cv_lib_soname_png:+false} :; then :
13600 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13604 rm -f core conftest.err conftest.
$ac_objext \
13605 conftest
$ac_exeext conftest.
$ac_ext
13606 LIBS
=$ac_check_soname_save_LIBS
13608 if ${ac_cv_lib_soname_png:+false} :; then :
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13610 $as_echo "not found" >&6; }
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13614 $as_echo "$ac_cv_lib_soname_png" >&6; }
13616 cat >>confdefs.h
<<_ACEOF
13617 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13621 /* end confdefs.h. */
13626 typeof(png_set_expand_gray_1_2_4_to_8) *p
13631 if ac_fn_c_try_compile
"$LINENO"; then :
13633 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13641 CPPFLAGS
=$ac_save_CPPFLAGS
13642 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13643 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13646 if test "x$ac_cv_lib_soname_png" = "x"; then :
13647 case "x$with_png" in
13648 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13650 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13651 This is an error since --with-png was requested." "$LINENO" 5 ;;
13656 if test "x$with_tiff" != "xno"
13658 if ${TIFF_CFLAGS:+false} :; then :
13659 if ${PKG_CONFIG+:} false
; then :
13660 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13664 if ${TIFF_LIBS:+false} :; then :
13665 if ${PKG_CONFIG+:} false
; then :
13666 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13671 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13672 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13673 ac_save_CPPFLAGS
=$CPPFLAGS
13674 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13675 for ac_header
in tiffio.h
13677 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13678 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13679 cat >>confdefs.h
<<_ACEOF
13680 #define HAVE_TIFFIO_H 1
13687 if test "$ac_cv_header_tiffio_h" = "yes"
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13690 $as_echo_n "checking for -ltiff... " >&6; }
13691 if ${ac_cv_lib_soname_tiff+:} false
; then :
13692 $as_echo_n "(cached) " >&6
13694 ac_check_soname_save_LIBS
=$LIBS
13695 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h. */
13699 /* Override any GCC internal prototype to avoid an error.
13700 Use char because int might match the return type of a GCC
13701 builtin and then its argument prototype would still apply. */
13705 char TIFFClientOpen ();
13709 return TIFFClientOpen ();
13714 if ac_fn_c_try_link
"$LINENO"; then :
13716 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13717 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'` ;;
13718 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13719 if ${ac_cv_lib_soname_tiff:+false} :; then :
13720 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13724 rm -f core conftest.err conftest.
$ac_objext \
13725 conftest
$ac_exeext conftest.
$ac_ext
13726 LIBS
=$ac_check_soname_save_LIBS
13728 if ${ac_cv_lib_soname_tiff:+false} :; then :
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13730 $as_echo "not found" >&6; }
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13734 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13736 cat >>confdefs.h
<<_ACEOF
13737 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13743 CPPFLAGS
=$ac_save_CPPFLAGS
13744 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13745 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13748 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13749 case "x$with_tiff" in
13750 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13752 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13753 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13758 if test "x$with_mpg123" != "xno"
13760 if ${MPG123_CFLAGS:+false} :; then :
13761 if ${PKG_CONFIG+:} false
; then :
13762 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13766 if ${MPG123_LIBS:+false} :; then :
13767 if ${PKG_CONFIG+:} false
; then :
13768 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13772 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13773 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13774 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13775 ac_save_CPPFLAGS
=$CPPFLAGS
13776 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13777 for ac_header
in mpg123.h
13779 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13780 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13781 cat >>confdefs.h
<<_ACEOF
13782 #define HAVE_MPG123_H 1
13789 if test "$ac_cv_header_mpg123_h" = "yes"
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13792 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13793 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13794 $as_echo_n "(cached) " >&6
13796 ac_check_lib_save_LIBS
=$LIBS
13797 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13799 /* end confdefs.h. */
13801 /* Override any GCC internal prototype to avoid an error.
13802 Use char because int might match the return type of a GCC
13803 builtin and then its argument prototype would still apply. */
13807 char mpg123_feed ();
13811 return mpg123_feed ();
13816 if ac_fn_c_try_link
"$LINENO"; then :
13817 ac_cv_lib_mpg123_mpg123_feed
=yes
13819 ac_cv_lib_mpg123_mpg123_feed
=no
13821 rm -f core conftest.err conftest.
$ac_objext \
13822 conftest
$ac_exeext conftest.
$ac_ext
13823 LIBS
=$ac_check_lib_save_LIBS
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13826 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13827 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13837 CPPFLAGS
=$ac_save_CPPFLAGS
13838 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13839 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13842 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13843 case "x$with_mpg123" in
13844 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13846 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13847 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13849 enable_winemp3_acm
=${enable_winemp3_acm:-no}
13852 if test "$ac_cv_header_AL_al_h" = "yes"
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13855 $as_echo_n "checking for -lopenal... " >&6; }
13856 if ${ac_cv_lib_soname_openal+:} false
; then :
13857 $as_echo_n "(cached) " >&6
13859 ac_check_soname_save_LIBS
=$LIBS
13860 LIBS
="-lopenal $LIBS"
13861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13862 /* end confdefs.h. */
13864 /* Override any GCC internal prototype to avoid an error.
13865 Use char because int might match the return type of a GCC
13866 builtin and then its argument prototype would still apply. */
13870 char alGetSource3i ();
13874 return alGetSource3i ();
13879 if ac_fn_c_try_link
"$LINENO"; then :
13881 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13882 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'` ;;
13883 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13884 if ${ac_cv_lib_soname_openal:+false} :; then :
13885 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13889 rm -f core conftest.err conftest.
$ac_objext \
13890 conftest
$ac_exeext conftest.
$ac_ext
13891 LIBS
=$ac_check_soname_save_LIBS
13893 if ${ac_cv_lib_soname_openal:+false} :; then :
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13895 $as_echo "not found" >&6; }
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13899 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13901 cat >>confdefs.h
<<_ACEOF
13902 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13905 OPENAL_LIBS
="-lopenal"
13907 ac_cv_lib_openal
=yes
13909 cat >>confdefs.h
<<_ACEOF
13910 #define HAVE_OPENAL 1
13915 if test "x$ac_cv_lib_openal" != xyes
; then :
13916 case "x$with_openal" in
13917 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13919 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13920 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13922 enable_openal32
=${enable_openal32:-no}
13925 if test "x$ac_cv_lib_openal" = xyes
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13928 $as_echo_n "checking for openal-soft... " >&6; }
13929 if ${ac_cv_have_openalsoft+:} false
; then :
13930 $as_echo_n "(cached) " >&6
13932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13933 /* end confdefs.h. */
13935 #include <AL/alc.h>
13936 #include <AL/alext.h>
13937 LPALCRENDERSAMPLESSOFT x;
13946 if ac_fn_c_try_compile
"$LINENO"; then :
13947 ac_cv_have_openalsoft
=yes
13949 ac_cv_have_openalsoft
=no
13951 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13954 $as_echo "$ac_cv_have_openalsoft" >&6; }
13956 if test "x$ac_cv_have_openalsoft" != xyes
13958 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13959 enable_x3daudio1_0
=${enable_x3daudio1_0:-no}
13960 enable_x3daudio1_1
=${enable_x3daudio1_1:-no}
13961 enable_x3daudio1_2
=${enable_x3daudio1_2:-no}
13962 enable_x3daudio1_3
=${enable_x3daudio1_3:-no}
13963 enable_x3daudio1_4
=${enable_x3daudio1_4:-no}
13964 enable_x3daudio1_5
=${enable_x3daudio1_5:-no}
13965 enable_x3daudio1_6
=${enable_x3daudio1_6:-no}
13966 enable_x3daudio1_7
=${enable_x3daudio1_7:-no}
13967 enable_xapofx1_1
=${enable_xapofx1_1:-no}
13968 enable_xapofx1_2
=${enable_xapofx1_2:-no}
13969 enable_xapofx1_3
=${enable_xapofx1_3:-no}
13970 enable_xapofx1_4
=${enable_xapofx1_4:-no}
13971 enable_xapofx1_5
=${enable_xapofx1_5:-no}
13972 enable_xaudio2_0
=${enable_xaudio2_0:-no}
13973 enable_xaudio2_1
=${enable_xaudio2_1:-no}
13974 enable_xaudio2_2
=${enable_xaudio2_2:-no}
13975 enable_xaudio2_3
=${enable_xaudio2_3:-no}
13976 enable_xaudio2_4
=${enable_xaudio2_4:-no}
13977 enable_xaudio2_5
=${enable_xaudio2_5:-no}
13978 enable_xaudio2_6
=${enable_xaudio2_6:-no}
13979 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13980 enable_xaudio2_8
=${enable_xaudio2_8:-no}
13981 enable_xaudio2_9
=${enable_xaudio2_9:-no}
13984 if test "$ac_cv_header_kstat_h" = "yes"
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13987 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13988 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13989 $as_echo_n "(cached) " >&6
13991 ac_check_lib_save_LIBS
=$LIBS
13992 LIBS
="-lkstat $LIBS"
13993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13994 /* end confdefs.h. */
13996 /* Override any GCC internal prototype to avoid an error.
13997 Use char because int might match the return type of a GCC
13998 builtin and then its argument prototype would still apply. */
14002 char kstat_open ();
14006 return kstat_open ();
14011 if ac_fn_c_try_link
"$LINENO"; then :
14012 ac_cv_lib_kstat_kstat_open
=yes
14014 ac_cv_lib_kstat_kstat_open
=no
14016 rm -f core conftest.err conftest.
$ac_objext \
14017 conftest
$ac_exeext conftest.
$ac_ext
14018 LIBS
=$ac_check_lib_save_LIBS
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14021 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14022 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
14024 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14026 KSTAT_LIBS
="-lkstat"
14032 if test "$ac_cv_header_libprocstat_h" = "yes"
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14035 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14036 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
14037 $as_echo_n "(cached) " >&6
14039 ac_check_lib_save_LIBS
=$LIBS
14040 LIBS
="-lprocstat $LIBS"
14041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14042 /* end confdefs.h. */
14044 /* Override any GCC internal prototype to avoid an error.
14045 Use char because int might match the return type of a GCC
14046 builtin and then its argument prototype would still apply. */
14050 char procstat_open_sysctl ();
14054 return procstat_open_sysctl ();
14059 if ac_fn_c_try_link
"$LINENO"; then :
14060 ac_cv_lib_procstat_procstat_open_sysctl
=yes
14062 ac_cv_lib_procstat_procstat_open_sysctl
=no
14064 rm -f core conftest.err conftest.
$ac_objext \
14065 conftest
$ac_exeext conftest.
$ac_ext
14066 LIBS
=$ac_check_lib_save_LIBS
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14069 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14070 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
14072 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14074 PROCSTAT_LIBS
="-lprocstat"
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14081 $as_echo_n "checking for -lodbc... " >&6; }
14082 if ${ac_cv_lib_soname_odbc+:} false
; then :
14083 $as_echo_n "(cached) " >&6
14085 ac_check_soname_save_LIBS
=$LIBS
14086 LIBS
="-lodbc $LIBS"
14087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14088 /* end confdefs.h. */
14090 /* Override any GCC internal prototype to avoid an error.
14091 Use char because int might match the return type of a GCC
14092 builtin and then its argument prototype would still apply. */
14096 char SQLConnect ();
14100 return SQLConnect ();
14105 if ac_fn_c_try_link
"$LINENO"; then :
14107 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14108 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'` ;;
14109 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14110 if ${ac_cv_lib_soname_odbc:+false} :; then :
14111 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14115 rm -f core conftest.err conftest.
$ac_objext \
14116 conftest
$ac_exeext conftest.
$ac_ext
14117 LIBS
=$ac_check_soname_save_LIBS
14119 if ${ac_cv_lib_soname_odbc:+false} :; then :
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14121 $as_echo "not found" >&6; }
14122 cat >>confdefs.h
<<_ACEOF
14123 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14128 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14130 cat >>confdefs.h
<<_ACEOF
14131 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14137 if test "x$with_netapi" != "xno"
14139 if ${NETAPI_CFLAGS:+false} :; then :
14140 if ${PKG_CONFIG+:} false
; then :
14141 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14145 if ${NETAPI_LIBS:+false} :; then :
14146 if ${PKG_CONFIG+:} false
; then :
14147 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
14152 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14153 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14154 ac_save_CPPFLAGS
=$CPPFLAGS
14155 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14157 $as_echo_n "checking for -lnetapi... " >&6; }
14158 if ${ac_cv_lib_soname_netapi+:} false
; then :
14159 $as_echo_n "(cached) " >&6
14161 ac_check_soname_save_LIBS
=$LIBS
14162 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
14163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14164 /* end confdefs.h. */
14166 /* Override any GCC internal prototype to avoid an error.
14167 Use char because int might match the return type of a GCC
14168 builtin and then its argument prototype would still apply. */
14172 char libnetapi_init ();
14176 return libnetapi_init ();
14181 if ac_fn_c_try_link
"$LINENO"; then :
14183 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14184 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'` ;;
14185 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14186 if ${ac_cv_lib_soname_netapi:+false} :; then :
14187 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14191 rm -f core conftest.err conftest.
$ac_objext \
14192 conftest
$ac_exeext conftest.
$ac_ext
14193 LIBS
=$ac_check_soname_save_LIBS
14195 if ${ac_cv_lib_soname_netapi:+false} :; then :
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14197 $as_echo "not found" >&6; }
14198 cat >>confdefs.h
<<_ACEOF
14199 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14204 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14206 cat >>confdefs.h
<<_ACEOF
14207 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14212 CPPFLAGS
=$ac_save_CPPFLAGS
14213 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS
=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14214 test -z "$NETAPI_LIBS" || NETAPI_LIBS
=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14218 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono
-a \
14219 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14221 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
14227 if test "x${GCC}" = "xyes"
14229 EXTRACFLAGS
="-Wall -pipe"
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14232 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14233 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
14234 $as_echo_n "(cached) " >&6
14236 if test "$cross_compiling" = yes; then :
14237 ac_cv_c_gcc_strength_bug
="no"
14239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14240 /* end confdefs.h. */
14241 int L[4] = {0,1,2,3};
14245 static int Array[3];
14246 unsigned int B = 3;
14248 for(i=0; i<B; i++) Array[i] = i - 3;
14249 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14251 return (Array[1] != -2 || L[2] != 3)
14256 if ac_fn_c_try_run
"$LINENO"; then :
14257 ac_cv_c_gcc_strength_bug
="no"
14259 ac_cv_c_gcc_strength_bug
="yes"
14261 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14262 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14267 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14268 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14270 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14274 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14275 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14276 $as_echo_n "(cached) " >&6
14278 ac_wine_try_cflags_saved
=$CFLAGS
14279 CFLAGS
="$CFLAGS -fno-builtin"
14280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14281 /* end confdefs.h. */
14282 int main(int argc, char **argv) { return 0; }
14284 if ac_fn_c_try_link
"$LINENO"; then :
14285 ac_cv_cflags__fno_builtin
=yes
14287 ac_cv_cflags__fno_builtin
=no
14289 rm -f core conftest.err conftest.
$ac_objext \
14290 conftest
$ac_exeext conftest.
$ac_ext
14291 CFLAGS
=$ac_wine_try_cflags_saved
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14294 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14295 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14296 BUILTINFLAG
="-fno-builtin"
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14300 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14301 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14302 $as_echo_n "(cached) " >&6
14304 ac_wine_try_cflags_saved
=$CFLAGS
14305 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14307 /* end confdefs.h. */
14308 int main(int argc, char **argv) { return 0; }
14310 if ac_fn_c_try_link
"$LINENO"; then :
14311 ac_cv_cflags__fno_strict_aliasing
=yes
14313 ac_cv_cflags__fno_strict_aliasing
=no
14315 rm -f core conftest.err conftest.
$ac_objext \
14316 conftest
$ac_exeext conftest.
$ac_ext
14317 CFLAGS
=$ac_wine_try_cflags_saved
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14320 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14321 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14322 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14325 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14326 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14327 $as_echo_n "(cached) " >&6
14329 ac_wine_try_cflags_saved
=$CFLAGS
14330 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14332 /* end confdefs.h. */
14333 int main(int argc, char **argv) { return 0; }
14335 if ac_fn_c_try_link
"$LINENO"; then :
14336 ac_cv_cflags__fexcess_precision_standard
=yes
14338 ac_cv_cflags__fexcess_precision_standard
=no
14340 rm -f core conftest.err conftest.
$ac_objext \
14341 conftest
$ac_exeext conftest.
$ac_ext
14342 CFLAGS
=$ac_wine_try_cflags_saved
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14345 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14346 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14347 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14350 saved_CFLAGS
=$CFLAGS
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14352 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14353 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14354 $as_echo_n "(cached) " >&6
14356 ac_wine_try_cflags_saved
=$CFLAGS
14357 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14359 /* end confdefs.h. */
14360 int main(int argc, char **argv) { return 0; }
14362 if ac_fn_c_try_link
"$LINENO"; then :
14363 ac_cv_cflags__Werror_unknown_warning_option
=yes
14365 ac_cv_cflags__Werror_unknown_warning_option
=no
14367 rm -f core conftest.err conftest.
$ac_objext \
14368 conftest
$ac_exeext conftest.
$ac_ext
14369 CFLAGS
=$ac_wine_try_cflags_saved
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14372 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14373 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14374 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14377 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14378 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14379 $as_echo_n "(cached) " >&6
14381 ac_wine_try_cflags_saved
=$CFLAGS
14382 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14384 /* end confdefs.h. */
14385 int main(int argc, char **argv) { return 0; }
14387 if ac_fn_c_try_link
"$LINENO"; then :
14388 ac_cv_cflags__Wdeclaration_after_statement
=yes
14390 ac_cv_cflags__Wdeclaration_after_statement
=no
14392 rm -f core conftest.err conftest.
$ac_objext \
14393 conftest
$ac_exeext conftest.
$ac_ext
14394 CFLAGS
=$ac_wine_try_cflags_saved
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14397 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14398 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14399 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14402 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14403 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14404 $as_echo_n "(cached) " >&6
14406 ac_wine_try_cflags_saved
=$CFLAGS
14407 CFLAGS
="$CFLAGS -Wempty-body"
14408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14409 /* end confdefs.h. */
14410 int main(int argc, char **argv) { return 0; }
14412 if ac_fn_c_try_link
"$LINENO"; then :
14413 ac_cv_cflags__Wempty_body
=yes
14415 ac_cv_cflags__Wempty_body
=no
14417 rm -f core conftest.err conftest.
$ac_objext \
14418 conftest
$ac_exeext conftest.
$ac_ext
14419 CFLAGS
=$ac_wine_try_cflags_saved
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14422 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14423 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14424 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14427 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14428 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14429 $as_echo_n "(cached) " >&6
14431 ac_wine_try_cflags_saved
=$CFLAGS
14432 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14434 /* end confdefs.h. */
14435 int main(int argc, char **argv) { return 0; }
14437 if ac_fn_c_try_link
"$LINENO"; then :
14438 ac_cv_cflags__Wignored_qualifiers
=yes
14440 ac_cv_cflags__Wignored_qualifiers
=no
14442 rm -f core conftest.err conftest.
$ac_objext \
14443 conftest
$ac_exeext conftest.
$ac_ext
14444 CFLAGS
=$ac_wine_try_cflags_saved
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14447 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14448 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14449 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14452 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14453 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
14454 $as_echo_n "(cached) " >&6
14456 ac_wine_try_cflags_saved
=$CFLAGS
14457 CFLAGS
="$CFLAGS -Wshift-overflow=2"
14458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14459 /* end confdefs.h. */
14460 int main(int argc, char **argv) { return 0; }
14462 if ac_fn_c_try_link
"$LINENO"; then :
14463 ac_cv_cflags__Wshift_overflow_2
=yes
14465 ac_cv_cflags__Wshift_overflow_2
=no
14467 rm -f core conftest.err conftest.
$ac_objext \
14468 conftest
$ac_exeext conftest.
$ac_ext
14469 CFLAGS
=$ac_wine_try_cflags_saved
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14472 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14473 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
14474 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14477 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14478 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14479 $as_echo_n "(cached) " >&6
14481 ac_wine_try_cflags_saved
=$CFLAGS
14482 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14484 /* end confdefs.h. */
14485 int main(int argc, char **argv) { return 0; }
14487 if ac_fn_c_try_link
"$LINENO"; then :
14488 ac_cv_cflags__Wstrict_prototypes
=yes
14490 ac_cv_cflags__Wstrict_prototypes
=no
14492 rm -f core conftest.err conftest.
$ac_objext \
14493 conftest
$ac_exeext conftest.
$ac_ext
14494 CFLAGS
=$ac_wine_try_cflags_saved
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14497 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14498 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14499 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14502 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14503 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14504 $as_echo_n "(cached) " >&6
14506 ac_wine_try_cflags_saved
=$CFLAGS
14507 CFLAGS
="$CFLAGS -Wtype-limits"
14508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14509 /* end confdefs.h. */
14510 int main(int argc, char **argv) { return 0; }
14512 if ac_fn_c_try_link
"$LINENO"; then :
14513 ac_cv_cflags__Wtype_limits
=yes
14515 ac_cv_cflags__Wtype_limits
=no
14517 rm -f core conftest.err conftest.
$ac_objext \
14518 conftest
$ac_exeext conftest.
$ac_ext
14519 CFLAGS
=$ac_wine_try_cflags_saved
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14522 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14523 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14524 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14527 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14528 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14529 $as_echo_n "(cached) " >&6
14531 ac_wine_try_cflags_saved
=$CFLAGS
14532 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14534 /* end confdefs.h. */
14535 int main(int argc, char **argv) { return 0; }
14537 if ac_fn_c_try_link
"$LINENO"; then :
14538 ac_cv_cflags__Wunused_but_set_parameter
=yes
14540 ac_cv_cflags__Wunused_but_set_parameter
=no
14542 rm -f core conftest.err conftest.
$ac_objext \
14543 conftest
$ac_exeext conftest.
$ac_ext
14544 CFLAGS
=$ac_wine_try_cflags_saved
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14547 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14548 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14549 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14552 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14553 if ${ac_cv_cflags__Wvla+:} false
; then :
14554 $as_echo_n "(cached) " >&6
14556 ac_wine_try_cflags_saved
=$CFLAGS
14557 CFLAGS
="$CFLAGS -Wvla"
14558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14559 /* end confdefs.h. */
14560 int main(int argc, char **argv) { return 0; }
14562 if ac_fn_c_try_link
"$LINENO"; then :
14563 ac_cv_cflags__Wvla
=yes
14565 ac_cv_cflags__Wvla
=no
14567 rm -f core conftest.err conftest.
$ac_objext \
14568 conftest
$ac_exeext conftest.
$ac_ext
14569 CFLAGS
=$ac_wine_try_cflags_saved
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14572 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14573 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14574 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14577 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14578 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14579 $as_echo_n "(cached) " >&6
14581 ac_wine_try_cflags_saved
=$CFLAGS
14582 CFLAGS
="$CFLAGS -Wwrite-strings"
14583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14584 /* end confdefs.h. */
14585 int main(int argc, char **argv) { return 0; }
14587 if ac_fn_c_try_link
"$LINENO"; then :
14588 ac_cv_cflags__Wwrite_strings
=yes
14590 ac_cv_cflags__Wwrite_strings
=no
14592 rm -f core conftest.err conftest.
$ac_objext \
14593 conftest
$ac_exeext conftest.
$ac_ext
14594 CFLAGS
=$ac_wine_try_cflags_saved
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14597 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14598 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14599 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14603 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14604 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14605 $as_echo_n "(cached) " >&6
14607 ac_wine_try_cflags_saved
=$CFLAGS
14608 CFLAGS
="$CFLAGS -Wpointer-arith"
14609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14610 /* end confdefs.h. */
14611 int main(int argc, char **argv) { return 0; }
14613 if ac_fn_c_try_link
"$LINENO"; then :
14614 ac_cv_cflags__Wpointer_arith
=yes
14616 ac_cv_cflags__Wpointer_arith
=no
14618 rm -f core conftest.err conftest.
$ac_objext \
14619 conftest
$ac_exeext conftest.
$ac_ext
14620 CFLAGS
=$ac_wine_try_cflags_saved
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14623 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14624 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14625 saved_string_h_CFLAGS
=$CFLAGS
14626 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14628 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14629 if ${ac_cv_c_string_h_warnings+:} false
; then :
14630 $as_echo_n "(cached) " >&6
14632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14633 /* end confdefs.h. */
14634 #include <string.h>
14643 if ac_fn_c_try_compile
"$LINENO"; then :
14644 ac_cv_c_string_h_warnings
=no
14646 ac_cv_c_string_h_warnings
=yes
14648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14651 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14652 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14653 CFLAGS
=$saved_string_h_CFLAGS
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14657 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14658 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14659 $as_echo_n "(cached) " >&6
14661 ac_wine_try_cflags_saved
=$CFLAGS
14662 CFLAGS
="$CFLAGS -Wlogical-op"
14663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14664 /* end confdefs.h. */
14665 int main(int argc, char **argv) { return 0; }
14667 if ac_fn_c_try_link
"$LINENO"; then :
14668 ac_cv_cflags__Wlogical_op
=yes
14670 ac_cv_cflags__Wlogical_op
=no
14672 rm -f core conftest.err conftest.
$ac_objext \
14673 conftest
$ac_exeext conftest.
$ac_ext
14674 CFLAGS
=$ac_wine_try_cflags_saved
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14677 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14678 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14679 saved_string_h_CFLAGS
=$CFLAGS
14680 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14682 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14683 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14684 $as_echo_n "(cached) " >&6
14686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14687 /* end confdefs.h. */
14688 #include <string.h>
14689 char*f(const char *h,char n) {return strchr(h,n);}
14698 if ac_fn_c_try_compile
"$LINENO"; then :
14699 ac_cv_c_logicalop_noisy
=no
14701 ac_cv_c_logicalop_noisy
=yes
14703 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14706 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14707 CFLAGS
=$saved_string_h_CFLAGS
14708 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14711 CFLAGS
=$saved_CFLAGS
14713 for ac_flag
in $CFLAGS; do
14715 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14716 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14717 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14718 $as_echo_n "(cached) " >&6
14720 ac_wine_try_cflags_saved
=$CFLAGS
14721 CFLAGS
="$CFLAGS -gdwarf-2"
14722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14723 /* end confdefs.h. */
14724 int main(int argc, char **argv) { return 0; }
14726 if ac_fn_c_try_link
"$LINENO"; then :
14727 ac_cv_cflags__gdwarf_2
=yes
14729 ac_cv_cflags__gdwarf_2
=no
14731 rm -f core conftest.err conftest.
$ac_objext \
14732 conftest
$ac_exeext conftest.
$ac_ext
14733 CFLAGS
=$ac_wine_try_cflags_saved
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14736 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14737 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14738 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14741 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14742 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14743 $as_echo_n "(cached) " >&6
14745 ac_wine_try_cflags_saved
=$CFLAGS
14746 CFLAGS
="$CFLAGS -gstrict-dwarf"
14747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14748 /* end confdefs.h. */
14749 int main(int argc, char **argv) { return 0; }
14751 if ac_fn_c_try_link
"$LINENO"; then :
14752 ac_cv_cflags__gstrict_dwarf
=yes
14754 ac_cv_cflags__gstrict_dwarf
=no
14756 rm -f core conftest.err conftest.
$ac_objext \
14757 conftest
$ac_exeext conftest.
$ac_ext
14758 CFLAGS
=$ac_wine_try_cflags_saved
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14761 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14762 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14763 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14769 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14770 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14771 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14772 $as_echo_n "(cached) " >&6
14774 ac_wine_try_cflags_saved
=$CFLAGS
14775 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14777 /* end confdefs.h. */
14778 int main(int argc, char **argv) { return 0; }
14780 if ac_fn_c_try_link
"$LINENO"; then :
14781 ac_cv_cflags__fno_omit_frame_pointer
=yes
14783 ac_cv_cflags__fno_omit_frame_pointer
=no
14785 rm -f core conftest.err conftest.
$ac_objext \
14786 conftest
$ac_exeext conftest.
$ac_ext
14787 CFLAGS
=$ac_wine_try_cflags_saved
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14790 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14791 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14792 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14797 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14798 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14799 if ${ac_cv_cflags__Wno_format+:} false
; then :
14800 $as_echo_n "(cached) " >&6
14802 ac_wine_try_cflags_saved
=$CFLAGS
14803 CFLAGS
="$CFLAGS -Wno-format"
14804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14805 /* end confdefs.h. */
14806 int main(int argc, char **argv) { return 0; }
14808 if ac_fn_c_try_link
"$LINENO"; then :
14809 ac_cv_cflags__Wno_format
=yes
14811 ac_cv_cflags__Wno_format
=no
14813 rm -f core conftest.err conftest.
$ac_objext \
14814 conftest
$ac_exeext conftest.
$ac_ext
14815 CFLAGS
=$ac_wine_try_cflags_saved
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14818 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14819 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14820 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14824 if test "x$enable_maintainer_mode" = "xyes"
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14827 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14828 if ${ac_cv_cflags__Werror+:} false
; then :
14829 $as_echo_n "(cached) " >&6
14831 ac_wine_try_cflags_saved
=$CFLAGS
14832 CFLAGS
="$CFLAGS -Werror"
14833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14834 /* end confdefs.h. */
14835 int main(int argc, char **argv) { return 0; }
14837 if ac_fn_c_try_link
"$LINENO"; then :
14838 ac_cv_cflags__Werror
=yes
14840 ac_cv_cflags__Werror
=no
14842 rm -f core conftest.err conftest.
$ac_objext \
14843 conftest
$ac_exeext conftest.
$ac_ext
14844 CFLAGS
=$ac_wine_try_cflags_saved
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14847 $as_echo "$ac_cv_cflags__Werror" >&6; }
14848 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14849 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14853 saved_CFLAGS
="$CFLAGS"
14854 CFLAGS
="$CFLAGS -Werror"
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14856 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14857 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14858 $as_echo_n "(cached) " >&6
14860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14861 /* end confdefs.h. */
14862 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14871 if ac_fn_c_try_compile
"$LINENO"; then :
14872 ac_cv_have_ms_hook_prologue
="yes"
14874 ac_cv_have_ms_hook_prologue
="no"
14876 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14879 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14880 CFLAGS
="$saved_CFLAGS"
14881 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14884 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14887 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14894 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14895 if ${ac_cv_c_fortify_enabled+:} false
; then :
14896 $as_echo_n "(cached) " >&6
14898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14899 /* end confdefs.h. */
14900 #include <string.h>
14904 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14905 #error Fortify enabled
14911 if ac_fn_c_try_compile
"$LINENO"; then :
14912 ac_cv_c_fortify_enabled
=no
14914 ac_cv_c_fortify_enabled
=yes
14916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14919 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14920 if test "$ac_cv_c_fortify_enabled" = yes
14922 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14927 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14928 if ${ac_cv_c_extern_prefix+:} false
; then :
14929 $as_echo_n "(cached) " >&6
14931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14932 /* end confdefs.h. */
14933 extern int ac_test;
14937 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14942 if ac_fn_c_try_link
"$LINENO"; then :
14943 ac_cv_c_extern_prefix
="yes"
14945 ac_cv_c_extern_prefix
="no"
14947 rm -f core conftest.err conftest.
$ac_objext \
14948 conftest
$ac_exeext conftest.
$ac_ext
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14951 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14956 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14957 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14958 $as_echo_n "(cached) " >&6
14960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14961 /* end confdefs.h. */
14963 #define __stdcall __attribute__((__stdcall__))
14965 int __stdcall ac_test(int i) { return i; }
14969 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14974 if ac_fn_c_try_link
"$LINENO"; then :
14975 ac_cv_c_stdcall_suffix
="yes"
14977 ac_cv_c_stdcall_suffix
="no"
14979 rm -f core conftest.err conftest.
$ac_objext \
14980 conftest
$ac_exeext conftest.
$ac_ext
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14983 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14984 *) ac_cv_c_stdcall_suffix
="no" ;;
14988 if test "$ac_cv_c_extern_prefix" = "yes"
14990 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14992 asm_name_prefix
="_"
14994 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15000 if test "$ac_cv_c_stdcall_suffix" = "yes"
15002 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15005 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15011 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15012 if ${ac_cv_asm_func_def+:} false
; then :
15013 $as_echo_n "(cached) " >&6
15015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15016 /* end confdefs.h. */
15021 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15026 if ac_fn_c_try_link
"$LINENO"; then :
15027 ac_cv_asm_func_def
=".def"
15029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15030 /* end confdefs.h. */
15035 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15040 if ac_fn_c_try_link
"$LINENO"; then :
15041 ac_cv_asm_func_def
=".type @function"
15043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15044 /* end confdefs.h. */
15049 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15054 if ac_fn_c_try_link
"$LINENO"; then :
15055 ac_cv_asm_func_def
=".type 2"
15057 ac_cv_asm_func_def
="unknown"
15059 rm -f core conftest.err conftest.
$ac_objext \
15060 conftest
$ac_exeext conftest.
$ac_ext
15062 rm -f core conftest.err conftest.
$ac_objext \
15063 conftest
$ac_exeext conftest.
$ac_ext
15065 rm -f core conftest.err conftest.
$ac_objext \
15066 conftest
$ac_exeext conftest.
$ac_ext
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15069 $as_echo "$ac_cv_asm_func_def" >&6; }
15072 case "$ac_cv_asm_func_def" in
15074 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15076 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15078 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15080 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
15082 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15084 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
15086 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15088 asm_func_header
="" ;;
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15092 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15093 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
15094 $as_echo_n "(cached) " >&6
15096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15097 /* end confdefs.h. */
15098 asm(".text\n\t.long 0");
15107 if ac_fn_c_try_compile
"$LINENO"; then :
15108 ac_cv_c_asm_outside_funcs
="yes"
15110 ac_cv_c_asm_outside_funcs
="no"
15112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15115 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15118 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15119 if ${ac_cv_c_dot_previous+:} false
; then :
15120 $as_echo_n "(cached) " >&6
15122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15123 /* end confdefs.h. */
15128 asm(".text\nac_test:\t.long 0\n\t.previous");
15133 if ac_fn_c_try_link
"$LINENO"; then :
15134 ac_cv_c_dot_previous
="yes"
15136 ac_cv_c_dot_previous
="no"
15138 rm -f core conftest.err conftest.
$ac_objext \
15139 conftest
$ac_exeext conftest.
$ac_ext
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15142 $as_echo "$ac_cv_c_dot_previous" >&6; }
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15145 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15146 if ${ac_cv_c_cfi_support+:} false
; then :
15147 $as_echo_n "(cached) " >&6
15149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15150 /* end confdefs.h. */
15151 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15160 if ac_fn_c_try_compile
"$LINENO"; then :
15161 ac_cv_c_cfi_support
="yes"
15163 ac_cv_c_cfi_support
="no"
15165 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15168 $as_echo "$ac_cv_c_cfi_support" >&6; }
15170 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15171 asm_func_trailer
=""
15172 if test "$ac_cv_c_dot_previous" = "yes"
15174 asm_func_trailer
="\\n\\t.previous"
15176 if test "$ac_cv_c_cfi_support" = "yes"
15178 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
15179 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
15181 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15183 UNWINDFLAGS
=-fasynchronous-unwind-tables
15186 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15188 if test "x$enable_win64" = "xyes"
15190 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15194 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
15197 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15199 cat >>confdefs.h
<<_ACEOF
15200 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15204 cat >>confdefs.h
<<_ACEOF
15205 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15210 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15213 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15218 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
15226 *i
[3456789]86*|x86_64
*)
15227 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
15228 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
15235 ac_save_CFLAGS
="$CFLAGS"
15236 CFLAGS
="$CFLAGS $BUILTINFLAG"
15316 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15317 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15318 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15319 cat >>confdefs.h
<<_ACEOF
15320 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15326 CFLAGS
="$ac_save_CFLAGS"
15328 if test "$ac_cv_func_dlopen" = no
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15331 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15332 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15333 $as_echo_n "(cached) " >&6
15335 ac_check_lib_save_LIBS
=$LIBS
15337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15338 /* end confdefs.h. */
15340 /* Override any GCC internal prototype to avoid an error.
15341 Use char because int might match the return type of a GCC
15342 builtin and then its argument prototype would still apply. */
15355 if ac_fn_c_try_link
"$LINENO"; then :
15356 ac_cv_lib_dl_dlopen
=yes
15358 ac_cv_lib_dl_dlopen
=no
15360 rm -f core conftest.err conftest.
$ac_objext \
15361 conftest
$ac_exeext conftest.
$ac_ext
15362 LIBS
=$ac_check_lib_save_LIBS
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15365 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15366 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15367 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15373 ac_wine_check_funcs_save_LIBS
="$LIBS"
15374 LIBS
="$LIBS $DL_LIBS"
15375 for ac_func
in dladdr
15377 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15378 if test "x$ac_cv_func_dladdr" = xyes
; then :
15379 cat >>confdefs.h
<<_ACEOF
15380 #define HAVE_DLADDR 1
15386 LIBS
="$ac_wine_check_funcs_save_LIBS"
15388 if test "$ac_cv_func_poll" = no
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15391 $as_echo_n "checking for poll in -lpoll... " >&6; }
15392 if ${ac_cv_lib_poll_poll+:} false
; then :
15393 $as_echo_n "(cached) " >&6
15395 ac_check_lib_save_LIBS
=$LIBS
15396 LIBS
="-lpoll $LIBS"
15397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15398 /* end confdefs.h. */
15400 /* Override any GCC internal prototype to avoid an error.
15401 Use char because int might match the return type of a GCC
15402 builtin and then its argument prototype would still apply. */
15415 if ac_fn_c_try_link
"$LINENO"; then :
15416 ac_cv_lib_poll_poll
=yes
15418 ac_cv_lib_poll_poll
=no
15420 rm -f core conftest.err conftest.
$ac_objext \
15421 conftest
$ac_exeext conftest.
$ac_ext
15422 LIBS
=$ac_check_lib_save_LIBS
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15425 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15426 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15427 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15435 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15436 if ${ac_cv_search_gethostbyname+:} false
; then :
15437 $as_echo_n "(cached) " >&6
15439 ac_func_search_save_LIBS
=$LIBS
15440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15441 /* end confdefs.h. */
15443 /* Override any GCC internal prototype to avoid an error.
15444 Use char because int might match the return type of a GCC
15445 builtin and then its argument prototype would still apply. */
15449 char gethostbyname ();
15453 return gethostbyname ();
15458 for ac_lib
in '' nsl
; do
15459 if test -z "$ac_lib"; then
15460 ac_res
="none required"
15463 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15465 if ac_fn_c_try_link
"$LINENO"; then :
15466 ac_cv_search_gethostbyname
=$ac_res
15468 rm -f core conftest.err conftest.
$ac_objext \
15470 if ${ac_cv_search_gethostbyname+:} false
; then :
15474 if ${ac_cv_search_gethostbyname+:} false
; then :
15477 ac_cv_search_gethostbyname
=no
15479 rm conftest.
$ac_ext
15480 LIBS
=$ac_func_search_save_LIBS
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15483 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15484 ac_res
=$ac_cv_search_gethostbyname
15485 if test "$ac_res" != no
; then :
15486 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15492 $as_echo_n "checking for library containing connect... " >&6; }
15493 if ${ac_cv_search_connect+:} false
; then :
15494 $as_echo_n "(cached) " >&6
15496 ac_func_search_save_LIBS
=$LIBS
15497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15498 /* end confdefs.h. */
15500 /* Override any GCC internal prototype to avoid an error.
15501 Use char because int might match the return type of a GCC
15502 builtin and then its argument prototype would still apply. */
15515 for ac_lib
in '' socket
; do
15516 if test -z "$ac_lib"; then
15517 ac_res
="none required"
15520 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15522 if ac_fn_c_try_link
"$LINENO"; then :
15523 ac_cv_search_connect
=$ac_res
15525 rm -f core conftest.err conftest.
$ac_objext \
15527 if ${ac_cv_search_connect+:} false
; then :
15531 if ${ac_cv_search_connect+:} false
; then :
15534 ac_cv_search_connect
=no
15536 rm conftest.
$ac_ext
15537 LIBS
=$ac_func_search_save_LIBS
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15540 $as_echo "$ac_cv_search_connect" >&6; }
15541 ac_res
=$ac_cv_search_connect
15542 if test "$ac_res" != no
; then :
15543 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15549 $as_echo_n "checking for library containing inet_aton... " >&6; }
15550 if ${ac_cv_search_inet_aton+:} false
; then :
15551 $as_echo_n "(cached) " >&6
15553 ac_func_search_save_LIBS
=$LIBS
15554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15555 /* end confdefs.h. */
15557 /* Override any GCC internal prototype to avoid an error.
15558 Use char because int might match the return type of a GCC
15559 builtin and then its argument prototype would still apply. */
15567 return inet_aton ();
15572 for ac_lib
in '' resolv
; do
15573 if test -z "$ac_lib"; then
15574 ac_res
="none required"
15577 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15579 if ac_fn_c_try_link
"$LINENO"; then :
15580 ac_cv_search_inet_aton
=$ac_res
15582 rm -f core conftest.err conftest.
$ac_objext \
15584 if ${ac_cv_search_inet_aton+:} false
; then :
15588 if ${ac_cv_search_inet_aton+:} false
; then :
15591 ac_cv_search_inet_aton
=no
15593 rm conftest.
$ac_ext
15594 LIBS
=$ac_func_search_save_LIBS
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15597 $as_echo "$ac_cv_search_inet_aton" >&6; }
15598 ac_res
=$ac_cv_search_inet_aton
15599 if test "$ac_res" != no
; then :
15600 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15620 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15621 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15622 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15623 cat >>confdefs.h
<<_ACEOF
15624 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15633 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15634 if ${ac_cv_search_clock_gettime+:} false
; then :
15635 $as_echo_n "(cached) " >&6
15637 ac_func_search_save_LIBS
=$LIBS
15638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15639 /* end confdefs.h. */
15641 /* Override any GCC internal prototype to avoid an error.
15642 Use char because int might match the return type of a GCC
15643 builtin and then its argument prototype would still apply. */
15647 char clock_gettime ();
15651 return clock_gettime ();
15656 for ac_lib
in '' rt
; do
15657 if test -z "$ac_lib"; then
15658 ac_res
="none required"
15661 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15663 if ac_fn_c_try_link
"$LINENO"; then :
15664 ac_cv_search_clock_gettime
=$ac_res
15666 rm -f core conftest.err conftest.
$ac_objext \
15668 if ${ac_cv_search_clock_gettime+:} false
; then :
15672 if ${ac_cv_search_clock_gettime+:} false
; then :
15675 ac_cv_search_clock_gettime
=no
15677 rm conftest.
$ac_ext
15678 LIBS
=$ac_func_search_save_LIBS
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15681 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15682 ac_res
=$ac_cv_search_clock_gettime
15683 if test "$ac_res" != no
; then :
15684 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15686 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15688 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15696 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15698 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15700 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15702 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15703 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15704 $as_echo_n "(cached) " >&6
15706 ac_check_lib_save_LIBS
=$LIBS
15707 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15709 /* end confdefs.h. */
15711 /* Override any GCC internal prototype to avoid an error.
15712 Use char because int might match the return type of a GCC
15713 builtin and then its argument prototype would still apply. */
15717 char ldap_initialize ();
15721 return ldap_initialize ();
15726 if ac_fn_c_try_link
"$LINENO"; then :
15727 ac_cv_lib_ldap_r_ldap_initialize
=yes
15729 ac_cv_lib_ldap_r_ldap_initialize
=no
15731 rm -f core conftest.err conftest.
$ac_objext \
15732 conftest
$ac_exeext conftest.
$ac_ext
15733 LIBS
=$ac_check_lib_save_LIBS
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15736 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15737 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15739 $as_echo_n "checking for ber_init in -llber... " >&6; }
15740 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15741 $as_echo_n "(cached) " >&6
15743 ac_check_lib_save_LIBS
=$LIBS
15744 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15746 /* end confdefs.h. */
15748 /* Override any GCC internal prototype to avoid an error.
15749 Use char because int might match the return type of a GCC
15750 builtin and then its argument prototype would still apply. */
15758 return ber_init ();
15763 if ac_fn_c_try_link
"$LINENO"; then :
15764 ac_cv_lib_lber_ber_init
=yes
15766 ac_cv_lib_lber_ber_init
=no
15768 rm -f core conftest.err conftest.
$ac_objext \
15769 conftest
$ac_exeext conftest.
$ac_ext
15770 LIBS
=$ac_check_lib_save_LIBS
15772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15773 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15774 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15776 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15778 LDAP_LIBS
="-lldap_r -llber"
15785 ac_wine_check_funcs_save_LIBS
="$LIBS"
15786 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15788 ldap_count_references \
15789 ldap_first_reference \
15790 ldap_next_reference \
15791 ldap_parse_reference \
15792 ldap_parse_sort_control \
15793 ldap_parse_sortresponse_control \
15794 ldap_parse_vlv_control \
15795 ldap_parse_vlvresponse_control
15797 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15798 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15799 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15800 cat >>confdefs.h
<<_ACEOF
15801 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15807 LIBS
="$ac_wine_check_funcs_save_LIBS"
15809 if test "x$LDAP_LIBS" = "x"; then :
15810 case "x$with_ldap" in
15811 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15813 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15814 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15820 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15821 if ${wine_cv_one_arg_mkdir+:} false
; then :
15822 $as_echo_n "(cached) " >&6
15824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15825 /* end confdefs.h. */
15826 #include <sys/stat.h>
15835 if ac_fn_c_try_compile
"$LINENO"; then :
15836 wine_cv_one_arg_mkdir
=yes
15838 wine_cv_one_arg_mkdir
=no
15840 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15843 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15844 if test "$wine_cv_one_arg_mkdir" = "yes"
15847 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15852 $as_echo_n "checking for sched_setaffinity... " >&6; }
15853 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15854 $as_echo_n "(cached) " >&6
15856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15857 /* end confdefs.h. */
15858 #define _GNU_SOURCE
15863 sched_setaffinity(0, 0, 0);
15868 if ac_fn_c_try_link
"$LINENO"; then :
15869 wine_cv_have_sched_setaffinity
=yes
15871 wine_cv_have_sched_setaffinity
=no
15873 rm -f core conftest.err conftest.
$ac_objext \
15874 conftest
$ac_exeext conftest.
$ac_ext
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15877 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15878 if test "$wine_cv_have_sched_setaffinity" = "yes"
15881 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15886 $as_echo_n "checking for fallocate... " >&6; }
15887 if ${wine_cv_have_fallocate+:} false
; then :
15888 $as_echo_n "(cached) " >&6
15890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15892 #define _GNU_SOURCE
15897 fallocate(-1, 0, 0, 0);
15902 if ac_fn_c_try_link
"$LINENO"; then :
15903 wine_cv_have_fallocate
=yes
15905 wine_cv_have_fallocate
=no
15907 rm -f core conftest.err conftest.
$ac_objext \
15908 conftest
$ac_exeext conftest.
$ac_ext
15910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15911 $as_echo "$wine_cv_have_fallocate" >&6; }
15912 if test "$wine_cv_have_fallocate" = "yes"
15915 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15921 $as_echo_n "checking for inline... " >&6; }
15922 if ${ac_cv_c_inline+:} false
; then :
15923 $as_echo_n "(cached) " >&6
15926 for ac_kw
in inline __inline__ __inline
; do
15927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15928 /* end confdefs.h. */
15929 #ifndef __cplusplus
15931 static $ac_kw foo_t static_foo () {return 0; }
15932 $ac_kw foo_t foo () {return 0; }
15936 if ac_fn_c_try_compile
"$LINENO"; then :
15937 ac_cv_c_inline
=$ac_kw
15939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15940 test "$ac_cv_c_inline" != no
&& break
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15945 $as_echo "$ac_cv_c_inline" >&6; }
15947 case $ac_cv_c_inline in
15950 case $ac_cv_c_inline in
15952 *) ac_val
=$ac_cv_c_inline;;
15954 cat >>confdefs.h
<<_ACEOF
15955 #ifndef __cplusplus
15956 #define inline $ac_val
15962 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15963 if test "x$ac_cv_type_mode_t" = xyes
; then :
15965 cat >>confdefs.h
<<_ACEOF
15966 #define HAVE_MODE_T 1
15971 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15972 if test "x$ac_cv_type_off_t" = xyes
; then :
15974 cat >>confdefs.h
<<_ACEOF
15975 #define HAVE_OFF_T 1
15980 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15981 if test "x$ac_cv_type_pid_t" = xyes
; then :
15983 cat >>confdefs.h
<<_ACEOF
15984 #define HAVE_PID_T 1
15989 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15990 if test "x$ac_cv_type_size_t" = xyes
; then :
15992 cat >>confdefs.h
<<_ACEOF
15993 #define HAVE_SIZE_T 1
15998 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15999 if test "x$ac_cv_type_ssize_t" = xyes
; then :
16001 cat >>confdefs.h
<<_ACEOF
16002 #define HAVE_SSIZE_T 1
16007 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16008 if test "x$ac_cv_type_long_long" = xyes
; then :
16010 cat >>confdefs.h
<<_ACEOF
16011 #define HAVE_LONG_LONG 1
16016 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16017 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
16019 cat >>confdefs.h
<<_ACEOF
16020 #define HAVE_FSBLKCNT_T 1
16025 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16026 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
16028 cat >>confdefs.h
<<_ACEOF
16029 #define HAVE_FSFILCNT_T 1
16035 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16036 #include <signal.h>
16038 if test "x$ac_cv_type_sigset_t" = xyes
; then :
16040 cat >>confdefs.h
<<_ACEOF
16041 #define HAVE_SIGSET_T 1
16047 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16049 if test "x$ac_cv_type_request_sense" = xyes
; then :
16051 cat >>confdefs.h
<<_ACEOF
16052 #define HAVE_REQUEST_SENSE 1
16059 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16060 #ifdef HAVE_SYS_SOCKET_H
16061 #include <sys/socket.h>
16063 #ifdef HAVE_SYS_SOCKETVAR_H
16064 #include <sys/socketvar.h>
16066 #ifdef HAVE_NET_ROUTE_H
16067 #include <net/route.h>
16069 #ifdef HAVE_NETINET_IN_H
16070 #include <netinet/in.h>
16072 #ifdef HAVE_NETINET_IN_SYSTM_H
16073 #include <netinet/in_systm.h>
16075 #ifdef HAVE_NETINET_IP_H
16076 #include <netinet/ip.h>
16078 #ifdef HAVE_NETINET_IN_PCB_H
16079 #include <netinet/in_pcb.h>
16082 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
16084 cat >>confdefs.h
<<_ACEOF
16085 #define HAVE_STRUCT_XINPGEN 1
16092 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16095 #ifdef HAVE_SYS_LINK_H
16096 #include <sys/link.h>
16099 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
16101 cat >>confdefs.h
<<_ACEOF
16102 #define HAVE_STRUCT_R_DEBUG 1
16107 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16110 #ifdef HAVE_SYS_LINK_H
16111 #include <sys/link.h>
16114 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
16116 cat >>confdefs.h
<<_ACEOF
16117 #define HAVE_STRUCT_LINK_MAP 1
16124 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16125 #include <linux/input.h>
16128 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
16130 cat >>confdefs.h
<<_ACEOF
16131 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16139 $as_echo_n "checking for sigaddset... " >&6; }
16140 if ${wine_cv_have_sigaddset+:} false
; then :
16141 $as_echo_n "(cached) " >&6
16143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16144 /* end confdefs.h. */
16145 #include <signal.h>
16149 sigset_t set; sigaddset(&set,SIGTERM);
16154 if ac_fn_c_try_link
"$LINENO"; then :
16155 wine_cv_have_sigaddset
=yes
16157 wine_cv_have_sigaddset
=no
16159 rm -f core conftest.err conftest.
$ac_objext \
16160 conftest
$ac_exeext conftest.
$ac_ext
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16163 $as_echo "$wine_cv_have_sigaddset" >&6; }
16164 if test "$wine_cv_have_sigaddset" = "yes"
16167 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16173 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16174 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
16175 $as_echo_n "(cached) " >&6
16177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16178 /* end confdefs.h. */
16186 struct hostent *result;
16193 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16194 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16200 if ac_fn_c_try_link
"$LINENO"; then :
16201 wine_cv_linux_gethostbyname_r_6
=yes
16203 wine_cv_linux_gethostbyname_r_6
=no
16206 rm -f core conftest.err conftest.
$ac_objext \
16207 conftest
$ac_exeext conftest.
$ac_ext
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16211 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16212 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16215 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16219 if test "$ac_cv_header_linux_joystick_h" = "yes"
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16222 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16223 if ${wine_cv_linux_joystick_22_api+:} false
; then :
16224 $as_echo_n "(cached) " >&6
16226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16227 /* end confdefs.h. */
16229 #include <sys/ioctl.h>
16230 #include <sys/types.h>
16231 #include <linux/joystick.h>
16233 struct js_event blub;
16234 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16235 #error "no 2.2 header"
16246 if ac_fn_c_try_compile
"$LINENO"; then :
16247 wine_cv_linux_joystick_22_api
=yes
16249 wine_cv_linux_joystick_22_api
=no
16251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16255 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16256 if test "$wine_cv_linux_joystick_22_api" = "yes"
16259 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16265 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16266 #ifdef HAVE_SYS_PARAM_H
16267 # include <sys/param.h>
16269 #ifdef HAVE_SYS_MOUNT_H
16270 # include <sys/mount.h>
16272 #ifdef HAVE_SYS_VFS_H
16273 # include <sys/vfs.h>
16275 #ifdef HAVE_SYS_STATFS_H
16276 # include <sys/statfs.h>
16279 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16281 cat >>confdefs.h
<<_ACEOF
16282 #define HAVE_STRUCT_STATFS_F_BFREE 1
16287 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16288 #ifdef HAVE_SYS_PARAM_H
16289 # include <sys/param.h>
16291 #ifdef HAVE_SYS_MOUNT_H
16292 # include <sys/mount.h>
16294 #ifdef HAVE_SYS_VFS_H
16295 # include <sys/vfs.h>
16297 #ifdef HAVE_SYS_STATFS_H
16298 # include <sys/statfs.h>
16301 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16303 cat >>confdefs.h
<<_ACEOF
16304 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16309 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16310 #ifdef HAVE_SYS_PARAM_H
16311 # include <sys/param.h>
16313 #ifdef HAVE_SYS_MOUNT_H
16314 # include <sys/mount.h>
16316 #ifdef HAVE_SYS_VFS_H
16317 # include <sys/vfs.h>
16319 #ifdef HAVE_SYS_STATFS_H
16320 # include <sys/statfs.h>
16323 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16325 cat >>confdefs.h
<<_ACEOF
16326 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16331 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16332 #ifdef HAVE_SYS_PARAM_H
16333 # include <sys/param.h>
16335 #ifdef HAVE_SYS_MOUNT_H
16336 # include <sys/mount.h>
16338 #ifdef HAVE_SYS_VFS_H
16339 # include <sys/vfs.h>
16341 #ifdef HAVE_SYS_STATFS_H
16342 # include <sys/statfs.h>
16345 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16347 cat >>confdefs.h
<<_ACEOF
16348 #define HAVE_STRUCT_STATFS_F_FFREE 1
16353 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16354 #ifdef HAVE_SYS_PARAM_H
16355 # include <sys/param.h>
16357 #ifdef HAVE_SYS_MOUNT_H
16358 # include <sys/mount.h>
16360 #ifdef HAVE_SYS_VFS_H
16361 # include <sys/vfs.h>
16363 #ifdef HAVE_SYS_STATFS_H
16364 # include <sys/statfs.h>
16367 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16369 cat >>confdefs.h
<<_ACEOF
16370 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16375 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16376 #ifdef HAVE_SYS_PARAM_H
16377 # include <sys/param.h>
16379 #ifdef HAVE_SYS_MOUNT_H
16380 # include <sys/mount.h>
16382 #ifdef HAVE_SYS_VFS_H
16383 # include <sys/vfs.h>
16385 #ifdef HAVE_SYS_STATFS_H
16386 # include <sys/statfs.h>
16389 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16391 cat >>confdefs.h
<<_ACEOF
16392 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16399 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16400 #include <sys/statvfs.h>
16403 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16405 cat >>confdefs.h
<<_ACEOF
16406 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16413 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16414 #include <dirent.h>
16417 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16419 cat >>confdefs.h
<<_ACEOF
16420 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16427 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16428 #ifdef HAVE_SYS_SOCKET_H
16429 # include <sys/socket.h>
16431 #ifdef HAVE_SYS_UN_H
16432 # include <sys/un.h>
16435 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16437 cat >>confdefs.h
<<_ACEOF
16438 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16443 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16444 #ifdef HAVE_SYS_SOCKET_H
16445 # include <sys/socket.h>
16447 #ifdef HAVE_SYS_UN_H
16448 # include <sys/un.h>
16451 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16453 cat >>confdefs.h
<<_ACEOF
16454 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16459 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16460 #ifdef HAVE_SYS_SOCKET_H
16461 # include <sys/socket.h>
16463 #ifdef HAVE_SYS_UN_H
16464 # include <sys/un.h>
16467 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16469 cat >>confdefs.h
<<_ACEOF
16470 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16477 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16478 #ifdef HAVE_SCSI_SG_H
16479 #include <scsi/sg.h>
16482 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16484 cat >>confdefs.h
<<_ACEOF
16485 #define HAVE_SCSIREQ_T_CMD 1
16490 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>
16491 #ifdef HAVE_SCSI_SG_H
16492 #include <scsi/sg.h>
16495 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16497 cat >>confdefs.h
<<_ACEOF
16498 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16505 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16507 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16509 cat >>confdefs.h
<<_ACEOF
16510 #define HAVE_SIGINFO_T_SI_FD 1
16517 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16518 #ifdef HAVE_SYS_MTIO_H
16519 #include <sys/mtio.h>
16522 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16524 cat >>confdefs.h
<<_ACEOF
16525 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16530 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16531 #ifdef HAVE_SYS_MTIO_H
16532 #include <sys/mtio.h>
16535 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16537 cat >>confdefs.h
<<_ACEOF
16538 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16543 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16544 #ifdef HAVE_SYS_MTIO_H
16545 #include <sys/mtio.h>
16548 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16550 cat >>confdefs.h
<<_ACEOF
16551 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16558 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16559 #include <getopt.h>
16562 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16564 cat >>confdefs.h
<<_ACEOF
16565 #define HAVE_STRUCT_OPTION_NAME 1
16572 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16573 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16575 cat >>confdefs.h
<<_ACEOF
16576 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16581 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16582 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16584 cat >>confdefs.h
<<_ACEOF
16585 #define HAVE_STRUCT_STAT_ST_MTIM 1
16590 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16591 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16593 cat >>confdefs.h
<<_ACEOF
16594 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16599 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16600 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16602 cat >>confdefs.h
<<_ACEOF
16603 #define HAVE_STRUCT_STAT_ST_CTIM 1
16608 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16609 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16611 cat >>confdefs.h
<<_ACEOF
16612 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16617 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16618 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16620 cat >>confdefs.h
<<_ACEOF
16621 #define HAVE_STRUCT_STAT_ST_ATIM 1
16626 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16627 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16629 cat >>confdefs.h
<<_ACEOF
16630 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16635 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16636 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16638 cat >>confdefs.h
<<_ACEOF
16639 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16644 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16645 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16647 cat >>confdefs.h
<<_ACEOF
16648 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16653 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16654 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16656 cat >>confdefs.h
<<_ACEOF
16657 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16662 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16663 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16665 cat >>confdefs.h
<<_ACEOF
16666 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16671 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16672 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16674 cat >>confdefs.h
<<_ACEOF
16675 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16682 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
16683 #include <sys/types.h>
16685 #ifdef HAVE_NETINET_IN_H
16686 #include <netinet/in.h>
16689 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16691 cat >>confdefs.h
<<_ACEOF
16692 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16699 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16700 #include <resolv.h>
16703 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16705 cat >>confdefs.h
<<_ACEOF
16706 #define HAVE_STRUCT___RES_STATE 1
16713 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
16714 #include <resolv.h>
16717 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16719 cat >>confdefs.h
<<_ACEOF
16720 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16727 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16728 #include <sys/types.h>
16730 #ifdef HAVE_NETINET_IN_H
16731 # include <netinet/in.h>
16733 #ifdef HAVE_ARPA_NAMESER_H
16734 # include <arpa/nameser.h>
16737 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16739 cat >>confdefs.h
<<_ACEOF
16740 #define HAVE_NS_MSG__MSG_PTR 1
16747 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16748 #include <sys/types.h>
16750 #ifdef HAVE_NETINET_IP_H
16751 #include <netinet/ip.h>
16753 #ifdef HAVE_NETINET_IP_ICMP_H
16754 #include <netinet/ip_icmp.h>
16756 #ifdef HAVE_NETINET_ICMP_VAR_H
16757 #include <netinet/icmp_var.h>
16760 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16762 cat >>confdefs.h
<<_ACEOF
16763 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16770 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16771 #include <sys/types.h>
16773 #ifdef HAVE_ALIAS_H
16776 #ifdef HAVE_SYS_SOCKET_H
16777 #include <sys/socket.h>
16779 #ifdef HAVE_SYS_SOCKETVAR_H
16780 #include <sys/socketvar.h>
16782 #ifdef HAVE_SYS_TIMEOUT_H
16783 #include <sys/timeout.h>
16785 #ifdef HAVE_NETINET_IN_H
16786 #include <netinet/in.h>
16788 #ifdef HAVE_NETINET_IN_SYSTM_H
16789 #include <netinet/in_systm.h>
16791 #ifdef HAVE_NETINET_IP_H
16792 #include <netinet/ip.h>
16794 #ifdef HAVE_NETINET_IP_VAR_H
16795 #include <netinet/ip_var.h>
16797 #ifdef HAVE_NETINET_IP_ICMP_H
16798 #include <netinet/ip_icmp.h>
16800 #ifdef HAVE_NETINET_ICMP_VAR_H
16801 #include <netinet/icmp_var.h>
16804 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16806 cat >>confdefs.h
<<_ACEOF
16807 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16814 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16815 #include <sys/types.h>
16817 #ifdef HAVE_SYS_SOCKETVAR_H
16818 #include <sys/socketvar.h>
16820 #ifdef HAVE_NETINET_IN_H
16821 #include <netinet/in.h>
16823 #ifdef HAVE_NETINET_IP_VAR_H
16824 #include <netinet/ip_var.h>
16827 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16829 cat >>confdefs.h
<<_ACEOF
16830 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16837 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
16838 #include <netinet/ip_var.h>
16841 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16843 cat >>confdefs.h
<<_ACEOF
16844 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16851 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16852 #include <sys/types.h>
16854 #ifdef HAVE_SYS_SOCKETVAR_H
16855 #include <sys/socketvar.h>
16857 #ifdef HAVE_NETINET_IN_H
16858 #include <netinet/in.h>
16860 #ifdef HAVE_NETINET_TCP_H
16861 #include <netinet/tcp.h>
16863 #ifdef HAVE_NETINET_TCP_VAR_H
16864 #include <netinet/tcp_var.h>
16867 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16869 cat >>confdefs.h
<<_ACEOF
16870 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16877 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
16878 #include <netinet/tcp_var.h>
16881 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16883 cat >>confdefs.h
<<_ACEOF
16884 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16891 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16892 #include <sys/types.h>
16894 #ifdef HAVE_NETINET_IN_H
16895 #include <netinet/in.h>
16897 #ifdef HAVE_NETINET_IP_VAR_H
16898 #include <netinet/ip_var.h>
16900 #ifdef HAVE_NETINET_UDP_H
16901 #include <netinet/udp.h>
16903 #ifdef HAVE_NETINET_UDP_VAR_H
16904 #include <netinet/udp_var.h>
16907 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16909 cat >>confdefs.h
<<_ACEOF
16910 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16917 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16918 #include <sys/types.h>
16920 #ifdef HAVE_NET_IF_H
16921 # include <net/if.h>
16924 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16926 cat >>confdefs.h
<<_ACEOF
16927 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16935 $as_echo_n "checking for timezone variable... " >&6; }
16936 if ${ac_cv_have_timezone+:} false
; then :
16937 $as_echo_n "(cached) " >&6
16939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16940 /* end confdefs.h. */
16950 if ac_fn_c_try_link
"$LINENO"; then :
16951 ac_cv_have_timezone
="yes"
16953 ac_cv_have_timezone
="no"
16955 rm -f core conftest.err conftest.
$ac_objext \
16956 conftest
$ac_exeext conftest.
$ac_ext
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16959 $as_echo "$ac_cv_have_timezone" >&6; }
16960 if test "$ac_cv_have_timezone" = "yes"
16963 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16967 $as_echo_n "checking for daylight variable... " >&6; }
16968 if ${ac_cv_have_daylight+:} false
; then :
16969 $as_echo_n "(cached) " >&6
16971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16972 /* end confdefs.h. */
16982 if ac_fn_c_try_link
"$LINENO"; then :
16983 ac_cv_have_daylight
="yes"
16985 ac_cv_have_daylight
="no"
16987 rm -f core conftest.err conftest.
$ac_objext \
16988 conftest
$ac_exeext conftest.
$ac_ext
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16991 $as_echo "$ac_cv_have_daylight" >&6; }
16992 if test "$ac_cv_have_daylight" = "yes"
16995 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16999 ac_save_LIBS
="$LIBS"
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17002 $as_echo_n "checking for isfinite... " >&6; }
17003 if ${ac_cv_have_isfinite+:} false
; then :
17004 $as_echo_n "(cached) " >&6
17006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17007 /* end confdefs.h. */
17008 #define _GNU_SOURCE
17013 float f = 0.0; return isfinite(f)
17018 if ac_fn_c_try_link
"$LINENO"; then :
17019 ac_cv_have_isfinite
="yes"
17021 ac_cv_have_isfinite
="no"
17023 rm -f core conftest.err conftest.
$ac_objext \
17024 conftest
$ac_exeext conftest.
$ac_ext
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17027 $as_echo "$ac_cv_have_isfinite" >&6; }
17028 if test "$ac_cv_have_isfinite" = "yes"
17031 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17036 $as_echo_n "checking for isinf... " >&6; }
17037 if ${ac_cv_have_isinf+:} false
; then :
17038 $as_echo_n "(cached) " >&6
17040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17041 /* end confdefs.h. */
17046 float f = 0.0; return isinf(f)
17051 if ac_fn_c_try_link
"$LINENO"; then :
17052 ac_cv_have_isinf
="yes"
17054 ac_cv_have_isinf
="no"
17056 rm -f core conftest.err conftest.
$ac_objext \
17057 conftest
$ac_exeext conftest.
$ac_ext
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17060 $as_echo "$ac_cv_have_isinf" >&6; }
17061 if test "$ac_cv_have_isinf" = "yes"
17064 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17069 $as_echo_n "checking for isnan... " >&6; }
17070 if ${ac_cv_have_isnan+:} false
; then :
17071 $as_echo_n "(cached) " >&6
17073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17079 float f = 0.0; return isnan(f)
17084 if ac_fn_c_try_link
"$LINENO"; then :
17085 ac_cv_have_isnan
="yes"
17087 ac_cv_have_isnan
="no"
17089 rm -f core conftest.err conftest.
$ac_objext \
17090 conftest
$ac_exeext conftest.
$ac_ext
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17093 $as_echo "$ac_cv_have_isnan" >&6; }
17094 if test "$ac_cv_have_isnan" = "yes"
17097 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17133 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17134 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17135 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17136 cat >>confdefs.h
<<_ACEOF
17137 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17143 LIBS
="$ac_save_LIBS"
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17146 $as_echo_n "checking for __builtin_clz... " >&6; }
17147 if ${ac_cv_have___builtin_clz+:} false
; then :
17148 $as_echo_n "(cached) " >&6
17150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17151 /* end confdefs.h. */
17156 return __builtin_clz(1)
17161 if ac_fn_c_try_link
"$LINENO"; then :
17162 ac_cv_have___builtin_clz
="yes"
17164 ac_cv_have___builtin_clz
="no"
17166 rm -f core conftest.err conftest.
$ac_objext \
17167 conftest
$ac_exeext conftest.
$ac_ext
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17170 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17171 if test "$ac_cv_have___builtin_clz" = "yes"
17174 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17179 $as_echo_n "checking for __builtin_popcount... " >&6; }
17180 if ${ac_cv_have___builtin_popcount+:} false
; then :
17181 $as_echo_n "(cached) " >&6
17183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17184 /* end confdefs.h. */
17189 return __builtin_popcount(1)
17194 if ac_fn_c_try_link
"$LINENO"; then :
17195 ac_cv_have___builtin_popcount
="yes"
17197 ac_cv_have___builtin_popcount
="no"
17199 rm -f core conftest.err conftest.
$ac_objext \
17200 conftest
$ac_exeext conftest.
$ac_ext
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17203 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17204 if test "$ac_cv_have___builtin_popcount" = "yes"
17207 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17213 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17214 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17215 if ${ac_cv_cpp_def___i386__+:} false
; then :
17216 $as_echo_n "(cached) " >&6
17218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17219 /* end confdefs.h. */
17224 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17225 $EGREP "yes" >/dev
/null
2>&1; then :
17226 ac_cv_cpp_def___i386__
=yes
17228 ac_cv_cpp_def___i386__
=no
17233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17234 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17235 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
17236 CFLAGS
="$CFLAGS -D__i386__"
17237 LINTFLAGS
="$LINTFLAGS -D__i386__"
17239 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17240 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17241 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
17242 $as_echo_n "(cached) " >&6
17244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17245 /* end confdefs.h. */
17250 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17251 $EGREP "yes" >/dev
/null
2>&1; then :
17252 ac_cv_cpp_def___x86_64__
=yes
17254 ac_cv_cpp_def___x86_64__
=no
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17260 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17261 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
17262 CFLAGS
="$CFLAGS -D__x86_64__"
17263 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
17265 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17266 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17267 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
17268 $as_echo_n "(cached) " >&6
17270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17271 /* end confdefs.h. */
17272 #ifndef __sparc64__
17276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17277 $EGREP "yes" >/dev
/null
2>&1; then :
17278 ac_cv_cpp_def___sparc64__
=yes
17280 ac_cv_cpp_def___sparc64__
=no
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17286 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17287 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
17288 CFLAGS
="$CFLAGS -D__sparc64__"
17289 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
17291 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17292 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17293 if ${ac_cv_cpp_def___sparc__+:} false
; then :
17294 $as_echo_n "(cached) " >&6
17296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17297 /* end confdefs.h. */
17302 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17303 $EGREP "yes" >/dev
/null
2>&1; then :
17304 ac_cv_cpp_def___sparc__
=yes
17306 ac_cv_cpp_def___sparc__
=no
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17312 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17313 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
17314 CFLAGS
="$CFLAGS -D__sparc__"
17315 LINTFLAGS
="$LINTFLAGS -D__sparc__"
17317 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17318 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17319 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
17320 $as_echo_n "(cached) " >&6
17322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17323 /* end confdefs.h. */
17324 #ifndef __powerpc64__
17328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17329 $EGREP "yes" >/dev
/null
2>&1; then :
17330 ac_cv_cpp_def___powerpc64__
=yes
17332 ac_cv_cpp_def___powerpc64__
=no
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17338 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17339 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
17340 CFLAGS
="$CFLAGS -D__powerpc64__"
17341 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
17343 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17344 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17345 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
17346 $as_echo_n "(cached) " >&6
17348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17349 /* end confdefs.h. */
17350 #ifndef __powerpc__
17354 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17355 $EGREP "yes" >/dev
/null
2>&1; then :
17356 ac_cv_cpp_def___powerpc__
=yes
17358 ac_cv_cpp_def___powerpc__
=no
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17364 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17365 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
17366 CFLAGS
="$CFLAGS -D__powerpc__"
17367 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
17369 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17370 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17371 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
17372 $as_echo_n "(cached) " >&6
17374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17375 /* end confdefs.h. */
17376 #ifndef __aarch64__
17380 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17381 $EGREP "yes" >/dev
/null
2>&1; then :
17382 ac_cv_cpp_def___aarch64__
=yes
17384 ac_cv_cpp_def___aarch64__
=no
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17390 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17391 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17392 CFLAGS
="$CFLAGS -D__aarch64__"
17393 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17395 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17396 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17397 if ${ac_cv_cpp_def___arm__+:} false
; then :
17398 $as_echo_n "(cached) " >&6
17400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17401 /* end confdefs.h. */
17406 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17407 $EGREP "yes" >/dev
/null
2>&1; then :
17408 ac_cv_cpp_def___arm__
=yes
17410 ac_cv_cpp_def___arm__
=no
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17416 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17417 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17418 CFLAGS
="$CFLAGS -D__arm__"
17419 LINTFLAGS
="$LINTFLAGS -D__arm__"
17423 case $host_vendor in
17424 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17425 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17426 if ${ac_cv_cpp_def___sun__+:} false
; then :
17427 $as_echo_n "(cached) " >&6
17429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17430 /* end confdefs.h. */
17435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17436 $EGREP "yes" >/dev
/null
2>&1; then :
17437 ac_cv_cpp_def___sun__
=yes
17439 ac_cv_cpp_def___sun__
=no
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17445 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17446 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17447 CFLAGS
="$CFLAGS -D__sun__"
17448 LINTFLAGS
="$LINTFLAGS -D__sun__"
17456 ac_config_commands
="$ac_config_commands include/stamp-h"
17458 $as_echo_n "creating Makefile rules..." >&6
17460 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17461 SOCKET_LIBS = $SOCKET_LIBS
17462 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17463 IOKIT_LIBS = $IOKIT_LIBS
17464 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17465 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17466 CORESERVICES_LIBS = $CORESERVICES_LIBS
17467 APPKIT_LIBS = $APPKIT_LIBS
17468 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17469 SECURITY_LIBS = $SECURITY_LIBS
17470 COREAUDIO_LIBS = $COREAUDIO_LIBS
17471 OPENAL_LIBS = $OPENAL_LIBS
17472 OPENCL_LIBS = $OPENCL_LIBS
17473 QUICKTIME_LIBS = $QUICKTIME_LIBS
17474 CARBON_LIBS = $CARBON_LIBS
17475 PTHREAD_LIBS = $PTHREAD_LIBS
17476 X_CFLAGS = $X_CFLAGS
17477 X_PRE_LIBS = $X_PRE_LIBS
17479 X_EXTRA_LIBS = $X_EXTRA_LIBS
17480 PCAP_LIBS = $PCAP_LIBS
17481 XML2_CFLAGS = $XML2_CFLAGS
17482 XML2_LIBS = $XML2_LIBS
17483 XSLT_CFLAGS = $XSLT_CFLAGS
17484 XSLT_LIBS = $XSLT_LIBS
17485 DBUS_CFLAGS = $DBUS_CFLAGS
17486 DBUS_LIBS = $DBUS_LIBS
17487 HAL_CFLAGS = $HAL_CFLAGS
17488 HAL_LIBS = $HAL_LIBS
17489 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17490 GNUTLS_LIBS = $GNUTLS_LIBS
17491 SANE_CFLAGS = $SANE_CFLAGS
17492 SANE_LIBS = $SANE_LIBS
17493 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17494 GPHOTO2_LIBS = $GPHOTO2_LIBS
17495 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17496 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17497 RESOLV_LIBS = $RESOLV_LIBS
17498 LCMS2_CFLAGS = $LCMS2_CFLAGS
17499 LCMS2_LIBS = $LCMS2_LIBS
17500 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17501 FREETYPE_LIBS = $FREETYPE_LIBS
17503 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17504 PULSE_CFLAGS = $PULSE_CFLAGS
17505 PULSE_LIBS = $PULSE_LIBS
17506 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17507 GSTREAMER_LIBS = $GSTREAMER_LIBS
17508 ALSA_LIBS = $ALSA_LIBS
17509 OSS4_CFLAGS = $OSS4_CFLAGS
17510 UDEV_CFLAGS = $UDEV_CFLAGS
17511 UDEV_LIBS = $UDEV_LIBS
17512 CAPI20_CFLAGS = $CAPI20_CFLAGS
17513 CAPI20_LIBS = $CAPI20_LIBS
17514 CUPS_CFLAGS = $CUPS_CFLAGS
17515 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17516 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17517 JPEG_CFLAGS = $JPEG_CFLAGS
17518 JPEG_LIBS = $JPEG_LIBS
17519 PNG_CFLAGS = $PNG_CFLAGS
17520 PNG_LIBS = $PNG_LIBS
17521 TIFF_CFLAGS = $TIFF_CFLAGS
17522 TIFF_LIBS = $TIFF_LIBS
17523 MPG123_CFLAGS = $MPG123_CFLAGS
17524 MPG123_LIBS = $MPG123_LIBS
17525 KSTAT_LIBS = $KSTAT_LIBS
17526 PROCSTAT_LIBS = $PROCSTAT_LIBS
17527 NETAPI_CFLAGS = $NETAPI_CFLAGS
17528 NETAPI_LIBS = $NETAPI_LIBS
17529 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17531 POLL_LIBS = $POLL_LIBS
17533 LDAP_LIBS = $LDAP_LIBS
17538 wine_fn_append_rule
"
17539 # Rules automatically generated by configure
17541 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17546 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17547 @./config.status Make.tmp Makefile
17548 depend: \$(MAKEDEP) dummy
17551 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17552 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17554 if test "x$enable_fonts" != xno
; then
17555 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17556 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17557 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17558 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17559 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17560 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17562 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17563 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17564 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17565 wine_fn_config_symlink wine
17566 if test "x$enable_win64" != xno
; then
17567 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17568 wine_fn_config_symlink wine64
17571 wine_fn_config_dll acledit enable_acledit
17572 wine_fn_config_dll aclui enable_aclui implib
17573 wine_fn_config_dll activeds enable_activeds implib
17574 wine_fn_config_dll actxprxy enable_actxprxy clean
17575 wine_fn_config_lib adsiid
17576 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17577 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17578 wine_fn_config_dll advpack enable_advpack implib
17579 wine_fn_config_test dlls
/advpack
/tests advpack_test
17580 wine_fn_config_dll amstream enable_amstream clean
17581 wine_fn_config_test dlls
/amstream
/tests amstream_test
17582 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17583 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17584 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17585 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17586 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17587 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17588 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17590 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17591 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17592 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17594 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17595 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17596 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17597 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17598 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17599 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17600 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17601 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17602 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17603 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17604 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17605 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17606 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17607 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17608 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17609 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17610 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17611 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17613 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17614 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17616 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17618 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17620 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17621 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17622 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17623 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17624 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17625 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17626 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17627 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17628 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17629 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17630 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17631 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17634 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17635 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17636 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17639 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17643 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17645 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17646 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17647 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17648 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17649 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17651 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17656 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17661 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17663 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17665 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17667 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17668 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17669 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17670 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17671 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17672 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17673 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17674 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17675 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17676 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17677 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17678 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17679 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17680 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17681 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17682 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17683 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17684 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17685 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17686 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17687 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17688 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17689 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17690 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17691 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17692 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17693 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17694 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17695 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17696 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17697 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17698 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17699 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17700 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17701 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17702 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17703 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17704 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17705 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17706 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17707 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17708 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17709 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17710 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17711 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17712 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17713 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17714 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17715 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17716 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17717 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17718 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17719 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17720 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17721 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17722 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17723 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17724 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17725 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17726 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17727 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17728 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17729 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17730 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17731 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17732 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17733 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17734 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17735 wine_fn_config_dll apphelp enable_apphelp
17736 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17737 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17738 wine_fn_config_dll atl enable_atl clean
,implib
17739 wine_fn_config_test dlls
/atl
/tests atl_test
17740 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17741 wine_fn_config_test dlls
/atl100
/tests atl100_test
17742 wine_fn_config_dll atl110 enable_atl110 clean
17743 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17744 wine_fn_config_test dlls
/atl80
/tests atl80_test
17745 wine_fn_config_dll atl90 enable_atl90 clean
17746 wine_fn_config_dll authz enable_authz
17747 wine_fn_config_dll avicap32 enable_avicap32 implib
17748 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
17749 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17750 wine_fn_config_dll avifile.dll16 enable_win16
17751 wine_fn_config_dll avrt enable_avrt implib
17752 wine_fn_config_dll bcrypt enable_bcrypt implib
17753 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17754 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17755 wine_fn_config_dll browseui enable_browseui clean
17756 wine_fn_config_test dlls
/browseui
/tests browseui_test
17757 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17758 wine_fn_config_dll cabinet enable_cabinet implib
17759 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17760 wine_fn_config_dll capi2032 enable_capi2032 implib
17761 wine_fn_config_dll cards enable_cards implib
17762 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17763 wine_fn_config_dll clusapi enable_clusapi implib
17764 wine_fn_config_dll combase enable_combase
17765 wine_fn_config_test dlls
/combase
/tests combase_test
17766 wine_fn_config_dll comcat enable_comcat
17767 wine_fn_config_test dlls
/comcat
/tests comcat_test
17768 wine_fn_config_dll comctl32 enable_comctl32 clean
,implib
17769 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17770 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
17771 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17772 wine_fn_config_dll
comm.drv16 enable_win16
17773 wine_fn_config_dll commdlg.dll16 enable_win16
17774 wine_fn_config_dll compobj.dll16 enable_win16
17775 wine_fn_config_dll compstui enable_compstui implib
17776 wine_fn_config_dll comsvcs enable_comsvcs implib
17777 wine_fn_config_dll concrt140 enable_concrt140
17778 wine_fn_config_dll connect enable_connect
17779 wine_fn_config_dll credui enable_credui clean
,implib
17780 wine_fn_config_test dlls
/credui
/tests credui_test
17781 wine_fn_config_dll crtdll enable_crtdll
17782 wine_fn_config_dll crypt32 enable_crypt32 clean
,implib
17783 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17784 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17785 wine_fn_config_dll cryptdll enable_cryptdll implib
17786 wine_fn_config_dll cryptext enable_cryptext
17787 wine_fn_config_dll cryptnet enable_cryptnet implib
17788 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17789 wine_fn_config_dll cryptui enable_cryptui clean
,implib
17790 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17791 wine_fn_config_dll ctapi32 enable_ctapi32
17792 wine_fn_config_dll ctl3d.dll16 enable_win16
17793 wine_fn_config_dll ctl3d32 enable_ctl3d32
17794 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17795 wine_fn_config_dll d2d1 enable_d2d1 implib
17796 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17797 wine_fn_config_dll d3d10 enable_d3d10 implib
17798 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17799 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17800 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
17801 wine_fn_config_dll d3d10core enable_d3d10core implib
17802 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17803 wine_fn_config_dll d3d11 enable_d3d11 implib
17804 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17805 wine_fn_config_dll d3d8 enable_d3d8 implib
17806 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17807 wine_fn_config_dll d3d9 enable_d3d9 implib
17808 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17809 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17810 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17811 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17812 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17813 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17814 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17815 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17816 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17817 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17818 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17819 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17820 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17821 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17822 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17823 wine_fn_config_dll d3dim enable_d3dim
17824 wine_fn_config_dll d3drm enable_d3drm implib
17825 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17826 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17827 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17828 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17829 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17830 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17831 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17832 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17833 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17834 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17835 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17836 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17837 wine_fn_config_test dlls
/d3dx10_43
/tests d3dx10_43_test
17838 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17839 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17840 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17841 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17842 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17843 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17844 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17845 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17846 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17847 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17848 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17849 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17850 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17851 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17852 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17853 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17854 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17855 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17856 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17857 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17858 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17859 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17860 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17861 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17862 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17863 wine_fn_config_dll davclnt enable_davclnt
17864 wine_fn_config_dll dbgeng enable_dbgeng implib
17865 wine_fn_config_dll dbghelp enable_dbghelp implib
17866 wine_fn_config_dll dciman32 enable_dciman32 implib
17867 wine_fn_config_dll ddeml.dll16 enable_win16
17868 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17869 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17870 wine_fn_config_dll ddrawex enable_ddrawex clean
17871 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17872 wine_fn_config_dll devenum enable_devenum clean
17873 wine_fn_config_test dlls
/devenum
/tests devenum_test
17874 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17875 wine_fn_config_dll difxapi enable_difxapi
17876 wine_fn_config_dll dinput enable_dinput clean
,implib
,staticimplib
17877 wine_fn_config_test dlls
/dinput
/tests dinput_test
17878 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17879 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17880 wine_fn_config_dll dispdib.dll16 enable_win16
17881 wine_fn_config_dll dispex enable_dispex clean
17882 wine_fn_config_test dlls
/dispex
/tests dispex_test
17883 wine_fn_config_dll display.drv16 enable_win16
17884 wine_fn_config_dll dmband enable_dmband clean
17885 wine_fn_config_test dlls
/dmband
/tests dmband_test
17886 wine_fn_config_dll dmcompos enable_dmcompos clean
17887 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17888 wine_fn_config_dll dmime enable_dmime clean
17889 wine_fn_config_test dlls
/dmime
/tests dmime_test
17890 wine_fn_config_dll dmloader enable_dmloader clean
17891 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17892 wine_fn_config_dll dmscript enable_dmscript clean
17893 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17894 wine_fn_config_dll dmstyle enable_dmstyle clean
17895 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17896 wine_fn_config_dll dmsynth enable_dmsynth clean
17897 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17898 wine_fn_config_dll dmusic enable_dmusic clean
17899 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17900 wine_fn_config_dll dmusic32 enable_dmusic32
17901 wine_fn_config_dll dnsapi enable_dnsapi implib
17902 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17903 wine_fn_config_dll dplay enable_dplay
17904 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17905 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17906 wine_fn_config_dll dpnaddr enable_dpnaddr
17907 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17908 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17909 wine_fn_config_dll dpnhpast enable_dpnhpast
17910 wine_fn_config_dll dpnlobby enable_dpnlobby
17911 wine_fn_config_dll dpvoice enable_dpvoice clean
17912 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17913 wine_fn_config_dll dpwsockx enable_dpwsockx
17914 wine_fn_config_dll drmclien enable_drmclien
17915 wine_fn_config_dll dsound enable_dsound clean
,implib
17916 wine_fn_config_test dlls
/dsound
/tests dsound_test
17917 wine_fn_config_dll dssenh enable_dssenh
17918 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17919 wine_fn_config_dll dswave enable_dswave clean
17920 wine_fn_config_test dlls
/dswave
/tests dswave_test
17921 wine_fn_config_dll dwmapi enable_dwmapi implib
17922 wine_fn_config_dll dwrite enable_dwrite implib
17923 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17924 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17925 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17926 wine_fn_config_lib dxerr8
17927 wine_fn_config_lib dxerr9
17928 wine_fn_config_dll dxgi enable_dxgi implib
17929 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17930 wine_fn_config_lib dxguid
17931 wine_fn_config_dll dxva2 enable_dxva2
17932 wine_fn_config_dll esent enable_esent
17933 wine_fn_config_dll evr enable_evr
17934 wine_fn_config_dll explorerframe enable_explorerframe clean
17935 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17936 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
17937 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
17938 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17939 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
17940 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
17941 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17942 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
17943 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
17944 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
17945 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
17946 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
17947 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
17948 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
17949 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
17950 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
17951 wine_fn_config_dll faultrep enable_faultrep implib
17952 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17953 wine_fn_config_dll fltlib enable_fltlib
17954 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17955 wine_fn_config_dll fntcache enable_fntcache
17956 wine_fn_config_dll fontsub enable_fontsub
17957 wine_fn_config_dll fusion enable_fusion
17958 wine_fn_config_test dlls
/fusion
/tests fusion_test
17959 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17960 wine_fn_config_dll gameux enable_gameux clean
17961 wine_fn_config_test dlls
/gameux
/tests gameux_test
17962 wine_fn_config_dll gdi.exe16 enable_win16
17963 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
17964 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17965 wine_fn_config_dll gdiplus enable_gdiplus implib
17966 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17967 wine_fn_config_dll glu32 enable_glu32 implib
17968 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17969 wine_fn_config_dll gpkcsp enable_gpkcsp
17970 wine_fn_config_dll hal enable_hal
17971 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib htmlhelp
17972 wine_fn_config_dll hid enable_hid implib
17973 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17974 wine_fn_config_dll hlink enable_hlink clean
,implib
17975 wine_fn_config_test dlls
/hlink
/tests hlink_test
17976 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17977 wine_fn_config_test dlls
/hnetcfg
/tests hnetcfg_test
17978 wine_fn_config_dll httpapi enable_httpapi
17979 wine_fn_config_dll iccvid enable_iccvid clean
17980 wine_fn_config_dll icmp enable_icmp
17981 wine_fn_config_dll ieframe enable_ieframe clean
,implib
17982 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17983 wine_fn_config_dll ifsmgr.vxd enable_win16
17984 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17985 wine_fn_config_dll imagehlp enable_imagehlp implib
17986 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17987 wine_fn_config_dll imm.dll16 enable_win16
17988 wine_fn_config_dll imm32 enable_imm32 implib
17989 wine_fn_config_test dlls
/imm32
/tests imm32_test
17990 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17991 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17992 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17993 wine_fn_config_dll inetmib1 enable_inetmib1
17994 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17995 wine_fn_config_dll infosoft enable_infosoft clean
17996 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17997 wine_fn_config_dll initpki enable_initpki
17998 wine_fn_config_dll inkobj enable_inkobj
17999 wine_fn_config_dll inseng enable_inseng clean
18000 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18001 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
18002 wine_fn_config_dll iprop enable_iprop
18003 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18004 wine_fn_config_dll itircl enable_itircl
18005 wine_fn_config_dll itss enable_itss clean
18006 wine_fn_config_test dlls
/itss
/tests itss_test
18007 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18008 wine_fn_config_dll jscript enable_jscript clean
18009 wine_fn_config_test dlls
/jscript
/tests jscript_test
18010 wine_fn_config_dll jsproxy enable_jsproxy implib
18011 wine_fn_config_test dlls
/jsproxy
/tests jsproxy_test
18012 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
18013 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
18014 wine_fn_config_dll kernelbase enable_kernelbase
18015 wine_fn_config_dll keyboard.drv16 enable_win16
18016 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18017 wine_fn_config_dll ksuser enable_ksuser
18018 wine_fn_config_dll ktmw32 enable_ktmw32
18019 wine_fn_config_dll loadperf enable_loadperf implib
18020 wine_fn_config_dll localspl enable_localspl clean
18021 wine_fn_config_test dlls
/localspl
/tests localspl_test
18022 wine_fn_config_dll localui enable_localui clean
18023 wine_fn_config_test dlls
/localui
/tests localui_test
18024 wine_fn_config_dll lz32 enable_lz32 implib
18025 wine_fn_config_test dlls
/lz32
/tests lz32_test
18026 wine_fn_config_dll lzexpand.dll16 enable_win16
18027 wine_fn_config_dll mapi32 enable_mapi32 clean
,implib
18028 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
18029 wine_fn_config_dll mapistub enable_mapistub
18030 wine_fn_config_dll mciavi32 enable_mciavi32
18031 wine_fn_config_dll mcicda enable_mcicda
18032 wine_fn_config_dll mciqtz32 enable_mciqtz32
18033 wine_fn_config_dll mciseq enable_mciseq
18034 wine_fn_config_dll mciwave enable_mciwave
18035 wine_fn_config_dll mf enable_mf
18036 wine_fn_config_dll mfplat enable_mfplat
18037 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18038 wine_fn_config_dll mgmtapi enable_mgmtapi
18039 wine_fn_config_dll midimap enable_midimap
18040 wine_fn_config_dll mlang enable_mlang clean
,implib
18041 wine_fn_config_test dlls
/mlang
/tests mlang_test
18042 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18043 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
18044 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18045 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
18046 wine_fn_config_dll mmdevldr.vxd enable_win16
18047 wine_fn_config_dll mmsystem.dll16 enable_win16
18048 wine_fn_config_dll monodebg.vxd enable_win16
18049 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18050 wine_fn_config_dll mouse.drv16 enable_win16
18051 wine_fn_config_dll mpr enable_mpr clean
,implib
18052 wine_fn_config_test dlls
/mpr
/tests mpr_test
18053 wine_fn_config_dll mprapi enable_mprapi implib
18054 wine_fn_config_dll msacm.dll16 enable_win16
18055 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18056 wine_fn_config_dll msacm32 enable_msacm32 clean
,implib
18057 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
18058 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18059 wine_fn_config_dll msasn1 enable_msasn1 implib
18060 wine_fn_config_dll mscat32 enable_mscat32
18061 wine_fn_config_dll mscms enable_mscms implib
18062 wine_fn_config_test dlls
/mscms
/tests mscms_test
18063 wine_fn_config_dll mscoree enable_mscoree clean
18064 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
18065 wine_fn_config_dll msctf enable_msctf clean
18066 wine_fn_config_test dlls
/msctf
/tests msctf_test
18067 wine_fn_config_dll msctfp enable_msctfp clean
18068 wine_fn_config_dll msdaps enable_msdaps clean
18069 wine_fn_config_dll msdelta enable_msdelta
18070 wine_fn_config_dll msdmo enable_msdmo implib
18071 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
18072 wine_fn_config_dll msdrm enable_msdrm
18073 wine_fn_config_dll msftedit enable_msftedit
18074 wine_fn_config_dll msg711.acm enable_msg711_acm
18075 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18076 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18077 wine_fn_config_dll mshtml enable_mshtml clean
,implib
18078 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
18079 wine_fn_config_dll msi enable_msi clean
,implib
18080 wine_fn_config_test dlls
/msi
/tests msi_test
18081 wine_fn_config_dll msident enable_msident clean
18082 wine_fn_config_dll msimg32 enable_msimg32 implib
18083 wine_fn_config_dll msimsg enable_msimsg
18084 wine_fn_config_dll msimtf enable_msimtf clean
18085 wine_fn_config_dll msisip enable_msisip
18086 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18087 wine_fn_config_dll msls31 enable_msls31
18088 wine_fn_config_dll msnet32 enable_msnet32
18089 wine_fn_config_dll mspatcha enable_mspatcha implib
18090 wine_fn_config_dll msports enable_msports
18091 wine_fn_config_dll msrle32 enable_msrle32 clean
18092 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
18093 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18094 wine_fn_config_test dlls
/msscript.ocx
/tests msscript.ocx_test clean
18095 wine_fn_config_dll mssign32 enable_mssign32
18096 wine_fn_config_dll mssip32 enable_mssip32
18097 wine_fn_config_dll mstask enable_mstask clean
18098 wine_fn_config_test dlls
/mstask
/tests mstask_test
18099 wine_fn_config_dll msvcirt enable_msvcirt
18100 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
18101 wine_fn_config_dll msvcm80 enable_msvcm80
18102 wine_fn_config_dll msvcm90 enable_msvcm90
18103 wine_fn_config_dll msvcp100 enable_msvcp100
18104 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
18105 wine_fn_config_dll msvcp110 enable_msvcp110
18106 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
18107 wine_fn_config_dll msvcp120 enable_msvcp120
18108 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
18109 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18110 wine_fn_config_dll msvcp140 enable_msvcp140
18111 wine_fn_config_test dlls
/msvcp140
/tests msvcp140_test
18112 wine_fn_config_dll msvcp60 enable_msvcp60
18113 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
18114 wine_fn_config_dll msvcp70 enable_msvcp70
18115 wine_fn_config_dll msvcp71 enable_msvcp71
18116 wine_fn_config_dll msvcp80 enable_msvcp80
18117 wine_fn_config_dll msvcp90 enable_msvcp90
18118 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
18119 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18120 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
18121 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18122 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18123 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
18124 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18125 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18126 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18127 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18128 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18129 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
18130 wine_fn_config_dll msvcrt enable_msvcrt implib
18131 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
18132 wine_fn_config_dll msvcrt20 enable_msvcrt20
18133 wine_fn_config_dll msvcrt40 enable_msvcrt40
18134 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18135 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
18136 wine_fn_config_dll msvfw32 enable_msvfw32 clean
,implib
18137 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
18138 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18139 wine_fn_config_dll msvideo.dll16 enable_win16
18140 wine_fn_config_dll mswsock enable_mswsock implib
18141 wine_fn_config_dll msxml enable_msxml clean
18142 wine_fn_config_dll msxml2 enable_msxml2 clean
18143 wine_fn_config_dll msxml3 enable_msxml3 clean
18144 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
18145 wine_fn_config_dll msxml4 enable_msxml4 clean
18146 wine_fn_config_dll msxml6 enable_msxml6 clean
18147 wine_fn_config_dll ncrypt enable_ncrypt
18148 wine_fn_config_dll nddeapi enable_nddeapi implib
18149 wine_fn_config_dll ndis.sys enable_ndis_sys
18150 wine_fn_config_dll netapi32 enable_netapi32 implib
18151 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
18152 wine_fn_config_dll netcfgx enable_netcfgx clean
18153 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
18154 wine_fn_config_dll netprofm enable_netprofm clean
18155 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
18156 wine_fn_config_dll newdev enable_newdev implib
18157 wine_fn_config_dll normaliz enable_normaliz implib
18158 wine_fn_config_dll npmshtml enable_npmshtml
18159 wine_fn_config_dll npptools enable_npptools
18160 wine_fn_config_dll ntdll enable_ntdll implib
18161 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
18162 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18163 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
18164 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18165 wine_fn_config_dll ntprint enable_ntprint
18166 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
18167 wine_fn_config_dll objsel enable_objsel clean
18168 wine_fn_config_dll odbc32 enable_odbc32 implib
18169 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18170 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
18171 wine_fn_config_dll odbccu32 enable_odbccu32
18172 wine_fn_config_dll ole2.dll16 enable_win16
18173 wine_fn_config_dll ole2conv.dll16 enable_win16
18174 wine_fn_config_dll ole2disp.dll16 enable_win16
18175 wine_fn_config_dll ole2nls.dll16 enable_win16
18176 wine_fn_config_dll ole2prox.dll16 enable_win16
18177 wine_fn_config_dll ole2thk.dll16 enable_win16
18178 wine_fn_config_dll ole32 enable_ole32 clean
,implib
18179 wine_fn_config_test dlls
/ole32
/tests ole32_test
18180 wine_fn_config_dll oleacc enable_oleacc clean
,implib
18181 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
18182 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
18183 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
18184 wine_fn_config_dll olecli.dll16 enable_win16
18185 wine_fn_config_dll olecli32 enable_olecli32 implib
18186 wine_fn_config_dll oledb32 enable_oledb32 clean
18187 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
18188 wine_fn_config_dll oledlg enable_oledlg clean
,implib
18189 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
18190 wine_fn_config_dll olepro32 enable_olepro32 clean
,implib
18191 wine_fn_config_dll olesvr.dll16 enable_win16
18192 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18193 wine_fn_config_dll olethk32 enable_olethk32
18194 wine_fn_config_dll openal32 enable_openal32
18195 wine_fn_config_dll opencl enable_opencl
18196 wine_fn_config_dll opengl32 enable_opengl32 implib
18197 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
18198 wine_fn_config_dll packager enable_packager clean
18199 wine_fn_config_test dlls
/packager
/tests packager_test
18200 wine_fn_config_dll pdh enable_pdh implib
18201 wine_fn_config_test dlls
/pdh
/tests pdh_test
18202 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18203 wine_fn_config_dll pidgen enable_pidgen
18204 wine_fn_config_dll powrprof enable_powrprof implib
18205 wine_fn_config_dll printui enable_printui
18206 wine_fn_config_dll prntvpt enable_prntvpt
18207 wine_fn_config_dll propsys enable_propsys clean
,implib
18208 wine_fn_config_test dlls
/propsys
/tests propsys_test
18209 wine_fn_config_dll psapi enable_psapi implib
18210 wine_fn_config_test dlls
/psapi
/tests psapi_test
18211 wine_fn_config_dll pstorec enable_pstorec clean
18212 wine_fn_config_dll qcap enable_qcap
18213 wine_fn_config_test dlls
/qcap
/tests qcap_test
18214 wine_fn_config_dll qedit enable_qedit clean
18215 wine_fn_config_test dlls
/qedit
/tests qedit_test
18216 wine_fn_config_dll qmgr enable_qmgr clean
18217 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
18218 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18219 wine_fn_config_dll quartz enable_quartz clean
,implib
18220 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
18221 wine_fn_config_dll query enable_query
18222 wine_fn_config_dll rasapi16.dll16 enable_win16
18223 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18224 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
18225 wine_fn_config_dll rasdlg enable_rasdlg implib
18226 wine_fn_config_dll regapi enable_regapi
18227 wine_fn_config_dll resutils enable_resutils implib
18228 wine_fn_config_dll riched20 enable_riched20 clean
,implib
18229 wine_fn_config_test dlls
/riched20
/tests riched20_test
18230 wine_fn_config_dll riched32 enable_riched32
18231 wine_fn_config_test dlls
/riched32
/tests riched32_test
18232 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
18233 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
18234 wine_fn_config_dll rsabase enable_rsabase
18235 wine_fn_config_dll rsaenh enable_rsaenh implib
18236 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
18237 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18238 wine_fn_config_dll rtutils enable_rtutils implib
18239 wine_fn_config_dll samlib enable_samlib
18240 wine_fn_config_dll sane.ds enable_sane_ds clean
18241 wine_fn_config_dll scarddlg enable_scarddlg
18242 wine_fn_config_dll sccbase enable_sccbase
18243 wine_fn_config_dll schannel enable_schannel
18244 wine_fn_config_test dlls
/schannel
/tests schannel_test
18245 wine_fn_config_dll schedsvc enable_schedsvc clean
18246 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
18247 wine_fn_config_dll scrrun enable_scrrun clean
18248 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
18249 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18250 wine_fn_config_dll secur32 enable_secur32 implib
18251 wine_fn_config_test dlls
/secur32
/tests secur32_test
18252 wine_fn_config_dll security enable_security
18253 wine_fn_config_dll sensapi enable_sensapi implib
18254 wine_fn_config_dll serialui enable_serialui clean
18255 wine_fn_config_test dlls
/serialui
/tests serialui_test
18256 wine_fn_config_dll setupapi enable_setupapi clean
,implib
18257 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
18258 wine_fn_config_dll setupx.dll16 enable_win16
18259 wine_fn_config_dll sfc enable_sfc implib
18260 wine_fn_config_dll sfc_os enable_sfc_os implib
18261 wine_fn_config_dll shdoclc enable_shdoclc clean
18262 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
18263 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
18264 wine_fn_config_dll shell.dll16 enable_win16
18265 wine_fn_config_dll shell32 enable_shell32 clean
,implib
18266 wine_fn_config_test dlls
/shell32
/tests shell32_test
18267 wine_fn_config_dll shfolder enable_shfolder implib
18268 wine_fn_config_dll shlwapi enable_shlwapi clean
,implib
18269 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
18270 wine_fn_config_dll slbcsp enable_slbcsp
18271 wine_fn_config_dll slc enable_slc implib
18272 wine_fn_config_test dlls
/slc
/tests slc_test
18273 wine_fn_config_dll snmpapi enable_snmpapi implib
18274 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
18275 wine_fn_config_dll softpub enable_softpub
18276 wine_fn_config_dll sound.drv16 enable_win16
18277 wine_fn_config_dll spoolss enable_spoolss implib
18278 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
18279 wine_fn_config_dll sspicli enable_sspicli
18280 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18281 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18282 wine_fn_config_dll sti enable_sti clean
,implib
18283 wine_fn_config_test dlls
/sti
/tests sti_test
18284 wine_fn_config_dll storage.dll16 enable_win16
18285 wine_fn_config_dll stress.dll16 enable_win16
18286 wine_fn_config_lib strmbase
18287 wine_fn_config_lib strmiids
18288 wine_fn_config_dll svrapi enable_svrapi
18289 wine_fn_config_dll sxs enable_sxs implib
18290 wine_fn_config_test dlls
/sxs
/tests sxs_test
18291 wine_fn_config_dll system.drv16 enable_win16
18292 wine_fn_config_dll t2embed enable_t2embed implib
18293 wine_fn_config_test dlls
/t2embed
/tests t2embed_test
18294 wine_fn_config_dll tapi32 enable_tapi32 implib
18295 wine_fn_config_dll taskschd enable_taskschd clean
18296 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
18297 wine_fn_config_dll tdi.sys enable_tdi_sys
18298 wine_fn_config_dll toolhelp.dll16 enable_win16
18299 wine_fn_config_dll traffic enable_traffic
18300 wine_fn_config_dll twain.dll16 enable_win16
18301 wine_fn_config_dll twain_32 enable_twain_32
18302 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
18303 wine_fn_config_dll typelib.dll16 enable_win16
18304 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18305 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
18306 wine_fn_config_dll unicows enable_unicows implib
18307 wine_fn_config_dll updspapi enable_updspapi
18308 wine_fn_config_dll url enable_url implib
18309 wine_fn_config_dll urlmon enable_urlmon clean
,implib
18310 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
18311 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18312 wine_fn_config_dll user.exe16 enable_win16
18313 wine_fn_config_dll user32 enable_user32 clean
,implib
18314 wine_fn_config_test dlls
/user32
/tests user32_test
18315 wine_fn_config_dll userenv enable_userenv implib
18316 wine_fn_config_test dlls
/userenv
/tests userenv_test
18317 wine_fn_config_dll usp10 enable_usp10 implib
18318 wine_fn_config_test dlls
/usp10
/tests usp10_test
18319 wine_fn_config_lib uuid
18320 wine_fn_config_dll uxtheme enable_uxtheme implib
18321 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
18322 wine_fn_config_dll vbscript enable_vbscript clean
18323 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
18324 wine_fn_config_dll vcomp enable_vcomp
18325 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
18326 wine_fn_config_dll vcomp100 enable_vcomp100
18327 wine_fn_config_dll vcomp110 enable_vcomp110
18328 wine_fn_config_dll vcomp120 enable_vcomp120
18329 wine_fn_config_dll vcomp140 enable_vcomp140
18330 wine_fn_config_dll vcomp90 enable_vcomp90
18331 wine_fn_config_dll vcruntime140 enable_vcruntime140
18332 wine_fn_config_dll vdhcp.vxd enable_win16
18333 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18334 wine_fn_config_dll ver.dll16 enable_win16
18335 wine_fn_config_dll version enable_version implib
18336 wine_fn_config_test dlls
/version
/tests version_test
18337 wine_fn_config_dll vmm.vxd enable_win16
18338 wine_fn_config_dll vnbt.vxd enable_win16
18339 wine_fn_config_dll vnetbios.vxd enable_win16
18340 wine_fn_config_dll vssapi enable_vssapi
18341 wine_fn_config_dll vtdapi.vxd enable_win16
18342 wine_fn_config_dll vwin32.vxd enable_win16
18343 wine_fn_config_dll w32skrnl enable_win16
18344 wine_fn_config_dll w32sys.dll16 enable_win16
18345 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18346 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
18347 wine_fn_config_dll wbemprox enable_wbemprox clean
18348 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
18349 wine_fn_config_dll webservices enable_webservices implib
18350 wine_fn_config_test dlls
/webservices
/tests webservices_test
18351 wine_fn_config_dll wer enable_wer implib
18352 wine_fn_config_test dlls
/wer
/tests wer_test
18353 wine_fn_config_dll wevtapi enable_wevtapi
18354 wine_fn_config_dll wiaservc enable_wiaservc clean
18355 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
18356 wine_fn_config_dll wimgapi enable_wimgapi
18357 wine_fn_config_dll win32s16.dll16 enable_win16
18358 wine_fn_config_dll win87em.dll16 enable_win16
18359 wine_fn_config_dll winaspi.dll16 enable_win16
18360 wine_fn_config_dll windebug.dll16 enable_win16
18361 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
18362 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
18363 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18364 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
18365 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18366 wine_fn_config_dll winebus.sys enable_winebus_sys
18367 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18368 wine_fn_config_lib winecrt0
18369 wine_fn_config_dll wined3d enable_wined3d implib
18370 wine_fn_config_dll winegstreamer enable_winegstreamer
18371 wine_fn_config_dll winehid.sys enable_winehid_sys
18372 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18373 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18374 wine_fn_config_dll winemapi enable_winemapi
18375 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18376 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18377 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18378 wine_fn_config_dll wineps16.drv16 enable_win16
18379 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18380 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18381 wine_fn_config_dll winex11.drv enable_winex11_drv
18382 wine_fn_config_dll wing.dll16 enable_win16
18383 wine_fn_config_dll wing32 enable_wing32
18384 wine_fn_config_dll winhttp enable_winhttp clean
,implib
18385 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
18386 wine_fn_config_dll wininet enable_wininet clean
,implib
18387 wine_fn_config_test dlls
/wininet
/tests wininet_test
18388 wine_fn_config_dll winmm enable_winmm clean
,implib
18389 wine_fn_config_test dlls
/winmm
/tests winmm_test
18390 wine_fn_config_dll winnls.dll16 enable_win16
18391 wine_fn_config_dll winnls32 enable_winnls32 implib
18392 wine_fn_config_dll winscard enable_winscard implib
18393 wine_fn_config_dll winsock.dll16 enable_win16
18394 wine_fn_config_dll winspool.drv enable_winspool_drv clean
,implib winspool
18395 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
18396 wine_fn_config_dll winsta enable_winsta
18397 wine_fn_config_dll wintab.dll16 enable_win16
18398 wine_fn_config_dll wintab32 enable_wintab32 implib
18399 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
18400 wine_fn_config_dll wintrust enable_wintrust implib
18401 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
18402 wine_fn_config_dll wlanapi enable_wlanapi
18403 wine_fn_config_dll wldap32 enable_wldap32 clean
,implib
18404 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
18405 wine_fn_config_dll wmasf enable_wmasf
18406 wine_fn_config_dll wmi enable_wmi
18407 wine_fn_config_dll wmiutils enable_wmiutils clean
18408 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
18409 wine_fn_config_dll wmp enable_wmp clean
18410 wine_fn_config_test dlls
/wmp
/tests wmp_test
18411 wine_fn_config_dll wmvcore enable_wmvcore
18412 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18413 wine_fn_config_dll wow32 enable_win16 implib
18414 wine_fn_config_dll wpc enable_wpc clean
18415 wine_fn_config_test dlls
/wpc
/tests wpc_test
18416 wine_fn_config_dll wpcap enable_wpcap
18417 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18418 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
18419 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18420 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
18421 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18422 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
18423 wine_fn_config_dll wsock32 enable_wsock32 implib
18424 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18425 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
18426 wine_fn_config_dll wuapi enable_wuapi clean
18427 wine_fn_config_dll wuaueng enable_wuaueng
18428 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18429 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18430 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18431 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18432 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18433 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18434 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18435 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18436 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18437 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18438 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18439 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18440 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18441 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18442 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18443 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18444 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18445 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18446 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18447 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18448 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18449 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
18450 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18451 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18452 wine_fn_config_dll xinput1_1 enable_xinput1_1
18453 wine_fn_config_dll xinput1_2 enable_xinput1_2
18454 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18455 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
18456 wine_fn_config_dll xinput1_4 enable_xinput1_4
18457 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18458 wine_fn_config_dll xmllite enable_xmllite implib
18459 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
18460 wine_fn_config_dll xolehlp enable_xolehlp
18461 wine_fn_config_dll xpsprint enable_xpsprint
18462 wine_fn_config_dll xpssvcs enable_xpssvcs
18463 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
18464 wine_fn_config_makefile include enable_include clean
,install-dev
18465 wine_fn_config_makefile libs
/port enable_libs_port
18466 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,implib
,install-dev
,install-lib
18467 wine_fn_config_makefile libs
/wpp enable_libs_wpp
18468 wine_fn_config_makefile loader enable_loader clean
,install-lib
18469 wine_fn_config_makefile po enable_po clean
18470 wine_fn_config_program arp enable_arp
install
18471 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
18472 wine_fn_config_program attrib enable_attrib clean
,install
18473 wine_fn_config_program cabarc enable_cabarc
install
18474 wine_fn_config_program cacls enable_cacls
install
18475 wine_fn_config_program
clock enable_clock clean
,install
18476 wine_fn_config_program cmd enable_cmd clean
,install
18477 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
18478 wine_fn_config_program conhost enable_conhost
install
18479 wine_fn_config_program control enable_control
install
18480 wine_fn_config_program cscript enable_cscript clean
,install
18481 wine_fn_config_program dpnsvr enable_dpnsvr
install
18482 wine_fn_config_program dxdiag enable_dxdiag clean
,install
18483 wine_fn_config_program eject enable_eject
install
18484 wine_fn_config_program
expand enable_expand
install
18485 wine_fn_config_program explorer enable_explorer clean
,install
18486 wine_fn_config_program extrac32 enable_extrac32
install
18487 wine_fn_config_program findstr enable_findstr
install
18488 wine_fn_config_program fsutil enable_fsutil
install
18489 wine_fn_config_program hh enable_hh
install
18490 wine_fn_config_program hostname enable_hostname clean
,install
18491 wine_fn_config_program icacls enable_icacls
install
18492 wine_fn_config_program icinfo enable_icinfo
install
18493 wine_fn_config_program iexplore enable_iexplore
install
18494 wine_fn_config_program ipconfig enable_ipconfig clean
,install
18495 wine_fn_config_program lodctr enable_lodctr
install
18496 wine_fn_config_program mofcomp enable_mofcomp
install
18497 wine_fn_config_program mshta enable_mshta
install
18498 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18499 wine_fn_config_program msinfo32 enable_msinfo32 clean
,install
18500 wine_fn_config_program net enable_net clean
,install
18501 wine_fn_config_program netsh enable_netsh
install
18502 wine_fn_config_program netstat enable_netstat clean
,install
18503 wine_fn_config_program ngen enable_ngen
install
18504 wine_fn_config_program notepad enable_notepad clean
,install,installbin
,manpage
18505 wine_fn_config_program oleview enable_oleview clean
,install
18506 wine_fn_config_program
ping enable_ping
install
18507 wine_fn_config_program plugplay enable_plugplay
install
18508 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18509 wine_fn_config_program progman enable_progman clean
,install
18510 wine_fn_config_program reg enable_reg clean
,install
18511 wine_fn_config_test programs
/reg
/tests reg.exe_test
18512 wine_fn_config_program regasm enable_regasm
install
18513 wine_fn_config_program regedit enable_regedit clean
,install,installbin
,manpage
18514 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18515 wine_fn_config_program regsvcs enable_regsvcs
install
18516 wine_fn_config_program regsvr32 enable_regsvr32 clean
,install,installbin
,manpage
18517 wine_fn_config_program rpcss enable_rpcss clean
,install
18518 wine_fn_config_program rundll.exe16 enable_win16
install
18519 wine_fn_config_program rundll32 enable_rundll32
install
18520 wine_fn_config_program sc enable_sc
install
18521 wine_fn_config_program schtasks enable_schtasks
install
18522 wine_fn_config_program sdbinst enable_sdbinst
install
18523 wine_fn_config_program secedit enable_secedit
install
18524 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18525 wine_fn_config_program services enable_services clean
,install
18526 wine_fn_config_test programs
/services
/tests services.exe_test
18527 wine_fn_config_program shutdown enable_shutdown
install
18528 wine_fn_config_program spoolsv enable_spoolsv
install
18529 wine_fn_config_program start enable_start clean
,install
18530 wine_fn_config_program subst enable_subst
install
18531 wine_fn_config_program svchost enable_svchost
install
18532 wine_fn_config_program systeminfo enable_systeminfo
install
18533 wine_fn_config_program taskkill enable_taskkill clean
,install
18534 wine_fn_config_program tasklist enable_tasklist
install
18535 wine_fn_config_program taskmgr enable_taskmgr clean
,install
18536 wine_fn_config_program termsv enable_termsv
install
18537 wine_fn_config_program uninstaller enable_uninstaller clean
,install
18538 wine_fn_config_program unlodctr enable_unlodctr
install
18539 wine_fn_config_program view enable_view clean
,install
18540 wine_fn_config_program wevtutil enable_wevtutil
install
18541 wine_fn_config_program wineboot enable_wineboot clean
,install,installbin
,manpage
18542 wine_fn_config_program winebrowser enable_winebrowser
install
18543 wine_fn_config_program winecfg enable_winecfg clean
,install,installbin
,manpage
18544 wine_fn_config_program wineconsole enable_wineconsole clean
,install,installbin
,manpage
18545 wine_fn_config_program winedbg enable_winedbg clean
,install,installbin
,manpage
18546 wine_fn_config_program winedevice enable_winedevice
install
18547 wine_fn_config_program winefile enable_winefile clean
,install,installbin
,manpage
18548 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18549 wine_fn_config_program winemine enable_winemine clean
,install,installbin
,manpage
18550 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18551 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18552 wine_fn_config_program winetest enable_winetest clean
18553 wine_fn_config_program winevdm enable_win16
install
18554 wine_fn_config_program winhelp.exe16 enable_win16
install
18555 wine_fn_config_program winhlp32 enable_winhlp32 clean
,install
18556 wine_fn_config_program winoldap.mod16 enable_win16
install
18557 wine_fn_config_program winver enable_winver
install
18558 wine_fn_config_program wmic enable_wmic clean
,install
18559 wine_fn_config_program wmplayer enable_wmplayer
install
18560 wine_fn_config_program wordpad enable_wordpad clean
,install
18561 wine_fn_config_program
write enable_write clean
,install
18562 wine_fn_config_program wscript enable_wscript clean
,install
18563 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18564 wine_fn_config_program wusa enable_wusa
install
18565 wine_fn_config_program xcopy enable_xcopy clean
,install
18566 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18567 wine_fn_config_makefile server enable_server clean
,install-lib
18568 wine_fn_config_tool tools clean
18569 wine_fn_config_tool tools
/sfnt2fon clean
18570 wine_fn_config_tool tools
/widl clean
,install-dev
18571 wine_fn_config_tool tools
/winebuild clean
,install-dev
18572 wine_fn_config_tool tools
/winedump clean
,install-dev
18573 wine_fn_config_tool tools
/winegcc clean
,install-dev
18574 wine_fn_config_tool tools
/winemaker clean
,install-dev
18575 wine_fn_config_tool tools
/wmc clean
,install-dev
18576 wine_fn_config_tool tools
/wrc clean
,install-dev
18579 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
18580 wine_fn_append_file CONFIGURE_TARGETS
"tags"
18581 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
18582 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
18583 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
18584 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
18585 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
18586 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
18588 if test "x$enable_tools" != xno
18590 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
18591 ac_config_commands
="$ac_config_commands tools/makedep"
18595 ac_config_commands
="$ac_config_commands Makefile"
18598 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
18602 if test "x$enable_maintainer_mode" = xyes
18604 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18605 autoconf --warnings=all
18606 include/config.h.in: include/stamp-h.in
18607 include/stamp-h.in: configure.ac aclocal.m4
18608 autoheader --warnings=all
18609 @echo timestamp > \$@"
18612 if test "x$enable_tools" != xno
18614 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18615 @./config.status tools/makedep
18616 Makefile: tools/makedep$ac_exeext"
18618 wine_fn_append_rule
"\$(MAKEDEP):
18619 @echo \"You need to run make in $TOOLSDIR first\" && false"
18622 if test -n "$with_wine64"
18624 wine_fn_append_rule
"all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18626 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18627 $with_wine64/loader/wine:
18628 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18629 $with_wine64/loader/wine-preloader:
18630 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18632 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18634 WINELOADER_INSTALL
="wine.inf"
18636 wine_fn_append_rule
"install install-lib::
18637 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18639 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18641 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
18642 *) wine_fn_append_rule
"install install-lib::
18643 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18645 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18649 $as_echo " done" >&6
18650 cat >confcache
<<\_ACEOF
18651 # This file is a shell script that caches the results of configure
18652 # tests run on this system so they can be shared between configure
18653 # scripts and configure runs, see configure's option --config-cache.
18654 # It is not useful on other systems. If it contains results you don't
18655 # want to keep, you may remove or edit it.
18657 # config.status only pays attention to the cache file if you give it
18658 # the --recheck option to rerun configure.
18660 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18661 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18662 # following values.
18666 # The following way of writing the cache mishandles newlines in values,
18667 # but we know of no workaround that is simple, portable, and efficient.
18668 # So, we kill variables containing newlines.
18669 # Ultrix sh set writes to stderr and can't be redirected directly,
18670 # and sets the high bit in the cache file unless we assign to the vars.
18672 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18673 eval ac_val
=\$
$ac_var
18677 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18678 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18681 _ | IFS | as_nl
) ;; #(
18682 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18683 *) { eval $ac_var=; unset $ac_var;} ;;
18689 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18690 *${as_nl}ac_space
=\
*)
18691 # `set' does not quote correctly, so add quotes: double-quote
18692 # substitution turns \\\\ into \\, and sed turns \\ into \.
18695 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18698 # `set' quotes correctly as required by POSIX, so do not add quotes.
18699 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18708 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18710 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18712 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18713 if test -w "$cache_file"; then
18714 if test "x$cache_file" != "x/dev/null"; then
18715 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18716 $as_echo "$as_me: updating cache $cache_file" >&6;}
18717 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18718 cat confcache
>"$cache_file"
18720 case $cache_file in #(
18722 mv -f confcache
"$cache_file"$$
&&
18723 mv -f "$cache_file"$$
"$cache_file" ;; #(
18725 mv -f confcache
"$cache_file" ;;
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18731 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18736 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18737 # Let make expand exec_prefix.
18738 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18740 DEFS
=-DHAVE_CONFIG_H
18745 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18746 # 1. Remove the extension, and $U if already installed.
18747 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18748 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18749 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18750 # will be set to the directory where LIBOBJS objects are built.
18751 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18752 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18754 LIBOBJS
=$ac_libobjs
18756 LTLIBOBJS
=$ac_ltlibobjs
18760 : "${CONFIG_STATUS=./config.status}"
18762 ac_clean_files_save
=$ac_clean_files
18763 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18764 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18765 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18767 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18769 # Generated by $as_me.
18770 # Run this file to recreate the current configuration.
18771 # Compiler output produced by configure, useful for debugging
18772 # configure, is in config.log if it exists.
18775 ac_cs_recheck=false
18778 SHELL=\${CONFIG_SHELL-$SHELL}
18781 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18782 ## -------------------- ##
18783 ## M4sh Initialization. ##
18784 ## -------------------- ##
18786 # Be more Bourne compatible
18787 DUALCASE
=1; export DUALCASE
# for MKS sh
18788 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18791 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18792 # is contrary to our usage. Disable this feature.
18793 alias -g '${1+"$@"}'='"$@"'
18794 setopt NO_GLOB_SUBST
18796 case `(set -o) 2>/dev/null` in #(
18808 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18809 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18810 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18811 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18812 # Prefer a ksh shell builtin over an external printf program on Solaris,
18813 # but without wasting forks for bash or zsh.
18814 if test -z "$BASH_VERSION$ZSH_VERSION" \
18815 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18816 as_echo='print
-r --'
18817 as_echo_n='print
-rn --'
18818 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18819 as_echo='printf %s
\n'
18820 as_echo_n='printf %s
'
18822 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18823 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18824 as_echo_n='/usr
/ucb
/echo -n'
18826 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18827 as_echo_n_body='eval
18831 expr "X$arg" : "X\\(.*\\)$as_nl";
18832 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18834 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18836 export as_echo_n_body
18837 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18839 export as_echo_body
18840 as_echo='sh
-c $as_echo_body as_echo
'
18843 # The user is always right.
18844 if test "${PATH_SEPARATOR+set}" != set; then
18846 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18847 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18854 # We need space, tab and new line, in precisely that order. Quoting is
18855 # there to prevent editors from complaining about space-tab.
18856 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18857 # splitting by setting IFS to empty value.)
18860 # Find who we are. Look in the path if we contain no directory separator.
18863 *[\\/]* ) as_myself=$0 ;;
18864 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18865 for as_dir in $PATH
18868 test -z "$as_dir" && as_dir=.
18869 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18875 # We did not find ourselves, most probably we were run as `sh COMMAND'
18876 # in which case we are not to be found in the path.
18877 if test "x$as_myself" = x
; then
18880 if test ! -f "$as_myself"; then
18881 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18885 # Unset variables that we do not need and which cause bugs (e.g. in
18886 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18887 # suppresses any "Segmentation fault" message there. '((' could
18888 # trigger a bug in pdksh 5.2.14.
18889 for as_var
in BASH_ENV ENV MAIL MAILPATH
18890 do eval test x\
${$as_var+set} = xset \
18891 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18904 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18907 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18908 # ----------------------------------------
18909 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18910 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18911 # script with STATUS, using 1 if that was 0.
18914 as_status
=$1; test $as_status -eq 0 && as_status
=1
18916 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18917 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18919 $as_echo "$as_me: error: $2" >&2
18920 as_fn_exit
$as_status
18924 # as_fn_set_status STATUS
18925 # -----------------------
18926 # Set $? to STATUS, without forking.
18927 as_fn_set_status
()
18930 } # as_fn_set_status
18932 # as_fn_exit STATUS
18933 # -----------------
18934 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18938 as_fn_set_status
$1
18944 # Portably unset VAR.
18947 { eval $1=; unset $1;}
18949 as_unset
=as_fn_unset
18950 # as_fn_append VAR VALUE
18951 # ----------------------
18952 # Append the text in VALUE to the end of the definition contained in VAR. Take
18953 # advantage of any shell optimizations that allow amortized linear growth over
18954 # repeated appends, instead of the typical quadratic growth present in naive
18956 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18957 eval 'as_fn_append ()
18968 # as_fn_arith ARG...
18969 # ------------------
18970 # Perform arithmetic evaluation on the ARGs, and store the result in the
18971 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18972 # must be portable across $(()) and expr.
18973 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18974 eval 'as_fn_arith ()
18981 as_val
=`expr "$@" || test $? -eq 1`
18986 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18987 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18993 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18994 as_basename
=basename
18999 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19005 as_me
=`$as_basename -- "$0" ||
19006 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19007 X"$0" : 'X\(//\)$' \| \
19008 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19010 sed '/^.*\/\([^/][^/]*\)\/*$/{
19024 # Avoid depending upon Character Ranges.
19025 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19026 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19027 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19028 as_cr_digits
='0123456789'
19029 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19031 ECHO_C
= ECHO_N
= ECHO_T
=
19032 case `echo -n x` in #(((((
19034 case `echo 'xy\c'` in
19035 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19037 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19044 rm -f conf$$ conf$$.exe conf$$.
file
19045 if test -d conf$$.dir
; then
19046 rm -f conf$$.dir
/conf$$.
file
19049 mkdir conf$$.dir
2>/dev
/null
19051 if (echo >conf$$.
file) 2>/dev
/null
; then
19052 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19054 # ... but there are two gotchas:
19055 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19056 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19057 # In both cases, we have to default to `cp -pR'.
19058 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19060 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19068 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19069 rmdir conf$$.dir
2>/dev
/null
19074 # Create "$as_dir" as a directory, including parents if necessary.
19079 -*) as_dir
=.
/$as_dir;;
19081 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19085 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19086 *) as_qdir
=$as_dir;;
19088 as_dirs
="'$as_qdir' $as_dirs"
19089 as_dir
=`$as_dirname -- "$as_dir" ||
19090 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19091 X"$as_dir" : 'X\(//\)[^/]' \| \
19092 X"$as_dir" : 'X\(//\)$' \| \
19093 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19094 $as_echo X"$as_dir" |
19095 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19099 /^X\(\/\/\)[^/].*/{
19112 test -d "$as_dir" && break
19114 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19115 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19119 if mkdir
-p .
2>/dev
/null
; then
19120 as_mkdir_p
='mkdir -p "$as_dir"'
19122 test -d .
/-p && rmdir .
/-p
19127 # as_fn_executable_p FILE
19128 # -----------------------
19129 # Test if FILE is an executable regular file.
19130 as_fn_executable_p
()
19132 test -f "$1" && test -x "$1"
19133 } # as_fn_executable_p
19134 as_test_x
='test -x'
19135 as_executable_p
=as_fn_executable_p
19137 # Sed expression to map a string onto a valid CPP name.
19138 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19140 # Sed expression to map a string onto a valid variable name.
19141 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19145 ## ----------------------------------- ##
19146 ## Main body of $CONFIG_STATUS script. ##
19147 ## ----------------------------------- ##
19149 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19152 # Save the log message, to keep $0 and so on meaningful, and to
19153 # report actual input values of CONFIG_FILES etc. instead of their
19154 # values after options handling.
19156 This file was extended by Wine $as_me 1.9.22, which was
19157 generated by GNU Autoconf 2.69. Invocation command line was
19159 CONFIG_FILES = $CONFIG_FILES
19160 CONFIG_HEADERS = $CONFIG_HEADERS
19161 CONFIG_LINKS = $CONFIG_LINKS
19162 CONFIG_COMMANDS = $CONFIG_COMMANDS
19165 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19170 case $ac_config_files in *"
19171 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19174 case $ac_config_headers in *"
19175 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19180 # Files that config.status was made for.
19181 config_files="$ac_config_files"
19182 config_headers="$ac_config_headers"
19183 config_links="$ac_config_links"
19184 config_commands="$ac_config_commands"
19188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19190 \`$as_me' instantiates files and other configuration actions
19191 from templates according to the current configuration. Unless the files
19192 and actions are specified as TAGs, all are instantiated by default.
19194 Usage: $0 [OPTION]... [TAG]...
19196 -h, --help print this help, then exit
19197 -V, --version print version number and configuration settings, then exit
19198 --config print configuration, then exit
19199 -q, --quiet, --silent
19200 do not print progress messages
19201 -d, --debug don't remove temporary files
19202 --recheck update $as_me by reconfiguring in the same conditions
19203 --file=FILE[:TEMPLATE]
19204 instantiate the configuration file FILE
19205 --header=FILE[:TEMPLATE]
19206 instantiate the configuration header FILE
19208 Configuration files:
19211 Configuration headers:
19214 Configuration links:
19217 Configuration commands:
19220 Report bugs to <wine-devel@winehq.org>.
19221 Wine home page: <http://www.winehq.org>."
19224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19225 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19227 Wine config.status 1.9.22
19228 configured by $0, generated by GNU Autoconf 2.69,
19229 with options \\"\$ac_cs_config\\"
19231 Copyright (C) 2012 Free Software Foundation, Inc.
19232 This config.status script is free software; the Free Software Foundation
19233 gives unlimited permission to copy, distribute and modify it."
19237 test -n "\$AWK" || AWK=awk
19240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19241 # The default lists apply if the user does not specify any file.
19247 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19248 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19252 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19264 # Handling of the options.
19265 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19267 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19268 $as_echo "$ac_cs_version"; exit ;;
19269 --config |
--confi |
--conf |
--con |
--co |
--c )
19270 $as_echo "$ac_cs_config"; exit ;;
19271 --debug |
--debu |
--deb |
--de |
--d |
-d )
19273 --file |
--fil |
--fi |
--f )
19276 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19277 '') as_fn_error $?
"missing file argument" ;;
19279 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19280 ac_need_defaults
=false
;;
19281 --header |
--heade |
--head |
--hea )
19284 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19286 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19287 ac_need_defaults
=false
;;
19289 # Conflict between --help and --header
19290 as_fn_error $?
"ambiguous option: \`$1'
19291 Try \`$0 --help' for more information.";;
19292 --help |
--hel |
-h )
19293 $as_echo "$ac_cs_usage"; exit ;;
19294 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19295 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19298 # This is an error.
19299 -*) as_fn_error $?
"unrecognized option: \`$1'
19300 Try \`$0 --help' for more information." ;;
19302 *) as_fn_append ac_config_targets
" $1"
19303 ac_need_defaults
=false
;;
19309 ac_configure_extra_args
=
19311 if $ac_cs_silent; then
19313 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19318 if \$ac_cs_recheck; then
19319 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19321 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19322 CONFIG_SHELL='$SHELL'
19323 export CONFIG_SHELL
19328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19332 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19333 ## Running $as_me. ##
19339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19343 wine_fn_output_makedep ()
19345 as_dir=tools; as_fn_mkdir_p
19346 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19348 wine_fn_output_makefile ()
19350 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19351 `cat $wine_rules_file`
19353 as_fn_error $? "could not create Makefile" "$LINENO" 5
19358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19360 # Handling of arguments.
19361 for ac_config_target
in $ac_config_targets
19363 case $ac_config_target in
19364 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19365 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
19366 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19367 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19368 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19369 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19370 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19371 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19372 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
19373 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19374 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
19375 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
19376 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19378 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19383 # If the user did not use the arguments to specify the items to instantiate,
19384 # then the envvar interface is used. Set only those that are not.
19385 # We use the long form for the default assignment because of an extremely
19386 # bizarre bug on SunOS 4.1.3.
19387 if $ac_need_defaults; then
19388 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19389 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19390 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19391 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19394 # Have a temporary directory for convenience. Make it in the build tree
19395 # simply because there is no reason against having it here, and in addition,
19396 # creating and moving files from /tmp can sometimes cause problems.
19397 # Hook for its removal unless debugging.
19398 # Note that there is a small window in which the directory will not be cleaned:
19399 # after its creation but before its name has been assigned to `$tmp'.
19403 trap 'exit_status=$?
19404 : "${ac_tmp:=$tmp}"
19405 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19407 trap 'as_fn_exit 1' 1 2 13 15
19409 # Create a (secure) tmp directory for tmp files.
19412 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19416 tmp
=.
/conf$$
-$RANDOM
19417 (umask 077 && mkdir
"$tmp")
19418 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19421 # Set up the scripts for CONFIG_FILES section.
19422 # No need to generate them if there are no CONFIG_FILES.
19423 # This happens for instance with `./config.status config.h'.
19424 if test -n "$CONFIG_FILES"; then
19427 ac_cr
=`echo X | tr X '\015'`
19428 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19429 # But we know of no other shell where ac_cr would be empty at this
19430 # point, so we can use a bashism as a fallback.
19431 if test "x$ac_cr" = x
; then
19432 eval ac_cr
=\$
\'\\r
\'
19434 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19435 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19438 ac_cs_awk_cr
=$ac_cr
19441 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19446 echo "cat >conf$$subs.awk <<_ACEOF" &&
19447 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19449 } >conf$$subs.sh ||
19450 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19451 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19453 for ac_last_try in false false false false false :; do
19454 . ./conf$$subs.sh ||
19455 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19457 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19458 if test $ac_delim_n = $ac_delim_num; then
19460 elif $ac_last_try; then
19461 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19463 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19466 rm -f conf$$subs.sh
19468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19469 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19473 s/^/S["/; s
/!.
*/"]=/
19483 s/\(.\{148\}\)..*/\1/
19485 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19490 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19497 s/\(.\{148\}\)..*/\1/
19499 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19503 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19508 ' <conf$$subs.awk | sed '
19513 ' >>$CONFIG_STATUS || ac_write_fail=1
19514 rm -f conf$$subs.awk
19515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19517 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19518 for (key in S) S_is_set[key] = 1
19524 nfields = split(line, field, "@
")
19526 len = length(field[1])
19527 for (i = 2; i < nfields; i++) {
19529 keylen = length(key)
19530 if (S_is_set[key]) {
19532 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19533 len += length(value) + length(field[++i])
19544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19545 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19546 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19549 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19550 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19553 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19554 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19555 # trailing colons and then remove the whole line if VPATH becomes empty
19556 # (actually we leave an empty line to preserve line numbers).
19557 if test "x
$srcdir" = x.; then
19558 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19577 fi # test -n "$CONFIG_FILES"
19579 # Set up the scripts for CONFIG_HEADERS section.
19580 # No need to generate them if there are no CONFIG_HEADERS.
19581 # This happens for instance with `./config.status Makefile'.
19582 if test -n "$CONFIG_HEADERS"; then
19583 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19587 # Transform confdefs.h into an awk script `defines.awk', embedded as
19588 # here-document in config.status, that substitutes the proper values into
19589 # config.h.in to produce config.h.
19591 # Create a delimiter string that does not exist in confdefs.h, to ease
19592 # handling of long lines.
19594 for ac_last_try in false false :; do
19595 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19596 if test -z "$ac_tt"; then
19598 elif $ac_last_try; then
19599 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19601 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19605 # For the awk script, D is an array of macro values keyed by name,
19606 # likewise P contains macro parameters if any. Preserve backslash
19607 # newline sequences.
19609 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19611 s/.\{148\}/&'"$ac_delim"'/g
19614 s/^[ ]*#[ ]*define[ ][ ]*/ /
19621 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19623 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19627 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19628 D["\
1"]=" \
3\\\\\\n
"\\/p
19630 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19635 s/.\{148\}/&'"$ac_delim"'/g
19640 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19643 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19645 ' <confdefs.h | sed '
19646 s/'"$ac_delim"'/"\\\
19647 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19650 for (key in D) D_is_set[key] = 1
19653 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19655 split(line, arg, " ")
19656 if (arg[1] == "#") {
19660 defundef
= substr
(arg
[1], 2)
19663 split(mac1
, mac2
, "(") #)
19665 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19666 if (D_is_set
[macro
]) {
19667 # Preserve the white space surrounding the "#".
19668 print prefix
"define", macro P
[macro
] D
[macro
]
19671 # Replace #undef with comments. This is necessary, for example,
19672 # in the case of _POSIX_SOURCE, which is predefined and required
19673 # on some systems where configure will not decide to define it.
19674 if (defundef
== "undef") {
19675 print
"/*", prefix defundef
, macro
, "*/"
19683 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19684 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19685 fi # test -n "$CONFIG_HEADERS"
19688 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19693 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19695 case $ac_mode$ac_tag in
19697 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19698 :[FH
]-) ac_tag
=-:-;;
19699 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19716 -) ac_f
="$ac_tmp/stdin";;
19717 *) # Look for the file first in the build tree, then in the source tree
19718 # (if the path is not absolute). The absolute path cannot be DOS-style,
19719 # because $ac_f cannot contain `:'.
19723 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19725 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19727 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19728 as_fn_append ac_file_inputs
" '$ac_f'"
19731 # Let's still pretend it is `configure' which instantiates (i.e., don't
19732 # use $as_me), people would be surprised to read:
19733 # /* config.h. Generated by config.status. */
19734 configure_input
='Generated from '`
19735 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19737 if test x
"$ac_file" != x-
; then
19738 configure_input
="$ac_file. $configure_input"
19739 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19740 $as_echo "$as_me: creating $ac_file" >&6;}
19742 # Neutralize special characters interpreted by sed in replacement strings.
19743 case $configure_input in #(
19744 *\
&* |
*\|
* |
*\\* )
19745 ac_sed_conf_input
=`$as_echo "$configure_input" |
19746 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19747 *) ac_sed_conf_input
=$configure_input;;
19751 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19752 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19757 ac_dir
=`$as_dirname -- "$ac_file" ||
19758 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19759 X"$ac_file" : 'X\(//\)[^/]' \| \
19760 X"$ac_file" : 'X\(//\)$' \| \
19761 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19762 $as_echo X"$ac_file" |
19763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19767 /^X\(\/\/\)[^/].*/{
19780 as_dir
="$ac_dir"; as_fn_mkdir_p
19784 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19786 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19787 # A ".." for each directory in $ac_dir_suffix.
19788 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19789 case $ac_top_builddir_sub in
19790 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19791 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19794 ac_abs_top_builddir
=$ac_pwd
19795 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19796 # for backward compatibility:
19797 ac_top_builddir
=$ac_top_build_prefix
19800 .
) # We are building in place.
19802 ac_top_srcdir
=$ac_top_builddir_sub
19803 ac_abs_top_srcdir
=$ac_pwd ;;
19804 [\\/]* | ?
:[\\/]* ) # Absolute name.
19805 ac_srcdir
=$srcdir$ac_dir_suffix;
19806 ac_top_srcdir
=$srcdir
19807 ac_abs_top_srcdir
=$srcdir ;;
19808 *) # Relative name.
19809 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19810 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19811 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19813 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19825 # If the template does not know about datarootdir, expand it.
19826 # FIXME: This hack should be removed a few years after 2.60.
19827 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19838 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19839 *datarootdir
*) ac_datarootdir_seen
=yes;;
19840 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19842 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19845 ac_datarootdir_hack='
19846 s&@datadir@&$datadir&g
19847 s&@docdir@&$docdir&g
19848 s&@infodir@&$infodir&g
19849 s&@localedir@&$localedir&g
19850 s&@mandir@&$mandir&g
19851 s&\\\${datarootdir}&$datarootdir&g' ;;
19855 # Neutralize VPATH when `$srcdir' = `.'.
19856 # Shell code in configure.ac might set extrasub.
19857 # FIXME: do we really want to maintain this feature?
19858 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19859 ac_sed_extra="$ac_vpsub
19862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19864 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19865 s|@configure_input@|
$ac_sed_conf_input|
;t t
19866 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19867 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19868 s
&@srcdir@
&$ac_srcdir&;t t
19869 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19870 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19871 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19872 s
&@builddir@
&$ac_builddir&;t t
19873 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19874 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19875 $ac_datarootdir_hack
19877 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19878 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19880 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19881 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19882 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19883 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19885 which seems to be undefined. Please make sure it is defined" >&5
19886 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19887 which seems to be undefined. Please make sure it is defined" >&2;}
19889 rm -f "$ac_tmp/stdin"
19891 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19892 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19894 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19900 if test x"$ac_file" != x-; then
19902 $as_echo "/* $configure_input */" \
19903 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19904 } >"$ac_tmp/config.h" \
19905 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19906 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19907 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19908 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19911 mv "$ac_tmp/config.h" "$ac_file" \
19912 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19915 $as_echo "/* $configure_input */" \
19916 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19917 || as_fn_error $? "could not create -" "$LINENO" 5
19925 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19928 # Prefer the file from the source tree if names are identical.
19929 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19930 ac_source=$srcdir/$ac_source
19933 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19934 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19936 if test ! -r "$ac_source"; then
19937 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19941 # Try a relative symlink, then a hard link, then a copy.
19943 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19944 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19946 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19947 ln "$ac_source" "$ac_file" 2>/dev/null ||
19948 cp -p "$ac_source" "$ac_file" ||
19949 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19952 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19953 $as_echo "$as_me: executing $ac_file commands" >&6;}
19958 case $ac_file$ac_mode in
19959 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19960 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19961 "Makefile":C) wine_fn_output_makefile Makefile ;;
19969 ac_clean_files=$ac_clean_files_save
19971 test $ac_write_fail = 0 ||
19972 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19975 # configure is writing to config.log, and then calls config.status.
19976 # config.status does its own redirection, appending to config.log.
19977 # Unfortunately, on DOS this fails, as config.log is still kept open
19978 # by configure, so config.status won't be able to
write to it
; its
19979 # output is simply discarded. So we exec the FD to /dev/null,
19980 # effectively closing config.log, so it can be properly (re)opened and
19981 # appended to by config.status. When coming back to configure, we
19982 # need to make the FD available again.
19983 if test "$no_create" != yes; then
19985 ac_config_status_args
=
19986 test "$silent" = yes &&
19987 ac_config_status_args
="$ac_config_status_args --quiet"
19989 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19991 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19992 # would make configure fail if this is the last instruction.
19993 $ac_cs_success || as_fn_exit
1
19995 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19997 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20001 if test "$no_create" = "yes"
20007 if test "x$wine_notices" != x
; then
20010 for msg
in $wine_notices; do
20012 if ${msg:+false} :; then :
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20016 $as_echo "$as_me: $msg" >&6;}
20021 for msg
in $wine_warnings; do
20023 if ${msg:+false} :; then :
20027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20028 $as_echo "$as_me: WARNING: $msg" >&2;}
20034 $as_me: Finished. Do '${ac_make}' to compile Wine.