2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.5.29.
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.5.29'
584 PACKAGE_STRING
='Wine 1.5.29'
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
694 APPLICATIONSERVICESLIB
783 program_transform_name
794 ac_subst_files
='MAKE_RULES
800 enable_option_checking
804 enable_maintainer_mode
853 ac_precious_vars
='build_alias
890 # Initialize some variables set by options.
892 ac_init_version
=false
893 ac_unrecognized_opts
=
895 # The variables have the same names as the options, with
896 # dashes changed to underlines.
904 program_transform_name
=s
,x
,x
,
912 # Installation directory options.
913 # These are left unexpanded so users can "make install exec_prefix=/foo"
914 # and all the variables that are supposed to be based on exec_prefix
915 # by default will actually change.
916 # Use braces instead of parens because sh, perl, etc. also accept them.
917 # (The list follows the same order as the GNU Coding Standards.)
918 bindir
='${exec_prefix}/bin'
919 sbindir
='${exec_prefix}/sbin'
920 libexecdir
='${exec_prefix}/libexec'
921 datarootdir
='${prefix}/share'
922 datadir
='${datarootdir}'
923 sysconfdir
='${prefix}/etc'
924 sharedstatedir
='${prefix}/com'
925 localstatedir
='${prefix}/var'
926 includedir
='${prefix}/include'
927 oldincludedir
='/usr/include'
928 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
929 infodir
='${datarootdir}/info'
934 libdir
='${exec_prefix}/lib'
935 localedir
='${datarootdir}/locale'
936 mandir
='${datarootdir}/man'
942 # If the previous option needs an argument, assign it.
943 if test -n "$ac_prev"; then
944 eval $ac_prev=\
$ac_option
950 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
955 # Accept the important Cygnus configure options, so we can diagnose typos.
957 case $ac_dashdash$ac_option in
961 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
963 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
966 -build |
--build |
--buil |
--bui |
--bu)
967 ac_prev
=build_alias
;;
968 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
969 build_alias
=$ac_optarg ;;
971 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
972 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
973 ac_prev
=cache_file
;;
974 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
975 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
976 cache_file
=$ac_optarg ;;
979 cache_file
=config.cache
;;
981 -datadir |
--datadir |
--datadi |
--datad)
983 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
984 datadir
=$ac_optarg ;;
986 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
987 |
--dataroo |
--dataro |
--datar)
988 ac_prev
=datarootdir
;;
989 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
990 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
991 datarootdir
=$ac_optarg ;;
993 -disable-* |
--disable-*)
994 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
995 # Reject names that are not valid shell variable names.
996 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
997 as_fn_error $?
"invalid feature name: $ac_useropt"
998 ac_useropt_orig
=$ac_useropt
999 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1000 case $ac_user_opts in
1002 "enable_
$ac_useropt"
1004 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1005 ac_unrecognized_sep
=', ';;
1007 eval enable_
$ac_useropt=no
;;
1009 -docdir |
--docdir |
--docdi |
--doc |
--do)
1011 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1012 docdir
=$ac_optarg ;;
1014 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1016 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1017 dvidir
=$ac_optarg ;;
1019 -enable-* |
--enable-*)
1020 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1023 as_fn_error $?
"invalid feature name: $ac_useropt"
1024 ac_useropt_orig
=$ac_useropt
1025 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1028 "enable_
$ac_useropt"
1030 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1031 ac_unrecognized_sep
=', ';;
1033 eval enable_
$ac_useropt=\
$ac_optarg ;;
1035 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1036 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1037 |
--exec |
--exe |
--ex)
1038 ac_prev
=exec_prefix
;;
1039 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1040 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1041 |
--exec=* |
--exe=* |
--ex=*)
1042 exec_prefix
=$ac_optarg ;;
1044 -gas |
--gas |
--ga |
--g)
1045 # Obsolete; use --with-gas.
1048 -help |
--help |
--hel |
--he |
-h)
1049 ac_init_help
=long
;;
1050 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1051 ac_init_help
=recursive
;;
1052 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1053 ac_init_help
=short
;;
1055 -host |
--host |
--hos |
--ho)
1056 ac_prev
=host_alias
;;
1057 -host=* |
--host=* |
--hos=* |
--ho=*)
1058 host_alias
=$ac_optarg ;;
1060 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1062 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1064 htmldir
=$ac_optarg ;;
1066 -includedir |
--includedir |
--includedi |
--included |
--include \
1067 |
--includ |
--inclu |
--incl |
--inc)
1068 ac_prev
=includedir
;;
1069 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1070 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1071 includedir
=$ac_optarg ;;
1073 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1075 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1076 infodir
=$ac_optarg ;;
1078 -libdir |
--libdir |
--libdi |
--libd)
1080 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1081 libdir
=$ac_optarg ;;
1083 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1084 |
--libexe |
--libex |
--libe)
1085 ac_prev
=libexecdir
;;
1086 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1087 |
--libexe=* |
--libex=* |
--libe=*)
1088 libexecdir
=$ac_optarg ;;
1090 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1091 ac_prev
=localedir
;;
1092 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1093 localedir
=$ac_optarg ;;
1095 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1096 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1097 ac_prev
=localstatedir
;;
1098 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1099 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1100 localstatedir
=$ac_optarg ;;
1102 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1104 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1105 mandir
=$ac_optarg ;;
1107 -nfp |
--nfp |
--nf)
1108 # Obsolete; use --without-fp.
1111 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1112 |
--no-cr |
--no-c |
-n)
1115 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1116 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1119 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1120 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1121 |
--oldin |
--oldi |
--old |
--ol |
--o)
1122 ac_prev
=oldincludedir
;;
1123 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1124 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1125 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1126 oldincludedir
=$ac_optarg ;;
1128 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1130 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1131 prefix
=$ac_optarg ;;
1133 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1134 |
--program-pre |
--program-pr |
--program-p)
1135 ac_prev
=program_prefix
;;
1136 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1137 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1138 program_prefix
=$ac_optarg ;;
1140 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1141 |
--program-suf |
--program-su |
--program-s)
1142 ac_prev
=program_suffix
;;
1143 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1144 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1145 program_suffix
=$ac_optarg ;;
1147 -program-transform-name |
--program-transform-name \
1148 |
--program-transform-nam |
--program-transform-na \
1149 |
--program-transform-n |
--program-transform- \
1150 |
--program-transform |
--program-transfor \
1151 |
--program-transfo |
--program-transf \
1152 |
--program-trans |
--program-tran \
1153 |
--progr-tra |
--program-tr |
--program-t)
1154 ac_prev
=program_transform_name
;;
1155 -program-transform-name=* |
--program-transform-name=* \
1156 |
--program-transform-nam=* |
--program-transform-na=* \
1157 |
--program-transform-n=* |
--program-transform-=* \
1158 |
--program-transform=* |
--program-transfor=* \
1159 |
--program-transfo=* |
--program-transf=* \
1160 |
--program-trans=* |
--program-tran=* \
1161 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1162 program_transform_name
=$ac_optarg ;;
1164 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1166 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1167 pdfdir
=$ac_optarg ;;
1169 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1171 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1174 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1175 |
-silent |
--silent |
--silen |
--sile |
--sil)
1178 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1180 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1182 sbindir
=$ac_optarg ;;
1184 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1185 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1186 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1188 ac_prev
=sharedstatedir
;;
1189 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1190 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1191 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1193 sharedstatedir
=$ac_optarg ;;
1195 -site |
--site |
--sit)
1197 -site=* |
--site=* |
--sit=*)
1200 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1202 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1203 srcdir
=$ac_optarg ;;
1205 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1206 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1207 ac_prev
=sysconfdir
;;
1208 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1209 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1210 sysconfdir
=$ac_optarg ;;
1212 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1213 ac_prev
=target_alias
;;
1214 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1215 target_alias
=$ac_optarg ;;
1217 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1220 -version |
--version |
--versio |
--versi |
--vers |
-V)
1221 ac_init_version
=: ;;
1224 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1225 # Reject names that are not valid shell variable names.
1226 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1227 as_fn_error $?
"invalid package name: $ac_useropt"
1228 ac_useropt_orig
=$ac_useropt
1229 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1230 case $ac_user_opts in
1234 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1235 ac_unrecognized_sep
=', ';;
1237 eval with_
$ac_useropt=\
$ac_optarg ;;
1239 -without-* |
--without-*)
1240 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1241 # Reject names that are not valid shell variable names.
1242 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1243 as_fn_error $?
"invalid package name: $ac_useropt"
1244 ac_useropt_orig
=$ac_useropt
1245 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1246 case $ac_user_opts in
1250 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1251 ac_unrecognized_sep
=', ';;
1253 eval with_
$ac_useropt=no
;;
1256 # Obsolete; use --with-x.
1259 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1260 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1261 ac_prev
=x_includes
;;
1262 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1263 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1264 x_includes
=$ac_optarg ;;
1266 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1267 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1268 ac_prev
=x_libraries
;;
1269 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1270 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1271 x_libraries
=$ac_optarg ;;
1273 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1274 Try \`$0 --help' for more information"
1278 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1279 # Reject names that are not valid shell variable names.
1280 case $ac_envvar in #(
1281 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1282 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1284 eval $ac_envvar=\
$ac_optarg
1285 export $ac_envvar ;;
1288 # FIXME: should be removed in autoconf 3.0.
1289 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1290 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1291 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1292 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1298 if test -n "$ac_prev"; then
1299 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1300 as_fn_error $?
"missing argument to $ac_option"
1303 if test -n "$ac_unrecognized_opts"; then
1304 case $enable_option_checking in
1306 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1307 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1311 # Check all directory arguments for consistency.
1312 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1313 datadir sysconfdir sharedstatedir localstatedir includedir \
1314 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1315 libdir localedir mandir
1317 eval ac_val
=\$
$ac_var
1318 # Remove trailing slashes.
1321 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1322 eval $ac_var=\
$ac_val;;
1324 # Be sure to have absolute directory names.
1326 [\\/$
]* | ?
:[\\/]* ) continue;;
1327 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1329 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1332 # There might be people who depend on the old broken behavior: `$host'
1333 # used to hold the argument of --host etc.
1334 # FIXME: To remove some day.
1337 target
=$target_alias
1339 # FIXME: To remove some day.
1340 if test "x$host_alias" != x
; then
1341 if test "x$build_alias" = x
; then
1342 cross_compiling
=maybe
1343 elif test "x$build_alias" != "x$host_alias"; then
1349 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1351 test "$silent" = yes && exec 6>/dev
/null
1354 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1355 ac_ls_di
=`ls -di .` &&
1356 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1357 as_fn_error $?
"working directory cannot be determined"
1358 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1359 as_fn_error $?
"pwd does not report name of working directory"
1362 # Find the source files, if location was not specified.
1363 if test -z "$srcdir"; then
1364 ac_srcdir_defaulted
=yes
1365 # Try the directory containing this script, then the parent directory.
1366 ac_confdir
=`$as_dirname -- "$as_myself" ||
1367 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1368 X"$as_myself" : 'X\(//\)[^/]' \| \
1369 X"$as_myself" : 'X\(//\)$' \| \
1370 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1371 $as_echo X"$as_myself" |
1372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1390 if test ! -r "$srcdir/$ac_unique_file"; then
1394 ac_srcdir_defaulted
=no
1396 if test ! -r "$srcdir/$ac_unique_file"; then
1397 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1398 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1400 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1402 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1404 # When building in place, set srcdir=.
1405 if test "$ac_abs_confdir" = "$ac_pwd"; then
1408 # Remove unnecessary trailing slashes from srcdir.
1409 # Double slashes in file names in object file debugging info
1410 # mess up M-x gdb in Emacs.
1412 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1414 for ac_var
in $ac_precious_vars; do
1415 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1416 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1417 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1418 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1422 # Report the --help message.
1424 if test "$ac_init_help" = "long"; then
1425 # Omit some internal or obsolete options to make the list less imposing.
1426 # This message is too long to be a string in the A/UX 3.1 sh.
1428 \`configure' configures Wine 1.5.29 to adapt to many kinds of systems.
1430 Usage: $0 [OPTION]... [VAR=VALUE]...
1432 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1433 VAR=VALUE. See below for descriptions of some of the useful variables.
1435 Defaults for the options are specified in brackets.
1438 -h, --help display this help and exit
1439 --help=short display options specific to this package
1440 --help=recursive display the short help of all the included packages
1441 -V, --version display version information and exit
1442 -q, --quiet, --silent do not print \`checking ...' messages
1443 --cache-file=FILE cache test results in FILE [disabled]
1444 -C, --config-cache alias for \`--cache-file=config.cache'
1445 -n, --no-create do not create output files
1446 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1448 Installation directories:
1449 --prefix=PREFIX install architecture-independent files in PREFIX
1450 [$ac_default_prefix]
1451 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1454 By default, \`make install' will install all the files in
1455 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1456 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1457 for instance \`--prefix=\$HOME'.
1459 For better control, use the options below.
1461 Fine tuning of the installation directories:
1462 --bindir=DIR user executables [EPREFIX/bin]
1463 --sbindir=DIR system admin executables [EPREFIX/sbin]
1464 --libexecdir=DIR program executables [EPREFIX/libexec]
1465 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1466 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1467 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1468 --libdir=DIR object code libraries [EPREFIX/lib]
1469 --includedir=DIR C header files [PREFIX/include]
1470 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1471 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1472 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1473 --infodir=DIR info documentation [DATAROOTDIR/info]
1474 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1475 --mandir=DIR man documentation [DATAROOTDIR/man]
1476 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1477 --htmldir=DIR html documentation [DOCDIR]
1478 --dvidir=DIR dvi documentation [DOCDIR]
1479 --pdfdir=DIR pdf documentation [DOCDIR]
1480 --psdir=DIR ps documentation [DOCDIR]
1486 --x-includes=DIR X include files are
in DIR
1487 --x-libraries=DIR X library files are
in DIR
1490 --build=BUILD configure
for building on BUILD
[guessed
]
1491 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1495 if test -n "$ac_init_help"; then
1496 case $ac_init_help in
1497 short | recursive
) echo "Configuration of Wine 1.5.29:";;
1502 --disable-option-checking ignore unrecognized
--enable/--with options
1503 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1504 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1505 --disable-win16 do not include Win16 support
1506 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1508 --disable-tests do not build the regression tests
1509 --enable-maintainer-mode
1510 enable maintainer-specific build rules
1511 --disable-largefile omit support for large files
1514 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1515 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1516 --without-alsa do not use the Alsa sound support
1517 --without-capi do not use CAPI (ISDN support)
1518 --without-cms do not use CMS (color management support)
1519 --without-coreaudio do not use the CoreAudio sound support
1520 --without-cups do not use CUPS
1521 --without-curses do not use (n)curses
1522 --without-dbus do not use DBus (dynamic device support)
1523 --without-fontconfig do not use fontconfig
1524 --without-freetype do not use the FreeType library
1525 --without-gettext do not use gettext
1526 --with-gettextpo use the GetTextPO library to rebuild po files
1527 --without-gphoto do not use gphoto (Digital Camera support)
1528 --without-glu do not use the GLU library
1529 --without-gnutls do not use GnuTLS (schannel support)
1530 --without-gsm do not use libgsm (GSM 06.10 codec support)
1531 --without-gstreamer do not use GStreamer (codecs support)
1532 --without-hal do not use HAL (dynamic device support)
1533 --without-jpeg do not use JPEG
1534 --without-ldap do not use LDAP
1535 --without-mpg123 do not use the mpg123 library
1536 --without-openal do not use OpenAL
1537 --without-opencl do not use OpenCL
1538 --without-opengl do not use OpenGL
1539 --without-osmesa do not use the OSMesa library
1540 --without-oss do not use the OSS sound support
1541 --without-png do not use PNG
1542 --without-pthread do not use the pthread library
1543 --without-sane do not use SANE (scanner support)
1544 --without-tiff do not use TIFF
1545 --without-v4l do not use v4l1 (v4l support)
1546 --without-xcomposite do not use the Xcomposite extension
1547 --without-xcursor do not use the Xcursor extension
1548 --without-xinerama do not use Xinerama (multi-monitor support)
1549 --without-xinput do not use the Xinput extension
1550 --without-xinput2 do not use the Xinput 2 extension
1551 --without-xml do not use XML
1552 --without-xrandr do not use Xrandr (resolution changes)
1553 --without-xrender do not use the Xrender extension
1554 --without-xshape do not use the Xshape extension
1555 --without-xshm do not use XShm (shared memory extension)
1556 --without-xslt do not use XSLT
1557 --without-xxf86vm do not use XFree video mode extension
1558 --without-zlib do not use Zlib (data compression)
1559 --with-wine-tools=DIR use Wine tools from directory DIR
1560 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1561 --with-x use the X Window System
1563 Some influential environment variables:
1564 CC C compiler command
1565 CFLAGS C compiler flags
1566 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1567 nonstandard directory <lib dir>
1568 LIBS libraries to pass to the linker, e.g. -l<library>
1569 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1570 you have headers in a nonstandard directory <include dir>
1571 CXX C++ compiler command
1572 CXXFLAGS C++ compiler flags
1574 XMKMF Path to xmkmf, Makefile generator for X Window System
1575 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
1576 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
1577 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
1578 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
1579 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
1580 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
1581 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
1582 HAL_LIBS Linker flags for hal, overriding pkg-config
1584 C compiler flags for gnutls, overriding pkg-config
1585 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
1586 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
1587 SANE_LIBS Linker flags for libsane, overriding pkg-config
1589 C compiler flags for libgphoto2, overriding pkg-config
1591 Linker flags for libgphoto2, overriding pkg-config
1593 C compiler flags for libgphoto2_port, overriding pkg-config
1595 Linker flags for libgphoto2_port, overriding pkg-config
1596 LCMS_CFLAGS C compiler flags for lcms, overriding pkg-config
1597 LCMS_LIBS Linker flags for lcms, overriding pkg-config
1599 C compiler flags for freetype2, overriding pkg-config
1601 Linker flags for freetype2, overriding pkg-config
1603 C compiler flags for gstreamer-app-0.10, overriding pkg-config
1605 Linker flags for gstreamer-app-0.10, overriding pkg-config
1607 Use these variables to override the choices made by `configure' or to
help
1608 it to
find libraries and programs with nonstandard names
/locations.
1610 Report bugs to
<wine-devel@winehq.org
>.
1611 Wine home page
: <http
://www.winehq.org
>.
1616 if test "$ac_init_help" = "recursive"; then
1617 # If there are subdirs, report their specific --help.
1618 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1619 test -d "$ac_dir" ||
1620 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1625 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1627 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1628 # A ".." for each directory in $ac_dir_suffix.
1629 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1630 case $ac_top_builddir_sub in
1631 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1632 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1635 ac_abs_top_builddir
=$ac_pwd
1636 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1637 # for backward compatibility:
1638 ac_top_builddir
=$ac_top_build_prefix
1641 .
) # We are building in place.
1643 ac_top_srcdir
=$ac_top_builddir_sub
1644 ac_abs_top_srcdir
=$ac_pwd ;;
1645 [\\/]* | ?
:[\\/]* ) # Absolute name.
1646 ac_srcdir
=$srcdir$ac_dir_suffix;
1647 ac_top_srcdir
=$srcdir
1648 ac_abs_top_srcdir
=$srcdir ;;
1650 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1651 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1652 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1654 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1656 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1657 # Check for guested configure.
1658 if test -f "$ac_srcdir/configure.gnu"; then
1660 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1661 elif test -f "$ac_srcdir/configure"; then
1663 $SHELL "$ac_srcdir/configure" --help=recursive
1665 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1667 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1671 test -n "$ac_init_help" && exit $ac_status
1672 if $ac_init_version; then
1674 Wine configure
1.5.29
1675 generated by GNU Autoconf
2.69
1677 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1678 This configure
script is free software
; the Free Software Foundation
1679 gives unlimited permission to copy
, distribute and modify it.
1684 ## ------------------------ ##
1685 ## Autoconf initialization. ##
1686 ## ------------------------ ##
1688 # ac_fn_c_try_compile LINENO
1689 # --------------------------
1690 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1691 ac_fn_c_try_compile
()
1693 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1694 rm -f conftest.
$ac_objext
1695 if { { ac_try
="$ac_compile"
1697 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1698 *) ac_try_echo=$ac_try;;
1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701 $as_echo "$ac_try_echo"; } >&5
1702 (eval "$ac_compile") 2>conftest.err
1704 if test -s conftest.err; then
1705 grep -v '^ *+' conftest.err >conftest.er1
1706 cat conftest.er1 >&5
1707 mv -f conftest.er1 conftest.err
1709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710 test $ac_status = 0; } && {
1711 test -z "$ac_c_werror_flag" ||
1712 test ! -s conftest.err
1713 } && test -s conftest.$ac_objext; then :
1716 $as_echo "$as_me: failed program was:" >&5
1717 sed 's/^/| /' conftest.$ac_ext >&5
1721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1722 as_fn_set_status $ac_retval
1724 } # ac_fn_c_try_compile
1726 # ac_fn_cxx_try_compile LINENO
1727 # ----------------------------
1728 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1729 ac_fn_cxx_try_compile ()
1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 rm -f conftest.$ac_objext
1733 if { { ac_try="$ac_compile"
1735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1736 *) ac_try_echo
=$ac_try;;
1738 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740 (eval "$ac_compile") 2>conftest.err
1742 if test -s conftest.err
; then
1743 grep -v '^ *+' conftest.err
>conftest.er1
1744 cat conftest.er1
>&5
1745 mv -f conftest.er1 conftest.err
1747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1748 test $ac_status = 0; } && {
1749 test -z "$ac_cxx_werror_flag" ||
1750 test ! -s conftest.err
1751 } && test -s conftest.
$ac_objext; then :
1754 $as_echo "$as_me: failed program was:" >&5
1755 sed 's/^/| /' conftest.
$ac_ext >&5
1759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1760 as_fn_set_status
$ac_retval
1762 } # ac_fn_cxx_try_compile
1764 # ac_fn_c_try_link LINENO
1765 # -----------------------
1766 # Try to link conftest.$ac_ext, and return whether this succeeded.
1769 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1770 rm -f conftest.
$ac_objext conftest
$ac_exeext
1771 if { { ac_try
="$ac_link"
1773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1774 *) ac_try_echo=$ac_try;;
1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_link") 2>conftest.err
1780 if test -s conftest.err; then
1781 grep -v '^ *+' conftest.err >conftest.er1
1782 cat conftest.er1 >&5
1783 mv -f conftest.er1 conftest.err
1785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1786 test $ac_status = 0; } && {
1787 test -z "$ac_c_werror_flag" ||
1788 test ! -s conftest.err
1789 } && test -s conftest$ac_exeext && {
1790 test "$cross_compiling" = yes ||
1791 test -x conftest$ac_exeext
1795 $as_echo "$as_me: failed program was:" >&5
1796 sed 's/^/| /' conftest.$ac_ext >&5
1800 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1801 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1802 # interfere with the next link command; also delete a directory that is
1803 # left behind by Apple's compiler. We do this before executing the actions.
1804 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1805 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806 as_fn_set_status $ac_retval
1808 } # ac_fn_c_try_link
1810 # ac_fn_c_try_cpp LINENO
1811 # ----------------------
1812 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816 if { { ac_try="$ac_cpp conftest.$ac_ext"
1818 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1819 *) ac_try_echo
=$ac_try;;
1821 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1822 $as_echo "$ac_try_echo"; } >&5
1823 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1825 if test -s conftest.err
; then
1826 grep -v '^ *+' conftest.err
>conftest.er1
1827 cat conftest.er1
>&5
1828 mv -f conftest.er1 conftest.err
1830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1831 test $ac_status = 0; } > conftest.i
&& {
1832 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1833 test ! -s conftest.err
1837 $as_echo "$as_me: failed program was:" >&5
1838 sed 's/^/| /' conftest.
$ac_ext >&5
1842 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1843 as_fn_set_status
$ac_retval
1847 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1848 # -------------------------------------------------------
1849 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1850 # the include files in INCLUDES and setting the cache variable VAR
1852 ac_fn_c_check_header_mongrel
()
1854 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1855 if eval \
${$3+:} false
; then :
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1857 $as_echo_n "checking for $2... " >&6; }
1858 if eval \
${$3+:} false
; then :
1859 $as_echo_n "(cached) " >&6
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1863 $as_echo "$ac_res" >&6; }
1865 # Is the header compilable?
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1867 $as_echo_n "checking $2 usability... " >&6; }
1868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1869 /* end confdefs.h. */
1873 if ac_fn_c_try_compile
"$LINENO"; then :
1874 ac_header_compiler
=yes
1876 ac_header_compiler
=no
1878 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1880 $as_echo "$ac_header_compiler" >&6; }
1882 # Is the header present?
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1884 $as_echo_n "checking $2 presence... " >&6; }
1885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1886 /* end confdefs.h. */
1889 if ac_fn_c_try_cpp
"$LINENO"; then :
1890 ac_header_preproc
=yes
1892 ac_header_preproc
=no
1894 rm -f conftest.err conftest.i conftest.
$ac_ext
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1896 $as_echo "$ac_header_preproc" >&6; }
1898 # So? What about this header?
1899 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1902 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1904 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1908 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1910 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1912 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1914 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1916 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1917 ( $as_echo "## ------------------------------------ ##
1918 ## Report this to wine-devel@winehq.org ##
1919 ## ------------------------------------ ##"
1920 ) |
sed "s/^/$as_me: WARNING: /" >&2
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1924 $as_echo_n "checking for $2... " >&6; }
1925 if eval \
${$3+:} false
; then :
1926 $as_echo_n "(cached) " >&6
1928 eval "$3=\$ac_header_compiler"
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1932 $as_echo "$ac_res" >&6; }
1934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1936 } # ac_fn_c_check_header_mongrel
1938 # ac_fn_c_try_run LINENO
1939 # ----------------------
1940 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1941 # that executables *can* be run.
1944 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1945 if { { ac_try
="$ac_link"
1947 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1948 *) ac_try_echo=$ac_try;;
1950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1951 $as_echo "$ac_try_echo"; } >&5
1952 (eval "$ac_link") 2>&5
1954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1955 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1956 { { case "(($ac_try" in
1957 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1958 *) ac_try_echo
=$ac_try;;
1960 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1961 $as_echo "$ac_try_echo"; } >&5
1962 (eval "$ac_try") 2>&5
1964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1965 test $ac_status = 0; }; }; then :
1968 $as_echo "$as_me: program exited with status $ac_status" >&5
1969 $as_echo "$as_me: failed program was:" >&5
1970 sed 's/^/| /' conftest.
$ac_ext >&5
1972 ac_retval
=$ac_status
1974 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1975 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1976 as_fn_set_status
$ac_retval
1980 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1981 # -------------------------------------------------------
1982 # Tests whether HEADER exists and can be compiled using the include files in
1983 # INCLUDES, setting the cache variable VAR accordingly.
1984 ac_fn_c_check_header_compile
()
1986 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1988 $as_echo_n "checking for $2... " >&6; }
1989 if eval \
${$3+:} false
; then :
1990 $as_echo_n "(cached) " >&6
1992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1993 /* end confdefs.h. */
1997 if ac_fn_c_try_compile
"$LINENO"; then :
2002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2006 $as_echo "$ac_res" >&6; }
2007 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2009 } # ac_fn_c_check_header_compile
2011 # ac_fn_c_check_func LINENO FUNC VAR
2012 # ----------------------------------
2013 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2014 ac_fn_c_check_func
()
2016 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2018 $as_echo_n "checking for $2... " >&6; }
2019 if eval \
${$3+:} false
; then :
2020 $as_echo_n "(cached) " >&6
2022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2023 /* end confdefs.h. */
2024 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2026 #define $2 innocuous_$2
2028 /* System header to define __stub macros and hopefully few prototypes,
2029 which can conflict with char $2 (); below.
2030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2031 <limits.h> exists even on freestanding compilers. */
2034 # include <limits.h>
2036 # include <assert.h>
2041 /* Override any GCC internal prototype to avoid an error.
2042 Use char because int might match the return type of a GCC
2043 builtin and then its argument prototype would still apply. */
2048 /* The GNU C library defines this for functions which it implements
2049 to always fail with ENOSYS. Some functions are actually named
2050 something starting with __ and the normal name is an alias. */
2051 #if defined __stub_$2 || defined __stub___$2
2063 if ac_fn_c_try_link
"$LINENO"; then :
2068 rm -f core conftest.err conftest.
$ac_objext \
2069 conftest
$ac_exeext conftest.
$ac_ext
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2073 $as_echo "$ac_res" >&6; }
2074 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2076 } # ac_fn_c_check_func
2078 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2079 # ----------------------------------------------------
2080 # Tries to find if the field MEMBER exists in type AGGR, after including
2081 # INCLUDES, setting cache variable VAR accordingly.
2082 ac_fn_c_check_member
()
2084 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2086 $as_echo_n "checking for $2.$3... " >&6; }
2087 if eval \
${$4+:} false
; then :
2088 $as_echo_n "(cached) " >&6
2090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2091 /* end confdefs.h. */
2103 if ac_fn_c_try_compile
"$LINENO"; then :
2106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2107 /* end confdefs.h. */
2113 if (sizeof ac_aggr.$3)
2119 if ac_fn_c_try_compile
"$LINENO"; then :
2124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2130 $as_echo "$ac_res" >&6; }
2131 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2133 } # ac_fn_c_check_member
2135 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2136 # -------------------------------------------
2137 # Tests whether TYPE exists after having included INCLUDES, setting cache
2138 # variable VAR accordingly.
2139 ac_fn_c_check_type
()
2141 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2143 $as_echo_n "checking for $2... " >&6; }
2144 if eval \
${$3+:} false
; then :
2145 $as_echo_n "(cached) " >&6
2148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2149 /* end confdefs.h. */
2160 if ac_fn_c_try_compile
"$LINENO"; then :
2161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2162 /* end confdefs.h. */
2173 if ac_fn_c_try_compile
"$LINENO"; then :
2178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2184 $as_echo "$ac_res" >&6; }
2185 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2187 } # ac_fn_c_check_type
2188 cat >config.log
<<_ACEOF
2189 This file contains any messages produced by compilers while
2190 running configure, to aid debugging if configure makes a mistake.
2192 It was created by Wine $as_me 1.5.29, which was
2193 generated by GNU Autoconf 2.69. Invocation command line was
2205 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2206 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2207 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2208 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2209 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2211 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2212 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2214 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2215 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2216 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2217 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2218 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2219 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2220 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2228 test -z "$as_dir" && as_dir
=.
2229 $as_echo "PATH: $as_dir"
2245 # Keep a trace of the command line.
2246 # Strip out --no-create and --no-recursion so they do not pile up.
2247 # Strip out --silent because we don't want to record it for future runs.
2248 # Also quote any args containing shell meta-characters.
2249 # Make two passes to allow for proper duplicate-argument suppression.
2253 ac_must_keep_next
=false
2259 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2260 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2261 |
-silent |
--silent |
--silen |
--sile |
--sil)
2264 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2267 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2269 as_fn_append ac_configure_args1
" '$ac_arg'"
2270 if test $ac_must_keep_next = true
; then
2271 ac_must_keep_next
=false
# Got value, back to normal.
2274 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2275 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2276 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2277 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2278 case "$ac_configure_args0 " in
2279 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2282 -* ) ac_must_keep_next
=true
;;
2285 as_fn_append ac_configure_args
" '$ac_arg'"
2290 { ac_configure_args0
=; unset ac_configure_args0
;}
2291 { ac_configure_args1
=; unset ac_configure_args1
;}
2293 # When interrupted or exit'd, cleanup temporary files, and complete
2294 # config.log. We remove comments because anyway the quotes in there
2295 # would cause problems or look ugly.
2296 # WARNING: Use '\'' to represent an apostrophe within the trap.
2297 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2298 trap 'exit_status=$?
2299 # Save into config.log some information that might help in debugging.
2303 $as_echo "## ---------------- ##
2304 ## Cache variables. ##
2305 ## ---------------- ##"
2307 # The following way of writing the cache mishandles newlines in values,
2309 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2310 eval ac_val=\$$ac_var
2314 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2315 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2318 _ | IFS | as_nl) ;; #(
2319 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2320 *) { eval $ac_var=; unset $ac_var;} ;;
2325 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2326 *${as_nl}ac_space=\ *)
2328 "s/'\''/'\''\\\\'\'''\''/g;
2329 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2332 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2339 $as_echo "## ----------------- ##
2340 ## Output variables. ##
2341 ## ----------------- ##"
2343 for ac_var in $ac_subst_vars
2345 eval ac_val=\$$ac_var
2347 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2349 $as_echo "$ac_var='\''$ac_val'\''"
2353 if test -n "$ac_subst_files"; then
2354 $as_echo "## ------------------- ##
2355 ## File substitutions. ##
2356 ## ------------------- ##"
2358 for ac_var
in $ac_subst_files
2360 eval ac_val
=\$
$ac_var
2362 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2364 $as_echo "$ac_var='\''$ac_val'\''"
2369 if test -s confdefs.h; then
2370 $as_echo "## ----------- ##
2377 test "$ac_signal" != 0 &&
2378 $as_echo "$as_me: caught signal $ac_signal"
2379 $as_echo "$as_me: exit $exit_status"
2381 rm -f core *.core core.conftest.* &&
2382 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2385 for ac_signal
in 1 2 13 15; do
2386 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2390 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2391 rm -f -r conftest
* confdefs.h
2393 $as_echo "/* confdefs.h */" > confdefs.h
2395 # Predefined preprocessor variables.
2397 cat >>confdefs.h
<<_ACEOF
2398 #define PACKAGE_NAME "$PACKAGE_NAME"
2401 cat >>confdefs.h
<<_ACEOF
2402 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2405 cat >>confdefs.h
<<_ACEOF
2406 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2409 cat >>confdefs.h
<<_ACEOF
2410 #define PACKAGE_STRING "$PACKAGE_STRING"
2413 cat >>confdefs.h
<<_ACEOF
2414 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2417 cat >>confdefs.h
<<_ACEOF
2418 #define PACKAGE_URL "$PACKAGE_URL"
2422 # Let the site file select an alternate cache file if it wants to.
2423 # Prefer an explicitly selected file to automatically selected ones.
2426 if test -n "$CONFIG_SITE"; then
2427 # We do not want a PATH search for config.site.
2428 case $CONFIG_SITE in #((
2429 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2430 */*) ac_site_file1
=$CONFIG_SITE;;
2431 *) ac_site_file1
=.
/$CONFIG_SITE;;
2433 elif test "x$prefix" != xNONE
; then
2434 ac_site_file1
=$prefix/share
/config.site
2435 ac_site_file2
=$prefix/etc
/config.site
2437 ac_site_file1
=$ac_default_prefix/share
/config.site
2438 ac_site_file2
=$ac_default_prefix/etc
/config.site
2440 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2442 test "x$ac_site_file" = xNONE
&& continue
2443 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2445 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2446 sed 's/^/| /' "$ac_site_file" >&5
2448 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2450 as_fn_error $?
"failed to load site script $ac_site_file
2451 See \`config.log' for more details" "$LINENO" 5; }
2455 if test -r "$cache_file"; then
2456 # Some versions of bash will fail to source /dev/null (special files
2457 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2458 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2460 $as_echo "$as_me: loading cache $cache_file" >&6;}
2462 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2463 *) .
"./$cache_file";;
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2468 $as_echo "$as_me: creating cache $cache_file" >&6;}
2472 # Check that the precious variables saved in the cache have kept the same
2474 ac_cache_corrupted
=false
2475 for ac_var
in $ac_precious_vars; do
2476 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2477 eval ac_new_set
=\
$ac_env_${ac_var}_set
2478 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2479 eval ac_new_val
=\
$ac_env_${ac_var}_value
2480 case $ac_old_set,$ac_new_set in
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2483 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2484 ac_cache_corrupted
=: ;;
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2487 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2488 ac_cache_corrupted
=: ;;
2491 if test "x$ac_old_val" != "x$ac_new_val"; then
2492 # differences in whitespace do not lead to failure.
2493 ac_old_val_w
=`echo x $ac_old_val`
2494 ac_new_val_w
=`echo x $ac_new_val`
2495 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2497 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2498 ac_cache_corrupted
=:
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2501 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2502 eval $ac_var=\
$ac_old_val
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2505 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2507 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2510 # Pass precious variables to config.status.
2511 if test "$ac_new_set" = set; then
2513 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2514 *) ac_arg
=$ac_var=$ac_new_val ;;
2516 case " $ac_configure_args " in
2517 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2518 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2522 if $ac_cache_corrupted; then
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2526 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2527 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2529 ## -------------------- ##
2530 ## Main body of script. ##
2531 ## -------------------- ##
2534 ac_cpp
='$CPP $CPPFLAGS'
2535 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2536 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2537 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2541 ac_config_headers
="$ac_config_headers include/config.h"
2544 for ac_dir
in tools
"$srcdir"/tools
; do
2545 if test -f "$ac_dir/install-sh"; then
2547 ac_install_sh
="$ac_aux_dir/install-sh -c"
2549 elif test -f "$ac_dir/install.sh"; then
2551 ac_install_sh
="$ac_aux_dir/install.sh -c"
2553 elif test -f "$ac_dir/shtool"; then
2555 ac_install_sh
="$ac_aux_dir/shtool install -c"
2559 if test -z "$ac_aux_dir"; then
2560 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2563 # These three variables are undocumented and unsupported,
2564 # and are intended to be withdrawn in a future Autoconf release.
2565 # They can cause serious problems if a builder's source tree is in a directory
2566 # whose full name contains unusual characters.
2567 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2568 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2569 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2575 # Check whether --enable-win16 was given.
2576 if test "${enable_win16+set}" = set; then :
2577 enableval
=$enable_win16;
2580 # Check whether --enable-win64 was given.
2581 if test "${enable_win64+set}" = set; then :
2582 enableval
=$enable_win64;
2585 # Check whether --enable-tests was given.
2586 if test "${enable_tests+set}" = set; then :
2587 enableval
=$enable_tests;
2590 # Check whether --enable-maintainer-mode was given.
2591 if test "${enable_maintainer_mode+set}" = set; then :
2592 enableval
=$enable_maintainer_mode;
2597 # Check whether --with-alsa was given.
2598 if test "${with_alsa+set}" = set; then :
2599 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2603 # Check whether --with-capi was given.
2604 if test "${with_capi+set}" = set; then :
2605 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
2609 # Check whether --with-cms was given.
2610 if test "${with_cms+set}" = set; then :
2615 # Check whether --with-coreaudio was given.
2616 if test "${with_coreaudio+set}" = set; then :
2617 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2621 # Check whether --with-cups was given.
2622 if test "${with_cups+set}" = set; then :
2627 # Check whether --with-curses was given.
2628 if test "${with_curses+set}" = set; then :
2629 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2633 # Check whether --with-dbus was given.
2634 if test "${with_dbus+set}" = set; then :
2639 # Check whether --with-fontconfig was given.
2640 if test "${with_fontconfig+set}" = set; then :
2641 withval
=$with_fontconfig;
2645 # Check whether --with-freetype was given.
2646 if test "${with_freetype+set}" = set; then :
2647 withval
=$with_freetype;
2651 # Check whether --with-gettext was given.
2652 if test "${with_gettext+set}" = set; then :
2653 withval
=$with_gettext;
2657 # Check whether --with-gettextpo was given.
2658 if test "${with_gettextpo+set}" = set; then :
2659 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
2663 # Check whether --with-gphoto was given.
2664 if test "${with_gphoto+set}" = set; then :
2665 withval
=$with_gphoto;
2669 # Check whether --with-glu was given.
2670 if test "${with_glu+set}" = set; then :
2675 # Check whether --with-gnutls was given.
2676 if test "${with_gnutls+set}" = set; then :
2677 withval
=$with_gnutls;
2681 # Check whether --with-gsm was given.
2682 if test "${with_gsm+set}" = set; then :
2683 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2687 # Check whether --with-gstreamer was given.
2688 if test "${with_gstreamer+set}" = set; then :
2689 withval
=$with_gstreamer;
2693 # Check whether --with-hal was given.
2694 if test "${with_hal+set}" = set; then :
2699 # Check whether --with-jpeg was given.
2700 if test "${with_jpeg+set}" = set; then :
2701 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2705 # Check whether --with-ldap was given.
2706 if test "${with_ldap+set}" = set; then :
2707 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2711 # Check whether --with-mpg123 was given.
2712 if test "${with_mpg123+set}" = set; then :
2713 withval
=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h
=no
; fi
2717 # Check whether --with-openal was given.
2718 if test "${with_openal+set}" = set; then :
2719 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2723 # Check whether --with-opencl was given.
2724 if test "${with_opencl+set}" = set; then :
2725 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
2729 # Check whether --with-opengl was given.
2730 if test "${with_opengl+set}" = set; then :
2731 withval
=$with_opengl;
2735 # Check whether --with-osmesa was given.
2736 if test "${with_osmesa+set}" = set; then :
2737 withval
=$with_osmesa;
2741 # Check whether --with-oss was given.
2742 if test "${with_oss+set}" = set; then :
2747 # Check whether --with-png was given.
2748 if test "${with_png+set}" = set; then :
2749 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2753 # Check whether --with-pthread was given.
2754 if test "${with_pthread+set}" = set; then :
2755 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2759 # Check whether --with-sane was given.
2760 if test "${with_sane+set}" = set; then :
2765 # Check whether --with-tiff was given.
2766 if test "${with_tiff+set}" = set; then :
2767 withval
=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h
=no
; fi
2771 # Check whether --with-v4l was given.
2772 if test "${with_v4l+set}" = set; then :
2777 # Check whether --with-xcomposite was given.
2778 if test "${with_xcomposite+set}" = set; then :
2779 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2783 # Check whether --with-xcursor was given.
2784 if test "${with_xcursor+set}" = set; then :
2785 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2789 # Check whether --with-xinerama was given.
2790 if test "${with_xinerama+set}" = set; then :
2791 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2795 # Check whether --with-xinput was given.
2796 if test "${with_xinput+set}" = set; then :
2797 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2801 # Check whether --with-xinput2 was given.
2802 if test "${with_xinput2+set}" = set; then :
2803 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
2807 # Check whether --with-xml was given.
2808 if test "${with_xml+set}" = set; then :
2813 # Check whether --with-xrandr was given.
2814 if test "${with_xrandr+set}" = set; then :
2815 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2819 # Check whether --with-xrender was given.
2820 if test "${with_xrender+set}" = set; then :
2821 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2825 # Check whether --with-xshape was given.
2826 if test "${with_xshape+set}" = set; then :
2827 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2831 # Check whether --with-xshm was given.
2832 if test "${with_xshm+set}" = set; then :
2833 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2837 # Check whether --with-xslt was given.
2838 if test "${with_xslt+set}" = set; then :
2843 # Check whether --with-xxf86vm was given.
2844 if test "${with_xxf86vm+set}" = set; then :
2845 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
2849 # Check whether --with-zlib was given.
2850 if test "${with_zlib+set}" = set; then :
2851 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
2856 # Check whether --with-wine-tools was given.
2857 if test "${with_wine_tools+set}" = set; then :
2858 withval
=$with_wine_tools;
2862 # Check whether --with-wine64 was given.
2863 if test "${with_wine64+set}" = set; then :
2864 withval
=$with_wine64;
2868 # Make sure we can run config.sub.
2869 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2870 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2873 $as_echo_n "checking build system type... " >&6; }
2874 if ${ac_cv_build+:} false
; then :
2875 $as_echo_n "(cached) " >&6
2877 ac_build_alias
=$build_alias
2878 test "x$ac_build_alias" = x
&&
2879 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2880 test "x$ac_build_alias" = x
&&
2881 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2882 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2883 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2887 $as_echo "$ac_cv_build" >&6; }
2888 case $ac_cv_build in
2890 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2893 ac_save_IFS
=$IFS; IFS
='-'
2899 # Remember, the first character of IFS is used to create $*,
2900 # except with old shells:
2903 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2907 $as_echo_n "checking host system type... " >&6; }
2908 if ${ac_cv_host+:} false
; then :
2909 $as_echo_n "(cached) " >&6
2911 if test "x$host_alias" = x
; then
2912 ac_cv_host
=$ac_cv_build
2914 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2915 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2920 $as_echo "$ac_cv_host" >&6; }
2923 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2926 ac_save_IFS
=$IFS; IFS
='-'
2932 # Remember, the first character of IFS is used to create $*,
2933 # except with old shells:
2936 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2942 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2943 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
2944 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2950 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2952 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2953 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2954 $as_echo_n "(cached) " >&6
2956 cat >conftest.
make <<\_ACEOF
2959 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2961 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2962 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2964 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2966 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2970 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2972 $as_echo "yes" >&6; }
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2976 $as_echo "no" >&6; }
2977 SET_MAKE
="MAKE=${MAKE-make}"
2981 ac_cpp
='$CPP $CPPFLAGS'
2982 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2983 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2984 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2985 if test -n "$ac_tool_prefix"; then
2986 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2987 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2989 $as_echo_n "checking for $ac_word... " >&6; }
2990 if ${ac_cv_prog_CC+:} false
; then :
2991 $as_echo_n "(cached) " >&6
2993 if test -n "$CC"; then
2994 ac_cv_prog_CC
="$CC" # Let the user override the test.
2996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3000 test -z "$as_dir" && as_dir
=.
3001 for ac_exec_ext
in '' $ac_executable_extensions; do
3002 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3003 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3014 if test -n "$CC"; then
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3016 $as_echo "$CC" >&6; }
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3019 $as_echo "no" >&6; }
3024 if test -z "$ac_cv_prog_CC"; then
3026 # Extract the first word of "gcc", so it can be a program name with args.
3027 set dummy gcc
; ac_word
=$2
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3029 $as_echo_n "checking for $ac_word... " >&6; }
3030 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3031 $as_echo_n "(cached) " >&6
3033 if test -n "$ac_ct_CC"; then
3034 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3040 test -z "$as_dir" && as_dir
=.
3041 for ac_exec_ext
in '' $ac_executable_extensions; do
3042 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3043 ac_cv_prog_ac_ct_CC
="gcc"
3044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3053 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3054 if test -n "$ac_ct_CC"; then
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3056 $as_echo "$ac_ct_CC" >&6; }
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3059 $as_echo "no" >&6; }
3062 if test "x$ac_ct_CC" = x
; then
3065 case $cross_compiling:$ac_tool_warned in
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3069 ac_tool_warned
=yes ;;
3077 if test -z "$CC"; then
3078 if test -n "$ac_tool_prefix"; then
3079 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3080 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3082 $as_echo_n "checking for $ac_word... " >&6; }
3083 if ${ac_cv_prog_CC+:} false
; then :
3084 $as_echo_n "(cached) " >&6
3086 if test -n "$CC"; then
3087 ac_cv_prog_CC
="$CC" # Let the user override the test.
3089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3093 test -z "$as_dir" && as_dir
=.
3094 for ac_exec_ext
in '' $ac_executable_extensions; do
3095 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3096 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3107 if test -n "$CC"; then
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3109 $as_echo "$CC" >&6; }
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3112 $as_echo "no" >&6; }
3118 if test -z "$CC"; then
3119 # Extract the first word of "cc", so it can be a program name with args.
3120 set dummy cc
; ac_word
=$2
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3122 $as_echo_n "checking for $ac_word... " >&6; }
3123 if ${ac_cv_prog_CC+:} false
; then :
3124 $as_echo_n "(cached) " >&6
3126 if test -n "$CC"; then
3127 ac_cv_prog_CC
="$CC" # Let the user override the test.
3130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3134 test -z "$as_dir" && as_dir
=.
3135 for ac_exec_ext
in '' $ac_executable_extensions; do
3136 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3137 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3138 ac_prog_rejected
=yes
3142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3149 if test $ac_prog_rejected = yes; then
3150 # We found a bogon in the path, so make sure we never use it.
3151 set dummy
$ac_cv_prog_CC
3153 if test $# != 0; then
3154 # We chose a different compiler from the bogus one.
3155 # However, it has the same basename, so the bogon will be chosen
3156 # first if we set CC to just the basename; use the full file name.
3158 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3164 if test -n "$CC"; then
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3166 $as_echo "$CC" >&6; }
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3169 $as_echo "no" >&6; }
3174 if test -z "$CC"; then
3175 if test -n "$ac_tool_prefix"; then
3176 for ac_prog
in cl.exe
3178 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3179 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3181 $as_echo_n "checking for $ac_word... " >&6; }
3182 if ${ac_cv_prog_CC+:} false
; then :
3183 $as_echo_n "(cached) " >&6
3185 if test -n "$CC"; then
3186 ac_cv_prog_CC
="$CC" # Let the user override the test.
3188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3192 test -z "$as_dir" && as_dir
=.
3193 for ac_exec_ext
in '' $ac_executable_extensions; do
3194 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3195 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3206 if test -n "$CC"; then
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3208 $as_echo "$CC" >&6; }
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3211 $as_echo "no" >&6; }
3215 test -n "$CC" && break
3218 if test -z "$CC"; then
3220 for ac_prog
in cl.exe
3222 # Extract the first word of "$ac_prog", so it can be a program name with args.
3223 set dummy
$ac_prog; ac_word
=$2
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3225 $as_echo_n "checking for $ac_word... " >&6; }
3226 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3227 $as_echo_n "(cached) " >&6
3229 if test -n "$ac_ct_CC"; then
3230 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3236 test -z "$as_dir" && as_dir
=.
3237 for ac_exec_ext
in '' $ac_executable_extensions; do
3238 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3239 ac_cv_prog_ac_ct_CC
="$ac_prog"
3240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3249 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3250 if test -n "$ac_ct_CC"; then
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3252 $as_echo "$ac_ct_CC" >&6; }
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255 $as_echo "no" >&6; }
3259 test -n "$ac_ct_CC" && break
3262 if test "x$ac_ct_CC" = x
; then
3265 case $cross_compiling:$ac_tool_warned in
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3269 ac_tool_warned
=yes ;;
3278 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3280 as_fn_error $?
"no acceptable C compiler found in \$PATH
3281 See \`config.log' for more details" "$LINENO" 5; }
3283 # Provide some information about the compiler.
3284 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3287 for ac_option
in --version -v -V -qversion; do
3288 { { ac_try
="$ac_compiler $ac_option >&5"
3290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3291 *) ac_try_echo=$ac_try;;
3293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3294 $as_echo "$ac_try_echo"; } >&5
3295 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3297 if test -s conftest.err; then
3299 ... rest of stderr output deleted ...
3300 10q' conftest.err >conftest.er1
3301 cat conftest.er1 >&5
3303 rm -f conftest.er1 conftest.err
3304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3305 test $ac_status = 0; }
3308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3309 /* end confdefs.h. */
3319 ac_clean_files_save=$ac_clean_files
3320 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3321 # Try to create an executable without -o first, disregard a.out.
3322 # It will help us diagnose broken compilers, and finding out an intuition
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3325 $as_echo_n "checking whether the C compiler works... " >&6; }
3326 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3328 # The possible output files:
3329 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3332 for ac_file in $ac_files
3335 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3336 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3341 if { { ac_try="$ac_link_default"
3343 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3344 *) ac_try_echo
=$ac_try;;
3346 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3347 $as_echo "$ac_try_echo"; } >&5
3348 (eval "$ac_link_default") 2>&5
3350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3351 test $ac_status = 0; }; then :
3352 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3353 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3354 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3355 # so that the user can short-circuit this test for compilers unknown to
3357 for ac_file
in $ac_files ''
3359 test -f "$ac_file" ||
continue
3361 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3364 # We found the default executable, but exeext='' is most
3368 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3370 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3372 # We set ac_cv_exeext here because the later test for it is not
3373 # safe: cross compilers may not add the suffix if given an `-o'
3374 # argument, so we may need to know it at that point already.
3375 # Even if this section looks crufty: it has the advantage of
3382 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3387 if test -z "$ac_file"; then :
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3389 $as_echo "no" >&6; }
3390 $as_echo "$as_me: failed program was:" >&5
3391 sed 's/^/| /' conftest.
$ac_ext >&5
3393 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3395 as_fn_error
77 "C compiler cannot create executables
3396 See \`config.log' for more details" "$LINENO" 5; }
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3399 $as_echo "yes" >&6; }
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3402 $as_echo_n "checking for C compiler default output file name... " >&6; }
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3404 $as_echo "$ac_file" >&6; }
3405 ac_exeext
=$ac_cv_exeext
3407 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3408 ac_clean_files
=$ac_clean_files_save
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3410 $as_echo_n "checking for suffix of executables... " >&6; }
3411 if { { ac_try
="$ac_link"
3413 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3414 *) ac_try_echo=$ac_try;;
3416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3417 $as_echo "$ac_try_echo"; } >&5
3418 (eval "$ac_link") 2>&5
3420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3421 test $ac_status = 0; }; then :
3422 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3423 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3424 # work properly (i.e., refer to `conftest.exe'), while it won't with
3426 for ac_file
in conftest.exe conftest conftest.
*; do
3427 test -f "$ac_file" ||
continue
3429 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3430 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3436 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3437 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3438 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3439 See \`config.log' for more details" "$LINENO" 5; }
3441 rm -f conftest conftest
$ac_cv_exeext
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3443 $as_echo "$ac_cv_exeext" >&6; }
3445 rm -f conftest.
$ac_ext
3446 EXEEXT
=$ac_cv_exeext
3448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3449 /* end confdefs.h. */
3454 FILE *f = fopen ("conftest.out", "w");
3455 return ferror (f) || fclose (f) != 0;
3461 ac_clean_files
="$ac_clean_files conftest.out"
3462 # Check that the compiler produces executables we can run. If not, either
3463 # the compiler is broken, or we cross compile.
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3465 $as_echo_n "checking whether we are cross compiling... " >&6; }
3466 if test "$cross_compiling" != yes; then
3467 { { ac_try
="$ac_link"
3469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3470 *) ac_try_echo=$ac_try;;
3472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3473 $as_echo "$ac_try_echo"; } >&5
3474 (eval "$ac_link") 2>&5
3476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3477 test $ac_status = 0; }
3478 if { ac_try='./conftest$ac_cv_exeext'
3479 { { case "(($ac_try" in
3480 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3481 *) ac_try_echo
=$ac_try;;
3483 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3484 $as_echo "$ac_try_echo"; } >&5
3485 (eval "$ac_try") 2>&5
3487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3488 test $ac_status = 0; }; }; then
3491 if test "$cross_compiling" = maybe
; then
3494 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3496 as_fn_error $?
"cannot run C compiled programs.
3497 If you meant to cross compile, use \`--host'.
3498 See \`config.log' for more details" "$LINENO" 5; }
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3503 $as_echo "$cross_compiling" >&6; }
3505 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3506 ac_clean_files
=$ac_clean_files_save
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3508 $as_echo_n "checking for suffix of object files... " >&6; }
3509 if ${ac_cv_objext+:} false
; then :
3510 $as_echo_n "(cached) " >&6
3512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3513 /* end confdefs.h. */
3523 rm -f conftest.o conftest.obj
3524 if { { ac_try
="$ac_compile"
3526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3527 *) ac_try_echo=$ac_try;;
3529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3530 $as_echo "$ac_try_echo"; } >&5
3531 (eval "$ac_compile") 2>&5
3533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3534 test $ac_status = 0; }; then :
3535 for ac_file in conftest.o conftest.obj conftest.*; do
3536 test -f "$ac_file" || continue;
3538 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3539 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3544 $as_echo "$as_me: failed program was:" >&5
3545 sed 's/^/| /' conftest.$ac_ext >&5
3547 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3549 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3550 See \
`config.log' for more details" "$LINENO" 5; }
3552 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3555 $as_echo "$ac_cv_objext" >&6; }
3556 OBJEXT=$ac_cv_objext
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3559 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3560 if ${ac_cv_c_compiler_gnu+:} false; then :
3561 $as_echo_n "(cached) " >&6
3563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3564 /* end confdefs.h. */
3577 if ac_fn_c_try_compile "$LINENO"; then :
3582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3583 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3587 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3588 if test $ac_compiler_gnu = yes; then
3593 ac_test_CFLAGS=${CFLAGS+set}
3594 ac_save_CFLAGS=$CFLAGS
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3596 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3597 if ${ac_cv_prog_cc_g+:} false; then :
3598 $as_echo_n "(cached) " >&6
3600 ac_save_c_werror_flag=$ac_c_werror_flag
3601 ac_c_werror_flag=yes
3604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605 /* end confdefs.h. */
3615 if ac_fn_c_try_compile "$LINENO"; then :
3619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3620 /* end confdefs.h. */
3630 if ac_fn_c_try_compile "$LINENO"; then :
3633 ac_c_werror_flag=$ac_save_c_werror_flag
3635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3636 /* end confdefs.h. */
3646 if ac_fn_c_try_compile "$LINENO"; then :
3649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3654 ac_c_werror_flag=$ac_save_c_werror_flag
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3657 $as_echo "$ac_cv_prog_cc_g" >&6; }
3658 if test "$ac_test_CFLAGS" = set; then
3659 CFLAGS=$ac_save_CFLAGS
3660 elif test $ac_cv_prog_cc_g = yes; then
3661 if test "$GCC" = yes; then
3667 if test "$GCC" = yes; then
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3674 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3675 if ${ac_cv_prog_cc_c89+:} false; then :
3676 $as_echo_n "(cached) " >&6
3678 ac_cv_prog_cc_c89=no
3680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3681 /* end confdefs.h. */
3685 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3686 struct buf { int x; };
3687 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3688 static char *e (p, i)
3694 static char *f (char * (*g) (char **, int), char **p, ...)
3699 s = g (p, va_arg (v,int));
3704 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3705 function prototypes and stuff, but not '\xHH' hex character constants.
3706 These don't provoke an error unfortunately, instead are silently treated
3707 as 'x'. The following induces an error, until -std is added to get
3708 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3709 array size at least. It's necessary to write '\x00'==0 to get something
3710 that's true only with -std. */
3711 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3713 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3714 inside strings and character constants. */
3716 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3718 int test (int i, double x);
3719 struct s1 {int (*f) (int a);};
3720 struct s2 {int (*f) (double a);};
3721 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3727 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3732 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3733 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3735 CC="$ac_save_CC $ac_arg"
3736 if ac_fn_c_try_compile "$LINENO"; then :
3737 ac_cv_prog_cc_c89=$ac_arg
3739 rm -f core conftest.err conftest.$ac_objext
3740 test "x$ac_cv_prog_cc_c89" != "xno" && break
3742 rm -f conftest.$ac_ext
3747 case "x$ac_cv_prog_cc_c89" in
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3750 $as_echo "none needed" >&6; } ;;
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3753 $as_echo "unsupported" >&6; } ;;
3755 CC="$CC $ac_cv_prog_cc_c89"
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3757 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3759 if test "x$ac_cv_prog_cc_c89" != xno; then :
3764 ac_cpp='$CPP $CPPFLAGS'
3765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3770 ac_cpp='$CXXCPP $CPPFLAGS'
3771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3774 if test -z "$CXX"; then
3775 if test -n "$CCC"; then
3778 if test -n "$ac_tool_prefix"; then
3779 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3781 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3782 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3784 $as_echo_n "checking for $ac_word... " >&6; }
3785 if ${ac_cv_prog_CXX+:} false; then :
3786 $as_echo_n "(cached) " >&6
3788 if test -n "$CXX"; then
3789 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3795 test -z "$as_dir" && as_dir=.
3796 for ac_exec_ext in '' $ac_executable_extensions; do
3797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3798 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3809 if test -n "$CXX"; then
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3811 $as_echo "$CXX" >&6; }
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3814 $as_echo "no" >&6; }
3818 test -n "$CXX" && break
3821 if test -z "$CXX"; then
3823 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3825 # Extract the first word of "$ac_prog", so it can be a program name with args.
3826 set dummy $ac_prog; ac_word=$2
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3828 $as_echo_n "checking for $ac_word... " >&6; }
3829 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3830 $as_echo_n "(cached) " >&6
3832 if test -n "$ac_ct_CXX"; then
3833 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3839 test -z "$as_dir" && as_dir=.
3840 for ac_exec_ext in '' $ac_executable_extensions; do
3841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3842 ac_cv_prog_ac_ct_CXX="$ac_prog"
3843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3852 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3853 if test -n "$ac_ct_CXX"; then
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3855 $as_echo "$ac_ct_CXX" >&6; }
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3858 $as_echo "no" >&6; }
3862 test -n "$ac_ct_CXX" && break
3865 if test "x$ac_ct_CXX" = x; then
3868 case $cross_compiling:$ac_tool_warned in
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3872 ac_tool_warned=yes ;;
3880 # Provide some information about the compiler.
3881 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3884 for ac_option in --version -v -V -qversion; do
3885 { { ac_try="$ac_compiler $ac_option >&5"
3887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3888 *) ac_try_echo
=$ac_try;;
3890 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3891 $as_echo "$ac_try_echo"; } >&5
3892 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3894 if test -s conftest.err
; then
3896 ... rest of stderr output deleted ...
3897 10q' conftest.err
>conftest.er1
3898 cat conftest.er1
>&5
3900 rm -f conftest.er1 conftest.err
3901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3902 test $ac_status = 0; }
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3906 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3907 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3908 $as_echo_n "(cached) " >&6
3910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3911 /* end confdefs.h. */
3924 if ac_fn_cxx_try_compile
"$LINENO"; then :
3929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3930 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3934 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3935 if test $ac_compiler_gnu = yes; then
3940 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3941 ac_save_CXXFLAGS
=$CXXFLAGS
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3943 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3944 if ${ac_cv_prog_cxx_g+:} false
; then :
3945 $as_echo_n "(cached) " >&6
3947 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3948 ac_cxx_werror_flag
=yes
3951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3952 /* end confdefs.h. */
3962 if ac_fn_cxx_try_compile
"$LINENO"; then :
3963 ac_cv_prog_cxx_g
=yes
3966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3967 /* end confdefs.h. */
3977 if ac_fn_cxx_try_compile
"$LINENO"; then :
3980 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h. */
3993 if ac_fn_cxx_try_compile
"$LINENO"; then :
3994 ac_cv_prog_cxx_g
=yes
3996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4001 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4004 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4005 if test "$ac_test_CXXFLAGS" = set; then
4006 CXXFLAGS
=$ac_save_CXXFLAGS
4007 elif test $ac_cv_prog_cxx_g = yes; then
4008 if test "$GXX" = yes; then
4014 if test "$GXX" = yes; then
4021 ac_cpp
='$CPP $CPPFLAGS'
4022 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4023 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4024 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4026 if test -n "$ac_tool_prefix"; then
4027 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4028 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4030 $as_echo_n "checking for $ac_word... " >&6; }
4031 if ${ac_cv_prog_CPPBIN+:} false
; then :
4032 $as_echo_n "(cached) " >&6
4034 if test -n "$CPPBIN"; then
4035 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4041 test -z "$as_dir" && as_dir
=.
4042 for ac_exec_ext
in '' $ac_executable_extensions; do
4043 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4044 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4054 CPPBIN
=$ac_cv_prog_CPPBIN
4055 if test -n "$CPPBIN"; then
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4057 $as_echo "$CPPBIN" >&6; }
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4060 $as_echo "no" >&6; }
4065 if test -z "$ac_cv_prog_CPPBIN"; then
4066 ac_ct_CPPBIN
=$CPPBIN
4067 # Extract the first word of "cpp", so it can be a program name with args.
4068 set dummy cpp
; ac_word
=$2
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4070 $as_echo_n "checking for $ac_word... " >&6; }
4071 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4072 $as_echo_n "(cached) " >&6
4074 if test -n "$ac_ct_CPPBIN"; then
4075 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4081 test -z "$as_dir" && as_dir
=.
4082 for ac_exec_ext
in '' $ac_executable_extensions; do
4083 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4084 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4094 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4095 if test -n "$ac_ct_CPPBIN"; then
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4097 $as_echo "$ac_ct_CPPBIN" >&6; }
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4100 $as_echo "no" >&6; }
4103 if test "x$ac_ct_CPPBIN" = x
; then
4106 case $cross_compiling:$ac_tool_warned in
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4110 ac_tool_warned
=yes ;;
4112 CPPBIN
=$ac_ct_CPPBIN
4115 CPPBIN
="$ac_cv_prog_CPPBIN"
4119 cat >>confdefs.h
<<_ACEOF
4120 #define EXEEXT "$ac_exeext"
4126 if test "x$enable_win64" = "xyes"
4131 notice_platform
="64-bit "
4138 notice_platform
="32-bit "
4141 enable_win16
=${enable_win16:-yes}
4143 with_fontconfig
=${with_fontconfig:-no}
4146 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4151 $as_echo_n "checking whether $CC works... " >&6; }
4153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4164 if ac_fn_c_try_link
"$LINENO"; then :
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4166 $as_echo "yes" >&6; }
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4169 $as_echo "no" >&6; }
4170 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4172 rm -f core conftest.err conftest.
$ac_objext \
4173 conftest
$ac_exeext conftest.
$ac_ext
4175 notice_platform
="32-bit "
4178 enable_win16
=${enable_win16:-yes}
4180 if test "x${GCC}" = "xyes"
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4183 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4185 /* end confdefs.h. */
4190 void func(__builtin_ms_va_list *args);
4195 if ac_fn_c_try_compile
"$LINENO"; then :
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4197 $as_echo "yes" >&6; }
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4200 $as_echo "no" >&6; }
4201 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4211 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4214 int ac_test(int i) { return i; }
4218 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4223 if ac_fn_c_try_link
"$LINENO"; then :
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4225 $as_echo "yes" >&6; }
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4228 $as_echo "no" >&6; }
4229 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4231 rm -f core conftest.err conftest.
$ac_objext \
4232 conftest
$ac_exeext conftest.
$ac_ext
4233 CFLAGS
="$CFLAGS -marm"
4235 *-mingw32*|
*-cygwin*)
4236 enable_win16
=${enable_win16:-no}
4237 CFLAGS
="$CFLAGS -D_WIN32"
4240 enable_win16
=${enable_win16:-yes}
4244 enable_win16
=${enable_win16:-no}
4245 enable_win64
=${enable_win64:-no}
4247 enable_winetest
=${enable_winetest:-$enable_tests}
4249 if test -n "$with_wine64"
4251 if test "x$enable_win64" = "xyes"
4253 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4254 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4258 enable_fonts
=${enable_fonts:-no}
4259 enable_server
=${enable_server:-no}
4260 enable_tools
=${enable_tools:-no}
4261 elif test "x$enable_win64" = "xyes"
4263 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4267 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4268 if ${wine_cv_toolsdir+:} false
; then :
4269 $as_echo_n "(cached) " >&6
4271 wine_cv_toolsdir
="$with_wine_tools"
4272 if test -z "$with_wine_tools"; then
4273 if test "$cross_compiling" = "yes"; then
4274 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4275 elif test -n "$with_wine64"; then
4276 wine_cv_toolsdir
="$with_wine64"
4279 if test -z "$wine_cv_toolsdir"; then
4280 wine_cv_toolsdir
="\$(top_builddir)"
4281 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4282 case "$wine_cv_toolsdir" in
4284 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4287 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4291 $as_echo "$wine_cv_toolsdir" >&6; }
4292 TOOLSDIR
=$wine_cv_toolsdir
4294 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4296 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4302 # Extract the first word of "$ac_prog", so it can be a program name with args.
4303 set dummy
$ac_prog; ac_word
=$2
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4305 $as_echo_n "checking for $ac_word... " >&6; }
4306 if ${ac_cv_prog_FLEX+:} false
; then :
4307 $as_echo_n "(cached) " >&6
4309 if test -n "$FLEX"; then
4310 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4316 test -z "$as_dir" && as_dir
=.
4317 for ac_exec_ext
in '' $ac_executable_extensions; do
4318 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4319 ac_cv_prog_FLEX
="$ac_prog"
4320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4329 FLEX
=$ac_cv_prog_FLEX
4330 if test -n "$FLEX"; then
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4332 $as_echo "$FLEX" >&6; }
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4335 $as_echo "no" >&6; }
4339 test -n "$FLEX" && break
4341 test -n "$FLEX" || FLEX
="none"
4343 if test "$FLEX" = "none"
4345 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4348 $as_echo_n "checking whether flex is recent enough... " >&6; }
4349 cat >conftest.l
<<EOF
4351 #include "prediluvian.h"
4355 if $FLEX -t conftest.l
>/dev
/null
2>&5
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4358 $as_echo "yes" >&6; }
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4361 $as_echo "no" >&6; }
4362 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4365 for ac_prog
in bison
4367 # Extract the first word of "$ac_prog", so it can be a program name with args.
4368 set dummy
$ac_prog; ac_word
=$2
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4370 $as_echo_n "checking for $ac_word... " >&6; }
4371 if ${ac_cv_prog_BISON+:} false
; then :
4372 $as_echo_n "(cached) " >&6
4374 if test -n "$BISON"; then
4375 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4381 test -z "$as_dir" && as_dir
=.
4382 for ac_exec_ext
in '' $ac_executable_extensions; do
4383 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4384 ac_cv_prog_BISON
="$ac_prog"
4385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4394 BISON
=$ac_cv_prog_BISON
4395 if test -n "$BISON"; then
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4397 $as_echo "$BISON" >&6; }
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4400 $as_echo "no" >&6; }
4404 test -n "$BISON" && break
4406 test -n "$BISON" || BISON
="none"
4408 if test "$BISON" = "none"
4410 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4413 if test -n "$ac_tool_prefix"; then
4414 for ac_prog
in ar gar
4416 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4417 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4419 $as_echo_n "checking for $ac_word... " >&6; }
4420 if ${ac_cv_prog_AR+:} false
; then :
4421 $as_echo_n "(cached) " >&6
4423 if test -n "$AR"; then
4424 ac_cv_prog_AR
="$AR" # Let the user override the test.
4426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4430 test -z "$as_dir" && as_dir
=.
4431 for ac_exec_ext
in '' $ac_executable_extensions; do
4432 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4433 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4444 if test -n "$AR"; then
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4446 $as_echo "$AR" >&6; }
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4449 $as_echo "no" >&6; }
4453 test -n "$AR" && break
4456 if test -z "$AR"; then
4458 for ac_prog
in ar gar
4460 # Extract the first word of "$ac_prog", so it can be a program name with args.
4461 set dummy
$ac_prog; ac_word
=$2
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4463 $as_echo_n "checking for $ac_word... " >&6; }
4464 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4465 $as_echo_n "(cached) " >&6
4467 if test -n "$ac_ct_AR"; then
4468 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4474 test -z "$as_dir" && as_dir
=.
4475 for ac_exec_ext
in '' $ac_executable_extensions; do
4476 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4477 ac_cv_prog_ac_ct_AR
="$ac_prog"
4478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4487 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4488 if test -n "$ac_ct_AR"; then
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4490 $as_echo "$ac_ct_AR" >&6; }
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4493 $as_echo "no" >&6; }
4497 test -n "$ac_ct_AR" && break
4500 if test "x$ac_ct_AR" = x
; then
4503 case $cross_compiling:$ac_tool_warned in
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4507 ac_tool_warned
=yes ;;
4515 if test -n "$ac_tool_prefix"; then
4516 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4517 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4519 $as_echo_n "checking for $ac_word... " >&6; }
4520 if ${ac_cv_prog_RANLIB+:} false
; then :
4521 $as_echo_n "(cached) " >&6
4523 if test -n "$RANLIB"; then
4524 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4530 test -z "$as_dir" && as_dir
=.
4531 for ac_exec_ext
in '' $ac_executable_extensions; do
4532 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4533 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4543 RANLIB
=$ac_cv_prog_RANLIB
4544 if test -n "$RANLIB"; then
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4546 $as_echo "$RANLIB" >&6; }
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4549 $as_echo "no" >&6; }
4554 if test -z "$ac_cv_prog_RANLIB"; then
4555 ac_ct_RANLIB
=$RANLIB
4556 # Extract the first word of "ranlib", so it can be a program name with args.
4557 set dummy ranlib
; ac_word
=$2
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4559 $as_echo_n "checking for $ac_word... " >&6; }
4560 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4561 $as_echo_n "(cached) " >&6
4563 if test -n "$ac_ct_RANLIB"; then
4564 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4570 test -z "$as_dir" && as_dir
=.
4571 for ac_exec_ext
in '' $ac_executable_extensions; do
4572 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4573 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4583 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4584 if test -n "$ac_ct_RANLIB"; then
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4586 $as_echo "$ac_ct_RANLIB" >&6; }
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4589 $as_echo "no" >&6; }
4592 if test "x$ac_ct_RANLIB" = x
; then
4595 case $cross_compiling:$ac_tool_warned in
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4599 ac_tool_warned
=yes ;;
4601 RANLIB
=$ac_ct_RANLIB
4604 RANLIB
="$ac_cv_prog_RANLIB"
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4608 $as_echo_n "checking whether ln -s works... " >&6; }
4610 if test "$LN_S" = "ln -s"; then
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4612 $as_echo "yes" >&6; }
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4615 $as_echo "no, using $LN_S" >&6; }
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4619 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4620 if ${ac_cv_path_GREP+:} false
; then :
4621 $as_echo_n "(cached) " >&6
4623 if test -z "$GREP"; then
4624 ac_path_GREP_found
=false
4625 # Loop through the user's path and test for each of PROGNAME-LIST
4626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4627 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4630 test -z "$as_dir" && as_dir
=.
4631 for ac_prog
in grep ggrep
; do
4632 for ac_exec_ext
in '' $ac_executable_extensions; do
4633 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4634 as_fn_executable_p
"$ac_path_GREP" ||
continue
4635 # Check for GNU ac_path_GREP and select it if it is found.
4636 # Check for GNU $ac_path_GREP
4637 case `"$ac_path_GREP" --version 2>&1` in
4639 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4642 $as_echo_n 0123456789 >"conftest.in"
4645 cat "conftest.in" "conftest.in" >"conftest.tmp"
4646 mv "conftest.tmp" "conftest.in"
4647 cp "conftest.in" "conftest.nl"
4648 $as_echo 'GREP' >> "conftest.nl"
4649 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4650 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4651 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4652 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4653 # Best one so far, save it but keep looking for a better one
4654 ac_cv_path_GREP
="$ac_path_GREP"
4655 ac_path_GREP_max
=$ac_count
4657 # 10*(2^10) chars as input seems more than enough
4658 test $ac_count -gt 10 && break
4660 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4663 $ac_path_GREP_found && break 3
4668 if test -z "$ac_cv_path_GREP"; then
4669 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4672 ac_cv_path_GREP
=$GREP
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4677 $as_echo "$ac_cv_path_GREP" >&6; }
4678 GREP
="$ac_cv_path_GREP"
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4682 $as_echo_n "checking for egrep... " >&6; }
4683 if ${ac_cv_path_EGREP+:} false
; then :
4684 $as_echo_n "(cached) " >&6
4686 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4687 then ac_cv_path_EGREP
="$GREP -E"
4689 if test -z "$EGREP"; then
4690 ac_path_EGREP_found
=false
4691 # Loop through the user's path and test for each of PROGNAME-LIST
4692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4693 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4696 test -z "$as_dir" && as_dir
=.
4697 for ac_prog
in egrep; do
4698 for ac_exec_ext
in '' $ac_executable_extensions; do
4699 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4700 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4701 # Check for GNU ac_path_EGREP and select it if it is found.
4702 # Check for GNU $ac_path_EGREP
4703 case `"$ac_path_EGREP" --version 2>&1` in
4705 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4708 $as_echo_n 0123456789 >"conftest.in"
4711 cat "conftest.in" "conftest.in" >"conftest.tmp"
4712 mv "conftest.tmp" "conftest.in"
4713 cp "conftest.in" "conftest.nl"
4714 $as_echo 'EGREP' >> "conftest.nl"
4715 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4716 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4717 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4718 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4719 # Best one so far, save it but keep looking for a better one
4720 ac_cv_path_EGREP
="$ac_path_EGREP"
4721 ac_path_EGREP_max
=$ac_count
4723 # 10*(2^10) chars as input seems more than enough
4724 test $ac_count -gt 10 && break
4726 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4729 $ac_path_EGREP_found && break 3
4734 if test -z "$ac_cv_path_EGREP"; then
4735 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4738 ac_cv_path_EGREP
=$EGREP
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4744 $as_echo "$ac_cv_path_EGREP" >&6; }
4745 EGREP
="$ac_cv_path_EGREP"
4748 # Extract the first word of "ldconfig", so it can be a program name with args.
4749 set dummy ldconfig
; ac_word
=$2
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4751 $as_echo_n "checking for $ac_word... " >&6; }
4752 if ${ac_cv_path_LDCONFIG+:} false
; then :
4753 $as_echo_n "(cached) " >&6
4757 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4761 for as_dir
in /sbin
/usr
/sbin
$PATH
4764 test -z "$as_dir" && as_dir
=.
4765 for ac_exec_ext
in '' $ac_executable_extensions; do
4766 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4767 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4775 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4779 LDCONFIG
=$ac_cv_path_LDCONFIG
4780 if test -n "$LDCONFIG"; then
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4782 $as_echo "$LDCONFIG" >&6; }
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4785 $as_echo "no" >&6; }
4789 # Find a good install program. We prefer a C program (faster),
4790 # so one script is as good as another. But avoid the broken or
4791 # incompatible versions:
4792 # SysV /etc/install, /usr/sbin/install
4793 # SunOS /usr/etc/install
4794 # IRIX /sbin/install
4796 # AmigaOS /C/install, which installs bootblocks on floppy discs
4797 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4798 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4799 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4800 # OS/2's system install, which has a completely different semantic
4801 # ./install, which can be erroneously created by make from ./install.sh.
4802 # Reject install programs that cannot install multiple files.
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4804 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4805 if test -z "$INSTALL"; then
4806 if ${ac_cv_path_install+:} false
; then :
4807 $as_echo_n "(cached) " >&6
4809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4813 test -z "$as_dir" && as_dir
=.
4814 # Account for people who put trailing slashes in PATH elements.
4815 case $as_dir/ in #((
4816 .
/ | .
// |
/[cC
]/* | \
4817 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4818 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4821 # OSF1 and SCO ODT 3.0 have their own names for install.
4822 # Don't use installbsd from OSF since it installs stuff as root
4824 for ac_prog
in ginstall scoinst
install; do
4825 for ac_exec_ext
in '' $ac_executable_extensions; do
4826 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4827 if test $ac_prog = install &&
4828 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4829 # AIX install. It has an incompatible calling convention.
4831 elif test $ac_prog = install &&
4832 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4833 # program-specific install script used by HP pwplus--don't use.
4836 rm -rf conftest.one conftest.two conftest.dir
4837 echo one
> conftest.one
4838 echo two
> conftest.two
4840 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4841 test -s conftest.one
&& test -s conftest.two
&&
4842 test -s conftest.dir
/conftest.one
&&
4843 test -s conftest.dir
/conftest.two
4845 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4858 rm -rf conftest.one conftest.two conftest.dir
4861 if test "${ac_cv_path_install+set}" = set; then
4862 INSTALL
=$ac_cv_path_install
4864 # As a last resort, use the slow shell script. Don't cache a
4865 # value for INSTALL within a source directory, because that will
4866 # break other packages using the cache if that directory is
4867 # removed, or if the value is a relative name.
4868 INSTALL
=$ac_install_sh
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4872 $as_echo "$INSTALL" >&6; }
4874 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4875 # It thinks the first close brace ends the variable substitution.
4876 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4878 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4880 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4883 [\\/$
]* | ?
:[\\/]* ) ;;
4884 *) INSTALL
="\\\$(top_srcdir)/$INSTALL" ;;
4887 for ac_prog
in lclint lint
4889 # Extract the first word of "$ac_prog", so it can be a program name with args.
4890 set dummy
$ac_prog; ac_word
=$2
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4892 $as_echo_n "checking for $ac_word... " >&6; }
4893 if ${ac_cv_prog_LINT+:} false
; then :
4894 $as_echo_n "(cached) " >&6
4896 if test -n "$LINT"; then
4897 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4903 test -z "$as_dir" && as_dir
=.
4904 for ac_exec_ext
in '' $ac_executable_extensions; do
4905 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4906 ac_cv_prog_LINT
="$ac_prog"
4907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4916 LINT
=$ac_cv_prog_LINT
4917 if test -n "$LINT"; then
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4919 $as_echo "$LINT" >&6; }
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4922 $as_echo "no" >&6; }
4926 test -n "$LINT" && break
4929 if test "$LINT" = "lint"
4931 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4935 for ac_prog
in fontforge
4937 # Extract the first word of "$ac_prog", so it can be a program name with args.
4938 set dummy
$ac_prog; ac_word
=$2
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4940 $as_echo_n "checking for $ac_word... " >&6; }
4941 if ${ac_cv_prog_FONTFORGE+:} false
; then :
4942 $as_echo_n "(cached) " >&6
4944 if test -n "$FONTFORGE"; then
4945 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4951 test -z "$as_dir" && as_dir
=.
4952 for ac_exec_ext
in '' $ac_executable_extensions; do
4953 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4954 ac_cv_prog_FONTFORGE
="$ac_prog"
4955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4964 FONTFORGE
=$ac_cv_prog_FONTFORGE
4965 if test -n "$FONTFORGE"; then
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4967 $as_echo "$FONTFORGE" >&6; }
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4970 $as_echo "no" >&6; }
4974 test -n "$FONTFORGE" && break
4976 test -n "$FONTFORGE" || FONTFORGE
="false"
4980 # Extract the first word of "$ac_prog", so it can be a program name with args.
4981 set dummy
$ac_prog; ac_word
=$2
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4983 $as_echo_n "checking for $ac_word... " >&6; }
4984 if ${ac_cv_prog_RSVG+:} false
; then :
4985 $as_echo_n "(cached) " >&6
4987 if test -n "$RSVG"; then
4988 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
4990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4994 test -z "$as_dir" && as_dir
=.
4995 for ac_exec_ext
in '' $ac_executable_extensions; do
4996 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4997 ac_cv_prog_RSVG
="$ac_prog"
4998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 RSVG
=$ac_cv_prog_RSVG
5008 if test -n "$RSVG"; then
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5010 $as_echo "$RSVG" >&6; }
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013 $as_echo "no" >&6; }
5017 test -n "$RSVG" && break
5019 test -n "$RSVG" || RSVG
="false"
5021 for ac_prog
in convert
5023 # Extract the first word of "$ac_prog", so it can be a program name with args.
5024 set dummy
$ac_prog; ac_word
=$2
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5026 $as_echo_n "checking for $ac_word... " >&6; }
5027 if ${ac_cv_prog_CONVERT+:} false
; then :
5028 $as_echo_n "(cached) " >&6
5030 if test -n "$CONVERT"; then
5031 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5037 test -z "$as_dir" && as_dir
=.
5038 for ac_exec_ext
in '' $ac_executable_extensions; do
5039 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5040 ac_cv_prog_CONVERT
="$ac_prog"
5041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5050 CONVERT
=$ac_cv_prog_CONVERT
5051 if test -n "$CONVERT"; then
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5053 $as_echo "$CONVERT" >&6; }
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5056 $as_echo "no" >&6; }
5060 test -n "$CONVERT" && break
5062 test -n "$CONVERT" || CONVERT
="false"
5064 for ac_prog
in icotool
5066 # Extract the first word of "$ac_prog", so it can be a program name with args.
5067 set dummy
$ac_prog; ac_word
=$2
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5069 $as_echo_n "checking for $ac_word... " >&6; }
5070 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5071 $as_echo_n "(cached) " >&6
5073 if test -n "$ICOTOOL"; then
5074 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5080 test -z "$as_dir" && as_dir
=.
5081 for ac_exec_ext
in '' $ac_executable_extensions; do
5082 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5083 ac_cv_prog_ICOTOOL
="$ac_prog"
5084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5093 ICOTOOL
=$ac_cv_prog_ICOTOOL
5094 if test -n "$ICOTOOL"; then
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5096 $as_echo "$ICOTOOL" >&6; }
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099 $as_echo "no" >&6; }
5103 test -n "$ICOTOOL" && break
5105 test -n "$ICOTOOL" || ICOTOOL
="false"
5107 for ac_prog
in msgfmt
5109 # Extract the first word of "$ac_prog", so it can be a program name with args.
5110 set dummy
$ac_prog; ac_word
=$2
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5112 $as_echo_n "checking for $ac_word... " >&6; }
5113 if ${ac_cv_prog_MSGFMT+:} false
; then :
5114 $as_echo_n "(cached) " >&6
5116 if test -n "$MSGFMT"; then
5117 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5123 test -z "$as_dir" && as_dir
=.
5124 for ac_exec_ext
in '' $ac_executable_extensions; do
5125 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5126 ac_cv_prog_MSGFMT
="$ac_prog"
5127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5136 MSGFMT
=$ac_cv_prog_MSGFMT
5137 if test -n "$MSGFMT"; then
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5139 $as_echo "$MSGFMT" >&6; }
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5142 $as_echo "no" >&6; }
5146 test -n "$MSGFMT" && break
5148 test -n "$MSGFMT" || MSGFMT
="false"
5151 if test "x$enable_maintainer_mode" != "xyes"
5156 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5157 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5159 if test "$CONVERT" = false
5161 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5164 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5165 convert_version
=`convert --version | head -n1`
5166 if test "x$convert_version" != "x"
5168 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5169 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5170 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5175 if test "$CONVERT" = false
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5178 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5179 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5182 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5186 if test "$ICOTOOL" = false
5188 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5191 $as_echo_n "checking for recent enough icotool... " >&6; }
5192 icotool_version
=`icotool --version | head -n1`
5193 if test "x$icotool_version" != "x"
5195 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5196 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5197 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5200 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5203 if test "$ICOTOOL" = false
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5206 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5207 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5210 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5216 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5219 test "x$with_gettext" != xno || MSGFMT
=false
5220 if test "$MSGFMT" != "false"
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5223 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5224 cat >conftest.po
<<EOF
5230 if $MSGFMT -o /dev
/null conftest.po
2>&5
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5233 $as_echo "yes" >&6; }
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5236 $as_echo "no" >&6; }
5240 if test "$MSGFMT" = false
; then :
5241 case "x$with_gettext" in
5242 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5244 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5245 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5251 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5252 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5253 $as_echo_n "(cached) " >&6
5255 ac_check_lib_save_LIBS
=$LIBS
5257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5258 /* end confdefs.h. */
5260 /* Override any GCC internal prototype to avoid an error.
5261 Use char because int might match the return type of a GCC
5262 builtin and then its argument prototype would still apply. */
5266 char i386_set_ldt ();
5270 return i386_set_ldt ();
5275 if ac_fn_c_try_link
"$LINENO"; then :
5276 ac_cv_lib_i386_i386_set_ldt
=yes
5278 ac_cv_lib_i386_i386_set_ldt
=no
5280 rm -f core conftest.err conftest.
$ac_objext \
5281 conftest
$ac_exeext conftest.
$ac_ext
5282 LIBS
=$ac_check_lib_save_LIBS
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5285 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5286 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5287 cat >>confdefs.h
<<_ACEOF
5288 #define HAVE_LIBI386 1
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5296 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5297 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5298 $as_echo_n "(cached) " >&6
5300 ac_check_lib_save_LIBS
=$LIBS
5301 LIBS
="-lossaudio $LIBS"
5302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5303 /* end confdefs.h. */
5305 /* Override any GCC internal prototype to avoid an error.
5306 Use char because int might match the return type of a GCC
5307 builtin and then its argument prototype would still apply. */
5315 return _oss_ioctl ();
5320 if ac_fn_c_try_link
"$LINENO"; then :
5321 ac_cv_lib_ossaudio__oss_ioctl
=yes
5323 ac_cv_lib_ossaudio__oss_ioctl
=no
5325 rm -f core conftest.err conftest.
$ac_objext \
5326 conftest
$ac_exeext conftest.
$ac_ext
5327 LIBS
=$ac_check_lib_save_LIBS
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5330 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5331 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5332 cat >>confdefs.h
<<_ACEOF
5333 #define HAVE_LIBOSSAUDIO 1
5336 LIBS
="-lossaudio $LIBS"
5347 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
5349 # Check whether --enable-largefile was given.
5350 if test "${enable_largefile+set}" = set; then :
5351 enableval
=$enable_largefile;
5354 if test "$enable_largefile" != no
; then
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5357 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5358 if ${ac_cv_sys_largefile_CC+:} false
; then :
5359 $as_echo_n "(cached) " >&6
5361 ac_cv_sys_largefile_CC
=no
5362 if test "$GCC" != yes; then
5365 # IRIX 6.2 and later do not support large files by default,
5366 # so use the C compiler's -n32 option if that helps.
5367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5368 /* end confdefs.h. */
5369 #include <sys/types.h>
5370 /* Check that off_t can represent 2**63 - 1 correctly.
5371 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5372 since some C++ compilers masquerading as C compilers
5373 incorrectly reject 9223372036854775807. */
5374 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5375 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5376 && LARGE_OFF_T % 2147483647 == 1)
5386 if ac_fn_c_try_compile
"$LINENO"; then :
5389 rm -f core conftest.err conftest.
$ac_objext
5391 if ac_fn_c_try_compile
"$LINENO"; then :
5392 ac_cv_sys_largefile_CC
=' -n32'; break
5394 rm -f core conftest.err conftest.
$ac_objext
5398 rm -f conftest.
$ac_ext
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5402 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5403 if test "$ac_cv_sys_largefile_CC" != no
; then
5404 CC
=$CC$ac_cv_sys_largefile_CC
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5408 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5409 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5410 $as_echo_n "(cached) " >&6
5413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5414 /* end confdefs.h. */
5415 #include <sys/types.h>
5416 /* Check that off_t can represent 2**63 - 1 correctly.
5417 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5418 since some C++ compilers masquerading as C compilers
5419 incorrectly reject 9223372036854775807. */
5420 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5421 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5422 && LARGE_OFF_T % 2147483647 == 1)
5432 if ac_fn_c_try_compile
"$LINENO"; then :
5433 ac_cv_sys_file_offset_bits
=no
; break
5435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5437 /* end confdefs.h. */
5438 #define _FILE_OFFSET_BITS 64
5439 #include <sys/types.h>
5440 /* Check that off_t can represent 2**63 - 1 correctly.
5441 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5442 since some C++ compilers masquerading as C compilers
5443 incorrectly reject 9223372036854775807. */
5444 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5445 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5446 && LARGE_OFF_T % 2147483647 == 1)
5456 if ac_fn_c_try_compile
"$LINENO"; then :
5457 ac_cv_sys_file_offset_bits
=64; break
5459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5460 ac_cv_sys_file_offset_bits
=unknown
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5465 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5466 case $ac_cv_sys_file_offset_bits in #(
5469 cat >>confdefs.h
<<_ACEOF
5470 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5475 if test $ac_cv_sys_file_offset_bits = unknown
; then
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5477 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5478 if ${ac_cv_sys_large_files+:} false
; then :
5479 $as_echo_n "(cached) " >&6
5482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5483 /* end confdefs.h. */
5484 #include <sys/types.h>
5485 /* Check that off_t can represent 2**63 - 1 correctly.
5486 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5487 since some C++ compilers masquerading as C compilers
5488 incorrectly reject 9223372036854775807. */
5489 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5490 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5491 && LARGE_OFF_T % 2147483647 == 1)
5501 if ac_fn_c_try_compile
"$LINENO"; then :
5502 ac_cv_sys_large_files
=no
; break
5504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5506 /* end confdefs.h. */
5507 #define _LARGE_FILES 1
5508 #include <sys/types.h>
5509 /* Check that off_t can represent 2**63 - 1 correctly.
5510 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5511 since some C++ compilers masquerading as C compilers
5512 incorrectly reject 9223372036854775807. */
5513 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5514 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5515 && LARGE_OFF_T % 2147483647 == 1)
5525 if ac_fn_c_try_compile
"$LINENO"; then :
5526 ac_cv_sys_large_files
=1; break
5528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5529 ac_cv_sys_large_files
=unknown
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5534 $as_echo "$ac_cv_sys_large_files" >&6; }
5535 case $ac_cv_sys_large_files in #(
5538 cat >>confdefs.h
<<_ACEOF
5539 #define _LARGE_FILES $ac_cv_sys_large_files
5551 ac_cpp
='$CPP $CPPFLAGS'
5552 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5553 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5554 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5556 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5557 # On Suns, sometimes $CPP names a directory.
5558 if test -n "$CPP" && test -d "$CPP"; then
5561 if test -z "$CPP"; then
5562 if ${ac_cv_prog_CPP+:} false
; then :
5563 $as_echo_n "(cached) " >&6
5565 # Double quotes because CPP needs to be expanded
5566 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5569 for ac_c_preproc_warn_flag
in '' yes
5571 # Use a header file that comes with gcc, so configuring glibc
5572 # with a fresh cross-compiler works.
5573 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5574 # <limits.h> exists even on freestanding compilers.
5575 # On the NeXT, cc -E runs the code through the compiler's parser,
5576 # not just through cpp. "Syntax error" is here to catch this case.
5577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5578 /* end confdefs.h. */
5580 # include <limits.h>
5582 # include <assert.h>
5586 if ac_fn_c_try_cpp
"$LINENO"; then :
5589 # Broken: fails on valid input.
5592 rm -f conftest.err conftest.i conftest.
$ac_ext
5594 # OK, works on sane cases. Now check whether nonexistent headers
5595 # can be detected and how.
5596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5597 /* end confdefs.h. */
5598 #include <ac_nonexistent.h>
5600 if ac_fn_c_try_cpp
"$LINENO"; then :
5601 # Broken: success on invalid input.
5604 # Passes both tests.
5608 rm -f conftest.err conftest.i conftest.
$ac_ext
5611 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5612 rm -f conftest.i conftest.err conftest.
$ac_ext
5613 if $ac_preproc_ok; then :
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5626 $as_echo "$CPP" >&6; }
5628 for ac_c_preproc_warn_flag
in '' yes
5630 # Use a header file that comes with gcc, so configuring glibc
5631 # with a fresh cross-compiler works.
5632 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5633 # <limits.h> exists even on freestanding compilers.
5634 # On the NeXT, cc -E runs the code through the compiler's parser,
5635 # not just through cpp. "Syntax error" is here to catch this case.
5636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5637 /* end confdefs.h. */
5639 # include <limits.h>
5641 # include <assert.h>
5645 if ac_fn_c_try_cpp
"$LINENO"; then :
5648 # Broken: fails on valid input.
5651 rm -f conftest.err conftest.i conftest.
$ac_ext
5653 # OK, works on sane cases. Now check whether nonexistent headers
5654 # can be detected and how.
5655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5656 /* end confdefs.h. */
5657 #include <ac_nonexistent.h>
5659 if ac_fn_c_try_cpp
"$LINENO"; then :
5660 # Broken: success on invalid input.
5663 # Passes both tests.
5667 rm -f conftest.err conftest.i conftest.
$ac_ext
5670 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5671 rm -f conftest.i conftest.err conftest.
$ac_ext
5672 if $ac_preproc_ok; then :
5675 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5677 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5678 See \`config.log' for more details" "$LINENO" 5; }
5682 ac_cpp
='$CPP $CPPFLAGS'
5683 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5684 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5685 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5689 $as_echo_n "checking for ANSI C header files... " >&6; }
5690 if ${ac_cv_header_stdc+:} false
; then :
5691 $as_echo_n "(cached) " >&6
5693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5694 /* end confdefs.h. */
5708 if ac_fn_c_try_compile
"$LINENO"; then :
5709 ac_cv_header_stdc
=yes
5711 ac_cv_header_stdc
=no
5713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5715 if test $ac_cv_header_stdc = yes; then
5716 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5718 /* end confdefs.h. */
5722 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5723 $EGREP "memchr" >/dev
/null
2>&1; then :
5726 ac_cv_header_stdc
=no
5732 if test $ac_cv_header_stdc = yes; then
5733 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5735 /* end confdefs.h. */
5739 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5740 $EGREP "free" >/dev
/null
2>&1; then :
5743 ac_cv_header_stdc
=no
5749 if test $ac_cv_header_stdc = yes; then
5750 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5751 if test "$cross_compiling" = yes; then :
5754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5755 /* end confdefs.h. */
5758 #if ((' ' & 0x0FF) == 0x020)
5759 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5760 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5762 # define ISLOWER(c) \
5763 (('a' <= (c) && (c) <= 'i') \
5764 || ('j' <= (c) && (c) <= 'r') \
5765 || ('s' <= (c) && (c) <= 'z'))
5766 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5769 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5774 for (i = 0; i < 256; i++)
5775 if (XOR (islower (i), ISLOWER (i))
5776 || toupper (i) != TOUPPER (i))
5781 if ac_fn_c_try_run
"$LINENO"; then :
5784 ac_cv_header_stdc
=no
5786 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5787 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5793 $as_echo "$ac_cv_header_stdc" >&6; }
5794 if test $ac_cv_header_stdc = yes; then
5796 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5800 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5801 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5802 inttypes.h stdint.h unistd.h
5804 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5805 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5807 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5808 cat >>confdefs.h
<<_ACEOF
5809 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5819 ApplicationServices
/ApplicationServices.h \
5820 AudioToolbox
/AudioConverter.h \
5821 AudioUnit
/AudioUnit.h \
5822 AudioUnit
/AudioComponent.h \
5825 CoreAudio
/CoreAudio.h \
5826 CoreServices
/CoreServices.h \
5827 DiskArbitration
/DiskArbitration.h \
5829 IOKit
/hid
/IOHIDLib.h \
5832 QuickTime
/ImageCompression.h \
5833 Security
/Security.h \
5847 fontconfig
/fontconfig.h \
5886 netinet
/in_systm.h \
5947 valgrind
/memcheck.h \
5948 valgrind
/valgrind.h \
5952 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5953 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5954 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5955 cat >>confdefs.h
<<_ACEOF
5956 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5964 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5965 if ${ac_cv_header_stat_broken+:} false
; then :
5966 $as_echo_n "(cached) " >&6
5968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5969 /* end confdefs.h. */
5970 #include <sys/types.h>
5971 #include <sys/stat.h>
5973 #if defined S_ISBLK && defined S_IFDIR
5974 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5977 #if defined S_ISBLK && defined S_IFCHR
5978 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5981 #if defined S_ISLNK && defined S_IFREG
5982 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5985 #if defined S_ISSOCK && defined S_IFREG
5986 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5990 if ac_fn_c_try_compile
"$LINENO"; then :
5991 ac_cv_header_stat_broken
=no
5993 ac_cv_header_stat_broken
=yes
5995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5998 $as_echo "$ac_cv_header_stat_broken" >&6; }
5999 if test $ac_cv_header_stat_broken = yes; then
6001 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6007 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6009 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6010 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6011 #ifdef HAVE_SYS_PARAM_H
6012 # include <sys/param.h>
6015 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6016 cat >>confdefs.h
<<_ACEOF
6017 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6032 netinet
/if_ether.h \
6033 netinet
/if_inarp.h \
6042 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6043 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6044 #ifdef HAVE_SYS_SOCKET_H
6045 # include <sys/socket.h>
6047 #ifdef HAVE_SYS_SOCKETVAR_H
6048 # include <sys/socketvar.h>
6050 #ifdef HAVE_NET_ROUTE_H
6051 # include <net/route.h>
6053 #ifdef HAVE_NETINET_IN_H
6054 # include <netinet/in.h>
6056 #ifdef HAVE_NETINET_IN_SYSTM_H
6057 # include <netinet/in_systm.h>
6059 #ifdef HAVE_NET_IF_H
6060 # include <net/if.h>
6062 #ifdef HAVE_NETINET_IP_H
6063 # include <netinet/ip.h>
6066 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6067 cat >>confdefs.h
<<_ACEOF
6068 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6076 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6078 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6079 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6083 #ifdef HAVE_SYS_SOCKET_H
6084 # include <sys/socket.h>
6086 #ifdef HAVE_SYS_SOCKETVAR_H
6087 # include <sys/socketvar.h>
6089 #ifdef HAVE_SYS_TIMEOUT_H
6090 # include <sys/timeout.h>
6092 #ifdef HAVE_NETINET_IN_H
6093 # include <netinet/in.h>
6095 #ifdef HAVE_NETINET_IN_SYSTM_H
6096 # include <netinet/in_systm.h>
6098 #ifdef HAVE_NETINET_IP_H
6099 # include <netinet/ip.h>
6101 #ifdef HAVE_NETINET_IP_VAR_H
6102 # include <netinet/ip_var.h>
6104 #ifdef HAVE_NETINET_IP_ICMP_H
6105 # include <netinet/ip_icmp.h>
6107 #ifdef HAVE_NETINET_UDP_H
6108 # include <netinet/udp.h>
6110 #ifdef HAVE_NETINET_TCP_H
6111 # include <netinet/tcp.h>
6113 #ifdef HAVE_NETINET_TCP_TIMER_H
6114 #include <netinet/tcp_timer.h>
6117 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6118 cat >>confdefs.h
<<_ACEOF
6119 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6127 for ac_header
in linux
/ipx.h linux
/irda.h
6129 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6130 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6131 #ifdef HAVE_ASM_TYPES_H
6132 # include <asm/types.h>
6134 #ifdef HAVE_SYS_SOCKET_H
6135 # include <sys/socket.h>
6137 #ifdef HAVE_LINUX_TYPES_H
6138 # include <linux/types.h>
6141 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6142 cat >>confdefs.h
<<_ACEOF
6143 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6151 for ac_header
in mach-o
/dyld_images.h
6153 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6154 # include <stdbool.h>
6156 #ifdef HAVE_STDINT_H
6157 # include <stdint.h>
6160 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6161 cat >>confdefs.h
<<_ACEOF
6162 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6170 for ac_header
in resolv.h
6172 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6173 #ifdef HAVE_SYS_SOCKET_H
6174 # include <sys/socket.h>
6176 #ifdef HAVE_NETINET_IN_H
6177 # include <netinet/in.h>
6179 #ifdef HAVE_ARPA_NAMESER_H
6180 # include <arpa/nameser.h>
6183 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6184 cat >>confdefs.h
<<_ACEOF
6185 #define HAVE_RESOLV_H 1
6193 for ac_header
in ifaddrs.h
6195 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6197 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6198 cat >>confdefs.h
<<_ACEOF
6199 #define HAVE_IFADDRS_H 1
6207 for ac_header
in ucontext.h
6209 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6211 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6212 cat >>confdefs.h
<<_ACEOF
6213 #define HAVE_UCONTEXT_H 1
6221 for ac_header
in sys
/thr.h
6223 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6224 #ifdef HAVE_UCONTEXT_H
6225 #include <ucontext.h>
6228 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6229 cat >>confdefs.h
<<_ACEOF
6230 #define HAVE_SYS_THR_H 1
6238 for ac_header
in pthread_np.h
6240 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6241 #include <pthread.h>
6244 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6245 cat >>confdefs.h
<<_ACEOF
6246 #define HAVE_PTHREAD_NP_H 1
6254 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6256 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6257 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6258 #include <sys/time.h>
6260 #include <sys/types.h>
6261 #ifdef HAVE_ASM_TYPES_H
6262 #include <asm/types.h>
6265 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6266 cat >>confdefs.h
<<_ACEOF
6267 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6275 for ac_header
in linux
/capi.h
6277 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6279 if test "x$ac_cv_header_linux_capi_h" = xyes
; then :
6280 cat >>confdefs.h
<<_ACEOF
6281 #define HAVE_LINUX_CAPI_H 1
6292 DLLFLAGS
="-D_REENTRANT"
6303 STATIC_IMPLIBEXT
="def.a"
6304 # Extract the first word of "ldd", so it can be a program name with args.
6305 set dummy ldd
; ac_word
=$2
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6307 $as_echo_n "checking for $ac_word... " >&6; }
6308 if ${ac_cv_path_LDD+:} false
; then :
6309 $as_echo_n "(cached) " >&6
6313 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6317 as_dummy
="/sbin:/usr/sbin:$PATH"
6318 for as_dir
in $as_dummy
6321 test -z "$as_dir" && as_dir
=.
6322 for ac_exec_ext
in '' $ac_executable_extensions; do
6323 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6324 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6332 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6337 if test -n "$LDD"; then
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6339 $as_echo "$LDD" >&6; }
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6342 $as_echo "no" >&6; }
6346 if test -n "$ac_tool_prefix"; then
6347 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6348 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6350 $as_echo_n "checking for $ac_word... " >&6; }
6351 if ${ac_cv_prog_READELF+:} false
; then :
6352 $as_echo_n "(cached) " >&6
6354 if test -n "$READELF"; then
6355 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6361 test -z "$as_dir" && as_dir
=.
6362 for ac_exec_ext
in '' $ac_executable_extensions; do
6363 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6364 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6374 READELF
=$ac_cv_prog_READELF
6375 if test -n "$READELF"; then
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6377 $as_echo "$READELF" >&6; }
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6380 $as_echo "no" >&6; }
6385 if test -z "$ac_cv_prog_READELF"; then
6386 ac_ct_READELF
=$READELF
6387 # Extract the first word of "readelf", so it can be a program name with args.
6388 set dummy readelf
; ac_word
=$2
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6390 $as_echo_n "checking for $ac_word... " >&6; }
6391 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
6392 $as_echo_n "(cached) " >&6
6394 if test -n "$ac_ct_READELF"; then
6395 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
6397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6401 test -z "$as_dir" && as_dir
=.
6402 for ac_exec_ext
in '' $ac_executable_extensions; do
6403 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6404 ac_cv_prog_ac_ct_READELF
="readelf"
6405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6414 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
6415 if test -n "$ac_ct_READELF"; then
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6417 $as_echo "$ac_ct_READELF" >&6; }
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6420 $as_echo "no" >&6; }
6423 if test "x$ac_ct_READELF" = x
; then
6426 case $cross_compiling:$ac_tool_warned in
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6430 ac_tool_warned
=yes ;;
6432 READELF
=$ac_ct_READELF
6435 READELF
="$ac_cv_prog_READELF"
6441 if test -n "$ac_tool_prefix"; then
6442 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6443 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6445 $as_echo_n "checking for $ac_word... " >&6; }
6446 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6447 $as_echo_n "(cached) " >&6
6449 if test -n "$DLLTOOL"; then
6450 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6456 test -z "$as_dir" && as_dir
=.
6457 for ac_exec_ext
in '' $ac_executable_extensions; do
6458 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6459 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6469 DLLTOOL
=$ac_cv_prog_DLLTOOL
6470 if test -n "$DLLTOOL"; then
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6472 $as_echo "$DLLTOOL" >&6; }
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6475 $as_echo "no" >&6; }
6480 if test -z "$ac_cv_prog_DLLTOOL"; then
6481 ac_ct_DLLTOOL
=$DLLTOOL
6482 # Extract the first word of "dlltool", so it can be a program name with args.
6483 set dummy dlltool
; ac_word
=$2
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6485 $as_echo_n "checking for $ac_word... " >&6; }
6486 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6487 $as_echo_n "(cached) " >&6
6489 if test -n "$ac_ct_DLLTOOL"; then
6490 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6496 test -z "$as_dir" && as_dir
=.
6497 for ac_exec_ext
in '' $ac_executable_extensions; do
6498 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6499 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6509 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6510 if test -n "$ac_ct_DLLTOOL"; then
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6512 $as_echo "$ac_ct_DLLTOOL" >&6; }
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6515 $as_echo "no" >&6; }
6518 if test "x$ac_ct_DLLTOOL" = x
; then
6521 case $cross_compiling:$ac_tool_warned in
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6525 ac_tool_warned
=yes ;;
6527 DLLTOOL
=$ac_ct_DLLTOOL
6530 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6533 if test -n "$ac_tool_prefix"; then
6534 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6535 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6537 $as_echo_n "checking for $ac_word... " >&6; }
6538 if ${ac_cv_prog_DLLWRAP+:} false
; then :
6539 $as_echo_n "(cached) " >&6
6541 if test -n "$DLLWRAP"; then
6542 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
6544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6548 test -z "$as_dir" && as_dir
=.
6549 for ac_exec_ext
in '' $ac_executable_extensions; do
6550 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6551 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
6552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6561 DLLWRAP
=$ac_cv_prog_DLLWRAP
6562 if test -n "$DLLWRAP"; then
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6564 $as_echo "$DLLWRAP" >&6; }
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6567 $as_echo "no" >&6; }
6572 if test -z "$ac_cv_prog_DLLWRAP"; then
6573 ac_ct_DLLWRAP
=$DLLWRAP
6574 # Extract the first word of "dllwrap", so it can be a program name with args.
6575 set dummy dllwrap
; ac_word
=$2
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6577 $as_echo_n "checking for $ac_word... " >&6; }
6578 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false
; then :
6579 $as_echo_n "(cached) " >&6
6581 if test -n "$ac_ct_DLLWRAP"; then
6582 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
6584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6588 test -z "$as_dir" && as_dir
=.
6589 for ac_exec_ext
in '' $ac_executable_extensions; do
6590 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6591 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
6592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6601 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
6602 if test -n "$ac_ct_DLLWRAP"; then
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6604 $as_echo "$ac_ct_DLLWRAP" >&6; }
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6607 $as_echo "no" >&6; }
6610 if test "x$ac_ct_DLLWRAP" = x
; then
6613 case $cross_compiling:$ac_tool_warned in
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6617 ac_tool_warned
=yes ;;
6619 DLLWRAP
=$ac_ct_DLLWRAP
6622 DLLWRAP
="$ac_cv_prog_DLLWRAP"
6625 if test "$DLLWRAP" = "false"; then
6626 as_fn_error $?
"dllwrap is needed to build a dll for Windows" "$LINENO" 5
6630 STATIC_IMPLIBEXT
="a"
6631 enable_iphlpapi
=${enable_iphlpapi:-no}
6632 enable_kernel32
=${enable_kernel32:-no}
6633 enable_msvcrt
=${enable_msvcrt:-no}
6634 enable_ntdll
=${enable_ntdll:-no}
6635 enable_ws2_32
=${enable_ws2_32:-no}
6636 enable_loader
=${enable_loader:-no}
6637 enable_server
=${enable_server:-no}
6638 with_x
=${with_x:-no}
6639 with_pthread
=${with_pthread:-no}
6645 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
6650 all: libwine.dll libwine.a
6653 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
6655 libwine.dll: \$(OBJS) wine.def Makefile.in
6656 \$(DLLWRAP) --def \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
6658 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
6659 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
6661 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
6662 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
6665 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
6668 \$(RM) libwine.dll version.c
6676 DLLFLAGS
="$DLLFLAGS -fPIC"
6677 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6678 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6679 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6680 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
6681 COREFOUNDATIONLIB
="-framework CoreFoundation"
6683 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6685 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
6687 CORESERVICESLIB
="-framework CoreServices"
6691 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6694 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6697 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6699 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6702 if test "$ac_cv_header_Security_Security_h" = "yes"
6704 SECURITYLIB
="-framework Security -framework CoreFoundation"
6706 ac_save_LIBS
="$LIBS"
6707 LIBS
="$LIBS $SECURITYLIB"
6708 for ac_func
in SSLCopyPeerCertificates
6710 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6711 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
6712 cat >>confdefs.h
<<_ACEOF
6713 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6719 LIBS
="$ac_save_LIBS"
6720 with_gnutls
=${with_gnutls:-no}
6722 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6724 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6726 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6729 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6732 ac_save_LIBS
="$LIBS"
6733 LIBS
="$LIBS $COREAUDIO"
6734 for ac_func
in AUGraphAddNode
6736 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6737 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
6738 cat >>confdefs.h
<<_ACEOF
6739 #define HAVE_AUGRAPHADDNODE 1
6745 LIBS
="$ac_save_LIBS"
6747 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6749 FRAMEWORK_OPENAL
="-framework OpenAL"
6752 cat >>confdefs.h
<<_ACEOF
6753 #define HAVE_OPENAL 1
6756 ac_cv_lib_openal
=yes
6758 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6760 LIBOPENCL
="-framework OpenCL"
6762 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
6764 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6766 ac_save_LIBS
="$LIBS"
6767 LIBS
="$LIBS $IOKITLIB"
6768 for ac_func
in IOHIDManagerCreate
6770 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6771 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
6772 cat >>confdefs.h
<<_ACEOF
6773 #define HAVE_IOHIDMANAGERCREATE 1
6779 LIBS
="$ac_save_LIBS"
6783 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6785 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6787 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6789 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
6791 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6793 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6795 CARBONLIB
="-framework Carbon"
6799 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
6801 ac_save_LIBS
="$LIBS"
6802 LIBS
="$LIBS $APPLICATIONSERVICESLIB"
6803 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
6804 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
6805 enable_winemac_drv
=${enable_winemac_drv:-yes}
6808 LIBS
="$ac_save_LIBS"
6811 if test "x$enable_win16" = "xyes"
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6814 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6815 if test "$cross_compiling" = yes; then :
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6817 $as_echo "cross-compiling, assuming yes" >&6; }
6819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6820 /* end confdefs.h. */
6823 "good:\tnop;nop\n\t"
6824 ".globl _testfunc\n"
6825 "_testfunc:\tcallw good");
6826 extern void testfunc();
6830 unsigned short *p = (unsigned short *)testfunc;
6831 return p[0] != 0xe866 || p[1] != 0xfffa
6836 if ac_fn_c_try_run
"$LINENO"; then :
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6838 $as_echo "yes" >&6; }
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6841 $as_echo "no" >&6; }
6842 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
6844 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6845 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6853 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
6854 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
6856 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
6857 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
6859 libwine.dylib: libwine.\$(SOVERSION).dylib
6860 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
6862 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
6863 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
6864 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6866 install install-dev:: \$(DESTDIR)\$(libdir) dummy
6867 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
6870 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6873 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
6879 DLLFLAGS
="$DLLFLAGS -fPIC"
6881 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6883 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6884 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
6885 $as_echo_n "(cached) " >&6
6887 ac_wine_try_cflags_saved
=$CFLAGS
6888 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6890 /* end confdefs.h. */
6891 int main(int argc, char **argv) { return 0; }
6893 if ac_fn_c_try_link
"$LINENO"; then :
6894 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
6896 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
6898 rm -f core conftest.err conftest.
$ac_objext \
6899 conftest
$ac_exeext conftest.
$ac_ext
6900 CFLAGS
=$ac_wine_try_cflags_saved
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6903 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6904 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6905 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
6908 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6909 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
6910 $as_echo_n "(cached) " >&6
6912 ac_wine_try_cflags_saved
=$CFLAGS
6913 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6915 /* end confdefs.h. */
6916 int main(int argc, char **argv) { return 0; }
6918 if ac_fn_c_try_link
"$LINENO"; then :
6919 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6921 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6923 rm -f core conftest.err conftest.
$ac_objext \
6924 conftest
$ac_exeext conftest.
$ac_ext
6925 CFLAGS
=$ac_wine_try_cflags_saved
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6928 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6929 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6930 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6933 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6934 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
6935 $as_echo_n "(cached) " >&6
6937 ac_wine_try_cflags_saved
=$CFLAGS
6938 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
6939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6940 /* end confdefs.h. */
6941 int main(int argc, char **argv) { return 0; }
6943 if ac_fn_c_try_link
"$LINENO"; then :
6944 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6946 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
6948 rm -f core conftest.err conftest.
$ac_objext \
6949 conftest
$ac_exeext conftest.
$ac_ext
6950 CFLAGS
=$ac_wine_try_cflags_saved
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6953 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6954 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6955 LDEXECFLAGS
="-Wl,--export-dynamic"
6958 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6960 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6961 if eval \
${$as_ac_var+:} false
; then :
6962 $as_echo_n "(cached) " >&6
6964 ac_wine_try_cflags_saved
=$CFLAGS
6965 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6967 /* end confdefs.h. */
6968 int main(int argc, char **argv) { return 0; }
6970 if ac_fn_c_try_link
"$LINENO"; then :
6971 eval "$as_ac_var=yes"
6973 eval "$as_ac_var=no"
6975 rm -f core conftest.err conftest.
$ac_objext \
6976 conftest
$ac_exeext conftest.
$ac_ext
6977 CFLAGS
=$ac_wine_try_cflags_saved
6979 eval ac_res
=\$
$as_ac_var
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6981 $as_echo "$ac_res" >&6; }
6982 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6983 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6984 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6986 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6988 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6989 if eval \
${$as_ac_var+:} false
; then :
6990 $as_echo_n "(cached) " >&6
6992 ac_wine_try_cflags_saved
=$CFLAGS
6993 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6995 /* end confdefs.h. */
6996 int main(int argc, char **argv) { return 0; }
6998 if ac_fn_c_try_link
"$LINENO"; then :
6999 eval "$as_ac_var=yes"
7001 eval "$as_ac_var=no"
7003 rm -f core conftest.err conftest.
$ac_objext \
7004 conftest
$ac_exeext conftest.
$ac_ext
7005 CFLAGS
=$ac_wine_try_cflags_saved
7007 eval ac_res
=\$
$as_ac_var
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7009 $as_echo "$ac_res" >&6; }
7010 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7011 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7012 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7017 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7018 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7019 $as_echo_n "(cached) " >&6
7021 ac_wine_try_cflags_saved
=$CFLAGS
7022 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7024 /* end confdefs.h. */
7025 int main(int argc, char **argv) { return 0; }
7027 if ac_fn_c_try_link
"$LINENO"; then :
7028 ac_cv_cflags__Wl___enable_new_dtags
=yes
7030 ac_cv_cflags__Wl___enable_new_dtags
=no
7032 rm -f core conftest.err conftest.
$ac_objext \
7033 conftest
$ac_exeext conftest.
$ac_ext
7034 CFLAGS
=$ac_wine_try_cflags_saved
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7037 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7038 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7039 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7043 *i
[3456789]86* | x86_64
)
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7045 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7046 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7047 $as_echo_n "(cached) " >&6
7049 ac_wine_try_cflags_saved
=$CFLAGS
7050 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7052 /* end confdefs.h. */
7053 int main(int argc, char **argv) { return 0; }
7055 if ac_fn_c_try_link
"$LINENO"; then :
7056 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7058 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7060 rm -f core conftest.err conftest.
$ac_objext \
7061 conftest
$ac_exeext conftest.
$ac_ext
7062 CFLAGS
=$ac_wine_try_cflags_saved
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7065 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7066 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7067 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7075 libwine.so: \$(OBJS) Makefile.in
7076 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7078 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7079 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7082 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7085 \$(RM) libwine.so version.c
7091 DLLFLAGS
="$DLLFLAGS -fPIC"
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7094 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7095 if ${ac_cv_c_dll_gnuelf+:} false
; then :
7096 $as_echo_n "(cached) " >&6
7098 ac_wine_try_cflags_saved
=$CFLAGS
7099 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7101 /* end confdefs.h. */
7104 if ac_fn_c_try_link
"$LINENO"; then :
7105 ac_cv_c_dll_gnuelf
="yes"
7107 ac_cv_c_dll_gnuelf
="no"
7109 rm -f core conftest.err conftest.
$ac_objext \
7110 conftest
$ac_exeext conftest.
$ac_ext
7111 CFLAGS
=$ac_wine_try_cflags_saved
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7114 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7115 if test "$ac_cv_c_dll_gnuelf" = "yes"
7117 LDSHARED
="\$(CC) -shared"
7118 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7120 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7121 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
7122 $as_echo_n "(cached) " >&6
7124 ac_wine_try_cflags_saved
=$CFLAGS
7125 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7127 /* end confdefs.h. */
7128 int main(int argc, char **argv) { return 0; }
7130 if ac_fn_c_try_link
"$LINENO"; then :
7131 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
7133 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
7135 rm -f core conftest.err conftest.
$ac_objext \
7136 conftest
$ac_exeext conftest.
$ac_ext
7137 CFLAGS
=$ac_wine_try_cflags_saved
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7140 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7141 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7142 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7145 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7146 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
7147 $as_echo_n "(cached) " >&6
7149 ac_wine_try_cflags_saved
=$CFLAGS
7150 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7152 /* end confdefs.h. */
7153 int main(int argc, char **argv) { return 0; }
7155 if ac_fn_c_try_link
"$LINENO"; then :
7156 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
7158 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
7160 rm -f core conftest.err conftest.
$ac_objext \
7161 conftest
$ac_exeext conftest.
$ac_ext
7162 CFLAGS
=$ac_wine_try_cflags_saved
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7165 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7166 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7167 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
7172 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
7173 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
7174 $as_echo_n "(cached) " >&6
7176 ac_wine_try_cflags_saved
=$CFLAGS
7177 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
7178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7179 /* end confdefs.h. */
7180 int main(int argc, char **argv) { return 0; }
7182 if ac_fn_c_try_link
"$LINENO"; then :
7183 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
7185 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
7187 rm -f core conftest.err conftest.
$ac_objext \
7188 conftest
$ac_exeext conftest.
$ac_ext
7189 CFLAGS
=$ac_wine_try_cflags_saved
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
7192 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
7193 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
7194 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
7198 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
7199 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
7200 $as_echo_n "(cached) " >&6
7202 ac_wine_try_cflags_saved
=$CFLAGS
7203 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
7204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7205 /* end confdefs.h. */
7206 int main(int argc, char **argv) { return 0; }
7208 if ac_fn_c_try_link
"$LINENO"; then :
7209 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
7211 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
7213 rm -f core conftest.err conftest.
$ac_objext \
7214 conftest
$ac_exeext conftest.
$ac_ext
7215 CFLAGS
=$ac_wine_try_cflags_saved
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
7218 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
7219 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
7220 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
7223 echo '{ global: *; };' >conftest.map
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7225 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7226 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
7227 $as_echo_n "(cached) " >&6
7229 ac_wine_try_cflags_saved
=$CFLAGS
7230 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7232 /* end confdefs.h. */
7233 int main(int argc, char **argv) { return 0; }
7235 if ac_fn_c_try_link
"$LINENO"; then :
7236 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
7238 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
7240 rm -f core conftest.err conftest.
$ac_objext \
7241 conftest
$ac_exeext conftest.
$ac_ext
7242 CFLAGS
=$ac_wine_try_cflags_saved
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7245 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7246 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7247 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7252 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7253 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7254 $as_echo_n "(cached) " >&6
7256 ac_wine_try_cflags_saved
=$CFLAGS
7257 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7259 /* end confdefs.h. */
7260 int main(int argc, char **argv) { return 0; }
7262 if ac_fn_c_try_link
"$LINENO"; then :
7263 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7265 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7267 rm -f core conftest.err conftest.
$ac_objext \
7268 conftest
$ac_exeext conftest.
$ac_ext
7269 CFLAGS
=$ac_wine_try_cflags_saved
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7272 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7273 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7274 LDEXECFLAGS
="-Wl,--export-dynamic"
7278 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7280 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7281 if eval \
${$as_ac_var+:} false
; then :
7282 $as_echo_n "(cached) " >&6
7284 ac_wine_try_cflags_saved
=$CFLAGS
7285 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7287 /* end confdefs.h. */
7288 int main(int argc, char **argv) { return 0; }
7290 if ac_fn_c_try_link
"$LINENO"; then :
7291 eval "$as_ac_var=yes"
7293 eval "$as_ac_var=no"
7295 rm -f core conftest.err conftest.
$ac_objext \
7296 conftest
$ac_exeext conftest.
$ac_ext
7297 CFLAGS
=$ac_wine_try_cflags_saved
7299 eval ac_res
=\$
$as_ac_var
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7301 $as_echo "$ac_res" >&6; }
7302 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7303 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7304 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7306 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7308 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7309 if eval \
${$as_ac_var+:} false
; then :
7310 $as_echo_n "(cached) " >&6
7312 ac_wine_try_cflags_saved
=$CFLAGS
7313 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7315 /* end confdefs.h. */
7316 int main(int argc, char **argv) { return 0; }
7318 if ac_fn_c_try_link
"$LINENO"; then :
7319 eval "$as_ac_var=yes"
7321 eval "$as_ac_var=no"
7323 rm -f core conftest.err conftest.
$ac_objext \
7324 conftest
$ac_exeext conftest.
$ac_ext
7325 CFLAGS
=$ac_wine_try_cflags_saved
7327 eval ac_res
=\$
$as_ac_var
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7329 $as_echo "$ac_res" >&6; }
7330 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7331 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7332 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7337 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7338 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7339 $as_echo_n "(cached) " >&6
7341 ac_wine_try_cflags_saved
=$CFLAGS
7342 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7344 /* end confdefs.h. */
7345 int main(int argc, char **argv) { return 0; }
7347 if ac_fn_c_try_link
"$LINENO"; then :
7348 ac_cv_cflags__Wl___enable_new_dtags
=yes
7350 ac_cv_cflags__Wl___enable_new_dtags
=no
7352 rm -f core conftest.err conftest.
$ac_objext \
7353 conftest
$ac_exeext conftest.
$ac_ext
7354 CFLAGS
=$ac_wine_try_cflags_saved
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7357 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7358 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7359 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7363 *i
[3456789]86* | x86_64
)
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7365 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7366 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7367 $as_echo_n "(cached) " >&6
7369 ac_wine_try_cflags_saved
=$CFLAGS
7370 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7372 /* end confdefs.h. */
7373 int main(int argc, char **argv) { return 0; }
7375 if ac_fn_c_try_link
"$LINENO"; then :
7376 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7378 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7380 rm -f core conftest.err conftest.
$ac_objext \
7381 conftest
$ac_exeext conftest.
$ac_ext
7382 CFLAGS
=$ac_wine_try_cflags_saved
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7385 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7386 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7388 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7389 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7393 # Extract the first word of "prelink", so it can be a program name with args.
7394 set dummy prelink
; ac_word
=$2
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7396 $as_echo_n "checking for $ac_word... " >&6; }
7397 if ${ac_cv_path_PRELINK+:} false
; then :
7398 $as_echo_n "(cached) " >&6
7402 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
7405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7406 for as_dir
in /sbin
/usr
/sbin
$PATH
7409 test -z "$as_dir" && as_dir
=.
7410 for ac_exec_ext
in '' $ac_executable_extensions; do
7411 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7412 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7420 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7424 PRELINK
=$ac_cv_path_PRELINK
7425 if test -n "$PRELINK"; then
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7427 $as_echo "$PRELINK" >&6; }
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7430 $as_echo "no" >&6; }
7434 if test "x$PRELINK" = xfalse
7436 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7443 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7444 if ${ac_cv_c_dll_unixware+:} false
; then :
7445 $as_echo_n "(cached) " >&6
7447 ac_wine_try_cflags_saved
=$CFLAGS
7448 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7450 /* end confdefs.h. */
7453 if ac_fn_c_try_link
"$LINENO"; then :
7454 ac_cv_c_dll_unixware
="yes"
7456 ac_cv_c_dll_unixware
="no"
7458 rm -f core conftest.err conftest.
$ac_objext \
7459 conftest
$ac_exeext conftest.
$ac_ext
7460 CFLAGS
=$ac_wine_try_cflags_saved
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7463 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7464 if test "$ac_cv_c_dll_unixware" = "yes"
7466 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7467 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
7473 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7474 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7476 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7477 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
7479 libwine.so: libwine.so.\$(SOVERSION)
7480 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
7482 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
7483 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
7484 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7486 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7487 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
7490 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7493 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
7499 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
7500 enable_winemac_drv
=${enable_winemac_drv:-no}
7502 CROSSTEST_DISABLE
=\
#
7504 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
7508 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
7511 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 " ;;
7513 ac_prefix_list
="" ;;
7515 for ac_prog
in $ac_prefix_list
7517 # Extract the first word of "$ac_prog", so it can be a program name with args.
7518 set dummy
$ac_prog; ac_word
=$2
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7520 $as_echo_n "checking for $ac_word... " >&6; }
7521 if ${ac_cv_prog_CROSSCC+:} false
; then :
7522 $as_echo_n "(cached) " >&6
7524 if test -n "$CROSSCC"; then
7525 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7531 test -z "$as_dir" && as_dir
=.
7532 for ac_exec_ext
in '' $ac_executable_extensions; do
7533 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7534 ac_cv_prog_CROSSCC
="$ac_prog"
7535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7544 CROSSCC
=$ac_cv_prog_CROSSCC
7545 if test -n "$CROSSCC"; then
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7547 $as_echo "$CROSSCC" >&6; }
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7550 $as_echo "no" >&6; }
7554 test -n "$CROSSCC" && break
7556 test -n "$CROSSCC" || CROSSCC
="false"
7558 if test "$CROSSCC" != "false"
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7563 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7565 /* end confdefs.h. */
7575 if ac_fn_c_try_compile
"$LINENO"; then :
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7577 $as_echo "yes" >&6; }
7584 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7588 if test -n "$target"
7590 CROSSTEST_DISABLE
=""
7591 CROSSTARGET
="$target"
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7596 $as_echo "no" >&6; }
7598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7604 if test "$ac_cv_header_pthread_h" = "yes"
7606 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
7607 if test "x$ac_cv_func_pthread_create" = xyes
; then :
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7611 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7612 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
7613 $as_echo_n "(cached) " >&6
7615 ac_check_lib_save_LIBS
=$LIBS
7616 LIBS
="-lpthread $LIBS"
7617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7618 /* end confdefs.h. */
7620 /* Override any GCC internal prototype to avoid an error.
7621 Use char because int might match the return type of a GCC
7622 builtin and then its argument prototype would still apply. */
7626 char pthread_create ();
7630 return pthread_create ();
7635 if ac_fn_c_try_link
"$LINENO"; then :
7636 ac_cv_lib_pthread_pthread_create
=yes
7638 ac_cv_lib_pthread_pthread_create
=no
7640 rm -f core conftest.err conftest.
$ac_objext \
7641 conftest
$ac_exeext conftest.
$ac_ext
7642 LIBS
=$ac_check_lib_save_LIBS
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7645 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7646 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
7647 LIBPTHREAD
="-lpthread"
7654 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$LIBPTHREAD" = x
; then :
7655 case "x$with_pthread" in
7657 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
7658 Wine cannot support threads without libpthread.
7659 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7665 $as_echo_n "checking for X... " >&6; }
7668 # Check whether --with-x was given.
7669 if test "${with_x+set}" = set; then :
7673 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7674 if test "x$with_x" = xno
; then
7675 # The user explicitly disabled X.
7678 case $x_includes,$x_libraries in #(
7679 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
7680 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
7681 $as_echo_n "(cached) " >&6
7683 # One or both of the vars are not set, and there is no cached value.
7684 ac_x_includes
=no ac_x_libraries
=no
7685 rm -f -r conftest.dir
7686 if mkdir conftest.dir
; then
7688 cat >Imakefile
<<'_ACEOF'
7690 @echo incroot='${INCROOT}'
7692 @echo usrlibdir='${USRLIBDIR}'
7694 @echo libdir='${LIBDIR}'
7696 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7697 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7698 for ac_var
in incroot usrlibdir libdir
; do
7699 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7701 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7702 for ac_extension
in a so sl dylib la dll
; do
7703 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7704 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7705 ac_im_usrlibdir
=$ac_im_libdir; break
7708 # Screen out bogus values from the imake configuration. They are
7709 # bogus both because they are the default anyway, and because
7710 # using them would break gcc on systems where it needs fixed includes.
7711 case $ac_im_incroot in
7712 /usr
/include
) ac_x_includes
= ;;
7713 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7715 case $ac_im_usrlibdir in
7716 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7717 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7721 rm -f -r conftest.dir
7724 # Standard set of common directories for X headers.
7725 # Check X11 before X11Rn because it is often a symlink to the current release.
7739 /usr/local/X11/include
7740 /usr/local/X11R7/include
7741 /usr/local/X11R6/include
7742 /usr/local/X11R5/include
7743 /usr/local/X11R4/include
7745 /usr/local/include/X11
7746 /usr/local/include/X11R7
7747 /usr/local/include/X11R6
7748 /usr/local/include/X11R5
7749 /usr/local/include/X11R4
7753 /usr/XFree86/include/X11
7757 /usr/unsupported/include
7759 /usr/local/x11r5/include
7760 /usr/lpp/Xamples/include
7762 /usr/openwin/include
7763 /usr/openwin/share/include'
7765 if test "$ac_x_includes" = no
; then
7766 # Guess where to find include files, by looking for Xlib.h.
7767 # First, try using that file with no special directory specified.
7768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7769 /* end confdefs.h. */
7770 #include <X11/Xlib.h>
7772 if ac_fn_c_try_cpp
"$LINENO"; then :
7773 # We can compile using X headers with no special include directory.
7776 for ac_dir
in $ac_x_header_dirs; do
7777 if test -r "$ac_dir/X11/Xlib.h"; then
7778 ac_x_includes
=$ac_dir
7783 rm -f conftest.err conftest.i conftest.
$ac_ext
7784 fi # $ac_x_includes = no
7786 if test "$ac_x_libraries" = no
; then
7787 # Check for the libraries.
7788 # See if we find them without any special options.
7789 # Don't add to $LIBS permanently.
7792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7793 /* end confdefs.h. */
7794 #include <X11/Xlib.h>
7803 if ac_fn_c_try_link
"$LINENO"; then :
7805 # We can link X programs with no special library path.
7809 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7811 # Don't even attempt the hair of trying to link an X program!
7812 for ac_extension
in a so sl dylib la dll
; do
7813 if test -r "$ac_dir/libX11.$ac_extension"; then
7814 ac_x_libraries
=$ac_dir
7820 rm -f core conftest.err conftest.
$ac_objext \
7821 conftest
$ac_exeext conftest.
$ac_ext
7822 fi # $ac_x_libraries = no
7824 case $ac_x_includes,$ac_x_libraries in #(
7826 # Didn't find X, or a directory has "'" in its name.
7827 ac_cv_have_x
="have_x=no";; #(
7829 # Record where we found X for the cache.
7830 ac_cv_have_x
="have_x=yes\
7831 ac_x_includes='$ac_x_includes'\
7832 ac_x_libraries='$ac_x_libraries'"
7838 eval "$ac_cv_have_x"
7841 if test "$have_x" != yes; then
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7843 $as_echo "$have_x" >&6; }
7846 # If each of the values was on the command line, it overrides each guess.
7847 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7848 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7849 # Update the cache value to reflect the command line values.
7850 ac_cv_have_x
="have_x=yes\
7851 ac_x_includes='$x_includes'\
7852 ac_x_libraries='$x_libraries'"
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7854 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7857 if test "$no_x" = yes; then
7858 # Not all programs may use this symbol, but it does not hurt to define it.
7860 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7862 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7864 if test -n "$x_includes"; then
7865 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7868 # It would also be nice to do this for all -L options, not just this one.
7869 if test -n "$x_libraries"; then
7870 X_LIBS
="$X_LIBS -L$x_libraries"
7871 # For Solaris; some versions of Sun CC require a space after -R and
7872 # others require no space. Words are not sufficient . . . .
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7874 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7875 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7876 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7877 ac_c_werror_flag
=yes
7878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7879 /* end confdefs.h. */
7889 if ac_fn_c_try_link
"$LINENO"; then :
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7891 $as_echo "no" >&6; }
7892 X_LIBS
="$X_LIBS -R$x_libraries"
7894 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7896 /* end confdefs.h. */
7906 if ac_fn_c_try_link
"$LINENO"; then :
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7908 $as_echo "yes" >&6; }
7909 X_LIBS
="$X_LIBS -R $x_libraries"
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7912 $as_echo "neither works" >&6; }
7914 rm -f core conftest.err conftest.
$ac_objext \
7915 conftest
$ac_exeext conftest.
$ac_ext
7917 rm -f core conftest.err conftest.
$ac_objext \
7918 conftest
$ac_exeext conftest.
$ac_ext
7919 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7923 # Check for system-dependent libraries X programs must link with.
7924 # Do this before checking for the system-independent R6 libraries
7925 # (-lICE), since we may need -lsocket or whatever for X linking.
7927 if test "$ISC" = yes; then
7928 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7930 # Martyn Johnson says this is needed for Ultrix, if the X
7931 # libraries were built with DECnet support. And Karl Berry says
7932 # the Alpha needs dnet_stub (dnet does not exist).
7933 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7935 /* end confdefs.h. */
7937 /* Override any GCC internal prototype to avoid an error.
7938 Use char because int might match the return type of a GCC
7939 builtin and then its argument prototype would still apply. */
7943 char XOpenDisplay ();
7947 return XOpenDisplay ();
7952 if ac_fn_c_try_link
"$LINENO"; then :
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7956 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7957 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
7958 $as_echo_n "(cached) " >&6
7960 ac_check_lib_save_LIBS
=$LIBS
7962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7963 /* end confdefs.h. */
7965 /* Override any GCC internal prototype to avoid an error.
7966 Use char because int might match the return type of a GCC
7967 builtin and then its argument prototype would still apply. */
7975 return dnet_ntoa ();
7980 if ac_fn_c_try_link
"$LINENO"; then :
7981 ac_cv_lib_dnet_dnet_ntoa
=yes
7983 ac_cv_lib_dnet_dnet_ntoa
=no
7985 rm -f core conftest.err conftest.
$ac_objext \
7986 conftest
$ac_exeext conftest.
$ac_ext
7987 LIBS
=$ac_check_lib_save_LIBS
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7990 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7991 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
7992 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7995 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7997 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7998 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
7999 $as_echo_n "(cached) " >&6
8001 ac_check_lib_save_LIBS
=$LIBS
8002 LIBS
="-ldnet_stub $LIBS"
8003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8004 /* end confdefs.h. */
8006 /* Override any GCC internal prototype to avoid an error.
8007 Use char because int might match the return type of a GCC
8008 builtin and then its argument prototype would still apply. */
8016 return dnet_ntoa ();
8021 if ac_fn_c_try_link
"$LINENO"; then :
8022 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8024 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8026 rm -f core conftest.err conftest.
$ac_objext \
8027 conftest
$ac_exeext conftest.
$ac_ext
8028 LIBS
=$ac_check_lib_save_LIBS
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8031 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8032 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8033 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8038 rm -f core conftest.err conftest.
$ac_objext \
8039 conftest
$ac_exeext conftest.
$ac_ext
8040 LIBS
="$ac_xsave_LIBS"
8042 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8043 # to get the SysV transport functions.
8044 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8046 # The nsl library prevents programs from opening the X display
8047 # on Irix 5.2, according to T.E. Dickey.
8048 # The functions gethostbyname, getservbyname, and inet_addr are
8049 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8050 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8051 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8055 if test $ac_cv_func_gethostbyname = no
; then
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8057 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8058 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8059 $as_echo_n "(cached) " >&6
8061 ac_check_lib_save_LIBS
=$LIBS
8063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8064 /* end confdefs.h. */
8066 /* Override any GCC internal prototype to avoid an error.
8067 Use char because int might match the return type of a GCC
8068 builtin and then its argument prototype would still apply. */
8072 char gethostbyname ();
8076 return gethostbyname ();
8081 if ac_fn_c_try_link
"$LINENO"; then :
8082 ac_cv_lib_nsl_gethostbyname
=yes
8084 ac_cv_lib_nsl_gethostbyname
=no
8086 rm -f core conftest.err conftest.
$ac_objext \
8087 conftest
$ac_exeext conftest.
$ac_ext
8088 LIBS
=$ac_check_lib_save_LIBS
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8091 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8092 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
8093 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8096 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8098 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8099 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
8100 $as_echo_n "(cached) " >&6
8102 ac_check_lib_save_LIBS
=$LIBS
8104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8105 /* end confdefs.h. */
8107 /* Override any GCC internal prototype to avoid an error.
8108 Use char because int might match the return type of a GCC
8109 builtin and then its argument prototype would still apply. */
8113 char gethostbyname ();
8117 return gethostbyname ();
8122 if ac_fn_c_try_link
"$LINENO"; then :
8123 ac_cv_lib_bsd_gethostbyname
=yes
8125 ac_cv_lib_bsd_gethostbyname
=no
8127 rm -f core conftest.err conftest.
$ac_objext \
8128 conftest
$ac_exeext conftest.
$ac_ext
8129 LIBS
=$ac_check_lib_save_LIBS
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8132 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8133 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
8134 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8140 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8141 # socket/setsockopt and other routines are undefined under SCO ODT
8142 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8143 # on later versions), says Simon Leinen: it contains gethostby*
8144 # variants that don't use the name server (or something). -lsocket
8145 # must be given before -lnsl if both are needed. We assume that
8146 # if connect needs -lnsl, so does gethostbyname.
8147 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
8148 if test "x$ac_cv_func_connect" = xyes
; then :
8152 if test $ac_cv_func_connect = no
; then
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8154 $as_echo_n "checking for connect in -lsocket... " >&6; }
8155 if ${ac_cv_lib_socket_connect+:} false
; then :
8156 $as_echo_n "(cached) " >&6
8158 ac_check_lib_save_LIBS
=$LIBS
8159 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8161 /* end confdefs.h. */
8163 /* Override any GCC internal prototype to avoid an error.
8164 Use char because int might match the return type of a GCC
8165 builtin and then its argument prototype would still apply. */
8178 if ac_fn_c_try_link
"$LINENO"; then :
8179 ac_cv_lib_socket_connect
=yes
8181 ac_cv_lib_socket_connect
=no
8183 rm -f core conftest.err conftest.
$ac_objext \
8184 conftest
$ac_exeext conftest.
$ac_ext
8185 LIBS
=$ac_check_lib_save_LIBS
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8188 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8189 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
8190 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8195 # Guillermo Gomez says -lposix is necessary on A/UX.
8196 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
8197 if test "x$ac_cv_func_remove" = xyes
; then :
8201 if test $ac_cv_func_remove = no
; then
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8203 $as_echo_n "checking for remove in -lposix... " >&6; }
8204 if ${ac_cv_lib_posix_remove+:} false
; then :
8205 $as_echo_n "(cached) " >&6
8207 ac_check_lib_save_LIBS
=$LIBS
8208 LIBS
="-lposix $LIBS"
8209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8210 /* end confdefs.h. */
8212 /* Override any GCC internal prototype to avoid an error.
8213 Use char because int might match the return type of a GCC
8214 builtin and then its argument prototype would still apply. */
8227 if ac_fn_c_try_link
"$LINENO"; then :
8228 ac_cv_lib_posix_remove
=yes
8230 ac_cv_lib_posix_remove
=no
8232 rm -f core conftest.err conftest.
$ac_objext \
8233 conftest
$ac_exeext conftest.
$ac_ext
8234 LIBS
=$ac_check_lib_save_LIBS
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8237 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8238 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
8239 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8244 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8245 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
8246 if test "x$ac_cv_func_shmat" = xyes
; then :
8250 if test $ac_cv_func_shmat = no
; then
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8252 $as_echo_n "checking for shmat in -lipc... " >&6; }
8253 if ${ac_cv_lib_ipc_shmat+:} false
; then :
8254 $as_echo_n "(cached) " >&6
8256 ac_check_lib_save_LIBS
=$LIBS
8258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8259 /* end confdefs.h. */
8261 /* Override any GCC internal prototype to avoid an error.
8262 Use char because int might match the return type of a GCC
8263 builtin and then its argument prototype would still apply. */
8276 if ac_fn_c_try_link
"$LINENO"; then :
8277 ac_cv_lib_ipc_shmat
=yes
8279 ac_cv_lib_ipc_shmat
=no
8281 rm -f core conftest.err conftest.
$ac_objext \
8282 conftest
$ac_exeext conftest.
$ac_ext
8283 LIBS
=$ac_check_lib_save_LIBS
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8286 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8287 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
8288 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8294 # Check for libraries that X11R6 Xt/Xaw programs need.
8295 ac_save_LDFLAGS
=$LDFLAGS
8296 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8297 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8298 # check for ICE first), but we must link in the order -lSM -lICE or
8299 # we get undefined symbols. So assume we have SM if we have ICE.
8300 # These have to be linked with before -lX11, unlike the other
8301 # libraries we check for below, so use a different variable.
8302 # John Interrante, Karl Berry
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8304 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8305 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
8306 $as_echo_n "(cached) " >&6
8308 ac_check_lib_save_LIBS
=$LIBS
8309 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8311 /* end confdefs.h. */
8313 /* Override any GCC internal prototype to avoid an error.
8314 Use char because int might match the return type of a GCC
8315 builtin and then its argument prototype would still apply. */
8319 char IceConnectionNumber ();
8323 return IceConnectionNumber ();
8328 if ac_fn_c_try_link
"$LINENO"; then :
8329 ac_cv_lib_ICE_IceConnectionNumber
=yes
8331 ac_cv_lib_ICE_IceConnectionNumber
=no
8333 rm -f core conftest.err conftest.
$ac_objext \
8334 conftest
$ac_exeext conftest.
$ac_ext
8335 LIBS
=$ac_check_lib_save_LIBS
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8338 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8339 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
8340 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8343 LDFLAGS
=$ac_save_LDFLAGS
8348 if test "$have_x" = "yes"
8351 ac_save_CPPFLAGS
="$CPPFLAGS"
8352 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8355 $as_echo_n "checking for -lX11... " >&6; }
8356 if ${ac_cv_lib_soname_X11+:} false
; then :
8357 $as_echo_n "(cached) " >&6
8359 ac_check_soname_save_LIBS
=$LIBS
8360 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8362 /* end confdefs.h. */
8364 /* Override any GCC internal prototype to avoid an error.
8365 Use char because int might match the return type of a GCC
8366 builtin and then its argument prototype would still apply. */
8370 char XCreateWindow ();
8374 return XCreateWindow ();
8379 if ac_fn_c_try_link
"$LINENO"; then :
8381 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8382 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'` ;;
8383 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8384 if test "x$ac_cv_lib_soname_X11" = x
; then :
8385 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8389 rm -f core conftest.err conftest.
$ac_objext \
8390 conftest
$ac_exeext conftest.
$ac_ext
8391 LIBS
=$ac_check_soname_save_LIBS
8393 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8395 $as_echo "not found" >&6; }
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8399 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8401 cat >>confdefs.h
<<_ACEOF
8402 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8408 $as_echo_n "checking for -lXext... " >&6; }
8409 if ${ac_cv_lib_soname_Xext+:} false
; then :
8410 $as_echo_n "(cached) " >&6
8412 ac_check_soname_save_LIBS
=$LIBS
8413 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8415 /* end confdefs.h. */
8417 /* Override any GCC internal prototype to avoid an error.
8418 Use char because int might match the return type of a GCC
8419 builtin and then its argument prototype would still apply. */
8423 char XextCreateExtension ();
8427 return XextCreateExtension ();
8432 if ac_fn_c_try_link
"$LINENO"; then :
8434 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8435 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'` ;;
8436 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8437 if test "x$ac_cv_lib_soname_Xext" = x
; then :
8438 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8442 rm -f core conftest.err conftest.
$ac_objext \
8443 conftest
$ac_exeext conftest.
$ac_ext
8444 LIBS
=$ac_check_soname_save_LIBS
8446 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8448 $as_echo "not found" >&6; }
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8452 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8454 cat >>confdefs.h
<<_ACEOF
8455 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8461 for ac_header
in X11
/Xlib.h \
8464 X11
/Xcursor
/Xcursor.h \
8465 X11
/extensions
/shape.h \
8466 X11
/extensions
/XInput.h \
8467 X11
/extensions
/XInput2.h \
8468 X11
/extensions
/XShm.h \
8469 X11
/extensions
/Xcomposite.h \
8470 X11
/extensions
/Xinerama.h \
8471 X11
/extensions
/Xrandr.h \
8472 X11
/extensions
/Xrender.h \
8473 X11
/extensions
/xf86vmode.h \
8474 X11
/extensions
/xf86vmproto.h
8476 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8477 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8478 # include <X11/Xlib.h>
8480 #ifdef HAVE_X11_XUTIL_H
8481 # include <X11/Xutil.h>
8484 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8485 cat >>confdefs.h
<<_ACEOF
8486 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8494 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8497 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8498 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
8499 $as_echo_n "(cached) " >&6
8501 ac_check_lib_save_LIBS
=$LIBS
8502 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8504 /* end confdefs.h. */
8506 /* Override any GCC internal prototype to avoid an error.
8507 Use char because int might match the return type of a GCC
8508 builtin and then its argument prototype would still apply. */
8512 char XkbQueryExtension ();
8516 return XkbQueryExtension ();
8521 if ac_fn_c_try_link
"$LINENO"; then :
8522 ac_cv_lib_X11_XkbQueryExtension
=yes
8524 ac_cv_lib_X11_XkbQueryExtension
=no
8526 rm -f core conftest.err conftest.
$ac_objext \
8527 conftest
$ac_exeext conftest.
$ac_ext
8528 LIBS
=$ac_check_lib_save_LIBS
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8531 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8532 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
8534 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8540 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8543 $as_echo_n "checking for -lXcursor... " >&6; }
8544 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
8545 $as_echo_n "(cached) " >&6
8547 ac_check_soname_save_LIBS
=$LIBS
8548 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8550 /* end confdefs.h. */
8552 /* Override any GCC internal prototype to avoid an error.
8553 Use char because int might match the return type of a GCC
8554 builtin and then its argument prototype would still apply. */
8558 char XcursorImageLoadCursor ();
8562 return XcursorImageLoadCursor ();
8567 if ac_fn_c_try_link
"$LINENO"; then :
8569 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8570 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'` ;;
8571 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8572 if test "x$ac_cv_lib_soname_Xcursor" = x
; then :
8573 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8577 rm -f core conftest.err conftest.
$ac_objext \
8578 conftest
$ac_exeext conftest.
$ac_ext
8579 LIBS
=$ac_check_soname_save_LIBS
8581 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8583 $as_echo "not found" >&6; }
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8587 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8589 cat >>confdefs.h
<<_ACEOF
8590 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8596 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8597 case "x$with_xcursor" in
8598 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8600 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8601 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8605 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8608 $as_echo_n "checking for -lXi... " >&6; }
8609 if ${ac_cv_lib_soname_Xi+:} false
; then :
8610 $as_echo_n "(cached) " >&6
8612 ac_check_soname_save_LIBS
=$LIBS
8613 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8615 /* end confdefs.h. */
8617 /* Override any GCC internal prototype to avoid an error.
8618 Use char because int might match the return type of a GCC
8619 builtin and then its argument prototype would still apply. */
8623 char XOpenDevice ();
8627 return XOpenDevice ();
8632 if ac_fn_c_try_link
"$LINENO"; then :
8634 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8635 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'` ;;
8636 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8637 if test "x$ac_cv_lib_soname_Xi" = x
; then :
8638 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8642 rm -f core conftest.err conftest.
$ac_objext \
8643 conftest
$ac_exeext conftest.
$ac_ext
8644 LIBS
=$ac_check_soname_save_LIBS
8646 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8648 $as_echo "not found" >&6; }
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8652 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8654 cat >>confdefs.h
<<_ACEOF
8655 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8661 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8662 case "x$with_xinput" in
8663 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8665 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8666 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8670 if test "x$ac_cv_lib_soname_Xi" != x
8672 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8673 case "x$with_xinput2" in
8674 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8676 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
8677 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8682 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8685 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8686 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
8687 $as_echo_n "(cached) " >&6
8689 ac_check_lib_save_LIBS
=$LIBS
8690 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8692 /* end confdefs.h. */
8694 /* Override any GCC internal prototype to avoid an error.
8695 Use char because int might match the return type of a GCC
8696 builtin and then its argument prototype would still apply. */
8700 char XShmQueryExtension ();
8704 return XShmQueryExtension ();
8709 if ac_fn_c_try_link
"$LINENO"; then :
8710 ac_cv_lib_Xext_XShmQueryExtension
=yes
8712 ac_cv_lib_Xext_XShmQueryExtension
=no
8714 rm -f core conftest.err conftest.
$ac_objext \
8715 conftest
$ac_exeext conftest.
$ac_ext
8716 LIBS
=$ac_check_lib_save_LIBS
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8719 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8720 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
8722 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8727 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8728 case "x$with_xshm" in
8729 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8731 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8732 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8736 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8739 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8740 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
8741 $as_echo_n "(cached) " >&6
8743 ac_check_lib_save_LIBS
=$LIBS
8744 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8746 /* end confdefs.h. */
8748 /* Override any GCC internal prototype to avoid an error.
8749 Use char because int might match the return type of a GCC
8750 builtin and then its argument prototype would still apply. */
8754 char XShapeQueryExtension ();
8758 return XShapeQueryExtension ();
8763 if ac_fn_c_try_link
"$LINENO"; then :
8764 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8766 ac_cv_lib_Xext_XShapeQueryExtension
=no
8768 rm -f core conftest.err conftest.
$ac_objext \
8769 conftest
$ac_exeext conftest.
$ac_ext
8770 LIBS
=$ac_check_lib_save_LIBS
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8773 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8774 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
8776 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8781 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8782 case "x$with_xshape" in
8783 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8785 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
8786 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8790 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8793 $as_echo_n "checking for -lXxf86vm... " >&6; }
8794 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
8795 $as_echo_n "(cached) " >&6
8797 ac_check_soname_save_LIBS
=$LIBS
8798 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8800 /* end confdefs.h. */
8802 /* Override any GCC internal prototype to avoid an error.
8803 Use char because int might match the return type of a GCC
8804 builtin and then its argument prototype would still apply. */
8808 char XF86VidModeQueryExtension ();
8812 return XF86VidModeQueryExtension ();
8817 if ac_fn_c_try_link
"$LINENO"; then :
8819 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8820 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'` ;;
8821 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8822 if test "x$ac_cv_lib_soname_Xxf86vm" = x
; then :
8823 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8827 rm -f core conftest.err conftest.
$ac_objext \
8828 conftest
$ac_exeext conftest.
$ac_ext
8829 LIBS
=$ac_check_soname_save_LIBS
8831 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8833 $as_echo "not found" >&6; }
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8837 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8839 cat >>confdefs.h
<<_ACEOF
8840 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8846 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8847 case "x$with_xxf86vm" in
8848 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8850 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8851 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8855 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8858 $as_echo_n "checking for -lXrender... " >&6; }
8859 if ${ac_cv_lib_soname_Xrender+:} false
; then :
8860 $as_echo_n "(cached) " >&6
8862 ac_check_soname_save_LIBS
=$LIBS
8863 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8865 /* end confdefs.h. */
8867 /* Override any GCC internal prototype to avoid an error.
8868 Use char because int might match the return type of a GCC
8869 builtin and then its argument prototype would still apply. */
8873 char XRenderQueryExtension ();
8877 return XRenderQueryExtension ();
8882 if ac_fn_c_try_link
"$LINENO"; then :
8884 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8885 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'` ;;
8886 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8887 if test "x$ac_cv_lib_soname_Xrender" = x
; then :
8888 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8892 rm -f core conftest.err conftest.
$ac_objext \
8893 conftest
$ac_exeext conftest.
$ac_ext
8894 LIBS
=$ac_check_soname_save_LIBS
8896 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8898 $as_echo "not found" >&6; }
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8902 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8904 cat >>confdefs.h
<<_ACEOF
8905 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8909 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8910 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
8911 $as_echo_n "(cached) " >&6
8913 ac_check_lib_save_LIBS
=$LIBS
8914 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8916 /* end confdefs.h. */
8918 /* Override any GCC internal prototype to avoid an error.
8919 Use char because int might match the return type of a GCC
8920 builtin and then its argument prototype would still apply. */
8924 char XRenderSetPictureTransform ();
8928 return XRenderSetPictureTransform ();
8933 if ac_fn_c_try_link
"$LINENO"; then :
8934 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8936 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8938 rm -f core conftest.err conftest.
$ac_objext \
8939 conftest
$ac_exeext conftest.
$ac_ext
8940 LIBS
=$ac_check_lib_save_LIBS
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8943 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8944 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
8946 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8951 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8952 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
8953 $as_echo_n "(cached) " >&6
8955 ac_check_lib_save_LIBS
=$LIBS
8956 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8958 /* end confdefs.h. */
8960 /* Override any GCC internal prototype to avoid an error.
8961 Use char because int might match the return type of a GCC
8962 builtin and then its argument prototype would still apply. */
8966 char XRenderCreateLinearGradient ();
8970 return XRenderCreateLinearGradient ();
8975 if ac_fn_c_try_link
"$LINENO"; then :
8976 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
8978 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
8980 rm -f core conftest.err conftest.
$ac_objext \
8981 conftest
$ac_exeext conftest.
$ac_ext
8982 LIBS
=$ac_check_lib_save_LIBS
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8985 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8986 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
8988 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8995 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8996 case "x$with_xrender" in
8997 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8999 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9000 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9004 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9007 /* end confdefs.h. */
9008 #include <X11/Xlib.h>
9009 #include <X11/extensions/Xrandr.h>
9013 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9018 if ac_fn_c_try_compile
"$LINENO"; then :
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9020 $as_echo_n "checking for -lXrandr... " >&6; }
9021 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9022 $as_echo_n "(cached) " >&6
9024 ac_check_soname_save_LIBS
=$LIBS
9025 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9027 /* end confdefs.h. */
9029 /* Override any GCC internal prototype to avoid an error.
9030 Use char because int might match the return type of a GCC
9031 builtin and then its argument prototype would still apply. */
9035 char XRRQueryExtension ();
9039 return XRRQueryExtension ();
9044 if ac_fn_c_try_link
"$LINENO"; then :
9046 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9047 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'` ;;
9048 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9049 if test "x$ac_cv_lib_soname_Xrandr" = x
; then :
9050 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9054 rm -f core conftest.err conftest.
$ac_objext \
9055 conftest
$ac_exeext conftest.
$ac_ext
9056 LIBS
=$ac_check_soname_save_LIBS
9058 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9060 $as_echo "not found" >&6; }
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9064 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9066 cat >>confdefs.h
<<_ACEOF
9067 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9072 #include <X11/Xlib.h>
9073 #include <X11/extensions/Xrandr.h>
9077 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9082 if ac_fn_c_try_compile
"$LINENO"; then :
9084 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9092 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9093 case "x$with_xrandr" in
9094 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9096 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9097 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9101 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9104 /* end confdefs.h. */
9105 #include <X11/Xlib.h>
9106 #include <X11/extensions/Xinerama.h>
9110 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9115 if ac_fn_c_try_compile
"$LINENO"; then :
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9117 $as_echo_n "checking for -lXinerama... " >&6; }
9118 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
9119 $as_echo_n "(cached) " >&6
9121 ac_check_soname_save_LIBS
=$LIBS
9122 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9124 /* end confdefs.h. */
9126 /* Override any GCC internal prototype to avoid an error.
9127 Use char because int might match the return type of a GCC
9128 builtin and then its argument prototype would still apply. */
9132 char XineramaQueryScreens ();
9136 return XineramaQueryScreens ();
9141 if ac_fn_c_try_link
"$LINENO"; then :
9143 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9144 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'` ;;
9145 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9146 if test "x$ac_cv_lib_soname_Xinerama" = x
; then :
9147 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9151 rm -f core conftest.err conftest.
$ac_objext \
9152 conftest
$ac_exeext conftest.
$ac_ext
9153 LIBS
=$ac_check_soname_save_LIBS
9155 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9157 $as_echo "not found" >&6; }
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9161 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9163 cat >>confdefs.h
<<_ACEOF
9164 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9172 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9173 case "x$with_xinerama" in
9174 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9176 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9177 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9181 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9184 $as_echo_n "checking for -lXcomposite... " >&6; }
9185 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
9186 $as_echo_n "(cached) " >&6
9188 ac_check_soname_save_LIBS
=$LIBS
9189 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9191 /* end confdefs.h. */
9193 /* Override any GCC internal prototype to avoid an error.
9194 Use char because int might match the return type of a GCC
9195 builtin and then its argument prototype would still apply. */
9199 char XCompositeRedirectWindow ();
9203 return XCompositeRedirectWindow ();
9208 if ac_fn_c_try_link
"$LINENO"; then :
9210 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9211 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'` ;;
9212 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9213 if test "x$ac_cv_lib_soname_Xcomposite" = x
; then :
9214 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9218 rm -f core conftest.err conftest.
$ac_objext \
9219 conftest
$ac_exeext conftest.
$ac_ext
9220 LIBS
=$ac_check_soname_save_LIBS
9222 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9224 $as_echo "not found" >&6; }
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9228 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9230 cat >>confdefs.h
<<_ACEOF
9231 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9237 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9238 case "x$with_xcomposite" in
9239 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9241 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9242 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9246 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9247 #include <X11/Xlib.h>
9250 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
9252 cat >>confdefs.h
<<_ACEOF
9253 #define HAVE_XICCALLBACK_CALLBACK 1
9258 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9259 #include <X11/Xlib.h>
9262 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
9264 cat >>confdefs.h
<<_ACEOF
9265 #define HAVE_XEVENT_XCOOKIE 1
9274 if test "x$with_opengl" != "xno"
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9277 $as_echo_n "checking for -lGL... " >&6; }
9278 if ${ac_cv_lib_soname_GL+:} false
; then :
9279 $as_echo_n "(cached) " >&6
9281 ac_check_soname_save_LIBS
=$LIBS
9282 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9284 /* end confdefs.h. */
9286 /* Override any GCC internal prototype to avoid an error.
9287 Use char because int might match the return type of a GCC
9288 builtin and then its argument prototype would still apply. */
9292 char glXCreateContext ();
9296 return glXCreateContext ();
9301 if ac_fn_c_try_link
"$LINENO"; then :
9303 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9304 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'` ;;
9305 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9306 if test "x$ac_cv_lib_soname_GL" = x
; then :
9307 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9311 rm -f core conftest.err conftest.
$ac_objext \
9312 conftest
$ac_exeext conftest.
$ac_ext
9313 LIBS
=$ac_check_soname_save_LIBS
9315 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9317 $as_echo "not found" >&6; }
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9319 $as_echo_n "checking for -lGL... " >&6; }
9320 if ${ac_cv_lib_soname_GL+:} false
; then :
9321 $as_echo_n "(cached) " >&6
9323 ac_check_soname_save_LIBS
=$LIBS
9324 LIBS
="-lGL $X_LIBS $XLIB -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"
9325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9326 /* end confdefs.h. */
9328 /* Override any GCC internal prototype to avoid an error.
9329 Use char because int might match the return type of a GCC
9330 builtin and then its argument prototype would still apply. */
9334 char glXCreateContext ();
9338 return glXCreateContext ();
9343 if ac_fn_c_try_link
"$LINENO"; then :
9345 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9346 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'` ;;
9347 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9348 if test "x$ac_cv_lib_soname_GL" = x
; then :
9349 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9353 rm -f core conftest.err conftest.
$ac_objext \
9354 conftest
$ac_exeext conftest.
$ac_ext
9355 LIBS
=$ac_check_soname_save_LIBS
9357 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9359 $as_echo "not found" >&6; }
9360 if test -f /usr
/X11R
6/lib
/libGL.a
9362 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
9363 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9365 opengl_msg
="No OpenGL library found on this system."
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9369 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9371 cat >>confdefs.h
<<_ACEOF
9372 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9375 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"
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9379 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9381 cat >>confdefs.h
<<_ACEOF
9382 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9387 if test "x$with_glu" != "xno"
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9390 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9391 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
9392 $as_echo_n "(cached) " >&6
9394 ac_check_lib_save_LIBS
=$LIBS
9395 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9397 /* end confdefs.h. */
9399 /* Override any GCC internal prototype to avoid an error.
9400 Use char because int might match the return type of a GCC
9401 builtin and then its argument prototype would still apply. */
9409 return gluLookAt ();
9414 if ac_fn_c_try_link
"$LINENO"; then :
9415 ac_cv_lib_GLU_gluLookAt
=yes
9417 ac_cv_lib_GLU_gluLookAt
=no
9419 rm -f core conftest.err conftest.
$ac_objext \
9420 conftest
$ac_exeext conftest.
$ac_ext
9421 LIBS
=$ac_check_lib_save_LIBS
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9424 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9425 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
9429 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
9430 case "x$with_glu" in
9431 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9433 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
9434 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9439 if test "x$with_osmesa" != "xno"
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9442 $as_echo_n "checking for -lOSMesa... " >&6; }
9443 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
9444 $as_echo_n "(cached) " >&6
9446 ac_check_soname_save_LIBS
=$LIBS
9447 LIBS
="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9449 /* end confdefs.h. */
9451 /* Override any GCC internal prototype to avoid an error.
9452 Use char because int might match the return type of a GCC
9453 builtin and then its argument prototype would still apply. */
9466 if ac_fn_c_try_link
"$LINENO"; then :
9468 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9469 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'` ;;
9470 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9471 if test "x$ac_cv_lib_soname_OSMesa" = x
; then :
9472 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9476 rm -f core conftest.err conftest.
$ac_objext \
9477 conftest
$ac_exeext conftest.
$ac_ext
9478 LIBS
=$ac_check_soname_save_LIBS
9480 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9482 $as_echo "not found" >&6; }
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9486 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9488 cat >>confdefs.h
<<_ACEOF
9489 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9494 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9495 case "x$with_osmesa" in
9496 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9498 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9499 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9504 if test -n "$opengl_msg"; then :
9505 case "x$with_opengl" in
9506 x
) as_fn_append wine_warnings
"|$opengl_msg
9507 OpenGL and Direct3D won't be supported." ;;
9509 *) as_fn_error $?
"$opengl_msg
9510 OpenGL and Direct3D won't be supported.
9511 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9515 CPPFLAGS
="$ac_save_CPPFLAGS"
9520 enable_winex11_drv
=${enable_winex11_drv:-no}
9522 if test "x$XLIB" = "x"; then :
9525 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
9526 without X support, which probably isn't what you want. You will need
9527 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9528 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9532 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
9534 if test "$ac_cv_header_CL_cl_h" = "yes"
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9537 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9538 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
9539 $as_echo_n "(cached) " >&6
9541 ac_check_lib_save_LIBS
=$LIBS
9542 LIBS
="-lOpenCL $LIBS"
9543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9544 /* end confdefs.h. */
9546 /* Override any GCC internal prototype to avoid an error.
9547 Use char because int might match the return type of a GCC
9548 builtin and then its argument prototype would still apply. */
9552 char clGetPlatformInfo ();
9556 return clGetPlatformInfo ();
9561 if ac_fn_c_try_link
"$LINENO"; then :
9562 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9564 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
9566 rm -f core conftest.err conftest.
$ac_objext \
9567 conftest
$ac_exeext conftest.
$ac_ext
9568 LIBS
=$ac_check_lib_save_LIBS
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9571 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9572 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
9573 LIBOPENCL
="-lOpenCL"
9578 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
9579 case "x$with_opencl" in
9580 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9582 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9583 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9586 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
9589 if test "x$with_xml" != "xno"
9591 ac_save_CPPFLAGS
="$CPPFLAGS"
9592 if test -n "$ac_tool_prefix"; then
9593 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9594 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9596 $as_echo_n "checking for $ac_word... " >&6; }
9597 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
9598 $as_echo_n "(cached) " >&6
9600 if test -n "$PKG_CONFIG"; then
9601 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
9603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9607 test -z "$as_dir" && as_dir
=.
9608 for ac_exec_ext
in '' $ac_executable_extensions; do
9609 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9610 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
9611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9620 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
9621 if test -n "$PKG_CONFIG"; then
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9623 $as_echo "$PKG_CONFIG" >&6; }
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9626 $as_echo "no" >&6; }
9631 if test -z "$ac_cv_prog_PKG_CONFIG"; then
9632 ac_ct_PKG_CONFIG
=$PKG_CONFIG
9633 # Extract the first word of "pkg-config", so it can be a program name with args.
9634 set dummy pkg-config
; ac_word
=$2
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9636 $as_echo_n "checking for $ac_word... " >&6; }
9637 if ${ac_cv_prog_ac_ct_PKG_CONFIG+:} false
; then :
9638 $as_echo_n "(cached) " >&6
9640 if test -n "$ac_ct_PKG_CONFIG"; then
9641 ac_cv_prog_ac_ct_PKG_CONFIG
="$ac_ct_PKG_CONFIG" # Let the user override the test.
9643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9647 test -z "$as_dir" && as_dir
=.
9648 for ac_exec_ext
in '' $ac_executable_extensions; do
9649 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9650 ac_cv_prog_ac_ct_PKG_CONFIG
="pkg-config"
9651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9660 ac_ct_PKG_CONFIG
=$ac_cv_prog_ac_ct_PKG_CONFIG
9661 if test -n "$ac_ct_PKG_CONFIG"; then
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
9663 $as_echo "$ac_ct_PKG_CONFIG" >&6; }
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9666 $as_echo "no" >&6; }
9669 if test "x$ac_ct_PKG_CONFIG" = x
; then
9672 case $cross_compiling:$ac_tool_warned in
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9675 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9676 ac_tool_warned
=yes ;;
9678 PKG_CONFIG
=$ac_ct_PKG_CONFIG
9681 PKG_CONFIG
="$ac_cv_prog_PKG_CONFIG"
9684 if test -n "$XML2_CFLAGS"; then :
9686 elif test -n "$PKG_CONFIG"; then :
9687 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
9689 XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
9690 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
9691 if test -n "$XML2_LIBS"; then :
9693 elif test -n "$PKG_CONFIG"; then :
9694 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
9696 XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
9697 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
9698 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
9700 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9701 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9702 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9703 cat >>confdefs.h
<<_ACEOF
9704 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9711 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"
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9714 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9715 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
9716 $as_echo_n "(cached) " >&6
9718 ac_check_lib_save_LIBS
=$LIBS
9719 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9721 /* end confdefs.h. */
9723 /* Override any GCC internal prototype to avoid an error.
9724 Use char because int might match the return type of a GCC
9725 builtin and then its argument prototype would still apply. */
9729 char xmlParseMemory ();
9733 return xmlParseMemory ();
9738 if ac_fn_c_try_link
"$LINENO"; then :
9739 ac_cv_lib_xml2_xmlParseMemory
=yes
9741 ac_cv_lib_xml2_xmlParseMemory
=no
9743 rm -f core conftest.err conftest.
$ac_objext \
9744 conftest
$ac_exeext conftest.
$ac_ext
9745 LIBS
=$ac_check_lib_save_LIBS
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9748 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9749 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
9751 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9758 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9759 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
9760 $as_echo_n "(cached) " >&6
9762 ac_check_lib_save_LIBS
=$LIBS
9763 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9765 /* end confdefs.h. */
9767 /* Override any GCC internal prototype to avoid an error.
9768 Use char because int might match the return type of a GCC
9769 builtin and then its argument prototype would still apply. */
9773 char xmlReadMemory ();
9777 return xmlReadMemory ();
9782 if ac_fn_c_try_link
"$LINENO"; then :
9783 ac_cv_lib_xml2_xmlReadMemory
=yes
9785 ac_cv_lib_xml2_xmlReadMemory
=no
9787 rm -f core conftest.err conftest.
$ac_objext \
9788 conftest
$ac_exeext conftest.
$ac_ext
9789 LIBS
=$ac_check_lib_save_LIBS
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9792 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9793 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
9795 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9800 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9801 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
9802 $as_echo_n "(cached) " >&6
9804 ac_check_lib_save_LIBS
=$LIBS
9805 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9807 /* end confdefs.h. */
9809 /* Override any GCC internal prototype to avoid an error.
9810 Use char because int might match the return type of a GCC
9811 builtin and then its argument prototype would still apply. */
9815 char xmlNewDocPI ();
9819 return xmlNewDocPI ();
9824 if ac_fn_c_try_link
"$LINENO"; then :
9825 ac_cv_lib_xml2_xmlNewDocPI
=yes
9827 ac_cv_lib_xml2_xmlNewDocPI
=no
9829 rm -f core conftest.err conftest.
$ac_objext \
9830 conftest
$ac_exeext conftest.
$ac_ext
9831 LIBS
=$ac_check_lib_save_LIBS
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9834 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9835 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
9837 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9842 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9843 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
9844 $as_echo_n "(cached) " >&6
9846 ac_check_lib_save_LIBS
=$LIBS
9847 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9849 /* end confdefs.h. */
9851 /* Override any GCC internal prototype to avoid an error.
9852 Use char because int might match the return type of a GCC
9853 builtin and then its argument prototype would still apply. */
9857 char xmlSchemaSetParserStructuredErrors ();
9861 return xmlSchemaSetParserStructuredErrors ();
9866 if ac_fn_c_try_link
"$LINENO"; then :
9867 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
9869 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
9871 rm -f core conftest.err conftest.
$ac_objext \
9872 conftest
$ac_exeext conftest.
$ac_ext
9873 LIBS
=$ac_check_lib_save_LIBS
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9876 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9877 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
9879 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9884 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9885 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
9886 $as_echo_n "(cached) " >&6
9888 ac_check_lib_save_LIBS
=$LIBS
9889 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9891 /* end confdefs.h. */
9893 /* Override any GCC internal prototype to avoid an error.
9894 Use char because int might match the return type of a GCC
9895 builtin and then its argument prototype would still apply. */
9899 char xmlSchemaSetValidStructuredErrors ();
9903 return xmlSchemaSetValidStructuredErrors ();
9908 if ac_fn_c_try_link
"$LINENO"; then :
9909 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
9911 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
9913 rm -f core conftest.err conftest.
$ac_objext \
9914 conftest
$ac_exeext conftest.
$ac_ext
9915 LIBS
=$ac_check_lib_save_LIBS
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9918 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9919 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
9921 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9926 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9927 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
9928 $as_echo_n "(cached) " >&6
9930 ac_check_lib_save_LIBS
=$LIBS
9931 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9933 /* end confdefs.h. */
9935 /* Override any GCC internal prototype to avoid an error.
9936 Use char because int might match the return type of a GCC
9937 builtin and then its argument prototype would still apply. */
9941 char xmlFirstElementChild ();
9945 return xmlFirstElementChild ();
9950 if ac_fn_c_try_link
"$LINENO"; then :
9951 ac_cv_lib_xml2_xmlFirstElementChild
=yes
9953 ac_cv_lib_xml2_xmlFirstElementChild
=no
9955 rm -f core conftest.err conftest.
$ac_objext \
9956 conftest
$ac_exeext conftest.
$ac_ext
9957 LIBS
=$ac_check_lib_save_LIBS
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9960 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9961 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
9963 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9967 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9969 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
9971 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9979 CPPFLAGS
="$ac_save_CPPFLAGS"
9981 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9982 case "x$with_xml" in
9983 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9985 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9986 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9990 if test "x$with_xslt" != "xno"
9992 ac_save_CPPFLAGS
="$CPPFLAGS"
9993 if test -n "$XSLT_CFLAGS"; then :
9995 elif test -n "$PKG_CONFIG"; then :
9996 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
9998 XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
9999 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10000 if test -n "$XSLT_LIBS"; then :
10002 elif test -n "$PKG_CONFIG"; then :
10003 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10005 XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10006 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10007 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10009 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10010 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10011 # include <libxslt/pattern.h>
10014 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10015 cat >>confdefs.h
<<_ACEOF
10016 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10023 CPPFLAGS
="$ac_save_CPPFLAGS"
10024 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10027 $as_echo_n "checking for -lxslt... " >&6; }
10028 if ${ac_cv_lib_soname_xslt+:} false
; then :
10029 $as_echo_n "(cached) " >&6
10031 ac_check_soname_save_LIBS
=$LIBS
10032 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10034 /* end confdefs.h. */
10036 /* Override any GCC internal prototype to avoid an error.
10037 Use char because int might match the return type of a GCC
10038 builtin and then its argument prototype would still apply. */
10042 char xsltCompilePattern ();
10046 return xsltCompilePattern ();
10051 if ac_fn_c_try_link
"$LINENO"; then :
10053 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10054 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'` ;;
10055 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10056 if test "x$ac_cv_lib_soname_xslt" = x
; then :
10057 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10061 rm -f core conftest.err conftest.
$ac_objext \
10062 conftest
$ac_exeext conftest.
$ac_ext
10063 LIBS
=$ac_check_soname_save_LIBS
10065 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10067 $as_echo "not found" >&6; }
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10071 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10073 cat >>confdefs.h
<<_ACEOF
10074 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10083 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10084 case "x$with_xslt" in
10085 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10087 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10088 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10092 if test "x$with_dbus" != "xno"
10094 ac_save_CPPFLAGS
="$CPPFLAGS"
10095 if test -n "$DBUS_CFLAGS"; then :
10097 elif test -n "$PKG_CONFIG"; then :
10098 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10101 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10102 if test -n "$DBUS_LIBS"; then :
10104 elif test -n "$PKG_CONFIG"; then :
10105 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10109 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10110 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10112 $as_echo_n "checking for -ldbus-1... " >&6; }
10113 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10114 $as_echo_n "(cached) " >&6
10116 ac_check_soname_save_LIBS
=$LIBS
10117 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10119 /* end confdefs.h. */
10121 /* Override any GCC internal prototype to avoid an error.
10122 Use char because int might match the return type of a GCC
10123 builtin and then its argument prototype would still apply. */
10127 char dbus_connection_close ();
10131 return dbus_connection_close ();
10136 if ac_fn_c_try_link
"$LINENO"; then :
10138 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10139 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'` ;;
10140 *) 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'`
10141 if test "x$ac_cv_lib_soname_dbus_1" = x
; then :
10142 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10146 rm -f core conftest.err conftest.
$ac_objext \
10147 conftest
$ac_exeext conftest.
$ac_ext
10148 LIBS
=$ac_check_soname_save_LIBS
10150 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10152 $as_echo "not found" >&6; }
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10156 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10158 cat >>confdefs.h
<<_ACEOF
10159 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10169 CPPFLAGS
="$ac_save_CPPFLAGS"
10171 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10172 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10173 case "x$with_dbus" in
10174 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10176 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
10177 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10181 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10183 ac_save_CPPFLAGS
="$CPPFLAGS"
10184 if test -n "$HAL_CFLAGS"; then :
10186 elif test -n "$PKG_CONFIG"; then :
10187 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
10190 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
10191 if test -n "$HAL_LIBS"; then :
10193 elif test -n "$PKG_CONFIG"; then :
10194 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
10197 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
10198 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10199 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10201 $as_echo_n "checking for -lhal... " >&6; }
10202 if ${ac_cv_lib_soname_hal+:} false
; then :
10203 $as_echo_n "(cached) " >&6
10205 ac_check_soname_save_LIBS
=$LIBS
10206 LIBS
="-lhal $HAL_LIBS $LIBS"
10207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10208 /* end confdefs.h. */
10210 /* Override any GCC internal prototype to avoid an error.
10211 Use char because int might match the return type of a GCC
10212 builtin and then its argument prototype would still apply. */
10216 char libhal_ctx_new ();
10220 return libhal_ctx_new ();
10225 if ac_fn_c_try_link
"$LINENO"; then :
10227 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10228 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'` ;;
10229 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10230 if test "x$ac_cv_lib_soname_hal" = x
; then :
10231 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10235 rm -f core conftest.err conftest.
$ac_objext \
10236 conftest
$ac_exeext conftest.
$ac_ext
10237 LIBS
=$ac_check_soname_save_LIBS
10239 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10241 $as_echo "not found" >&6; }
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10245 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10247 cat >>confdefs.h
<<_ACEOF
10248 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10258 CPPFLAGS
="$ac_save_CPPFLAGS"
10259 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10260 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10261 case "x$with_hal" in
10262 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10264 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
10265 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10270 if test "x$with_gnutls" != "xno"
10272 ac_save_CPPFLAGS
="$CPPFLAGS"
10273 if test -n "$GNUTLS_CFLAGS"; then :
10275 elif test -n "$PKG_CONFIG"; then :
10276 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10279 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
10280 if test -n "$GNUTLS_LIBS"; then :
10282 elif test -n "$PKG_CONFIG"; then :
10283 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10287 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10288 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
10289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10290 /* end confdefs.h. */
10291 #include <gnutls/gnutls.h>
10295 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10300 if ac_fn_c_try_compile
"$LINENO"; then :
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10302 $as_echo_n "checking for -lgnutls... " >&6; }
10303 if ${ac_cv_lib_soname_gnutls+:} false
; then :
10304 $as_echo_n "(cached) " >&6
10306 ac_check_soname_save_LIBS
=$LIBS
10307 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
10308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10311 /* Override any GCC internal prototype to avoid an error.
10312 Use char because int might match the return type of a GCC
10313 builtin and then its argument prototype would still apply. */
10317 char gnutls_global_init ();
10321 return gnutls_global_init ();
10326 if ac_fn_c_try_link
"$LINENO"; then :
10328 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10329 dylib
) ac_cv_lib_soname_gnutls
=`otool -L conftest$ac_exeext | grep "libgnutls\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10330 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10331 if test "x$ac_cv_lib_soname_gnutls" = x
; then :
10332 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10336 rm -f core conftest.err conftest.
$ac_objext \
10337 conftest
$ac_exeext conftest.
$ac_ext
10338 LIBS
=$ac_check_soname_save_LIBS
10340 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10342 $as_echo "not found" >&6; }
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10346 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10348 cat >>confdefs.h
<<_ACEOF
10349 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10361 CPPFLAGS
="$ac_save_CPPFLAGS"
10363 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10364 case "x$with_gnutls" in
10365 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10367 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
10368 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10373 if test "$ac_cv_header_ncurses_h" = "yes"
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10376 $as_echo_n "checking for -lncurses... " >&6; }
10377 if ${ac_cv_lib_soname_ncurses+:} false
; then :
10378 $as_echo_n "(cached) " >&6
10380 ac_check_soname_save_LIBS
=$LIBS
10381 LIBS
="-lncurses $LIBS"
10382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10383 /* end confdefs.h. */
10385 /* Override any GCC internal prototype to avoid an error.
10386 Use char because int might match the return type of a GCC
10387 builtin and then its argument prototype would still apply. */
10400 if ac_fn_c_try_link
"$LINENO"; then :
10402 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10403 dylib
) ac_cv_lib_soname_ncurses
=`otool -L conftest$ac_exeext | grep "libncurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10404 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10405 if test "x$ac_cv_lib_soname_ncurses" = x
; then :
10406 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10410 rm -f core conftest.err conftest.
$ac_objext \
10411 conftest
$ac_exeext conftest.
$ac_ext
10412 LIBS
=$ac_check_soname_save_LIBS
10414 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10416 $as_echo "not found" >&6; }
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10420 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10422 cat >>confdefs.h
<<_ACEOF
10423 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10426 CURSESLIBS
="-lncurses"
10428 elif test "$ac_cv_header_curses_h" = "yes"
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10431 $as_echo_n "checking for -lcurses... " >&6; }
10432 if ${ac_cv_lib_soname_curses+:} false
; then :
10433 $as_echo_n "(cached) " >&6
10435 ac_check_soname_save_LIBS
=$LIBS
10436 LIBS
="-lcurses $LIBS"
10437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10438 /* end confdefs.h. */
10440 /* Override any GCC internal prototype to avoid an error.
10441 Use char because int might match the return type of a GCC
10442 builtin and then its argument prototype would still apply. */
10455 if ac_fn_c_try_link
"$LINENO"; then :
10457 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10458 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'` ;;
10459 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10460 if test "x$ac_cv_lib_soname_curses" = x
; then :
10461 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10465 rm -f core conftest.err conftest.
$ac_objext \
10466 conftest
$ac_exeext conftest.
$ac_ext
10467 LIBS
=$ac_check_soname_save_LIBS
10469 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10471 $as_echo "not found" >&6; }
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10475 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10477 cat >>confdefs.h
<<_ACEOF
10478 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10481 CURSESLIBS
="-lcurses"
10484 ac_save_LIBS
="$LIBS"
10485 LIBS
="$LIBS $CURSESLIBS"
10486 for ac_func
in mousemask
10488 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
10489 if test "x$ac_cv_func_mousemask" = xyes
; then :
10490 cat >>confdefs.h
<<_ACEOF
10491 #define HAVE_MOUSEMASK 1
10497 LIBS
="$ac_save_LIBS"
10498 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10499 case "x$with_curses" in
10500 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10502 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10503 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10507 if test "x$with_sane" != "xno"
10509 ac_save_CPPFLAGS
="$CPPFLAGS"
10510 if test -n "$SANE_CFLAGS"; then :
10512 elif test -n "$PKG_CONFIG"; then :
10513 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10515 SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10516 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
10517 if test -n "$SANE_LIBS"; then :
10519 elif test -n "$PKG_CONFIG"; then :
10520 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
10522 SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10524 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10525 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10527 $as_echo_n "checking for -lsane... " >&6; }
10528 if ${ac_cv_lib_soname_sane+:} false
; then :
10529 $as_echo_n "(cached) " >&6
10531 ac_check_soname_save_LIBS
=$LIBS
10532 LIBS
="-lsane $SANE_LIBS $LIBS"
10533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10534 /* end confdefs.h. */
10536 /* Override any GCC internal prototype to avoid an error.
10537 Use char because int might match the return type of a GCC
10538 builtin and then its argument prototype would still apply. */
10546 return sane_init ();
10551 if ac_fn_c_try_link
"$LINENO"; then :
10553 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10554 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'` ;;
10555 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10556 if test "x$ac_cv_lib_soname_sane" = x
; then :
10557 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10561 rm -f core conftest.err conftest.
$ac_objext \
10562 conftest
$ac_exeext conftest.
$ac_ext
10563 LIBS
=$ac_check_soname_save_LIBS
10565 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10567 $as_echo "not found" >&6; }
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10571 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10573 cat >>confdefs.h
<<_ACEOF
10574 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10584 CPPFLAGS
="$ac_save_CPPFLAGS"
10586 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10587 case "x$with_sane" in
10588 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10590 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
10591 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10595 if test "x$with_v4l" != "xno"
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10598 $as_echo_n "checking for -lv4l1... " >&6; }
10599 if ${ac_cv_lib_soname_v4l1+:} false
; then :
10600 $as_echo_n "(cached) " >&6
10602 ac_check_soname_save_LIBS
=$LIBS
10603 LIBS
="-lv4l1 $LIBS"
10604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10605 /* end confdefs.h. */
10607 /* Override any GCC internal prototype to avoid an error.
10608 Use char because int might match the return type of a GCC
10609 builtin and then its argument prototype would still apply. */
10617 return v4l1_open ();
10622 if ac_fn_c_try_link
"$LINENO"; then :
10624 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10625 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'` ;;
10626 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10627 if test "x$ac_cv_lib_soname_v4l1" = x
; then :
10628 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10632 rm -f core conftest.err conftest.
$ac_objext \
10633 conftest
$ac_exeext conftest.
$ac_ext
10634 LIBS
=$ac_check_soname_save_LIBS
10636 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10638 $as_echo "not found" >&6; }
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10642 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10644 cat >>confdefs.h
<<_ACEOF
10645 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10651 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10652 case "x$with_v4l" in
10653 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
10655 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
10656 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10660 if test "x$with_gphoto" != "xno"
10662 ac_save_CPPFLAGS
="$CPPFLAGS"
10663 if test -n "$GPHOTO2_CFLAGS"; then :
10665 elif test -n "$PKG_CONFIG"; then :
10666 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
10668 GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
10669 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
10670 if test -n "$GPHOTO2_LIBS"; then :
10672 elif test -n "$PKG_CONFIG"; then :
10673 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
10675 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
10676 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
10677 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10678 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10680 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10681 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
10682 $as_echo_n "(cached) " >&6
10684 ac_check_lib_save_LIBS
=$LIBS
10685 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
10686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10687 /* end confdefs.h. */
10689 /* Override any GCC internal prototype to avoid an error.
10690 Use char because int might match the return type of a GCC
10691 builtin and then its argument prototype would still apply. */
10695 char gp_camera_new ();
10699 return gp_camera_new ();
10704 if ac_fn_c_try_link
"$LINENO"; then :
10705 ac_cv_lib_gphoto2_gp_camera_new
=yes
10707 ac_cv_lib_gphoto2_gp_camera_new
=no
10709 rm -f core conftest.err conftest.
$ac_objext \
10710 conftest
$ac_exeext conftest.
$ac_ext
10711 LIBS
=$ac_check_lib_save_LIBS
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10714 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10715 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
10717 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10720 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
10724 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
10728 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
10730 elif test -n "$PKG_CONFIG"; then :
10731 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
10733 GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
10734 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
10735 if test -n "$GPHOTO2_PORT_LIBS"; then :
10737 elif test -n "$PKG_CONFIG"; then :
10738 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
10740 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
10741 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
10742 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
10743 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
10745 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
10746 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
10747 $as_echo_n "(cached) " >&6
10749 ac_check_lib_save_LIBS
=$LIBS
10750 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
10751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10752 /* end confdefs.h. */
10754 /* Override any GCC internal prototype to avoid an error.
10755 Use char because int might match the return type of a GCC
10756 builtin and then its argument prototype would still apply. */
10760 char gp_port_info_list_new ();
10764 return gp_port_info_list_new ();
10769 if ac_fn_c_try_link
"$LINENO"; then :
10770 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
10772 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
10774 rm -f core conftest.err conftest.
$ac_objext \
10775 conftest
$ac_exeext conftest.
$ac_ext
10776 LIBS
=$ac_check_lib_save_LIBS
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
10779 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
10780 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
10782 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
10785 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
10789 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
10793 CPPFLAGS
="$ac_save_CPPFLAGS"
10795 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10796 case "x$with_gphoto" in
10797 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10799 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10800 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10803 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
10804 case "x$with_gphoto" in
10805 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
10807 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
10808 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10813 if test "$ac_cv_header_resolv_h" = "yes"
10815 ac_save_LIBS
="$LIBS"
10816 for lib
in '' -lresolv
10818 LIBS
="$lib $ac_save_LIBS"
10819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10820 /* end confdefs.h. */
10821 #ifdef HAVE_NETINET_IN_H
10822 #include <netinet/in.h>
10824 #include <resolv.h>
10828 res_query("foo",ns_c_in,0,0,0);
10833 if ac_fn_c_try_link
"$LINENO"; then :
10835 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10840 rm -f core conftest.err conftest.
$ac_objext \
10841 conftest
$ac_exeext conftest.
$ac_ext
10842 if test "${RESOLVLIBS+set}" = set; then
10846 LIBS
="$ac_save_LIBS"
10849 if test "x$with_lcms" != "xno"
10851 ac_save_CPPFLAGS
="$CPPFLAGS"
10852 if test -n "$LCMS_CFLAGS"; then :
10854 elif test -n "$PKG_CONFIG"; then :
10855 LCMS_CFLAGS
=`$PKG_CONFIG --cflags lcms 2>/dev/null`
10858 CPPFLAGS
="$CPPFLAGS $LCMS_CFLAGS"
10859 if test -n "$LCMS_LIBS"; then :
10861 elif test -n "$PKG_CONFIG"; then :
10862 LCMS_LIBS
=`$PKG_CONFIG --libs lcms 2>/dev/null`
10865 LCMS_LIBS
=${LCMS_LIBS:-"-llcms"}
10866 for ac_header
in lcms.h lcms
/lcms.h
10868 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10869 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10870 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10871 cat >>confdefs.h
<<_ACEOF
10872 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10879 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10882 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10883 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false
; then :
10884 $as_echo_n "(cached) " >&6
10886 ac_check_lib_save_LIBS
=$LIBS
10887 LIBS
="-llcms $LIBS"
10888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10889 /* end confdefs.h. */
10891 /* Override any GCC internal prototype to avoid an error.
10892 Use char because int might match the return type of a GCC
10893 builtin and then its argument prototype would still apply. */
10897 char cmsOpenProfileFromFile ();
10901 return cmsOpenProfileFromFile ();
10906 if ac_fn_c_try_link
"$LINENO"; then :
10907 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10909 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10911 rm -f core conftest.err conftest.
$ac_objext \
10912 conftest
$ac_exeext conftest.
$ac_ext
10913 LIBS
=$ac_check_lib_save_LIBS
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10916 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10917 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes
; then :
10919 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10929 CPPFLAGS
="$ac_save_CPPFLAGS"
10931 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10932 case "x$with_cms" in
10933 x
) as_fn_append wine_notices
"|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10935 *) as_fn_error $?
"liblcms ${notice_platform}development files not found, Color Management won't be supported.
10936 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10940 if test "x$with_freetype" != "xno"
10942 ac_save_CPPFLAGS
="$CPPFLAGS"
10943 if test -n "$FREETYPE_CFLAGS"; then :
10945 elif test -n "$PKG_CONFIG"; then :
10946 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
10948 FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
10949 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
10950 if test -n "$FREETYPE_LIBS"; then :
10952 elif test -n "$PKG_CONFIG"; then :
10953 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
10955 FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
10956 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10958 $as_echo_n "checking for -lfreetype... " >&6; }
10959 if ${ac_cv_lib_soname_freetype+:} false
; then :
10960 $as_echo_n "(cached) " >&6
10962 ac_check_soname_save_LIBS
=$LIBS
10963 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
10964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10965 /* end confdefs.h. */
10967 /* Override any GCC internal prototype to avoid an error.
10968 Use char because int might match the return type of a GCC
10969 builtin and then its argument prototype would still apply. */
10973 char FT_Init_FreeType ();
10977 return FT_Init_FreeType ();
10982 if ac_fn_c_try_link
"$LINENO"; then :
10984 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10985 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'` ;;
10986 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10987 if test "x$ac_cv_lib_soname_freetype" = x
; then :
10988 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10992 rm -f core conftest.err conftest.
$ac_objext \
10993 conftest
$ac_exeext conftest.
$ac_ext
10994 LIBS
=$ac_check_soname_save_LIBS
10996 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10998 $as_echo "not found" >&6; }
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11002 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11004 cat >>confdefs.h
<<_ACEOF
11005 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11010 if test "$ft_lib" = "yes"
11012 for ac_header
in ft2build.h \
11013 freetype
/freetype.h \
11014 freetype
/ftglyph.h \
11015 freetype
/fttypes.h \
11016 freetype
/tttables.h \
11017 freetype
/ftsnames.h \
11018 freetype
/ttnameid.h \
11019 freetype
/ftoutln.h \
11020 freetype
/ftwinfnt.h \
11021 freetype
/ftmodapi.h \
11022 freetype
/ftlcdfil.h
11024 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11025 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
11026 # include <ft2build.h>
11029 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11030 cat >>confdefs.h
<<_ACEOF
11031 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11039 /* end confdefs.h. */
11040 #include <ft2build.h>
11041 #include <freetype/fttrigon.h>
11043 if ac_fn_c_try_cpp
"$LINENO"; then :
11045 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
11047 wine_cv_fttrigon
=yes
11049 wine_cv_fttrigon
=no
11051 rm -f conftest.err conftest.i conftest.
$ac_ext
11052 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
11054 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11056 cat >>confdefs.h
<<_ACEOF
11057 #define HAVE_FT_TRUETYPEENGINETYPE 1
11063 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11066 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11074 CPPFLAGS
="$ac_save_CPPFLAGS"
11076 if test "x$ac_cv_header_freetype_freetype_h" != xyes
-o "x$wine_cv_fttrigon" != xyes
; then :
11077 case "x$with_freetype" in
11079 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11080 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11083 test "x$ac_cv_header_freetype_freetype_h" = xyes
-a "x$wine_cv_fttrigon" = xyes || enable_fonts
=${enable_fonts:-no}
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11086 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11087 if ${ac_cv_c_ppdev+:} false
; then :
11088 $as_echo_n "(cached) " >&6
11090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11091 /* end confdefs.h. */
11092 #ifdef HAVE_SYS_IOCTL_H
11093 # include <sys/ioctl.h>
11095 #include <linux/ppdev.h>
11099 ioctl (1,PPCLAIM,0)
11104 if ac_fn_c_try_compile
"$LINENO"; then :
11105 ac_cv_c_ppdev
="yes"
11109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11112 $as_echo "$ac_cv_c_ppdev" >&6; }
11113 if test "$ac_cv_c_ppdev" = "yes"
11116 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11120 ac_wine_check_funcs_save_LIBS
="$LIBS"
11121 LIBS
="$LIBS $LIBPTHREAD"
11123 pthread_attr_get_np \
11124 pthread_getattr_np \
11125 pthread_getthreadid_np \
11126 pthread_get_stackaddr_np \
11127 pthread_get_stacksize_np
11129 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11130 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11131 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11132 cat >>confdefs.h
<<_ACEOF
11133 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11139 LIBS
="$ac_wine_check_funcs_save_LIBS"
11141 if test "$ac_cv_header_zlib_h" = "yes"
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11144 $as_echo_n "checking for inflate in -lz... " >&6; }
11145 if ${ac_cv_lib_z_inflate+:} false
; then :
11146 $as_echo_n "(cached) " >&6
11148 ac_check_lib_save_LIBS
=$LIBS
11150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11151 /* end confdefs.h. */
11153 /* Override any GCC internal prototype to avoid an error.
11154 Use char because int might match the return type of a GCC
11155 builtin and then its argument prototype would still apply. */
11168 if ac_fn_c_try_link
"$LINENO"; then :
11169 ac_cv_lib_z_inflate
=yes
11171 ac_cv_lib_z_inflate
=no
11173 rm -f core conftest.err conftest.
$ac_objext \
11174 conftest
$ac_exeext conftest.
$ac_ext
11175 LIBS
=$ac_check_lib_save_LIBS
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11178 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11179 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
11181 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11188 if test "x$ZLIB" = "x"; then :
11189 case "x$with_zlib" in
11190 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11192 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
11193 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11197 if test "x$enable_tools" != xno
11199 if test "$ac_cv_header_gettext_po_h" = "yes"
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11202 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11203 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
11204 $as_echo_n "(cached) " >&6
11206 ac_check_lib_save_LIBS
=$LIBS
11207 LIBS
="-lgettextpo $LIBS"
11208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11209 /* end confdefs.h. */
11211 /* Override any GCC internal prototype to avoid an error.
11212 Use char because int might match the return type of a GCC
11213 builtin and then its argument prototype would still apply. */
11217 char po_message_msgctxt ();
11221 return po_message_msgctxt ();
11226 if ac_fn_c_try_link
"$LINENO"; then :
11227 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
11229 ac_cv_lib_gettextpo_po_message_msgctxt
=no
11231 rm -f core conftest.err conftest.
$ac_objext \
11232 conftest
$ac_exeext conftest.
$ac_ext
11233 LIBS
=$ac_check_lib_save_LIBS
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11236 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11237 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
11239 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11241 LIBGETTEXTPO
="-lgettextpo"
11246 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
11247 case "x$with_gettextpo" in
11248 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11250 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11251 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11256 if test "x$with_gstreamer" != "xno"
11258 ac_save_CPPFLAGS
="$CPPFLAGS"
11259 if test -n "$GSTREAMER_CFLAGS"; then :
11261 elif test -n "$PKG_CONFIG"; then :
11262 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11265 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
11266 if test -n "$GSTREAMER_LIBS"; then :
11268 elif test -n "$PKG_CONFIG"; then :
11269 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11274 for i
in $GSTREAMER_CFLAGS
11277 -I*) ac_gst_incl
="$ac_gst_incl $i";;
11280 GSTREAMER_CFLAGS
=$ac_gst_incl
11281 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11282 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11283 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
11284 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11285 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11287 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11289 /* end confdefs.h. */
11290 #include <gst/app/gstappsink.h>
11294 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11299 if ac_fn_c_try_compile
"$LINENO"; then :
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11301 $as_echo "yes" >&6; }
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11303 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11304 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
11305 $as_echo_n "(cached) " >&6
11307 ac_check_lib_save_LIBS
=$LIBS
11308 LIBS
="-lgstreamer-0.10 $LIBS"
11309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11310 /* end confdefs.h. */
11312 /* Override any GCC internal prototype to avoid an error.
11313 Use char because int might match the return type of a GCC
11314 builtin and then its argument prototype would still apply. */
11318 char gst_pad_get_caps_reffed ();
11322 return gst_pad_get_caps_reffed ();
11327 if ac_fn_c_try_link
"$LINENO"; then :
11328 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
11330 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
11332 rm -f core conftest.err conftest.
$ac_objext \
11333 conftest
$ac_exeext conftest.
$ac_ext
11334 LIBS
=$ac_check_lib_save_LIBS
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11337 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11338 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11340 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11341 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
11342 $as_echo_n "(cached) " >&6
11344 ac_check_lib_save_LIBS
=$LIBS
11345 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11347 /* end confdefs.h. */
11349 /* Override any GCC internal prototype to avoid an error.
11350 Use char because int might match the return type of a GCC
11351 builtin and then its argument prototype would still apply. */
11355 char gst_app_buffer_new ();
11359 return gst_app_buffer_new ();
11364 if ac_fn_c_try_link
"$LINENO"; then :
11365 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
11367 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
11369 rm -f core conftest.err conftest.
$ac_objext \
11370 conftest
$ac_exeext conftest.
$ac_ext
11371 LIBS
=$ac_check_lib_save_LIBS
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11374 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11375 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11383 $as_echo "no" >&6; }
11385 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11390 GSTREAMER_CFLAGS
=""
11394 CPPFLAGS
="$ac_save_CPPFLAGS"
11396 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
11397 case "x$with_gstreamer" in
11398 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11400 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11401 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11404 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
11408 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11411 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11412 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
11413 $as_echo_n "(cached) " >&6
11415 ac_check_lib_save_LIBS
=$LIBS
11416 LIBS
="-lasound $LIBS"
11417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11418 /* end confdefs.h. */
11420 /* Override any GCC internal prototype to avoid an error.
11421 Use char because int might match the return type of a GCC
11422 builtin and then its argument prototype would still apply. */
11426 char snd_pcm_hw_params_get_access_mask ();
11430 return snd_pcm_hw_params_get_access_mask ();
11435 if ac_fn_c_try_link
"$LINENO"; then :
11436 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
11438 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
11440 rm -f core conftest.err conftest.
$ac_objext \
11441 conftest
$ac_exeext conftest.
$ac_ext
11442 LIBS
=$ac_check_lib_save_LIBS
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11445 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11446 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
11447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h. */
11449 #ifdef HAVE_ALSA_ASOUNDLIB_H
11450 #include <alsa/asoundlib.h>
11451 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11452 #include <sys/asoundlib.h>
11457 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11462 if ac_fn_c_try_compile
"$LINENO"; then :
11463 ALSALIBS
="-lasound"
11465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11470 if test "x$with_oss" != xno
11472 ac_save_CPPFLAGS
="$CPPFLAGS"
11473 if test -f /etc
/oss.conf
11477 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11478 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
11479 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11480 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
11481 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11483 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
11485 cat >>confdefs.h
<<_ACEOF
11486 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11489 OSS4INCL
="$ac_oss_incl"
11496 CPPFLAGS
="$ac_save_CPPFLAGS"
11497 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11499 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11504 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11507 $as_echo_n "checking for -lcapi20... " >&6; }
11508 if ${ac_cv_lib_soname_capi20+:} false
; then :
11509 $as_echo_n "(cached) " >&6
11511 ac_check_soname_save_LIBS
=$LIBS
11512 LIBS
="-lcapi20 $LIBS"
11513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11514 /* end confdefs.h. */
11516 /* Override any GCC internal prototype to avoid an error.
11517 Use char because int might match the return type of a GCC
11518 builtin and then its argument prototype would still apply. */
11522 char capi20_register ();
11526 return capi20_register ();
11531 if ac_fn_c_try_link
"$LINENO"; then :
11533 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11534 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'` ;;
11535 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11536 if test "x$ac_cv_lib_soname_capi20" = x
; then :
11537 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11541 rm -f core conftest.err conftest.
$ac_objext \
11542 conftest
$ac_exeext conftest.
$ac_ext
11543 LIBS
=$ac_check_soname_save_LIBS
11545 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11547 $as_echo "not found" >&6; }
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11551 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11553 cat >>confdefs.h
<<_ACEOF
11554 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11560 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11561 case "x$with_capi" in
11562 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11564 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11565 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11571 if test "x$with_cups" != "xno"
11573 ac_save_CPPFLAGS
="$CPPFLAGS"
11574 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
11575 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
11576 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
11577 for ac_header
in cups
/cups.h
11579 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11580 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
11581 cat >>confdefs.h
<<_ACEOF
11582 #define HAVE_CUPS_CUPS_H 1
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11585 $as_echo_n "checking for -lcups... " >&6; }
11586 if ${ac_cv_lib_soname_cups+:} false
; then :
11587 $as_echo_n "(cached) " >&6
11589 ac_check_soname_save_LIBS
=$LIBS
11590 LIBS
="-lcups $ac_cups_libs $LIBS"
11591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11592 /* end confdefs.h. */
11594 /* Override any GCC internal prototype to avoid an error.
11595 Use char because int might match the return type of a GCC
11596 builtin and then its argument prototype would still apply. */
11600 char cupsGetDefault ();
11604 return cupsGetDefault ();
11609 if ac_fn_c_try_link
"$LINENO"; then :
11611 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11612 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'` ;;
11613 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11614 if test "x$ac_cv_lib_soname_cups" = x
; then :
11615 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11619 rm -f core conftest.err conftest.
$ac_objext \
11620 conftest
$ac_exeext conftest.
$ac_ext
11621 LIBS
=$ac_check_soname_save_LIBS
11623 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11625 $as_echo "not found" >&6; }
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11629 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11631 cat >>confdefs.h
<<_ACEOF
11632 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11635 CUPSINCL
="$ac_cups_cflags"
11641 CPPFLAGS
="$ac_save_CPPFLAGS"
11643 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11644 case "x$with_cups" in
11645 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11647 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
11648 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11652 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11655 $as_echo_n "checking for -lfontconfig... " >&6; }
11656 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11657 $as_echo_n "(cached) " >&6
11659 ac_check_soname_save_LIBS
=$LIBS
11660 LIBS
="-lfontconfig $LIBS"
11661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11662 /* end confdefs.h. */
11664 /* Override any GCC internal prototype to avoid an error.
11665 Use char because int might match the return type of a GCC
11666 builtin and then its argument prototype would still apply. */
11679 if ac_fn_c_try_link
"$LINENO"; then :
11681 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11682 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'` ;;
11683 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11684 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
11685 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11689 rm -f core conftest.err conftest.
$ac_objext \
11690 conftest
$ac_exeext conftest.
$ac_ext
11691 LIBS
=$ac_check_soname_save_LIBS
11693 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11695 $as_echo "not found" >&6; }
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11699 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11701 cat >>confdefs.h
<<_ACEOF
11702 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11707 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11709 ac_save_CPPFLAGS
="$CPPFLAGS"
11710 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11711 $as_unset ac_cv_header_fontconfig_fontconfig_h
11712 for ac_header
in fontconfig
/fontconfig.h
11714 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11715 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
11716 cat >>confdefs.h
<<_ACEOF
11717 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11724 CPPFLAGS
="$ac_save_CPPFLAGS"
11725 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11727 FONTCONFIGINCL
="$X_CFLAGS"
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11730 $as_echo_n "checking for -lfontconfig... " >&6; }
11731 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11732 $as_echo_n "(cached) " >&6
11734 ac_check_soname_save_LIBS
=$LIBS
11735 LIBS
="-lfontconfig $X_LIBS $LIBS"
11736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11737 /* end confdefs.h. */
11739 /* Override any GCC internal prototype to avoid an error.
11740 Use char because int might match the return type of a GCC
11741 builtin and then its argument prototype would still apply. */
11754 if ac_fn_c_try_link
"$LINENO"; then :
11756 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11757 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'` ;;
11758 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11759 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
11760 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11764 rm -f core conftest.err conftest.
$ac_objext \
11765 conftest
$ac_exeext conftest.
$ac_ext
11766 LIBS
=$ac_check_soname_save_LIBS
11768 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11770 $as_echo "not found" >&6; }
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11774 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11776 cat >>confdefs.h
<<_ACEOF
11777 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11784 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11785 case "x$with_fontconfig" in
11786 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11788 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11789 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11793 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11796 $as_echo_n "checking for -lgsm... " >&6; }
11797 if ${ac_cv_lib_soname_gsm+:} false
; then :
11798 $as_echo_n "(cached) " >&6
11800 ac_check_soname_save_LIBS
=$LIBS
11802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11803 /* end confdefs.h. */
11805 /* Override any GCC internal prototype to avoid an error.
11806 Use char because int might match the return type of a GCC
11807 builtin and then its argument prototype would still apply. */
11811 char gsm_create ();
11815 return gsm_create ();
11820 if ac_fn_c_try_link
"$LINENO"; then :
11822 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11823 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'` ;;
11824 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11825 if test "x$ac_cv_lib_soname_gsm" = x
; then :
11826 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11830 rm -f core conftest.err conftest.
$ac_objext \
11831 conftest
$ac_exeext conftest.
$ac_ext
11832 LIBS
=$ac_check_soname_save_LIBS
11834 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11836 $as_echo "not found" >&6; }
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11840 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11842 cat >>confdefs.h
<<_ACEOF
11843 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11849 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11850 case "x$with_gsm" in
11851 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11853 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11854 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11858 if test "$ac_cv_header_jpeglib_h" = "yes"
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11861 $as_echo_n "checking for -ljpeg... " >&6; }
11862 if ${ac_cv_lib_soname_jpeg+:} false
; then :
11863 $as_echo_n "(cached) " >&6
11865 ac_check_soname_save_LIBS
=$LIBS
11866 LIBS
="-ljpeg $LIBS"
11867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11868 /* end confdefs.h. */
11870 /* Override any GCC internal prototype to avoid an error.
11871 Use char because int might match the return type of a GCC
11872 builtin and then its argument prototype would still apply. */
11876 char jpeg_start_decompress ();
11880 return jpeg_start_decompress ();
11885 if ac_fn_c_try_link
"$LINENO"; then :
11887 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11888 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'` ;;
11889 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11890 if test "x$ac_cv_lib_soname_jpeg" = x
; then :
11891 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11895 rm -f core conftest.err conftest.
$ac_objext \
11896 conftest
$ac_exeext conftest.
$ac_ext
11897 LIBS
=$ac_check_soname_save_LIBS
11899 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11901 $as_echo "not found" >&6; }
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11905 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11907 cat >>confdefs.h
<<_ACEOF
11908 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11914 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11915 case "x$with_jpeg" in
11916 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11918 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11919 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11923 if test "$ac_cv_header_png_h" = "yes"
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11926 $as_echo_n "checking for -lpng... " >&6; }
11927 if ${ac_cv_lib_soname_png+:} false
; then :
11928 $as_echo_n "(cached) " >&6
11930 ac_check_soname_save_LIBS
=$LIBS
11931 LIBS
="-lpng -lm -lz $LIBS"
11932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h. */
11935 /* Override any GCC internal prototype to avoid an error.
11936 Use char because int might match the return type of a GCC
11937 builtin and then its argument prototype would still apply. */
11941 char png_create_read_struct ();
11945 return png_create_read_struct ();
11950 if ac_fn_c_try_link
"$LINENO"; then :
11952 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11953 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'` ;;
11954 *) 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'`
11955 if test "x$ac_cv_lib_soname_png" = x
; then :
11956 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11960 rm -f core conftest.err conftest.
$ac_objext \
11961 conftest
$ac_exeext conftest.
$ac_ext
11962 LIBS
=$ac_check_soname_save_LIBS
11964 if test "x$ac_cv_lib_soname_png" = "x"; then :
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11966 $as_echo "not found" >&6; }
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11970 $as_echo "$ac_cv_lib_soname_png" >&6; }
11972 cat >>confdefs.h
<<_ACEOF
11973 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11979 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11980 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11981 $as_echo_n "(cached) " >&6
11983 ac_check_lib_save_LIBS
=$LIBS
11984 LIBS
="-lpng -lm -lz $LIBS"
11985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h. */
11988 /* Override any GCC internal prototype to avoid an error.
11989 Use char because int might match the return type of a GCC
11990 builtin and then its argument prototype would still apply. */
11994 char png_set_expand_gray_1_2_4_to_8 ();
11998 return png_set_expand_gray_1_2_4_to_8 ();
12003 if ac_fn_c_try_link
"$LINENO"; then :
12004 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
12006 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
12008 rm -f core conftest.err conftest.
$ac_objext \
12009 conftest
$ac_exeext conftest.
$ac_ext
12010 LIBS
=$ac_check_lib_save_LIBS
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
12013 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
12014 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
12016 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12021 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
12023 ac_save_CPPFLAGS
="$CPPFLAGS"
12024 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
12025 $as_unset ac_cv_header_png_h
12026 for ac_header
in png.h
12028 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12029 if test "x$ac_cv_header_png_h" = xyes
; then :
12030 cat >>confdefs.h
<<_ACEOF
12031 #define HAVE_PNG_H 1
12038 CPPFLAGS
="$ac_save_CPPFLAGS"
12039 if test "$ac_cv_header_png_h" = "yes"
12041 PNGINCL
="$X_CFLAGS"
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12044 $as_echo_n "checking for -lpng... " >&6; }
12045 if ${ac_cv_lib_soname_png+:} false
; then :
12046 $as_echo_n "(cached) " >&6
12048 ac_check_soname_save_LIBS
=$LIBS
12049 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
12050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12051 /* end confdefs.h. */
12053 /* Override any GCC internal prototype to avoid an error.
12054 Use char because int might match the return type of a GCC
12055 builtin and then its argument prototype would still apply. */
12059 char png_create_read_struct ();
12063 return png_create_read_struct ();
12068 if ac_fn_c_try_link
"$LINENO"; then :
12070 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12071 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'` ;;
12072 *) 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'`
12073 if test "x$ac_cv_lib_soname_png" = x
; then :
12074 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12078 rm -f core conftest.err conftest.
$ac_objext \
12079 conftest
$ac_exeext conftest.
$ac_ext
12080 LIBS
=$ac_check_soname_save_LIBS
12082 if test "x$ac_cv_lib_soname_png" = "x"; then :
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12084 $as_echo "not found" >&6; }
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12088 $as_echo "$ac_cv_lib_soname_png" >&6; }
12090 cat >>confdefs.h
<<_ACEOF
12091 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
12097 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
12098 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
12099 $as_echo_n "(cached) " >&6
12101 ac_check_lib_save_LIBS
=$LIBS
12102 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
12103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12104 /* end confdefs.h. */
12106 /* Override any GCC internal prototype to avoid an error.
12107 Use char because int might match the return type of a GCC
12108 builtin and then its argument prototype would still apply. */
12112 char png_set_expand_gray_1_2_4_to_8 ();
12116 return png_set_expand_gray_1_2_4_to_8 ();
12121 if ac_fn_c_try_link
"$LINENO"; then :
12122 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
12124 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
12126 rm -f core conftest.err conftest.
$ac_objext \
12127 conftest
$ac_exeext conftest.
$ac_ext
12128 LIBS
=$ac_check_lib_save_LIBS
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
12131 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
12132 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
12133 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12139 if test "x$ac_cv_lib_soname_png" = "x"; then :
12140 case "x$with_png" in
12141 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12143 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12144 This is an error since --with-png was requested." "$LINENO" 5 ;;
12148 if test "$ac_cv_header_tiffio_h" = "yes"
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12151 $as_echo_n "checking for -ltiff... " >&6; }
12152 if ${ac_cv_lib_soname_tiff+:} false
; then :
12153 $as_echo_n "(cached) " >&6
12155 ac_check_soname_save_LIBS
=$LIBS
12156 LIBS
="-ltiff $LIBS"
12157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12158 /* end confdefs.h. */
12160 /* Override any GCC internal prototype to avoid an error.
12161 Use char because int might match the return type of a GCC
12162 builtin and then its argument prototype would still apply. */
12166 char TIFFClientOpen ();
12170 return TIFFClientOpen ();
12175 if ac_fn_c_try_link
"$LINENO"; then :
12177 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12178 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'` ;;
12179 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12180 if test "x$ac_cv_lib_soname_tiff" = x
; then :
12181 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12185 rm -f core conftest.err conftest.
$ac_objext \
12186 conftest
$ac_exeext conftest.
$ac_ext
12187 LIBS
=$ac_check_soname_save_LIBS
12189 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12191 $as_echo "not found" >&6; }
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12195 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12197 cat >>confdefs.h
<<_ACEOF
12198 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12204 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12205 case "x$with_tiff" in
12206 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12208 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
12209 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12213 if test "$ac_cv_header_mpg123_h" = "yes"
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12216 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12217 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
12218 $as_echo_n "(cached) " >&6
12220 ac_check_lib_save_LIBS
=$LIBS
12221 LIBS
="-lmpg123 $LIBS"
12222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12223 /* end confdefs.h. */
12225 /* Override any GCC internal prototype to avoid an error.
12226 Use char because int might match the return type of a GCC
12227 builtin and then its argument prototype would still apply. */
12231 char mpg123_feed ();
12235 return mpg123_feed ();
12240 if ac_fn_c_try_link
"$LINENO"; then :
12241 ac_cv_lib_mpg123_mpg123_feed
=yes
12243 ac_cv_lib_mpg123_mpg123_feed
=no
12245 rm -f core conftest.err conftest.
$ac_objext \
12246 conftest
$ac_exeext conftest.
$ac_ext
12247 LIBS
=$ac_check_lib_save_LIBS
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12250 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12251 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
12252 LIBMPG123
="-lmpg123"
12257 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
12258 case "x$with_mpg123" in
12259 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12261 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12262 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12265 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
-o "x$ac_cv_header_AudioToolbox_AudioConverter_h" = xyes || enable_winemp3_acm
=${enable_winemp3_acm:-no}
12267 if test "$ac_cv_header_AL_al_h" = "yes"
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12270 $as_echo_n "checking for -lopenal... " >&6; }
12271 if ${ac_cv_lib_soname_openal+:} false
; then :
12272 $as_echo_n "(cached) " >&6
12274 ac_check_soname_save_LIBS
=$LIBS
12275 LIBS
="-lopenal $LIBS"
12276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12277 /* end confdefs.h. */
12279 /* Override any GCC internal prototype to avoid an error.
12280 Use char because int might match the return type of a GCC
12281 builtin and then its argument prototype would still apply. */
12285 char alGetSource3i ();
12289 return alGetSource3i ();
12294 if ac_fn_c_try_link
"$LINENO"; then :
12296 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12297 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'` ;;
12298 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12299 if test "x$ac_cv_lib_soname_openal" = x
; then :
12300 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12304 rm -f core conftest.err conftest.
$ac_objext \
12305 conftest
$ac_exeext conftest.
$ac_ext
12306 LIBS
=$ac_check_soname_save_LIBS
12308 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12310 $as_echo "not found" >&6; }
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12314 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12316 cat >>confdefs.h
<<_ACEOF
12317 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12320 LIBOPENAL
="-lopenal"
12322 ac_cv_lib_openal
=yes
12324 cat >>confdefs.h
<<_ACEOF
12325 #define HAVE_OPENAL 1
12330 if test "x$ac_cv_lib_openal" != xyes
; then :
12331 case "x$with_openal" in
12332 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12334 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12335 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12338 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
12340 if test "$ac_cv_header_kstat_h" = "yes"
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12343 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12344 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
12345 $as_echo_n "(cached) " >&6
12347 ac_check_lib_save_LIBS
=$LIBS
12348 LIBS
="-lkstat $LIBS"
12349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12350 /* end confdefs.h. */
12352 /* Override any GCC internal prototype to avoid an error.
12353 Use char because int might match the return type of a GCC
12354 builtin and then its argument prototype would still apply. */
12358 char kstat_open ();
12362 return kstat_open ();
12367 if ac_fn_c_try_link
"$LINENO"; then :
12368 ac_cv_lib_kstat_kstat_open
=yes
12370 ac_cv_lib_kstat_kstat_open
=no
12372 rm -f core conftest.err conftest.
$ac_objext \
12373 conftest
$ac_exeext conftest.
$ac_ext
12374 LIBS
=$ac_check_lib_save_LIBS
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12377 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12378 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
12380 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12389 $as_echo_n "checking for -lodbc... " >&6; }
12390 if ${ac_cv_lib_soname_odbc+:} false
; then :
12391 $as_echo_n "(cached) " >&6
12393 ac_check_soname_save_LIBS
=$LIBS
12394 LIBS
="-lodbc $LIBS"
12395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12396 /* end confdefs.h. */
12398 /* Override any GCC internal prototype to avoid an error.
12399 Use char because int might match the return type of a GCC
12400 builtin and then its argument prototype would still apply. */
12404 char SQLConnect ();
12408 return SQLConnect ();
12413 if ac_fn_c_try_link
"$LINENO"; then :
12415 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12416 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'` ;;
12417 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12418 if test "x$ac_cv_lib_soname_odbc" = x
; then :
12419 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12423 rm -f core conftest.err conftest.
$ac_objext \
12424 conftest
$ac_exeext conftest.
$ac_ext
12425 LIBS
=$ac_check_soname_save_LIBS
12427 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12429 $as_echo "not found" >&6; }
12430 cat >>confdefs.h
<<_ACEOF
12431 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12436 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12438 cat >>confdefs.h
<<_ACEOF
12439 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12445 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12446 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
12447 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
12448 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
12450 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12451 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
12452 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12454 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
12460 if test "x${GCC}" = "xyes"
12462 EXTRACFLAGS
="-Wall -pipe"
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12465 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12466 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
12467 $as_echo_n "(cached) " >&6
12469 if test "$cross_compiling" = yes; then :
12470 ac_cv_c_gcc_strength_bug
="yes"
12472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12473 /* end confdefs.h. */
12474 int L[4] = {0,1,2,3};
12478 static int Array[3];
12479 unsigned int B = 3;
12481 for(i=0; i<B; i++) Array[i] = i - 3;
12482 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12484 return (Array[1] != -2 || L[2] != 3)
12489 if ac_fn_c_try_run
"$LINENO"; then :
12490 ac_cv_c_gcc_strength_bug
="no"
12492 ac_cv_c_gcc_strength_bug
="yes"
12494 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12495 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12500 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12501 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12503 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12507 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12508 if ${ac_cv_cflags__fno_builtin+:} false
; then :
12509 $as_echo_n "(cached) " >&6
12511 ac_wine_try_cflags_saved
=$CFLAGS
12512 CFLAGS
="$CFLAGS -fno-builtin"
12513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12514 /* end confdefs.h. */
12515 int main(int argc, char **argv) { return 0; }
12517 if ac_fn_c_try_link
"$LINENO"; then :
12518 ac_cv_cflags__fno_builtin
=yes
12520 ac_cv_cflags__fno_builtin
=no
12522 rm -f core conftest.err conftest.
$ac_objext \
12523 conftest
$ac_exeext conftest.
$ac_ext
12524 CFLAGS
=$ac_wine_try_cflags_saved
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12527 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12528 if test $ac_cv_cflags__fno_builtin = yes; then :
12529 BUILTINFLAG
="-fno-builtin"
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12533 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12534 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
12535 $as_echo_n "(cached) " >&6
12537 ac_wine_try_cflags_saved
=$CFLAGS
12538 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12541 int main(int argc, char **argv) { return 0; }
12543 if ac_fn_c_try_link
"$LINENO"; then :
12544 ac_cv_cflags__fno_strict_aliasing
=yes
12546 ac_cv_cflags__fno_strict_aliasing
=no
12548 rm -f core conftest.err conftest.
$ac_objext \
12549 conftest
$ac_exeext conftest.
$ac_ext
12550 CFLAGS
=$ac_wine_try_cflags_saved
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12553 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12554 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12555 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12558 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12559 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
12560 $as_echo_n "(cached) " >&6
12562 ac_wine_try_cflags_saved
=$CFLAGS
12563 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12565 /* end confdefs.h. */
12566 int main(int argc, char **argv) { return 0; }
12568 if ac_fn_c_try_link
"$LINENO"; then :
12569 ac_cv_cflags__Wdeclaration_after_statement
=yes
12571 ac_cv_cflags__Wdeclaration_after_statement
=no
12573 rm -f core conftest.err conftest.
$ac_objext \
12574 conftest
$ac_exeext conftest.
$ac_ext
12575 CFLAGS
=$ac_wine_try_cflags_saved
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12578 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12579 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12580 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12583 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12584 if ${ac_cv_cflags__Wempty_body+:} false
; then :
12585 $as_echo_n "(cached) " >&6
12587 ac_wine_try_cflags_saved
=$CFLAGS
12588 CFLAGS
="$CFLAGS -Wempty-body"
12589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12590 /* end confdefs.h. */
12591 int main(int argc, char **argv) { return 0; }
12593 if ac_fn_c_try_link
"$LINENO"; then :
12594 ac_cv_cflags__Wempty_body
=yes
12596 ac_cv_cflags__Wempty_body
=no
12598 rm -f core conftest.err conftest.
$ac_objext \
12599 conftest
$ac_exeext conftest.
$ac_ext
12600 CFLAGS
=$ac_wine_try_cflags_saved
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12603 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12604 if test $ac_cv_cflags__Wempty_body = yes; then :
12605 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12608 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12609 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
12610 $as_echo_n "(cached) " >&6
12612 ac_wine_try_cflags_saved
=$CFLAGS
12613 CFLAGS
="$CFLAGS -Wignored-qualifiers"
12614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12615 /* end confdefs.h. */
12616 int main(int argc, char **argv) { return 0; }
12618 if ac_fn_c_try_link
"$LINENO"; then :
12619 ac_cv_cflags__Wignored_qualifiers
=yes
12621 ac_cv_cflags__Wignored_qualifiers
=no
12623 rm -f core conftest.err conftest.
$ac_objext \
12624 conftest
$ac_exeext conftest.
$ac_ext
12625 CFLAGS
=$ac_wine_try_cflags_saved
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12628 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12629 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12630 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12633 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12634 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
12635 $as_echo_n "(cached) " >&6
12637 ac_wine_try_cflags_saved
=$CFLAGS
12638 CFLAGS
="$CFLAGS -Wstrict-prototypes"
12639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12640 /* end confdefs.h. */
12641 int main(int argc, char **argv) { return 0; }
12643 if ac_fn_c_try_link
"$LINENO"; then :
12644 ac_cv_cflags__Wstrict_prototypes
=yes
12646 ac_cv_cflags__Wstrict_prototypes
=no
12648 rm -f core conftest.err conftest.
$ac_objext \
12649 conftest
$ac_exeext conftest.
$ac_ext
12650 CFLAGS
=$ac_wine_try_cflags_saved
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12653 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12654 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12655 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12658 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12659 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
12660 $as_echo_n "(cached) " >&6
12662 ac_wine_try_cflags_saved
=$CFLAGS
12663 CFLAGS
="$CFLAGS -Wtype-limits"
12664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12665 /* end confdefs.h. */
12666 int main(int argc, char **argv) { return 0; }
12668 if ac_fn_c_try_link
"$LINENO"; then :
12669 ac_cv_cflags__Wtype_limits
=yes
12671 ac_cv_cflags__Wtype_limits
=no
12673 rm -f core conftest.err conftest.
$ac_objext \
12674 conftest
$ac_exeext conftest.
$ac_ext
12675 CFLAGS
=$ac_wine_try_cflags_saved
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12678 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12679 if test $ac_cv_cflags__Wtype_limits = yes; then :
12680 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12683 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12684 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
12685 $as_echo_n "(cached) " >&6
12687 ac_wine_try_cflags_saved
=$CFLAGS
12688 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
12689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12690 /* end confdefs.h. */
12691 int main(int argc, char **argv) { return 0; }
12693 if ac_fn_c_try_link
"$LINENO"; then :
12694 ac_cv_cflags__Wunused_but_set_parameter
=yes
12696 ac_cv_cflags__Wunused_but_set_parameter
=no
12698 rm -f core conftest.err conftest.
$ac_objext \
12699 conftest
$ac_exeext conftest.
$ac_ext
12700 CFLAGS
=$ac_wine_try_cflags_saved
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12703 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12704 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12705 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12708 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12709 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
12710 $as_echo_n "(cached) " >&6
12712 ac_wine_try_cflags_saved
=$CFLAGS
12713 CFLAGS
="$CFLAGS -Wwrite-strings"
12714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12715 /* end confdefs.h. */
12716 int main(int argc, char **argv) { return 0; }
12718 if ac_fn_c_try_link
"$LINENO"; then :
12719 ac_cv_cflags__Wwrite_strings
=yes
12721 ac_cv_cflags__Wwrite_strings
=no
12723 rm -f core conftest.err conftest.
$ac_objext \
12724 conftest
$ac_exeext conftest.
$ac_ext
12725 CFLAGS
=$ac_wine_try_cflags_saved
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12728 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12729 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12730 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12733 for ac_flag
in $CFLAGS; do
12735 -g) case $host_os in
12736 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
12737 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
12738 if ${ac_cv_cflags__gstabsp+:} false
; then :
12739 $as_echo_n "(cached) " >&6
12741 ac_wine_try_cflags_saved
=$CFLAGS
12742 CFLAGS
="$CFLAGS -gstabs+"
12743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12744 /* end confdefs.h. */
12745 int main(int argc, char **argv) { return 0; }
12747 if ac_fn_c_try_link
"$LINENO"; then :
12748 ac_cv_cflags__gstabsp
=yes
12750 ac_cv_cflags__gstabsp
=no
12752 rm -f core conftest.err conftest.
$ac_objext \
12753 conftest
$ac_exeext conftest.
$ac_ext
12754 CFLAGS
=$ac_wine_try_cflags_saved
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
12757 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
12758 if test $ac_cv_cflags__gstabsp = yes; then :
12759 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12761 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12762 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12763 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
12764 $as_echo_n "(cached) " >&6
12766 ac_wine_try_cflags_saved
=$CFLAGS
12767 CFLAGS
="$CFLAGS -gdwarf-2"
12768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12769 /* end confdefs.h. */
12770 int main(int argc, char **argv) { return 0; }
12772 if ac_fn_c_try_link
"$LINENO"; then :
12773 ac_cv_cflags__gdwarf_2
=yes
12775 ac_cv_cflags__gdwarf_2
=no
12777 rm -f core conftest.err conftest.
$ac_objext \
12778 conftest
$ac_exeext conftest.
$ac_ext
12779 CFLAGS
=$ac_wine_try_cflags_saved
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12782 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12783 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12784 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12787 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12788 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
12789 $as_echo_n "(cached) " >&6
12791 ac_wine_try_cflags_saved
=$CFLAGS
12792 CFLAGS
="$CFLAGS -gstrict-dwarf"
12793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12794 /* end confdefs.h. */
12795 int main(int argc, char **argv) { return 0; }
12797 if ac_fn_c_try_link
"$LINENO"; then :
12798 ac_cv_cflags__gstrict_dwarf
=yes
12800 ac_cv_cflags__gstrict_dwarf
=no
12802 rm -f core conftest.err conftest.
$ac_objext \
12803 conftest
$ac_exeext conftest.
$ac_ext
12804 CFLAGS
=$ac_wine_try_cflags_saved
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12807 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12808 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12809 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
12816 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12817 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12818 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
12819 $as_echo_n "(cached) " >&6
12821 ac_wine_try_cflags_saved
=$CFLAGS
12822 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
12823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12824 /* end confdefs.h. */
12825 int main(int argc, char **argv) { return 0; }
12827 if ac_fn_c_try_link
"$LINENO"; then :
12828 ac_cv_cflags__fno_omit_frame_pointer
=yes
12830 ac_cv_cflags__fno_omit_frame_pointer
=no
12832 rm -f core conftest.err conftest.
$ac_objext \
12833 conftest
$ac_exeext conftest.
$ac_ext
12834 CFLAGS
=$ac_wine_try_cflags_saved
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12837 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12838 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12839 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
12844 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12845 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12846 if ${ac_cv_cflags__Wno_format+:} false
; then :
12847 $as_echo_n "(cached) " >&6
12849 ac_wine_try_cflags_saved
=$CFLAGS
12850 CFLAGS
="$CFLAGS -Wno-format"
12851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12852 /* end confdefs.h. */
12853 int main(int argc, char **argv) { return 0; }
12855 if ac_fn_c_try_link
"$LINENO"; then :
12856 ac_cv_cflags__Wno_format
=yes
12858 ac_cv_cflags__Wno_format
=no
12860 rm -f core conftest.err conftest.
$ac_objext \
12861 conftest
$ac_exeext conftest.
$ac_ext
12862 CFLAGS
=$ac_wine_try_cflags_saved
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12865 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12866 if test $ac_cv_cflags__Wno_format = yes; then :
12867 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
12871 saved_CFLAGS
="$CFLAGS"
12872 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12874 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12875 if ${ac_cv_c_string_h_warnings+:} false
; then :
12876 $as_echo_n "(cached) " >&6
12878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12879 /* end confdefs.h. */
12880 #include <string.h>
12889 if ac_fn_c_try_compile
"$LINENO"; then :
12890 ac_cv_c_string_h_warnings
=no
12892 ac_cv_c_string_h_warnings
=yes
12894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12897 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12898 CFLAGS
="$saved_CFLAGS"
12899 if test "$ac_cv_c_string_h_warnings" = "no"
12901 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12904 saved_CFLAGS
="$CFLAGS"
12905 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12907 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12908 if ${ac_cv_c_logicalop_noisy+:} false
; then :
12909 $as_echo_n "(cached) " >&6
12911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12912 /* end confdefs.h. */
12913 #include <string.h>
12917 char*f(const char *h,char n) {return strchr(h,n);}
12922 if ac_fn_c_try_compile
"$LINENO"; then :
12923 ac_cv_c_logicalop_noisy
=no
12925 ac_cv_c_logicalop_noisy
=yes
12927 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12930 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12931 CFLAGS
="$saved_CFLAGS"
12932 if test "$ac_cv_c_logicalop_noisy" = "no"
12934 EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
12937 if test "x$enable_maintainer_mode" = "xyes"
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12940 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12941 if ${ac_cv_cflags__Werror+:} false
; then :
12942 $as_echo_n "(cached) " >&6
12944 ac_wine_try_cflags_saved
=$CFLAGS
12945 CFLAGS
="$CFLAGS -Werror"
12946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12947 /* end confdefs.h. */
12948 int main(int argc, char **argv) { return 0; }
12950 if ac_fn_c_try_link
"$LINENO"; then :
12951 ac_cv_cflags__Werror
=yes
12953 ac_cv_cflags__Werror
=no
12955 rm -f core conftest.err conftest.
$ac_objext \
12956 conftest
$ac_exeext conftest.
$ac_ext
12957 CFLAGS
=$ac_wine_try_cflags_saved
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12960 $as_echo "$ac_cv_cflags__Werror" >&6; }
12961 if test $ac_cv_cflags__Werror = yes; then :
12962 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
12966 saved_CFLAGS
="$CFLAGS"
12967 CFLAGS
="$CFLAGS -Werror"
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12969 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12970 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
12971 $as_echo_n "(cached) " >&6
12973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12974 /* end confdefs.h. */
12975 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12984 if ac_fn_c_try_compile
"$LINENO"; then :
12985 ac_cv_have_ms_hook_prologue
="yes"
12987 ac_cv_have_ms_hook_prologue
="no"
12989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12992 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12993 CFLAGS
="$saved_CFLAGS"
12994 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12997 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13000 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13007 $as_echo_n "checking for the need to disable Fortify... " >&6; }
13008 if ${ac_cv_c_fortify_enabled+:} false
; then :
13009 $as_echo_n "(cached) " >&6
13011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13012 /* end confdefs.h. */
13013 #include <string.h>
13017 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
13018 #error Fortify enabled
13024 if ac_fn_c_try_compile
"$LINENO"; then :
13025 ac_cv_c_fortify_enabled
=no
13027 ac_cv_c_fortify_enabled
=yes
13029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
13032 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
13033 if test "$ac_cv_c_fortify_enabled" = yes
13035 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13040 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13041 if ${ac_cv_c_extern_prefix+:} false
; then :
13042 $as_echo_n "(cached) " >&6
13044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13045 /* end confdefs.h. */
13046 extern int ac_test;
13050 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13055 if ac_fn_c_try_link
"$LINENO"; then :
13056 ac_cv_c_extern_prefix
="yes"
13058 ac_cv_c_extern_prefix
="no"
13060 rm -f core conftest.err conftest.
$ac_objext \
13061 conftest
$ac_exeext conftest.
$ac_ext
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13064 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13069 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13070 if ${ac_cv_c_stdcall_suffix+:} false
; then :
13071 $as_echo_n "(cached) " >&6
13073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13074 /* end confdefs.h. */
13076 #define __stdcall __attribute__((__stdcall__))
13078 int __stdcall ac_test(int i) { return i; }
13082 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13087 if ac_fn_c_try_link
"$LINENO"; then :
13088 ac_cv_c_stdcall_suffix
="yes"
13090 ac_cv_c_stdcall_suffix
="no"
13092 rm -f core conftest.err conftest.
$ac_objext \
13093 conftest
$ac_exeext conftest.
$ac_ext
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13096 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13097 *) ac_cv_c_stdcall_suffix
="no" ;;
13101 if test "$ac_cv_c_extern_prefix" = "yes"
13103 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13105 asm_name_prefix
="_"
13107 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13113 if test "$ac_cv_c_stdcall_suffix" = "yes"
13115 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13118 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13124 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13125 if ${ac_cv_asm_func_def+:} false
; then :
13126 $as_echo_n "(cached) " >&6
13128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13129 /* end confdefs.h. */
13134 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13139 if ac_fn_c_try_link
"$LINENO"; then :
13140 ac_cv_asm_func_def
=".def"
13142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13143 /* end confdefs.h. */
13148 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13153 if ac_fn_c_try_link
"$LINENO"; then :
13154 ac_cv_asm_func_def
=".type @function"
13156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13157 /* end confdefs.h. */
13162 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13167 if ac_fn_c_try_link
"$LINENO"; then :
13168 ac_cv_asm_func_def
=".type 2"
13170 ac_cv_asm_func_def
="unknown"
13172 rm -f core conftest.err conftest.
$ac_objext \
13173 conftest
$ac_exeext conftest.
$ac_ext
13175 rm -f core conftest.err conftest.
$ac_objext \
13176 conftest
$ac_exeext conftest.
$ac_ext
13178 rm -f core conftest.err conftest.
$ac_objext \
13179 conftest
$ac_exeext conftest.
$ac_ext
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13182 $as_echo "$ac_cv_asm_func_def" >&6; }
13185 case "$ac_cv_asm_func_def" in
13187 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13189 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13191 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13193 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
13195 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13197 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
13199 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13201 asm_func_header
="" ;;
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13205 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13206 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
13207 $as_echo_n "(cached) " >&6
13209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13210 /* end confdefs.h. */
13211 asm(".text\n\t.long 0");
13220 if ac_fn_c_try_compile
"$LINENO"; then :
13221 ac_cv_c_asm_outside_funcs
="yes"
13223 ac_cv_c_asm_outside_funcs
="no"
13225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13228 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13231 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13232 if ${ac_cv_c_dot_previous+:} false
; then :
13233 $as_echo_n "(cached) " >&6
13235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13236 /* end confdefs.h. */
13241 asm(".text\nac_test:\t.long 0\n\t.previous");
13246 if ac_fn_c_try_link
"$LINENO"; then :
13247 ac_cv_c_dot_previous
="yes"
13249 ac_cv_c_dot_previous
="no"
13251 rm -f core conftest.err conftest.
$ac_objext \
13252 conftest
$ac_exeext conftest.
$ac_ext
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13255 $as_echo "$ac_cv_c_dot_previous" >&6; }
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13258 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13259 if ${ac_cv_c_cfi_support+:} false
; then :
13260 $as_echo_n "(cached) " >&6
13262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13263 /* end confdefs.h. */
13264 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13273 if ac_fn_c_try_compile
"$LINENO"; then :
13274 ac_cv_c_cfi_support
="yes"
13276 ac_cv_c_cfi_support
="no"
13278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13281 $as_echo "$ac_cv_c_cfi_support" >&6; }
13283 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13284 asm_func_trailer
=""
13285 if test "$ac_cv_c_dot_previous" = "yes"
13287 asm_func_trailer
="\\n\\t.previous"
13289 if test "$ac_cv_c_cfi_support" = "yes"
13291 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
13292 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
13294 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13296 UNWINDFLAGS
=-fasynchronous-unwind-tables
13299 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13303 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
13306 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13308 cat >>confdefs.h
<<_ACEOF
13309 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13313 cat >>confdefs.h
<<_ACEOF
13314 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13319 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13322 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13332 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
13337 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
13343 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
13348 *i
[3456789]86*) EXTRA_BINARIES
="wine-preloader"
13350 x86_64
*) EXTRA_BINARIES
="wine64-preloader"
13357 ac_save_CFLAGS
="$CFLAGS"
13358 CFLAGS
="$CFLAGS $BUILTINFLAG"
13432 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13433 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13434 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13435 cat >>confdefs.h
<<_ACEOF
13436 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13442 CFLAGS
="$ac_save_CFLAGS"
13444 if test "$ac_cv_func_dlopen" = no
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13447 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13448 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13449 $as_echo_n "(cached) " >&6
13451 ac_check_lib_save_LIBS
=$LIBS
13453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13454 /* end confdefs.h. */
13456 /* Override any GCC internal prototype to avoid an error.
13457 Use char because int might match the return type of a GCC
13458 builtin and then its argument prototype would still apply. */
13471 if ac_fn_c_try_link
"$LINENO"; then :
13472 ac_cv_lib_dl_dlopen
=yes
13474 ac_cv_lib_dl_dlopen
=no
13476 rm -f core conftest.err conftest.
$ac_objext \
13477 conftest
$ac_exeext conftest.
$ac_ext
13478 LIBS
=$ac_check_lib_save_LIBS
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13481 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13482 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13483 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13489 ac_wine_check_funcs_save_LIBS
="$LIBS"
13490 LIBS
="$LIBS $LIBDL"
13491 for ac_func
in dladdr
13493 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
13494 if test "x$ac_cv_func_dladdr" = xyes
; then :
13495 cat >>confdefs.h
<<_ACEOF
13496 #define HAVE_DLADDR 1
13502 LIBS
="$ac_wine_check_funcs_save_LIBS"
13504 if test "$ac_cv_func_poll" = no
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13507 $as_echo_n "checking for poll in -lpoll... " >&6; }
13508 if ${ac_cv_lib_poll_poll+:} false
; then :
13509 $as_echo_n "(cached) " >&6
13511 ac_check_lib_save_LIBS
=$LIBS
13512 LIBS
="-lpoll $LIBS"
13513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13514 /* end confdefs.h. */
13516 /* Override any GCC internal prototype to avoid an error.
13517 Use char because int might match the return type of a GCC
13518 builtin and then its argument prototype would still apply. */
13531 if ac_fn_c_try_link
"$LINENO"; then :
13532 ac_cv_lib_poll_poll
=yes
13534 ac_cv_lib_poll_poll
=no
13536 rm -f core conftest.err conftest.
$ac_objext \
13537 conftest
$ac_exeext conftest.
$ac_ext
13538 LIBS
=$ac_check_lib_save_LIBS
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13541 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13542 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
13543 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13551 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13552 if ${ac_cv_search_gethostbyname+:} false
; then :
13553 $as_echo_n "(cached) " >&6
13555 ac_func_search_save_LIBS
=$LIBS
13556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13557 /* end confdefs.h. */
13559 /* Override any GCC internal prototype to avoid an error.
13560 Use char because int might match the return type of a GCC
13561 builtin and then its argument prototype would still apply. */
13565 char gethostbyname ();
13569 return gethostbyname ();
13574 for ac_lib
in '' nsl
; do
13575 if test -z "$ac_lib"; then
13576 ac_res
="none required"
13579 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13581 if ac_fn_c_try_link
"$LINENO"; then :
13582 ac_cv_search_gethostbyname
=$ac_res
13584 rm -f core conftest.err conftest.
$ac_objext \
13586 if ${ac_cv_search_gethostbyname+:} false
; then :
13590 if ${ac_cv_search_gethostbyname+:} false
; then :
13593 ac_cv_search_gethostbyname
=no
13595 rm conftest.
$ac_ext
13596 LIBS
=$ac_func_search_save_LIBS
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13599 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13600 ac_res
=$ac_cv_search_gethostbyname
13601 if test "$ac_res" != no
; then :
13602 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13608 $as_echo_n "checking for library containing connect... " >&6; }
13609 if ${ac_cv_search_connect+:} false
; then :
13610 $as_echo_n "(cached) " >&6
13612 ac_func_search_save_LIBS
=$LIBS
13613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13614 /* end confdefs.h. */
13616 /* Override any GCC internal prototype to avoid an error.
13617 Use char because int might match the return type of a GCC
13618 builtin and then its argument prototype would still apply. */
13631 for ac_lib
in '' socket
; do
13632 if test -z "$ac_lib"; then
13633 ac_res
="none required"
13636 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13638 if ac_fn_c_try_link
"$LINENO"; then :
13639 ac_cv_search_connect
=$ac_res
13641 rm -f core conftest.err conftest.
$ac_objext \
13643 if ${ac_cv_search_connect+:} false
; then :
13647 if ${ac_cv_search_connect+:} false
; then :
13650 ac_cv_search_connect
=no
13652 rm conftest.
$ac_ext
13653 LIBS
=$ac_func_search_save_LIBS
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13656 $as_echo "$ac_cv_search_connect" >&6; }
13657 ac_res
=$ac_cv_search_connect
13658 if test "$ac_res" != no
; then :
13659 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13665 $as_echo_n "checking for library containing inet_aton... " >&6; }
13666 if ${ac_cv_search_inet_aton+:} false
; then :
13667 $as_echo_n "(cached) " >&6
13669 ac_func_search_save_LIBS
=$LIBS
13670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13671 /* end confdefs.h. */
13673 /* Override any GCC internal prototype to avoid an error.
13674 Use char because int might match the return type of a GCC
13675 builtin and then its argument prototype would still apply. */
13683 return inet_aton ();
13688 for ac_lib
in '' resolv
; do
13689 if test -z "$ac_lib"; then
13690 ac_res
="none required"
13693 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13695 if ac_fn_c_try_link
"$LINENO"; then :
13696 ac_cv_search_inet_aton
=$ac_res
13698 rm -f core conftest.err conftest.
$ac_objext \
13700 if ${ac_cv_search_inet_aton+:} false
; then :
13704 if ${ac_cv_search_inet_aton+:} false
; then :
13707 ac_cv_search_inet_aton
=no
13709 rm conftest.
$ac_ext
13710 LIBS
=$ac_func_search_save_LIBS
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13713 $as_echo "$ac_cv_search_inet_aton" >&6; }
13714 ac_res
=$ac_cv_search_inet_aton
13715 if test "$ac_res" != no
; then :
13716 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13735 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13736 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13737 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13738 cat >>confdefs.h
<<_ACEOF
13739 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
13748 $as_echo_n "checking for library containing clock_gettime... " >&6; }
13749 if ${ac_cv_search_clock_gettime+:} false
; then :
13750 $as_echo_n "(cached) " >&6
13752 ac_func_search_save_LIBS
=$LIBS
13753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13754 /* end confdefs.h. */
13756 /* Override any GCC internal prototype to avoid an error.
13757 Use char because int might match the return type of a GCC
13758 builtin and then its argument prototype would still apply. */
13762 char clock_gettime ();
13766 return clock_gettime ();
13771 for ac_lib
in '' rt
; do
13772 if test -z "$ac_lib"; then
13773 ac_res
="none required"
13776 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13778 if ac_fn_c_try_link
"$LINENO"; then :
13779 ac_cv_search_clock_gettime
=$ac_res
13781 rm -f core conftest.err conftest.
$ac_objext \
13783 if ${ac_cv_search_clock_gettime+:} false
; then :
13787 if ${ac_cv_search_clock_gettime+:} false
; then :
13790 ac_cv_search_clock_gettime
=no
13792 rm conftest.
$ac_ext
13793 LIBS
=$ac_func_search_save_LIBS
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
13796 $as_echo "$ac_cv_search_clock_gettime" >&6; }
13797 ac_res
=$ac_cv_search_clock_gettime
13798 if test "$ac_res" != no
; then :
13799 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13801 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13803 test "$ac_res" = "none required" || LIBRT
="$ac_res"
13811 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13813 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13815 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13817 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13818 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
13819 $as_echo_n "(cached) " >&6
13821 ac_check_lib_save_LIBS
=$LIBS
13822 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13826 /* Override any GCC internal prototype to avoid an error.
13827 Use char because int might match the return type of a GCC
13828 builtin and then its argument prototype would still apply. */
13832 char ldap_initialize ();
13836 return ldap_initialize ();
13841 if ac_fn_c_try_link
"$LINENO"; then :
13842 ac_cv_lib_ldap_r_ldap_initialize
=yes
13844 ac_cv_lib_ldap_r_ldap_initialize
=no
13846 rm -f core conftest.err conftest.
$ac_objext \
13847 conftest
$ac_exeext conftest.
$ac_ext
13848 LIBS
=$ac_check_lib_save_LIBS
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13851 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13852 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13854 $as_echo_n "checking for ber_init in -llber... " >&6; }
13855 if ${ac_cv_lib_lber_ber_init+:} false
; then :
13856 $as_echo_n "(cached) " >&6
13858 ac_check_lib_save_LIBS
=$LIBS
13859 LIBS
="-llber $LIBPTHREAD $LIBS"
13860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13861 /* end confdefs.h. */
13863 /* Override any GCC internal prototype to avoid an error.
13864 Use char because int might match the return type of a GCC
13865 builtin and then its argument prototype would still apply. */
13873 return ber_init ();
13878 if ac_fn_c_try_link
"$LINENO"; then :
13879 ac_cv_lib_lber_ber_init
=yes
13881 ac_cv_lib_lber_ber_init
=no
13883 rm -f core conftest.err conftest.
$ac_objext \
13884 conftest
$ac_exeext conftest.
$ac_ext
13885 LIBS
=$ac_check_lib_save_LIBS
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13888 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13889 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
13891 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13893 LDAPLIBS
="-lldap_r -llber"
13900 ac_wine_check_funcs_save_LIBS
="$LIBS"
13901 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13903 ldap_count_references \
13904 ldap_first_reference \
13905 ldap_next_reference \
13906 ldap_parse_reference \
13907 ldap_parse_sort_control \
13908 ldap_parse_sortresponse_control \
13909 ldap_parse_vlv_control \
13910 ldap_parse_vlvresponse_control
13912 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13913 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13914 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13915 cat >>confdefs.h
<<_ACEOF
13916 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13922 LIBS
="$ac_wine_check_funcs_save_LIBS"
13924 if test "x$LDAPLIBS" = "x"; then :
13925 case "x$with_ldap" in
13926 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13928 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13929 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13934 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13935 if ${wine_cv_one_arg_mkdir+:} false
; then :
13936 $as_echo_n "(cached) " >&6
13938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13939 /* end confdefs.h. */
13940 #include <sys/stat.h>
13949 if ac_fn_c_try_compile
"$LINENO"; then :
13950 wine_cv_one_arg_mkdir
=yes
13952 wine_cv_one_arg_mkdir
=no
13954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13957 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13958 if test "$wine_cv_one_arg_mkdir" = "yes"
13961 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13966 $as_echo_n "checking for sched_setaffinity... " >&6; }
13967 if ${wine_cv_have_sched_setaffinity+:} false
; then :
13968 $as_echo_n "(cached) " >&6
13970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13971 /* end confdefs.h. */
13972 #define _GNU_SOURCE
13977 sched_setaffinity(0, 0, 0);
13982 if ac_fn_c_try_link
"$LINENO"; then :
13983 wine_cv_have_sched_setaffinity
=yes
13985 wine_cv_have_sched_setaffinity
=no
13987 rm -f core conftest.err conftest.
$ac_objext \
13988 conftest
$ac_exeext conftest.
$ac_ext
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13991 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13992 if test "$wine_cv_have_sched_setaffinity" = "yes"
13995 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14000 $as_echo_n "checking for fallocate... " >&6; }
14001 if ${wine_cv_have_fallocate+:} false
; then :
14002 $as_echo_n "(cached) " >&6
14004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14005 /* end confdefs.h. */
14006 #define _GNU_SOURCE
14011 fallocate(-1, 0, 0, 0);
14016 if ac_fn_c_try_link
"$LINENO"; then :
14017 wine_cv_have_fallocate
=yes
14019 wine_cv_have_fallocate
=no
14021 rm -f core conftest.err conftest.
$ac_objext \
14022 conftest
$ac_exeext conftest.
$ac_ext
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
14025 $as_echo "$wine_cv_have_fallocate" >&6; }
14026 if test "$wine_cv_have_fallocate" = "yes"
14029 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14035 $as_echo_n "checking for inline... " >&6; }
14036 if ${ac_cv_c_inline+:} false
; then :
14037 $as_echo_n "(cached) " >&6
14040 for ac_kw
in inline __inline__ __inline
; do
14041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14042 /* end confdefs.h. */
14043 #ifndef __cplusplus
14045 static $ac_kw foo_t static_foo () {return 0; }
14046 $ac_kw foo_t foo () {return 0; }
14050 if ac_fn_c_try_compile
"$LINENO"; then :
14051 ac_cv_c_inline
=$ac_kw
14053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14054 test "$ac_cv_c_inline" != no
&& break
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14059 $as_echo "$ac_cv_c_inline" >&6; }
14061 case $ac_cv_c_inline in
14064 case $ac_cv_c_inline in
14066 *) ac_val
=$ac_cv_c_inline;;
14068 cat >>confdefs.h
<<_ACEOF
14069 #ifndef __cplusplus
14070 #define inline $ac_val
14076 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14077 if test "x$ac_cv_type_mode_t" = xyes
; then :
14079 cat >>confdefs.h
<<_ACEOF
14080 #define HAVE_MODE_T 1
14085 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14086 if test "x$ac_cv_type_off_t" = xyes
; then :
14088 cat >>confdefs.h
<<_ACEOF
14089 #define HAVE_OFF_T 1
14094 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14095 if test "x$ac_cv_type_pid_t" = xyes
; then :
14097 cat >>confdefs.h
<<_ACEOF
14098 #define HAVE_PID_T 1
14103 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14104 if test "x$ac_cv_type_size_t" = xyes
; then :
14106 cat >>confdefs.h
<<_ACEOF
14107 #define HAVE_SIZE_T 1
14112 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14113 if test "x$ac_cv_type_ssize_t" = xyes
; then :
14115 cat >>confdefs.h
<<_ACEOF
14116 #define HAVE_SSIZE_T 1
14121 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14122 if test "x$ac_cv_type_long_long" = xyes
; then :
14124 cat >>confdefs.h
<<_ACEOF
14125 #define HAVE_LONG_LONG 1
14130 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14131 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
14133 cat >>confdefs.h
<<_ACEOF
14134 #define HAVE_FSBLKCNT_T 1
14139 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14140 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
14142 cat >>confdefs.h
<<_ACEOF
14143 #define HAVE_FSFILCNT_T 1
14149 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14150 #include <signal.h>
14152 if test "x$ac_cv_type_sigset_t" = xyes
; then :
14154 cat >>confdefs.h
<<_ACEOF
14155 #define HAVE_SIGSET_T 1
14161 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14163 if test "x$ac_cv_type_request_sense" = xyes
; then :
14165 cat >>confdefs.h
<<_ACEOF
14166 #define HAVE_REQUEST_SENSE 1
14173 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14174 #ifdef HAVE_SYS_SOCKET_H
14175 #include <sys/socket.h>
14177 #ifdef HAVE_SYS_SOCKETVAR_H
14178 #include <sys/socketvar.h>
14180 #ifdef HAVE_NET_ROUTE_H
14181 #include <net/route.h>
14183 #ifdef HAVE_NETINET_IN_H
14184 #include <netinet/in.h>
14186 #ifdef HAVE_NETINET_IN_SYSTM_H
14187 #include <netinet/in_systm.h>
14189 #ifdef HAVE_NETINET_IP_H
14190 #include <netinet/ip.h>
14192 #ifdef HAVE_NETINET_IN_PCB_H
14193 #include <netinet/in_pcb.h>
14196 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
14198 cat >>confdefs.h
<<_ACEOF
14199 #define HAVE_STRUCT_XINPGEN 1
14206 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14207 #include <linux/input.h>
14210 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
14212 cat >>confdefs.h
<<_ACEOF
14213 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14221 $as_echo_n "checking for sigaddset... " >&6; }
14222 if ${wine_cv_have_sigaddset+:} false
; then :
14223 $as_echo_n "(cached) " >&6
14225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14226 /* end confdefs.h. */
14227 #include <signal.h>
14231 sigset_t set; sigaddset(&set,SIGTERM);
14236 if ac_fn_c_try_link
"$LINENO"; then :
14237 wine_cv_have_sigaddset
=yes
14239 wine_cv_have_sigaddset
=no
14241 rm -f core conftest.err conftest.
$ac_objext \
14242 conftest
$ac_exeext conftest.
$ac_ext
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14245 $as_echo "$wine_cv_have_sigaddset" >&6; }
14246 if test "$wine_cv_have_sigaddset" = "yes"
14249 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14255 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14256 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
14257 $as_echo_n "(cached) " >&6
14259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14260 /* end confdefs.h. */
14268 struct hostent *result;
14275 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14276 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14282 if ac_fn_c_try_link
"$LINENO"; then :
14283 wine_cv_linux_gethostbyname_r_6
=yes
14285 wine_cv_linux_gethostbyname_r_6
=no
14288 rm -f core conftest.err conftest.
$ac_objext \
14289 conftest
$ac_exeext conftest.
$ac_ext
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14293 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14294 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14297 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14301 if test "$ac_cv_header_linux_joystick_h" = "yes"
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14304 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14305 if ${wine_cv_linux_joystick_22_api+:} false
; then :
14306 $as_echo_n "(cached) " >&6
14308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14311 #include <sys/ioctl.h>
14312 #include <sys/types.h>
14313 #include <linux/joystick.h>
14315 struct js_event blub;
14316 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14317 #error "no 2.2 header"
14328 if ac_fn_c_try_compile
"$LINENO"; then :
14329 wine_cv_linux_joystick_22_api
=yes
14331 wine_cv_linux_joystick_22_api
=no
14333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14337 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14338 if test "$wine_cv_linux_joystick_22_api" = "yes"
14341 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14347 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14348 #ifdef HAVE_SYS_PARAM_H
14349 # include <sys/param.h>
14351 #ifdef HAVE_SYS_MOUNT_H
14352 # include <sys/mount.h>
14354 #ifdef HAVE_SYS_VFS_H
14355 # include <sys/vfs.h>
14357 #ifdef HAVE_SYS_STATFS_H
14358 # include <sys/statfs.h>
14361 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
14363 cat >>confdefs.h
<<_ACEOF
14364 #define HAVE_STRUCT_STATFS_F_BFREE 1
14369 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
14370 #ifdef HAVE_SYS_PARAM_H
14371 # include <sys/param.h>
14373 #ifdef HAVE_SYS_MOUNT_H
14374 # include <sys/mount.h>
14376 #ifdef HAVE_SYS_VFS_H
14377 # include <sys/vfs.h>
14379 #ifdef HAVE_SYS_STATFS_H
14380 # include <sys/statfs.h>
14383 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
14385 cat >>confdefs.h
<<_ACEOF
14386 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
14391 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
14392 #ifdef HAVE_SYS_PARAM_H
14393 # include <sys/param.h>
14395 #ifdef HAVE_SYS_MOUNT_H
14396 # include <sys/mount.h>
14398 #ifdef HAVE_SYS_VFS_H
14399 # include <sys/vfs.h>
14401 #ifdef HAVE_SYS_STATFS_H
14402 # include <sys/statfs.h>
14405 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
14407 cat >>confdefs.h
<<_ACEOF
14408 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
14413 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
14414 #ifdef HAVE_SYS_PARAM_H
14415 # include <sys/param.h>
14417 #ifdef HAVE_SYS_MOUNT_H
14418 # include <sys/mount.h>
14420 #ifdef HAVE_SYS_VFS_H
14421 # include <sys/vfs.h>
14423 #ifdef HAVE_SYS_STATFS_H
14424 # include <sys/statfs.h>
14427 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
14429 cat >>confdefs.h
<<_ACEOF
14430 #define HAVE_STRUCT_STATFS_F_FFREE 1
14435 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
14436 #ifdef HAVE_SYS_PARAM_H
14437 # include <sys/param.h>
14439 #ifdef HAVE_SYS_MOUNT_H
14440 # include <sys/mount.h>
14442 #ifdef HAVE_SYS_VFS_H
14443 # include <sys/vfs.h>
14445 #ifdef HAVE_SYS_STATFS_H
14446 # include <sys/statfs.h>
14449 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
14451 cat >>confdefs.h
<<_ACEOF
14452 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
14457 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
14458 #ifdef HAVE_SYS_PARAM_H
14459 # include <sys/param.h>
14461 #ifdef HAVE_SYS_MOUNT_H
14462 # include <sys/mount.h>
14464 #ifdef HAVE_SYS_VFS_H
14465 # include <sys/vfs.h>
14467 #ifdef HAVE_SYS_STATFS_H
14468 # include <sys/statfs.h>
14471 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
14473 cat >>confdefs.h
<<_ACEOF
14474 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
14481 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
14482 #include <sys/statvfs.h>
14485 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
14487 cat >>confdefs.h
<<_ACEOF
14488 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
14495 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
14496 #include <dirent.h>
14499 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
14501 cat >>confdefs.h
<<_ACEOF
14502 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
14509 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
14510 #ifdef HAVE_SYS_SOCKET_H
14511 # include <sys/socket.h>
14513 #ifdef HAVE_SYS_UN_H
14514 # include <sys/un.h>
14517 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
14519 cat >>confdefs.h
<<_ACEOF
14520 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14525 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14526 #ifdef HAVE_SYS_SOCKET_H
14527 # include <sys/socket.h>
14529 #ifdef HAVE_SYS_UN_H
14530 # include <sys/un.h>
14533 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
14535 cat >>confdefs.h
<<_ACEOF
14536 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14541 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14542 #ifdef HAVE_SYS_SOCKET_H
14543 # include <sys/socket.h>
14545 #ifdef HAVE_SYS_UN_H
14546 # include <sys/un.h>
14549 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
14551 cat >>confdefs.h
<<_ACEOF
14552 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14559 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14560 #ifdef HAVE_SCSI_SG_H
14561 #include <scsi/sg.h>
14564 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
14566 cat >>confdefs.h
<<_ACEOF
14567 #define HAVE_SCSIREQ_T_CMD 1
14572 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>
14573 #ifdef HAVE_SCSI_SG_H
14574 #include <scsi/sg.h>
14577 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
14579 cat >>confdefs.h
<<_ACEOF
14580 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14587 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14589 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
14591 cat >>confdefs.h
<<_ACEOF
14592 #define HAVE_SIGINFO_T_SI_FD 1
14599 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14600 #ifdef HAVE_SYS_MTIO_H
14601 #include <sys/mtio.h>
14604 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
14606 cat >>confdefs.h
<<_ACEOF
14607 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14612 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14613 #ifdef HAVE_SYS_MTIO_H
14614 #include <sys/mtio.h>
14617 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
14619 cat >>confdefs.h
<<_ACEOF
14620 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14625 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14626 #ifdef HAVE_SYS_MTIO_H
14627 #include <sys/mtio.h>
14630 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
14632 cat >>confdefs.h
<<_ACEOF
14633 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14640 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14641 #include <getopt.h>
14644 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
14646 cat >>confdefs.h
<<_ACEOF
14647 #define HAVE_STRUCT_OPTION_NAME 1
14654 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14655 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
14657 cat >>confdefs.h
<<_ACEOF
14658 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14663 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14664 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
14666 cat >>confdefs.h
<<_ACEOF
14667 #define HAVE_STRUCT_STAT_ST_MTIM 1
14672 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
14673 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
14675 cat >>confdefs.h
<<_ACEOF
14676 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14681 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14682 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
14684 cat >>confdefs.h
<<_ACEOF
14685 #define HAVE_STRUCT_STAT_ST_CTIM 1
14690 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
14691 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
14693 cat >>confdefs.h
<<_ACEOF
14694 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14699 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14700 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
14702 cat >>confdefs.h
<<_ACEOF
14703 #define HAVE_STRUCT_STAT_ST_ATIM 1
14708 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
14709 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
14711 cat >>confdefs.h
<<_ACEOF
14712 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14717 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
14718 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
14720 cat >>confdefs.h
<<_ACEOF
14721 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
14726 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
14727 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
14729 cat >>confdefs.h
<<_ACEOF
14730 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
14735 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
14736 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
14738 cat >>confdefs.h
<<_ACEOF
14739 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
14744 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
14745 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
14747 cat >>confdefs.h
<<_ACEOF
14748 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
14753 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
14754 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
14756 cat >>confdefs.h
<<_ACEOF
14757 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
14764 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
14765 #include <sys/types.h>
14767 #ifdef HAVE_NETINET_IN_H
14768 #include <netinet/in.h>
14771 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
14773 cat >>confdefs.h
<<_ACEOF
14774 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14781 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14782 #include <sys/types.h>
14784 #ifdef HAVE_NETINET_IN_H
14785 # include <netinet/in.h>
14787 #ifdef HAVE_ARPA_NAMESER_H
14788 # include <arpa/nameser.h>
14791 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
14793 cat >>confdefs.h
<<_ACEOF
14794 #define HAVE_NS_MSG__MSG_PTR 1
14801 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
14802 #include <sys/types.h>
14804 #ifdef HAVE_NETINET_IP_H
14805 #include <netinet/ip.h>
14807 #ifdef HAVE_NETINET_IP_ICMP_H
14808 #include <netinet/ip_icmp.h>
14810 #ifdef HAVE_NETINET_ICMP_VAR_H
14811 #include <netinet/icmp_var.h>
14814 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
14816 cat >>confdefs.h
<<_ACEOF
14817 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14824 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14825 #include <sys/types.h>
14827 #ifdef HAVE_ALIAS_H
14830 #ifdef HAVE_SYS_SOCKET_H
14831 #include <sys/socket.h>
14833 #ifdef HAVE_SYS_SOCKETVAR_H
14834 #include <sys/socketvar.h>
14836 #ifdef HAVE_SYS_TIMEOUT_H
14837 #include <sys/timeout.h>
14839 #ifdef HAVE_NETINET_IN_H
14840 #include <netinet/in.h>
14842 #ifdef HAVE_NETINET_IN_SYSTM_H
14843 #include <netinet/in_systm.h>
14845 #ifdef HAVE_NETINET_IP_H
14846 #include <netinet/ip.h>
14848 #ifdef HAVE_NETINET_IP_VAR_H
14849 #include <netinet/ip_var.h>
14851 #ifdef HAVE_NETINET_IP_ICMP_H
14852 #include <netinet/ip_icmp.h>
14854 #ifdef HAVE_NETINET_ICMP_VAR_H
14855 #include <netinet/icmp_var.h>
14858 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
14860 cat >>confdefs.h
<<_ACEOF
14861 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14868 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
14869 #include <sys/types.h>
14871 #ifdef HAVE_SYS_SOCKETVAR_H
14872 #include <sys/socketvar.h>
14874 #ifdef HAVE_NETINET_IN_H
14875 #include <netinet/in.h>
14877 #ifdef HAVE_NETINET_IP_VAR_H
14878 #include <netinet/ip_var.h>
14881 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
14883 cat >>confdefs.h
<<_ACEOF
14884 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14891 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
14892 #include <netinet/ip_var.h>
14895 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
14897 cat >>confdefs.h
<<_ACEOF
14898 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14905 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
14906 #include <sys/types.h>
14908 #ifdef HAVE_SYS_SOCKETVAR_H
14909 #include <sys/socketvar.h>
14911 #ifdef HAVE_NETINET_IN_H
14912 #include <netinet/in.h>
14914 #ifdef HAVE_NETINET_TCP_H
14915 #include <netinet/tcp.h>
14917 #ifdef HAVE_NETINET_TCP_VAR_H
14918 #include <netinet/tcp_var.h>
14921 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
14923 cat >>confdefs.h
<<_ACEOF
14924 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
14931 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
14932 #include <netinet/tcp_var.h>
14935 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
14937 cat >>confdefs.h
<<_ACEOF
14938 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
14945 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
14946 #include <sys/types.h>
14948 #ifdef HAVE_NETINET_IN_H
14949 #include <netinet/in.h>
14951 #ifdef HAVE_NETINET_IP_VAR_H
14952 #include <netinet/ip_var.h>
14954 #ifdef HAVE_NETINET_UDP_H
14955 #include <netinet/udp.h>
14957 #ifdef HAVE_NETINET_UDP_VAR_H
14958 #include <netinet/udp_var.h>
14961 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
14963 cat >>confdefs.h
<<_ACEOF
14964 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
14971 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14972 #include <sys/types.h>
14974 #ifdef HAVE_NET_IF_H
14975 # include <net/if.h>
14978 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
14980 cat >>confdefs.h
<<_ACEOF
14981 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14989 $as_echo_n "checking for timezone variable... " >&6; }
14990 if ${ac_cv_have_timezone+:} false
; then :
14991 $as_echo_n "(cached) " >&6
14993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14994 /* end confdefs.h. */
15004 if ac_fn_c_try_link
"$LINENO"; then :
15005 ac_cv_have_timezone
="yes"
15007 ac_cv_have_timezone
="no"
15009 rm -f core conftest.err conftest.
$ac_objext \
15010 conftest
$ac_exeext conftest.
$ac_ext
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
15013 $as_echo "$ac_cv_have_timezone" >&6; }
15014 if test "$ac_cv_have_timezone" = "yes"
15017 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
15021 $as_echo_n "checking for daylight variable... " >&6; }
15022 if ${ac_cv_have_daylight+:} false
; then :
15023 $as_echo_n "(cached) " >&6
15025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15026 /* end confdefs.h. */
15036 if ac_fn_c_try_link
"$LINENO"; then :
15037 ac_cv_have_daylight
="yes"
15039 ac_cv_have_daylight
="no"
15041 rm -f core conftest.err conftest.
$ac_objext \
15042 conftest
$ac_exeext conftest.
$ac_ext
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
15045 $as_echo "$ac_cv_have_daylight" >&6; }
15046 if test "$ac_cv_have_daylight" = "yes"
15049 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15053 ac_save_LIBS
="$LIBS"
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15056 $as_echo_n "checking for isinf... " >&6; }
15057 if ${ac_cv_have_isinf+:} false
; then :
15058 $as_echo_n "(cached) " >&6
15060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15061 /* end confdefs.h. */
15066 float f = 0.0; return isinf(f)
15071 if ac_fn_c_try_link
"$LINENO"; then :
15072 ac_cv_have_isinf
="yes"
15074 ac_cv_have_isinf
="no"
15076 rm -f core conftest.err conftest.
$ac_objext \
15077 conftest
$ac_exeext conftest.
$ac_ext
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15080 $as_echo "$ac_cv_have_isinf" >&6; }
15081 if test "$ac_cv_have_isinf" = "yes"
15084 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15089 $as_echo_n "checking for isnan... " >&6; }
15090 if ${ac_cv_have_isnan+:} false
; then :
15091 $as_echo_n "(cached) " >&6
15093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h. */
15099 float f = 0.0; return isnan(f)
15104 if ac_fn_c_try_link
"$LINENO"; then :
15105 ac_cv_have_isnan
="yes"
15107 ac_cv_have_isnan
="no"
15109 rm -f core conftest.err conftest.
$ac_objext \
15110 conftest
$ac_exeext conftest.
$ac_ext
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15113 $as_echo "$ac_cv_have_isnan" >&6; }
15114 if test "$ac_cv_have_isnan" = "yes"
15117 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15120 LIBS
="$ac_save_LIBS"
15124 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15125 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15126 if ${ac_cv_cpp_def___i386__+:} false
; then :
15127 $as_echo_n "(cached) " >&6
15129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15130 /* end confdefs.h. */
15135 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15136 $EGREP "yes" >/dev
/null
2>&1; then :
15137 ac_cv_cpp_def___i386__
=yes
15139 ac_cv_cpp_def___i386__
=no
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15145 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15146 if test $ac_cv_cpp_def___i386__ = yes; then :
15147 CFLAGS
="$CFLAGS -D__i386__"
15148 LINTFLAGS
="$LINTFLAGS -D__i386__"
15150 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15151 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15152 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
15153 $as_echo_n "(cached) " >&6
15155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15156 /* end confdefs.h. */
15161 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15162 $EGREP "yes" >/dev
/null
2>&1; then :
15163 ac_cv_cpp_def___x86_64__
=yes
15165 ac_cv_cpp_def___x86_64__
=no
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15171 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15172 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15173 CFLAGS
="$CFLAGS -D__x86_64__"
15174 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
15176 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15177 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15178 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
15179 $as_echo_n "(cached) " >&6
15181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15182 /* end confdefs.h. */
15183 #ifndef __sparc64__
15187 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15188 $EGREP "yes" >/dev
/null
2>&1; then :
15189 ac_cv_cpp_def___sparc64__
=yes
15191 ac_cv_cpp_def___sparc64__
=no
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15197 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15198 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15199 CFLAGS
="$CFLAGS -D__sparc64__"
15200 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
15202 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15203 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15204 if ${ac_cv_cpp_def___sparc__+:} false
; then :
15205 $as_echo_n "(cached) " >&6
15207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15208 /* end confdefs.h. */
15213 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15214 $EGREP "yes" >/dev
/null
2>&1; then :
15215 ac_cv_cpp_def___sparc__
=yes
15217 ac_cv_cpp_def___sparc__
=no
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15223 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15224 if test $ac_cv_cpp_def___sparc__ = yes; then :
15225 CFLAGS
="$CFLAGS -D__sparc__"
15226 LINTFLAGS
="$LINTFLAGS -D__sparc__"
15228 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15229 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15230 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
15231 $as_echo_n "(cached) " >&6
15233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15234 /* end confdefs.h. */
15235 #ifndef __powerpc64__
15239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15240 $EGREP "yes" >/dev
/null
2>&1; then :
15241 ac_cv_cpp_def___powerpc64__
=yes
15243 ac_cv_cpp_def___powerpc64__
=no
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15249 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15250 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15251 CFLAGS
="$CFLAGS -D__powerpc64__"
15252 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
15254 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15255 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15256 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
15257 $as_echo_n "(cached) " >&6
15259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15260 /* end confdefs.h. */
15261 #ifndef __powerpc__
15265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15266 $EGREP "yes" >/dev
/null
2>&1; then :
15267 ac_cv_cpp_def___powerpc__
=yes
15269 ac_cv_cpp_def___powerpc__
=no
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15275 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15276 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15277 CFLAGS
="$CFLAGS -D__powerpc__"
15278 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
15280 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15281 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15282 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
15283 $as_echo_n "(cached) " >&6
15285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15286 /* end confdefs.h. */
15287 #ifndef __aarch64__
15291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15292 $EGREP "yes" >/dev
/null
2>&1; then :
15293 ac_cv_cpp_def___aarch64__
=yes
15295 ac_cv_cpp_def___aarch64__
=no
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15301 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15302 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15303 CFLAGS
="$CFLAGS -D__aarch64__"
15304 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
15306 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15307 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15308 if ${ac_cv_cpp_def___arm__+:} false
; then :
15309 $as_echo_n "(cached) " >&6
15311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15312 /* end confdefs.h. */
15317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15318 $EGREP "yes" >/dev
/null
2>&1; then :
15319 ac_cv_cpp_def___arm__
=yes
15321 ac_cv_cpp_def___arm__
=no
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
15327 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
15328 if test $ac_cv_cpp_def___arm__ = yes; then :
15329 CFLAGS
="$CFLAGS -D__arm__"
15330 LINTFLAGS
="$LINTFLAGS -D__arm__"
15334 case $host_vendor in
15335 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
15336 $as_echo_n "checking whether we need to define __sun__... " >&6; }
15337 if ${ac_cv_cpp_def___sun__+:} false
; then :
15338 $as_echo_n "(cached) " >&6
15340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15341 /* end confdefs.h. */
15346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15347 $EGREP "yes" >/dev
/null
2>&1; then :
15348 ac_cv_cpp_def___sun__
=yes
15350 ac_cv_cpp_def___sun__
=no
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
15356 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
15357 if test $ac_cv_cpp_def___sun__ = yes; then :
15358 CFLAGS
="$CFLAGS -D__sun__"
15359 LINTFLAGS
="$LINTFLAGS -D__sun__"
15367 ac_config_commands
="$ac_config_commands include/stamp-h"
15370 ALL_MAKEFILE_DEPENDS
="
15371 # Rules automatically generated by configure
15376 Makefile: Makefile.in Make.vars.in Make.rules config.status
15377 @./config.status Make.tmp Makefile"
15380 ALL_TEST_RESOURCES
=""
15383 wine_fn_append_file
()
15385 as_fn_append
$1 " \\$as_nl $2"
15388 wine_fn_append_rule
()
15390 as_fn_append
$1 "$as_nl$2"
15393 wine_fn_has_flag
()
15395 expr ",$2," : ".*,$1,.*" >/dev
/null
15398 wine_fn_all_dir_rules
()
15402 ac_makedep
="\$(MAKEDEP)"
15403 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
15404 if test $ac_dir != tools
15406 ac_alldeps
="$2 $ac_makedep"
15408 ac_alldeps
="$2 include/config.h"
15411 *.
in) ac_input
=$ac_input:$2 ;;
15412 *) ac_makedep
="$2 $ac_makedep" ;;
15415 wine_fn_append_file ALL_DIRS
$ac_dir
15416 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15417 "__clean__: $ac_dir/__clean__
15418 .PHONY: $ac_dir/__clean__
15419 $ac_dir/__clean__: $ac_dir/Makefile
15420 @cd $ac_dir && \$(MAKE) clean
15421 \$(RM) $ac_dir/Makefile
15422 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
15423 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
15424 depend: $ac_dir/__depend__
15425 .PHONY: $ac_dir/__depend__
15426 $ac_dir/__depend__: $ac_makedep dummy
15427 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
15430 wine_fn_pot_rules
()
15435 test "x$with_gettextpo" = xyes ||
return
15437 if wine_fn_has_flag mc
$ac_flags
15439 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
15440 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15441 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
15442 @cd $ac_dir && \$(MAKE) msg.pot
15443 $ac_dir/msg.pot: tools/wmc include"
15445 if wine_fn_has_flag po
$ac_flags
15447 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
15448 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15449 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
15450 @cd $ac_dir && \$(MAKE) rsrc.pot
15451 $ac_dir/rsrc.pot: tools/wrc include"
15455 wine_fn_config_makefile
()
15461 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15465 wine_fn_all_dir_rules
$ac_dir ${ac_rules:-Make.rules}
15466 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15469 $ac_dir: $ac_dir/Makefile dummy
15470 @cd $ac_dir && \$(MAKE)"
15472 wine_fn_has_flag install-lib
$ac_flags || wine_fn_has_flag install-dev
$ac_flags ||
return
15474 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15475 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15476 $ac_dir/__install__:: $ac_dir
15477 @cd $ac_dir && \$(MAKE) install
15478 $ac_dir/__uninstall__:: $ac_dir/Makefile
15479 @cd $ac_dir && \$(MAKE) uninstall
15480 install:: $ac_dir/__install__
15481 __uninstall__: $ac_dir/__uninstall__"
15483 if wine_fn_has_flag install-lib
$ac_flags
15485 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15486 ".PHONY: $ac_dir/__install-lib__
15487 $ac_dir/__install-lib__:: $ac_dir
15488 @cd $ac_dir && \$(MAKE) install-lib
15489 install-lib:: $ac_dir/__install-lib__"
15492 if wine_fn_has_flag install-dev
$ac_flags
15494 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15495 ".PHONY: $ac_dir/__install-dev
15496 $ac_dir/__install-dev__:: $ac_dir
15497 @cd $ac_dir && \$(MAKE) install-dev
15498 install-dev:: $ac_dir/__install-dev__"
15502 wine_fn_config_lib
()
15506 ac_dir
=dlls
/$ac_name
15507 wine_fn_config_makefile
$ac_dir enable_
$ac_name "$ac_flags" dlls
/Makeimplib.rules
15509 if wine_fn_has_flag install-dev
$ac_flags
15512 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15513 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15514 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
15515 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15516 $ac_dir/__uninstall__::
15517 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15518 install install-dev:: $ac_dir/__install__
15519 __uninstall__: $ac_dir/__uninstall__"
15522 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: $ac_dir"
15523 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: tools/widl tools/winebuild tools/winegcc include"
15526 wine_fn_config_dll
()
15529 ac_dir
=dlls
/$ac_name
15532 ac_implib
=${4:-$ac_name}
15533 ac_file
=$ac_dir/lib
$ac_implib
15535 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
15539 *16) ac_implibflags
=" -m16" ;;
15541 *) ac_dll
=$ac_dll.dll
;;
15544 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" dlls
/Makedll.rules
15546 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15547 test "$ac_enable" != enable_win16 ||
return 0
15548 wine_fn_has_flag implib
$ac_flags && wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
15550 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15551 "$ac_dir: __builddeps__
15552 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
15553 @cd $ac_dir && \$(MAKE) \$@"
15555 if wine_fn_has_flag install-lib
$ac_flags
15558 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15559 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
15560 install install-lib:: $ac_dir/__install-lib__
15561 __uninstall__: $ac_dir/__uninstall__"
15562 if test -n "$DLLEXT"
15564 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15565 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15566 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
15567 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
15568 $ac_dir/__uninstall__::
15569 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
15571 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15572 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15573 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
15574 $ac_dir/__uninstall__::
15575 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
15579 wine_fn_pot_rules
$ac_dir $ac_flags
15582 if wine_fn_has_flag staticimplib
$ac_flags
15584 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15585 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
15586 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
15587 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
15588 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
15589 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
15590 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
15591 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15592 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15593 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15594 $ac_dir/__uninstall__::
15595 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15596 install install-dev:: $ac_dir/__install-dev__
15597 __uninstall__: $ac_dir/__uninstall__"
15599 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
15601 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15602 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
15603 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
15604 $ac_dir/__uninstall__::
15605 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
15608 if test "x$CROSSTEST_DISABLE" = x
15610 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15611 "__builddeps__: $ac_file.cross.a
15612 $ac_file.cross.a: $ac_dir/Makefile dummy
15613 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
15616 elif wine_fn_has_flag implib
$ac_flags
15618 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15619 "__builddeps__: $ac_file.$IMPLIBEXT
15620 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15621 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15622 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15623 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15624 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15625 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15626 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15627 $ac_dir/__uninstall__::
15628 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15629 install install-dev:: $ac_dir/__install-dev__
15630 __uninstall__: $ac_dir/__uninstall__"
15631 if test "x$CROSSTEST_DISABLE" = x
15633 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15634 "__builddeps__: $ac_file.cross.a
15635 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15636 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
15639 if test "$ac_name" != "$ac_implib"
15641 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15642 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
15643 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
15644 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
15646 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
15647 if test "x$CROSSTEST_DISABLE" = x
15649 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15650 "__builddeps__: dlls/lib$ac_implib.cross.a
15651 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
15652 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
15658 wine_fn_config_program
()
15661 ac_dir
=programs
/$ac_name
15664 ac_program
=$ac_name
15668 *) ac_program
=$ac_program.exe
;;
15671 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" programs
/Makeprog.rules
15673 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15676 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15677 "$ac_dir: __builddeps__"
15679 wine_fn_pot_rules
$ac_dir $ac_flags
15681 wine_fn_has_flag
install $ac_flags ||
return
15682 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15683 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15684 install install-lib:: $ac_dir/__install__
15685 __uninstall__: $ac_dir/__uninstall__"
15687 if test -n "$DLLEXT"
15689 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15690 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15691 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
15692 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15693 $ac_dir/__uninstall__::
15694 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15696 if test "x$enable_tools" != xno
&& wine_fn_has_flag installbin
$ac_flags
15698 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15699 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15700 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15701 $ac_dir/__uninstall__::
15702 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15705 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15706 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15707 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15708 $ac_dir/__uninstall__::
15709 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15712 if test "x$enable_tools" != xno
&& wine_fn_has_flag manpage
$ac_flags
15714 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15715 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15716 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15717 $ac_dir/__uninstall__::
15718 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15723 wine_fn_config_test
()
15728 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
15729 wine_fn_all_dir_rules
$ac_dir Maketest.rules
15731 if test "x$enable_tests" = xno
; then :
15734 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15737 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15738 @cd $ac_dir && \$(MAKE)
15739 programs/winetest: $ac_dir
15740 check test: $ac_dir/__test__
15741 .PHONY: $ac_dir/__test__
15742 $ac_dir/__test__: dummy
15743 @cd $ac_dir && \$(MAKE) test
15745 \$(RM) $ac_dir/*.ok"
15747 if test "x$CROSSTEST_DISABLE" = x
15749 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15750 "crosstest: $ac_dir/__crosstest__
15751 .PHONY: $ac_dir/__crosstest__
15752 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15753 @cd $ac_dir && \$(MAKE) crosstest"
15758 wine_fn_config_tool
()
15762 if test "x$enable_tools" = xno
; then :
15766 wine_fn_config_makefile
$ac_dir enable_tools
$ac_flags
15768 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__tooldeps__: $ac_dir"
15769 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: libs/port"
15771 tools
/winebuild
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(WINEBUILD): $ac_dir" ;;
15775 wine_fn_config_makerules
()
15779 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15780 "$ac_rules: $ac_rules.in $ac_deps config.status
15781 @./config.status $ac_rules
15786 wine_fn_config_symlink
()
15789 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15791 @./config.status $ac_link
15796 if test "x$CROSSTEST_DISABLE" != x
15798 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15800 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15802 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15803 wine_fn_config_symlink dlls
/shell32
/AUTHORS
15804 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15805 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
15806 if test "x$enable_fonts" != xno
; then
15807 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15808 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
15810 if test "x$enable_fonts" != xno
; then
15811 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15812 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
15814 if test "x$enable_fonts" != xno
; then
15815 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15816 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
15818 if test "x$enable_fonts" != xno
; then
15819 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15820 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
15822 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
15823 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
15824 if test "x$enable_tools" != xno
; then
15825 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15826 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
15828 ac_config_links
="$ac_config_links wine:tools/winewrapper"
15829 wine_fn_config_symlink wine
15830 if test "x$enable_win64" != xno
; then
15831 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
15832 wine_fn_config_symlink wine64
15835 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
15837 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
15839 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
15841 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
15843 ac_config_commands
="$ac_config_commands dlls/user32/resources"
15845 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
15847 ac_config_commands
="$ac_config_commands include/wine"
15850 wine_fn_config_makerules Make.rules
15851 MAKE_RULES
=Make.rules
15852 ac_config_files
="$ac_config_files Make.rules"
15854 wine_fn_config_makerules Maketest.rules Make.rules
15855 MAKE_TEST_RULES
=Maketest.rules
15856 ac_config_files
="$ac_config_files Maketest.rules"
15858 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
15859 MAKE_DLL_RULES
=dlls
/Makedll.rules
15860 ac_config_files
="$ac_config_files dlls/Makedll.rules"
15862 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
15863 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
15864 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
15866 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
15867 MAKE_PROG_RULES
=programs
/Makeprog.rules
15868 ac_config_files
="$ac_config_files programs/Makeprog.rules"
15871 wine_fn_config_dll acledit enable_acledit
15872 wine_fn_config_dll aclui enable_aclui implib
15873 wine_fn_config_dll activeds enable_activeds implib
15874 wine_fn_config_dll actxprxy enable_actxprxy
15875 wine_fn_config_lib adsiid
15876 wine_fn_config_dll advapi32 enable_advapi32 implib
15877 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
15878 wine_fn_config_dll advpack enable_advpack implib
15879 wine_fn_config_test dlls
/advpack
/tests advpack_test
15880 wine_fn_config_dll amstream enable_amstream
15881 wine_fn_config_test dlls
/amstream
/tests amstream_test
15882 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
15883 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
15884 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
15885 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
15886 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
15887 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
15888 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
15889 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
15890 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
15891 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
15892 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
15893 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
15894 wine_fn_config_dll apphelp enable_apphelp
15895 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
15896 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15897 wine_fn_config_dll atl enable_atl implib
15898 wine_fn_config_test dlls
/atl
/tests atl_test
15899 wine_fn_config_dll atl100 enable_atl100 implib
15900 wine_fn_config_test dlls
/atl100
/tests atl100_test
15901 wine_fn_config_dll atl80 enable_atl80 implib
15902 wine_fn_config_test dlls
/atl80
/tests atl80_test
15903 wine_fn_config_dll authz enable_authz
15904 wine_fn_config_dll avicap32 enable_avicap32 implib
15905 wine_fn_config_dll avifil32 enable_avifil32 implib
,po
15906 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
15907 wine_fn_config_dll avifile.dll16 enable_win16
15908 wine_fn_config_dll avrt enable_avrt implib
15909 wine_fn_config_dll bcrypt enable_bcrypt
15910 wine_fn_config_dll browseui enable_browseui po
15911 wine_fn_config_test dlls
/browseui
/tests browseui_test
15912 wine_fn_config_dll cabinet enable_cabinet implib
15913 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
15914 wine_fn_config_dll capi2032 enable_capi2032 implib
15915 wine_fn_config_dll cards enable_cards implib
15916 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15917 wine_fn_config_dll clusapi enable_clusapi implib
15918 wine_fn_config_dll comcat enable_comcat
15919 wine_fn_config_test dlls
/comcat
/tests comcat_test
15920 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
15921 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
15922 wine_fn_config_dll comdlg32 enable_comdlg32 implib
,po
15923 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
15924 wine_fn_config_dll
comm.drv16 enable_win16
15925 wine_fn_config_dll commdlg.dll16 enable_win16
15926 wine_fn_config_dll compobj.dll16 enable_win16
15927 wine_fn_config_dll compstui enable_compstui implib
15928 wine_fn_config_dll credui enable_credui implib
,po
15929 wine_fn_config_test dlls
/credui
/tests credui_test
15930 wine_fn_config_dll crtdll enable_crtdll implib
15931 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
15932 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
15933 wine_fn_config_dll cryptdlg enable_cryptdlg po
15934 wine_fn_config_dll cryptdll enable_cryptdll implib
15935 wine_fn_config_dll cryptnet enable_cryptnet implib
15936 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
15937 wine_fn_config_dll cryptui enable_cryptui implib
,po
15938 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
15939 wine_fn_config_dll ctapi32 enable_ctapi32
15940 wine_fn_config_dll ctl3d.dll16 enable_win16
15941 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15942 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15943 wine_fn_config_dll d3d10 enable_d3d10 implib
15944 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
15945 wine_fn_config_dll d3d10core enable_d3d10core implib
15946 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
15947 wine_fn_config_dll d3d11 enable_d3d11
15948 wine_fn_config_dll d3d8 enable_d3d8 implib
15949 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
15950 wine_fn_config_dll d3d9 enable_d3d9 implib
15951 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
15952 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
15953 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
15954 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
15955 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
15956 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
15957 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
15958 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
15959 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
15960 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
15961 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
15962 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
15963 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
15964 wine_fn_config_dll d3dim enable_d3dim implib
15965 wine_fn_config_dll d3drm enable_d3drm implib
15966 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
15967 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
15968 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
15969 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
15970 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
15971 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
15972 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
15973 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
15974 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
15975 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
15976 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
15977 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
15978 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
15979 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
15980 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
15981 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
15982 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
15983 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
15984 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
15985 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
15986 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
15987 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
15988 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
15989 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
15990 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
15991 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
15992 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
15993 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
15994 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
15995 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
15996 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
15997 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
15998 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
15999 wine_fn_config_dll d3dxof enable_d3dxof implib
16000 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16001 wine_fn_config_dll dbgeng enable_dbgeng implib
16002 wine_fn_config_dll dbghelp enable_dbghelp implib
16003 wine_fn_config_dll dciman32 enable_dciman32 implib
16004 wine_fn_config_dll ddeml.dll16 enable_win16
16005 wine_fn_config_dll ddraw enable_ddraw implib
16006 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16007 wine_fn_config_dll ddrawex enable_ddrawex
16008 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16009 wine_fn_config_dll devenum enable_devenum po
16010 wine_fn_config_test dlls
/devenum
/tests devenum_test
16011 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16012 wine_fn_config_dll dinput enable_dinput implib
,po
,staticimplib
16013 wine_fn_config_test dlls
/dinput
/tests dinput_test
16014 wine_fn_config_dll dinput8 enable_dinput8 implib
16015 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16016 wine_fn_config_dll dispdib.dll16 enable_win16
16017 wine_fn_config_dll dispex enable_dispex
16018 wine_fn_config_test dlls
/dispex
/tests dispex_test
16019 wine_fn_config_dll display.drv16 enable_win16
16020 wine_fn_config_dll dmband enable_dmband
16021 wine_fn_config_test dlls
/dmband
/tests dmband_test
16022 wine_fn_config_dll dmcompos enable_dmcompos
16023 wine_fn_config_dll dmime enable_dmime
16024 wine_fn_config_test dlls
/dmime
/tests dmime_test
16025 wine_fn_config_dll dmloader enable_dmloader
16026 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16027 wine_fn_config_dll dmscript enable_dmscript
16028 wine_fn_config_dll dmstyle enable_dmstyle
16029 wine_fn_config_dll dmsynth enable_dmsynth
16030 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16031 wine_fn_config_dll dmusic enable_dmusic
16032 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16033 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16034 wine_fn_config_dll dnsapi enable_dnsapi implib
16035 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16036 wine_fn_config_dll dplay enable_dplay implib
16037 wine_fn_config_dll dplayx enable_dplayx implib
16038 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16039 wine_fn_config_dll dpnaddr enable_dpnaddr
16040 wine_fn_config_dll dpnet enable_dpnet implib
16041 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16042 wine_fn_config_dll dpnhpast enable_dpnhpast
16043 wine_fn_config_dll dpnlobby enable_dpnlobby
16044 wine_fn_config_dll dpwsockx enable_dpwsockx
16045 wine_fn_config_dll drmclien enable_drmclien
16046 wine_fn_config_dll dsound enable_dsound implib
16047 wine_fn_config_test dlls
/dsound
/tests dsound_test
16048 wine_fn_config_dll dssenh enable_dssenh
16049 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16050 wine_fn_config_dll dswave enable_dswave
16051 wine_fn_config_dll dwmapi enable_dwmapi implib
16052 wine_fn_config_dll dwrite enable_dwrite implib
16053 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16054 wine_fn_config_dll dxdiagn enable_dxdiagn po
16055 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16056 wine_fn_config_lib dxerr8
16057 wine_fn_config_lib dxerr9
16058 wine_fn_config_dll dxgi enable_dxgi implib
16059 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16060 wine_fn_config_lib dxguid
16061 wine_fn_config_dll explorerframe enable_explorerframe
16062 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16063 wine_fn_config_dll faultrep enable_faultrep implib
16064 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16065 wine_fn_config_dll fltlib enable_fltlib
16066 wine_fn_config_dll fusion enable_fusion
16067 wine_fn_config_test dlls
/fusion
/tests fusion_test
16068 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16069 wine_fn_config_dll gameux enable_gameux
16070 wine_fn_config_test dlls
/gameux
/tests gameux_test
16071 wine_fn_config_dll gdi.exe16 enable_win16
16072 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
16073 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16074 wine_fn_config_dll gdiplus enable_gdiplus implib
16075 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16076 wine_fn_config_dll glu32 enable_glu32 implib
16077 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16078 wine_fn_config_dll gpkcsp enable_gpkcsp
16079 wine_fn_config_dll hal enable_hal
16080 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib
,po htmlhelp
16081 wine_fn_config_dll hid enable_hid implib
16082 wine_fn_config_dll hlink enable_hlink implib
16083 wine_fn_config_test dlls
/hlink
/tests hlink_test
16084 wine_fn_config_dll hnetcfg enable_hnetcfg
16085 wine_fn_config_dll httpapi enable_httpapi
16086 wine_fn_config_dll iccvid enable_iccvid po
16087 wine_fn_config_dll icmp enable_icmp
16088 wine_fn_config_dll ieframe enable_ieframe implib
,po
16089 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16090 wine_fn_config_dll ifsmgr.vxd enable_win16
16091 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16092 wine_fn_config_dll imagehlp enable_imagehlp implib
16093 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16094 wine_fn_config_dll imm.dll16 enable_win16
16095 wine_fn_config_dll imm32 enable_imm32 implib
16096 wine_fn_config_test dlls
/imm32
/tests imm32_test
16097 wine_fn_config_dll inetcomm enable_inetcomm implib
16098 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16099 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16100 wine_fn_config_dll inetmib1 enable_inetmib1
16101 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16102 wine_fn_config_dll infosoft enable_infosoft
16103 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16104 wine_fn_config_dll initpki enable_initpki
16105 wine_fn_config_dll inkobj enable_inkobj
16106 wine_fn_config_dll inseng enable_inseng
16107 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16108 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16109 wine_fn_config_dll itircl enable_itircl
16110 wine_fn_config_dll itss enable_itss
16111 wine_fn_config_test dlls
/itss
/tests itss_test
16112 wine_fn_config_dll joy.cpl enable_joy_cpl po
16113 wine_fn_config_dll jscript enable_jscript po
16114 wine_fn_config_test dlls
/jscript
/tests jscript_test
16115 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
16116 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16117 wine_fn_config_dll keyboard.drv16 enable_win16
16118 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16119 wine_fn_config_dll ktmw32 enable_ktmw32
16120 wine_fn_config_dll loadperf enable_loadperf implib
16121 wine_fn_config_dll localspl enable_localspl po
16122 wine_fn_config_test dlls
/localspl
/tests localspl_test
16123 wine_fn_config_dll localui enable_localui po
16124 wine_fn_config_test dlls
/localui
/tests localui_test
16125 wine_fn_config_dll lz32 enable_lz32 implib
16126 wine_fn_config_test dlls
/lz32
/tests lz32_test
16127 wine_fn_config_dll lzexpand.dll16 enable_win16
16128 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16129 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16130 wine_fn_config_dll mapistub enable_mapistub
16131 wine_fn_config_dll mciavi32 enable_mciavi32
16132 wine_fn_config_dll mcicda enable_mcicda
16133 wine_fn_config_dll mciqtz32 enable_mciqtz32
16134 wine_fn_config_dll mciseq enable_mciseq
16135 wine_fn_config_dll mciwave enable_mciwave
16136 wine_fn_config_dll mgmtapi enable_mgmtapi
16137 wine_fn_config_dll midimap enable_midimap
16138 wine_fn_config_dll mlang enable_mlang implib
16139 wine_fn_config_test dlls
/mlang
/tests mlang_test
16140 wine_fn_config_dll mmcndmgr enable_mmcndmgr
16141 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16142 wine_fn_config_dll mmdevapi enable_mmdevapi
16143 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16144 wine_fn_config_dll mmdevldr.vxd enable_win16
16145 wine_fn_config_dll mmsystem.dll16 enable_win16
16146 wine_fn_config_dll monodebg.vxd enable_win16
16147 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16148 wine_fn_config_dll mouse.drv16 enable_win16
16149 wine_fn_config_dll mpr enable_mpr implib
,po
16150 wine_fn_config_test dlls
/mpr
/tests mpr_test
16151 wine_fn_config_dll mprapi enable_mprapi implib
16152 wine_fn_config_dll msacm.dll16 enable_win16
16153 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16154 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16155 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16156 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16157 wine_fn_config_dll mscat32 enable_mscat32
16158 wine_fn_config_dll mscms enable_mscms implib
16159 wine_fn_config_test dlls
/mscms
/tests mscms_test
16160 wine_fn_config_dll mscoree enable_mscoree
16161 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16162 wine_fn_config_dll msctf enable_msctf
16163 wine_fn_config_test dlls
/msctf
/tests msctf_test
16164 wine_fn_config_dll msdaps enable_msdaps
16165 wine_fn_config_dll msdmo enable_msdmo implib
16166 wine_fn_config_dll msftedit enable_msftedit
16167 wine_fn_config_dll msg711.acm enable_msg711_acm
16168 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16169 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
16170 wine_fn_config_dll mshtml enable_mshtml implib
,po
16171 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
16172 wine_fn_config_dll msi enable_msi implib
,po
16173 wine_fn_config_test dlls
/msi
/tests msi_test
16174 wine_fn_config_dll msident enable_msident
16175 wine_fn_config_dll msimg32 enable_msimg32 implib
16176 wine_fn_config_dll msimsg enable_msimsg
16177 wine_fn_config_dll msimtf enable_msimtf
16178 wine_fn_config_dll msisip enable_msisip
16179 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16180 wine_fn_config_dll msls31 enable_msls31
16181 wine_fn_config_dll msnet32 enable_msnet32
16182 wine_fn_config_dll mspatcha enable_mspatcha
16183 wine_fn_config_dll msrle32 enable_msrle32 po
16184 wine_fn_config_dll mssign32 enable_mssign32
16185 wine_fn_config_dll mssip32 enable_mssip32
16186 wine_fn_config_dll mstask enable_mstask
16187 wine_fn_config_test dlls
/mstask
/tests mstask_test
16188 wine_fn_config_dll msvcirt enable_msvcirt
16189 wine_fn_config_dll msvcm80 enable_msvcm80
16190 wine_fn_config_dll msvcm90 enable_msvcm90
16191 wine_fn_config_dll msvcp100 enable_msvcp100
16192 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
16193 wine_fn_config_dll msvcp110 enable_msvcp110
16194 wine_fn_config_dll msvcp60 enable_msvcp60
16195 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
16196 wine_fn_config_dll msvcp70 enable_msvcp70
16197 wine_fn_config_dll msvcp71 enable_msvcp71
16198 wine_fn_config_dll msvcp80 enable_msvcp80
16199 wine_fn_config_dll msvcp90 enable_msvcp90
16200 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
16201 wine_fn_config_dll msvcr100 enable_msvcr100
16202 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
16203 wine_fn_config_dll msvcr110 enable_msvcr110
16204 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16205 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16206 wine_fn_config_dll msvcr80 enable_msvcr80
16207 wine_fn_config_dll msvcr90 enable_msvcr90
16208 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
16209 wine_fn_config_dll msvcrt enable_msvcrt implib
16210 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
16211 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16212 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16213 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16214 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
16215 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
16216 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
16217 wine_fn_config_dll msvidc32 enable_msvidc32 po
16218 wine_fn_config_dll msvideo.dll16 enable_win16
16219 wine_fn_config_dll mswsock enable_mswsock implib
16220 wine_fn_config_dll msxml enable_msxml
16221 wine_fn_config_dll msxml2 enable_msxml2
16222 wine_fn_config_dll msxml3 enable_msxml3
16223 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
16224 wine_fn_config_dll msxml4 enable_msxml4
16225 wine_fn_config_dll msxml6 enable_msxml6
16226 wine_fn_config_dll nddeapi enable_nddeapi implib
16227 wine_fn_config_dll netapi32 enable_netapi32 implib
16228 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
16229 wine_fn_config_dll newdev enable_newdev implib
16230 wine_fn_config_dll normaliz enable_normaliz implib
16231 wine_fn_config_dll npmshtml enable_npmshtml
16232 wine_fn_config_dll ntdll enable_ntdll implib
16233 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
16234 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16235 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
16236 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16237 wine_fn_config_dll ntprint enable_ntprint
16238 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
16239 wine_fn_config_dll objsel enable_objsel
16240 wine_fn_config_dll odbc32 enable_odbc32 implib
16241 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16242 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
16243 wine_fn_config_dll odbccu32 enable_odbccu32
16244 wine_fn_config_dll ole2.dll16 enable_win16
16245 wine_fn_config_dll ole2conv.dll16 enable_win16
16246 wine_fn_config_dll ole2disp.dll16 enable_win16
16247 wine_fn_config_dll ole2nls.dll16 enable_win16
16248 wine_fn_config_dll ole2prox.dll16 enable_win16
16249 wine_fn_config_dll ole2thk.dll16 enable_win16
16250 wine_fn_config_dll ole32 enable_ole32 implib
16251 wine_fn_config_test dlls
/ole32
/tests ole32_test
16252 wine_fn_config_dll oleacc enable_oleacc implib
,po
16253 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
16254 wine_fn_config_dll oleaut32 enable_oleaut32 implib
,po
16255 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
16256 wine_fn_config_dll olecli.dll16 enable_win16
16257 wine_fn_config_dll olecli32 enable_olecli32 implib
16258 wine_fn_config_dll oledb32 enable_oledb32
16259 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
16260 wine_fn_config_dll oledlg enable_oledlg implib
,po
16261 wine_fn_config_dll olepro32 enable_olepro32 implib
16262 wine_fn_config_dll olesvr.dll16 enable_win16
16263 wine_fn_config_dll olesvr32 enable_olesvr32 implib
16264 wine_fn_config_dll olethk32 enable_olethk32
16265 wine_fn_config_dll openal32 enable_openal32
16266 wine_fn_config_dll opencl enable_opencl
16267 wine_fn_config_dll opengl32 enable_opengl32 implib
16268 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
16269 wine_fn_config_dll pdh enable_pdh implib
16270 wine_fn_config_test dlls
/pdh
/tests pdh_test
16271 wine_fn_config_dll photometadatahandler enable_photometadatahandler
16272 wine_fn_config_dll pidgen enable_pidgen
16273 wine_fn_config_dll powrprof enable_powrprof implib
16274 wine_fn_config_dll printui enable_printui
16275 wine_fn_config_dll propsys enable_propsys implib
16276 wine_fn_config_test dlls
/propsys
/tests propsys_test
16277 wine_fn_config_dll psapi enable_psapi implib
16278 wine_fn_config_test dlls
/psapi
/tests psapi_test
16279 wine_fn_config_dll pstorec enable_pstorec
16280 wine_fn_config_dll qcap enable_qcap
16281 wine_fn_config_dll qedit enable_qedit
16282 wine_fn_config_test dlls
/qedit
/tests qedit_test
16283 wine_fn_config_dll qmgr enable_qmgr
16284 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
16285 wine_fn_config_dll qmgrprxy enable_qmgrprxy
16286 wine_fn_config_dll quartz enable_quartz implib
16287 wine_fn_config_test dlls
/quartz
/tests quartz_test
16288 wine_fn_config_dll query enable_query
16289 wine_fn_config_dll rasapi16.dll16 enable_win16
16290 wine_fn_config_dll rasapi32 enable_rasapi32 implib
16291 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
16292 wine_fn_config_dll rasdlg enable_rasdlg implib
16293 wine_fn_config_dll regapi enable_regapi
16294 wine_fn_config_dll resutils enable_resutils implib
16295 wine_fn_config_dll riched20 enable_riched20 implib
16296 wine_fn_config_test dlls
/riched20
/tests riched20_test
16297 wine_fn_config_dll riched32 enable_riched32
16298 wine_fn_config_test dlls
/riched32
/tests riched32_test
16299 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
16300 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
16301 wine_fn_config_dll rsabase enable_rsabase
16302 wine_fn_config_dll rsaenh enable_rsaenh implib
16303 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
16304 wine_fn_config_dll rstrtmgr enable_rstrtmgr
16305 wine_fn_config_dll rtutils enable_rtutils implib
16306 wine_fn_config_dll samlib enable_samlib
16307 wine_fn_config_dll sane.ds enable_sane_ds po
16308 wine_fn_config_dll scarddlg enable_scarddlg
16309 wine_fn_config_dll sccbase enable_sccbase
16310 wine_fn_config_dll schannel enable_schannel
16311 wine_fn_config_test dlls
/schannel
/tests schannel_test
16312 wine_fn_config_dll scrrun enable_scrrun
16313 wine_fn_config_test dlls
/scrrun
/tests scrrun_test
16314 wine_fn_config_dll scsiport.sys enable_scsiport_sys
16315 wine_fn_config_dll secur32 enable_secur32 implib
16316 wine_fn_config_test dlls
/secur32
/tests secur32_test
16317 wine_fn_config_dll security enable_security
16318 wine_fn_config_dll sensapi enable_sensapi implib
16319 wine_fn_config_dll serialui enable_serialui implib
,po
16320 wine_fn_config_test dlls
/serialui
/tests serialui_test
16321 wine_fn_config_dll setupapi enable_setupapi implib
,po
16322 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
16323 wine_fn_config_dll setupx.dll16 enable_win16
16324 wine_fn_config_dll sfc enable_sfc implib
16325 wine_fn_config_dll sfc_os enable_sfc_os implib
16326 wine_fn_config_dll shdoclc enable_shdoclc po
16327 wine_fn_config_dll shdocvw enable_shdocvw implib
16328 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
16329 wine_fn_config_dll shell.dll16 enable_win16
16330 wine_fn_config_dll shell32 enable_shell32 implib
,po
16331 wine_fn_config_test dlls
/shell32
/tests shell32_test
16332 wine_fn_config_dll shfolder enable_shfolder implib
16333 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
16334 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
16335 wine_fn_config_dll slbcsp enable_slbcsp
16336 wine_fn_config_dll slc enable_slc implib
16337 wine_fn_config_dll snmpapi enable_snmpapi implib
16338 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
16339 wine_fn_config_dll softpub enable_softpub
16340 wine_fn_config_dll sound.drv16 enable_win16
16341 wine_fn_config_dll spoolss enable_spoolss implib
16342 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
16343 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
16344 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
16345 wine_fn_config_dll sti enable_sti implib
16346 wine_fn_config_test dlls
/sti
/tests sti_test
16347 wine_fn_config_dll storage.dll16 enable_win16
16348 wine_fn_config_dll stress.dll16 enable_win16
16349 wine_fn_config_lib strmbase
16350 wine_fn_config_lib strmiids
16351 wine_fn_config_dll svrapi enable_svrapi
16352 wine_fn_config_dll sxs enable_sxs implib
16353 wine_fn_config_test dlls
/sxs
/tests sxs_test
16354 wine_fn_config_dll system.drv16 enable_win16
16355 wine_fn_config_dll t2embed enable_t2embed
16356 wine_fn_config_dll tapi32 enable_tapi32 implib
16357 wine_fn_config_dll toolhelp.dll16 enable_win16
16358 wine_fn_config_dll traffic enable_traffic
16359 wine_fn_config_dll twain.dll16 enable_win16
16360 wine_fn_config_dll twain_32 enable_twain_32
16361 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
16362 wine_fn_config_dll typelib.dll16 enable_win16
16363 wine_fn_config_dll unicows enable_unicows implib
16364 wine_fn_config_dll updspapi enable_updspapi
16365 wine_fn_config_dll url enable_url implib
16366 wine_fn_config_dll urlmon enable_urlmon implib
,po
16367 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
16368 wine_fn_config_dll usbd.sys enable_usbd_sys implib
16369 wine_fn_config_dll user.exe16 enable_win16
16370 wine_fn_config_dll user32 enable_user32 implib
,po
16371 wine_fn_config_test dlls
/user32
/tests user32_test
16372 wine_fn_config_dll userenv enable_userenv implib
16373 wine_fn_config_test dlls
/userenv
/tests userenv_test
16374 wine_fn_config_dll usp10 enable_usp10 implib
16375 wine_fn_config_test dlls
/usp10
/tests usp10_test
16376 wine_fn_config_lib uuid
16377 wine_fn_config_dll uxtheme enable_uxtheme implib
16378 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
16379 wine_fn_config_dll vbscript enable_vbscript
16380 wine_fn_config_test dlls
/vbscript
/tests vbscript_test
16381 wine_fn_config_dll vcomp enable_vcomp
16382 wine_fn_config_dll vcomp100 enable_vcomp100
16383 wine_fn_config_dll vcomp90 enable_vcomp90
16384 wine_fn_config_dll vdhcp.vxd enable_win16
16385 wine_fn_config_dll vdmdbg enable_vdmdbg implib
16386 wine_fn_config_dll ver.dll16 enable_win16
16387 wine_fn_config_dll version enable_version implib
16388 wine_fn_config_test dlls
/version
/tests version_test
16389 wine_fn_config_dll vmm.vxd enable_win16
16390 wine_fn_config_dll vnbt.vxd enable_win16
16391 wine_fn_config_dll vnetbios.vxd enable_win16
16392 wine_fn_config_dll vtdapi.vxd enable_win16
16393 wine_fn_config_dll vwin32.vxd enable_win16
16394 wine_fn_config_dll w32skrnl enable_win16
16395 wine_fn_config_dll w32sys.dll16 enable_win16
16396 wine_fn_config_dll wbemprox enable_wbemprox
16397 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
16398 wine_fn_config_dll webservices enable_webservices implib
16399 wine_fn_config_dll wer enable_wer implib
16400 wine_fn_config_test dlls
/wer
/tests wer_test
16401 wine_fn_config_dll wevtapi enable_wevtapi
16402 wine_fn_config_dll wiaservc enable_wiaservc
16403 wine_fn_config_dll win32s16.dll16 enable_win16
16404 wine_fn_config_dll win87em.dll16 enable_win16
16405 wine_fn_config_dll winaspi.dll16 enable_win16
16406 wine_fn_config_dll windebug.dll16 enable_win16
16407 wine_fn_config_dll windowscodecs enable_windowscodecs implib
16408 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
16409 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
16410 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
16411 wine_fn_config_dll winealsa.drv enable_winealsa_drv
16412 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
16413 wine_fn_config_lib winecrt0
16414 wine_fn_config_dll wined3d enable_wined3d implib
16415 wine_fn_config_dll winegstreamer enable_winegstreamer
16416 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
16417 wine_fn_config_dll winemac.drv enable_winemac_drv
16418 wine_fn_config_dll winemapi enable_winemapi
16419 wine_fn_config_dll winemp3.acm enable_winemp3_acm
16420 wine_fn_config_dll wineoss.drv enable_wineoss_drv
16421 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib
,po
16422 wine_fn_config_dll wineps16.drv16 enable_win16
16423 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
16424 wine_fn_config_dll winex11.drv enable_winex11_drv
16425 wine_fn_config_dll wing.dll16 enable_win16
16426 wine_fn_config_dll wing32 enable_wing32
16427 wine_fn_config_dll winhttp enable_winhttp implib
16428 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
16429 wine_fn_config_dll wininet enable_wininet implib
,po
16430 wine_fn_config_test dlls
/wininet
/tests wininet_test
16431 wine_fn_config_dll winmm enable_winmm implib
,po
16432 wine_fn_config_test dlls
/winmm
/tests winmm_test
16433 wine_fn_config_dll winnls.dll16 enable_win16
16434 wine_fn_config_dll winnls32 enable_winnls32 implib
16435 wine_fn_config_dll winscard enable_winscard implib
16436 wine_fn_config_dll winsock.dll16 enable_win16
16437 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
16438 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
16439 wine_fn_config_dll winsta enable_winsta
16440 wine_fn_config_dll wintab.dll16 enable_win16
16441 wine_fn_config_dll wintab32 enable_wintab32 implib
16442 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
16443 wine_fn_config_dll wintrust enable_wintrust implib
16444 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
16445 wine_fn_config_dll wlanapi enable_wlanapi
16446 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
16447 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
16448 wine_fn_config_dll wmi enable_wmi
16449 wine_fn_config_dll wmiutils enable_wmiutils
16450 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
16451 wine_fn_config_dll wmvcore enable_wmvcore
16452 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
16453 wine_fn_config_dll wow32 enable_win16 implib
16454 wine_fn_config_dll ws2_32 enable_ws2_32 implib
16455 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
16456 wine_fn_config_dll wshom.ocx enable_wshom_ocx
16457 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test
16458 wine_fn_config_dll wsnmp32 enable_wsnmp32
16459 wine_fn_config_dll wsock32 enable_wsock32 implib
16460 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
16461 wine_fn_config_dll wuapi enable_wuapi
16462 wine_fn_config_dll wuaueng enable_wuaueng
16463 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
16464 wine_fn_config_dll xinput1_1 enable_xinput1_1
16465 wine_fn_config_dll xinput1_2 enable_xinput1_2
16466 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
16467 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
16468 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
16469 wine_fn_config_dll xmllite enable_xmllite
16470 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
16471 wine_fn_config_dll xolehlp enable_xolehlp
16472 wine_fn_config_dll xpsprint enable_xpsprint
16473 wine_fn_config_dll xpssvcs enable_xpssvcs
16474 wine_fn_config_makefile documentation enable_documentation
16475 wine_fn_config_makefile fonts enable_fonts install-lib
16476 wine_fn_config_makefile include enable_include install-dev
16477 wine_fn_config_makefile libs
/port enable_libs_port
16478 wine_fn_config_makefile libs
/wine enable_libs_wine
16479 wine_fn_config_makefile libs
/wpp enable_libs_wpp
16480 wine_fn_config_makefile loader enable_loader install-lib
,manpage
16481 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
16482 wine_fn_config_program attrib enable_attrib
install,po
16483 wine_fn_config_program cabarc enable_cabarc
install
16484 wine_fn_config_program cacls enable_cacls
install
16485 wine_fn_config_program
clock enable_clock
install,po
16486 wine_fn_config_program cmd enable_cmd
install,po
16487 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
16488 wine_fn_config_program conhost enable_conhost
install
16489 wine_fn_config_program control enable_control
install
16490 wine_fn_config_program cscript enable_cscript
install
16491 wine_fn_config_program dxdiag enable_dxdiag
install,po
16492 wine_fn_config_program eject enable_eject
install
16493 wine_fn_config_program
expand enable_expand
install
16494 wine_fn_config_program explorer enable_explorer
install,po
16495 wine_fn_config_program extrac32 enable_extrac32
install
16496 wine_fn_config_program findstr enable_findstr
install
16497 wine_fn_config_program hh enable_hh
install
16498 wine_fn_config_program hostname enable_hostname
install,po
16499 wine_fn_config_program icinfo enable_icinfo
install
16500 wine_fn_config_program iexplore enable_iexplore
install
16501 wine_fn_config_program ipconfig enable_ipconfig
install,po
16502 wine_fn_config_program lodctr enable_lodctr
install
16503 wine_fn_config_program mofcomp enable_mofcomp
install
16504 wine_fn_config_program mshta enable_mshta
install
16505 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
16506 wine_fn_config_program net enable_net
install,po
16507 wine_fn_config_program netsh enable_netsh
install
16508 wine_fn_config_program netstat enable_netstat
install,po
16509 wine_fn_config_program ngen enable_ngen
install
16510 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
16511 wine_fn_config_program oleview enable_oleview
install,po
16512 wine_fn_config_program
ping enable_ping
install
16513 wine_fn_config_program plugplay enable_plugplay
install
16514 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
16515 wine_fn_config_program progman enable_progman
install,po
16516 wine_fn_config_program reg enable_reg
install,po
16517 wine_fn_config_program regasm enable_regasm
install
16518 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
16519 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
16520 wine_fn_config_program regsvcs enable_regsvcs
install
16521 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
16522 wine_fn_config_program rpcss enable_rpcss
install
16523 wine_fn_config_program rundll.exe16 enable_win16
install
16524 wine_fn_config_program rundll32 enable_rundll32
install
16525 wine_fn_config_program sc enable_sc
install
16526 wine_fn_config_program schtasks enable_schtasks
install
16527 wine_fn_config_program secedit enable_secedit
install
16528 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
16529 wine_fn_config_program services enable_services
install
16530 wine_fn_config_test programs
/services
/tests services.exe_test
16531 wine_fn_config_program spoolsv enable_spoolsv
install
16532 wine_fn_config_program start enable_start
install,po
16533 wine_fn_config_program svchost enable_svchost
install
16534 wine_fn_config_program taskkill enable_taskkill
install,po
16535 wine_fn_config_program taskmgr enable_taskmgr
install,po
16536 wine_fn_config_program termsv enable_termsv
install
16537 wine_fn_config_program uninstaller enable_uninstaller
install,po
16538 wine_fn_config_program unlodctr enable_unlodctr
install
16539 wine_fn_config_program view enable_view
install,po
16540 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
16541 wine_fn_config_program winebrowser enable_winebrowser
install
16542 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
16543 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
16544 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
16545 wine_fn_config_program winedevice enable_winedevice
install
16546 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
16547 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
16548 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
16549 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
16550 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
16551 wine_fn_config_program winetest enable_winetest
16552 wine_fn_config_program winevdm enable_win16
install
16553 wine_fn_config_program winhelp.exe16 enable_win16
install
16554 wine_fn_config_program winhlp32 enable_winhlp32
install,po
16555 wine_fn_config_program winoldap.mod16 enable_win16
install
16556 wine_fn_config_program winver enable_winver
install
16557 wine_fn_config_program wmic enable_wmic
install,po
16558 wine_fn_config_program wordpad enable_wordpad
install,po
16559 wine_fn_config_program
write enable_write
install,po
16560 wine_fn_config_program wscript enable_wscript
install
16561 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
16562 wine_fn_config_program wusa enable_wusa
install
16563 wine_fn_config_program xcopy enable_xcopy
install,po
16564 wine_fn_config_makefile server enable_server install-lib
,manpage
16565 wine_fn_config_tool tools install-dev
,install-lib
,manpage
16566 wine_fn_config_tool tools
/widl install-dev
,manpage
16567 wine_fn_config_tool tools
/winebuild install-dev
,manpage
16568 wine_fn_config_tool tools
/winedump install-dev
,manpage
16569 wine_fn_config_tool tools
/winegcc install-dev
,manpage
16570 wine_fn_config_tool tools
/wmc install-dev
,manpage
16571 wine_fn_config_tool tools
/wrc install-dev
,manpage
16621 ac_config_commands
="$ac_config_commands Makefile"
16624 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
16628 if test "x$enable_maintainer_mode" = xyes
16630 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(srcdir)/configure: configure.ac aclocal.m4
16631 cd \$(srcdir) && autoconf --warnings=all
16632 \$(srcdir)/include/config.h.in: include/stamp-h.in
16633 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
16634 cd \$(srcdir) && autoheader --warnings=all
16635 @echo timestamp > \$@"
16638 if test "x$with_gettextpo" = xyes
16640 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
16641 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"ALL_POT_FILES =$ALL_POT_FILES
16642 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
16643 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
16644 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
16645 msgcat -o \$@ \$(ALL_POT_FILES)"
16648 if test "$MSGFMT" != false
16650 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
16652 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: \$(ALL_MO_FILES)"
16657 if test "x$enable_tools" != xno
16659 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(MAKEDEP): tools/Makefile
16661 \$(RM) tools/makedep\$(EXEEXT)"
16664 if test -n "$with_wine64"
16666 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
16667 fonts server tools:
16668 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
16669 $with_wine64/loader/wine:
16670 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
16671 $with_wine64/loader/wine-preloader:
16672 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
16674 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
16677 cat >confcache
<<\_ACEOF
16678 # This file is a shell script that caches the results of configure
16679 # tests run on this system so they can be shared between configure
16680 # scripts and configure runs, see configure's option --config-cache.
16681 # It is not useful on other systems. If it contains results you don't
16682 # want to keep, you may remove or edit it.
16684 # config.status only pays attention to the cache file if you give it
16685 # the --recheck option to rerun configure.
16687 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16688 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16689 # following values.
16693 # The following way of writing the cache mishandles newlines in values,
16694 # but we know of no workaround that is simple, portable, and efficient.
16695 # So, we kill variables containing newlines.
16696 # Ultrix sh set writes to stderr and can't be redirected directly,
16697 # and sets the high bit in the cache file unless we assign to the vars.
16699 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16700 eval ac_val
=\$
$ac_var
16704 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16705 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16708 _ | IFS | as_nl
) ;; #(
16709 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16710 *) { eval $ac_var=; unset $ac_var;} ;;
16716 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16717 *${as_nl}ac_space
=\
*)
16718 # `set' does not quote correctly, so add quotes: double-quote
16719 # substitution turns \\\\ into \\, and sed turns \\ into \.
16722 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16725 # `set' quotes correctly as required by POSIX, so do not add quotes.
16726 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16735 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16737 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16739 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16740 if test -w "$cache_file"; then
16741 if test "x$cache_file" != "x/dev/null"; then
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16743 $as_echo "$as_me: updating cache $cache_file" >&6;}
16744 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16745 cat confcache
>"$cache_file"
16747 case $cache_file in #(
16749 mv -f confcache
"$cache_file"$$
&&
16750 mv -f "$cache_file"$$
"$cache_file" ;; #(
16752 mv -f confcache
"$cache_file" ;;
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16758 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16763 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16764 # Let make expand exec_prefix.
16765 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16767 DEFS
=-DHAVE_CONFIG_H
16772 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16773 # 1. Remove the extension, and $U if already installed.
16774 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16775 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16776 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16777 # will be set to the directory where LIBOBJS objects are built.
16778 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16779 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16781 LIBOBJS
=$ac_libobjs
16783 LTLIBOBJS
=$ac_ltlibobjs
16787 : "${CONFIG_STATUS=./config.status}"
16789 ac_clean_files_save
=$ac_clean_files
16790 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16792 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16794 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16796 # Generated by $as_me.
16797 # Run this file to recreate the current configuration.
16798 # Compiler output produced by configure, useful for debugging
16799 # configure, is in config.log if it exists.
16802 ac_cs_recheck=false
16805 SHELL=\${CONFIG_SHELL-$SHELL}
16808 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16809 ## -------------------- ##
16810 ## M4sh Initialization. ##
16811 ## -------------------- ##
16813 # Be more Bourne compatible
16814 DUALCASE
=1; export DUALCASE
# for MKS sh
16815 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16818 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16819 # is contrary to our usage. Disable this feature.
16820 alias -g '${1+"$@"}'='"$@"'
16821 setopt NO_GLOB_SUBST
16823 case `(set -o) 2>/dev/null` in #(
16835 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16836 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16837 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16838 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16839 # Prefer a ksh shell builtin over an external printf program on Solaris,
16840 # but without wasting forks for bash or zsh.
16841 if test -z "$BASH_VERSION$ZSH_VERSION" \
16842 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16843 as_echo='print
-r --'
16844 as_echo_n='print
-rn --'
16845 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16846 as_echo='printf %s
\n'
16847 as_echo_n='printf %s
'
16849 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16850 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16851 as_echo_n='/usr
/ucb
/echo -n'
16853 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16854 as_echo_n_body='eval
16858 expr "X$arg" : "X\\(.*\\)$as_nl";
16859 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16861 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16863 export as_echo_n_body
16864 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16866 export as_echo_body
16867 as_echo='sh
-c $as_echo_body as_echo
'
16870 # The user is always right.
16871 if test "${PATH_SEPARATOR+set}" != set; then
16873 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16874 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16881 # We need space, tab and new line, in precisely that order. Quoting is
16882 # there to prevent editors from complaining about space-tab.
16883 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16884 # splitting by setting IFS to empty value.)
16887 # Find who we are. Look in the path if we contain no directory separator.
16890 *[\\/]* ) as_myself=$0 ;;
16891 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16892 for as_dir in $PATH
16895 test -z "$as_dir" && as_dir=.
16896 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16902 # We did not find ourselves, most probably we were run as `sh COMMAND'
16903 # in which case we are not to be found in the path.
16904 if test "x$as_myself" = x
; then
16907 if test ! -f "$as_myself"; then
16908 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16912 # Unset variables that we do not need and which cause bugs (e.g. in
16913 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16914 # suppresses any "Segmentation fault" message there. '((' could
16915 # trigger a bug in pdksh 5.2.14.
16916 for as_var
in BASH_ENV ENV MAIL MAILPATH
16917 do eval test x\
${$as_var+set} = xset \
16918 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16931 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16934 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16935 # ----------------------------------------
16936 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16937 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16938 # script with STATUS, using 1 if that was 0.
16941 as_status
=$1; test $as_status -eq 0 && as_status
=1
16943 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16944 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16946 $as_echo "$as_me: error: $2" >&2
16947 as_fn_exit
$as_status
16951 # as_fn_set_status STATUS
16952 # -----------------------
16953 # Set $? to STATUS, without forking.
16954 as_fn_set_status
()
16957 } # as_fn_set_status
16959 # as_fn_exit STATUS
16960 # -----------------
16961 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16965 as_fn_set_status
$1
16971 # Portably unset VAR.
16974 { eval $1=; unset $1;}
16976 as_unset
=as_fn_unset
16977 # as_fn_append VAR VALUE
16978 # ----------------------
16979 # Append the text in VALUE to the end of the definition contained in VAR. Take
16980 # advantage of any shell optimizations that allow amortized linear growth over
16981 # repeated appends, instead of the typical quadratic growth present in naive
16983 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16984 eval 'as_fn_append ()
16995 # as_fn_arith ARG...
16996 # ------------------
16997 # Perform arithmetic evaluation on the ARGs, and store the result in the
16998 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16999 # must be portable across $(()) and expr.
17000 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17001 eval 'as_fn_arith ()
17008 as_val
=`expr "$@" || test $? -eq 1`
17013 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17014 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17020 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17021 as_basename
=basename
17026 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17032 as_me
=`$as_basename -- "$0" ||
17033 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17034 X"$0" : 'X\(//\)$' \| \
17035 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17037 sed '/^.*\/\([^/][^/]*\)\/*$/{
17051 # Avoid depending upon Character Ranges.
17052 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17053 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17054 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17055 as_cr_digits
='0123456789'
17056 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17058 ECHO_C
= ECHO_N
= ECHO_T
=
17059 case `echo -n x` in #(((((
17061 case `echo 'xy\c'` in
17062 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17064 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17071 rm -f conf$$ conf$$.exe conf$$.
file
17072 if test -d conf$$.dir
; then
17073 rm -f conf$$.dir
/conf$$.
file
17076 mkdir conf$$.dir
2>/dev
/null
17078 if (echo >conf$$.
file) 2>/dev
/null
; then
17079 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17081 # ... but there are two gotchas:
17082 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17083 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17084 # In both cases, we have to default to `cp -pR'.
17085 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17087 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17095 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17096 rmdir conf$$.dir
2>/dev
/null
17101 # Create "$as_dir" as a directory, including parents if necessary.
17106 -*) as_dir
=.
/$as_dir;;
17108 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17112 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17113 *) as_qdir
=$as_dir;;
17115 as_dirs
="'$as_qdir' $as_dirs"
17116 as_dir
=`$as_dirname -- "$as_dir" ||
17117 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17118 X"$as_dir" : 'X\(//\)[^/]' \| \
17119 X"$as_dir" : 'X\(//\)$' \| \
17120 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17121 $as_echo X"$as_dir" |
17122 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17126 /^X\(\/\/\)[^/].*/{
17139 test -d "$as_dir" && break
17141 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17142 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17146 if mkdir
-p .
2>/dev
/null
; then
17147 as_mkdir_p
='mkdir -p "$as_dir"'
17149 test -d .
/-p && rmdir .
/-p
17154 # as_fn_executable_p FILE
17155 # -----------------------
17156 # Test if FILE is an executable regular file.
17157 as_fn_executable_p
()
17159 test -f "$1" && test -x "$1"
17160 } # as_fn_executable_p
17161 as_test_x
='test -x'
17162 as_executable_p
=as_fn_executable_p
17164 # Sed expression to map a string onto a valid CPP name.
17165 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17167 # Sed expression to map a string onto a valid variable name.
17168 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17172 ## ----------------------------------- ##
17173 ## Main body of $CONFIG_STATUS script. ##
17174 ## ----------------------------------- ##
17176 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17179 # Save the log message, to keep $0 and so on meaningful, and to
17180 # report actual input values of CONFIG_FILES etc. instead of their
17181 # values after options handling.
17183 This file was extended by Wine $as_me 1.5.29, which was
17184 generated by GNU Autoconf 2.69. Invocation command line was
17186 CONFIG_FILES = $CONFIG_FILES
17187 CONFIG_HEADERS = $CONFIG_HEADERS
17188 CONFIG_LINKS = $CONFIG_LINKS
17189 CONFIG_COMMANDS = $CONFIG_COMMANDS
17192 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17197 case $ac_config_files in *"
17198 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17201 case $ac_config_headers in *"
17202 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17207 # Files that config.status was made for.
17208 config_files="$ac_config_files"
17209 config_headers="$ac_config_headers"
17210 config_links="$ac_config_links"
17211 config_commands="$ac_config_commands"
17215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17217 \`$as_me' instantiates files and other configuration actions
17218 from templates according to the current configuration. Unless the files
17219 and actions are specified as TAGs, all are instantiated by default.
17221 Usage: $0 [OPTION]... [TAG]...
17223 -h, --help print this help, then exit
17224 -V, --version print version number and configuration settings, then exit
17225 --config print configuration, then exit
17226 -q, --quiet, --silent
17227 do not print progress messages
17228 -d, --debug don't remove temporary files
17229 --recheck update $as_me by reconfiguring in the same conditions
17230 --file=FILE[:TEMPLATE]
17231 instantiate the configuration file FILE
17232 --header=FILE[:TEMPLATE]
17233 instantiate the configuration header FILE
17235 Configuration files:
17238 Configuration headers:
17241 Configuration links:
17244 Configuration commands:
17247 Report bugs to <wine-devel@winehq.org>.
17248 Wine home page: <http://www.winehq.org>."
17251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17252 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17254 Wine config.status 1.5.29
17255 configured by $0, generated by GNU Autoconf 2.69,
17256 with options \\"\$ac_cs_config\\"
17258 Copyright (C) 2012 Free Software Foundation, Inc.
17259 This config.status script is free software; the Free Software Foundation
17260 gives unlimited permission to copy, distribute and modify it."
17265 test -n "\$AWK" || AWK=awk
17268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17269 # The default lists apply if the user does not specify any file.
17275 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17276 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17280 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17292 # Handling of the options.
17293 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17295 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17296 $as_echo "$ac_cs_version"; exit ;;
17297 --config |
--confi |
--conf |
--con |
--co |
--c )
17298 $as_echo "$ac_cs_config"; exit ;;
17299 --debug |
--debu |
--deb |
--de |
--d |
-d )
17301 --file |
--fil |
--fi |
--f )
17304 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17305 '') as_fn_error $?
"missing file argument" ;;
17307 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17308 ac_need_defaults
=false
;;
17309 --header |
--heade |
--head |
--hea )
17312 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17314 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17315 ac_need_defaults
=false
;;
17317 # Conflict between --help and --header
17318 as_fn_error $?
"ambiguous option: \`$1'
17319 Try \`$0 --help' for more information.";;
17320 --help |
--hel |
-h )
17321 $as_echo "$ac_cs_usage"; exit ;;
17322 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17323 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17326 # This is an error.
17327 -*) as_fn_error $?
"unrecognized option: \`$1'
17328 Try \`$0 --help' for more information." ;;
17330 *) as_fn_append ac_config_targets
" $1"
17331 ac_need_defaults
=false
;;
17337 ac_configure_extra_args
=
17339 if $ac_cs_silent; then
17341 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17345 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17346 if \$ac_cs_recheck; then
17347 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17349 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17350 CONFIG_SHELL='$SHELL'
17351 export CONFIG_SHELL
17356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17360 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17361 ## Running $as_me. ##
17367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17371 wine_fn_output_makefile ()
17373 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
17374 $ALL_MAKEFILE_DEPENDS
17376 as_fn_error $? "could not create Makefile" "$LINENO" 5
17381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17383 # Handling of arguments.
17384 for ac_config_target
in $ac_config_targets
17386 case $ac_config_target in
17387 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
17388 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
17389 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
17390 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
17391 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
17392 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
17393 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
17394 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
17395 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
17396 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
17397 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
17398 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
17399 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
17400 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
17401 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
17402 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
17403 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
17404 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
17405 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
17406 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
17407 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
17408 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
17409 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
17410 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
17411 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
17412 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
17414 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17419 # If the user did not use the arguments to specify the items to instantiate,
17420 # then the envvar interface is used. Set only those that are not.
17421 # We use the long form for the default assignment because of an extremely
17422 # bizarre bug on SunOS 4.1.3.
17423 if $ac_need_defaults; then
17424 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17425 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17426 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
17427 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17430 # Have a temporary directory for convenience. Make it in the build tree
17431 # simply because there is no reason against having it here, and in addition,
17432 # creating and moving files from /tmp can sometimes cause problems.
17433 # Hook for its removal unless debugging.
17434 # Note that there is a small window in which the directory will not be cleaned:
17435 # after its creation but before its name has been assigned to `$tmp'.
17439 trap 'exit_status=$?
17440 : "${ac_tmp:=$tmp}"
17441 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17443 trap 'as_fn_exit 1' 1 2 13 15
17445 # Create a (secure) tmp directory for tmp files.
17448 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17452 tmp
=.
/conf$$
-$RANDOM
17453 (umask 077 && mkdir
"$tmp")
17454 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17457 # Set up the scripts for CONFIG_FILES section.
17458 # No need to generate them if there are no CONFIG_FILES.
17459 # This happens for instance with `./config.status config.h'.
17460 if test -n "$CONFIG_FILES"; then
17462 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
17463 ac_cs_awk_getline
=:
17464 ac_cs_awk_pipe_init
=
17465 ac_cs_awk_read_file
='
17466 while ((getline aline < (F[key])) > 0)
17469 ac_cs_awk_pipe_fini
=
17471 ac_cs_awk_getline
=false
17472 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
17473 ac_cs_awk_read_file
='
17475 print "cat " F[key] " &&"
17476 '$ac_cs_awk_pipe_init
17477 # The final `:' finishes the AND list.
17478 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
17480 ac_cr
=`echo X | tr X '\015'`
17481 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17482 # But we know of no other shell where ac_cr would be empty at this
17483 # point, so we can use a bashism as a fallback.
17484 if test "x$ac_cr" = x
; then
17485 eval ac_cr
=\$
\'\\r
\'
17487 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17488 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17491 ac_cs_awk_cr
=$ac_cr
17494 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17497 # Create commands to substitute file output variables.
17499 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
17500 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
17501 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
17504 } >conf$
$files.sh
&&
17505 . .
/conf$
$files.sh ||
17506 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
17507 rm -f conf$
$files.sh
17510 echo "cat >conf$$subs.awk <<_ACEOF" &&
17511 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17513 } >conf$$subs.sh ||
17514 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17515 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17517 for ac_last_try in false false false false false :; do
17518 . ./conf$$subs.sh ||
17519 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17521 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17522 if test $ac_delim_n = $ac_delim_num; then
17524 elif $ac_last_try; then
17525 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17527 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17530 rm -f conf$$subs.sh
17532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17533 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17537 s/^/S["/; s
/!.
*/"]=/
17547 s/\(.\{148\}\)..*/\1/
17549 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17554 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17561 s/\(.\{148\}\)..*/\1/
17563 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17567 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17572 ' <conf$$subs.awk | sed '
17577 ' >>$CONFIG_STATUS || ac_write_fail=1
17578 rm -f conf$$subs.awk
17579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17581 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17582 for (key in S) S_is_set[key] = 1
17584 \$ac_cs_awk_pipe_init
17588 nfields = split(line, field, "@
")
17590 len = length(field[1])
17591 for (i = 2; i < nfields; i++) {
17593 keylen = length(key)
17594 if (S_is_set[key]) {
17596 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17597 len += length(value) + length(field[++i])
17602 if (nfields == 3 && !substed) {
17604 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17605 \$ac_cs_awk_read_file
17611 \$ac_cs_awk_pipe_fini
17614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17615 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17616 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17619 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17620 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17623 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17624 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17625 # trailing colons and then remove the whole line if VPATH becomes empty
17626 # (actually we leave an empty line to preserve line numbers).
17627 if test "x
$srcdir" = x.; then
17628 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17647 fi # test -n "$CONFIG_FILES"
17649 # Set up the scripts for CONFIG_HEADERS section.
17650 # No need to generate them if there are no CONFIG_HEADERS.
17651 # This happens for instance with `./config.status Makefile'.
17652 if test -n "$CONFIG_HEADERS"; then
17653 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17657 # Transform confdefs.h into an awk script `defines.awk', embedded as
17658 # here-document in config.status, that substitutes the proper values into
17659 # config.h.in to produce config.h.
17661 # Create a delimiter string that does not exist in confdefs.h, to ease
17662 # handling of long lines.
17664 for ac_last_try in false false :; do
17665 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17666 if test -z "$ac_tt"; then
17668 elif $ac_last_try; then
17669 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17671 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17675 # For the awk script, D is an array of macro values keyed by name,
17676 # likewise P contains macro parameters if any. Preserve backslash
17677 # newline sequences.
17679 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17681 s/.\{148\}/&'"$ac_delim"'/g
17684 s/^[ ]*#[ ]*define[ ][ ]*/ /
17691 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17693 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17697 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17698 D["\
1"]=" \
3\\\\\\n
"\\/p
17700 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17705 s/.\{148\}/&'"$ac_delim"'/g
17710 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17713 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17715 ' <confdefs.h | sed '
17716 s/'"$ac_delim"'/"\\\
17717 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17720 for (key in D) D_is_set[key] = 1
17723 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17725 split(line, arg, " ")
17726 if (arg[1] == "#") {
17730 defundef
= substr
(arg
[1], 2)
17733 split(mac1
, mac2
, "(") #)
17735 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17736 if (D_is_set
[macro
]) {
17737 # Preserve the white space surrounding the "#".
17738 print prefix
"define", macro P
[macro
] D
[macro
]
17741 # Replace #undef with comments. This is necessary, for example,
17742 # in the case of _POSIX_SOURCE, which is predefined and required
17743 # on some systems where configure will not decide to define it.
17744 if (defundef
== "undef") {
17745 print
"/*", prefix defundef
, macro
, "*/"
17753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17754 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17755 fi # test -n "$CONFIG_HEADERS"
17758 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17763 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17765 case $ac_mode$ac_tag in
17767 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17768 :[FH
]-) ac_tag
=-:-;;
17769 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17786 -) ac_f
="$ac_tmp/stdin";;
17787 *) # Look for the file first in the build tree, then in the source tree
17788 # (if the path is not absolute). The absolute path cannot be DOS-style,
17789 # because $ac_f cannot contain `:'.
17793 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17795 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17797 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17798 as_fn_append ac_file_inputs
" '$ac_f'"
17801 # Let's still pretend it is `configure' which instantiates (i.e., don't
17802 # use $as_me), people would be surprised to read:
17803 # /* config.h. Generated by config.status. */
17804 configure_input
='Generated from '`
17805 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17807 if test x
"$ac_file" != x-
; then
17808 configure_input
="$ac_file. $configure_input"
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17810 $as_echo "$as_me: creating $ac_file" >&6;}
17812 # Neutralize special characters interpreted by sed in replacement strings.
17813 case $configure_input in #(
17814 *\
&* |
*\|
* |
*\\* )
17815 ac_sed_conf_input
=`$as_echo "$configure_input" |
17816 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17817 *) ac_sed_conf_input
=$configure_input;;
17821 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17822 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17827 ac_dir
=`$as_dirname -- "$ac_file" ||
17828 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17829 X"$ac_file" : 'X\(//\)[^/]' \| \
17830 X"$ac_file" : 'X\(//\)$' \| \
17831 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17832 $as_echo X"$ac_file" |
17833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17837 /^X\(\/\/\)[^/].*/{
17850 as_dir
="$ac_dir"; as_fn_mkdir_p
17854 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17856 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17857 # A ".." for each directory in $ac_dir_suffix.
17858 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17859 case $ac_top_builddir_sub in
17860 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17861 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17864 ac_abs_top_builddir
=$ac_pwd
17865 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17866 # for backward compatibility:
17867 ac_top_builddir
=$ac_top_build_prefix
17870 .
) # We are building in place.
17872 ac_top_srcdir
=$ac_top_builddir_sub
17873 ac_abs_top_srcdir
=$ac_pwd ;;
17874 [\\/]* | ?
:[\\/]* ) # Absolute name.
17875 ac_srcdir
=$srcdir$ac_dir_suffix;
17876 ac_top_srcdir
=$srcdir
17877 ac_abs_top_srcdir
=$srcdir ;;
17878 *) # Relative name.
17879 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17880 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17881 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17883 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17893 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17894 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17899 # If the template does not know about datarootdir, expand it.
17900 # FIXME: This hack should be removed a few years after 2.60.
17901 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17912 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17913 *datarootdir
*) ac_datarootdir_seen
=yes;;
17914 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17916 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17919 ac_datarootdir_hack='
17920 s&@datadir@&$datadir&g
17921 s&@docdir@&$docdir&g
17922 s&@infodir@&$infodir&g
17923 s&@localedir@&$localedir&g
17924 s&@mandir@&$mandir&g
17925 s&\\\${datarootdir}&$datarootdir&g' ;;
17929 # Neutralize VPATH when `$srcdir' = `.'.
17930 # Shell code in configure.ac might set extrasub.
17931 # FIXME: do we really want to maintain this feature?
17932 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17933 ac_sed_extra="$ac_vpsub
17936 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17938 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17939 s|@configure_input@|
$ac_sed_conf_input|
;t t
17940 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17941 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17942 s
&@srcdir@
&$ac_srcdir&;t t
17943 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17944 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17945 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17946 s
&@builddir@
&$ac_builddir&;t t
17947 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17948 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17949 s
&@INSTALL@
&$ac_INSTALL&;t t
17950 $ac_datarootdir_hack
17952 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17953 if $ac_cs_awk_getline; then
17954 $AWK -f "$ac_tmp/subs.
awk"
17956 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
17958 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17960 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17961 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17962 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17963 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17965 which seems to be undefined. Please make sure it is defined" >&5
17966 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17967 which seems to be undefined. Please make sure it is defined" >&2;}
17969 rm -f "$ac_tmp/stdin"
17971 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17972 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17974 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17980 if test x"$ac_file" != x-; then
17982 $as_echo "/* $configure_input */" \
17983 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17984 } >"$ac_tmp/config.h" \
17985 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17986 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17988 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17991 mv "$ac_tmp/config.h" "$ac_file" \
17992 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17995 $as_echo "/* $configure_input */" \
17996 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17997 || as_fn_error $? "could not create -" "$LINENO" 5
18005 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18008 # Prefer the file from the source tree if names are identical.
18009 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18010 ac_source=$srcdir/$ac_source
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18014 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18016 if test ! -r "$ac_source"; then
18017 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18021 # Try a relative symlink, then a hard link, then a copy.
18023 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18024 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18026 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18027 ln "$ac_source" "$ac_file" 2>/dev/null ||
18028 cp -p "$ac_source" "$ac_file" ||
18029 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18032 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18033 $as_echo "$as_me: executing $ac_file commands" >&6;}
18038 case $ac_file$ac_mode in
18039 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18040 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18041 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18042 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18043 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18044 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18045 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18046 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18047 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18048 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18049 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18050 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18051 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18052 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18053 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18054 "Makefile":C) wine_fn_output_makefile Makefile ;;
18062 ac_clean_files=$ac_clean_files_save
18064 test $ac_write_fail = 0 ||
18065 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18068 # configure is writing to config.log, and then calls config.status.
18069 # config.status does its own redirection, appending to config.log.
18070 # Unfortunately, on DOS this fails, as config.log is still kept open
18071 # by configure, so config.status won't be able to
write to it
; its
18072 # output is simply discarded. So we exec the FD to /dev/null,
18073 # effectively closing config.log, so it can be properly (re)opened and
18074 # appended to by config.status. When coming back to configure, we
18075 # need to make the FD available again.
18076 if test "$no_create" != yes; then
18078 ac_config_status_args
=
18079 test "$silent" = yes &&
18080 ac_config_status_args
="$ac_config_status_args --quiet"
18082 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18084 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18085 # would make configure fail if this is the last instruction.
18086 $ac_cs_success || as_fn_exit
1
18088 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18090 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18094 if test "$no_create" = "yes"
18100 if test "x$wine_notices != "x
; then
18103 for msg
in $wine_notices; do
18105 if test -n "$msg"; then
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18107 $as_echo "$as_me: $msg" >&6;}
18112 for msg
in $wine_warnings; do
18114 if test -n "$msg"; then
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18117 $as_echo "$as_me: WARNING: $msg" >&2;}
18123 $as_me: Finished. Do '${ac_make}' to compile Wine.